af-connect-components 0.0.24 → 0.0.26

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/.editorconfig +16 -0
  2. package/.vscode/extensions.json +4 -0
  3. package/.vscode/launch.json +20 -0
  4. package/.vscode/tasks.json +42 -0
  5. package/README.md +11 -8
  6. package/angular.json +40 -0
  7. package/package.json +41 -31
  8. package/projects/af-connect-components/README.md +24 -0
  9. package/projects/af-connect-components/ng-package.json +7 -0
  10. package/projects/af-connect-components/package-lock.json +4286 -0
  11. package/projects/af-connect-components/package.json +12 -0
  12. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +13 -0
  13. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +50 -0
  14. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +23 -0
  15. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +17 -0
  16. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +25 -0
  17. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +306 -0
  18. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +23 -0
  19. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +25 -0
  20. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +20 -0
  21. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +209 -0
  22. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +23 -0
  23. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +21 -0
  24. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +4 -0
  25. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +100 -0
  26. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +23 -0
  27. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +14 -0
  28. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +1 -0
  29. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
  30. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +23 -0
  31. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +10 -0
  32. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +15 -0
  33. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +125 -0
  34. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +23 -0
  35. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +22 -0
  36. package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +23 -0
  37. package/projects/af-connect-components/src/lib/af-connect-components.component.ts +15 -0
  38. package/projects/af-connect-components/src/lib/af-connect-components.module.ts +146 -0
  39. package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +16 -0
  40. package/projects/af-connect-components/src/lib/af-connect-components.service.ts +9 -0
  41. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +1 -0
  42. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +227 -0
  43. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +23 -0
  44. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +13 -0
  45. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +1 -0
  46. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
  47. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +23 -0
  48. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +10 -0
  49. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +6 -0
  50. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +51 -0
  51. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +23 -0
  52. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +18 -0
  53. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +106 -0
  54. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +186 -0
  55. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +292 -0
  56. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +1 -0
  57. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +18 -0
  58. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +23 -0
  59. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +10 -0
  60. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +40 -0
  61. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +5 -0
  62. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +23 -0
  63. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +14 -0
  64. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +49 -0
  65. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +24 -0
  66. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +23 -0
  67. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +27 -0
  68. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +6 -0
  69. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +68 -0
  70. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +23 -0
  71. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +18 -0
  72. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +29 -0
  73. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +117 -0
  74. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +23 -0
  75. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +77 -0
  76. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +6 -0
  77. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +67 -0
  78. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +23 -0
  79. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +15 -0
  80. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +43 -0
  81. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +136 -0
  82. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +23 -0
  83. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +99 -0
  84. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +8 -0
  85. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +94 -0
  86. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +23 -0
  87. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +18 -0
  88. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +11 -0
  89. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +72 -0
  90. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +23 -0
  91. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +12 -0
  92. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +16 -0
  93. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +32 -0
  94. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +22 -0
  95. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +58 -0
  96. package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +26 -0
  97. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +6 -0
  98. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +96 -0
  99. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +23 -0
  100. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +21 -0
  101. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +94 -0
  102. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +176 -0
  103. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +23 -0
  104. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +48 -0
  105. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +11 -0
  106. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +48 -0
  107. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +23 -0
  108. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +34 -0
  109. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +28 -0
  110. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +204 -0
  111. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +23 -0
  112. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +101 -0
  113. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +6 -0
  114. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +28 -0
  115. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +23 -0
  116. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +111 -0
  117. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +1 -0
  118. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +8 -0
  119. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +23 -0
  120. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +13 -0
  121. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +17 -0
  122. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +153 -0
  123. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +23 -0
  124. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +22 -0
  125. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +91 -0
  126. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +242 -0
  127. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +23 -0
  128. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +10 -0
  129. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +6 -0
  130. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +66 -0
  131. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +23 -0
  132. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +19 -0
  133. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +4 -0
  134. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
  135. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +23 -0
  136. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +11 -0
  137. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +1 -0
  138. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
  139. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +23 -0
  140. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +10 -0
  141. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +15 -0
  142. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +125 -0
  143. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +23 -0
  144. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +100 -0
  145. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +13 -0
  146. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +66 -0
  147. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +23 -0
  148. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +22 -0
  149. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +26 -0
  150. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +55 -0
  151. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +23 -0
  152. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +120 -0
  153. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +11 -0
  154. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +149 -0
  155. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +23 -0
  156. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +36 -0
  157. package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +1 -0
  158. package/projects/af-connect-components/src/lib/constants/animation.constants.ts +149 -0
  159. package/projects/af-connect-components/src/lib/constants/base.constants.ts +10 -0
  160. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +4 -0
  161. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
  162. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +22 -0
  163. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +21 -0
  164. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +14 -0
  165. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
  166. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +22 -0
  167. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +38 -0
  168. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +3 -0
  169. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +3 -0
  170. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +23 -0
  171. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +21 -0
  172. package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +7 -0
  173. package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +18 -0
  174. package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +23 -0
  175. package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +16 -0
  176. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +15 -0
  177. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +58 -0
  178. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +23 -0
  179. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +12 -0
  180. package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +57 -0
  181. package/{lib/models/notification-response.model.d.ts → projects/af-connect-components/src/lib/models/notification-response.model.ts} +1 -0
  182. package/projects/af-connect-components/src/lib/models/radio.model.ts +3 -0
  183. package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +10 -0
  184. package/projects/af-connect-components/src/lib/utilities/number.util.ts +3 -0
  185. package/{public-api.d.ts → projects/af-connect-components/src/public-api.ts} +7 -0
  186. package/projects/af-connect-components/src/shared/pipes/get-initials.ts +13 -0
  187. package/projects/af-connect-components/src/styles/breakpoints.scss +91 -0
  188. package/projects/af-connect-components/tsconfig.lib.json +14 -0
  189. package/projects/af-connect-components/tsconfig.lib.prod.json +10 -0
  190. package/projects/af-connect-components/tsconfig.spec.json +14 -0
  191. package/tsconfig.json +39 -0
  192. package/esm2020/af-connect-components.mjs +0 -5
  193. package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +0 -22
  194. package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +0 -47
  195. package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +0 -33
  196. package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +0 -17
  197. package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +0 -11
  198. package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +0 -23
  199. package/esm2020/lib/af-connect-components.component.mjs +0 -19
  200. package/esm2020/lib/af-connect-components.module.mjs +0 -239
  201. package/esm2020/lib/af-connect-components.service.mjs +0 -14
  202. package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +0 -14
  203. package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +0 -11
  204. package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +0 -26
  205. package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +0 -266
  206. package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +0 -11
  207. package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +0 -21
  208. package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +0 -46
  209. package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +0 -29
  210. package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +0 -92
  211. package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +0 -18
  212. package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +0 -101
  213. package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +0 -26
  214. package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +0 -15
  215. package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +0 -47
  216. package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +0 -27
  217. package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +0 -27
  218. package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +0 -69
  219. package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +0 -45
  220. package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +0 -99
  221. package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +0 -114
  222. package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +0 -14
  223. package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +0 -35
  224. package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +0 -11
  225. package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +0 -27
  226. package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +0 -20
  227. package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +0 -11
  228. package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +0 -87
  229. package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +0 -33
  230. package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +0 -133
  231. package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +0 -48
  232. package/esm2020/lib/af-connect-tooltip/types.mjs +0 -2
  233. package/esm2020/lib/constants/animation.constants.mjs +0 -121
  234. package/esm2020/lib/constants/base.constants.mjs +0 -10
  235. package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +0 -23
  236. package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +0 -54
  237. package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +0 -29
  238. package/esm2020/lib/faq/faq/faq.component.mjs +0 -22
  239. package/esm2020/lib/faq/faq-item/faq-item.component.mjs +0 -16
  240. package/esm2020/lib/faq/faqItem.mjs +0 -2
  241. package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +0 -74
  242. package/esm2020/lib/models/notification-response.model.mjs +0 -2
  243. package/esm2020/lib/models/radio.model.mjs +0 -2
  244. package/esm2020/lib/services/breakpoint.service.mjs +0 -16
  245. package/esm2020/lib/utilities/number.util.mjs +0 -4
  246. package/esm2020/public-api.mjs +0 -43
  247. package/esm2020/shared/pipes/get-initials.mjs +0 -20
  248. package/fesm2015/af-connect-components.mjs +0 -2154
  249. package/fesm2015/af-connect-components.mjs.map +0 -1
  250. package/fesm2020/af-connect-components.mjs +0 -2146
  251. package/fesm2020/af-connect-components.mjs.map +0 -1
  252. package/index.d.ts +0 -5
  253. package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +0 -10
  254. package/lib/af-connect-button/af-connect-button.component.d.ts +0 -21
  255. package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +0 -14
  256. package/lib/af-connect-card/af-connect-card.component.d.ts +0 -8
  257. package/lib/af-connect-chart/af-connect-chart.component.d.ts +0 -5
  258. package/lib/af-connect-chip/af-connect-chip.component.d.ts +0 -12
  259. package/lib/af-connect-components.component.d.ts +0 -5
  260. package/lib/af-connect-components.module.d.ts +0 -52
  261. package/lib/af-connect-components.service.d.ts +0 -6
  262. package/lib/af-connect-content/af-connect-content.component.d.ts +0 -8
  263. package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +0 -5
  264. package/lib/af-connect-error/af-connect-error.component.d.ts +0 -12
  265. package/lib/af-connect-footer/af-connect-footer.component.d.ts +0 -152
  266. package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +0 -5
  267. package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +0 -10
  268. package/lib/af-connect-header/af-connect-header.component.d.ts +0 -18
  269. package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +0 -13
  270. package/lib/af-connect-input/af-connect-input.component.d.ts +0 -36
  271. package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +0 -8
  272. package/lib/af-connect-modal/af-connect-modal.component.d.ts +0 -46
  273. package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +0 -12
  274. package/lib/af-connect-notification/af-connect-notification.component.d.ts +0 -8
  275. package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +0 -32
  276. package/lib/af-connect-products-carousel/defaultConfig.d.ts +0 -6
  277. package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +0 -13
  278. package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +0 -26
  279. package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +0 -18
  280. package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +0 -34
  281. package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +0 -35
  282. package/lib/af-connect-section/af-connect-section.component.d.ts +0 -8
  283. package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +0 -15
  284. package/lib/af-connect-select/af-connect-select.component.d.ts +0 -5
  285. package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +0 -14
  286. package/lib/af-connect-tab/af-connect-tab.component.d.ts +0 -9
  287. package/lib/af-connect-table/af-connect-table.component.d.ts +0 -5
  288. package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +0 -25
  289. package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +0 -13
  290. package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +0 -37
  291. package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +0 -16
  292. package/lib/af-connect-tooltip/types.d.ts +0 -1
  293. package/lib/constants/animation.constants.d.ts +0 -13
  294. package/lib/constants/base.constants.d.ts +0 -10
  295. package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +0 -8
  296. package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +0 -21
  297. package/lib/expandable/expandable-container/expandable-container.component.d.ts +0 -8
  298. package/lib/faq/faq/faq.component.d.ts +0 -9
  299. package/lib/faq/faq-item/faq-item.component.d.ts +0 -7
  300. package/lib/faq/image-fallback/image-fallback.component.d.ts +0 -18
  301. package/lib/models/radio.model.d.ts +0 -3
  302. package/lib/services/breakpoint.service.d.ts +0 -9
  303. package/lib/utilities/number.util.d.ts +0 -1
  304. package/shared/pipes/get-initials.d.ts +0 -10
  305. /package/{lib/faq/faqItem.d.ts → projects/af-connect-components/src/lib/faq/faqItem.ts} +0 -0
@@ -0,0 +1,153 @@
1
+ @import '../../styles/breakpoints.scss';
2
+
3
+ :host {
4
+ position: relative;
5
+ }
6
+
7
+ :host(.investments-mobile) {
8
+ .buttons-container {
9
+ margin: auto 0 0;
10
+ }
11
+ }
12
+
13
+ :host(.portfolio-mobile-card-title) {
14
+ border: none;
15
+ }
16
+
17
+ :host(.documents-section-header) {
18
+ .header-container .border-line {
19
+ margin-bottom: 0.75rem;
20
+ }
21
+ }
22
+
23
+ @keyframes colorchange {
24
+ 0% {
25
+ background: var(--secondary-grey-color);
26
+ }
27
+
28
+ 50% {
29
+ background: darken(#fafbfc, 10%);
30
+ }
31
+
32
+ 100% {
33
+ background: var(--secondary-grey-color);
34
+ }
35
+ }
36
+
37
+ @keyframes colorBack {
38
+ 0% {
39
+ background: var(--secondary-grey-color);
40
+ }
41
+
42
+ 50% {
43
+ background: darken(#fafbfc, 10%);
44
+ }
45
+
46
+ 100% {
47
+ background: var(--secondary-grey-color);
48
+ }
49
+ }
50
+
51
+ $animation-time: 0.9s;
52
+ $background-primary: var(--secondary-grey-color);
53
+
54
+ .header-container {
55
+ background: $background-primary;
56
+
57
+ font-family: var(--standard-font-family-hero-new-semibold);
58
+ padding: 1rem 1.75rem;
59
+ min-height: 2.7rem;
60
+ border-radius: var(--section-border-radius);
61
+ align-items: center;
62
+ display: flex;
63
+ flex-direction: column;
64
+ justify-content: center;
65
+
66
+ @include media(tabletTreshold) {
67
+ font-size: 18px;
68
+ }
69
+
70
+ @include media(mobileBreakPointTreshold) {
71
+ padding: 0.5rem 1.25rem;
72
+ min-height: 0px;
73
+ background-color: var(--main-background-color-mobile);
74
+ border: 1px solid var(--neutral-button-color);
75
+ border-radius: 0;
76
+ }
77
+
78
+ &.default {
79
+ font-size: 1.4rem;
80
+ color: var(--primary-dark-teal-color);
81
+
82
+ @include media(mobileBreakPointTreshold) {
83
+ font-size: 1.125rem;
84
+ }
85
+ }
86
+
87
+ &.portfolio {
88
+ font-size: var(--standard-font-size-14);
89
+ color: var(--main-black-color);
90
+ }
91
+
92
+ &.isStatic {
93
+ background-color: $background-primary;
94
+ font-family: var(--standard-font-family-hero-new-bold);
95
+
96
+ @include media(mobileBreakPointTreshold) {
97
+ background: var(--main-white-color);
98
+ border: none;
99
+ padding: 0 1.25rem;
100
+ padding-top: 0.5rem;
101
+ }
102
+ }
103
+
104
+ &.isExpandable {
105
+ cursor: pointer;
106
+ }
107
+ }
108
+
109
+ .section-wrapper {
110
+ align-items: center;
111
+ justify-content: space-between;
112
+ display: flex;
113
+ flex-direction: row;
114
+ width: 100%;
115
+ gap: 0.5rem;
116
+ }
117
+
118
+ .title-container {
119
+ @include media(mobileBreakPointTreshold) {
120
+ max-width: 170px;
121
+ }
122
+ }
123
+
124
+ .expanded {
125
+ animation: colorchange $animation-time;
126
+ }
127
+
128
+ .collapsed {
129
+ animation: colorBack $animation-time;
130
+ }
131
+
132
+ .buttons-container {
133
+ display: flex;
134
+ gap: 1rem;
135
+ margin-left: auto;
136
+
137
+ @include media(mobileBreakPointTreshold) {
138
+ font-size: 11px;
139
+ height: 100%;
140
+ font-family: var(--standard-font-family-hero-new-semibold);
141
+ }
142
+ }
143
+
144
+ .border-line {
145
+ display: none;
146
+
147
+ @include media(mobileBreakPointTreshold) {
148
+ width: 100%;
149
+ border-bottom: 1px solid var(--primary-dark-teal-color);
150
+ display: block;
151
+ margin-top: 8px;
152
+ }
153
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectSectionHeaderComponent } from './af-connect-section-header.component';
4
+
5
+ describe('AfConnectSectionHeaderComponent', () => {
6
+ let component: AfConnectSectionHeaderComponent;
7
+ let fixture: ComponentFixture<AfConnectSectionHeaderComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectSectionHeaderComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectSectionHeaderComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,22 @@
1
+ import { Component, Host, Input, OnInit, Optional, Output, EventEmitter } from '@angular/core';
2
+ import { ExpandableWrapperComponent } from '../expandable/afc-expandable-wrapper/afc-expandable-wrapper.component';
3
+
4
+ @Component({
5
+ selector: 'lib-af-connect-section-header',
6
+ templateUrl: './af-connect-section-header.component.html',
7
+ styleUrls: ['./af-connect-section-header.component.scss']
8
+ })
9
+ export class AfConnectSectionHeaderComponent {
10
+ @Input() title: string;
11
+ @Input() isStatic: boolean = true;
12
+ @Input() variant: 'default' | 'portfolio' = 'default'
13
+ @Output() onClick = new EventEmitter();
14
+
15
+ constructor(@Host() @Optional() public wrapper: ExpandableWrapperComponent) { }
16
+
17
+ ngOnInit(): void { }
18
+
19
+ toggleMobileContent() {
20
+ this.onClick.emit();
21
+ }
22
+ }
@@ -0,0 +1,91 @@
1
+ <!-- <div class="dropdown-collection" [ngClass]="[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]" (click)="toggleDropdown($event)">
2
+
3
+ <div class="field-container">
4
+ <div class="label-container">
5
+ <label *ngIf="label" [ngClass]="[variant]" class="label">
6
+ {{ label }}<span *ngIf="withAsterisk" class="asterisk">*</span>
7
+ </label>
8
+ <afc-form-validation-errors
9
+ [control]="control"
10
+ [fieldText]="errorReferenceText || label"
11
+ ></afc-form-validation-errors>
12
+ </div>
13
+ <div class="input-container">
14
+ <input
15
+ type="text"
16
+ class="field-container-input"
17
+ [placeholder]="(isReadOnly && readOnlyPlaceholder) || placeholder"
18
+ [maxLength]="maxLength"
19
+ [ngClass]="[
20
+ (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',
21
+ size,
22
+ dropdownOpen ? 'dropdown-open' : '',
23
+ control && control.errors && control.dirty && control.touched ? 'hasError' : '',
24
+ filter ? 'filterable' : 'non-filterable'
25
+ ]"
26
+ [disabled]="(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly"
27
+ [(ngModel)]="currentValue"
28
+ (blur)="onBlur()"
29
+ (ngModelChange)="onChange($event)"
30
+ />
31
+ <div class="arrow-container" *ngIf="variant !== 'read-only'">
32
+ <afc-expandable-arrow
33
+ endPosition="top"
34
+ startPosition="bottom"
35
+ animationSpeed="fast"
36
+ ngClass="arrow"
37
+ [isExpanded]="dropdownOpen"
38
+ >
39
+ </afc-expandable-arrow>
40
+ </div>
41
+ </div>
42
+ </div>
43
+
44
+ <ng-container *ngTemplateOutlet="dropdownListItems; context: { type }"></ng-container>
45
+ </div>
46
+
47
+ <ng-template #dropdownListItems let-type="type">
48
+ <ul
49
+ class="dropdown-list"
50
+ role="listbox"
51
+ aria-expanded="false"
52
+ [@selectAnimation]="dropdownOpen ? 'expanded' : 'collapsed'"
53
+ [ngClass]="{ 'dropdown-open': dropdownOpen }"
54
+ >
55
+ <ng-container
56
+ *ngIf="filteredOptions.length !== 0; else noDropdownData"
57
+ [ngTemplateOutlet]="virtualScroll"
58
+ ></ng-container>
59
+ </ul>
60
+ </ng-template>
61
+
62
+ <ng-template #virtualScroll>
63
+ <cdk-virtual-scroll-viewport
64
+ class="select-menu-inner"
65
+ [appendOnly]="true"
66
+ [itemSize]="SizeEnum[size]"
67
+ [style.height.px]="itemsShown * SizeEnum[size]"
68
+ [minBufferPx]="itemsShown * SizeEnum[size]"
69
+ [maxBufferPx]="itemsShown * SizeEnum[size]"
70
+ >
71
+ <div
72
+ class="list-item-container"
73
+ *cdkVirtualFor="let option of filteredOptions"
74
+ [ngClass]="[currentValue === option ? 'selected' : '', size]"
75
+ (click)="select(option)"
76
+ >
77
+ <img
78
+ height="14"
79
+ width="26"
80
+ *ngIf="(type === 'country' || type === 'country-code') && option['countryCode']"
81
+ [src]="'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase"
82
+ />
83
+ <li tabindex="0" role="option" [innerHTML]="valueField && textField ? option[textField] : option"></li>
84
+ </div>
85
+ </cdk-virtual-scroll-viewport>
86
+ </ng-template>
87
+
88
+ <ng-template #noDropdownData>
89
+ <div class="dropdown-no-data">No Data</div>
90
+ </ng-template>
91
+ -->
@@ -0,0 +1,242 @@
1
+ @import '../../styles/breakpoints.scss';
2
+
3
+ :host {
4
+ font-family: var(--standard-font-family-hero-new);
5
+ font-size: 0.875rem;
6
+ color: var(--main-black-color);
7
+ min-width: 5.2rem;
8
+
9
+ &[size='large'] {
10
+ width: 100%;
11
+ }
12
+ }
13
+
14
+ ul {
15
+ overflow: hidden;
16
+ }
17
+
18
+ .dropdown-collection {
19
+ max-width: 26rem;
20
+ position: relative;
21
+ cursor: pointer;
22
+
23
+ &.small {
24
+ .arrow {
25
+ right: 10px;
26
+ }
27
+ }
28
+
29
+ &.large {
30
+ width: 100%;
31
+ max-width: 100%;
32
+
33
+ &.disabled {
34
+ pointer-events: none;
35
+ }
36
+ }
37
+ }
38
+
39
+ .label {
40
+ cursor: pointer;
41
+ .asterisk {
42
+ color: var(--primary-orange-mobile-color);
43
+ }
44
+
45
+ &.large {
46
+ // color: var(--neutral-anchor-color);
47
+ margin-bottom: 3px;
48
+ }
49
+ }
50
+
51
+ .dropdown-list {
52
+ display: block;
53
+ background: var(--main-white-color);
54
+ list-style: none;
55
+ box-shadow: 0px 5px 8px #00000029;
56
+ position: absolute;
57
+ bottom: 0;
58
+ left: 0;
59
+ padding: 0;
60
+ z-index: 10;
61
+ right: 0;
62
+ margin: 0;
63
+ transform: translateY(100%);
64
+ z-index: 1001;
65
+
66
+ .list-item-container {
67
+ display: flex;
68
+ align-items: center;
69
+ gap: 0.5rem;
70
+ padding: 0.5rem 0.5rem 0.5rem 18px;
71
+ cursor: pointer;
72
+ color: var(--select-grey-color);
73
+ border: 2px solid transparent;
74
+ box-sizing: border-box;
75
+
76
+ &:hover,
77
+ &:focus {
78
+ transition-property: color, background-color;
79
+ transition-duration: 1.1s;
80
+ border: 2px solid lighten($color: #47b6c4, $amount: 35);
81
+ border-radius: 2px;
82
+ background: lighten($color: #47b6c4, $amount: 35);
83
+ outline: none;
84
+ color: var(--footer-dark-black-color);
85
+ }
86
+
87
+ &.empty-option {
88
+ min-height: 20px;
89
+ }
90
+
91
+ &.small {
92
+ gap: 0.2rem;
93
+ padding: 0.5rem 0 0.5rem 2px;
94
+ }
95
+
96
+ &.large {
97
+ padding: 11px 11px 11px 20px;
98
+ }
99
+ }
100
+
101
+ .dropdown-no-data {
102
+ height: 3rem;
103
+ font-size: 1rem;
104
+ display: flex;
105
+ align-items: center;
106
+ justify-content: center;
107
+ color: var(--neutral-anchor-color);
108
+ }
109
+ }
110
+
111
+ input {
112
+ transition-property: outline-color, background-color;
113
+ transition-duration: 200ms;
114
+
115
+ &:focus {
116
+ outline: transparent;
117
+ }
118
+
119
+ &::placeholder {
120
+ color: var(--main-grey-color);
121
+ opacity: 0.7;
122
+ }
123
+
124
+ &.field-container-input {
125
+ font-family: var(--standard-font-family-hero-new);
126
+ font-size: 0.875rem;
127
+ padding: 11px 2rem 11px 1.25rem;
128
+
129
+ width: 100%;
130
+ background-color: var(--main-white-color);
131
+ color: var(--main-black-color);
132
+ border: 1px solid transparent;
133
+ transition-property: border-color, background-color;
134
+ transition-duration: 200ms;
135
+
136
+ &.hasError {
137
+ border: 1px solid var(--primary-connected-orange-color) !important;
138
+ background-color: var(--neutral-inline-error-color);
139
+ }
140
+
141
+ &.filterable {
142
+ pointer-events: all;
143
+ }
144
+
145
+ &.non-filterable {
146
+ pointer-events: none;
147
+ }
148
+
149
+ &.read-only {
150
+ background-color: var(--neutral-button-color);
151
+ color: var(--warm-grey-color);
152
+ }
153
+
154
+ @include media(mobileBreakPointTreshold) {
155
+ font-size: 13px;
156
+ border-radius: var(--input-border-radius);
157
+ box-shadow: var(--input-box-shadow);
158
+ }
159
+ }
160
+
161
+ &.not-disabled {
162
+ color: var(--warm-grey-color);
163
+ border-color: var(--primary-dark-teal-color);
164
+
165
+ &:disabled {
166
+ border: none;
167
+ color: var(--warm-grey-color);
168
+ background-color: var(--neutral-button-color);
169
+ }
170
+ }
171
+
172
+ &.small {
173
+ padding-left: 0.5rem;
174
+ }
175
+
176
+ &.large {
177
+ color: var(--main-black-color);
178
+ padding: 15px;
179
+ border: none;
180
+
181
+ &:disabled {
182
+ background-color: var(--neutral-button-color);
183
+ color: var(--warm-grey-color);
184
+ }
185
+ }
186
+
187
+ &.dropdown-open {
188
+ border-color: transparent;
189
+ box-shadow: 0px 5px 8px #00000029;
190
+ }
191
+
192
+ &.read-only {
193
+ background-color: var(--neutral-button-color);
194
+ }
195
+ }
196
+
197
+ .field-container {
198
+ display: flex;
199
+ flex-direction: column;
200
+ gap: 0.5rem;
201
+
202
+ & .label-container {
203
+ display: flex;
204
+ justify-content: space-between;
205
+ }
206
+ }
207
+
208
+ cdk-virtual-scroll-viewport {
209
+ &::-webkit-scrollbar {
210
+ width: 0.4rem;
211
+ }
212
+
213
+ &::-webkit-scrollbar-thumb {
214
+ border-radius: 2px;
215
+ background-color: var(--primary-balanced-teal-color);
216
+ outline: none;
217
+ }
218
+ }
219
+
220
+ .input-container {
221
+ display: flex;
222
+ }
223
+
224
+ .arrow-container {
225
+ position: relative;
226
+ display: flex;
227
+ min-height: 100%;
228
+ justify-content: center;
229
+ align-items: center;
230
+
231
+ .arrow {
232
+ position: absolute;
233
+ cursor: pointer;
234
+ right: 10px;
235
+ }
236
+ }
237
+
238
+ :host(.countryCode) {
239
+ .label-container {
240
+ flex-direction: column;
241
+ }
242
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectSelectComponent } from './af-connect-select.component';
4
+
5
+ describe('AfConnectSelectComponent', () => {
6
+ let component: AfConnectSelectComponent;
7
+ let fixture: ComponentFixture<AfConnectSelectComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectSelectComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectSelectComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,10 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'lib-af-connect-select',
5
+ templateUrl: './af-connect-select.component.html',
6
+ styleUrls: ['./af-connect-select.component.scss']
7
+ })
8
+ export class AfConnectSelectComponent {
9
+
10
+ }
@@ -0,0 +1,6 @@
1
+ <img
2
+ [class]="['svg', size]"
3
+ [ngStyle]="{ width: customSize, height: customSize }"
4
+ (click)="this.clickBtn.emit(emitValue)"
5
+ [src]="src"
6
+ />
@@ -0,0 +1,66 @@
1
+ @import '../../styles/breakpoints.scss';
2
+
3
+ :host {
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ }
8
+
9
+ img {
10
+ background: none;
11
+ border: none;
12
+ padding: 0px;
13
+ cursor: pointer;
14
+ }
15
+
16
+ .svg {
17
+ &.small {
18
+ $size: 14px;
19
+ width: $size;
20
+ height: $size;
21
+ }
22
+
23
+ &.medium {
24
+ $size: 30px;
25
+ width: $size;
26
+ height: $size;
27
+
28
+ @include media(mobileBreakPointTreshold) {
29
+ width: 20px;
30
+ height: 20px;
31
+ }
32
+ }
33
+
34
+ &.large {
35
+ $size: 42px;
36
+ width: $size;
37
+ height: $size;
38
+
39
+ @include media(tabletTreshold) {
40
+ &.large {
41
+ width: 32px;
42
+ height: 32px;
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ :host(.external-info) {
49
+ @include media(tabletTreshold) {
50
+ $size: 14px;
51
+ img {
52
+ width: $size;
53
+ height: $size;
54
+ }
55
+ }
56
+ }
57
+
58
+ :host(.external-investments) {
59
+ @include media(tabletTreshold) {
60
+ $size: 16px;
61
+ img {
62
+ width: $size;
63
+ height: $size;
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectSvgButtonComponent } from './af-connect-svg-button.component';
4
+
5
+ describe('AfConnectSvgButtonComponent', () => {
6
+ let component: AfConnectSvgButtonComponent;
7
+ let fixture: ComponentFixture<AfConnectSvgButtonComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectSvgButtonComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectSvgButtonComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,19 @@
1
+ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
+ import { EmitValue } from '../constants/base.constants';
3
+
4
+ @Component({
5
+ selector: 'lib-af-connect-svg-button',
6
+ templateUrl: './af-connect-svg-button.component.html',
7
+ styleUrls: ['./af-connect-svg-button.component.scss']
8
+ })
9
+ export class AfConnectSvgButtonComponent implements OnInit {
10
+ @Input() src: string;
11
+ @Input() emitValue: EmitValue;
12
+ @Input() customSize: number;
13
+ @Input() size: 'large' | 'medium' | 'small' | 'none' = 'none';
14
+
15
+ @Output() clickBtn = new EventEmitter<string | null>();
16
+ constructor() {}
17
+
18
+ ngOnInit(): void {}
19
+ }
@@ -0,0 +1,4 @@
1
+ <div [hidden]="!isActive">
2
+ <ng-content></ng-content>
3
+ </div>
4
+