@rededor/site-front-end-lib 20.0.27 → 20.0.28

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 (915) hide show
  1. package/components/algolia-dropdown/index.d.ts +38 -0
  2. package/components/algolia-search/index.d.ts +304 -0
  3. package/components/banner/index.d.ts +20 -0
  4. package/components/breadcrumbs/index.d.ts +42 -0
  5. package/components/cards/index.d.ts +102 -0
  6. package/components/carousels/index.d.ts +28 -0
  7. package/components/cta-wrapper/index.d.ts +33 -0
  8. package/components/error/index.d.ts +47 -0
  9. package/components/filter-letter-and-terms/index.d.ts +38 -0
  10. package/components/filters/filter-generic/index.d.ts +70 -0
  11. package/components/filters/filter-planos-convenios/index.d.ts +41 -0
  12. package/components/footer/index.d.ts +44 -0
  13. package/components/header/components/action/index.d.ts +17 -0
  14. package/components/header/components/auxiliar/index.d.ts +31 -0
  15. package/components/header/components/main/index.d.ts +72 -0
  16. package/components/header/components/side/index.d.ts +35 -0
  17. package/components/header/index.d.ts +63 -0
  18. package/components/header/services/index.d.ts +14 -0
  19. package/components/image/index.d.ts +23 -0
  20. package/components/load-screen/index.d.ts +14 -0
  21. package/components/modal/index.d.ts +28 -0
  22. package/components/modal-drawer/index.d.ts +46 -0
  23. package/components/overlay/index.d.ts +10 -0
  24. package/components/page-header/index.d.ts +30 -0
  25. package/components/page-template-fullcontent/index.d.ts +17 -0
  26. package/components/page-template-sidebar/index.d.ts +20 -0
  27. package/components/pagination/index.d.ts +30 -0
  28. package/components/search/index.d.ts +45 -0
  29. package/components/section-navigation/index.d.ts +45 -0
  30. package/components/side-ctas/index.d.ts +70 -0
  31. package/components/sidebar-navigation/index.d.ts +40 -0
  32. package/components/sticky-navigation/index.d.ts +42 -0
  33. package/components/whatsapp/index.d.ts +27 -0
  34. package/core/index.d.ts +2049 -0
  35. package/cura/accordion/index.d.ts +120 -0
  36. package/cura/api/index.d.ts +359 -0
  37. package/cura/badges/cura-badge-counter/index.d.ts +38 -0
  38. package/cura/badges/cura-badge-distance/index.d.ts +21 -0
  39. package/cura/badges/cura-badge-dot/index.d.ts +29 -0
  40. package/cura/badges/cura-badge-pill/index.d.ts +42 -0
  41. package/cura/badges/index.d.ts +5 -0
  42. package/cura/buttons/cura-button/index.d.ts +90 -0
  43. package/cura/buttons/cura-button-outline/index.d.ts +90 -0
  44. package/cura/buttons/cura-button-select/index.d.ts +39 -0
  45. package/cura/buttons/cura-button-transparent/index.d.ts +87 -0
  46. package/cura/buttons/index.d.ts +15 -0
  47. package/cura/cards/cura-card/index.d.ts +49 -0
  48. package/cura/feedback/cura-alert/index.d.ts +55 -0
  49. package/cura/feedback/cura-modal/index.d.ts +97 -0
  50. package/cura/feedback/cura-toast/index.d.ts +104 -0
  51. package/cura/forms/cura-checkbox/index.d.ts +157 -0
  52. package/cura/forms/cura-input-text/index.d.ts +236 -0
  53. package/cura/forms/cura-label/index.d.ts +47 -0
  54. package/cura/forms/cura-radio/index.d.ts +148 -0
  55. package/cura/forms/cura-select/index.d.ts +155 -0
  56. package/cura/forms/cura-select-option/index.d.ts +54 -0
  57. package/cura/forms/cura-select-state/index.d.ts +72 -0
  58. package/cura/forms/cura-switch/index.d.ts +113 -0
  59. package/cura/forms/cura-textarea/index.d.ts +113 -0
  60. package/cura/forms/index.d.ts +20 -0
  61. package/cura/icons/cura-icon/index.d.ts +46 -0
  62. package/cura/loaders/cura-loader-bar/index.d.ts +22 -0
  63. package/cura/loaders/cura-loader-circle/index.d.ts +24 -0
  64. package/cura/texts/cura-display/index.d.ts +54 -0
  65. package/cura/texts/cura-heading/index.d.ts +65 -0
  66. package/cura/texts/cura-paragraph/index.d.ts +54 -0
  67. package/cura/texts/index.d.ts +7 -0
  68. package/enums/index.d.ts +177 -0
  69. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +108 -0
  70. package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -0
  71. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +604 -0
  72. package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -0
  73. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +44 -0
  74. package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -0
  75. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +120 -0
  76. package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -0
  77. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +178 -0
  78. package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -0
  79. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +75 -0
  80. package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -0
  81. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +78 -0
  82. package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -0
  83. package/fesm2022/rededor-site-front-end-lib-components-error.mjs +176 -0
  84. package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -0
  85. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +93 -0
  86. package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -0
  87. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +245 -0
  88. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -0
  89. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +139 -0
  90. package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -0
  91. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +199 -0
  92. package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -0
  93. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +34 -0
  94. package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -0
  95. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +62 -0
  96. package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -0
  97. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +167 -0
  98. package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -0
  99. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +71 -0
  100. package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -0
  101. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +50 -0
  102. package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -0
  103. package/fesm2022/rededor-site-front-end-lib-components-header.mjs +416 -0
  104. package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -0
  105. package/fesm2022/rededor-site-front-end-lib-components-image.mjs +48 -0
  106. package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -0
  107. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +30 -0
  108. package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -0
  109. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +145 -0
  110. package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -0
  111. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +82 -0
  112. package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -0
  113. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +24 -0
  114. package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -0
  115. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +52 -0
  116. package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -0
  117. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +27 -0
  118. package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -0
  119. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +30 -0
  120. package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -0
  121. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +55 -0
  122. package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -0
  123. package/fesm2022/rededor-site-front-end-lib-components-search.mjs +119 -0
  124. package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -0
  125. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +141 -0
  126. package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -0
  127. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +118 -0
  128. package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -0
  129. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +109 -0
  130. package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -0
  131. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +120 -0
  132. package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -0
  133. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +49 -0
  134. package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -0
  135. package/fesm2022/rededor-site-front-end-lib-core.mjs +1812 -0
  136. package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -0
  137. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +252 -0
  138. package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +1 -0
  139. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +643 -0
  140. package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +1 -0
  141. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +90 -0
  142. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +1 -0
  143. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +55 -0
  144. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +1 -0
  145. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +66 -0
  146. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +1 -0
  147. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +91 -0
  148. package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -0
  149. package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +4 -0
  150. package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +1 -0
  151. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +170 -0
  152. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -0
  153. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +135 -0
  154. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -0
  155. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +161 -0
  156. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -0
  157. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +170 -0
  158. package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -0
  159. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +13 -0
  160. package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +1 -0
  161. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +72 -0
  162. package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -0
  163. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +90 -0
  164. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +1 -0
  165. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +105 -0
  166. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +1 -0
  167. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +198 -0
  168. package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +1 -0
  169. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +258 -0
  170. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -0
  171. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +587 -0
  172. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +1 -0
  173. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +82 -0
  174. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -0
  175. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +243 -0
  176. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +1 -0
  177. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +89 -0
  178. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -0
  179. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +123 -0
  180. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +1 -0
  181. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +389 -0
  182. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -0
  183. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +182 -0
  184. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +1 -0
  185. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +209 -0
  186. package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +1 -0
  187. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +21 -0
  188. package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +1 -0
  189. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +88 -0
  190. package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +1 -0
  191. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +44 -0
  192. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +1 -0
  193. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +49 -0
  194. package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +1 -0
  195. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +84 -0
  196. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +1 -0
  197. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +104 -0
  198. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +1 -0
  199. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +89 -0
  200. package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +1 -0
  201. package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +4 -0
  202. package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +1 -0
  203. package/fesm2022/rededor-site-front-end-lib-enums.mjs +188 -0
  204. package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -0
  205. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +74 -0
  206. package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -0
  207. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +41 -0
  208. package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -0
  209. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +88 -0
  210. package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -0
  211. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +52 -0
  212. package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -0
  213. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +49 -0
  214. package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -0
  215. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +40 -0
  216. package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -0
  217. package/fesm2022/rededor-site-front-end-lib-shared.mjs +110 -0
  218. package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -0
  219. package/fesm2022/rededor-site-front-end-lib.mjs +11 -0
  220. package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -0
  221. package/index.d.ts +3 -0
  222. package/package.json +312 -9
  223. package/services/algolia/index.d.ts +18 -0
  224. package/services/algolia-search-api/index.d.ts +17 -0
  225. package/services/ngu-carousel/index.d.ts +16 -0
  226. package/services/ssr-loading/index.d.ts +14 -0
  227. package/services/transfer-state/index.d.ts +13 -0
  228. package/services/youtube/index.d.ts +13 -0
  229. package/shared/index.d.ts +40 -0
  230. package/CHANGELOG.md +0 -828
  231. package/components/algolia-dropdown/algolia-dropdown.component.html +0 -19
  232. package/components/algolia-dropdown/algolia-dropdown.component.scss +0 -0
  233. package/components/algolia-dropdown/algolia-dropdown.component.spec.ts +0 -22
  234. package/components/algolia-dropdown/algolia-dropdown.component.ts +0 -103
  235. package/components/algolia-dropdown/index.ts +0 -1
  236. package/components/algolia-dropdown/ng-package.json +0 -6
  237. package/components/algolia-dropdown/public-api.ts +0 -1
  238. package/components/algolia-search/components/algolia-search/algolia-search.component.html +0 -96
  239. package/components/algolia-search/components/algolia-search/algolia-search.component.scss +0 -588
  240. package/components/algolia-search/components/algolia-search/algolia-search.component.spec.ts +0 -21
  241. package/components/algolia-search/components/algolia-search/algolia-search.component.ts +0 -415
  242. package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.html +0 -23
  243. package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.scss +0 -5
  244. package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.spec.ts +0 -22
  245. package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.ts +0 -90
  246. package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.html +0 -70
  247. package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.scss +0 -27
  248. package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.spec.ts +0 -21
  249. package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.ts +0 -77
  250. package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.html +0 -6
  251. package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.scss +0 -0
  252. package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.spec.ts +0 -21
  253. package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.ts +0 -90
  254. package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.html +0 -1
  255. package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.scss +0 -0
  256. package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.spec.ts +0 -21
  257. package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.ts +0 -9
  258. package/components/algolia-search/index.ts +0 -1
  259. package/components/algolia-search/models/algolia-component-style.enum.ts +0 -4
  260. package/components/algolia-search/models/algolia-config.model.ts +0 -8
  261. package/components/algolia-search/models/algolia-hint.model.ts +0 -4
  262. package/components/algolia-search/models/algolia-hit-description.model.ts +0 -6
  263. package/components/algolia-search/models/algolia-multiple-index.model.ts +0 -7
  264. package/components/algolia-search/models/algolia-results-item.model.ts +0 -8
  265. package/components/algolia-search/models/algolia-results-multiple.model.ts +0 -6
  266. package/components/algolia-search/models/algolia-search-params.model.ts +0 -83
  267. package/components/algolia-search/ng-package.json +0 -6
  268. package/components/algolia-search/public-api.ts +0 -13
  269. package/components/banner/content-banner/content-banner.component.html +0 -51
  270. package/components/banner/content-banner/content-banner.component.scss +0 -91
  271. package/components/banner/content-banner/content-banner.component.spec.ts +0 -27
  272. package/components/banner/content-banner/content-banner.component.ts +0 -36
  273. package/components/banner/index.ts +0 -1
  274. package/components/banner/ng-package.json +0 -6
  275. package/components/banner/public-api.ts +0 -1
  276. package/components/breadcrumbs/breadcrumbs.component.html +0 -56
  277. package/components/breadcrumbs/breadcrumbs.component.scss +0 -55
  278. package/components/breadcrumbs/breadcrumbs.component.spec.ts +0 -22
  279. package/components/breadcrumbs/breadcrumbs.component.ts +0 -142
  280. package/components/breadcrumbs/index.ts +0 -1
  281. package/components/breadcrumbs/ng-package.json +0 -6
  282. package/components/breadcrumbs/public-api.ts +0 -1
  283. package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.html +0 -91
  284. package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.scss +0 -143
  285. package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.spec.ts +0 -22
  286. package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.ts +0 -66
  287. package/components/cards/expandable-card/expandable-card.component.html +0 -30
  288. package/components/cards/expandable-card/expandable-card.component.scss +0 -100
  289. package/components/cards/expandable-card/expandable-card.component.spec.ts +0 -27
  290. package/components/cards/expandable-card/expandable-card.component.ts +0 -60
  291. package/components/cards/index.ts +0 -1
  292. package/components/cards/ng-package.json +0 -6
  293. package/components/cards/public-api.ts +0 -3
  294. package/components/cards/testimonial-card/testimonial-card.component.html +0 -41
  295. package/components/cards/testimonial-card/testimonial-card.component.scss +0 -96
  296. package/components/cards/testimonial-card/testimonial-card.component.spec.ts +0 -27
  297. package/components/cards/testimonial-card/testimonial-card.component.ts +0 -65
  298. package/components/carousels/index.ts +0 -1
  299. package/components/carousels/ng-package.json +0 -6
  300. package/components/carousels/public-api.ts +0 -1
  301. package/components/carousels/testimonials-carousel/testimonials-carousel.component.html +0 -30
  302. package/components/carousels/testimonials-carousel/testimonials-carousel.component.scss +0 -91
  303. package/components/carousels/testimonials-carousel/testimonials-carousel.component.spec.ts +0 -27
  304. package/components/carousels/testimonials-carousel/testimonials-carousel.component.ts +0 -73
  305. package/components/cta-wrapper/cta-wrapper.component.html +0 -54
  306. package/components/cta-wrapper/cta-wrapper.component.scss +0 -123
  307. package/components/cta-wrapper/cta-wrapper.component.spec.ts +0 -22
  308. package/components/cta-wrapper/cta-wrapper.component.ts +0 -77
  309. package/components/cta-wrapper/index.ts +0 -1
  310. package/components/cta-wrapper/ng-package.json +0 -6
  311. package/components/cta-wrapper/public-api.ts +0 -1
  312. package/components/error/error.component.html +0 -65
  313. package/components/error/error.component.scss +0 -26
  314. package/components/error/error.component.spec.ts +0 -22
  315. package/components/error/error.component.ts +0 -182
  316. package/components/error/index.ts +0 -1
  317. package/components/error/ng-package.json +0 -6
  318. package/components/error/public-api.ts +0 -1
  319. package/components/filter-letter-and-terms/filter-letter-and-terms.component.html +0 -33
  320. package/components/filter-letter-and-terms/filter-letter-and-terms.component.scss +0 -98
  321. package/components/filter-letter-and-terms/filter-letter-and-terms.component.spec.ts +0 -22
  322. package/components/filter-letter-and-terms/filter-letter-and-terms.component.ts +0 -87
  323. package/components/filter-letter-and-terms/index.ts +0 -1
  324. package/components/filter-letter-and-terms/ng-package.json +0 -6
  325. package/components/filter-letter-and-terms/public-api.ts +0 -1
  326. package/components/filters/filter-generic/USAGE.md +0 -147
  327. package/components/filters/filter-generic/filter-generic.component.html +0 -174
  328. package/components/filters/filter-generic/filter-generic.component.scss +0 -266
  329. package/components/filters/filter-generic/filter-generic.component.spec.ts +0 -21
  330. package/components/filters/filter-generic/filter-generic.component.ts +0 -266
  331. package/components/filters/filter-generic/index.ts +0 -1
  332. package/components/filters/filter-generic/ng-package.json +0 -6
  333. package/components/filters/filter-generic/public-api.ts +0 -1
  334. package/components/filters/filter-planos-convenios/filter-planos-convenios.component.html +0 -76
  335. package/components/filters/filter-planos-convenios/filter-planos-convenios.component.scss +0 -84
  336. package/components/filters/filter-planos-convenios/filter-planos-convenios.component.spec.ts +0 -21
  337. package/components/filters/filter-planos-convenios/filter-planos-convenios.component.ts +0 -149
  338. package/components/filters/filter-planos-convenios/index.ts +0 -1
  339. package/components/filters/filter-planos-convenios/ng-package.json +0 -6
  340. package/components/filters/filter-planos-convenios/public-api.ts +0 -1
  341. package/components/footer/footer.component.html +0 -125
  342. package/components/footer/footer.component.scss +0 -451
  343. package/components/footer/footer.component.spec.ts +0 -22
  344. package/components/footer/footer.component.ts +0 -94
  345. package/components/footer/helpers/footerTheme.func.ts +0 -119
  346. package/components/footer/index.ts +0 -1
  347. package/components/footer/models/FooterTheme.model.ts +0 -8
  348. package/components/footer/ng-package.json +0 -6
  349. package/components/footer/public-api.ts +0 -1
  350. package/components/header/components/action/header-action-menu/header-action-menu.component.html +0 -41
  351. package/components/header/components/action/header-action-menu/header-action-menu.component.scss +0 -158
  352. package/components/header/components/action/header-action-menu/header-action-menu.component.spec.ts +0 -22
  353. package/components/header/components/action/header-action-menu/header-action-menu.component.ts +0 -30
  354. package/components/header/components/action/index.ts +0 -1
  355. package/components/header/components/action/ng-package.json +0 -6
  356. package/components/header/components/action/public-api.ts +0 -1
  357. package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.html +0 -33
  358. package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.scss +0 -60
  359. package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.spec.ts +0 -22
  360. package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.ts +0 -46
  361. package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.html +0 -7
  362. package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.scss +0 -27
  363. package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.spec.ts +0 -22
  364. package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.ts +0 -19
  365. package/components/header/components/auxiliar/index.ts +0 -1
  366. package/components/header/components/auxiliar/ng-package.json +0 -6
  367. package/components/header/components/auxiliar/public-api.ts +0 -2
  368. package/components/header/components/header-logo/header-logo.component.html +0 -5
  369. package/components/header/components/header-logo/header-logo.component.scss +0 -20
  370. package/components/header/components/header-logo/header-logo.component.spec.ts +0 -22
  371. package/components/header/components/header-logo/header-logo.component.ts +0 -23
  372. package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.html +0 -30
  373. package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.scss +0 -53
  374. package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.spec.ts +0 -22
  375. package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.ts +0 -88
  376. package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.html +0 -112
  377. package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.scss +0 -259
  378. package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.spec.ts +0 -22
  379. package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.ts +0 -107
  380. package/components/header/components/main/index.ts +0 -1
  381. package/components/header/components/main/ng-package.json +0 -6
  382. package/components/header/components/main/public-api.ts +0 -2
  383. package/components/header/components/side/header-side-menu/header-side-menu.component.html +0 -32
  384. package/components/header/components/side/header-side-menu/header-side-menu.component.scss +0 -81
  385. package/components/header/components/side/header-side-menu/header-side-menu.component.spec.ts +0 -22
  386. package/components/header/components/side/header-side-menu/header-side-menu.component.ts +0 -29
  387. package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.html +0 -26
  388. package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.scss +0 -104
  389. package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.spec.ts +0 -22
  390. package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.ts +0 -45
  391. package/components/header/components/side/index.ts +0 -1
  392. package/components/header/components/side/ng-package.json +0 -6
  393. package/components/header/components/side/public-api.ts +0 -2
  394. package/components/header/header.component.html +0 -81
  395. package/components/header/header.component.scss +0 -171
  396. package/components/header/header.component.spec.ts +0 -22
  397. package/components/header/header.component.ts +0 -135
  398. package/components/header/helpers/headerTheme.func.ts +0 -288
  399. package/components/header/index.ts +0 -1
  400. package/components/header/models/HeaderTheme.model.ts +0 -9
  401. package/components/header/ng-package.json +0 -6
  402. package/components/header/public-api.ts +0 -2
  403. package/components/header/services/header.service.spec.ts +0 -16
  404. package/components/header/services/header.service.ts +0 -40
  405. package/components/header/services/index.ts +0 -1
  406. package/components/header/services/ng-package.json +0 -6
  407. package/components/header/services/public-api.ts +0 -1
  408. package/components/image/image.component.html +0 -9
  409. package/components/image/image.component.scss +0 -12
  410. package/components/image/image.component.spec.ts +0 -22
  411. package/components/image/image.component.ts +0 -43
  412. package/components/image/index.ts +0 -1
  413. package/components/image/ng-package.json +0 -6
  414. package/components/image/public-api.ts +0 -1
  415. package/components/load-screen/index.ts +0 -1
  416. package/components/load-screen/load-screen.component.html +0 -128
  417. package/components/load-screen/load-screen.component.scss +0 -46
  418. package/components/load-screen/load-screen.component.spec.ts +0 -27
  419. package/components/load-screen/load-screen.component.ts +0 -18
  420. package/components/load-screen/ng-package.json +0 -6
  421. package/components/load-screen/public-api.ts +0 -1
  422. package/components/modal/index.ts +0 -1
  423. package/components/modal/modal.component.html +0 -12
  424. package/components/modal/modal.component.scss +0 -34
  425. package/components/modal/modal.component.spec.ts +0 -22
  426. package/components/modal/modal.component.ts +0 -74
  427. package/components/modal/ng-package.json +0 -6
  428. package/components/modal/public-api.ts +0 -1
  429. package/components/modal-drawer/index.ts +0 -1
  430. package/components/modal-drawer/modal-drawer.component.html +0 -22
  431. package/components/modal-drawer/modal-drawer.component.scss +0 -250
  432. package/components/modal-drawer/modal-drawer.component.spec.ts +0 -22
  433. package/components/modal-drawer/modal-drawer.component.ts +0 -148
  434. package/components/modal-drawer/ng-package.json +0 -6
  435. package/components/modal-drawer/public-api.ts +0 -1
  436. package/components/overlay/index.ts +0 -1
  437. package/components/overlay/ng-package.json +0 -6
  438. package/components/overlay/overlay.component.html +0 -1
  439. package/components/overlay/overlay.component.scss +0 -13
  440. package/components/overlay/overlay.component.spec.ts +0 -22
  441. package/components/overlay/overlay.component.ts +0 -15
  442. package/components/overlay/public-api.ts +0 -1
  443. package/components/page-header/index.ts +0 -1
  444. package/components/page-header/ng-package.json +0 -6
  445. package/components/page-header/page-header.component.html +0 -25
  446. package/components/page-header/page-header.component.scss +0 -110
  447. package/components/page-header/page-header.component.spec.ts +0 -22
  448. package/components/page-header/page-header.component.ts +0 -41
  449. package/components/page-header/public-api.ts +0 -1
  450. package/components/page-template-fullcontent/index.ts +0 -1
  451. package/components/page-template-fullcontent/ng-package.json +0 -6
  452. package/components/page-template-fullcontent/page-template-fullcontent.component.html +0 -37
  453. package/components/page-template-fullcontent/page-template-fullcontent.component.scss +0 -41
  454. package/components/page-template-fullcontent/page-template-fullcontent.component.ts +0 -22
  455. package/components/page-template-fullcontent/public-api.ts +0 -1
  456. package/components/page-template-sidebar/index.ts +0 -1
  457. package/components/page-template-sidebar/ng-package.json +0 -6
  458. package/components/page-template-sidebar/page-template-sidebar.component.html +0 -50
  459. package/components/page-template-sidebar/page-template-sidebar.component.scss +0 -80
  460. package/components/page-template-sidebar/page-template-sidebar.component.spec.ts +0 -22
  461. package/components/page-template-sidebar/page-template-sidebar.component.ts +0 -25
  462. package/components/page-template-sidebar/public-api.ts +0 -1
  463. package/components/pagination/index.ts +0 -1
  464. package/components/pagination/ng-package.json +0 -6
  465. package/components/pagination/pagination.component.html +0 -53
  466. package/components/pagination/pagination.component.scss +0 -124
  467. package/components/pagination/pagination.component.spec.ts +0 -22
  468. package/components/pagination/pagination.component.ts +0 -48
  469. package/components/pagination/public-api.ts +0 -1
  470. package/components/search/index.ts +0 -1
  471. package/components/search/ng-package.json +0 -6
  472. package/components/search/public-api.ts +0 -1
  473. package/components/search/search.component.html +0 -32
  474. package/components/search/search.component.scss +0 -59
  475. package/components/search/search.component.spec.ts +0 -22
  476. package/components/search/search.component.ts +0 -122
  477. package/components/section-navigation/index.ts +0 -1
  478. package/components/section-navigation/ng-package.json +0 -6
  479. package/components/section-navigation/public-api.ts +0 -1
  480. package/components/section-navigation/section-navigation.component.html +0 -23
  481. package/components/section-navigation/section-navigation.component.scss +0 -50
  482. package/components/section-navigation/section-navigation.component.spec.ts +0 -22
  483. package/components/section-navigation/section-navigation.component.ts +0 -159
  484. package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.html +0 -8
  485. package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.scss +0 -56
  486. package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.spec.ts +0 -22
  487. package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.ts +0 -31
  488. package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.html +0 -11
  489. package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.scss +0 -0
  490. package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.spec.ts +0 -22
  491. package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.ts +0 -23
  492. package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.html +0 -10
  493. package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.scss +0 -54
  494. package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.spec.ts +0 -22
  495. package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.ts +0 -30
  496. package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.html +0 -1
  497. package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.scss +0 -11
  498. package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.spec.ts +0 -22
  499. package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.ts +0 -9
  500. package/components/side-ctas/index.ts +0 -1
  501. package/components/side-ctas/models/SideCta.model.ts +0 -5
  502. package/components/side-ctas/ng-package.json +0 -6
  503. package/components/side-ctas/public-api.ts +0 -6
  504. package/components/side-ctas/side-ctas.component.html +0 -28
  505. package/components/side-ctas/side-ctas.component.scss +0 -62
  506. package/components/side-ctas/side-ctas.component.spec.ts +0 -22
  507. package/components/side-ctas/side-ctas.component.ts +0 -17
  508. package/components/sidebar-navigation/index.ts +0 -1
  509. package/components/sidebar-navigation/ng-package.json +0 -6
  510. package/components/sidebar-navigation/public-api.ts +0 -1
  511. package/components/sidebar-navigation/sidebar-navigation.component.html +0 -42
  512. package/components/sidebar-navigation/sidebar-navigation.component.scss +0 -25
  513. package/components/sidebar-navigation/sidebar-navigation.component.ts +0 -122
  514. package/components/sticky-navigation/index.ts +0 -1
  515. package/components/sticky-navigation/ng-package.json +0 -6
  516. package/components/sticky-navigation/public-api.ts +0 -1
  517. package/components/sticky-navigation/sticky-navigation.component.html +0 -39
  518. package/components/sticky-navigation/sticky-navigation.component.scss +0 -48
  519. package/components/sticky-navigation/sticky-navigation.component.ts +0 -134
  520. package/components/whatsapp/index.ts +0 -1
  521. package/components/whatsapp/ng-package.json +0 -6
  522. package/components/whatsapp/public-api.ts +0 -1
  523. package/components/whatsapp/whatsapp.component.html +0 -23
  524. package/components/whatsapp/whatsapp.component.scss +0 -113
  525. package/components/whatsapp/whatsapp.component.spec.ts +0 -22
  526. package/components/whatsapp/whatsapp.component.ts +0 -40
  527. package/core/directives/rdsite-link/rdsite-link.directive.spec.ts +0 -8
  528. package/core/directives/rdsite-link/rdsite-link.directive.ts +0 -200
  529. package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.spec.ts +0 -8
  530. package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.ts +0 -41
  531. package/core/enums/RdsiteModalComponentStyle.enum.ts +0 -13
  532. package/core/enums/RdsiteModalDrawerComponentStyle.enum.ts +0 -7
  533. package/core/helpers/check-safari-agent.func.ts +0 -6
  534. package/core/helpers/djb2Hash.func.ts +0 -18
  535. package/core/helpers/executeWithRetry.func.ts +0 -25
  536. package/core/helpers/formatPhone.func.ts +0 -22
  537. package/core/helpers/getCircularReplacer.func.ts +0 -45
  538. package/core/helpers/getSiteUrl.func.ts +0 -7
  539. package/core/helpers/removeHtmlTags.func.ts +0 -6
  540. package/core/helpers/toQueryParams.func.ts +0 -11
  541. package/core/index.ts +0 -1
  542. package/core/interceptors/error.interceptor.ts +0 -39
  543. package/core/interceptors/log.interceptor.ts +0 -35
  544. package/core/interceptors/transfer-state-url.interceptor.ts +0 -137
  545. package/core/models/algolia-search-api.model.ts +0 -213
  546. package/core/models/breadcrumbs/breadcrumbs-items.model.ts +0 -10
  547. package/core/models/breadcrumbs/breadcrumbs-json-item.model.ts +0 -8
  548. package/core/models/centro-estudos-backend.model.ts +0 -8
  549. package/core/models/centro-medico.model.ts +0 -33
  550. package/core/models/content-banner.model.ts +0 -7
  551. package/core/models/cta-wrapper.model.ts +0 -9
  552. package/core/models/doenca-backend.model.ts +0 -27
  553. package/core/models/doenca-taxonomy.model.ts +0 -21
  554. package/core/models/especialidade-backend.model.ts +0 -25
  555. package/core/models/exame-backend.model.ts +0 -26
  556. package/core/models/filters/filter-planos-convenios.model.ts +0 -34
  557. package/core/models/filters/filter-section.type.ts +0 -18
  558. package/core/models/filters/filter-sections.model.ts +0 -66
  559. package/core/models/images/rdsite-image.model.ts +0 -5
  560. package/core/models/index.ts +0 -1
  561. package/core/models/medico-cv.model.ts +0 -10
  562. package/core/models/menu-de-unidade.model.ts +0 -16
  563. package/core/models/menu-item.model.ts +0 -71
  564. package/core/models/privacy-tools/privacy-tools.model.ts +0 -9
  565. package/core/models/rdsl-cobertura.model.ts +0 -72
  566. package/core/models/rdsl-convenio.model.ts +0 -18
  567. package/core/models/rdsl-especialidade.model.ts +0 -36
  568. package/core/models/rdsl-planos.model.ts +0 -14
  569. package/core/models/rdsl-post-category.model.ts +0 -8
  570. package/core/models/rdsl-unidade.model.ts +0 -52
  571. package/core/models/section-navigation.model.ts +0 -10
  572. package/core/models/seo/seo-data.model.ts +0 -11
  573. package/core/models/seo/seo-unidade.model.ts +0 -6
  574. package/core/models/social-meta-properties.model.ts +0 -9
  575. package/core/models/wordpress/WpEnvelopeResponse.model.ts +0 -12
  576. package/core/models/wordpress/WpHttpParams.model.ts +0 -5
  577. package/core/models/wordpress/WpQueryParams.model.ts +0 -32
  578. package/core/models/wordpress/WpResponse.model.ts +0 -35
  579. package/core/models/wordpress/category/wpCategory.model.ts +0 -15
  580. package/core/models/wordpress/category/wpCategoryRequestParams.model.ts +0 -9
  581. package/core/models/wordpress/flexiblecontent/flexiblecontent.model.ts +0 -4
  582. package/core/models/wordpress/general/content.model.ts +0 -4
  583. package/core/models/wordpress/general/excerpt.model.ts +0 -4
  584. package/core/models/wordpress/general/featuredMedia.model.ts +0 -27
  585. package/core/models/wordpress/general/guid.model.ts +0 -3
  586. package/core/models/wordpress/general/index.ts +0 -10
  587. package/core/models/wordpress/general/links.model.ts +0 -47
  588. package/core/models/wordpress/general/meta.model.ts +0 -3
  589. package/core/models/wordpress/general/title.model.ts +0 -3
  590. package/core/models/wordpress/general/yoastData.model.ts +0 -4
  591. package/core/models/wordpress/general/yoastHeadJson.model.ts +0 -55
  592. package/core/models/wordpress/general/yoastMeta.model.ts +0 -5
  593. package/core/models/wordpress/page/page.model.ts +0 -11
  594. package/core/models/wordpress/page/pageRequestParams.model.ts +0 -11
  595. package/core/models/wordpress/post/post.model.ts +0 -37
  596. package/core/models/wordpress/post/postRequestParams.model.ts +0 -23
  597. package/core/models/wordpress/unidade/wp-unidade-onco.model.ts +0 -62
  598. package/core/models/wordpress/unidade/wp-unidade-site-detalhe.model.ts +0 -173
  599. package/core/models/wordpress/unidade/wp-unidade-site.model.ts +0 -48
  600. package/core/ng-package.json +0 -6
  601. package/core/public-api.ts +0 -79
  602. package/core/services/error/error.service.spec.ts +0 -16
  603. package/core/services/error/error.service.ts +0 -10
  604. package/core/services/geoloc/geoloc.service.spec.ts +0 -16
  605. package/core/services/geoloc/geoloc.service.ts +0 -225
  606. package/core/services/http-client/http-client.service.spec.ts +0 -16
  607. package/core/services/http-client/http-client.service.ts +0 -49
  608. package/core/services/log/log.service.spec.ts +0 -16
  609. package/core/services/log/log.service.ts +0 -36
  610. package/core/services/mapbox/mapbox.service.spec.ts +0 -16
  611. package/core/services/mapbox/mapbox.service.ts +0 -84
  612. package/core/services/modal/modal.service.spec.ts +0 -16
  613. package/core/services/modal/modal.service.ts +0 -124
  614. package/core/services/modal-drawer/modal-drawer.service.spec.ts +0 -16
  615. package/core/services/modal-drawer/modal-drawer.service.ts +0 -104
  616. package/core/services/phone/phone.service.spec.ts +0 -16
  617. package/core/services/phone/phone.service.ts +0 -19
  618. package/core/services/privacy-tools/privacy-tools.service.spec.ts +0 -16
  619. package/core/services/privacy-tools/privacy-tools.service.ts +0 -96
  620. package/core/services/seo/seo.service.spec.ts +0 -16
  621. package/core/services/seo/seo.service.ts +0 -537
  622. package/core/services/server-response/server-response.service.spec.ts +0 -16
  623. package/core/services/server-response/server-response.service.ts +0 -107
  624. package/core/services/site-back-end/site-back-end.service.spec.ts +0 -16
  625. package/core/services/site-back-end/site-back-end.service.ts +0 -48
  626. package/core/services/ssr-response/ssr-response.service.spec.ts +0 -16
  627. package/core/services/ssr-response/ssr-response.service.ts +0 -57
  628. package/core/tokens/LibConfig.ts +0 -64
  629. package/core/tokens/express.tokens.ts +0 -5
  630. package/cura/accordion/cura-accordion/cura-accordion.component.html +0 -1
  631. package/cura/accordion/cura-accordion/cura-accordion.component.scss +0 -7
  632. package/cura/accordion/cura-accordion/cura-accordion.component.ts +0 -203
  633. package/cura/accordion/cura-accordion-item/cura-accordion-item.component.html +0 -20
  634. package/cura/accordion/cura-accordion-item/cura-accordion-item.component.scss +0 -139
  635. package/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts +0 -75
  636. package/cura/accordion/cura-accordion.definitions.ts +0 -5
  637. package/cura/accordion/index.ts +0 -1
  638. package/cura/accordion/ng-package.json +0 -6
  639. package/cura/accordion/public-api.ts +0 -3
  640. package/cura/api/CuraConfig.ts +0 -5
  641. package/cura/api/cura-api.service.spec.ts +0 -138
  642. package/cura/api/cura-api.service.ts +0 -104
  643. package/cura/api/cura-api.types.ts +0 -79
  644. package/cura/api/index.ts +0 -1
  645. package/cura/api/modules/cura-theme-breakpoints.module.ts +0 -22
  646. package/cura/api/modules/cura-theme-colors.module.ts +0 -89
  647. package/cura/api/modules/cura-theme-fonts.module.ts +0 -54
  648. package/cura/api/modules/cura-theme-spacing.module.ts +0 -23
  649. package/cura/api/modules/cura-theme.module.ts +0 -116
  650. package/cura/api/ng-package.json +0 -6
  651. package/cura/api/public-api.ts +0 -11
  652. package/cura/api/theme-presets/static.ts +0 -70
  653. package/cura/api/theme-presets/theme-default.ts +0 -49
  654. package/cura/api/theme-presets/theme-maternidade-star.ts +0 -49
  655. package/cura/api/theme-presets/theme-presets.ts +0 -13
  656. package/cura/api/theme-presets/theme-star.ts +0 -49
  657. package/cura/badges/cura-badge-counter/cura-badge-counter.component.html +0 -7
  658. package/cura/badges/cura-badge-counter/cura-badge-counter.component.scss +0 -41
  659. package/cura/badges/cura-badge-counter/cura-badge-counter.component.ts +0 -94
  660. package/cura/badges/cura-badge-counter/index.ts +0 -1
  661. package/cura/badges/cura-badge-counter/ng-package.json +0 -6
  662. package/cura/badges/cura-badge-counter/public-api.ts +0 -1
  663. package/cura/badges/cura-badge-distance/cura-badge-distance.component.html +0 -8
  664. package/cura/badges/cura-badge-distance/cura-badge-distance.component.scss +0 -16
  665. package/cura/badges/cura-badge-distance/cura-badge-distance.component.ts +0 -53
  666. package/cura/badges/cura-badge-distance/index.ts +0 -1
  667. package/cura/badges/cura-badge-distance/ng-package.json +0 -6
  668. package/cura/badges/cura-badge-distance/public-api.ts +0 -1
  669. package/cura/badges/cura-badge-dot/cura-badge-dot.component.html +0 -1
  670. package/cura/badges/cura-badge-dot/cura-badge-dot.component.scss +0 -50
  671. package/cura/badges/cura-badge-dot/cura-badge-dot.component.ts +0 -69
  672. package/cura/badges/cura-badge-dot/index.ts +0 -1
  673. package/cura/badges/cura-badge-dot/ng-package.json +0 -6
  674. package/cura/badges/cura-badge-dot/public-api.ts +0 -1
  675. package/cura/badges/cura-badge-pill/cura-badge-pill.component.html +0 -8
  676. package/cura/badges/cura-badge-pill/cura-badge-pill.component.scss +0 -74
  677. package/cura/badges/cura-badge-pill/cura-badge-pill.component.ts +0 -105
  678. package/cura/badges/cura-badge-pill/index.ts +0 -1
  679. package/cura/badges/cura-badge-pill/ng-package.json +0 -6
  680. package/cura/badges/cura-badge-pill/public-api.ts +0 -1
  681. package/cura/badges/cura-badges.definitions.ts +0 -5
  682. package/cura/badges/index.ts +0 -1
  683. package/cura/badges/ng-package.json +0 -6
  684. package/cura/badges/public-api.ts +0 -1
  685. package/cura/buttons/cura-button/cura-button.component.html +0 -47
  686. package/cura/buttons/cura-button/cura-button.component.scss +0 -66
  687. package/cura/buttons/cura-button/cura-button.component.spec.ts +0 -105
  688. package/cura/buttons/cura-button/cura-button.component.ts +0 -184
  689. package/cura/buttons/cura-button/index.ts +0 -1
  690. package/cura/buttons/cura-button/ng-package.json +0 -6
  691. package/cura/buttons/cura-button/public-api.ts +0 -1
  692. package/cura/buttons/cura-button-outline/cura-button-outline.component.html +0 -47
  693. package/cura/buttons/cura-button-outline/cura-button-outline.component.scss +0 -55
  694. package/cura/buttons/cura-button-outline/cura-button-outline.component.spec.ts +0 -57
  695. package/cura/buttons/cura-button-outline/cura-button-outline.component.ts +0 -184
  696. package/cura/buttons/cura-button-outline/index.ts +0 -1
  697. package/cura/buttons/cura-button-outline/ng-package.json +0 -6
  698. package/cura/buttons/cura-button-outline/public-api.ts +0 -1
  699. package/cura/buttons/cura-button-select/cura-button-select.component.html +0 -27
  700. package/cura/buttons/cura-button-select/cura-button-select.component.scss +0 -76
  701. package/cura/buttons/cura-button-select/cura-button-select.component.spec.ts +0 -96
  702. package/cura/buttons/cura-button-select/cura-button-select.component.ts +0 -140
  703. package/cura/buttons/cura-button-select/index.ts +0 -1
  704. package/cura/buttons/cura-button-select/ng-package.json +0 -6
  705. package/cura/buttons/cura-button-select/public-api.ts +0 -1
  706. package/cura/buttons/cura-button-transparent/cura-button-transparent.component.html +0 -47
  707. package/cura/buttons/cura-button-transparent/cura-button-transparent.component.scss +0 -29
  708. package/cura/buttons/cura-button-transparent/cura-button-transparent.component.spec.ts +0 -63
  709. package/cura/buttons/cura-button-transparent/cura-button-transparent.component.ts +0 -172
  710. package/cura/buttons/cura-button-transparent/index.ts +0 -1
  711. package/cura/buttons/cura-button-transparent/ng-package.json +0 -6
  712. package/cura/buttons/cura-button-transparent/public-api.ts +0 -1
  713. package/cura/buttons/cura-button.definitions.ts +0 -13
  714. package/cura/buttons/index.ts +0 -1
  715. package/cura/buttons/ng-package.json +0 -6
  716. package/cura/buttons/public-api.ts +0 -1
  717. package/cura/cards/cura-card/cura-card.component.html +0 -11
  718. package/cura/cards/cura-card/cura-card.component.scss +0 -167
  719. package/cura/cards/cura-card/cura-card.component.ts +0 -89
  720. package/cura/cards/cura-card/cura-cards.definitions.ts +0 -5
  721. package/cura/cards/cura-card/index.ts +0 -1
  722. package/cura/cards/cura-card/ng-package.json +0 -6
  723. package/cura/cards/cura-card/public-api.ts +0 -1
  724. package/cura/feedback/cura-alert/cura-alert.component.html +0 -21
  725. package/cura/feedback/cura-alert/cura-alert.component.scss +0 -32
  726. package/cura/feedback/cura-alert/cura-alert.component.ts +0 -94
  727. package/cura/feedback/cura-alert/cura-alert.definitions.ts +0 -15
  728. package/cura/feedback/cura-alert/index.ts +0 -1
  729. package/cura/feedback/cura-alert/ng-package.json +0 -6
  730. package/cura/feedback/cura-alert/public-api.ts +0 -2
  731. package/cura/feedback/cura-modal/cura-modal.component.html +0 -20
  732. package/cura/feedback/cura-modal/cura-modal.component.scss +0 -149
  733. package/cura/feedback/cura-modal/cura-modal.component.ts +0 -112
  734. package/cura/feedback/cura-modal/cura-modal.definitions.ts +0 -36
  735. package/cura/feedback/cura-modal/index.ts +0 -1
  736. package/cura/feedback/cura-modal/ng-package.json +0 -6
  737. package/cura/feedback/cura-modal/public-api.ts +0 -2
  738. package/cura/feedback/cura-toast/cura-toast.component.html +0 -23
  739. package/cura/feedback/cura-toast/cura-toast.component.scss +0 -96
  740. package/cura/feedback/cura-toast/cura-toast.component.ts +0 -213
  741. package/cura/feedback/cura-toast/cura-toast.definitions.ts +0 -22
  742. package/cura/feedback/cura-toast/index.ts +0 -1
  743. package/cura/feedback/cura-toast/ng-package.json +0 -6
  744. package/cura/feedback/cura-toast/public-api.ts +0 -2
  745. package/cura/forms/cura-checkbox/cura-checkbox.component.html +0 -35
  746. package/cura/forms/cura-checkbox/cura-checkbox.component.scss +0 -219
  747. package/cura/forms/cura-checkbox/cura-checkbox.component.ts +0 -284
  748. package/cura/forms/cura-checkbox/cura-checkbox.definitions.ts +0 -44
  749. package/cura/forms/cura-checkbox/index.ts +0 -1
  750. package/cura/forms/cura-checkbox/ng-package.json +0 -6
  751. package/cura/forms/cura-checkbox/public-api.ts +0 -2
  752. package/cura/forms/cura-forms.definitions.ts +0 -18
  753. package/cura/forms/cura-input-text/cura-input-text.component.html +0 -65
  754. package/cura/forms/cura-input-text/cura-input-text.component.scss +0 -165
  755. package/cura/forms/cura-input-text/cura-input-text.component.ts +0 -621
  756. package/cura/forms/cura-input-text/cura-input-text.definitions.ts +0 -104
  757. package/cura/forms/cura-input-text/index.ts +0 -1
  758. package/cura/forms/cura-input-text/ng-package.json +0 -6
  759. package/cura/forms/cura-input-text/public-api.ts +0 -2
  760. package/cura/forms/cura-label/cura-label.component.html +0 -3
  761. package/cura/forms/cura-label/cura-label.component.scss +0 -68
  762. package/cura/forms/cura-label/cura-label.component.ts +0 -93
  763. package/cura/forms/cura-label/index.ts +0 -1
  764. package/cura/forms/cura-label/ng-package.json +0 -6
  765. package/cura/forms/cura-label/public-api.ts +0 -1
  766. package/cura/forms/cura-radio/cura-radio.component.html +0 -28
  767. package/cura/forms/cura-radio/cura-radio.component.scss +0 -232
  768. package/cura/forms/cura-radio/cura-radio.component.ts +0 -261
  769. package/cura/forms/cura-radio/cura-radio.definitions.ts +0 -46
  770. package/cura/forms/cura-radio/index.ts +0 -1
  771. package/cura/forms/cura-radio/ng-package.json +0 -6
  772. package/cura/forms/cura-radio/public-api.ts +0 -2
  773. package/cura/forms/cura-select/cura-select.component.html +0 -88
  774. package/cura/forms/cura-select/cura-select.component.scss +0 -112
  775. package/cura/forms/cura-select/cura-select.component.ts +0 -459
  776. package/cura/forms/cura-select/cura-select.definitions.ts +0 -34
  777. package/cura/forms/cura-select/index.ts +0 -1
  778. package/cura/forms/cura-select/ng-package.json +0 -6
  779. package/cura/forms/cura-select/public-api.ts +0 -2
  780. package/cura/forms/cura-select-option/cura-select-option.component.html +0 -9
  781. package/cura/forms/cura-select-option/cura-select-option.component.scss +0 -33
  782. package/cura/forms/cura-select-option/cura-select-option.component.ts +0 -93
  783. package/cura/forms/cura-select-option/cura-select-option.definitions.ts +0 -12
  784. package/cura/forms/cura-select-option/index.ts +0 -1
  785. package/cura/forms/cura-select-option/ng-package.json +0 -6
  786. package/cura/forms/cura-select-option/public-api.ts +0 -2
  787. package/cura/forms/cura-select-state/cura-select-state.component.html +0 -14
  788. package/cura/forms/cura-select-state/cura-select-state.component.ts +0 -125
  789. package/cura/forms/cura-select-state/cura-select-state.definitions.ts +0 -19
  790. package/cura/forms/cura-select-state/index.ts +0 -1
  791. package/cura/forms/cura-select-state/ng-package.json +0 -6
  792. package/cura/forms/cura-select-state/public-api.ts +0 -2
  793. package/cura/forms/cura-switch/cura-switch.component.html +0 -25
  794. package/cura/forms/cura-switch/cura-switch.component.scss +0 -134
  795. package/cura/forms/cura-switch/cura-switch.component.ts +0 -196
  796. package/cura/forms/cura-switch/cura-switch.definitions.ts +0 -35
  797. package/cura/forms/cura-switch/index.ts +0 -1
  798. package/cura/forms/cura-switch/ng-package.json +0 -6
  799. package/cura/forms/cura-switch/public-api.ts +0 -2
  800. package/cura/forms/cura-textarea/cura-textarea.component.html +0 -44
  801. package/cura/forms/cura-textarea/cura-textarea.component.scss +0 -173
  802. package/cura/forms/cura-textarea/cura-textarea.component.ts +0 -226
  803. package/cura/forms/cura-textarea/cura-textarea.definitions.ts +0 -24
  804. package/cura/forms/cura-textarea/index.ts +0 -1
  805. package/cura/forms/cura-textarea/ng-package.json +0 -6
  806. package/cura/forms/cura-textarea/public-api.ts +0 -2
  807. package/cura/forms/index.ts +0 -1
  808. package/cura/forms/ng-package.json +0 -6
  809. package/cura/forms/public-api.ts +0 -1
  810. package/cura/icons/cura-icon/cura-icon.component.html +0 -3
  811. package/cura/icons/cura-icon/cura-icon.component.scss +0 -14
  812. package/cura/icons/cura-icon/cura-icon.component.spec.ts +0 -89
  813. package/cura/icons/cura-icon/cura-icon.component.ts +0 -79
  814. package/cura/icons/cura-icon/cura-icon.definitions.ts +0 -20
  815. package/cura/icons/cura-icon/index.ts +0 -1
  816. package/cura/icons/cura-icon/ng-package.json +0 -6
  817. package/cura/icons/cura-icon/public-api.ts +0 -2
  818. package/cura/loaders/cura-loader-bar/cura-loader-bar.component.html +0 -3
  819. package/cura/loaders/cura-loader-bar/cura-loader-bar.component.scss +0 -23
  820. package/cura/loaders/cura-loader-bar/cura-loader-bar.component.ts +0 -37
  821. package/cura/loaders/cura-loader-bar/index.ts +0 -1
  822. package/cura/loaders/cura-loader-bar/ng-package.json +0 -6
  823. package/cura/loaders/cura-loader-bar/public-api.ts +0 -1
  824. package/cura/loaders/cura-loader-circle/cura-loader-circle.component.html +0 -12
  825. package/cura/loaders/cura-loader-circle/cura-loader-circle.component.scss +0 -39
  826. package/cura/loaders/cura-loader-circle/cura-loader-circle.component.ts +0 -45
  827. package/cura/loaders/cura-loader-circle/index.ts +0 -1
  828. package/cura/loaders/cura-loader-circle/ng-package.json +0 -6
  829. package/cura/loaders/cura-loader-circle/public-api.ts +0 -1
  830. package/cura/scss/mixins/buttons.scss +0 -244
  831. package/cura/scss/mixins/forms.scss +0 -298
  832. package/cura/scss/mixins/responsive.scss +0 -69
  833. package/cura/scss/mixins/shadows.scss +0 -71
  834. package/cura/scss/mixins/spacing.scss +0 -33
  835. package/cura/scss/mixins/text.scss +0 -11
  836. package/cura/texts/cura-display/cura-display.component.html +0 -41
  837. package/cura/texts/cura-display/cura-display.component.scss +0 -91
  838. package/cura/texts/cura-display/cura-display.component.ts +0 -85
  839. package/cura/texts/cura-display/index.ts +0 -1
  840. package/cura/texts/cura-display/ng-package.json +0 -6
  841. package/cura/texts/cura-display/public-api.ts +0 -1
  842. package/cura/texts/cura-heading/cura-heading.component.html +0 -41
  843. package/cura/texts/cura-heading/cura-heading.component.scss +0 -160
  844. package/cura/texts/cura-heading/cura-heading.component.ts +0 -111
  845. package/cura/texts/cura-heading/index.ts +0 -1
  846. package/cura/texts/cura-heading/ng-package.json +0 -6
  847. package/cura/texts/cura-heading/public-api.ts +0 -1
  848. package/cura/texts/cura-paragraph/cura-paragraph.component.html +0 -3
  849. package/cura/texts/cura-paragraph/cura-paragraph.component.scss +0 -130
  850. package/cura/texts/cura-paragraph/cura-paragraph.component.ts +0 -94
  851. package/cura/texts/cura-paragraph/index.ts +0 -1
  852. package/cura/texts/cura-paragraph/ng-package.json +0 -6
  853. package/cura/texts/cura-paragraph/public-api.ts +0 -1
  854. package/cura/texts/cura-texts.definitions.ts +0 -9
  855. package/cura/texts/index.ts +0 -1
  856. package/cura/texts/ng-package.json +0 -6
  857. package/cura/texts/public-api.ts +0 -1
  858. package/enums/EnumError.enum.ts +0 -4
  859. package/enums/EnumThemes.enum.ts +0 -8
  860. package/enums/Estados.enum.ts +0 -29
  861. package/enums/IconCuraDefaultType.enum.ts +0 -119
  862. package/enums/ImageMimeType.enum.ts +0 -5
  863. package/enums/UnidadeCoverageType.enum.ts +0 -5
  864. package/enums/index.ts +0 -1
  865. package/enums/ng-package.json +0 -6
  866. package/enums/public-api.ts +0 -6
  867. package/ng-package.json +0 -8
  868. package/services/algolia/algolia.service.spec.ts +0 -16
  869. package/services/algolia/algolia.service.ts +0 -36
  870. package/services/algolia/index.ts +0 -1
  871. package/services/algolia/ng-package.json +0 -6
  872. package/services/algolia/public-api.ts +0 -1
  873. package/services/algolia-search-api/algolia-search-api.service.spec.ts +0 -16
  874. package/services/algolia-search-api/algolia-search-api.service.ts +0 -72
  875. package/services/algolia-search-api/index.ts +0 -1
  876. package/services/algolia-search-api/ng-package.json +0 -6
  877. package/services/algolia-search-api/public-api.ts +0 -1
  878. package/services/ngu-carousel/index.ts +0 -1
  879. package/services/ngu-carousel/ng-package.json +0 -6
  880. package/services/ngu-carousel/ngu-carousel.service.spec.ts +0 -16
  881. package/services/ngu-carousel/ngu-carousel.service.ts +0 -80
  882. package/services/ngu-carousel/public-api.ts +0 -1
  883. package/services/ssr-loading/index.ts +0 -1
  884. package/services/ssr-loading/ng-package.json +0 -6
  885. package/services/ssr-loading/public-api.ts +0 -1
  886. package/services/ssr-loading/ssr-loading.service.spec.ts +0 -16
  887. package/services/ssr-loading/ssr-loading.service.ts +0 -41
  888. package/services/transfer-state/index.ts +0 -1
  889. package/services/transfer-state/ng-package.json +0 -6
  890. package/services/transfer-state/public-api.ts +0 -1
  891. package/services/transfer-state/transfer-state.service.spec.ts +0 -16
  892. package/services/transfer-state/transfer-state.service.ts +0 -38
  893. package/services/youtube/index.ts +0 -1
  894. package/services/youtube/ng-package.json +0 -6
  895. package/services/youtube/public-api.ts +0 -1
  896. package/services/youtube/youtube.service.spec.ts +0 -16
  897. package/services/youtube/youtube.service.ts +0 -28
  898. package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.spec.ts +0 -8
  899. package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.ts +0 -18
  900. package/shared/helpers/clean-text.func.ts +0 -15
  901. package/shared/helpers/mediaQueries.ts +0 -11
  902. package/shared/helpers/removeDuplicateObjectsFromArray.func.ts +0 -5
  903. package/shared/helpers/removeDuplicateValuesFromArray.func.ts +0 -5
  904. package/shared/helpers/stringToSlug.func.ts +0 -32
  905. package/shared/index.ts +0 -1
  906. package/shared/ng-package.json +0 -6
  907. package/shared/pipes/phone/phone.pipe.spec.ts +0 -8
  908. package/shared/pipes/phone/phone.pipe.ts +0 -11
  909. package/shared/public-api.ts +0 -9
  910. package/src/public-api.ts +0 -5
  911. package/styles/_mixins.scss +0 -49
  912. package/styles/_utilities.scss +0 -22
  913. package/tsconfig.lib.json +0 -13
  914. package/tsconfig.lib.prod.json +0 -10
  915. package/tsconfig.spec.json +0 -14
@@ -0,0 +1,118 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, HostBinding, Component, input, output } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
6
+ import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
7
+ import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
8
+ import { WhatsappComponent } from '@rededor/site-front-end-lib/components/whatsapp';
9
+
10
+ class SideCtasComponent {
11
+ constructor() {
12
+ this.curaApiService = inject(CuraApiService);
13
+ this.style = {
14
+ '--color-right': this.curaApiService.theme.colors.getColor('primary-darker'),
15
+ };
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: SideCtasComponent, isStandalone: true, selector: "rdsite-side-ctas", host: { properties: { "style": "this.style" } }, ngImport: i0, template: "<div\n class=\"rdsite-side-ctas-right\"\n [ngStyle]=\"{\n display: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? 'flex' : 'none',\n }\"\n>\n <div #rightTop class=\"rdsite-side-ctas-right-top\">\n <ng-content select=\"rdsite-side-ctas-right-top\"></ng-content>\n </div>\n <div #rightMiddle class=\"rdsite-side-ctas-right-middle\">\n <ng-content select=\"rdsite-side-ctas-right-middle\"></ng-content>\n </div>\n <div #rightBottom class=\"rdsite-side-ctas-right-bottom\">\n <ng-content select=\"rdsite-side-ctas-right-bottom\"></ng-content>\n </div>\n</div>\n\n<div\n class=\"rdsite-side-ctas-bottom\"\n [ngStyle]=\"{\n display: bottom?.children?.length ? 'flex' : 'none',\n paddingRight: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? '88px' : '0px',\n }\"\n>\n <div #bottom class=\"rdsite-side-ctas-bottom-container\">\n <ng-content select=\"rdsite-side-ctas-bottom\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:sticky;bottom:0;right:0;display:block;z-index:3003;pointer-events:none}@media only screen and (min-width: 1024px){:host{margin-top:-88px}}.rdsite-side-ctas-right{position:absolute;bottom:0;right:0;height:min-content;width:88px;background-color:var(--color-right);display:flex;flex-direction:column;justify-content:space-between;align-items:center;pointer-events:auto}.rdsite-side-ctas-right-middle{display:flex;flex-grow:1;align-items:center}.rdsite-side-ctas-bottom{display:flex;justify-content:flex-end;padding-right:88px;background-color:transparent;height:88px}.rdsite-side-ctas-bottom-container{pointer-events:auto;width:100%}@media only screen and (min-width: 1024px){.rdsite-side-ctas-right{height:calc(100vh - 80px)}.rdsite-side-ctas-bottom-container{width:fit-content;gap:10px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'rdsite-side-ctas', imports: [CommonModule], template: "<div\n class=\"rdsite-side-ctas-right\"\n [ngStyle]=\"{\n display: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? 'flex' : 'none',\n }\"\n>\n <div #rightTop class=\"rdsite-side-ctas-right-top\">\n <ng-content select=\"rdsite-side-ctas-right-top\"></ng-content>\n </div>\n <div #rightMiddle class=\"rdsite-side-ctas-right-middle\">\n <ng-content select=\"rdsite-side-ctas-right-middle\"></ng-content>\n </div>\n <div #rightBottom class=\"rdsite-side-ctas-right-bottom\">\n <ng-content select=\"rdsite-side-ctas-right-bottom\"></ng-content>\n </div>\n</div>\n\n<div\n class=\"rdsite-side-ctas-bottom\"\n [ngStyle]=\"{\n display: bottom?.children?.length ? 'flex' : 'none',\n paddingRight: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? '88px' : '0px',\n }\"\n>\n <div #bottom class=\"rdsite-side-ctas-bottom-container\">\n <ng-content select=\"rdsite-side-ctas-bottom\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:sticky;bottom:0;right:0;display:block;z-index:3003;pointer-events:none}@media only screen and (min-width: 1024px){:host{margin-top:-88px}}.rdsite-side-ctas-right{position:absolute;bottom:0;right:0;height:min-content;width:88px;background-color:var(--color-right);display:flex;flex-direction:column;justify-content:space-between;align-items:center;pointer-events:auto}.rdsite-side-ctas-right-middle{display:flex;flex-grow:1;align-items:center}.rdsite-side-ctas-bottom{display:flex;justify-content:flex-end;padding-right:88px;background-color:transparent;height:88px}.rdsite-side-ctas-bottom-container{pointer-events:auto;width:100%}@media only screen and (min-width: 1024px){.rdsite-side-ctas-right{height:calc(100vh - 80px)}.rdsite-side-ctas-bottom-container{width:fit-content;gap:10px}}\n"] }]
23
+ }], propDecorators: { style: [{
24
+ type: HostBinding,
25
+ args: ['style']
26
+ }] } });
27
+
28
+ class SideCtasBottomComponent {
29
+ constructor() {
30
+ this.curaApiService = inject(CuraApiService);
31
+ this.ctas = input([], ...(ngDevMode ? [{ debugName: "ctas" }] : []));
32
+ this.sideCtaBottomItemClick = output();
33
+ this.style = {
34
+ '--font-family': this.curaApiService.theme.fonts.getFamily(''),
35
+ '--font-color': this.curaApiService.theme.colors.getColor('neutral-black'),
36
+ '--bg-color': this.curaApiService.theme.colors.getColor('primary-dark'),
37
+ '--bg-cta-color': this.curaApiService.theme.colors.getColor('accent-base'),
38
+ '--bg-cta-hover-color': this.curaApiService.theme.colors.getColor('accent-dark'),
39
+ '--bg-cta-active-color': this.curaApiService.theme.colors.getColor('accent-darker'),
40
+ };
41
+ }
42
+ sideCtaBottomItemClicked(event) {
43
+ this.sideCtaBottomItemClick.emit(event);
44
+ }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasBottomComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SideCtasBottomComponent, isStandalone: true, selector: "rdsite-side-ctas-bottom", inputs: { ctas: { classPropertyName: "ctas", publicName: "ctas", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sideCtaBottomItemClick: "sideCtaBottomItemClick" }, host: { properties: { "style": "this.style" } }, ngImport: i0, template: "@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a [href]=\"cta.url\" rdsitelink (click)=\"sideCtaBottomItemClicked($event)\">\n <cura-icon [name]=\"cta.icon\" size=\"20\" color=\"neutral-black\"></cura-icon>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n", styles: [":host{display:flex;width:100%;height:100%;gap:2px;background-color:var(--bg-color)}:host *{font-family:var(--font-family)}:host a{display:flex;align-items:center;justify-content:center;flex:1 1 0;gap:12px;padding:0 10px;background-color:var(--bg-cta-color);color:var(--font-color);transition:background-color .25s linear!important;text-decoration:none;font-weight:500}:host a span{color:var(--font-color)}:host a cura-icon{--color: var(--font-color) !important}:host a:hover{background-color:var(--bg-cta-hover-color);color:var(--font-color)!important}:host a:active{background-color:var(--bg-cta-active-color);color:var(--font-color)!important}@media only screen and (min-width: 1024px){:host{width:448px}:host a{gap:16px;padding:0 16px}}\n"], dependencies: [{ kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasBottomComponent, decorators: [{
49
+ type: Component,
50
+ args: [{ selector: 'rdsite-side-ctas-bottom', imports: [RdsiteLinkDirective, CuraIconComponent], template: "@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a [href]=\"cta.url\" rdsitelink (click)=\"sideCtaBottomItemClicked($event)\">\n <cura-icon [name]=\"cta.icon\" size=\"20\" color=\"neutral-black\"></cura-icon>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n", styles: [":host{display:flex;width:100%;height:100%;gap:2px;background-color:var(--bg-color)}:host *{font-family:var(--font-family)}:host a{display:flex;align-items:center;justify-content:center;flex:1 1 0;gap:12px;padding:0 10px;background-color:var(--bg-cta-color);color:var(--font-color);transition:background-color .25s linear!important;text-decoration:none;font-weight:500}:host a span{color:var(--font-color)}:host a cura-icon{--color: var(--font-color) !important}:host a:hover{background-color:var(--bg-cta-hover-color);color:var(--font-color)!important}:host a:active{background-color:var(--bg-cta-active-color);color:var(--font-color)!important}@media only screen and (min-width: 1024px){:host{width:448px}:host a{gap:16px;padding:0 16px}}\n"] }]
51
+ }], propDecorators: { ctas: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctas", required: false }] }], sideCtaBottomItemClick: [{ type: i0.Output, args: ["sideCtaBottomItemClick"] }], style: [{
52
+ type: HostBinding,
53
+ args: ['style']
54
+ }] } });
55
+
56
+ class SideCtasRightBottomComponent {
57
+ constructor() {
58
+ this.link = input('', ...(ngDevMode ? [{ debugName: "link" }] : []));
59
+ this.imgUrl = input('', ...(ngDevMode ? [{ debugName: "imgUrl" }] : []));
60
+ this.text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
61
+ this.bgColor = input('#1DCD52', ...(ngDevMode ? [{ debugName: "bgColor" }] : []));
62
+ this.bgHover = input('#016720', ...(ngDevMode ? [{ debugName: "bgHover" }] : []));
63
+ this.borderTop = input(false, ...(ngDevMode ? [{ debugName: "borderTop" }] : []));
64
+ this.sideCtaRightBottomItemClick = output();
65
+ }
66
+ whatsappClicked(event) {
67
+ this.sideCtaRightBottomItemClick.emit(event);
68
+ }
69
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightBottomComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
70
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SideCtasRightBottomComponent, isStandalone: true, selector: "rdsite-side-ctas-right-bottom", inputs: { link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, imgUrl: { classPropertyName: "imgUrl", publicName: "imgUrl", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, bgHover: { classPropertyName: "bgHover", publicName: "bgHover", isSignal: true, isRequired: false, transformFunction: null }, borderTop: { classPropertyName: "borderTop", publicName: "borderTop", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sideCtaRightBottomItemClick: "sideCtaRightBottomItemClick" }, ngImport: i0, template: "@if (link() && imgUrl()) {\n <rdsite-whatsapp\n [link]=\"link()\"\n [imgUrl]=\"imgUrl()\"\n [text]=\"text()\"\n [bgColor]=\"bgColor()\"\n [bgHover]=\"bgHover()\"\n [borderTop]=\"borderTop()\"\n (whatsappClick)=\"whatsappClicked($event)\"\n ></rdsite-whatsapp>\n}\n", styles: [""], dependencies: [{ kind: "component", type: WhatsappComponent, selector: "rdsite-whatsapp", inputs: ["link", "imgUrl", "text", "bgColor", "bgHover", "borderTop"], outputs: ["whatsappClick"] }] }); }
71
+ }
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightBottomComponent, decorators: [{
73
+ type: Component,
74
+ args: [{ selector: 'rdsite-side-ctas-right-bottom', imports: [WhatsappComponent], template: "@if (link() && imgUrl()) {\n <rdsite-whatsapp\n [link]=\"link()\"\n [imgUrl]=\"imgUrl()\"\n [text]=\"text()\"\n [bgColor]=\"bgColor()\"\n [bgHover]=\"bgHover()\"\n [borderTop]=\"borderTop()\"\n (whatsappClick)=\"whatsappClicked($event)\"\n ></rdsite-whatsapp>\n}\n" }]
75
+ }], propDecorators: { link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], imgUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "imgUrl", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], bgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColor", required: false }] }], bgHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgHover", required: false }] }], borderTop: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderTop", required: false }] }], sideCtaRightBottomItemClick: [{ type: i0.Output, args: ["sideCtaRightBottomItemClick"] }] } });
76
+
77
+ class SideCtasRightMiddleComponent {
78
+ constructor() {
79
+ this.curaApiService = inject(CuraApiService);
80
+ this.ctas = input([], ...(ngDevMode ? [{ debugName: "ctas" }] : []));
81
+ this.sideCtaRightMiddleItemClick = output();
82
+ this.style = {
83
+ '--font-family': this.curaApiService.theme.fonts.getFamily(''),
84
+ '--icon-bg-color': this.curaApiService.theme.colors.getColor('primary-base'),
85
+ '--font-color': this.curaApiService.theme.colors.getColor('primary-lighter'),
86
+ '--font-hover': this.curaApiService.theme.colors.getColor('neutral-white'),
87
+ '--font-active': this.curaApiService.theme.colors.getColor('primary-light'),
88
+ };
89
+ }
90
+ sideCtaRightMiddleItemClicked(event) {
91
+ this.sideCtaRightMiddleItemClick.emit(event);
92
+ }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightMiddleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
94
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SideCtasRightMiddleComponent, isStandalone: true, selector: "rdsite-side-ctas-right-middle", inputs: { ctas: { classPropertyName: "ctas", publicName: "ctas", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sideCtaRightMiddleItemClick: "sideCtaRightMiddleItemClick" }, host: { properties: { "style": "this.style" } }, ngImport: i0, template: "@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a class=\"right-middle-cta\" [href]=\"cta.url\" rdsitelink (click)=\"sideCtaRightMiddleItemClicked($event)\">\n <div class=\"right-middle-cta-icon\">\n <cura-icon [name]=\"cta.icon\" size=\"24\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n", styles: [":host{display:none;gap:16px;padding:0 8px}:host *{font-family:var(--font-family)}:host .right-middle-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:500}:host .right-middle-cta-icon{width:36px;height:36px;background-color:var(--icon-bg-color);border-radius:50%;display:flex;align-items:center;justify-content:center}:host .right-middle-cta span{text-align:center;color:var(--font-color);font-size:12px;line-height:135%;letter-spacing:.72px}:host .right-middle-cta:hover span{color:var(--font-hover)!important}:host .right-middle-cta:active span{color:var(--font-active)!important}@media only screen and (min-width: 1024px){:host{display:flex;flex-direction:column}}\n"], dependencies: [{ kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
95
+ }
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightMiddleComponent, decorators: [{
97
+ type: Component,
98
+ args: [{ selector: 'rdsite-side-ctas-right-middle', imports: [RdsiteLinkDirective, CuraIconComponent], template: "@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a class=\"right-middle-cta\" [href]=\"cta.url\" rdsitelink (click)=\"sideCtaRightMiddleItemClicked($event)\">\n <div class=\"right-middle-cta-icon\">\n <cura-icon [name]=\"cta.icon\" size=\"24\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n", styles: [":host{display:none;gap:16px;padding:0 8px}:host *{font-family:var(--font-family)}:host .right-middle-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:500}:host .right-middle-cta-icon{width:36px;height:36px;background-color:var(--icon-bg-color);border-radius:50%;display:flex;align-items:center;justify-content:center}:host .right-middle-cta span{text-align:center;color:var(--font-color);font-size:12px;line-height:135%;letter-spacing:.72px}:host .right-middle-cta:hover span{color:var(--font-hover)!important}:host .right-middle-cta:active span{color:var(--font-active)!important}@media only screen and (min-width: 1024px){:host{display:flex;flex-direction:column}}\n"] }]
99
+ }], propDecorators: { ctas: [{ type: i0.Input, args: [{ isSignal: true, alias: "ctas", required: false }] }], sideCtaRightMiddleItemClick: [{ type: i0.Output, args: ["sideCtaRightMiddleItemClick"] }], style: [{
100
+ type: HostBinding,
101
+ args: ['style']
102
+ }] } });
103
+
104
+ class SideCtasRightTopComponent {
105
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightTopComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
106
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: SideCtasRightTopComponent, isStandalone: true, selector: "rdsite-side-ctas-right-top", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:none}@media only screen and (min-width: 1024px){:host{display:block}}\n"] }); }
107
+ }
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SideCtasRightTopComponent, decorators: [{
109
+ type: Component,
110
+ args: [{ selector: 'rdsite-side-ctas-right-top', imports: [], template: "<ng-content></ng-content>\n", styles: [":host{display:none}@media only screen and (min-width: 1024px){:host{display:block}}\n"] }]
111
+ }] });
112
+
113
+ /**
114
+ * Generated bundle index. Do not edit.
115
+ */
116
+
117
+ export { SideCtasBottomComponent, SideCtasComponent, SideCtasRightBottomComponent, SideCtasRightMiddleComponent, SideCtasRightTopComponent };
118
+ //# sourceMappingURL=rededor-site-front-end-lib-components-side-ctas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rededor-site-front-end-lib-components-side-ctas.mjs","sources":["../../../projects/site-front-end-lib/components/side-ctas/side-ctas.component.ts","../../../projects/site-front-end-lib/components/side-ctas/side-ctas.component.html","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.ts","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.html","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.ts","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.html","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.ts","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.html","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.ts","../../../projects/site-front-end-lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.html","../../../projects/site-front-end-lib/components/side-ctas/rededor-site-front-end-lib-components-side-ctas.ts"],"sourcesContent":["import { Component, HostBinding, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\n\n@Component({\n selector: 'rdsite-side-ctas',\n imports: [CommonModule],\n templateUrl: './side-ctas.component.html',\n styleUrl: './side-ctas.component.scss',\n})\nexport class SideCtasComponent {\n private curaApiService = inject(CuraApiService);\n\n @HostBinding('style') style = {\n '--color-right': this.curaApiService.theme.colors.getColor('primary-darker'),\n };\n}\n","<div\n class=\"rdsite-side-ctas-right\"\n [ngStyle]=\"{\n display: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? 'flex' : 'none',\n }\"\n>\n <div #rightTop class=\"rdsite-side-ctas-right-top\">\n <ng-content select=\"rdsite-side-ctas-right-top\"></ng-content>\n </div>\n <div #rightMiddle class=\"rdsite-side-ctas-right-middle\">\n <ng-content select=\"rdsite-side-ctas-right-middle\"></ng-content>\n </div>\n <div #rightBottom class=\"rdsite-side-ctas-right-bottom\">\n <ng-content select=\"rdsite-side-ctas-right-bottom\"></ng-content>\n </div>\n</div>\n\n<div\n class=\"rdsite-side-ctas-bottom\"\n [ngStyle]=\"{\n display: bottom?.children?.length ? 'flex' : 'none',\n paddingRight: rightTop?.children?.length || rightMiddle?.children?.length || rightBottom?.children?.length ? '88px' : '0px',\n }\"\n>\n <div #bottom class=\"rdsite-side-ctas-bottom-container\">\n <ng-content select=\"rdsite-side-ctas-bottom\"></ng-content>\n </div>\n</div>\n","import { Component, HostBinding, output, inject, input } from '@angular/core';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { SideCta } from '../../models/SideCta.model';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-side-ctas-bottom',\n imports: [RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './side-ctas-bottom.component.html',\n styleUrl: './side-ctas-bottom.component.scss',\n})\nexport class SideCtasBottomComponent {\n private curaApiService = inject(CuraApiService);\n\n readonly ctas = input<SideCta[]>([]);\n readonly sideCtaBottomItemClick = output<Event>();\n\n @HostBinding('style') style = {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--font-color': this.curaApiService.theme.colors.getColor('neutral-black'),\n '--bg-color': this.curaApiService.theme.colors.getColor('primary-dark'),\n '--bg-cta-color': this.curaApiService.theme.colors.getColor('accent-base'),\n '--bg-cta-hover-color': this.curaApiService.theme.colors.getColor('accent-dark'),\n '--bg-cta-active-color': this.curaApiService.theme.colors.getColor('accent-darker'),\n };\n\n sideCtaBottomItemClicked(event: Event) {\n this.sideCtaBottomItemClick.emit(event);\n }\n}\n","@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a [href]=\"cta.url\" rdsitelink (click)=\"sideCtaBottomItemClicked($event)\">\n <cura-icon [name]=\"cta.icon\" size=\"20\" color=\"neutral-black\"></cura-icon>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n","import { Component, input, output } from '@angular/core';\nimport { WhatsappComponent } from '@rededor/site-front-end-lib/components/whatsapp';\n\n@Component({\n selector: 'rdsite-side-ctas-right-bottom',\n imports: [WhatsappComponent],\n templateUrl: './side-ctas-right-bottom.component.html',\n styleUrl: './side-ctas-right-bottom.component.scss',\n})\nexport class SideCtasRightBottomComponent {\n readonly link = input<string>('');\n readonly imgUrl = input<string>('');\n readonly text = input<string>('');\n readonly bgColor = input<string>('#1DCD52');\n readonly bgHover = input<string>('#016720');\n readonly borderTop = input<boolean>(false);\n\n readonly sideCtaRightBottomItemClick = output<Event>();\n\n whatsappClicked(event: Event) {\n this.sideCtaRightBottomItemClick.emit(event);\n }\n}\n","@if (link() && imgUrl()) {\n <rdsite-whatsapp\n [link]=\"link()\"\n [imgUrl]=\"imgUrl()\"\n [text]=\"text()\"\n [bgColor]=\"bgColor()\"\n [bgHover]=\"bgHover()\"\n [borderTop]=\"borderTop()\"\n (whatsappClick)=\"whatsappClicked($event)\"\n ></rdsite-whatsapp>\n}\n","import { Component, HostBinding, output, inject, input } from '@angular/core';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { SideCta } from '../../models/SideCta.model';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-side-ctas-right-middle',\n imports: [RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './side-ctas-right-middle.component.html',\n styleUrl: './side-ctas-right-middle.component.scss',\n})\nexport class SideCtasRightMiddleComponent {\n private curaApiService = inject(CuraApiService);\n\n readonly ctas = input<SideCta[]>([]);\n readonly sideCtaRightMiddleItemClick = output<Event>();\n\n @HostBinding('style') style = {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--icon-bg-color': this.curaApiService.theme.colors.getColor('primary-base'),\n '--font-color': this.curaApiService.theme.colors.getColor('primary-lighter'),\n '--font-hover': this.curaApiService.theme.colors.getColor('neutral-white'),\n '--font-active': this.curaApiService.theme.colors.getColor('primary-light'),\n };\n\n sideCtaRightMiddleItemClicked(event: Event) {\n this.sideCtaRightMiddleItemClick.emit(event);\n }\n}\n","@if (ctas().length) {\n @for (cta of ctas(); track cta.text) {\n <a class=\"right-middle-cta\" [href]=\"cta.url\" rdsitelink (click)=\"sideCtaRightMiddleItemClicked($event)\">\n <div class=\"right-middle-cta-icon\">\n <cura-icon [name]=\"cta.icon\" size=\"24\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n <span>{{ cta.text }}</span>\n </a>\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'rdsite-side-ctas-right-top',\n imports: [],\n templateUrl: './side-ctas-right-top.component.html',\n styleUrl: './side-ctas-right-top.component.scss',\n})\nexport class SideCtasRightTopComponent {}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAUa,iBAAiB,CAAA;AAN9B,IAAA,WAAA,GAAA;AAOU,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,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A,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,yBAAyB,sFCRtC,6BACA,EAAA,MAAA,EAAA,CAAA,uFAAA,CAAA,EAAA,CAAA,CAAA;;4FDOa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,4BAA4B,WAC7B,EAAE,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,uFAAA,CAAA,EAAA;;;AEJb;;AAEG;;;;"}
@@ -0,0 +1,109 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, PLATFORM_ID, DOCUMENT, signal, input, viewChildren, output, HostBinding, HostListener, Input, Component } from '@angular/core';
3
+ import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
4
+ import { CuraCardComponent } from '@rededor/site-front-end-lib/cura/cards/cura-card';
5
+ import { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';
6
+ import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
7
+ import { Router } from '@angular/router';
8
+ import { Location, isPlatformBrowser } from '@angular/common';
9
+
10
+ class SidebarNavigationComponent {
11
+ constructor() {
12
+ this.curaApiService = inject(CuraApiService);
13
+ this.router = inject(Router);
14
+ this.location = inject(Location);
15
+ this.platformId = inject(PLATFORM_ID);
16
+ this.document = inject(DOCUMENT);
17
+ this.sections = signal([], ...(ngDevMode ? [{ debugName: "sections" }] : []));
18
+ this.config = signal(undefined, ...(ngDevMode ? [{ debugName: "config" }] : []));
19
+ this.activeSection = signal('', ...(ngDevMode ? [{ debugName: "activeSection" }] : []));
20
+ this.selectedIndex = signal(0, ...(ngDevMode ? [{ debugName: "selectedIndex" }] : []));
21
+ this.defaultAnchorAdjustment = signal(0, ...(ngDevMode ? [{ debugName: "defaultAnchorAdjustment" }] : []));
22
+ this.isStarTheme = input(false, ...(ngDevMode ? [{ debugName: "isStarTheme" }] : []));
23
+ this.menuHeaderHeight = 0;
24
+ this.anchorAdjustment = input(0, ...(ngDevMode ? [{ debugName: "anchorAdjustment" }] : []));
25
+ this.title = input('Nesta página', ...(ngDevMode ? [{ debugName: "title" }] : []));
26
+ this.ariaLabel = input('Navegação da página', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : []));
27
+ this.padding = input(-50, ...(ngDevMode ? [{ debugName: "padding" }] : []));
28
+ this.anchorsEl = viewChildren('anchorEl', ...(ngDevMode ? [{ debugName: "anchorsEl" }] : []));
29
+ this.sectionChange = output();
30
+ this.styleBinding = {
31
+ '--font-family': this.curaApiService.theme.fonts.getFamily(''),
32
+ '--primary-base': this.curaApiService.theme.colors.getColor('primary-base'),
33
+ };
34
+ }
35
+ set navigationSections(value) {
36
+ if (!value?.length) {
37
+ throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');
38
+ }
39
+ this.sections.set(value);
40
+ if (!this.activeSection()) {
41
+ this.activeSection.set(value[0].id);
42
+ }
43
+ }
44
+ set navigationConfig(value) {
45
+ this.config.set(value);
46
+ }
47
+ onWindowScroll() {
48
+ this.windowScroll();
49
+ }
50
+ ngAfterViewInit() {
51
+ if (isPlatformBrowser(this.platformId)) {
52
+ setTimeout(() => {
53
+ this.menuHeaderHeight = this.document.querySelector('header[sl-hdr]')?.offsetHeight || 0;
54
+ this.defaultAnchorAdjustment.set(this.menuHeaderHeight + (this.padding() - 1));
55
+ }, 200);
56
+ }
57
+ }
58
+ windowScroll() {
59
+ this.selectedIndex.set(-1);
60
+ this.sections()?.forEach((section, index) => {
61
+ const element = document.querySelector(`#${section.id}`);
62
+ if (!element)
63
+ return;
64
+ const elementTop = element.getBoundingClientRect().top + window.scrollY;
65
+ const currentScroll = window.scrollY + this.menuHeaderHeight + this.padding();
66
+ if (currentScroll >= elementTop) {
67
+ this.selectedIndex.set(index);
68
+ if (this.sections()?.[this.selectedIndex()]) {
69
+ this.activeSection.set(this.sections()?.[this.selectedIndex()]?.id);
70
+ }
71
+ }
72
+ });
73
+ }
74
+ getBasePath() {
75
+ const base = this.location.prepareExternalUrl('');
76
+ const normalized = base.replace(/\/$/, '');
77
+ return normalized === '' || normalized === '/' ? '' : normalized;
78
+ }
79
+ getPath(sectionId) {
80
+ return `${this.getBasePath()}${this.router.url}#${sectionId}`;
81
+ }
82
+ onSectionClick(event) {
83
+ this.sectionChange.emit(event);
84
+ }
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
86
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SidebarNavigationComponent, isStandalone: true, selector: "nav[rdsite-sidebar-navigation]", inputs: { isStarTheme: { classPropertyName: "isStarTheme", publicName: "isStarTheme", isSignal: true, isRequired: false, transformFunction: null }, anchorAdjustment: { classPropertyName: "anchorAdjustment", publicName: "anchorAdjustment", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, navigationSections: { classPropertyName: "navigationSections", publicName: "navigationSections", isSignal: false, isRequired: true, transformFunction: null }, navigationConfig: { classPropertyName: "navigationConfig", publicName: "navigationConfig", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { sectionChange: "sectionChange" }, host: { listeners: { "window:scroll": "onWindowScroll()" }, properties: { "style": "this.styleBinding" } }, viewQueries: [{ propertyName: "anchorsEl", predicate: ["anchorEl"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"rdsite-sidebar-navigation\" [class.starTheme]=\"isStarTheme()\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n <cura-card\n class=\"only-mobile\"\n [type]=\"isStarTheme() ? 'transparent' : 'solid'\"\n [hasPadding]=\"isStarTheme() ? false : true\"\n marginBlock=\"8px\"\n [hasShadow]=\"false\"\n type=\"solid\"\n colorMode=\"light\"\n target=\"_self\"\n >\n @if (title()) {\n <cura-paragraph size=\"small\" color=\"neutral-black\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n }\n <ul role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n #anchorEl\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sidebar-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n rdsitelink\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>\n {{ section.title }}\n </b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n </cura-card>\n</nav>\n", styles: ["nav *{font-family:var(--font-family)}nav ul{display:flex;flex-direction:column;padding-right:20px}nav ul li{width:100%}nav ul li cura-paragraph,nav ul li a{text-align:left}nav ul li a{color:unset;text-decoration:none}nav.starTheme{border-right:1px solid var(--primary-base)}\n"], dependencies: [{ kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraCardComponent, selector: "cura-card", inputs: ["hasPadding", "hasShadow", "type", "colorMode", "href", "target"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }] }); }
87
+ }
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SidebarNavigationComponent, decorators: [{
89
+ type: Component,
90
+ args: [{ selector: 'nav[rdsite-sidebar-navigation]', imports: [RdsiteLinkDirective, CuraCardComponent, CuraParagraphComponent], template: "<nav class=\"rdsite-sidebar-navigation\" [class.starTheme]=\"isStarTheme()\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n <cura-card\n class=\"only-mobile\"\n [type]=\"isStarTheme() ? 'transparent' : 'solid'\"\n [hasPadding]=\"isStarTheme() ? false : true\"\n marginBlock=\"8px\"\n [hasShadow]=\"false\"\n type=\"solid\"\n colorMode=\"light\"\n target=\"_self\"\n >\n @if (title()) {\n <cura-paragraph size=\"small\" color=\"neutral-black\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n }\n <ul role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n #anchorEl\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sidebar-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n rdsitelink\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>\n {{ section.title }}\n </b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n </cura-card>\n</nav>\n", styles: ["nav *{font-family:var(--font-family)}nav ul{display:flex;flex-direction:column;padding-right:20px}nav ul li{width:100%}nav ul li cura-paragraph,nav ul li a{text-align:left}nav ul li a{color:unset;text-decoration:none}nav.starTheme{border-right:1px solid var(--primary-base)}\n"] }]
91
+ }], propDecorators: { isStarTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "isStarTheme", required: false }] }], anchorAdjustment: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchorAdjustment", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], padding: [{ type: i0.Input, args: [{ isSignal: true, alias: "padding", required: false }] }], navigationSections: [{
92
+ type: Input,
93
+ args: [{ required: true }]
94
+ }], navigationConfig: [{
95
+ type: Input
96
+ }], anchorsEl: [{ type: i0.ViewChildren, args: ['anchorEl', { isSignal: true }] }], sectionChange: [{ type: i0.Output, args: ["sectionChange"] }], onWindowScroll: [{
97
+ type: HostListener,
98
+ args: ['window:scroll']
99
+ }], styleBinding: [{
100
+ type: HostBinding,
101
+ args: ['style']
102
+ }] } });
103
+
104
+ /**
105
+ * Generated bundle index. Do not edit.
106
+ */
107
+
108
+ export { SidebarNavigationComponent };
109
+ //# sourceMappingURL=rededor-site-front-end-lib-components-sidebar-navigation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rededor-site-front-end-lib-components-sidebar-navigation.mjs","sources":["../../../projects/site-front-end-lib/components/sidebar-navigation/sidebar-navigation.component.ts","../../../projects/site-front-end-lib/components/sidebar-navigation/sidebar-navigation.component.html","../../../projects/site-front-end-lib/components/sidebar-navigation/rededor-site-front-end-lib-components-sidebar-navigation.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n Input,\n signal,\n HostListener,\n HostBinding,\n inject,\n input,\n output,\n viewChildren,\n DOCUMENT,\n PLATFORM_ID,\n AfterViewInit,\n} from '@angular/core';\nimport { RdsiteLinkDirective, SectionNavigationConfig, SectionNavigationData } from '@rededor/site-front-end-lib/core';\nimport { CuraCardComponent } from '@rededor/site-front-end-lib/cura/cards/cura-card';\nimport { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { Router } from '@angular/router';\nimport { isPlatformBrowser, Location } from '@angular/common';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'nav[rdsite-sidebar-navigation]',\n imports: [RdsiteLinkDirective, CuraCardComponent, CuraParagraphComponent],\n templateUrl: './sidebar-navigation.component.html',\n styleUrl: './sidebar-navigation.component.scss',\n})\nexport class SidebarNavigationComponent implements AfterViewInit {\n private readonly curaApiService = inject(CuraApiService);\n private router = inject(Router);\n private location = inject(Location);\n private platformId = inject(PLATFORM_ID);\n private document = inject<Document>(DOCUMENT);\n\n readonly sections = signal<SectionNavigationData[]>([]);\n readonly config = signal<SectionNavigationConfig | undefined>(undefined);\n readonly activeSection = signal<string>('');\n public selectedIndex = signal<number>(0);\n public defaultAnchorAdjustment = signal(0);\n readonly isStarTheme = input(false);\n\n private menuHeaderHeight = 0;\n\n readonly anchorAdjustment = input(0);\n readonly title = input('Nesta página');\n readonly ariaLabel = input('Navegação da página');\n readonly padding = input(-50);\n\n @Input({ required: true })\n set navigationSections(value: SectionNavigationData[]) {\n if (!value?.length) {\n throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');\n }\n this.sections.set(value);\n\n if (!this.activeSection()) {\n this.activeSection.set(value[0].id);\n }\n }\n\n @Input()\n set navigationConfig(value: SectionNavigationConfig) {\n this.config.set(value);\n }\n\n readonly anchorsEl = viewChildren<ElementRef<HTMLAnchorElement>>('anchorEl');\n readonly sectionChange = output<SectionNavigationData>();\n\n @HostListener('window:scroll')\n onWindowScroll(): void {\n this.windowScroll();\n }\n\n @HostBinding('style') styleBinding = {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--primary-base': this.curaApiService.theme.colors.getColor('primary-base'),\n };\n\n ngAfterViewInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n setTimeout(() => {\n this.menuHeaderHeight = this.document.querySelector<HTMLElement>('header[sl-hdr]')?.offsetHeight || 0;\n this.defaultAnchorAdjustment.set(this.menuHeaderHeight + (this.padding() - 1));\n }, 200);\n }\n }\n\n private windowScroll(): void {\n this.selectedIndex.set(-1);\n\n this.sections()?.forEach((section, index) => {\n const element = document.querySelector<HTMLElement>(`#${section.id}`);\n if (!element) return;\n\n const elementTop = element.getBoundingClientRect().top + window.scrollY;\n const currentScroll = window.scrollY + this.menuHeaderHeight + this.padding();\n if (currentScroll >= elementTop) {\n this.selectedIndex.set(index);\n if (this.sections()?.[this.selectedIndex()]) {\n this.activeSection.set(this.sections()?.[this.selectedIndex()]?.id);\n }\n }\n });\n }\n\n getBasePath(): string {\n const base = this.location.prepareExternalUrl('');\n const normalized = base.replace(/\\/$/, '');\n\n return normalized === '' || normalized === '/' ? '' : normalized;\n }\n\n getPath(sectionId: string): string {\n return `${this.getBasePath()}${this.router.url}#${sectionId}`;\n }\n\n onSectionClick(event: SectionNavigationData) {\n this.sectionChange.emit(event);\n }\n}\n","<nav class=\"rdsite-sidebar-navigation\" [class.starTheme]=\"isStarTheme()\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n <cura-card\n class=\"only-mobile\"\n [type]=\"isStarTheme() ? 'transparent' : 'solid'\"\n [hasPadding]=\"isStarTheme() ? false : true\"\n marginBlock=\"8px\"\n [hasShadow]=\"false\"\n type=\"solid\"\n colorMode=\"light\"\n target=\"_self\"\n >\n @if (title()) {\n <cura-paragraph size=\"small\" color=\"neutral-black\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n }\n <ul role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n #anchorEl\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sidebar-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n rdsitelink\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>\n {{ section.title }}\n </b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n </cura-card>\n</nav>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MA6Ba,0BAA0B,CAAA;AAPvC,IAAA,WAAA,GAAA;AAQmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AAChD,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAW,QAAQ,CAAC;AAEpC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAA0B,EAAE,oDAAC;AAC9C,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAsC,SAAS,kDAAC;AAC/D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAS,EAAE,yDAAC;AACpC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAS,CAAC,yDAAC;AACjC,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,CAAC,mEAAC;AACjC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,uDAAC;QAE3B,IAAA,CAAA,gBAAgB,GAAG,CAAC;AAEnB,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,CAAC,4DAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,cAAc,iDAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,K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AA;;sBAyBxE,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAYxB;4DAKgE,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA;sBAG1E,YAAY;uBAAC,eAAe;;sBAK5B,WAAW;uBAAC,OAAO;;;AE3EtB;;AAEG;;;;"}
@@ -0,0 +1,120 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, PLATFORM_ID, DOCUMENT, signal, input, viewChildren, output, HostBinding, HostListener, Input, Component } from '@angular/core';
3
+ import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
4
+ import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
5
+ import { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';
6
+ import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
7
+ import { Router } from '@angular/router';
8
+ import { Location, isPlatformBrowser } from '@angular/common';
9
+
10
+ class StickyNavigationComponent {
11
+ constructor() {
12
+ this.curaApiService = inject(CuraApiService);
13
+ this.router = inject(Router);
14
+ this.location = inject(Location);
15
+ this.platformId = inject(PLATFORM_ID);
16
+ this.document = inject(DOCUMENT);
17
+ this.sections = signal([], ...(ngDevMode ? [{ debugName: "sections" }] : []));
18
+ this.config = signal(undefined, ...(ngDevMode ? [{ debugName: "config" }] : []));
19
+ this.activeSection = signal('', ...(ngDevMode ? [{ debugName: "activeSection" }] : []));
20
+ this.isOpen = signal(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : []));
21
+ this.selectedIndex = signal(0, ...(ngDevMode ? [{ debugName: "selectedIndex" }] : []));
22
+ this.defaultAnchorAdjustment = signal(0, ...(ngDevMode ? [{ debugName: "defaultAnchorAdjustment" }] : []));
23
+ this.menuHeaderHeight = 0;
24
+ this.menuStickyClosedHeight = 0;
25
+ this.anchorAdjustment = input(0, ...(ngDevMode ? [{ debugName: "anchorAdjustment" }] : []));
26
+ this.title = input('Nesta página', ...(ngDevMode ? [{ debugName: "title" }] : []));
27
+ this.ariaLabel = input('Navegação da página', ...(ngDevMode ? [{ debugName: "ariaLabel" }] : []));
28
+ this.padding = input(20, ...(ngDevMode ? [{ debugName: "padding" }] : []));
29
+ this.anchorsEl = viewChildren('anchorEl', ...(ngDevMode ? [{ debugName: "anchorsEl" }] : []));
30
+ this.sectionChange = output();
31
+ this.styleBinding = {
32
+ '--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),
33
+ '--font-family': this.curaApiService.theme.fonts.getFamily(''),
34
+ };
35
+ }
36
+ set navigationSections(value) {
37
+ if (!value?.length) {
38
+ throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');
39
+ }
40
+ this.sections.set(value);
41
+ if (!this.activeSection()) {
42
+ this.activeSection.set(value[0].id);
43
+ }
44
+ }
45
+ set navigationConfig(value) {
46
+ this.config.set(value);
47
+ }
48
+ onWindowScroll() {
49
+ this.windowScroll();
50
+ }
51
+ ngAfterViewInit() {
52
+ if (isPlatformBrowser(this.platformId)) {
53
+ setTimeout(() => {
54
+ this.menuHeaderHeight = this.document.querySelector('header[sl-hdr]')?.offsetHeight || 0;
55
+ this.menuStickyClosedHeight = this.document.querySelector('nav[rdsite-sticky-navigation]')?.offsetHeight || 0;
56
+ }, 200);
57
+ }
58
+ }
59
+ windowScroll() {
60
+ this.sections()?.forEach((section, index) => {
61
+ const element = this.document.querySelector(`#${section.id}`);
62
+ if (!element)
63
+ return;
64
+ const elementTop = element.getBoundingClientRect().top + window.scrollY;
65
+ const currentScroll = window.scrollY + this.menuHeaderHeight + this.menuStickyClosedHeight + this.padding();
66
+ if (currentScroll >= elementTop) {
67
+ this.selectedIndex.set(index);
68
+ if (this.sections()?.[this.selectedIndex()]) {
69
+ this.activeSection.set(this.sections()?.[this.selectedIndex()]?.id);
70
+ }
71
+ }
72
+ });
73
+ }
74
+ getBasePath() {
75
+ const base = this.location.prepareExternalUrl('');
76
+ const normalized = base.replace(/\/$/, '');
77
+ return normalized === '' || normalized === '/' ? '' : normalized;
78
+ }
79
+ getPath(sectionId) {
80
+ return `${this.getBasePath()}${this.router.url}#${sectionId}`;
81
+ }
82
+ onSectionClick(event) {
83
+ this.sectionChange.emit(event);
84
+ this.isOpen.update((value) => !value);
85
+ }
86
+ toggleOpen() {
87
+ this.isOpen.update((value) => !value);
88
+ if (isPlatformBrowser(this.platformId) && this.isOpen() && !this.anchorAdjustment()) {
89
+ setTimeout(() => {
90
+ // Utilizo o timeout para pegar a altura do elemento depois dele aberto
91
+ const menuStickyOpenedHeight = this.document.querySelector('nav[rdsite-sticky-navigation]')?.offsetHeight || 0;
92
+ this.defaultAnchorAdjustment.set(menuStickyOpenedHeight + this.menuHeaderHeight);
93
+ }, 100);
94
+ }
95
+ }
96
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: StickyNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
97
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: StickyNavigationComponent, isStandalone: true, selector: "nav[rdsite-sticky-navigation]", inputs: { anchorAdjustment: { classPropertyName: "anchorAdjustment", publicName: "anchorAdjustment", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, navigationSections: { classPropertyName: "navigationSections", publicName: "navigationSections", isSignal: false, isRequired: true, transformFunction: null }, navigationConfig: { classPropertyName: "navigationConfig", publicName: "navigationConfig", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { sectionChange: "sectionChange" }, host: { listeners: { "window:scroll": "onWindowScroll()" }, properties: { "style": "this.styleBinding" } }, viewQueries: [{ propertyName: "anchorsEl", predicate: ["anchorEl"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"rdsite-sticky-navigation\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n @if (title()) {\n <div class=\"title-bar\" (click)=\"toggleOpen()\" [attr.aria-expanded]=\"isOpen()\" role=\"button\" tabindex=\"0\" (keydown.enter)=\"toggleOpen()\">\n <cura-paragraph size=\"small\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n <cura-icon [name]=\"isOpen() ? 'up' : 'down'\" size=\"16\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\"></cura-icon>\n </div>\n @if (sections().length && !isOpen()) {\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" color=\"neutral-black\">\n <b>{{ sections()[selectedIndex()].title }}</b>\n </cura-paragraph>\n }\n }\n\n @if (isOpen()) {\n <ul class=\"menu\" [class.open]=\"isOpen()\" role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sticky-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n rdsitelink\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>{{ section.title }}</b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n }\n</nav>\n", styles: ["nav{border-radius:2px;background:var(--neutral-purewhite);box-shadow:0 1px 4px #26262629;padding:8px 20px}nav *{font-family:var(--font-family)}nav .title-bar{display:flex;justify-content:space-between;align-items:center;cursor:pointer}nav ul.menu{display:flex;flex-direction:column;overflow:hidden;max-height:0;opacity:0;transform:scaleY(0);transform-origin:top;transition:max-height .3s ease,transform .3s ease,opacity .3s ease}nav ul.menu.open{max-height:fit-content;transform:scaleY(1);opacity:1}nav ul.menu li{width:100%}nav ul.menu li cura-paragraph,nav ul.menu li a{text-align:left}nav ul.menu li a{color:unset;text-decoration:none}\n"], dependencies: [{ kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
98
+ }
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: StickyNavigationComponent, decorators: [{
100
+ type: Component,
101
+ args: [{ selector: 'nav[rdsite-sticky-navigation]', imports: [RdsiteLinkDirective, CuraParagraphComponent, CuraIconComponent], template: "<nav class=\"rdsite-sticky-navigation\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n @if (title()) {\n <div class=\"title-bar\" (click)=\"toggleOpen()\" [attr.aria-expanded]=\"isOpen()\" role=\"button\" tabindex=\"0\" (keydown.enter)=\"toggleOpen()\">\n <cura-paragraph size=\"small\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n <cura-icon [name]=\"isOpen() ? 'up' : 'down'\" size=\"16\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\"></cura-icon>\n </div>\n @if (sections().length && !isOpen()) {\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" color=\"neutral-black\">\n <b>{{ sections()[selectedIndex()].title }}</b>\n </cura-paragraph>\n }\n }\n\n @if (isOpen()) {\n <ul class=\"menu\" [class.open]=\"isOpen()\" role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sticky-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n rdsitelink\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>{{ section.title }}</b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n }\n</nav>\n", styles: ["nav{border-radius:2px;background:var(--neutral-purewhite);box-shadow:0 1px 4px #26262629;padding:8px 20px}nav *{font-family:var(--font-family)}nav .title-bar{display:flex;justify-content:space-between;align-items:center;cursor:pointer}nav ul.menu{display:flex;flex-direction:column;overflow:hidden;max-height:0;opacity:0;transform:scaleY(0);transform-origin:top;transition:max-height .3s ease,transform .3s ease,opacity .3s ease}nav ul.menu.open{max-height:fit-content;transform:scaleY(1);opacity:1}nav ul.menu li{width:100%}nav ul.menu li cura-paragraph,nav ul.menu li a{text-align:left}nav ul.menu li a{color:unset;text-decoration:none}\n"] }]
102
+ }], propDecorators: { anchorAdjustment: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchorAdjustment", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], padding: [{ type: i0.Input, args: [{ isSignal: true, alias: "padding", required: false }] }], navigationSections: [{
103
+ type: Input,
104
+ args: [{ required: true }]
105
+ }], navigationConfig: [{
106
+ type: Input
107
+ }], anchorsEl: [{ type: i0.ViewChildren, args: ['anchorEl', { isSignal: true }] }], sectionChange: [{ type: i0.Output, args: ["sectionChange"] }], onWindowScroll: [{
108
+ type: HostListener,
109
+ args: ['window:scroll']
110
+ }], styleBinding: [{
111
+ type: HostBinding,
112
+ args: ['style']
113
+ }] } });
114
+
115
+ /**
116
+ * Generated bundle index. Do not edit.
117
+ */
118
+
119
+ export { StickyNavigationComponent };
120
+ //# sourceMappingURL=rededor-site-front-end-lib-components-sticky-navigation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rededor-site-front-end-lib-components-sticky-navigation.mjs","sources":["../../../projects/site-front-end-lib/components/sticky-navigation/sticky-navigation.component.ts","../../../projects/site-front-end-lib/components/sticky-navigation/sticky-navigation.component.html","../../../projects/site-front-end-lib/components/sticky-navigation/rededor-site-front-end-lib-components-sticky-navigation.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n Input,\n signal,\n HostListener,\n HostBinding,\n inject,\n input,\n output,\n viewChildren,\n PLATFORM_ID,\n DOCUMENT,\n AfterViewInit,\n} from '@angular/core';\nimport { RdsiteLinkDirective, SectionNavigationConfig, SectionNavigationData } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { Router } from '@angular/router';\nimport { isPlatformBrowser, Location } from '@angular/common';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'nav[rdsite-sticky-navigation]',\n imports: [RdsiteLinkDirective, CuraParagraphComponent, CuraIconComponent],\n templateUrl: './sticky-navigation.component.html',\n styleUrl: './sticky-navigation.component.scss',\n})\nexport class StickyNavigationComponent implements AfterViewInit {\n private curaApiService = inject(CuraApiService);\n private router = inject(Router);\n private location = inject(Location);\n private platformId = inject(PLATFORM_ID);\n private document = inject<Document>(DOCUMENT);\n\n public readonly sections = signal<SectionNavigationData[]>([]);\n readonly config = signal<SectionNavigationConfig | undefined>(undefined);\n readonly activeSection = signal<string>('');\n readonly isOpen = signal<boolean>(false);\n public selectedIndex = signal<number>(0);\n public defaultAnchorAdjustment = signal(0);\n\n private menuHeaderHeight = 0;\n private menuStickyClosedHeight = 0;\n\n readonly anchorAdjustment = input(0);\n readonly title = input('Nesta página');\n readonly ariaLabel = input('Navegação da página');\n readonly padding = input(20);\n\n @Input({ required: true })\n set navigationSections(value: SectionNavigationData[]) {\n if (!value?.length) {\n throw new Error('O SectionNavigationComponent requer pelo menos uma seção.');\n }\n this.sections.set(value);\n\n if (!this.activeSection()) {\n this.activeSection.set(value[0].id);\n }\n }\n\n @Input()\n set navigationConfig(value: SectionNavigationConfig) {\n this.config.set(value);\n }\n\n readonly anchorsEl = viewChildren<ElementRef<HTMLAnchorElement>>('anchorEl');\n readonly sectionChange = output<SectionNavigationData>();\n\n @HostListener('window:scroll')\n onWindowScroll(): void {\n this.windowScroll();\n }\n\n @HostBinding('style') styleBinding = {\n '--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n };\n\n ngAfterViewInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n setTimeout(() => {\n this.menuHeaderHeight = this.document.querySelector<HTMLElement>('header[sl-hdr]')?.offsetHeight || 0;\n this.menuStickyClosedHeight = this.document.querySelector<HTMLElement>('nav[rdsite-sticky-navigation]')?.offsetHeight || 0;\n }, 200);\n }\n }\n\n private windowScroll(): void {\n this.sections()?.forEach((section, index) => {\n const element = this.document.querySelector<HTMLElement>(`#${section.id}`);\n if (!element) return;\n\n const elementTop = element.getBoundingClientRect().top + window.scrollY;\n const currentScroll = window.scrollY + this.menuHeaderHeight + this.menuStickyClosedHeight + this.padding();\n\n if (currentScroll >= elementTop) {\n this.selectedIndex.set(index);\n if (this.sections()?.[this.selectedIndex()]) {\n this.activeSection.set(this.sections()?.[this.selectedIndex()]?.id);\n }\n }\n });\n }\n\n getBasePath(): string {\n const base = this.location.prepareExternalUrl('');\n const normalized = base.replace(/\\/$/, '');\n\n return normalized === '' || normalized === '/' ? '' : normalized;\n }\n\n getPath(sectionId: string): string {\n return `${this.getBasePath()}${this.router.url}#${sectionId}`;\n }\n\n onSectionClick(event: SectionNavigationData) {\n this.sectionChange.emit(event);\n this.isOpen.update((value) => !value);\n }\n\n toggleOpen(): void {\n this.isOpen.update((value) => !value);\n if (isPlatformBrowser(this.platformId) && this.isOpen() && !this.anchorAdjustment()) {\n setTimeout(() => {\n // Utilizo o timeout para pegar a altura do elemento depois dele aberto\n const menuStickyOpenedHeight = this.document.querySelector<HTMLElement>('nav[rdsite-sticky-navigation]')?.offsetHeight || 0;\n this.defaultAnchorAdjustment.set(menuStickyOpenedHeight + this.menuHeaderHeight);\n }, 100);\n }\n }\n}\n","<nav class=\"rdsite-sticky-navigation\" [attr.aria-label]=\"ariaLabel()\" [style.top.px]=\"config()?.offsetTop || 0\">\n @if (title()) {\n <div class=\"title-bar\" (click)=\"toggleOpen()\" [attr.aria-expanded]=\"isOpen()\" role=\"button\" tabindex=\"0\" (keydown.enter)=\"toggleOpen()\">\n <cura-paragraph size=\"small\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\" marginBlock=\"8px\">\n <b>{{ title() }}</b>\n </cura-paragraph>\n <cura-icon [name]=\"isOpen() ? 'up' : 'down'\" size=\"16\" [color]=\"isOpen() ? 'neutraldark' : 'primary-base'\"></cura-icon>\n </div>\n @if (sections().length && !isOpen()) {\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" color=\"neutral-black\">\n <b>{{ sections()[selectedIndex()].title }}</b>\n </cura-paragraph>\n }\n }\n\n @if (isOpen()) {\n <ul class=\"menu\" [class.open]=\"isOpen()\" role=\"menubar\">\n @for (section of sections(); track section.id) {\n <li role=\"none\">\n <cura-paragraph size=\"xsmall\" marginBlock=\"8px\" [color]=\"activeSection() === section.id ? 'neutral-black' : 'primary-base'\">\n <a\n id=\"anchor-{{ section.id }}\"\n class=\"rdsite-sticky-link\"\n role=\"menuitem\"\n [href]=\"getPath(section.id)\"\n rdsitelink\n (click)=\"onSectionClick({ id: section.id, title: section.title })\"\n [anchorAdjustment]=\"anchorAdjustment() || defaultAnchorAdjustment()\"\n [attr.aria-current]=\"activeSection() === section.id ? 'page' : null\"\n [attr.aria-label]=\"'Navegar para ' + section.title\"\n >\n <b>{{ section.title }}</b>\n </a>\n </cura-paragraph>\n </li>\n }\n </ul>\n }\n</nav>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MA6Ba,yBAAyB,CAAA;AAPtC,IAAA,WAAA,GAAA;AAQU,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAW,QAAQ,CAAC;AAE7B,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAA0B,EAAE,oDAAC;AACrD,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAsC,SAAS,kDAAC;AAC/D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAS,EAAE,yDAAC;AAClC,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAU,KAAK,kDAAC;AACjC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAS,CAAC,yDAAC;AACjC,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,CAAC,mEAAC;QAElC,IAAA,CAAA,gBAAgB,GAAG,CAAC;QACpB,IAAA,CAAA,sBAAsB,GAAG,CAA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,EAAA,IAAA,EAAA,yBAAyB,orCC7BtC,yyDAuCA,EAAA,MAAA,EAAA,CAAA,koBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDdY,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,kBAAA,EAAA,uBAAA,EAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,sBAAsB,gJAAE,iBAAiB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAI7D,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;AAEE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,+BAA+B,WAChC,CAAC,mBAAmB,EAAE,sBAAsB,EAAE,iBAAiB,CAAC,EAAA,QAAA,EAAA,yyDAAA,EAAA,MAAA,EAAA,CAAA,koBAAA,CAAA,EAAA;;sBA0BxE,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAYxB;4DAKgE,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA;sBAG1E,YAAY;uBAAC,eAAe;;sBAK5B,WAAW;uBAAC,OAAO;;;AE5EtB;;AAEG;;;;"}
@@ -0,0 +1,49 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, output, HostBinding, Component } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
6
+ import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
7
+ import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
8
+
9
+ class WhatsappComponent {
10
+ constructor() {
11
+ this.curaApiService = inject(CuraApiService);
12
+ this.link = input('', ...(ngDevMode ? [{ debugName: "link" }] : []));
13
+ this.imgUrl = input('', ...(ngDevMode ? [{ debugName: "imgUrl" }] : []));
14
+ this.text = input('Agende por Whatsapp', ...(ngDevMode ? [{ debugName: "text" }] : []));
15
+ this.bgColor = input('#1DCD52', ...(ngDevMode ? [{ debugName: "bgColor" }] : []));
16
+ this.bgHover = input('#016720', ...(ngDevMode ? [{ debugName: "bgHover" }] : []));
17
+ this.borderTop = input(false, ...(ngDevMode ? [{ debugName: "borderTop" }] : []));
18
+ this.whatsappClick = output();
19
+ this.active = false;
20
+ this.style = {
21
+ '--font-family': this.curaApiService.theme.fonts.getFamily(''),
22
+ '--border-top-color': this.curaApiService.theme.colors.getColor('primary-light'),
23
+ '--bg-color': this.curaApiService.theme.colors.getColor('primary-darker'),
24
+ '--bg-button': this.bgColor(),
25
+ '--bg-button-hover': this.bgHover(),
26
+ '--color-button': this.curaApiService.theme.colors.getColor('neutral-black'),
27
+ '--color-button-hover': this.curaApiService.theme.colors.getColor('neutral-white'),
28
+ };
29
+ }
30
+ whatsappClicked(event) {
31
+ this.whatsappClick.emit(event);
32
+ }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: WhatsappComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: WhatsappComponent, isStandalone: true, selector: "rdsite-whatsapp", inputs: { link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, imgUrl: { classPropertyName: "imgUrl", publicName: "imgUrl", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, bgHover: { classPropertyName: "bgHover", publicName: "bgHover", isSignal: true, isRequired: false, transformFunction: null }, borderTop: { classPropertyName: "borderTop", publicName: "borderTop", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { whatsappClick: "whatsappClick" }, host: { properties: { "style": "this.style" } }, ngImport: i0, template: "@if (link()) {\n <a\n class=\"rdsite-whatsapp\"\n [ngClass]=\"{ 'border-top': borderTop() }\"\n [href]=\"link()\"\n rdsitelink\n (mouseenter)=\"active = true\"\n (mouseleave)=\"active = false\"\n (click)=\"whatsappClicked($event)\"\n >\n @if (imgUrl()) {\n <div class=\"image\" [ngStyle]=\"{ 'background-image': imgUrl() }\"></div>\n }\n <div class=\"icon\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n\n <div class=\"rdsite-whatsapp-animation\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n <span>{{ text() }}</span>\n </div>\n </a>\n}\n", styles: [":host{display:flex;justify-content:flex-end;width:536px;position:absolute;bottom:0;right:0;pointer-events:none}:host *{font-family:var(--font-family)}:host a.rdsite-whatsapp{box-sizing:content-box;display:block;position:relative;width:88px;height:88px;transition:background-color .25s linear!important;pointer-events:all;background-color:var(--bg-color)}:host a.rdsite-whatsapp .image{position:absolute;right:0;bottom:0;width:88px;height:88px;background-size:cover;background-position:50%}:host a.rdsite-whatsapp .icon{width:24px;height:24px;background-color:var(--bg-button);border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:8px;right:8px}:host a.rdsite-whatsapp .icon.active{display:none}:host .rdsite-whatsapp-animation{background-color:var(--bg-button);width:0px;height:88px;position:absolute;bottom:0;right:88px;transition:width .5s ease-out,background-color .25s linear;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--color-button)}:host .rdsite-whatsapp-animation cura-icon{--color: var(--color-button) !important}:host .rdsite-whatsapp-animation span{text-wrap:nowrap}:host .rdsite-whatsapp-animation.active{width:calc(100vw - 88px);pointer-events:all}:host .rdsite-whatsapp-animation:hover{background-color:var(--bg-button-hover);color:var(--color-button-hover)}:host .rdsite-whatsapp-animation:hover cura-icon{--color: var(--color-button-hover) !important}@media only screen and (min-width: 1024px){:host a.rdsite-whatsapp.border-top{border-top:4px solid var(--border-top-color)}:host a.rdsite-whatsapp .rdsite-whatsapp-animation.active{width:448px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
35
+ }
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: WhatsappComponent, decorators: [{
37
+ type: Component,
38
+ args: [{ selector: 'rdsite-whatsapp', imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent], template: "@if (link()) {\n <a\n class=\"rdsite-whatsapp\"\n [ngClass]=\"{ 'border-top': borderTop() }\"\n [href]=\"link()\"\n rdsitelink\n (mouseenter)=\"active = true\"\n (mouseleave)=\"active = false\"\n (click)=\"whatsappClicked($event)\"\n >\n @if (imgUrl()) {\n <div class=\"image\" [ngStyle]=\"{ 'background-image': imgUrl() }\"></div>\n }\n <div class=\"icon\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n\n <div class=\"rdsite-whatsapp-animation\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n <span>{{ text() }}</span>\n </div>\n </a>\n}\n", styles: [":host{display:flex;justify-content:flex-end;width:536px;position:absolute;bottom:0;right:0;pointer-events:none}:host *{font-family:var(--font-family)}:host a.rdsite-whatsapp{box-sizing:content-box;display:block;position:relative;width:88px;height:88px;transition:background-color .25s linear!important;pointer-events:all;background-color:var(--bg-color)}:host a.rdsite-whatsapp .image{position:absolute;right:0;bottom:0;width:88px;height:88px;background-size:cover;background-position:50%}:host a.rdsite-whatsapp .icon{width:24px;height:24px;background-color:var(--bg-button);border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:8px;right:8px}:host a.rdsite-whatsapp .icon.active{display:none}:host .rdsite-whatsapp-animation{background-color:var(--bg-button);width:0px;height:88px;position:absolute;bottom:0;right:88px;transition:width .5s ease-out,background-color .25s linear;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--color-button)}:host .rdsite-whatsapp-animation cura-icon{--color: var(--color-button) !important}:host .rdsite-whatsapp-animation span{text-wrap:nowrap}:host .rdsite-whatsapp-animation.active{width:calc(100vw - 88px);pointer-events:all}:host .rdsite-whatsapp-animation:hover{background-color:var(--bg-button-hover);color:var(--color-button-hover)}:host .rdsite-whatsapp-animation:hover cura-icon{--color: var(--color-button-hover) !important}@media only screen and (min-width: 1024px){:host a.rdsite-whatsapp.border-top{border-top:4px solid var(--border-top-color)}:host a.rdsite-whatsapp .rdsite-whatsapp-animation.active{width:448px}}\n"] }]
39
+ }], propDecorators: { link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], imgUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "imgUrl", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], bgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColor", required: false }] }], bgHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgHover", required: false }] }], borderTop: [{ type: i0.Input, args: [{ isSignal: true, alias: "borderTop", required: false }] }], whatsappClick: [{ type: i0.Output, args: ["whatsappClick"] }], style: [{
40
+ type: HostBinding,
41
+ args: ['style']
42
+ }] } });
43
+
44
+ /**
45
+ * Generated bundle index. Do not edit.
46
+ */
47
+
48
+ export { WhatsappComponent };
49
+ //# sourceMappingURL=rededor-site-front-end-lib-components-whatsapp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rededor-site-front-end-lib-components-whatsapp.mjs","sources":["../../../projects/site-front-end-lib/components/whatsapp/whatsapp.component.ts","../../../projects/site-front-end-lib/components/whatsapp/whatsapp.component.html","../../../projects/site-front-end-lib/components/whatsapp/rededor-site-front-end-lib-components-whatsapp.ts"],"sourcesContent":["import { Component, HostBinding, input, output, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-whatsapp',\n imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './whatsapp.component.html',\n styleUrl: './whatsapp.component.scss',\n})\nexport class WhatsappComponent {\n private curaApiService = inject(CuraApiService);\n\n readonly link = input<string>('');\n readonly imgUrl = input<string>('');\n readonly text = input<string>('Agende por Whatsapp');\n readonly bgColor = input<string>('#1DCD52');\n readonly bgHover = input<string>('#016720');\n readonly borderTop = input<boolean>(false);\n\n readonly whatsappClick = output<Event>();\n\n active: boolean = false;\n\n @HostBinding('style') style = {\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n '--border-top-color': this.curaApiService.theme.colors.getColor('primary-light'),\n '--bg-color': this.curaApiService.theme.colors.getColor('primary-darker'),\n '--bg-button': this.bgColor(),\n '--bg-button-hover': this.bgHover(),\n '--color-button': this.curaApiService.theme.colors.getColor('neutral-black'),\n '--color-button-hover': this.curaApiService.theme.colors.getColor('neutral-white'),\n };\n\n whatsappClicked(event: Event) {\n this.whatsappClick.emit(event);\n }\n}\n","@if (link()) {\n <a\n class=\"rdsite-whatsapp\"\n [ngClass]=\"{ 'border-top': borderTop() }\"\n [href]=\"link()\"\n rdsitelink\n (mouseenter)=\"active = true\"\n (mouseleave)=\"active = false\"\n (click)=\"whatsappClicked($event)\"\n >\n @if (imgUrl()) {\n <div class=\"image\" [ngStyle]=\"{ 'background-image': imgUrl() }\"></div>\n }\n <div class=\"icon\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n </div>\n\n <div class=\"rdsite-whatsapp-animation\" [ngClass]=\"{ active: active }\">\n <cura-icon name=\"whatsapp\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\n <span>{{ text() }}</span>\n </div>\n </a>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAYa,iBAAiB,CAAA;AAN9B,IAAA,WAAA,GAAA;AAOU,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AAEtC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,gDAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAS,EAAE,kDAAC;AAC1B,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,qBAAqB,gDAAC;AAC3C,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAS,SAAS,mDAAC;AAClC,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAS,SAAS,mDAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAU,KAAK,qDAAC;QAEjC,IAAA,CAAA,aAAa,GAAG,MAAM,EAAS;QAExC,IAAA,CAAA,MAAM,GAAY,KAAK;AAED,QAAA,IAAA,CAAA,KAAK,GAAG;AAC5B,YAAA,eA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