af-connect-components 0.0.26 → 0.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 (305) hide show
  1. package/README.md +8 -11
  2. package/esm2020/af-connect-components.mjs +5 -0
  3. package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +22 -0
  4. package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +47 -0
  5. package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +33 -0
  6. package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +17 -0
  7. package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +11 -0
  8. package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +23 -0
  9. package/esm2020/lib/af-connect-components.component.mjs +19 -0
  10. package/esm2020/lib/af-connect-components.module.mjs +239 -0
  11. package/esm2020/lib/af-connect-components.service.mjs +14 -0
  12. package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +14 -0
  13. package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +11 -0
  14. package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +26 -0
  15. package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +285 -0
  16. package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +11 -0
  17. package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +21 -0
  18. package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +46 -0
  19. package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +29 -0
  20. package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +92 -0
  21. package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +18 -0
  22. package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +101 -0
  23. package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +26 -0
  24. package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +15 -0
  25. package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +47 -0
  26. package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +27 -0
  27. package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +27 -0
  28. package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +69 -0
  29. package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +45 -0
  30. package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +99 -0
  31. package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +114 -0
  32. package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +14 -0
  33. package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +35 -0
  34. package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +11 -0
  35. package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +27 -0
  36. package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +20 -0
  37. package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +11 -0
  38. package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +87 -0
  39. package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +33 -0
  40. package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +133 -0
  41. package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +48 -0
  42. package/esm2020/lib/af-connect-tooltip/types.mjs +2 -0
  43. package/esm2020/lib/constants/animation.constants.mjs +121 -0
  44. package/esm2020/lib/constants/base.constants.mjs +10 -0
  45. package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +23 -0
  46. package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +54 -0
  47. package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +29 -0
  48. package/esm2020/lib/faq/faq/faq.component.mjs +22 -0
  49. package/esm2020/lib/faq/faq-item/faq-item.component.mjs +16 -0
  50. package/esm2020/lib/faq/faqItem.mjs +2 -0
  51. package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +74 -0
  52. package/esm2020/lib/models/notification-response.model.mjs +2 -0
  53. package/esm2020/lib/models/radio.model.mjs +2 -0
  54. package/esm2020/lib/services/breakpoint.service.mjs +16 -0
  55. package/esm2020/lib/utilities/number.util.mjs +4 -0
  56. package/esm2020/public-api.mjs +43 -0
  57. package/esm2020/shared/pipes/get-initials.mjs +20 -0
  58. package/fesm2015/af-connect-components.mjs +2173 -0
  59. package/fesm2015/af-connect-components.mjs.map +1 -0
  60. package/fesm2020/af-connect-components.mjs +2165 -0
  61. package/fesm2020/af-connect-components.mjs.map +1 -0
  62. package/index.d.ts +5 -0
  63. package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +10 -0
  64. package/lib/af-connect-button/af-connect-button.component.d.ts +21 -0
  65. package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +14 -0
  66. package/lib/af-connect-card/af-connect-card.component.d.ts +8 -0
  67. package/lib/af-connect-chart/af-connect-chart.component.d.ts +5 -0
  68. package/lib/af-connect-chip/af-connect-chip.component.d.ts +12 -0
  69. package/lib/af-connect-components.component.d.ts +5 -0
  70. package/lib/af-connect-components.module.d.ts +52 -0
  71. package/lib/af-connect-components.service.d.ts +6 -0
  72. package/lib/af-connect-content/af-connect-content.component.d.ts +8 -0
  73. package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +5 -0
  74. package/lib/af-connect-error/af-connect-error.component.d.ts +12 -0
  75. package/lib/af-connect-footer/af-connect-footer.component.d.ts +155 -0
  76. package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +5 -0
  77. package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +10 -0
  78. package/lib/af-connect-header/af-connect-header.component.d.ts +18 -0
  79. package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +13 -0
  80. package/lib/af-connect-input/af-connect-input.component.d.ts +36 -0
  81. package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +8 -0
  82. package/lib/af-connect-modal/af-connect-modal.component.d.ts +46 -0
  83. package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +12 -0
  84. package/lib/af-connect-notification/af-connect-notification.component.d.ts +8 -0
  85. package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +32 -0
  86. package/lib/af-connect-products-carousel/defaultConfig.d.ts +6 -0
  87. package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +13 -0
  88. package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +26 -0
  89. package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +18 -0
  90. package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +34 -0
  91. package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +35 -0
  92. package/lib/af-connect-section/af-connect-section.component.d.ts +8 -0
  93. package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +15 -0
  94. package/lib/af-connect-select/af-connect-select.component.d.ts +5 -0
  95. package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +14 -0
  96. package/lib/af-connect-tab/af-connect-tab.component.d.ts +9 -0
  97. package/lib/af-connect-table/af-connect-table.component.d.ts +5 -0
  98. package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +25 -0
  99. package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +13 -0
  100. package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +37 -0
  101. package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +16 -0
  102. package/lib/af-connect-tooltip/types.d.ts +1 -0
  103. package/lib/constants/animation.constants.d.ts +13 -0
  104. package/lib/constants/base.constants.d.ts +10 -0
  105. package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +8 -0
  106. package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +21 -0
  107. package/lib/expandable/expandable-container/expandable-container.component.d.ts +8 -0
  108. package/lib/faq/faq/faq.component.d.ts +9 -0
  109. package/lib/faq/faq-item/faq-item.component.d.ts +7 -0
  110. package/lib/faq/image-fallback/image-fallback.component.d.ts +18 -0
  111. package/{projects/af-connect-components/src/lib/models/notification-response.model.ts → lib/models/notification-response.model.d.ts} +0 -1
  112. package/lib/models/radio.model.d.ts +3 -0
  113. package/lib/services/breakpoint.service.d.ts +9 -0
  114. package/lib/utilities/number.util.d.ts +1 -0
  115. package/package.json +31 -41
  116. package/{projects/af-connect-components/src/public-api.ts → public-api.d.ts} +0 -7
  117. package/shared/pipes/get-initials.d.ts +10 -0
  118. package/.editorconfig +0 -16
  119. package/.vscode/extensions.json +0 -4
  120. package/.vscode/launch.json +0 -20
  121. package/.vscode/tasks.json +0 -42
  122. package/angular.json +0 -40
  123. package/projects/af-connect-components/README.md +0 -24
  124. package/projects/af-connect-components/ng-package.json +0 -7
  125. package/projects/af-connect-components/package-lock.json +0 -4286
  126. package/projects/af-connect-components/package.json +0 -12
  127. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +0 -13
  128. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +0 -50
  129. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +0 -23
  130. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +0 -17
  131. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +0 -25
  132. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +0 -306
  133. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +0 -23
  134. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +0 -25
  135. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +0 -20
  136. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +0 -209
  137. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +0 -23
  138. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +0 -21
  139. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +0 -4
  140. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +0 -100
  141. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +0 -23
  142. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +0 -14
  143. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +0 -1
  144. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
  145. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +0 -23
  146. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +0 -10
  147. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +0 -15
  148. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +0 -125
  149. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +0 -23
  150. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +0 -22
  151. package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +0 -23
  152. package/projects/af-connect-components/src/lib/af-connect-components.component.ts +0 -15
  153. package/projects/af-connect-components/src/lib/af-connect-components.module.ts +0 -146
  154. package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +0 -16
  155. package/projects/af-connect-components/src/lib/af-connect-components.service.ts +0 -9
  156. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +0 -1
  157. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +0 -227
  158. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +0 -23
  159. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +0 -13
  160. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +0 -1
  161. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
  162. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +0 -23
  163. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +0 -10
  164. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +0 -6
  165. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +0 -51
  166. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +0 -23
  167. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +0 -18
  168. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +0 -106
  169. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +0 -186
  170. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +0 -292
  171. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +0 -1
  172. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +0 -18
  173. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +0 -23
  174. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +0 -10
  175. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +0 -40
  176. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +0 -5
  177. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +0 -23
  178. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +0 -14
  179. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +0 -49
  180. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +0 -24
  181. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +0 -23
  182. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +0 -27
  183. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +0 -6
  184. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +0 -68
  185. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +0 -23
  186. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +0 -18
  187. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +0 -29
  188. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +0 -117
  189. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +0 -23
  190. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +0 -77
  191. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +0 -6
  192. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +0 -67
  193. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +0 -23
  194. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +0 -15
  195. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +0 -43
  196. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +0 -136
  197. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +0 -23
  198. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +0 -99
  199. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +0 -8
  200. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +0 -94
  201. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +0 -23
  202. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +0 -18
  203. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +0 -11
  204. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +0 -72
  205. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +0 -23
  206. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +0 -12
  207. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +0 -16
  208. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +0 -32
  209. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +0 -22
  210. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +0 -58
  211. package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +0 -26
  212. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +0 -6
  213. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +0 -96
  214. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +0 -23
  215. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +0 -21
  216. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +0 -94
  217. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +0 -176
  218. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +0 -23
  219. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +0 -48
  220. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +0 -11
  221. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +0 -48
  222. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +0 -23
  223. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +0 -34
  224. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +0 -28
  225. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +0 -204
  226. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +0 -23
  227. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +0 -101
  228. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +0 -6
  229. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +0 -28
  230. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +0 -23
  231. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +0 -111
  232. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +0 -1
  233. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +0 -8
  234. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +0 -23
  235. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +0 -13
  236. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +0 -17
  237. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +0 -153
  238. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +0 -23
  239. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +0 -22
  240. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +0 -91
  241. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +0 -242
  242. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +0 -23
  243. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +0 -10
  244. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +0 -6
  245. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +0 -66
  246. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +0 -23
  247. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +0 -19
  248. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +0 -4
  249. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
  250. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +0 -23
  251. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +0 -11
  252. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +0 -1
  253. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
  254. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +0 -23
  255. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +0 -10
  256. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +0 -15
  257. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +0 -125
  258. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +0 -23
  259. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +0 -100
  260. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +0 -13
  261. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +0 -66
  262. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +0 -23
  263. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +0 -22
  264. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +0 -26
  265. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +0 -55
  266. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +0 -23
  267. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +0 -120
  268. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +0 -11
  269. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +0 -149
  270. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +0 -23
  271. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +0 -36
  272. package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +0 -1
  273. package/projects/af-connect-components/src/lib/constants/animation.constants.ts +0 -149
  274. package/projects/af-connect-components/src/lib/constants/base.constants.ts +0 -10
  275. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +0 -4
  276. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
  277. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +0 -22
  278. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +0 -21
  279. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +0 -14
  280. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
  281. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +0 -22
  282. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +0 -38
  283. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +0 -3
  284. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +0 -3
  285. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +0 -23
  286. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +0 -21
  287. package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +0 -7
  288. package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +0 -18
  289. package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +0 -23
  290. package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +0 -16
  291. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +0 -15
  292. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +0 -58
  293. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +0 -23
  294. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +0 -12
  295. package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +0 -57
  296. package/projects/af-connect-components/src/lib/models/radio.model.ts +0 -3
  297. package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +0 -10
  298. package/projects/af-connect-components/src/lib/utilities/number.util.ts +0 -3
  299. package/projects/af-connect-components/src/shared/pipes/get-initials.ts +0 -13
  300. package/projects/af-connect-components/src/styles/breakpoints.scss +0 -91
  301. package/projects/af-connect-components/tsconfig.lib.json +0 -14
  302. package/projects/af-connect-components/tsconfig.lib.prod.json +0 -10
  303. package/projects/af-connect-components/tsconfig.spec.json +0 -14
  304. package/tsconfig.json +0 -39
  305. /package/{projects/af-connect-components/src/lib/faq/faqItem.ts → lib/faq/faqItem.d.ts} +0 -0
@@ -1,58 +0,0 @@
1
- import { Component, ElementRef, Input } from '@angular/core';
2
- import { defaultConfig } from './defaultConfig';
3
-
4
- interface CarouselConfig {
5
- imageSrc: string;
6
- title?: string;
7
- content?: string;
8
- readMore: string;
9
- }
10
-
11
- @Component({
12
- selector: 'lib-af-connect-products-carousel',
13
- templateUrl: './af-connect-products-carousel.component.html',
14
- styleUrls: ['./af-connect-products-carousel.component.scss']
15
- })
16
- export class AfConnectProductsCarouselComponent {
17
- @Input() config: CarouselConfig[];
18
- defaultConfig = defaultConfig;
19
-
20
- private slider: HTMLElement;
21
- private isDown = false;
22
- private startX: number;
23
- private scrollLeft: number;
24
-
25
- constructor(private elementRef: ElementRef) { }
26
-
27
- ngOnInit(): void { }
28
-
29
- ngAfterViewInit() {
30
- this.slider = this.elementRef.nativeElement.querySelector('.holder');
31
- }
32
-
33
- mousedown(e: MouseEvent): void {
34
- this.isDown = true;
35
- this.slider.classList.add('active');
36
- this.startX = e.pageX - this.slider.offsetLeft;
37
- this.scrollLeft = this.slider.scrollLeft;
38
- }
39
-
40
- mouseleave(): void {
41
- this.isDown = false;
42
- this.slider.classList.remove('active');
43
- }
44
-
45
- mouseup(): void {
46
- this.isDown = false;
47
- this.slider.classList.remove('active');
48
- }
49
-
50
- mousemove(e: MouseEvent): void {
51
- if(!this.isDown) return;
52
- e.preventDefault();
53
-
54
- const offset = e.pageX - this.slider.offsetLeft;
55
- const walk = (offset - this.startX) * 2;
56
- this.slider.scrollLeft = this.scrollLeft - walk;
57
- }
58
- }
@@ -1,26 +0,0 @@
1
- export const defaultConfig = [
2
- {
3
- imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/mmm-carousel.jpg',
4
- title: 'My Money Matters',
5
- content: 'Get the most out of your money. Explore ways to make your money and savings work for you with our tools.',
6
- readMore: 'https://mymoneymatters.alexforbes.com/'
7
- },
8
- {
9
- imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/AF-Rewards-carousel.jpg',
10
- title: 'My Rewards',
11
- content: 'Exclusive savings from big brands.',
12
- readMore: 'https://rewards.alexforbes.com/landingpage'
13
- },
14
- {
15
- imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/Unit-trusts-carousel.jpg',
16
- title: 'Unit Trusts',
17
- content: 'Invest from as little as R500.00 a month to up to R30 000.00 up front toward a personal goal.',
18
- readMore: 'https://www.alexforbes.com/za/en/individual/investing-for-a-goal.html'
19
- },
20
- {
21
- imageSrc: 'https://stg.alexforbes.com/content/dam/afbr/common/images-website/products/af-connect/AF-Plus-carousel.jpg',
22
- title: 'AF+',
23
- content: 'Guided by expert advisers and fulfilled by trusted partners, making it easy to solve life’s financial challenges with confidence.',
24
- readMore: 'https://plus.alexforbes.com/'
25
- },
26
- ];
@@ -1,6 +0,0 @@
1
- <img [src]="src" />
2
- <div class="info-container">
3
- <span class="info-container__title">{{ title }}</span>
4
- <span class="info-container__content">{{ content }}</span>
5
- </div>
6
- <button class="button-read-more" (click)="openReadMore()">Read more</button>
@@ -1,96 +0,0 @@
1
- @import '../../../styles/breakpoints.scss';
2
-
3
- :host {
4
- width: 325px;
5
- border-radius: 5px;
6
- box-shadow: 5px 5px 10px #00000029;
7
- background: #FAFBFC;
8
-
9
- @include media(mobileBreakPointTreshold) {
10
- width: 295px;
11
- display: flex;
12
- position: relative;
13
- align-items: center;
14
- border: 1px solid #124E57;
15
- box-shadow: 0 -5px 10px #455b6314;
16
- }
17
- }
18
-
19
- .info-container {
20
- display: flex;
21
- flex-direction: column;
22
- align-items: flex-start;
23
- padding: 1rem;
24
- gap: 1rem;
25
- height: 8rem;
26
- border-radius: 5px;
27
-
28
- &__title {
29
- font-size: 16px;
30
- font-family: 'Hero New Bold';
31
- color: #124E57;
32
-
33
- @include media(mobileBreakPointTreshold) {
34
- font-size: 14px;
35
- padding-top: 1rem;
36
- }
37
- }
38
-
39
- &__content {
40
- font-size: 12px;
41
- line-height: 20px;
42
- color: #78849E;
43
-
44
- @include media(mobileBreakPointTreshold) {
45
- font-size: 11px;
46
- line-height: 1rem;
47
- }
48
- }
49
-
50
- @include media(mobileBreakPointTreshold) {
51
- gap: 5px;
52
- padding: 0 0 0 6rem;
53
- width: 20rem;
54
- height: 9rem;
55
- place-content: start;
56
- }
57
- }
58
-
59
- img {
60
- width: 325px;
61
- height: 182px;
62
- border-radius: 5px 5px 0 0;
63
-
64
- @include media(mobileBreakPointTreshold) {
65
- width: 120px;
66
- height: 120px;
67
- position: absolute;
68
- object-fit: cover;
69
- left: -2rem;
70
- border-radius: 5px;
71
- }
72
- }
73
-
74
- .button-read-more {
75
- background: none;
76
- color: inherit;
77
- border: none;
78
- margin: 0;
79
- padding: 0;
80
- cursor: pointer;
81
- outline: inherit;
82
- font-size: 12px;
83
- color: #FF521C;
84
- font-size: 14px;
85
- font-family: 'Hero New Bold';
86
- position: relative;
87
- bottom: 1rem;
88
- left: 1rem;
89
-
90
- @include media(mobileBreakPointTreshold) {
91
- position: absolute;
92
- bottom: 1rem;
93
- left: 6rem;
94
- font-size: 11px;
95
- }
96
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ImageCardComponent } from './image-card.component';
4
-
5
- describe('ImageCardComponent', () => {
6
- let component: ImageCardComponent;
7
- let fixture: ComponentFixture<ImageCardComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ ImageCardComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(ImageCardComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,21 +0,0 @@
1
- import { Component, Input, OnInit } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'af-connect-image-card',
5
- templateUrl: './image-card.component.html',
6
- styleUrls: ['./image-card.component.scss']
7
- })
8
- export class ImageCardComponent implements OnInit {
9
- @Input() src: string;
10
- @Input() title: string | undefined = '';
11
- @Input() content: string | undefined = '';
12
- @Input() readMoreLink: string;
13
-
14
- constructor() { }
15
-
16
- ngOnInit(): void { }
17
-
18
- openReadMore() {
19
- window.open(this.readMoreLink, '_blank');
20
- }
21
- }
@@ -1,94 +0,0 @@
1
- <span [class]="['logo-content', userType === USER_TYPE.Retail ? 'blue' : 'orange']">
2
- <ng-container *ngTemplateOutlet="userType === USER_TYPE.Retail ? retail : institutional"></ng-container>
3
- </span>
4
-
5
- <ng-container *ngIf="showMenu">
6
- <div class="dropdown-content">
7
- <div (click)="callMeBack.emit()">
8
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
9
- <g id="call" transform="translate(0 0)">
10
- <path id="phone-1" d="M19.976,17.549l-2.588-2.156a.694.694,0,0,0-.7-.037l-1.438.958a.91.91,0,0,1-.509.153,5.983,5.983,0,0,1-1.28-.18,7.724,7.724,0,0,1-5.754-5.752,5.977,5.977,0,0,1-.18-1.28.909.909,0,0,1,.153-.509l.959-1.437a.681.681,0,0,0-.037-.7L6.444,4.022a.427.427,0,0,0-.73,0L4.285,5.77a2.549,2.549,0,0,0-.4,2.035.909.909,0,0,1,.027.105,4.671,4.671,0,0,0,.142.5,11.685,11.685,0,0,0,.654,1.563,20.775,20.775,0,0,0,3.973,5.332A20.76,20.76,0,0,0,14.02,19.28a11.693,11.693,0,0,0,1.563.654,4.823,4.823,0,0,0,.5.142.909.909,0,0,1,.126.033,2.492,2.492,0,0,0,2.014-.4l1.747-1.429A.426.426,0,0,0,19.976,17.549Zm-4.3-3.706A2.5,2.5,0,0,1,18.552,14l2.589,2.156a2.235,2.235,0,0,1-.015,3.534l-1.747,1.428a4.29,4.29,0,0,1-3.695.735q-.338-.077-.667-.188a13.5,13.5,0,0,1-1.809-.755A22.583,22.583,0,0,1,7.4,16.594a22.579,22.579,0,0,1-4.314-5.806,13.488,13.488,0,0,1-.755-1.809A6.833,6.833,0,0,1,2.14,8.3a4.343,4.343,0,0,1,.738-3.683L4.307,2.873a2.238,2.238,0,0,1,3.535-.015L10,5.445a2.485,2.485,0,0,1,.153,2.871L9.366,9.494a5.374,5.374,0,0,0,.11.62,5.948,5.948,0,0,0,.922,2.052,5.868,5.868,0,0,0,1.43,1.43,5.952,5.952,0,0,0,2.053.921,5.277,5.277,0,0,0,.62.11l1.179-.785Z" transform="translate(-2 -2)" fill="#ef4f1f"/>
11
- </g>
12
- </svg>
13
- <span>Call me back</span>
14
- </div>
15
- <div (click)="contactAdviser.emit()">
16
- <svg xmlns="http://www.w3.org/2000/svg" width="21.5" height="17.864" viewBox="0 0 21.5 17.864">
17
- <g id="Icons_UI_Contacts_Colour_" data-name="Icons / UI / Contacts / Colour " transform="translate(0.75 0.75)">
18
- <rect id="Rectangle" width="20" height="16.364" rx="3" fill="none" stroke="#ef4f1f" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5"/>
19
- <path id="Line_3" data-name="Line 3" d="M.55.563l8.591,7.67" transform="translate(0.859 0.858)" fill="none" stroke="#ef4f1f" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5"/>
20
- <path id="Line_3-2" data-name="Line 3" d="M-1.409.563-10,8.233" transform="translate(20 0.858)" fill="none" stroke="#ef4f1f" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="1.5"/>
21
- </g>
22
- </svg>
23
- <span>Contact adviser</span>
24
- </div>
25
- <div *ngIf="hasSwitchIndicator" class="user-type-switch user-type-switch">
26
- <div class="user-type-switch__btn-container">
27
- <lib-af-connect-radio-group label="View as" variant="checkbox" direction="column" (valueChange)="select($event)">
28
- <div
29
- class="user-type-switch__option boxShadow"
30
- (click)="select(USER_TYPE.Retail)"
31
- >
32
- <div class="logo blue">
33
- <ng-container *ngTemplateOutlet="retail"></ng-container>
34
- </div>
35
- <lib-af-connect-radio-button ngClass="larger" [value]="USER_TYPE.Retail" [checked]="userType === USER_TYPE.Retail" itemOrder="right-to-left">
36
- <span>Individual/Retail</span>
37
- </lib-af-connect-radio-button>
38
- </div>
39
- <div
40
- class="user-type-switch__option boxShadow"
41
- (click)="select(USER_TYPE.Institutional)"
42
- >
43
- <div class="logo orange">
44
- <ng-container *ngTemplateOutlet="institutional"></ng-container>
45
- </div>
46
- <lib-af-connect-radio-button ngClass="larger" [value]="USER_TYPE.Institutional" [checked]="userType === USER_TYPE.Institutional" itemOrder="right-to-left">
47
- <span>Employee benefits</span>
48
- </lib-af-connect-radio-button>
49
- </div>
50
- </lib-af-connect-radio-group>
51
- </div>
52
- </div>
53
- <div (click)="resetPassword.emit()">
54
- <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20.004" viewBox="0 0 22 20.004">
55
- <path id="Shape" d="M12.522,20A9.882,9.882,0,0,1,2.484,10H.544a.552.552,0,0,1-.379-.944l3.024-3.1a.528.528,0,0,1,.77,0l3.024,3.1a.557.557,0,0,1-.39.944H4.652a7.679,7.679,0,0,0,7.7,7.778,7.782,7.782,0,0,0,7.48-7.667A7.692,7.692,0,0,0,12.24,2.222,7.481,7.481,0,0,0,8.511,3.233a1.035,1.035,0,0,1-1.279-.2,1.125,1.125,0,0,1,.217-1.744A9.617,9.617,0,0,1,12.24,0,9.9,9.9,0,0,1,22,10.289,10,10,0,0,1,12.522,20Z" transform="translate(22 20.004) rotate(180)" fill="#f15a22"/>
56
- </svg>
57
- <span>Reset password</span>
58
- </div>
59
- <div (click)="logout.emit()">
60
- <svg id="icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
61
- <rect id="bg" width="20" height="20" fill="none"/>
62
- <path id="path" d="M9.21,9.273l2.758-2.758A.727.727,0,1,0,10.94,5.486l-4,4a.727.727,0,0,0,0,1.029l4,4a.727.727,0,1,0,1.029-1.029L9.21,10.727h8.066a.727.727,0,0,0,0-1.455Zm1.517-5.818a.727.727,0,1,0,0-1.455H3.821A1.82,1.82,0,0,0,2,3.821V16.179A1.821,1.821,0,0,0,3.821,18h6.906a.727.727,0,1,0,0-1.455H3.821a.366.366,0,0,1-.367-.366V3.821a.366.366,0,0,1,.367-.366Z" transform="translate(-0.099)" fill="#7f8991"/>
63
- </svg>
64
- <span>Log Out</span>
65
- </div>
66
- </div>
67
- </ng-container>
68
-
69
- <ng-template #retail>
70
- <svg id="Group" xmlns="http://www.w3.org/2000/svg" width="12.837" height="13.693" viewBox="0 0 12.837 13.693">
71
- <path id="Oval" d="M2.785-1A3.785,3.785,0,1,1-1,2.785,3.79,3.79,0,0,1,2.785-1Zm0,6.583a2.8,2.8,0,1,0-2.8-2.8A2.8,2.8,0,0,0,2.785,5.583Z" transform="translate(3.633 1)" fill="#fff"/>
72
- <path id="Rectangle" d="M7.393,4.135A.494.494,0,0,1,6.9,3.641,3.712,3.712,0,0,0,3.14-.013H-.506A.494.494,0,0,1-1-.506.494.494,0,0,1-.506-1H3.14A4.7,4.7,0,0,1,7.887,3.641.494.494,0,0,1,7.393,4.135Z" transform="translate(4.95 9.558)" fill="#fff"/>
73
- <path id="Rectangle-2" data-name="Rectangle" d="M-12.506,4.135A.494.494,0,0,1-13,3.641,4.7,4.7,0,0,1-8.253-1h3.646a.494.494,0,0,1,.494.494.494.494,0,0,1-.494.494H-8.253a3.712,3.712,0,0,0-3.76,3.654A.494.494,0,0,1-12.506,4.135Z" transform="translate(13 9.558)" fill="#fff"/>
74
- </svg>
75
- </ng-template>
76
-
77
- <ng-template #institutional>
78
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="15.384" height="12.488" viewBox="0 0 15.384 12.488">
79
- <defs>
80
- <clipPath id="clip-path">
81
- <rect id="Rectangle_1424" data-name="Rectangle 1424" width="15.383" height="12.489" transform="translate(0 0)" fill="none" stroke="#707070" stroke-width="1"/>
82
- </clipPath>
83
- </defs>
84
- <g id="Group_10298" data-name="Group 10298" transform="translate(-0.952 -0.773)">
85
- <g id="Group_10297" data-name="Group 10297" transform="translate(0.953 0.773)" clip-path="url(#clip-path)">
86
- <path id="Path_6080" data-name="Path 6080" d="M29.386,3.03a.346.346,0,0,1-.346-.346V1.32a.629.629,0,0,0-.628-.629H23.274a.629.629,0,0,0-.628.629V2.684a.346.346,0,1,1-.693,0V1.32A1.323,1.323,0,0,1,23.274,0h5.137A1.323,1.323,0,0,1,29.732,1.32V2.684A.346.346,0,0,1,29.386,3.03Z" transform="translate(-18.151 0.001)" fill="#fff"/>
87
- <path id="Rectangle_1423" data-name="Rectangle 1423" d="M-.933-2h13.25A1.068,1.068,0,0,1,13.384-.933V7.084a1.068,1.068,0,0,1-1.067,1.067H-.933A1.068,1.068,0,0,1-2,7.084V-.933A1.068,1.068,0,0,1-.933-2Zm13.25,9.458a.374.374,0,0,0,.374-.374V-.933a.374.374,0,0,0-.374-.374H-.933a.374.374,0,0,0-.374.374V7.084a.374.374,0,0,0,.374.374Z" transform="translate(2 4.338)" fill="#fff"/>
88
- <path id="Line_324" data-name="Line 324" d="M12.712-1.307H-1.654A.346.346,0,0,1-2-1.654.346.346,0,0,1-1.654-2H12.712a.346.346,0,0,1,.346.346A.346.346,0,0,1,12.712-1.307Z" transform="translate(2.037 8.087)" fill="#fff"/>
89
- <path id="Line_325" data-name="Line 325" d="M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z" transform="translate(12.888 7.318)" fill="#fff"/>
90
- <path id="Line_326" data-name="Line 326" d="M-1.654.223A.346.346,0,0,1-2-.124v-1.53A.346.346,0,0,1-1.654-2a.346.346,0,0,1,.346.346v1.53A.346.346,0,0,1-1.654.223Z" transform="translate(5.802 7.318)" fill="#fff"/>
91
- </g>
92
- </g>
93
- </svg>
94
- </ng-template>
@@ -1,176 +0,0 @@
1
- .logo-cicrcle {
2
- display: flex;
3
- place-items: center;
4
- place-content: center;
5
- border-radius: 50%;
6
- }
7
-
8
- :host {
9
- height: 3rem;
10
- filter: drop-shadow(3px 3px 10px #00000014);
11
- z-index: 999;
12
- box-shadow: 3px 3px 10px #00000014;
13
- border: 3px solid #FFFFFF;
14
- cursor: pointer;
15
-
16
- @extend .logo-cicrcle;
17
-
18
- @media (max-width: 768px) {
19
- width: 30px;
20
- height: 30px;
21
- }
22
- }
23
-
24
- .logo-content {
25
- width: 3rem;
26
- height: 3rem;
27
- color: white;
28
- font-family: 'Hero New ExtraBold';
29
- font-size: 2rem;
30
-
31
- @extend .logo-cicrcle;
32
-
33
- >svg {
34
- width: 1.5rem;
35
- height: 1.5rem;
36
- }
37
-
38
- @media (max-width: 768px) {
39
- width: 30px;
40
- height: 30px;
41
- font-size: 18px;
42
-
43
- >svg {
44
- width: 1rem;
45
- height: 1rem;
46
- }
47
- }
48
- }
49
-
50
- .dropdown-content {
51
- position: absolute;
52
- width: auto;
53
- min-width: 12rem;
54
- height: fit-content;
55
- right: 0;
56
- top: 3.5rem;
57
- font-size: 12px;
58
- background: white;
59
- display: flex;
60
- flex-direction: column;
61
- align-items: center;
62
-
63
- >div:not(.user-type-switch):nth-child(-n+2) {
64
- display: none;
65
- }
66
-
67
- div:nth-child(4) {
68
- color: var(--red-test);
69
- }
70
-
71
- @media (max-width: 768px) {
72
- top: 47px;
73
-
74
- >div:not(.user-type-switch):nth-child(-n+1) {
75
- /**
76
- TODO: Change to display: flex
77
- Call me back and Contact adviser button are out of scope for Release one
78
- */
79
- display: none;
80
- }
81
-
82
- div:nth-child(2) {
83
- display: flex;
84
- }
85
- }
86
-
87
- & div {
88
- display: flex;
89
- align-items: center;
90
- width: 100%;
91
- height: 3rem;
92
- gap: 1rem;
93
- border-bottom: 1px solid #78849E14;
94
-
95
- & svg {
96
- width: 20px;
97
- height: 20px;
98
- padding-left: 1rem;
99
- }
100
- }
101
-
102
- >div:not(.user-type-switch):hover {
103
- background-color: rgba(0,0,0,.04);
104
- }
105
-
106
- .user-type-switch {
107
- width: auto;
108
- height: 100%;
109
- cursor: default;
110
- border-bottom: none;
111
-
112
- &__btn-container {
113
- display: block !important;
114
- width: 241px;
115
- height: 166px;
116
- background: #FAFBFC;
117
- border: 1px solid #F3F3F3;
118
- border-radius: 5pt;
119
- margin: 1rem;
120
- }
121
-
122
- &__option {
123
- width: 100%;
124
- height: 42px;
125
- border-bottom: none;
126
- gap: 0.3rem;
127
- padding: 0 0.75rem;
128
- background-color: #FFFFFF;
129
- box-sizing: border-box;
130
- border-radius: 3rem;
131
- cursor: pointer;
132
-
133
- >.logo {
134
- @extend .logo-cicrcle;
135
-
136
- height: 23px;
137
- width: 27px;
138
- flex: 0 1 auto;
139
- border: 1px solid #FFFFFF;
140
- box-shadow: 1px 3px 10px #00000014;
141
-
142
- >svg {
143
- width: auto;
144
- height: auto;
145
- padding: 0;
146
- }
147
-
148
- &__img {
149
- width: 22px;
150
- height: 0.9rem;
151
- }
152
- }
153
- }
154
- }
155
-
156
- lib-af-connect-radio-group {
157
- gap: 0.75rem;
158
- padding: 1rem;
159
- }
160
-
161
- lib-af-connect-radio-button {
162
- width: 100%;
163
- }
164
- }
165
-
166
- .blue {
167
- background: #2CC1DA;
168
- }
169
-
170
- .orange {
171
- background: #F69521;
172
- }
173
-
174
- .boxShadow {
175
- box-shadow: 3px 3px 6px #00000008;
176
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AfConnectProfileDropdown } from './af-connect-profile-dropdown.component';
4
-
5
- describe('AfConnectHeaderComponent', () => {
6
- let component: AfConnectProfileDropdown;
7
- let fixture: ComponentFixture<AfConnectProfileDropdown>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ AfConnectProfileDropdown ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AfConnectProfileDropdown);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,48 +0,0 @@
1
- import { Component, HostListener, Output, EventEmitter, ElementRef, Input } from '@angular/core';
2
-
3
- export enum UserType {
4
- Retail = 'Retail',
5
- Institutional = 'Institutional',
6
- Hybrid = 'Hybrid'
7
- }
8
-
9
- @Component({
10
- selector: 'lib-af-connect-profile-dropdown',
11
- templateUrl: './af-connect-profile-dropdown.component.html',
12
- styleUrls: ['./af-connect-profile-dropdown.component.scss']
13
- })
14
- export class AfConnectProfileDropdown {
15
- @Input() username = '';
16
- @Input() userType: UserType.Institutional | UserType.Retail;
17
- @Input() hasSwitchIndicator: boolean;
18
- @Output() callMeBack = new EventEmitter<void>();
19
- @Output() contactAdviser = new EventEmitter<void>();
20
- @Output() resetPassword = new EventEmitter<void>();
21
- @Output() logout = new EventEmitter<void>();
22
- @Output() switchUserType = new EventEmitter<UserType>();
23
-
24
- showMenu = false;
25
- USER_TYPE = UserType;
26
-
27
- constructor(private elementRef: ElementRef) {}
28
-
29
- @HostListener('click', ['$event']) show(e: any) {
30
- this.showMenu = !this.showMenu;
31
- }
32
-
33
- @HostListener('document:click', ['$event']) click(event: any) {
34
- const iconClick = this.elementRef.nativeElement.contains(event.target);
35
- const clickedOnUserTypeSwitch = event.target.closest('.user-type-switch') !== null;
36
- const clickedOnUserTypeSwitchOption = event.target.closest('.user-type-switch__option') !== null;
37
-
38
- this.showMenu = iconClick ? this.showMenu : (clickedOnUserTypeSwitch && !clickedOnUserTypeSwitchOption);
39
- }
40
-
41
- select(value: UserType.Institutional | UserType.Retail): void {
42
- if (this.userType !== value) {
43
- this.userType = value;
44
- this.showMenu = false;
45
- this.switchUserType.emit(value);
46
- }
47
- }
48
- }
@@ -1,11 +0,0 @@
1
- <div [ngClass]="[secondaryColor]" class="progress-bar-container">
2
- <div [ngClass]="['progress-bar', primaryColor]" [style]="{ width: progressCounter + '%' }">
3
- <div class="text-container">
4
- <div>
5
- <ng-content></ng-content>
6
- </div>
7
- <span *ngIf="false"> {{ progress.toFixed(0) }}% </span>
8
- </div>
9
- </div>
10
- </div>
11
-
@@ -1,48 +0,0 @@
1
- $height: 2rem;
2
-
3
- :host {
4
- display: block;
5
-
6
- max-width: 100%;
7
- }
8
-
9
- .progress-bar-base {
10
- border-radius: 0.5rem;
11
- height: $height;
12
- }
13
-
14
- .progress-bar-container {
15
- @extend .progress-bar-base;
16
- background-color: var(--dark-grey-color-low-opacity);
17
-
18
- &.orange {
19
- background-color: var(--primary-catalyst-yellow-color);
20
- }
21
-
22
- &.transparent {
23
- background-color: transparent;
24
- }
25
- }
26
-
27
- .progress-bar {
28
- @extend .progress-bar-base;
29
- color: var(--main-white-color);
30
- background-color: var(--primary-balanced-teal-color);
31
-
32
- &.primary-orange {
33
- background-color: var(--primary-catalyst-yellow-color);
34
- }
35
- }
36
-
37
- .text-container {
38
- min-width: 120px;
39
- $padding: 0.75rem;
40
- padding-left: $padding;
41
- padding-right: $padding;
42
- font-weight: 500;
43
- display: flex;
44
- align-items: center;
45
- justify-content: space-between;
46
- font-size: 14px;
47
- min-height: $height;
48
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AfConnectProgressBarComponent } from './af-connect-progress-bar.component';
4
-
5
- describe('AfConnectProgressBarComponent', () => {
6
- let component: AfConnectProgressBarComponent;
7
- let fixture: ComponentFixture<AfConnectProgressBarComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ AfConnectProgressBarComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AfConnectProgressBarComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });