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,34 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from '@angular/core';
2
- import { Subscription, interval, take } from 'rxjs';
3
-
4
- @Component({
5
- selector: 'lib-af-connect-progress-bar',
6
- templateUrl: './af-connect-progress-bar.component.html',
7
- styleUrls: ['./af-connect-progress-bar.component.scss']
8
- })
9
- export class AfConnectProgressBarComponent {
10
- constructor(private cdr: ChangeDetectorRef) {}
11
- public progressBarTreshold = 30;
12
- public progressCounter = 0;
13
- public minimumProgressAnimation = 30;
14
- @Input() withProgressAnimation = false;
15
- public subscription = new Subscription();
16
-
17
- @Input() progress: number;
18
- @Input() primaryColor: 'primary-green' | 'primary-orange' = 'primary-green';
19
- @Input() secondaryColor: 'orange' | 'transparent' | 'grey' = 'grey';
20
-
21
- public ngAfterViewInit(): void {
22
- this.minimumProgressAnimation = this.progress < this.progressBarTreshold ? this.progressBarTreshold : this.progress;
23
- interval(11)
24
- .pipe(take(this.minimumProgressAnimation || 100))
25
- .subscribe(() => {
26
- if (!this.withProgressAnimation) {
27
- this.progressCounter = this.progress;
28
- } else {
29
- this.progressCounter++;
30
- }
31
- this.cdr.detectChanges();
32
- });
33
- }
34
- }
@@ -1,28 +0,0 @@
1
- <div
2
- class="field-container"
3
- [ngClass]="{ 'label-before': labelPosition === 'before', 'size-box': size === 'box', checked: checked, disabled: disabled }"
4
- [ngStyle]="{ 'flex-direction': itemOrder === 'left-to-right' ? 'row' : 'row-reverse' }"
5
- >
6
- <div [ngClass]="['radio-container', variant]">
7
- <input
8
- #input
9
- type="radio"
10
- class="input"
11
- [id]="inputId"
12
- [checked]="checked"
13
- [disabled]="disabled"
14
- [attr.value]="value"
15
- (change)="onChange($event)"
16
- (blur)="onBlur()"
17
- />
18
- <div class="touch-target" (click)="onTouchTargetClick($event)"></div>
19
- <div class="radio-visualization">
20
- <span [class]="['outer-circle', variant]"></span>
21
- <span *ngIf="variant === 'default'" class="inner-circle"></span>
22
- <span *ngIf="variant === 'checkbox' || variant === 'cube'" class="check-mark"></span>
23
- </div>
24
- </div>
25
- <label class="label" [for]="inputId">
26
- <ng-content></ng-content>
27
- </label>
28
- </div>
@@ -1,204 +0,0 @@
1
- .field-container {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
-
6
- &.label-before {
7
- flex-direction: row-reverse;
8
- justify-content: flex-end;
9
- }
10
-
11
- &.size-box {
12
- padding: 1.25rem;
13
- justify-content: space-between;
14
- border-radius: 5px;
15
- box-shadow: 0px 1px 5px var(--box-shadow-black-color);
16
- outline: 1px solid transparent;
17
-
18
- &.checked {
19
- outline-color: var(--primary-dark-teal-color);
20
- transition: outline-color 200ms;
21
-
22
- &.disabled {
23
- outline-color: var(--disabled-radio-color);
24
- }
25
- }
26
-
27
- .label {
28
- font-size: 1rem;
29
- }
30
- }
31
- }
32
-
33
- .radio-container {
34
- position: relative;
35
- flex: 0 0 auto;
36
- box-sizing: content-box;
37
- width: 22px;
38
- height: 22px;
39
-
40
- .touch-target {
41
- position: absolute;
42
- z-index: 10;
43
- inset: 0;
44
- cursor: pointer;
45
- }
46
- }
47
-
48
- .radio-visualization {
49
- width: 22px;
50
- height: 22px;
51
- z-index: 2;
52
- inset: 0;
53
-
54
- .inner-circle,
55
- .outer-circle {
56
- position: absolute;
57
- z-index: 3;
58
- display: inline-block;
59
-
60
- &.checkbox {
61
- border-radius: 50%;
62
- }
63
-
64
- &.cube {
65
- border-radius: 20%;
66
- }
67
- }
68
-
69
- .outer-circle {
70
- box-sizing: border-box;
71
- width: 100%;
72
- height: 100%;
73
- top: 0;
74
- left: 0;
75
- border: 1px solid transparent;
76
- background-color: var(--neutral-button-color);
77
- transition-property: border-color, background-color;
78
- transition-duration: 250ms;
79
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
80
- }
81
-
82
- .inner-circle {
83
- top: 50%;
84
- left: 50%;
85
- transform: translate(-50%, -50%) scale(0);
86
- width: 10px;
87
- height: 10px;
88
- background-color: var(--primary-connected-orange-color);
89
- transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
90
- }
91
-
92
- .check-mark {
93
- position: absolute;
94
- z-index: 3;
95
- display: inline-block;
96
- top: 5px;
97
- left: 12px;
98
- width: 2px;
99
- height: 12px;
100
- background-color: transparent;
101
- border-radius: 1px;
102
- transform: rotate(35deg);
103
-
104
- &::before {
105
- content: '';
106
- position: absolute;
107
- top: 8px;
108
- right: 3px;
109
- display: inline-block;
110
- width: 2px;
111
- height: 6px;
112
- border-radius: 1px;
113
- background-color: transparent;
114
- transform: rotate(-80deg);
115
- }
116
- }
117
- }
118
-
119
- .radio-container.checkbox,
120
- .radio-container.cube {
121
- .outer-circle {
122
- border-color: var(--primary-dark-teal-color);
123
- background-color: var(--main-white-color);
124
- }
125
- }
126
-
127
- .input {
128
- appearance: none;
129
- opacity: 0;
130
- margin: 0;
131
-
132
- &:disabled~.touch-target {
133
- cursor: auto;
134
- pointer-events: none;
135
- }
136
- }
137
-
138
- .default .input {
139
- &:checked~.radio-visualization .outer-circle {
140
- border-color: var(--primary-connected-orange-color);
141
- background-color: var(--radio-background-color);
142
- }
143
-
144
- &:checked~.radio-visualization .inner-circle {
145
- transform: translate(-50%, -50%) scale(1);
146
- }
147
-
148
- &:disabled~.radio-visualization .outer-circle {
149
- background-color: var(--neutral-button-color);
150
- border-color: transparent;
151
- }
152
-
153
- &:disabled:checked~.radio-visualization .inner-circle {
154
- background-color: var(--disabled-radio-color);
155
- }
156
- }
157
-
158
- .checkbox .input,
159
- .cube .input {
160
- &:checked~.radio-visualization {
161
- & .outer-circle {
162
- background-color: var(--primary-dark-teal-color);
163
- }
164
-
165
- & .check-mark {
166
- background-color: var(--main-white-color);
167
- }
168
-
169
- & .check-mark::before {
170
- background-color: var(--main-white-color);
171
- }
172
- }
173
-
174
- &:disabled~.radio-visualization .outer-circle {
175
- background-color: var(--neutral-button-color);
176
- border-color: var(--neutral-button-color);
177
- }
178
-
179
- &:disabled:checked~.radio-visualization {
180
- & .check-mark {
181
- background-color: var(--disabled-radio-color);
182
- }
183
-
184
- & .check-mark::before {
185
- background-color: var(--disabled-radio-color);
186
- }
187
- }
188
- }
189
-
190
- .cube .input {
191
- &:checked~.radio-visualization {
192
- & .outer-circle {
193
- background-color: var(--primary-connected-orange-color);
194
- border: none;
195
- }
196
- }
197
- }
198
-
199
- .label {
200
- cursor: inherit;
201
- font-size: 0.875rem;
202
- font-family: var(--standard-font-family-hero-new);
203
- color: var(--secondary-space-color);
204
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AfConnectRadioButtonComponent } from './af-connect-radio-button.component';
4
-
5
- describe('AfConnectRadioButtonComponent', () => {
6
- let component: AfConnectRadioButtonComponent;
7
- let fixture: ComponentFixture<AfConnectRadioButtonComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ AfConnectRadioButtonComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AfConnectRadioButtonComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,101 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { AfConnectRadioGroupComponent } from '../af-connect-radio-group/af-connect-radio-group.component';
3
- import { RadioButtonLabelPosition, RadioButtonSize, RadioButtonVariant } from '../models/radio.model';
4
-
5
- // Increasing integer for generating unique ids for all afc-radio-button instances.
6
- let nextUniqueId = 0;
7
-
8
- @Component({
9
- selector: 'lib-af-connect-radio-button',
10
- templateUrl: './af-connect-radio-button.component.html',
11
- styleUrls: ['./af-connect-radio-button.component.scss']
12
- })
13
- export class AfConnectRadioButtonComponent {
14
- private _uniqueId: string = `afc-radio-${++nextUniqueId}`;
15
- private _checked: boolean = false;
16
- private _disabled: boolean = false;
17
- private _variant: RadioButtonVariant = 'default';
18
- private _labelPosition: RadioButtonLabelPosition = 'after';
19
- private _size: RadioButtonSize = 'inline';
20
-
21
- @Input() id: string = this._uniqueId;
22
- @Input() value: string;
23
- @Input() itemOrder: 'left-to-right' | 'right-to-left' = 'left-to-right';
24
-
25
- @Input()
26
- get checked(): boolean {
27
- return this._checked;
28
- }
29
- set checked(newCheckedState: boolean) {
30
- if (this._checked !== newCheckedState) {
31
- this._checked = newCheckedState;
32
- if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {
33
- this.radioGroup.selected = this;
34
- }
35
- this.markForCheck();
36
- }
37
- }
38
-
39
- @Input()
40
- get disabled(): boolean {
41
- return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);
42
- }
43
- set disabled(newValue: boolean) {
44
- this._disabled = newValue;
45
- }
46
-
47
- @ViewChild('input') inputElement: ElementRef<HTMLInputElement>;
48
-
49
- constructor(private radioGroup: AfConnectRadioGroupComponent, private changeDetector: ChangeDetectorRef) {}
50
-
51
- get inputId(): string {
52
- return `${this.id}-input`;
53
- }
54
-
55
- get variant(): RadioButtonVariant {
56
- return this._variant;
57
- }
58
-
59
- get labelPosition(): RadioButtonLabelPosition {
60
- return this._labelPosition;
61
- }
62
-
63
- get size(): RadioButtonSize {
64
- return this._size;
65
- }
66
-
67
- ngOnInit() {
68
- if (!this.radioGroup) {
69
- this._variant = 'checkbox';
70
- }
71
- if (this.radioGroup) {
72
- this.checked = this.radioGroup.value === this.value;
73
- this._variant = this.radioGroup.variant;
74
- this._labelPosition = this.radioGroup.labelPosition;
75
- this._size = this.radioGroup.size;
76
- }
77
- }
78
-
79
- markForCheck() {
80
- this.changeDetector.markForCheck();
81
- }
82
-
83
- onTouchTargetClick(event: Event) {
84
- this.onChange(event);
85
-
86
- // Since the click comes from the touch target, we need
87
- // to focus the native input element manually.
88
- this.inputElement.nativeElement.focus();
89
- }
90
-
91
- onBlur(): void {
92
- this.radioGroup.propagateTouch();
93
- }
94
-
95
- onChange(event: Event) {
96
- event.stopPropagation();
97
- if (!this.checked && !this.disabled) {
98
- this.checked = true;
99
- }
100
- }
101
- }
@@ -1,6 +0,0 @@
1
- <span *ngIf="label" class="label">
2
- {{ label }}<span *ngIf="withAsterisk" class="asterisk">*</span>
3
- </span>
4
- <div class="radio-buttons-container" [class.column]="direction === 'column'">
5
- <ng-content></ng-content>
6
- </div>
@@ -1,28 +0,0 @@
1
- :host {
2
- display: flex;
3
- flex-direction: column;
4
- gap: 1rem;
5
- }
6
-
7
- .radio-buttons-container {
8
- display: flex;
9
- flex-wrap: wrap;
10
- gap: 2rem;
11
-
12
- &.column {
13
- flex-direction: column;
14
- gap: 1rem;
15
- }
16
- }
17
-
18
- .label {
19
- cursor: inherit;
20
- display: block;
21
- font-family: var(--standard-font-family-hero-new);
22
- font-size: 12px;
23
- color: var(--main-black-color);
24
-
25
- .asterisk {
26
- color: var(--primary-orange-mobile-color);
27
- }
28
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AfConnectRadioGroupComponent } from './af-connect-radio-group.component';
4
-
5
- describe('AfConnectRadioGroupComponent', () => {
6
- let component: AfConnectRadioGroupComponent;
7
- let fixture: ComponentFixture<AfConnectRadioGroupComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ AfConnectRadioGroupComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AfConnectRadioGroupComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,111 +0,0 @@
1
- import {
2
- ChangeDetectionStrategy,
3
- Component,
4
- ContentChildren,
5
- EventEmitter,
6
- forwardRef,
7
- Input,
8
- Output,
9
- QueryList
10
- } from '@angular/core';
11
- import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
12
- import { AfConnectRadioButtonComponent } from '../af-connect-radio-button/af-connect-radio-button.component';
13
- import { RadioButtonLabelPosition, RadioButtonSize, RadioButtonVariant } from '../models/radio.model';
14
-
15
- @Component({
16
- selector: 'lib-af-connect-radio-group',
17
- templateUrl: './af-connect-radio-group.component.html',
18
- styleUrls: ['./af-connect-radio-group.component.scss'],
19
- changeDetection: ChangeDetectionStrategy.OnPush,
20
- providers: [
21
- {
22
- provide: NG_VALUE_ACCESSOR,
23
- useExisting: forwardRef(() => AfConnectRadioGroupComponent),
24
- multi: true
25
- }
26
- ]
27
- })
28
- export class AfConnectRadioGroupComponent implements ControlValueAccessor {
29
- private _value: string | null;
30
- private _selected: AfConnectRadioButtonComponent | null = null;
31
- private _disabled: boolean = false;
32
- @Input() label: string;
33
- @Input() direction: 'row' | 'column' = 'row';
34
- @Input() withAsterisk: boolean = false;
35
- @Input() variant: RadioButtonVariant = 'default';
36
- @Input() labelPosition: RadioButtonLabelPosition = 'after';
37
- @Input() size: RadioButtonSize = 'inline';
38
-
39
- @Input()
40
- get value(): string | null {
41
- return this._value;
42
- }
43
- set value(newValue: string | null) {
44
- if (this._value !== newValue) {
45
- this._value = newValue;
46
- this.updateRadioButtonsState();
47
- this.propagateChange(this._value);
48
- this.valueChange.emit(this._value);
49
- }
50
- }
51
-
52
- @Input()
53
- get selected() {
54
- return this._selected;
55
- }
56
- set selected(newSelected: AfConnectRadioButtonComponent | null) {
57
- this._selected = newSelected;
58
- this.value = newSelected ? newSelected.value : null;
59
- }
60
-
61
- @Input()
62
- get disabled(): boolean {
63
- return this._disabled;
64
- }
65
- set disabled(newValue: boolean) {
66
- this._disabled = newValue;
67
- this.markRadiosForCheck();
68
- }
69
-
70
- @Output() readonly valueChange: EventEmitter<any> = new EventEmitter();
71
- @ContentChildren(forwardRef(() => AfConnectRadioButtonComponent), { descendants: true })
72
- radios: QueryList<AfConnectRadioButtonComponent>;
73
-
74
- propagateChange: Function = (_: string) => {};
75
- propagateTouch: Function = (_: string) => {};
76
-
77
- writeValue(value: any) {
78
- this.value = value;
79
- }
80
-
81
- registerOnChange(fn: (value: any) => void) {
82
- this.propagateChange = fn;
83
- }
84
-
85
- registerOnTouched(fn: any) {
86
- this.propagateTouch = fn;
87
- }
88
-
89
- setDisabledState?(isDisabled: boolean): void {
90
- this.disabled = isDisabled;
91
- }
92
-
93
- emitChangeEvent(): void {
94
- this.valueChange.emit(this._value);
95
- }
96
-
97
- markRadiosForCheck() {
98
- if (this.radios) {
99
- this.radios.forEach((radio) => radio.markForCheck());
100
- }
101
- }
102
-
103
- private updateRadioButtonsState(): void {
104
- this.radios?.forEach((radio) => {
105
- radio.checked = this._value === radio.value;
106
- if (radio.checked) {
107
- this._selected = radio;
108
- }
109
- });
110
- }
111
- }
@@ -1,8 +0,0 @@
1
- :host {
2
- display: block;
3
- background-color: transparent;
4
- height: fit-content;
5
- opacity: 1;
6
- box-sizing: border-box;
7
- border-radius: var(--section-border-radius);
8
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { AfConnectSectionComponent } from './af-connect-section.component';
4
-
5
- describe('AfConnectSectionComponent', () => {
6
- let component: AfConnectSectionComponent;
7
- let fixture: ComponentFixture<AfConnectSectionComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ AfConnectSectionComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(AfConnectSectionComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,13 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-af-connect-section',
5
- templateUrl: './af-connect-section.component.html',
6
- styleUrls: ['./af-connect-section.component.scss']
7
- })
8
- export class AfConnectSectionComponent implements OnInit {
9
- constructor() { }
10
-
11
- ngOnInit(): void {
12
- }
13
- }
@@ -1,17 +0,0 @@
1
- <div class="header-container" [ngClass]="[
2
- variant,
3
- isStatic ? 'isStatic' : 'isExpandable',
4
- (wrapper && wrapper.isExpanded$ | async) === true ? 'expanded' : '',
5
- (wrapper && wrapper.isExpanded$ | async) === false ? 'collapsed' : ''
6
- ]" (click)="toggleMobileContent()">
7
- <div class="section-wrapper">
8
- <div class="{{variant}}">
9
- {{ title }}
10
- </div>
11
- <ng-content select="[icon]"></ng-content>
12
- <div class="buttons-container">
13
- <ng-content></ng-content>
14
- </div>
15
- </div>
16
- <div *ngIf="isStatic" class="border-line"></div>
17
- </div>