aeb-ui-kit 0.0.116 → 0.0.117

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 (580) hide show
  1. package/.babelrc +3 -0
  2. package/.ci/Chart/values.dev.yaml +17 -0
  3. package/.ci/Chart/values.mr.yaml +12 -0
  4. package/.ci/Chart/values.prod.yaml +23 -0
  5. package/.ci/Components/UI.yml +28 -0
  6. package/.ci/Deployments.yml +69 -0
  7. package/.editorconfig +16 -0
  8. package/.gitlab-ci.yml +35 -0
  9. package/.storybook/main.js +11 -0
  10. package/.storybook/manager.js +11 -0
  11. package/.storybook/preview.js +4 -0
  12. package/.storybook/tsconfig.json +20 -0
  13. package/.storybook/typings.d.ts +4 -0
  14. package/Dockerfile +12 -0
  15. package/README.md +15 -22
  16. package/angular.json +51 -0
  17. package/debug.log +1 -0
  18. package/documentation.json +12382 -0
  19. package/gulpfile.babel.js +23 -0
  20. package/nginx/default.conf +27 -0
  21. package/package-lock.json +24398 -0
  22. package/package.json +85 -21
  23. package/projects/aeb-ui-kit/README.md +24 -0
  24. package/projects/aeb-ui-kit/karma.conf.js +32 -0
  25. package/projects/aeb-ui-kit/ng-package.json +8 -0
  26. package/projects/aeb-ui-kit/package.json +13 -0
  27. package/{assets → projects/aeb-ui-kit/src/assets}/fonts/LICENSE.txt +0 -0
  28. package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Bold.ttf +0 -0
  29. package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Medium.ttf +0 -0
  30. package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Regular.ttf +0 -0
  31. package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_blue.svg +0 -0
  32. package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_gray.svg +0 -0
  33. package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_turquoise.svg +0 -0
  34. package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_white.svg +0 -0
  35. package/{assets → projects/aeb-ui-kit/src/assets}/images/attach/passport_primary.svg +0 -0
  36. package/{assets → projects/aeb-ui-kit/src/assets}/images/attach/passport_secondary.svg +0 -0
  37. package/{assets → projects/aeb-ui-kit/src/assets}/images/background-search.png +0 -0
  38. package/{assets → projects/aeb-ui-kit/src/assets}/images/clip.svg +0 -0
  39. package/{assets → projects/aeb-ui-kit/src/assets}/images/clip_blue.svg +0 -0
  40. package/{assets → projects/aeb-ui-kit/src/assets}/images/close.svg +0 -0
  41. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-add.svg +0 -0
  42. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-back.svg +0 -0
  43. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-blocked.svg +0 -0
  44. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-checked.svg +0 -0
  45. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-download.svg +0 -0
  46. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-edit.svg +0 -0
  47. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-failure.svg +0 -0
  48. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-more.svg +0 -0
  49. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-rework.svg +0 -0
  50. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-spinner.svg +0 -0
  51. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-subtract.svg +0 -0
  52. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-success.svg +0 -0
  53. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-time.svg +0 -0
  54. package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-trash.svg +0 -0
  55. package/{assets → projects/aeb-ui-kit/src/assets}/images/info.svg +0 -0
  56. package/{assets → projects/aeb-ui-kit/src/assets}/images/nt-icon.svg +0 -0
  57. package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/icon_failure.svg +0 -0
  58. package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/icon_time.svg +0 -0
  59. package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/success_icon.svg +0 -0
  60. package/{index.d.ts → projects/aeb-ui-kit/src/index.ts} +0 -0
  61. package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.html +41 -0
  62. package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.scss +53 -0
  63. package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.spec.ts +25 -0
  64. package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.ts +44 -0
  65. package/projects/aeb-ui-kit/src/lib/accordion/accordion.module.ts +14 -0
  66. package/projects/aeb-ui-kit/src/lib/accordion/accordion.stories.ts +41 -0
  67. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.html +9 -0
  68. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.scss +13 -0
  69. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.spec.ts +25 -0
  70. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.ts +19 -0
  71. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.module.ts +14 -0
  72. package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.stories.ts +73 -0
  73. package/projects/aeb-ui-kit/src/lib/aeb-ui-kit.module.ts +116 -0
  74. package/projects/aeb-ui-kit/src/lib/button/button.component.html +6 -0
  75. package/projects/aeb-ui-kit/src/lib/button/button.component.scss +125 -0
  76. package/projects/aeb-ui-kit/src/lib/button/button.component.spec.ts +24 -0
  77. package/projects/aeb-ui-kit/src/lib/button/button.component.ts +33 -0
  78. package/projects/aeb-ui-kit/src/lib/button/button.module.ts +10 -0
  79. package/projects/aeb-ui-kit/src/lib/button/button.stories.ts +45 -0
  80. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.html +34 -0
  81. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.scss +173 -0
  82. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.spec.ts +24 -0
  83. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.ts +112 -0
  84. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.module.ts +10 -0
  85. package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.stories.ts +64 -0
  86. package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.directive.ts +47 -0
  87. package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.module.ts +10 -0
  88. package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.stories.ts +29 -0
  89. package/projects/aeb-ui-kit/src/lib/comment/comment.component.html +139 -0
  90. package/projects/aeb-ui-kit/src/lib/comment/comment.component.scss +190 -0
  91. package/projects/aeb-ui-kit/src/lib/comment/comment.component.spec.ts +25 -0
  92. package/projects/aeb-ui-kit/src/lib/comment/comment.component.ts +93 -0
  93. package/projects/aeb-ui-kit/src/lib/comment/comment.module.ts +22 -0
  94. package/projects/aeb-ui-kit/src/lib/comment/comment.stories.ts +141 -0
  95. package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.html +32 -0
  96. package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.scss +92 -0
  97. package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.ts +28 -0
  98. package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.module.ts +16 -0
  99. package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.stories.ts +54 -0
  100. package/{lib/credit-item-card/models/IProductItemCard.d.ts → projects/aeb-ui-kit/src/lib/credit-item-card/models/IProductItemCard.ts} +1 -0
  101. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.html +141 -0
  102. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.scss +70 -0
  103. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.spec.ts +25 -0
  104. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.ts +161 -0
  105. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.html +34 -0
  106. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.scss +66 -0
  107. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.spec.ts +25 -0
  108. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.ts +53 -0
  109. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.html +34 -0
  110. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.scss +55 -0
  111. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.spec.ts +25 -0
  112. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.ts +94 -0
  113. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.html +65 -0
  114. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.scss +45 -0
  115. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.spec.ts +25 -0
  116. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.ts +423 -0
  117. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.module.ts +43 -0
  118. package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.stories.ts +137 -0
  119. package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.spec.ts +8 -0
  120. package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.ts +13 -0
  121. package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.spec.ts +16 -0
  122. package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.ts +218 -0
  123. package/projects/aeb-ui-kit/src/lib/datepicker/services/mask-utils.service.ts +69 -0
  124. package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.html +48 -0
  125. package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.scss +117 -0
  126. package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.ts +115 -0
  127. package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.module.ts +11 -0
  128. package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.stories.ts +47 -0
  129. package/projects/aeb-ui-kit/src/lib/field-slider/directives/numbers-only.directive.ts +64 -0
  130. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.html +30 -0
  131. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.scss +77 -0
  132. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.spec.ts +25 -0
  133. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.ts +168 -0
  134. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.module.ts +24 -0
  135. package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.stories.ts +35 -0
  136. package/projects/aeb-ui-kit/src/lib/field-slider/pipes/replace.pipe.ts +16 -0
  137. package/projects/aeb-ui-kit/src/lib/file-attach/directives/drag-and-drop.directive.ts +41 -0
  138. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.html +56 -0
  139. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.scss +149 -0
  140. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.spec.ts +25 -0
  141. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.ts +67 -0
  142. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.module.ts +14 -0
  143. package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.stories.ts +45 -0
  144. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.html +9 -0
  145. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.scss +20 -0
  146. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.spec.ts +25 -0
  147. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.ts +32 -0
  148. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.html +10 -0
  149. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.scss +5 -0
  150. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.spec.ts +25 -0
  151. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.ts +47 -0
  152. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.module.ts +15 -0
  153. package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.stories.ts +106 -0
  154. package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.html +31 -0
  155. package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.scss +41 -0
  156. package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.spec.ts +25 -0
  157. package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.ts +51 -0
  158. package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.html +14 -0
  159. package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.scss +42 -0
  160. package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.spec.ts +25 -0
  161. package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.ts +67 -0
  162. package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.html +46 -0
  163. package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.scss +74 -0
  164. package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.spec.ts +25 -0
  165. package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.ts +29 -0
  166. package/projects/aeb-ui-kit/src/lib/footer/footer.component.html +16 -0
  167. package/projects/aeb-ui-kit/src/lib/footer/footer.component.scss +14 -0
  168. package/projects/aeb-ui-kit/src/lib/footer/footer.component.spec.ts +25 -0
  169. package/projects/aeb-ui-kit/src/lib/footer/footer.component.ts +26 -0
  170. package/projects/aeb-ui-kit/src/lib/footer/footer.module.ts +22 -0
  171. package/projects/aeb-ui-kit/src/lib/footer/footer.stories.ts +97 -0
  172. package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.html +9 -0
  173. package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.scss +181 -0
  174. package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.ts +83 -0
  175. package/projects/aeb-ui-kit/src/lib/form-field/form-field.module.ts +14 -0
  176. package/projects/aeb-ui-kit/src/lib/form-field/form-field.stories.ts +95 -0
  177. package/projects/aeb-ui-kit/src/lib/form-field/icon.directive.ts +8 -0
  178. package/projects/aeb-ui-kit/src/lib/form-field/input.directive.ts +68 -0
  179. package/projects/aeb-ui-kit/src/lib/form-field/label.directive.ts +8 -0
  180. package/projects/aeb-ui-kit/src/lib/form-field/textarea.directive.ts +68 -0
  181. package/projects/aeb-ui-kit/src/lib/header/header.component.html +1 -0
  182. package/projects/aeb-ui-kit/src/lib/header/header.component.scss +43 -0
  183. package/projects/aeb-ui-kit/src/lib/header/header.component.spec.ts +25 -0
  184. package/projects/aeb-ui-kit/src/lib/header/header.component.ts +20 -0
  185. package/projects/aeb-ui-kit/src/lib/header/header.module.ts +11 -0
  186. package/projects/aeb-ui-kit/src/lib/header/header.stories.ts +27 -0
  187. package/projects/aeb-ui-kit/src/lib/header/logo.component.html +20 -0
  188. package/projects/aeb-ui-kit/src/lib/header/logo.component.scss +6 -0
  189. package/projects/aeb-ui-kit/src/lib/header/logo.component.spec.ts +25 -0
  190. package/projects/aeb-ui-kit/src/lib/header/logo.component.ts +16 -0
  191. package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.html +15 -0
  192. package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.scss +25 -0
  193. package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.spec.ts +25 -0
  194. package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.ts +31 -0
  195. package/projects/aeb-ui-kit/src/lib/heading/heading.component.html +3 -0
  196. package/projects/aeb-ui-kit/src/lib/heading/heading.component.scss +6 -0
  197. package/projects/aeb-ui-kit/src/lib/heading/heading.component.spec.ts +25 -0
  198. package/projects/aeb-ui-kit/src/lib/heading/heading.component.ts +18 -0
  199. package/projects/aeb-ui-kit/src/lib/heading/heading.module.ts +14 -0
  200. package/projects/aeb-ui-kit/src/lib/heading/heading.stories.ts +174 -0
  201. package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.html +18 -0
  202. package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.scss +20 -0
  203. package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.spec.ts +25 -0
  204. package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.ts +30 -0
  205. package/projects/aeb-ui-kit/src/lib/label/label.component.html +10 -0
  206. package/projects/aeb-ui-kit/src/lib/label/label.component.scss +23 -0
  207. package/projects/aeb-ui-kit/src/lib/label/label.component.spec.ts +25 -0
  208. package/projects/aeb-ui-kit/src/lib/label/label.component.ts +13 -0
  209. package/projects/aeb-ui-kit/src/lib/label/label.module.ts +10 -0
  210. package/projects/aeb-ui-kit/src/lib/label/label.stories.ts +21 -0
  211. package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.html +28 -0
  212. package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.scss +113 -0
  213. package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.ts +59 -0
  214. package/projects/aeb-ui-kit/src/lib/new-button/new-button.module.ts +12 -0
  215. package/projects/aeb-ui-kit/src/lib/new-button/new-button.stories.ts +107 -0
  216. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.html +67 -0
  217. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.scss +96 -0
  218. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.spec.ts +25 -0
  219. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.ts +202 -0
  220. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.module.ts +18 -0
  221. package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.stories.ts +118 -0
  222. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.html +46 -0
  223. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.scss +54 -0
  224. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.spec.ts +25 -0
  225. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.ts +46 -0
  226. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.module.ts +12 -0
  227. package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.stories.ts +127 -0
  228. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.html +7 -0
  229. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.scss +93 -0
  230. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.spec.ts +25 -0
  231. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.ts +20 -0
  232. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.module.ts +19 -0
  233. package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.stories.ts +126 -0
  234. package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.spec.ts +16 -0
  235. package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.ts +59 -0
  236. package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.spec.ts +8 -0
  237. package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.ts +195 -0
  238. package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.html +8 -0
  239. package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.scss +28 -0
  240. package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.spec.ts +25 -0
  241. package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.ts +19 -0
  242. package/projects/aeb-ui-kit/src/lib/news-card/news-card.module.ts +12 -0
  243. package/projects/aeb-ui-kit/src/lib/news-card/news-card.stories.ts +46 -0
  244. package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.html +20 -0
  245. package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.scss +54 -0
  246. package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.ts +34 -0
  247. package/projects/aeb-ui-kit/src/lib/notifications/notifications.module.ts +10 -0
  248. package/projects/aeb-ui-kit/src/lib/notifications/notifications.stories.ts +36 -0
  249. package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.html +110 -0
  250. package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.scss +173 -0
  251. package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.spec.ts +25 -0
  252. package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.ts +191 -0
  253. package/projects/aeb-ui-kit/src/lib/pagination/pagination.module.ts +16 -0
  254. package/projects/aeb-ui-kit/src/lib/pagination/pagination.stories.ts +63 -0
  255. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.html +22 -0
  256. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.scss +35 -0
  257. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.spec.ts +25 -0
  258. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.ts +33 -0
  259. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.spec.ts +8 -0
  260. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.ts +70 -0
  261. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.module.ts +13 -0
  262. package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.stories.ts +211 -0
  263. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.html +26 -0
  264. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.scss +112 -0
  265. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.spec.ts +25 -0
  266. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.ts +69 -0
  267. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.module.ts +14 -0
  268. package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.stories.ts +101 -0
  269. package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.spec.ts +8 -0
  270. package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.ts +13 -0
  271. package/projects/aeb-ui-kit/src/lib/search/search.component.html +85 -0
  272. package/projects/aeb-ui-kit/src/lib/search/search.component.scss +133 -0
  273. package/projects/aeb-ui-kit/src/lib/search/search.component.spec.ts +25 -0
  274. package/projects/aeb-ui-kit/src/lib/search/search.component.ts +80 -0
  275. package/projects/aeb-ui-kit/src/lib/search/search.module.ts +15 -0
  276. package/projects/aeb-ui-kit/src/lib/search/search.stories.ts +118 -0
  277. package/projects/aeb-ui-kit/src/lib/select/option.component.html +5 -0
  278. package/projects/aeb-ui-kit/src/lib/select/option.component.ts +36 -0
  279. package/projects/aeb-ui-kit/src/lib/select/select.component.html +86 -0
  280. package/projects/aeb-ui-kit/src/lib/select/select.component.scss +154 -0
  281. package/projects/aeb-ui-kit/src/lib/select/select.component.ts +133 -0
  282. package/projects/aeb-ui-kit/src/lib/select/select.module.ts +12 -0
  283. package/projects/aeb-ui-kit/src/lib/select/select.stories.ts +40 -0
  284. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.html +53 -0
  285. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.scss +206 -0
  286. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.spec.ts +25 -0
  287. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.ts +31 -0
  288. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.module.ts +10 -0
  289. package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.stories.ts +101 -0
  290. package/projects/aeb-ui-kit/src/lib/slider/pipes/replace.pipe.ts +16 -0
  291. package/projects/aeb-ui-kit/src/lib/slider/slider.component.html +19 -0
  292. package/projects/aeb-ui-kit/src/lib/slider/slider.component.scss +85 -0
  293. package/projects/aeb-ui-kit/src/lib/slider/slider.component.ts +169 -0
  294. package/projects/aeb-ui-kit/src/lib/slider/slider.module.ts +14 -0
  295. package/projects/aeb-ui-kit/src/lib/slider/slider.stories.ts +41 -0
  296. package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.html +19 -0
  297. package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.scss +90 -0
  298. package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.spec.ts +25 -0
  299. package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.ts +13 -0
  300. package/projects/aeb-ui-kit/src/lib/spinner/spinner.module.ts +10 -0
  301. package/projects/aeb-ui-kit/src/lib/spinner/spinner.stories.ts +21 -0
  302. package/projects/aeb-ui-kit/src/lib/table/table.component.html +72 -0
  303. package/projects/aeb-ui-kit/src/lib/table/table.component.scss +52 -0
  304. package/projects/aeb-ui-kit/src/lib/table/table.component.ts +28 -0
  305. package/projects/aeb-ui-kit/src/lib/table/table.model.ts +35 -0
  306. package/projects/aeb-ui-kit/src/lib/table/table.module.ts +11 -0
  307. package/projects/aeb-ui-kit/src/lib/table/table.pipe.ts +25 -0
  308. package/projects/aeb-ui-kit/src/lib/table/table.stories.ts +165 -0
  309. package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.spec.ts +8 -0
  310. package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.ts +16 -0
  311. package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.html +32 -0
  312. package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.scss +46 -0
  313. package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.spec.ts +25 -0
  314. package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.ts +84 -0
  315. package/projects/aeb-ui-kit/src/lib/tabs/tabs.module.ts +14 -0
  316. package/projects/aeb-ui-kit/src/lib/tabs/tabs.stories.ts +83 -0
  317. package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.html +1 -0
  318. package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.scss +22 -0
  319. package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.ts +15 -0
  320. package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.module.ts +12 -0
  321. package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.stories.ts +25 -0
  322. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.html +8 -0
  323. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.scss +274 -0
  324. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.spec.ts +24 -0
  325. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.ts +31 -0
  326. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.module.ts +10 -0
  327. package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.stories.ts +47 -0
  328. package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.html +59 -0
  329. package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.ts +11 -0
  330. package/projects/aeb-ui-kit/src/lib/visa/visa-span.directive.ts +21 -0
  331. package/projects/aeb-ui-kit/src/lib/visa/visa.component.html +8 -0
  332. package/projects/aeb-ui-kit/src/lib/visa/visa.component.scss +89 -0
  333. package/projects/aeb-ui-kit/src/lib/visa/visa.component.ts +21 -0
  334. package/projects/aeb-ui-kit/src/lib/visa/visa.module.ts +24 -0
  335. package/projects/aeb-ui-kit/src/lib/visa/visa.stories.ts +70 -0
  336. package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.html +3 -0
  337. package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.ts +22 -0
  338. package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.html +56 -0
  339. package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.scss +142 -0
  340. package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.ts +97 -0
  341. package/projects/aeb-ui-kit/src/lib/wizard/wizard.module.ts +11 -0
  342. package/projects/aeb-ui-kit/src/lib/wizard/wizard.stories.ts +54 -0
  343. package/{public-api.d.ts → projects/aeb-ui-kit/src/public-api.ts} +41 -0
  344. package/projects/aeb-ui-kit/src/styles/styles.scss +12 -0
  345. package/projects/aeb-ui-kit/src/styles/typography.scss +20 -0
  346. package/{styles.css → projects/aeb-ui-kit/src/styles/variables.scss} +69 -84
  347. package/projects/aeb-ui-kit/src/test.ts +26 -0
  348. package/projects/aeb-ui-kit/tsconfig.lib.json +24 -0
  349. package/projects/aeb-ui-kit/tsconfig.lib.prod.json +7 -0
  350. package/projects/aeb-ui-kit/tsconfig.spec.json +17 -0
  351. package/projects/aeb-ui-kit/tslint.json +17 -0
  352. package/tsconfig.base.json +25 -0
  353. package/tsconfig.json +17 -0
  354. package/tslint.json +140 -0
  355. package/aeb-ui-kit.d.ts +0 -21
  356. package/aeb-ui-kit.metadata.json +0 -1
  357. package/bundles/aeb-ui-kit.umd.js +0 -4828
  358. package/bundles/aeb-ui-kit.umd.js.map +0 -1
  359. package/bundles/aeb-ui-kit.umd.min.js +0 -17
  360. package/bundles/aeb-ui-kit.umd.min.js.map +0 -1
  361. package/esm2015/aeb-ui-kit.js +0 -22
  362. package/esm2015/index.js +0 -2
  363. package/esm2015/lib/accordion/accordion.component.js +0 -35
  364. package/esm2015/lib/accordion/accordion.module.js +0 -15
  365. package/esm2015/lib/action-bar/action-bar.component.js +0 -20
  366. package/esm2015/lib/action-bar/action-bar.module.js +0 -15
  367. package/esm2015/lib/aeb-ui-kit.module.js +0 -119
  368. package/esm2015/lib/button/button.component.js +0 -31
  369. package/esm2015/lib/button/button.module.js +0 -13
  370. package/esm2015/lib/checkbox/checkbox.component.js +0 -97
  371. package/esm2015/lib/checkbox/checkbox.module.js +0 -13
  372. package/esm2015/lib/click-outside/click-outside.directive.js +0 -44
  373. package/esm2015/lib/click-outside/click-outside.module.js +0 -13
  374. package/esm2015/lib/comment/comment.component.js +0 -53
  375. package/esm2015/lib/comment/comment.module.js +0 -25
  376. package/esm2015/lib/credit-item-card/credit-item-card.component.js +0 -26
  377. package/esm2015/lib/credit-item-card/credit-item-card.module.js +0 -17
  378. package/esm2015/lib/credit-item-card/models/IProductItemCard.js +0 -2
  379. package/esm2015/lib/datepicker/datepicker-core/datepicker-core.component.js +0 -135
  380. package/esm2015/lib/datepicker/datepicker-month/datepicker-month.component.js +0 -52
  381. package/esm2015/lib/datepicker/datepicker-tiles/datepicker-tiles.component.js +0 -81
  382. package/esm2015/lib/datepicker/datepicker.component.js +0 -337
  383. package/esm2015/lib/datepicker/datepicker.module.js +0 -43
  384. package/esm2015/lib/datepicker/pipes/date-to-str.pipe.js +0 -13
  385. package/esm2015/lib/datepicker/services/datepicker-utils.service.js +0 -149
  386. package/esm2015/lib/datepicker/services/mask-utils.service.js +0 -61
  387. package/esm2015/lib/dropdown/dropdown.component.js +0 -91
  388. package/esm2015/lib/dropdown/dropdown.module.js +0 -14
  389. package/esm2015/lib/field-slider/directives/numbers-only.directive.js +0 -64
  390. package/esm2015/lib/field-slider/field-slider.component.js +0 -152
  391. package/esm2015/lib/field-slider/field-slider.module.js +0 -25
  392. package/esm2015/lib/field-slider/pipes/replace.pipe.js +0 -15
  393. package/esm2015/lib/file-attach/directives/drag-and-drop.directive.js +0 -40
  394. package/esm2015/lib/file-attach/file-attach.component.js +0 -63
  395. package/esm2015/lib/file-attach/file-attach.module.js +0 -15
  396. package/esm2015/lib/filter-tags/filter-tag/filter-tag.component.js +0 -27
  397. package/esm2015/lib/filter-tags/filter-tags.component.js +0 -33
  398. package/esm2015/lib/filter-tags/filter-tags.module.js +0 -16
  399. package/esm2015/lib/footer/footer-bottom/footer-bottom.component.js +0 -41
  400. package/esm2015/lib/footer/footer-menu/footer-menu.component.js +0 -57
  401. package/esm2015/lib/footer/footer-top/footer-top.component.js +0 -24
  402. package/esm2015/lib/footer/footer.component.js +0 -22
  403. package/esm2015/lib/footer/footer.module.js +0 -23
  404. package/esm2015/lib/form-field/form-field.component.js +0 -73
  405. package/esm2015/lib/form-field/form-field.module.js +0 -17
  406. package/esm2015/lib/form-field/icon.directive.js +0 -11
  407. package/esm2015/lib/form-field/input.directive.js +0 -55
  408. package/esm2015/lib/form-field/label.directive.js +0 -11
  409. package/esm2015/lib/form-field/textarea.directive.js +0 -55
  410. package/esm2015/lib/header/header.component.js +0 -23
  411. package/esm2015/lib/header/header.module.js +0 -14
  412. package/esm2015/lib/header/logo.component.js +0 -18
  413. package/esm2015/lib/heading/breadcrumps/breadcrumps.component.js +0 -26
  414. package/esm2015/lib/heading/heading.component.js +0 -19
  415. package/esm2015/lib/heading/heading.module.js +0 -17
  416. package/esm2015/lib/heading/product-title/product-title.component.js +0 -25
  417. package/esm2015/lib/label/label.component.js +0 -15
  418. package/esm2015/lib/label/label.module.js +0 -13
  419. package/esm2015/lib/new-button/new-button.component.js +0 -51
  420. package/esm2015/lib/new-button/new-button.module.js +0 -13
  421. package/esm2015/lib/new-dropdown/new-dropdown.component.js +0 -162
  422. package/esm2015/lib/new-dropdown/new-dropdown.module.js +0 -21
  423. package/esm2015/lib/new-notifications/new-notifications.component.js +0 -32
  424. package/esm2015/lib/new-notifications/new-notifications.module.js +0 -15
  425. package/esm2015/lib/new-tooltip/new-tooltip.component.js +0 -21
  426. package/esm2015/lib/new-tooltip/new-tooltip.module.js +0 -20
  427. package/esm2015/lib/new-tooltip/services/domservice.service.js +0 -44
  428. package/esm2015/lib/new-tooltip/tooltip.directive.js +0 -146
  429. package/esm2015/lib/news-card/news-card.component.js +0 -17
  430. package/esm2015/lib/news-card/news-card.module.js +0 -15
  431. package/esm2015/lib/notifications/notifications.component.js +0 -24
  432. package/esm2015/lib/notifications/notifications.module.js +0 -13
  433. package/esm2015/lib/pagination/pagination.component.js +0 -154
  434. package/esm2015/lib/pagination/pagination.module.js +0 -19
  435. package/esm2015/lib/pop-up/pop-up.component.js +0 -25
  436. package/esm2015/lib/pop-up/pop-up.directive.js +0 -57
  437. package/esm2015/lib/pop-up/pop-up.module.js +0 -16
  438. package/esm2015/lib/radio-buttons/radio-buttons.component.js +0 -56
  439. package/esm2015/lib/radio-buttons/radio-buttons.module.js +0 -15
  440. package/esm2015/lib/search/highlight.pipe.js +0 -12
  441. package/esm2015/lib/search/search.component.js +0 -56
  442. package/esm2015/lib/search/search.module.js +0 -18
  443. package/esm2015/lib/select/option.component.js +0 -25
  444. package/esm2015/lib/select/select.component.js +0 -108
  445. package/esm2015/lib/select/select.module.js +0 -15
  446. package/esm2015/lib/sidebar/sidebar.component.js +0 -32
  447. package/esm2015/lib/sidebar/sidebar.module.js +0 -13
  448. package/esm2015/lib/slider/pipes/replace.pipe.js +0 -15
  449. package/esm2015/lib/slider/slider.component.js +0 -129
  450. package/esm2015/lib/slider/slider.module.js +0 -17
  451. package/esm2015/lib/spinner/spinner.component.js +0 -15
  452. package/esm2015/lib/spinner/spinner.module.js +0 -13
  453. package/esm2015/lib/table/table.component.js +0 -27
  454. package/esm2015/lib/table/table.model.js +0 -2
  455. package/esm2015/lib/table/table.module.js +0 -14
  456. package/esm2015/lib/table/table.pipe.js +0 -18
  457. package/esm2015/lib/tabs/tab.directive.js +0 -18
  458. package/esm2015/lib/tabs/tabs.component.js +0 -64
  459. package/esm2015/lib/tabs/tabs.module.js +0 -16
  460. package/esm2015/lib/tag-tab/tag-tab.component.js +0 -19
  461. package/esm2015/lib/tag-tab/tag-tab.module.js +0 -13
  462. package/esm2015/lib/tooltip/tooltip.component.js +0 -29
  463. package/esm2015/lib/tooltip/tooltip.module.js +0 -13
  464. package/esm2015/lib/visa/visa-item.component.js +0 -16
  465. package/esm2015/lib/visa/visa-span.directive.js +0 -26
  466. package/esm2015/lib/visa/visa.component.js +0 -15
  467. package/esm2015/lib/visa/visa.module.js +0 -25
  468. package/esm2015/lib/wizard/wizard-step.component.js +0 -33
  469. package/esm2015/lib/wizard/wizard.component.js +0 -80
  470. package/esm2015/lib/wizard/wizard.module.js +0 -14
  471. package/esm2015/public-api.js +0 -96
  472. package/fesm2015/aeb-ui-kit.js +0 -4082
  473. package/fesm2015/aeb-ui-kit.js.map +0 -1
  474. package/lib/accordion/accordion.component.d.ts +0 -10
  475. package/lib/accordion/accordion.module.d.ts +0 -2
  476. package/lib/action-bar/action-bar.component.d.ts +0 -7
  477. package/lib/action-bar/action-bar.module.d.ts +0 -2
  478. package/lib/aeb-ui-kit.module.d.ts +0 -2
  479. package/lib/button/button.component.d.ts +0 -9
  480. package/lib/button/button.module.d.ts +0 -2
  481. package/lib/checkbox/checkbox.component.d.ts +0 -29
  482. package/lib/checkbox/checkbox.module.d.ts +0 -2
  483. package/lib/click-outside/click-outside.directive.d.ts +0 -12
  484. package/lib/click-outside/click-outside.module.d.ts +0 -2
  485. package/lib/comment/comment.component.d.ts +0 -36
  486. package/lib/comment/comment.module.d.ts +0 -2
  487. package/lib/credit-item-card/credit-item-card.component.d.ts +0 -10
  488. package/lib/credit-item-card/credit-item-card.module.d.ts +0 -2
  489. package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +0 -38
  490. package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +0 -19
  491. package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +0 -28
  492. package/lib/datepicker/datepicker.component.d.ts +0 -86
  493. package/lib/datepicker/datepicker.module.d.ts +0 -4
  494. package/lib/datepicker/pipes/date-to-str.pipe.d.ts +0 -4
  495. package/lib/datepicker/services/datepicker-utils.service.d.ts +0 -29
  496. package/lib/datepicker/services/mask-utils.service.d.ts +0 -7
  497. package/lib/dropdown/dropdown.component.d.ts +0 -39
  498. package/lib/dropdown/dropdown.module.d.ts +0 -2
  499. package/lib/field-slider/directives/numbers-only.directive.d.ts +0 -7
  500. package/lib/field-slider/field-slider.component.d.ts +0 -31
  501. package/lib/field-slider/field-slider.module.d.ts +0 -2
  502. package/lib/field-slider/pipes/replace.pipe.d.ts +0 -4
  503. package/lib/file-attach/directives/drag-and-drop.directive.d.ts +0 -9
  504. package/lib/file-attach/file-attach.component.d.ts +0 -25
  505. package/lib/file-attach/file-attach.module.d.ts +0 -2
  506. package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +0 -9
  507. package/lib/filter-tags/filter-tags.component.d.ts +0 -14
  508. package/lib/filter-tags/filter-tags.module.d.ts +0 -2
  509. package/lib/footer/footer-bottom/footer-bottom.component.d.ts +0 -13
  510. package/lib/footer/footer-menu/footer-menu.component.d.ts +0 -13
  511. package/lib/footer/footer-top/footer-top.component.d.ts +0 -8
  512. package/lib/footer/footer.component.d.ts +0 -7
  513. package/lib/footer/footer.module.d.ts +0 -2
  514. package/lib/form-field/form-field.component.d.ts +0 -16
  515. package/lib/form-field/form-field.module.d.ts +0 -2
  516. package/lib/form-field/icon.directive.d.ts +0 -3
  517. package/lib/form-field/input.directive.d.ts +0 -22
  518. package/lib/form-field/label.directive.d.ts +0 -3
  519. package/lib/form-field/textarea.directive.d.ts +0 -22
  520. package/lib/header/header.component.d.ts +0 -6
  521. package/lib/header/header.module.d.ts +0 -2
  522. package/lib/header/logo.component.d.ts +0 -5
  523. package/lib/heading/breadcrumps/breadcrumps.component.d.ts +0 -8
  524. package/lib/heading/heading.component.d.ts +0 -6
  525. package/lib/heading/heading.module.d.ts +0 -2
  526. package/lib/heading/product-title/product-title.component.d.ts +0 -8
  527. package/lib/label/label.component.d.ts +0 -5
  528. package/lib/label/label.module.d.ts +0 -2
  529. package/lib/new-button/new-button.component.d.ts +0 -38
  530. package/lib/new-button/new-button.module.d.ts +0 -2
  531. package/lib/new-dropdown/new-dropdown.component.d.ts +0 -42
  532. package/lib/new-dropdown/new-dropdown.module.d.ts +0 -2
  533. package/lib/new-notifications/new-notifications.component.d.ts +0 -17
  534. package/lib/new-notifications/new-notifications.module.d.ts +0 -2
  535. package/lib/new-tooltip/new-tooltip.component.d.ts +0 -8
  536. package/lib/new-tooltip/new-tooltip.module.d.ts +0 -2
  537. package/lib/new-tooltip/services/domservice.service.d.ts +0 -12
  538. package/lib/new-tooltip/tooltip.directive.d.ts +0 -47
  539. package/lib/news-card/news-card.component.d.ts +0 -4
  540. package/lib/news-card/news-card.module.d.ts +0 -2
  541. package/lib/notifications/notifications.component.d.ts +0 -12
  542. package/lib/notifications/notifications.module.d.ts +0 -2
  543. package/lib/pagination/pagination.component.d.ts +0 -32
  544. package/lib/pagination/pagination.module.d.ts +0 -2
  545. package/lib/pop-up/pop-up.component.d.ts +0 -9
  546. package/lib/pop-up/pop-up.directive.d.ts +0 -12
  547. package/lib/pop-up/pop-up.module.d.ts +0 -2
  548. package/lib/radio-buttons/radio-buttons.component.d.ts +0 -23
  549. package/lib/radio-buttons/radio-buttons.module.d.ts +0 -2
  550. package/lib/search/highlight.pipe.d.ts +0 -4
  551. package/lib/search/search.component.d.ts +0 -24
  552. package/lib/search/search.module.d.ts +0 -2
  553. package/lib/select/option.component.d.ts +0 -10
  554. package/lib/select/select.component.d.ts +0 -42
  555. package/lib/select/select.module.d.ts +0 -2
  556. package/lib/sidebar/sidebar.component.d.ts +0 -9
  557. package/lib/sidebar/sidebar.module.d.ts +0 -2
  558. package/lib/slider/pipes/replace.pipe.d.ts +0 -4
  559. package/lib/slider/slider.component.d.ts +0 -32
  560. package/lib/slider/slider.module.d.ts +0 -2
  561. package/lib/spinner/spinner.component.d.ts +0 -5
  562. package/lib/spinner/spinner.module.d.ts +0 -2
  563. package/lib/table/table.component.d.ts +0 -9
  564. package/lib/table/table.model.d.ts +0 -31
  565. package/lib/table/table.module.d.ts +0 -2
  566. package/lib/table/table.pipe.d.ts +0 -4
  567. package/lib/tabs/tab.directive.d.ts +0 -6
  568. package/lib/tabs/tabs.component.d.ts +0 -21
  569. package/lib/tabs/tabs.module.d.ts +0 -2
  570. package/lib/tag-tab/tag-tab.component.d.ts +0 -4
  571. package/lib/tag-tab/tag-tab.module.d.ts +0 -2
  572. package/lib/tooltip/tooltip.component.d.ts +0 -8
  573. package/lib/tooltip/tooltip.module.d.ts +0 -2
  574. package/lib/visa/visa-item.component.d.ts +0 -6
  575. package/lib/visa/visa-span.directive.d.ts +0 -6
  576. package/lib/visa/visa.component.d.ts +0 -5
  577. package/lib/visa/visa.module.d.ts +0 -2
  578. package/lib/wizard/wizard-step.component.d.ts +0 -14
  579. package/lib/wizard/wizard.component.d.ts +0 -19
  580. package/lib/wizard/wizard.module.d.ts +0 -2
@@ -0,0 +1,67 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'aeb-file-attach',
5
+ templateUrl: './file-attach.component.html',
6
+ styleUrls: ['./file-attach.component.scss']
7
+ })
8
+ export class FileAttachComponent {
9
+
10
+ @Input()
11
+ public title: string = '';
12
+ /**
13
+ * showing document list
14
+ */
15
+ @Input()
16
+ public documentList: string = '';
17
+ @Input()
18
+ public maxFilesLength: number = 10;
19
+ @Input()
20
+ public showPassportInput: boolean = true;
21
+ @Input()
22
+ public showDocumentList: boolean = true;
23
+ @Input()
24
+ public layoutMod: 'salaryPortal';
25
+ /**
26
+ * message for file type
27
+ */
28
+ @Input()
29
+ public fileTypeMessage: string = '';
30
+
31
+ @Output()
32
+ public changeListEvent$: EventEmitter<File[]> = new EventEmitter();
33
+ @Output()
34
+ public maxFilesLengthError$: EventEmitter<void> = new EventEmitter();
35
+
36
+ public files: File[] = [];
37
+
38
+ public isFileInFocus: boolean = false;
39
+
40
+ constructor() { }
41
+
42
+ public clearFileList(): void {
43
+ this.files = [];
44
+ this.changeListEvent$.emit(this.files);
45
+ }
46
+
47
+ public getCaseByNumber(word): string {
48
+ const num = this.files.length;
49
+ const cases = [2, 0, 1, 1, 1, 2];
50
+ return word[ (num % 100 > 4 && num % 100 < 20 ) ? 2 : cases[(num % 10 < 5) ? num % 10 : 5] ];
51
+ }
52
+
53
+ public chooseFile(file: File): void {
54
+ console.log(file)
55
+ if (this.files.length >= this.maxFilesLength) {
56
+ this.maxFilesLengthError$.emit();
57
+ } else {
58
+ this.files.push(file);
59
+ this.changeListEvent$.emit(this.files);
60
+ }
61
+ }
62
+
63
+ public checkFileInFocus(isInFocus: boolean): void {
64
+ this.isFileInFocus = isInFocus;
65
+ }
66
+
67
+ }
@@ -0,0 +1,14 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FileAttachComponent } from './file-attach.component';
4
+ import { NewButtonModule } from '../new-button/new-button.module';
5
+ import { DragAndDropDirective } from './directives/drag-and-drop.directive';
6
+
7
+
8
+
9
+ @NgModule({
10
+ declarations: [FileAttachComponent, DragAndDropDirective],
11
+ imports: [CommonModule, NewButtonModule],
12
+ exports: [FileAttachComponent],
13
+ })
14
+ export class FileAttachModule { }
@@ -0,0 +1,45 @@
1
+ import { FileAttachModule } from './file-attach.module';
2
+ import { FileAttachComponent } from './file-attach.component';
3
+ import { boolean, select, text } from '@storybook/addon-knobs';
4
+
5
+ import { moduleMetadata } from '@storybook/angular';
6
+ import { Story } from '@storybook/angular/types-6-0';
7
+
8
+ const options = [
9
+ 'None',
10
+ 'salaryPortal',
11
+ 'simple'
12
+ ]
13
+
14
+ export default {
15
+ title: 'Components/File attach',
16
+ component: FileAttachComponent,
17
+ decorators: [
18
+ moduleMetadata({
19
+ imports: [FileAttachModule]
20
+ })
21
+ ]
22
+ };
23
+
24
+ export const Default: Story<FileAttachComponent> = () => ({
25
+ component: FileAttachComponent,
26
+ template: `
27
+ <div style="background: #ffffff; width: 680px; height: 300px; display: flex; justify-content: space-around; align-items: center">
28
+ <aeb-file-attach
29
+ [title]="title"
30
+ [showDocumentList]="showDocumentList"
31
+ [showPassportInput]="showPassportInput"
32
+ [documentList]="'Справка 2НДФЛ, справка о размере пенсии и иные документы, подтверждающие доход'"
33
+ [fileTypeMessage]="fileTypeMsg"
34
+ [layoutMod]="layoutMod"
35
+ ></aeb-file-attach>
36
+ </div>
37
+ `,
38
+ props: {
39
+ showDocumentList: boolean('Show document list', true),
40
+ showPassportInput: boolean('Show passport input', true),
41
+ layoutMod: select('Layout mod', options, 'None'),
42
+ fileTypeMsg: text('File type message', '.xls'),
43
+ title: text('Title', 'Справки о доходах')
44
+ }
45
+ });
@@ -0,0 +1,9 @@
1
+ <div
2
+ class="aeb-filter-tag"
3
+ [ngClass]="{
4
+ 'aeb-filter-tag--active': active
5
+ }"
6
+ (click)="clickHandler(value)"
7
+ >
8
+ <ng-content></ng-content>
9
+ </div>
@@ -0,0 +1,20 @@
1
+ .aeb-filter-tag {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ padding: 10px 24px;
6
+ border-radius: 8px;
7
+ box-sizing: border-box;
8
+
9
+ border: 2px solid var(--gray-8c);
10
+ color: var(--gray-8c);
11
+ font-size: 18px;
12
+ cursor: pointer;
13
+ user-select: none;
14
+
15
+ &--active {
16
+ background-color: var(--darkblue);
17
+ border: 2px solid var(--darkblue);
18
+ color: var(--white);
19
+ }
20
+ }
@@ -0,0 +1,25 @@
1
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { FilterTagComponent } from './filter-tag.component';
4
+
5
+ describe('FilterTagComponent', () => {
6
+ let component: FilterTagComponent;
7
+ let fixture: ComponentFixture<FilterTagComponent>;
8
+
9
+ beforeEach(async(() => {
10
+ TestBed.configureTestingModule({
11
+ declarations: [ FilterTagComponent ]
12
+ })
13
+ .compileComponents();
14
+ }));
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(FilterTagComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });
@@ -0,0 +1,32 @@
1
+ import {
2
+ Component,
3
+ OnInit,
4
+ Input,
5
+ ViewEncapsulation,
6
+ Output,
7
+ EventEmitter
8
+ } from '@angular/core';
9
+
10
+ @Component({
11
+ selector: 'aeb-filter-tag',
12
+ templateUrl: './filter-tag.component.html',
13
+ styleUrls: ['./filter-tag.component.scss'],
14
+ encapsulation: ViewEncapsulation.None
15
+ })
16
+ export class FilterTagComponent implements OnInit {
17
+
18
+ @Input ('value') value: string;
19
+ @Input ('active') active: boolean = false;
20
+
21
+ @Output ('tagHandler') tagHandler: EventEmitter<string> = new EventEmitter();
22
+
23
+ constructor() { }
24
+
25
+ clickHandler(tag: string): void {
26
+ this.tagHandler.emit(tag);
27
+ }
28
+
29
+ ngOnInit(): void {
30
+ }
31
+
32
+ }
@@ -0,0 +1,10 @@
1
+ <div class="aeb-filter-tags">
2
+ <aeb-filter-tag
3
+ *ngFor="let tag of tags"
4
+ [value]="tag.value"
5
+ [active]="filterValue.includes(tag.value)"
6
+ (tagHandler)="tagHandler($event)"
7
+ >
8
+ {{tag.label}}
9
+ </aeb-filter-tag>
10
+ </div>
@@ -0,0 +1,5 @@
1
+ .aeb-filter-tags {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ gap: 20px;
5
+ }
@@ -0,0 +1,25 @@
1
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { FilterTagsComponent } from './filter-tags.component';
4
+
5
+ describe('FilterTagsComponent', () => {
6
+ let component: FilterTagsComponent;
7
+ let fixture: ComponentFixture<FilterTagsComponent>;
8
+
9
+ beforeEach(async(() => {
10
+ TestBed.configureTestingModule({
11
+ declarations: [ FilterTagsComponent ]
12
+ })
13
+ .compileComponents();
14
+ }));
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(FilterTagsComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });
@@ -0,0 +1,47 @@
1
+ import {
2
+ Component,
3
+ OnInit,
4
+ Input,
5
+ ViewEncapsulation,
6
+ Output,
7
+ EventEmitter
8
+ } from '@angular/core';
9
+
10
+ type tag = {
11
+ value: string;
12
+ label: string;
13
+ }
14
+
15
+ @Component({
16
+ selector: 'aeb-filter-tags',
17
+ templateUrl: './filter-tags.component.html',
18
+ styleUrls: ['./filter-tags.component.scss'],
19
+ encapsulation: ViewEncapsulation.None
20
+ })
21
+ export class FilterTagsComponent implements OnInit {
22
+
23
+ @Input ('tags') tags: tag[];
24
+
25
+ @Input ('filterValue') filterValue: string[] = [ 'misc' ];
26
+
27
+ @Output ('change') change: EventEmitter<string[]> = new EventEmitter();
28
+
29
+ tagHandler(tag: string): void {
30
+
31
+ if (this.filterValue.includes(tag)) {
32
+ this.filterValue = this.filterValue.filter(item => item !== tag);
33
+
34
+ } else {
35
+ this.filterValue = [ ...this.filterValue, tag ];
36
+
37
+ }
38
+
39
+ this.change.emit(this.filterValue);
40
+ }
41
+
42
+ constructor() { }
43
+
44
+ ngOnInit(): void {
45
+ }
46
+
47
+ }
@@ -0,0 +1,15 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FilterTagsComponent } from './filter-tags.component';
4
+ import { FilterTagComponent } from './filter-tag/filter-tag.component';
5
+
6
+
7
+
8
+ @NgModule({
9
+ declarations: [FilterTagsComponent, FilterTagComponent],
10
+ imports: [
11
+ CommonModule
12
+ ],
13
+ exports: [ FilterTagComponent, FilterTagsComponent ]
14
+ })
15
+ export class FilterTagsModule { }
@@ -0,0 +1,106 @@
1
+ import { withDesign } from 'storybook-addon-designs';
2
+ import { FilterTagsModule } from './filter-tags.module';
3
+ import { FilterTagsComponent } from './filter-tags.component';
4
+ import { action } from '@storybook/addon-actions';
5
+
6
+ import { Component, Input } from '@angular/core';
7
+
8
+ import { moduleMetadata } from '@storybook/angular';
9
+ import { Story } from '@storybook/angular/types-6-0';
10
+
11
+
12
+ const tags = [
13
+ {
14
+ value: 'tag-one',
15
+ label: 'Первый тэг'
16
+ },
17
+ {
18
+ value: 'tag-two',
19
+ label: 'Второй тэг'
20
+ },
21
+ {
22
+ value: 'tag-three',
23
+ label: 'Третий тэг'
24
+ },
25
+ {
26
+ value: 'tag-four',
27
+ label: 'Четвёртый тэг'
28
+ },
29
+ {
30
+ value: 'tag-five',
31
+ label: 'Пятый тэг'
32
+ },
33
+ {
34
+ value: 'tag-six',
35
+ label: 'Шестой тэг'
36
+ },
37
+ {
38
+ value: 'tag-seven',
39
+ label: 'Седьмой тэг'
40
+ },
41
+ {
42
+ value: 'tag-eight',
43
+ label: 'Восьмой тэг'
44
+ },
45
+ {
46
+ value: 'tag-nine',
47
+ label: 'Девятый тэг'
48
+ },
49
+ {
50
+ value: 'tag-ten',
51
+ label: 'Десятый тэг'
52
+ },
53
+ ];
54
+
55
+ @Component({
56
+ selector: 'test-component',
57
+ template: `
58
+ <aeb-filter-tags
59
+ [tags]="tags"
60
+ [filterValue]="filterValues"
61
+ (change)="changeHandler($event)"
62
+ >
63
+ </aeb-filter-tags>
64
+ `
65
+ })
66
+ class TestComponent {
67
+ constructor () {}
68
+
69
+ @Input ('tags') tags: string[];
70
+
71
+ filterValues: string[] = [];
72
+
73
+ changeHandler(value: string[]): void {
74
+ action('[Filter value]: ')(value);
75
+ }
76
+ }
77
+
78
+ export default {
79
+ title: 'Components/Filter tags',
80
+ component: FilterTagsComponent,
81
+ decorators: [
82
+ moduleMetadata({
83
+ imports: [FilterTagsModule],
84
+ declarations: [TestComponent]
85
+ }),
86
+ withDesign
87
+ ]
88
+ };
89
+
90
+ export const Default: Story<FilterTagsComponent> = () => ({
91
+ component: FilterTagsComponent,
92
+ template: `
93
+ <test-component [tags]="tags">
94
+ </test-component>
95
+ `,
96
+ props: {
97
+ tags
98
+ }
99
+ });
100
+
101
+ Default.parameters = {
102
+ design: {
103
+ type: 'figma',
104
+ url: 'https://www.figma.com/file/THaYMLbry68fxOz8A5Orhh/AEB.Web.UI?node-id=856%3A2459'
105
+ }
106
+ }
@@ -0,0 +1,31 @@
1
+ <div #content>
2
+ <ng-content></ng-content>
3
+ </div>
4
+ <div *ngIf="!hasContent" class="aeb-footer-bottom">
5
+ <div class="aeb-footer-bottom__rights">
6
+ © 2020 АКБ «Алмазэргиэнбанк» АО. Генеральная лицензия ЦБ РФ №2602 от 08.06.2015
7
+ </div>
8
+ <div class="aeb-footer-bottom__soc-networks">
9
+ <a href="#" class="aeb-footer-bottom__soc-icon">
10
+ <svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M21.777 7.91776H18.1189C18.1105 7.91776 18.1029 7.91776 18.0953 7.91944C14.4018 7.93123 13.9202 10.5232 13.9185 12.7893C13.913 12.8105 13.9101 12.8323 13.9101 12.8542V14.4449H11.3837C11.3102 14.4451 11.2397 14.4745 11.1878 14.5266C11.1359 14.5787 11.1067 14.6493 11.1067 14.7228V18.6453C11.1067 18.7994 11.2305 18.9232 11.3837 18.9232H13.9101V27.5296C13.9097 27.5663 13.9167 27.6027 13.9305 27.6367C13.9443 27.6707 13.9647 27.7016 13.9906 27.7277C14.0164 27.7538 14.0471 27.7745 14.081 27.7886C14.1149 27.8027 14.1512 27.81 14.188 27.81H17.8755C17.9121 27.8099 17.9483 27.8025 17.982 27.7884C18.0157 27.7743 18.0463 27.7537 18.0721 27.7277C18.0978 27.7017 18.1182 27.6709 18.132 27.6371C18.1458 27.6032 18.1528 27.567 18.1526 27.5304V18.9241H21.7762C21.8499 18.9241 21.9205 18.8948 21.9727 18.8427C22.0248 18.7906 22.0541 18.7199 22.0541 18.6462V14.7228C22.0541 14.6491 22.0248 14.5784 21.9727 14.5263C21.9205 14.4742 21.8499 14.4449 21.7762 14.4449H17.8755V12.3354H21.7762C21.8499 12.3354 21.9205 12.3062 21.9727 12.254C22.0248 12.2019 22.0541 12.1312 22.0541 12.0575V8.19649C22.0541 8.12294 22.0249 8.05238 21.973 8.00029C21.921 7.9482 21.8506 7.91882 21.777 7.9186V7.91776Z" fill="white"/>
12
+ <circle cx="17" cy="17" r="16" fill-rule="evenodd" stroke="white" stroke-width="2"/>
13
+ </svg>
14
+ </a>
15
+ <a href="#" class="aeb-footer-bottom__soc-icon">
16
+ <svg width="34" height="34" viewBox="0 0 34 34" fill="none" xmlns="http://www.w3.org/2000/svg">
17
+ <circle cx="17" cy="17" r="16" fill-rule="evenodd" stroke="white" stroke-width="2"/>
18
+ <path d="M20.1579 8.78358H13.8421C10.936 8.78358 8.57892 11.2038 8.57892 14.1891V20.6758C8.57892 23.6602 10.936 26.0813 13.8421 26.0813H20.1579C23.064 26.0813 25.421 23.6602 25.421 20.6749V14.1899C25.421 11.2038 23.064 8.78358 20.1579 8.78358ZM23.8421 20.6758C23.8421 22.7617 22.1899 24.4594 20.1579 24.4594H13.8421C11.8109 24.4594 10.1579 22.7617 10.1579 20.6758V14.1891C10.1579 12.1023 11.8109 10.4055 13.8421 10.4055H20.1579C22.1899 10.4055 23.8421 12.1023 23.8421 14.1891V20.6758Z" fill="white"/>
19
+ <path d="M17 13.1078C14.675 13.1078 12.7895 15.0446 12.7895 17.432C12.7895 19.8202 14.675 21.7562 17 21.7562C19.3251 21.7562 21.2105 19.8202 21.2105 17.432C21.2105 15.0438 19.3251 13.1078 17 13.1078ZM17 20.1352C15.5491 20.1352 14.3684 18.9225 14.3684 17.432C14.3684 15.9415 15.5491 14.7288 17 14.7288C18.451 14.7288 19.6316 15.9415 19.6316 17.432C19.6316 18.9225 18.451 20.1352 17 20.1352Z" fill="white"/>
20
+ <path d="M21.6307 13.5165C22.0958 13.5165 22.4729 13.1394 22.4729 12.6743C22.4729 12.2093 22.0958 11.8322 21.6307 11.8322C21.1657 11.8322 20.7886 12.2093 20.7886 12.6743C20.7886 13.1394 21.1657 13.5165 21.6307 13.5165Z" fill="white"/>
21
+ </svg>
22
+ </a>
23
+ </div>
24
+ <a
25
+ class="aeb-footer-bottom__link"
26
+ *ngFor="let link of links"
27
+ [href]="link.link"
28
+ >
29
+ {{link.name}}
30
+ </a>
31
+ </div>
@@ -0,0 +1,41 @@
1
+ .aeb-footer-bottom {
2
+ width: 100%;
3
+ padding: 24px 0;
4
+ box-sizing: border-box;
5
+ border-bottom: 1px solid rgba($color: #FFF, $alpha: 0.1);
6
+ position: relative;
7
+
8
+ @media screen and (max-width: 1000px) {
9
+ padding-left: 16px;
10
+ }
11
+
12
+ &__rights {
13
+ color: rgba($color: #FFF, $alpha: 0.2);
14
+ font-size: 16px;
15
+ }
16
+
17
+ &__link {
18
+ display: block;
19
+ text-decoration: none;
20
+ color: var(--white);
21
+ font-size: 12px;
22
+ margin-top: 12px;
23
+ }
24
+
25
+ &__soc-networks {
26
+ position: absolute;
27
+ top: 16px;
28
+ right: 0;
29
+
30
+ @media screen and (max-width: 1000px) {
31
+ position: static;
32
+ margin-top: 16px;
33
+ }
34
+ }
35
+
36
+ &__soc-icon {
37
+ &:not(:last-child) {
38
+ margin-right: 24px;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,25 @@
1
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { FooterBottomComponent } from './footer-bottom.component';
4
+
5
+ describe('FooterBottomComponent', () => {
6
+ let component: FooterBottomComponent;
7
+ let fixture: ComponentFixture<FooterBottomComponent>;
8
+
9
+ beforeEach(async(() => {
10
+ TestBed.configureTestingModule({
11
+ declarations: [ FooterBottomComponent ]
12
+ })
13
+ .compileComponents();
14
+ }));
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(FooterBottomComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });
@@ -0,0 +1,51 @@
1
+ import {
2
+ Component,
3
+ OnInit,
4
+ ViewChild,
5
+ ViewEncapsulation,
6
+ ElementRef,
7
+ Input
8
+ } from '@angular/core';
9
+
10
+ type link = {
11
+ name: string;
12
+ link: string;
13
+ }
14
+
15
+ @Component({
16
+ selector: 'aeb-footer-bottom',
17
+ templateUrl: './footer-bottom.component.html',
18
+ styleUrls: ['./footer-bottom.component.scss'],
19
+ encapsulation: ViewEncapsulation.None
20
+ })
21
+ export class FooterBottomComponent implements OnInit {
22
+
23
+ @Input ('links') links: link[] = [
24
+ {
25
+ name: 'Информация о максимальных процентных ставках по вкладам физических лиц',
26
+ link: '#'
27
+ },
28
+ {
29
+ name: 'Раскрытие информации профессиональным участником рынка ценных бумаг',
30
+ link: '#'
31
+ },
32
+ {
33
+ name: 'Раскрытие информации на сайте информационного агенства АО «СКРИН»',
34
+ link: '#'
35
+ },
36
+ {
37
+ name: 'Информация о лицах, под контролем либо значительным влиянием которых находится банк',
38
+ link: '#'
39
+ }
40
+ ]
41
+
42
+ @ViewChild('content', { read: ElementRef, static: true }) content: ElementRef;
43
+ constructor() { }
44
+
45
+ hasContent: boolean = false;
46
+
47
+ ngOnInit() {
48
+ this.hasContent = !!this.content.nativeElement.innerHTML;
49
+ }
50
+
51
+ }
@@ -0,0 +1,14 @@
1
+ <div #content>
2
+ <ng-content></ng-content>
3
+ </div>
4
+ <div *ngIf="!hasContent" class="aeb-footer-menu">
5
+ <div class="aeb-footer-menu__wrapper">
6
+ <a
7
+ class="aeb-footer-menu__item"
8
+ *ngFor="let item of items"
9
+ [href]="item.link"
10
+ >
11
+ {{item.name}}
12
+ </a>
13
+ </div>
14
+ </div>
@@ -0,0 +1,42 @@
1
+ .aeb-footer-menu {
2
+ width: 100%;
3
+ position: relative;
4
+ border-bottom: 1px solid rgba($color: #FFF, $alpha: 0.1);
5
+ padding: 24px 0;
6
+ box-sizing: border-box;
7
+ display: flex;
8
+
9
+ @media screen and (max-width: 1000px) {
10
+ flex-direction: column;
11
+ align-items: center;
12
+ padding-left: 32px;
13
+ }
14
+
15
+ &__wrapper {
16
+ box-sizing: border-box;
17
+ @media screen and (max-width: 1000px) {
18
+ display: flex;
19
+ flex-direction: column;
20
+ align-items: flex-start;
21
+ width: 271px;
22
+ }
23
+ }
24
+
25
+ &__item {
26
+ font-size: 18px;
27
+ color: var(--white);
28
+ text-decoration: none;
29
+
30
+ &:not(:last-child) {
31
+ margin-right: 35px;
32
+ }
33
+
34
+ @media screen and (max-width: 1000px) {
35
+ margin-right: 0 !important;
36
+
37
+ &:not(:last-child) {
38
+ margin-bottom: 24px;
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,25 @@
1
+ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { FooterMenuComponent } from './footer-menu.component';
4
+
5
+ describe('FooterMenuComponent', () => {
6
+ let component: FooterMenuComponent;
7
+ let fixture: ComponentFixture<FooterMenuComponent>;
8
+
9
+ beforeEach(async(() => {
10
+ TestBed.configureTestingModule({
11
+ declarations: [ FooterMenuComponent ]
12
+ })
13
+ .compileComponents();
14
+ }));
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(FooterMenuComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });