aeb-ui-kit 0.0.118 → 1.0.0

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 (374) hide show
  1. package/README.md +24 -24
  2. package/aeb-ui-kit.d.ts +5 -21
  3. package/assets/fonts/LICENSE.txt +202 -202
  4. package/assets/images/arrow_down/arrow_down_blue.svg +3 -3
  5. package/assets/images/arrow_down/arrow_down_gray.svg +3 -3
  6. package/assets/images/arrow_down/arrow_down_turquoise.svg +3 -3
  7. package/assets/images/arrow_down/arrow_down_white.svg +3 -3
  8. package/assets/images/attach/passport_primary.svg +13 -13
  9. package/assets/images/attach/passport_secondary.svg +15 -15
  10. package/assets/images/clip.svg +3 -3
  11. package/assets/images/clip_blue.svg +3 -3
  12. package/assets/images/close.svg +4 -4
  13. package/assets/images/icon-add.svg +5 -5
  14. package/assets/images/icon-back.svg +3 -3
  15. package/assets/images/icon-blocked.svg +5 -5
  16. package/assets/images/icon-checked.svg +3 -3
  17. package/assets/images/icon-download.svg +4 -4
  18. package/assets/images/icon-edit.svg +5 -5
  19. package/assets/images/icon-failure.svg +5 -5
  20. package/assets/images/icon-more.svg +5 -5
  21. package/assets/images/icon-rework.svg +5 -5
  22. package/assets/images/icon-spinner.svg +9 -9
  23. package/assets/images/icon-subtract.svg +4 -4
  24. package/assets/images/icon-success.svg +4 -4
  25. package/assets/images/icon-time.svg +5 -5
  26. package/assets/images/icon-trash.svg +6 -6
  27. package/assets/images/info.svg +5 -5
  28. package/assets/images/nt-icon.svg +6 -6
  29. package/assets/images/visa/icon_failure.svg +5 -5
  30. package/assets/images/visa/icon_time.svg +5 -5
  31. package/assets/images/visa/success_icon.svg +4 -4
  32. package/esm2020/aeb-ui-kit.mjs +5 -0
  33. package/{esm2015/index.js → esm2020/index.mjs} +2 -2
  34. package/esm2020/lib/accordion/accordion.component.mjs +36 -0
  35. package/esm2020/lib/accordion/accordion.module.mjs +22 -0
  36. package/esm2020/lib/action-bar/action-bar.component.mjs +21 -0
  37. package/esm2020/lib/action-bar/action-bar.module.mjs +22 -0
  38. package/esm2020/lib/aeb-ui-kit.module.mjs +262 -0
  39. package/esm2020/lib/button/button.component.mjs +28 -0
  40. package/esm2020/lib/button/button.module.mjs +18 -0
  41. package/esm2020/lib/checkbox/checkbox.component.mjs +103 -0
  42. package/esm2020/lib/checkbox/checkbox.module.mjs +18 -0
  43. package/esm2020/lib/click-outside/click-outside.directive.mjs +45 -0
  44. package/esm2020/lib/click-outside/click-outside.module.mjs +18 -0
  45. package/esm2020/lib/comment/comment.component.mjs +71 -0
  46. package/esm2020/lib/comment/comment.module.mjs +40 -0
  47. package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +30 -0
  48. package/esm2020/lib/credit-item-card/credit-item-card.module.mjs +26 -0
  49. package/esm2020/lib/credit-item-card/models/IProductItemCard.mjs +2 -0
  50. package/esm2020/lib/datepicker/datepicker-core/datepicker-core.component.mjs +161 -0
  51. package/esm2020/lib/datepicker/datepicker-month/datepicker-month.component.mjs +61 -0
  52. package/esm2020/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +104 -0
  53. package/esm2020/lib/datepicker/datepicker.component.mjs +373 -0
  54. package/esm2020/lib/datepicker/datepicker.module.mjs +65 -0
  55. package/esm2020/lib/datepicker/pipes/date-to-str.pipe.mjs +17 -0
  56. package/{esm2015/lib/datepicker/services/datepicker-utils.service.js → esm2020/lib/datepicker/services/datepicker-utils.service.mjs} +150 -149
  57. package/esm2020/lib/datepicker/services/mask-utils.service.mjs +60 -0
  58. package/esm2020/lib/dropdown/dropdown.component.mjs +99 -0
  59. package/esm2020/lib/dropdown/dropdown.module.mjs +19 -0
  60. package/esm2020/lib/field-slider/directives/numbers-only.directive.mjs +71 -0
  61. package/esm2020/lib/field-slider/field-slider.component.mjs +170 -0
  62. package/esm2020/lib/field-slider/field-slider.module.mjs +38 -0
  63. package/esm2020/lib/field-slider/pipes/replace.pipe.mjs +19 -0
  64. package/esm2020/lib/file-attach/directives/drag-and-drop.directive.mjs +49 -0
  65. package/esm2020/lib/file-attach/file-attach.component.mjs +73 -0
  66. package/esm2020/lib/file-attach/file-attach.module.mjs +20 -0
  67. package/esm2020/lib/filter-tags/filter-tag/filter-tag.component.mjs +30 -0
  68. package/esm2020/lib/filter-tags/filter-tags.component.mjs +37 -0
  69. package/esm2020/lib/filter-tags/filter-tags.module.mjs +23 -0
  70. package/esm2020/lib/footer/footer-bottom/footer-bottom.component.mjs +42 -0
  71. package/esm2020/lib/footer/footer-menu/footer-menu.component.mjs +58 -0
  72. package/esm2020/lib/footer/footer-top/footer-top.component.mjs +25 -0
  73. package/esm2020/lib/footer/footer.component.mjs +24 -0
  74. package/esm2020/lib/footer/footer.module.mjs +33 -0
  75. package/esm2020/lib/form-field/form-field.component.mjs +87 -0
  76. package/esm2020/lib/form-field/form-field.module.mjs +22 -0
  77. package/esm2020/lib/form-field/icon.directive.mjs +14 -0
  78. package/esm2020/lib/form-field/input.directive.mjs +69 -0
  79. package/esm2020/lib/form-field/label.directive.mjs +14 -0
  80. package/esm2020/lib/form-field/textarea.directive.mjs +69 -0
  81. package/esm2020/lib/header/header.component.mjs +22 -0
  82. package/esm2020/lib/header/header.module.mjs +19 -0
  83. package/esm2020/lib/header/logo.component.mjs +15 -0
  84. package/esm2020/lib/heading/breadcrumps/breadcrumps.component.mjs +27 -0
  85. package/esm2020/lib/heading/heading.component.mjs +17 -0
  86. package/esm2020/lib/heading/heading.module.mjs +24 -0
  87. package/esm2020/lib/heading/product-title/product-title.component.mjs +25 -0
  88. package/esm2020/lib/label/label.component.mjs +13 -0
  89. package/esm2020/lib/label/label.module.mjs +18 -0
  90. package/esm2020/lib/new-button/new-button.component.mjs +60 -0
  91. package/esm2020/lib/new-button/new-button.module.mjs +18 -0
  92. package/esm2020/lib/new-dropdown/new-dropdown.component.mjs +185 -0
  93. package/esm2020/lib/new-dropdown/new-dropdown.module.mjs +34 -0
  94. package/esm2020/lib/new-notifications/new-notifications.component.mjs +35 -0
  95. package/esm2020/lib/new-notifications/new-notifications.module.mjs +22 -0
  96. package/esm2020/lib/new-tooltip/new-tooltip.component.mjs +23 -0
  97. package/esm2020/lib/new-tooltip/new-tooltip.module.mjs +27 -0
  98. package/esm2020/lib/new-tooltip/services/domservice.service.mjs +41 -0
  99. package/esm2020/lib/new-tooltip/tooltip.directive.mjs +159 -0
  100. package/esm2020/lib/news-card/news-card.component.mjs +15 -0
  101. package/esm2020/lib/news-card/news-card.module.mjs +22 -0
  102. package/esm2020/lib/notifications/notifications.component.mjs +23 -0
  103. package/esm2020/lib/notifications/notifications.module.mjs +18 -0
  104. package/esm2020/lib/pagination/pagination.component.mjs +167 -0
  105. package/esm2020/lib/pagination/pagination.module.mjs +28 -0
  106. package/esm2020/lib/pop-up/pop-up.component.mjs +27 -0
  107. package/esm2020/lib/pop-up/pop-up.directive.mjs +64 -0
  108. package/esm2020/lib/pop-up/pop-up.module.mjs +23 -0
  109. package/esm2020/lib/radio-buttons/radio-buttons.component.mjs +69 -0
  110. package/esm2020/lib/radio-buttons/radio-buttons.module.mjs +22 -0
  111. package/esm2020/lib/search/highlight.pipe.mjs +16 -0
  112. package/esm2020/lib/search/search.component.mjs +67 -0
  113. package/esm2020/lib/search/search.module.mjs +27 -0
  114. package/esm2020/lib/select/option.component.mjs +27 -0
  115. package/esm2020/lib/select/select.component.mjs +114 -0
  116. package/esm2020/lib/select/select.module.mjs +20 -0
  117. package/esm2020/lib/sidebar/sidebar.component.mjs +32 -0
  118. package/esm2020/lib/sidebar/sidebar.module.mjs +18 -0
  119. package/esm2020/lib/slider/pipes/replace.pipe.mjs +19 -0
  120. package/esm2020/lib/slider/slider.component.mjs +141 -0
  121. package/esm2020/lib/slider/slider.module.mjs +23 -0
  122. package/esm2020/lib/spinner/spinner.component.mjs +13 -0
  123. package/esm2020/lib/spinner/spinner.module.mjs +18 -0
  124. package/esm2020/lib/table/table.component.mjs +30 -0
  125. package/esm2020/lib/table/table.model.mjs +2 -0
  126. package/esm2020/lib/table/table.module.mjs +19 -0
  127. package/esm2020/lib/table/table.pipe.mjs +22 -0
  128. package/esm2020/lib/tabs/tab.directive.mjs +19 -0
  129. package/esm2020/lib/tabs/tabs.component.mjs +78 -0
  130. package/esm2020/lib/tabs/tabs.module.mjs +23 -0
  131. package/esm2020/lib/tag-tab/tag-tab.component.mjs +20 -0
  132. package/esm2020/lib/tag-tab/tag-tab.module.mjs +18 -0
  133. package/esm2020/lib/tooltip/tooltip.component.mjs +24 -0
  134. package/esm2020/lib/tooltip/tooltip.module.mjs +18 -0
  135. package/esm2020/lib/visa/visa-item.component.mjs +16 -0
  136. package/esm2020/lib/visa/visa-span.directive.mjs +31 -0
  137. package/esm2020/lib/visa/visa.component.mjs +13 -0
  138. package/esm2020/lib/visa/visa.module.mjs +36 -0
  139. package/esm2020/lib/wizard/wizard-step.component.mjs +41 -0
  140. package/esm2020/lib/wizard/wizard.component.mjs +83 -0
  141. package/esm2020/lib/wizard/wizard.module.mjs +19 -0
  142. package/esm2020/public-api.mjs +105 -0
  143. package/fesm2015/aeb-ui-kit.mjs +4702 -0
  144. package/fesm2015/aeb-ui-kit.mjs.map +1 -0
  145. package/fesm2020/aeb-ui-kit.mjs +4703 -0
  146. package/fesm2020/aeb-ui-kit.mjs.map +1 -0
  147. package/index.d.ts +1 -1
  148. package/lib/accordion/accordion.component.d.ts +13 -10
  149. package/lib/accordion/accordion.module.d.ts +8 -2
  150. package/lib/action-bar/action-bar.component.d.ts +10 -7
  151. package/lib/action-bar/action-bar.module.d.ts +8 -2
  152. package/lib/aeb-ui-kit.module.d.ts +42 -2
  153. package/lib/button/button.component.d.ts +12 -9
  154. package/lib/button/button.module.d.ts +8 -2
  155. package/lib/checkbox/checkbox.component.d.ts +32 -29
  156. package/lib/checkbox/checkbox.module.d.ts +8 -2
  157. package/lib/click-outside/click-outside.directive.d.ts +16 -12
  158. package/lib/click-outside/click-outside.module.d.ts +8 -2
  159. package/lib/comment/comment.component.d.ts +39 -36
  160. package/lib/comment/comment.module.d.ts +12 -2
  161. package/lib/credit-item-card/credit-item-card.component.d.ts +13 -10
  162. package/lib/credit-item-card/credit-item-card.module.d.ts +9 -2
  163. package/lib/credit-item-card/models/IProductItemCard.d.ts +16 -16
  164. package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +41 -38
  165. package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +22 -19
  166. package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +31 -28
  167. package/lib/datepicker/datepicker.component.d.ts +89 -86
  168. package/lib/datepicker/datepicker.module.d.ts +16 -4
  169. package/lib/datepicker/pipes/date-to-str.pipe.d.ts +7 -4
  170. package/lib/datepicker/services/datepicker-utils.service.d.ts +32 -29
  171. package/lib/datepicker/services/mask-utils.service.d.ts +10 -7
  172. package/lib/dropdown/dropdown.component.d.ts +42 -39
  173. package/lib/dropdown/dropdown.module.d.ts +9 -2
  174. package/lib/field-slider/directives/numbers-only.directive.d.ts +10 -7
  175. package/lib/field-slider/field-slider.component.d.ts +34 -31
  176. package/lib/field-slider/field-slider.module.d.ts +12 -2
  177. package/lib/field-slider/pipes/replace.pipe.d.ts +7 -4
  178. package/lib/file-attach/directives/drag-and-drop.directive.d.ts +12 -9
  179. package/lib/file-attach/file-attach.component.d.ts +28 -25
  180. package/lib/file-attach/file-attach.module.d.ts +10 -2
  181. package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +12 -9
  182. package/lib/filter-tags/filter-tags.component.d.ts +17 -14
  183. package/lib/filter-tags/filter-tags.module.d.ts +9 -2
  184. package/lib/footer/footer-bottom/footer-bottom.component.d.ts +16 -13
  185. package/lib/footer/footer-menu/footer-menu.component.d.ts +16 -13
  186. package/lib/footer/footer-top/footer-top.component.d.ts +11 -8
  187. package/lib/footer/footer.component.d.ts +10 -7
  188. package/lib/footer/footer.module.d.ts +11 -2
  189. package/lib/form-field/form-field.component.d.ts +19 -16
  190. package/lib/form-field/form-field.module.d.ts +12 -2
  191. package/lib/form-field/icon.directive.d.ts +6 -3
  192. package/lib/form-field/input.directive.d.ts +25 -22
  193. package/lib/form-field/label.directive.d.ts +6 -3
  194. package/lib/form-field/textarea.directive.d.ts +25 -22
  195. package/lib/header/header.component.d.ts +9 -6
  196. package/lib/header/header.module.d.ts +9 -2
  197. package/lib/header/logo.component.d.ts +8 -5
  198. package/lib/heading/breadcrumps/breadcrumps.component.d.ts +11 -8
  199. package/lib/heading/heading.component.d.ts +9 -6
  200. package/lib/heading/heading.module.d.ts +10 -2
  201. package/lib/heading/product-title/product-title.component.d.ts +11 -8
  202. package/lib/label/label.component.d.ts +8 -5
  203. package/lib/label/label.module.d.ts +8 -2
  204. package/lib/new-button/new-button.component.d.ts +41 -38
  205. package/lib/new-button/new-button.module.d.ts +8 -2
  206. package/lib/new-dropdown/new-dropdown.component.d.ts +45 -42
  207. package/lib/new-dropdown/new-dropdown.module.d.ts +11 -2
  208. package/lib/new-notifications/new-notifications.component.d.ts +22 -17
  209. package/lib/new-notifications/new-notifications.module.d.ts +8 -2
  210. package/lib/new-tooltip/new-tooltip.component.d.ts +11 -8
  211. package/lib/new-tooltip/new-tooltip.module.d.ts +9 -2
  212. package/lib/new-tooltip/services/domservice.service.d.ts +15 -12
  213. package/lib/new-tooltip/tooltip.directive.d.ts +50 -47
  214. package/lib/news-card/news-card.component.d.ts +7 -4
  215. package/lib/news-card/news-card.module.d.ts +8 -2
  216. package/lib/notifications/notifications.component.d.ts +15 -12
  217. package/lib/notifications/notifications.module.d.ts +8 -2
  218. package/lib/pagination/pagination.component.d.ts +35 -32
  219. package/lib/pagination/pagination.module.d.ts +9 -2
  220. package/lib/pop-up/pop-up.component.d.ts +12 -9
  221. package/lib/pop-up/pop-up.directive.d.ts +15 -12
  222. package/lib/pop-up/pop-up.module.d.ts +9 -2
  223. package/lib/radio-buttons/radio-buttons.component.d.ts +26 -23
  224. package/lib/radio-buttons/radio-buttons.module.d.ts +8 -2
  225. package/lib/search/highlight.pipe.d.ts +7 -4
  226. package/lib/search/search.component.d.ts +27 -24
  227. package/lib/search/search.module.d.ts +10 -2
  228. package/lib/select/option.component.d.ts +13 -10
  229. package/lib/select/select.component.d.ts +45 -42
  230. package/lib/select/select.module.d.ts +10 -2
  231. package/lib/sidebar/sidebar.component.d.ts +12 -9
  232. package/lib/sidebar/sidebar.module.d.ts +8 -2
  233. package/lib/slider/pipes/replace.pipe.d.ts +7 -4
  234. package/lib/slider/slider.component.d.ts +35 -32
  235. package/lib/slider/slider.module.d.ts +9 -2
  236. package/lib/spinner/spinner.component.d.ts +8 -5
  237. package/lib/spinner/spinner.module.d.ts +8 -2
  238. package/lib/table/table.component.d.ts +12 -9
  239. package/lib/table/table.model.d.ts +31 -31
  240. package/lib/table/table.module.d.ts +9 -2
  241. package/lib/table/table.pipe.d.ts +7 -4
  242. package/lib/tabs/tab.directive.d.ts +9 -6
  243. package/lib/tabs/tabs.component.d.ts +24 -21
  244. package/lib/tabs/tabs.module.d.ts +9 -2
  245. package/lib/tag-tab/tag-tab.component.d.ts +7 -4
  246. package/lib/tag-tab/tag-tab.module.d.ts +8 -2
  247. package/lib/tooltip/tooltip.component.d.ts +11 -8
  248. package/lib/tooltip/tooltip.module.d.ts +8 -2
  249. package/lib/visa/visa-item.component.d.ts +9 -6
  250. package/lib/visa/visa-span.directive.d.ts +11 -6
  251. package/lib/visa/visa.component.d.ts +8 -5
  252. package/lib/visa/visa.module.d.ts +10 -2
  253. package/lib/wizard/wizard-step.component.d.ts +17 -14
  254. package/lib/wizard/wizard.component.d.ts +22 -19
  255. package/lib/wizard/wizard.module.d.ts +9 -2
  256. package/package.json +21 -9
  257. package/public-api.d.ts +101 -92
  258. package/styles.css +35 -33
  259. package/aeb-ui-kit.metadata.json +0 -1
  260. package/bundles/aeb-ui-kit.umd.js +0 -4858
  261. package/bundles/aeb-ui-kit.umd.js.map +0 -1
  262. package/bundles/aeb-ui-kit.umd.min.js +0 -17
  263. package/bundles/aeb-ui-kit.umd.min.js.map +0 -1
  264. package/esm2015/aeb-ui-kit.js +0 -22
  265. package/esm2015/lib/accordion/accordion.component.js +0 -35
  266. package/esm2015/lib/accordion/accordion.module.js +0 -15
  267. package/esm2015/lib/action-bar/action-bar.component.js +0 -20
  268. package/esm2015/lib/action-bar/action-bar.module.js +0 -15
  269. package/esm2015/lib/aeb-ui-kit.module.js +0 -119
  270. package/esm2015/lib/button/button.component.js +0 -31
  271. package/esm2015/lib/button/button.module.js +0 -13
  272. package/esm2015/lib/checkbox/checkbox.component.js +0 -97
  273. package/esm2015/lib/checkbox/checkbox.module.js +0 -13
  274. package/esm2015/lib/click-outside/click-outside.directive.js +0 -44
  275. package/esm2015/lib/click-outside/click-outside.module.js +0 -13
  276. package/esm2015/lib/comment/comment.component.js +0 -53
  277. package/esm2015/lib/comment/comment.module.js +0 -25
  278. package/esm2015/lib/credit-item-card/credit-item-card.component.js +0 -26
  279. package/esm2015/lib/credit-item-card/credit-item-card.module.js +0 -17
  280. package/esm2015/lib/credit-item-card/models/IProductItemCard.js +0 -2
  281. package/esm2015/lib/datepicker/datepicker-core/datepicker-core.component.js +0 -135
  282. package/esm2015/lib/datepicker/datepicker-month/datepicker-month.component.js +0 -52
  283. package/esm2015/lib/datepicker/datepicker-tiles/datepicker-tiles.component.js +0 -81
  284. package/esm2015/lib/datepicker/datepicker.component.js +0 -337
  285. package/esm2015/lib/datepicker/datepicker.module.js +0 -43
  286. package/esm2015/lib/datepicker/pipes/date-to-str.pipe.js +0 -13
  287. package/esm2015/lib/datepicker/services/mask-utils.service.js +0 -61
  288. package/esm2015/lib/dropdown/dropdown.component.js +0 -91
  289. package/esm2015/lib/dropdown/dropdown.module.js +0 -14
  290. package/esm2015/lib/field-slider/directives/numbers-only.directive.js +0 -64
  291. package/esm2015/lib/field-slider/field-slider.component.js +0 -152
  292. package/esm2015/lib/field-slider/field-slider.module.js +0 -25
  293. package/esm2015/lib/field-slider/pipes/replace.pipe.js +0 -15
  294. package/esm2015/lib/file-attach/directives/drag-and-drop.directive.js +0 -40
  295. package/esm2015/lib/file-attach/file-attach.component.js +0 -63
  296. package/esm2015/lib/file-attach/file-attach.module.js +0 -15
  297. package/esm2015/lib/filter-tags/filter-tag/filter-tag.component.js +0 -27
  298. package/esm2015/lib/filter-tags/filter-tags.component.js +0 -33
  299. package/esm2015/lib/filter-tags/filter-tags.module.js +0 -16
  300. package/esm2015/lib/footer/footer-bottom/footer-bottom.component.js +0 -41
  301. package/esm2015/lib/footer/footer-menu/footer-menu.component.js +0 -57
  302. package/esm2015/lib/footer/footer-top/footer-top.component.js +0 -24
  303. package/esm2015/lib/footer/footer.component.js +0 -22
  304. package/esm2015/lib/footer/footer.module.js +0 -23
  305. package/esm2015/lib/form-field/form-field.component.js +0 -73
  306. package/esm2015/lib/form-field/form-field.module.js +0 -17
  307. package/esm2015/lib/form-field/icon.directive.js +0 -11
  308. package/esm2015/lib/form-field/input.directive.js +0 -55
  309. package/esm2015/lib/form-field/label.directive.js +0 -11
  310. package/esm2015/lib/form-field/textarea.directive.js +0 -55
  311. package/esm2015/lib/header/header.component.js +0 -23
  312. package/esm2015/lib/header/header.module.js +0 -14
  313. package/esm2015/lib/header/logo.component.js +0 -18
  314. package/esm2015/lib/heading/breadcrumps/breadcrumps.component.js +0 -26
  315. package/esm2015/lib/heading/heading.component.js +0 -19
  316. package/esm2015/lib/heading/heading.module.js +0 -17
  317. package/esm2015/lib/heading/product-title/product-title.component.js +0 -25
  318. package/esm2015/lib/label/label.component.js +0 -15
  319. package/esm2015/lib/label/label.module.js +0 -13
  320. package/esm2015/lib/new-button/new-button.component.js +0 -51
  321. package/esm2015/lib/new-button/new-button.module.js +0 -13
  322. package/esm2015/lib/new-dropdown/new-dropdown.component.js +0 -162
  323. package/esm2015/lib/new-dropdown/new-dropdown.module.js +0 -21
  324. package/esm2015/lib/new-notifications/new-notifications.component.js +0 -32
  325. package/esm2015/lib/new-notifications/new-notifications.module.js +0 -15
  326. package/esm2015/lib/new-tooltip/new-tooltip.component.js +0 -21
  327. package/esm2015/lib/new-tooltip/new-tooltip.module.js +0 -20
  328. package/esm2015/lib/new-tooltip/services/domservice.service.js +0 -44
  329. package/esm2015/lib/new-tooltip/tooltip.directive.js +0 -146
  330. package/esm2015/lib/news-card/news-card.component.js +0 -17
  331. package/esm2015/lib/news-card/news-card.module.js +0 -15
  332. package/esm2015/lib/notifications/notifications.component.js +0 -24
  333. package/esm2015/lib/notifications/notifications.module.js +0 -13
  334. package/esm2015/lib/pagination/pagination.component.js +0 -154
  335. package/esm2015/lib/pagination/pagination.module.js +0 -19
  336. package/esm2015/lib/pop-up/pop-up.component.js +0 -25
  337. package/esm2015/lib/pop-up/pop-up.directive.js +0 -57
  338. package/esm2015/lib/pop-up/pop-up.module.js +0 -16
  339. package/esm2015/lib/radio-buttons/radio-buttons.component.js +0 -56
  340. package/esm2015/lib/radio-buttons/radio-buttons.module.js +0 -15
  341. package/esm2015/lib/search/highlight.pipe.js +0 -12
  342. package/esm2015/lib/search/search.component.js +0 -56
  343. package/esm2015/lib/search/search.module.js +0 -18
  344. package/esm2015/lib/select/option.component.js +0 -25
  345. package/esm2015/lib/select/select.component.js +0 -108
  346. package/esm2015/lib/select/select.module.js +0 -15
  347. package/esm2015/lib/sidebar/sidebar.component.js +0 -32
  348. package/esm2015/lib/sidebar/sidebar.module.js +0 -13
  349. package/esm2015/lib/slider/pipes/replace.pipe.js +0 -15
  350. package/esm2015/lib/slider/slider.component.js +0 -129
  351. package/esm2015/lib/slider/slider.module.js +0 -17
  352. package/esm2015/lib/spinner/spinner.component.js +0 -15
  353. package/esm2015/lib/spinner/spinner.module.js +0 -13
  354. package/esm2015/lib/table/table.component.js +0 -27
  355. package/esm2015/lib/table/table.model.js +0 -2
  356. package/esm2015/lib/table/table.module.js +0 -14
  357. package/esm2015/lib/table/table.pipe.js +0 -18
  358. package/esm2015/lib/tabs/tab.directive.js +0 -18
  359. package/esm2015/lib/tabs/tabs.component.js +0 -64
  360. package/esm2015/lib/tabs/tabs.module.js +0 -16
  361. package/esm2015/lib/tag-tab/tag-tab.component.js +0 -19
  362. package/esm2015/lib/tag-tab/tag-tab.module.js +0 -13
  363. package/esm2015/lib/tooltip/tooltip.component.js +0 -29
  364. package/esm2015/lib/tooltip/tooltip.module.js +0 -13
  365. package/esm2015/lib/visa/visa-item.component.js +0 -16
  366. package/esm2015/lib/visa/visa-span.directive.js +0 -26
  367. package/esm2015/lib/visa/visa.component.js +0 -15
  368. package/esm2015/lib/visa/visa.module.js +0 -25
  369. package/esm2015/lib/wizard/wizard-step.component.js +0 -33
  370. package/esm2015/lib/wizard/wizard.component.js +0 -80
  371. package/esm2015/lib/wizard/wizard.module.js +0 -14
  372. package/esm2015/public-api.js +0 -96
  373. package/fesm2015/aeb-ui-kit.js +0 -4084
  374. package/fesm2015/aeb-ui-kit.js.map +0 -1
@@ -1,4084 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ElementRef, Input, NgModule, EventEmitter, forwardRef, ChangeDetectorRef, Output, Renderer2, ViewChild, Pipe, ContentChildren, Directive, Optional, Self, HostBinding, HostListener, ContentChild, Injectable, NgZone, TemplateRef, ViewChildren, Inject, ComponentFactoryResolver, Injector, ApplicationRef, RendererFactory2, LOCALE_ID } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule, DOCUMENT, formatDate, formatNumber } from '@angular/common';
5
- import { NG_VALUE_ACCESSOR, NgControl, NgForm, FormGroupDirective, FormsModule, FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
6
- import { DomSanitizer } from '@angular/platform-browser';
7
- import { addWeeks, addDays, isSameMonth, getWeeksInMonth, startOfMonth, startOfWeek, addMonths, subMonths, eachYearOfInterval, getYear, addYears, subYears, differenceInYears, startOfYear, isToday, isValid, isSameDay, getMonth, setMonth, areIntervalsOverlapping, startOfDay, endOfDay, parse, format, getDaysInMonth, isExists, compareAsc, getDate } from 'date-fns';
8
- import { ru } from 'date-fns/locale';
9
- import '@angular/common/locales/global/ru';
10
- import { NgxMaskModule } from 'ngx-mask';
11
-
12
- class ButtonComponent {
13
- constructor(elementRef) {
14
- this.elementRef = elementRef;
15
- this.type = 'button';
16
- this.variant = 'default';
17
- }
18
- ngOnInit() {
19
- this.elementRef.nativeElement.classList.add(`aeb-${this.variant}-button`);
20
- }
21
- }
22
- ButtonComponent.decorators = [
23
- { type: Component, args: [{
24
- selector: 'button[aeb-button]',
25
- template: "<span *ngIf=\"icon\" class=\"icon\">\r\n <img [src]=\"icon\">\r\n</span>\r\n<span>\r\n <ng-content></ng-content>\r\n</span>\r\n",
26
- encapsulation: ViewEncapsulation.None,
27
- host: {
28
- class: 'aeb-base-button',
29
- },
30
- styles: [".aeb-base-button{display:inline-flex;align-items:center;justify-content:center;height:56px;line-height:21px;padding:0 26px;box-sizing:border-box;border-radius:var(--border-radius-size);font-size:18px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:10px;cursor:pointer;font-weight:400}.aeb-base-button.aeb-default-button{background-color:var(--blue);color:var(--white);border:none}.aeb-base-button.aeb-default-button:hover{background-color:var(--blue-hover)}.aeb-base-button.aeb-default-button:active{background-color:var(--blue-active)}.aeb-base-button.aeb-white-button{background-color:var(--white);color:var(--blue);border:none}.aeb-base-button.aeb-white-button:hover{background-color:var(--white-hover)}.aeb-base-button.aeb-white-button:active{background-color:var(--white-active)}.aeb-base-button.aeb-light-button{background-color:var(--lightblue);color:var(--blue);border:none}.aeb-base-button.aeb-light-button:hover{background-color:var(--lightblue-hover)}.aeb-base-button.aeb-light-button:active{background-color:var(--lightblue-active)}.aeb-base-button.aeb-red-button{background-color:var(--lightred);color:var(--red);border:none}.aeb-base-button.aeb-red-button:hover{background-color:var(--lightred-hover)}.aeb-base-button.aeb-red-button:active{background-color:var(--lightred-active)}.aeb-base-button.aeb-link-button{background-color:transparent;color:var(--blue);border:none;padding:0;height:auto;line-height:normal;border-radius:2px}.aeb-base-button.aeb-link-button:hover{background-color:transparent;text-decoration:underline}.aeb-base-button.aeb-link-button:active{background-color:transparent;text-decoration:none}.aeb-base-button.aeb-stroke-button{background-color:transparent;color:var(--blue);border:2px solid var(--blue)}.aeb-base-button.aeb-stroke-button:hover{border:2px solid var(--others-turquoise)}.aeb-base-button.aeb-stroke-button:active{border:2px solid var(--others-turquoise-active)}.aeb-base-button .icon{padding-right:14px;display:flex;align-items:center}.aeb-base-button .icon>img{height:18px;width:auto}.aeb-base-button:disabled{opacity:.5;pointer-events:none}.aeb-base-button:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}"]
31
- },] }
32
- ];
33
- ButtonComponent.ctorParameters = () => [
34
- { type: ElementRef }
35
- ];
36
- ButtonComponent.propDecorators = {
37
- type: [{ type: Input }],
38
- icon: [{ type: Input }],
39
- variant: [{ type: Input }]
40
- };
41
-
42
- class ButtonModule {
43
- }
44
- ButtonModule.decorators = [
45
- { type: NgModule, args: [{
46
- declarations: [ButtonComponent],
47
- imports: [CommonModule],
48
- exports: [ButtonComponent]
49
- },] }
50
- ];
51
-
52
- class CheckboxComponent {
53
- constructor(_changeDetectorRef) {
54
- this._changeDetectorRef = _changeDetectorRef;
55
- this.change = new EventEmitter();
56
- this._controlValueAccessorChangeFn = () => { };
57
- this._onTouched = () => { };
58
- this.name = null;
59
- this._checked = false;
60
- this._disabled = false;
61
- }
62
- _emitChangeEvent(event) {
63
- this._controlValueAccessorChangeFn(this.checked);
64
- this.change.emit(event);
65
- }
66
- ngOnInit() { }
67
- get checked() {
68
- return this._checked;
69
- }
70
- set checked(value) {
71
- if (value !== this.checked) {
72
- this._checked = value;
73
- this._changeDetectorRef.markForCheck();
74
- }
75
- }
76
- get disabled() {
77
- return this._disabled;
78
- }
79
- set disabled(value) {
80
- const newValue = Boolean(value);
81
- if (newValue !== this.disabled) {
82
- this._disabled = newValue;
83
- this._changeDetectorRef.markForCheck();
84
- }
85
- }
86
- get required() {
87
- return this._required;
88
- }
89
- set required(value) {
90
- this._required = Boolean(value);
91
- }
92
- writeValue(value) {
93
- this.checked = !!value;
94
- }
95
- registerOnChange(fn) {
96
- this._controlValueAccessorChangeFn = fn;
97
- }
98
- registerOnTouched(fn) {
99
- this._onTouched = fn;
100
- }
101
- handleClick(event) {
102
- event.stopPropagation();
103
- this.checked = !this.checked;
104
- this._onTouched();
105
- this._emitChangeEvent(event);
106
- }
107
- _onInteractionEvent(event) {
108
- event.stopPropagation();
109
- }
110
- }
111
- CheckboxComponent.decorators = [
112
- { type: Component, args: [{
113
- selector: 'aeb-checkbox',
114
- template: "<label [attr.for]=\"id\" class=\"aeb-checkbox-layout\">\r\n <div class=\"aeb-checkbox-container\">\r\n <input\r\n type=\"checkbox\"\r\n [id]=\"id\"\r\n [attr.name]=\"name\"\r\n [checked]=\"checked\"\r\n [value]=\"value\"\r\n [disabled]=\"disabled\"\r\n (change)=\"_onInteractionEvent($event)\"\r\n (click)=\"handleClick($event)\"\r\n hidden\r\n />\r\n <div class=\"aeb-checkbox-indicator\">\r\n <svg\r\n width=\"22\"\r\n height=\"22\"\r\n viewBox=\"0 0 22 22\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M9 16L4 11.1923L5.4 9.84615L9 13.3077L16.6 6L18 7.34615L9 16V16Z\"\r\n fill=\"#EEEEEE\"\r\n />\r\n </svg>\r\n </div>\r\n <div class=\"aeb-checkbox-label\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</label>\r\n",
115
- host: {
116
- class: 'aeb-checkbox',
117
- '[class.aeb-checkbox-checked]': 'checked',
118
- '[class.aeb-checkbox-disabled]': 'disabled',
119
- '[class.aeb-checkbox-error]': 'hasError',
120
- '[class.aeb-checkbox-checked-disabled]': 'checked && disabled'
121
- },
122
- encapsulation: ViewEncapsulation.None,
123
- providers: [
124
- {
125
- provide: NG_VALUE_ACCESSOR,
126
- useExisting: forwardRef(() => CheckboxComponent),
127
- multi: true
128
- }
129
- ],
130
- styles: [".aeb-checkbox-container{display:inline-flex;align-items:flex-start;justify-content:flex-start;cursor:pointer}.aeb-checkbox-layout{display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--darkblue)}.aeb-checkbox-indicator{border:2px solid var(--gray-primary);box-sizing:border-box;border-radius:4px;width:22px;height:22px;display:flex;justify-content:center;align-items:center;background-color:var(--white)}.aeb-checkbox-indicator>svg{opacity:0}@media (hover:hover){.aeb-checkbox-indicator:hover{border:2px solid var(--blue-turquoise)}.aeb-checkbox-indicator:active{background-image:var(--active-gradient);padding:2px;border:none;position:relative}.aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;content:\"\";width:18px;height:18px;background-color:#fff;border-radius:2px;z-index:0}}.aeb-checkbox-label{font-style:normal;font-weight:400;font-size:16px;line-height:22px;color:var(--darkblue);margin-left:12px;margin-top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aeb-checkbox-checked .aeb-checkbox-indicator{background-color:var(--blue);border-color:var(--blue)}.aeb-checkbox-checked .aeb-checkbox-indicator>svg{opacity:1}@media (hover:hover){.aeb-checkbox-checked .aeb-checkbox-indicator:hover{background-color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.aeb-checkbox-checked .aeb-checkbox-indicator:active{background-image:var(--active-gradient)}.aeb-checkbox-checked .aeb-checkbox-indicator:active:hover{background-image:var(--active-gradient);border:none}.aeb-checkbox-checked .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;content:\"\";width:18px;height:18px;background-color:transparent;border-radius:2px;z-index:0}}.aeb-checkbox-disabled .aeb-checkbox-indicator{border:2px solid var(--gray-primary)}@media (hover:hover){.aeb-checkbox-disabled .aeb-checkbox-indicator:hover{border:2px solid var(--gray-primary)}.aeb-checkbox-disabled .aeb-checkbox-indicator:active{background:#fff!important;border:2px solid var(--gray-primary)!important}.aeb-checkbox-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;content:\"\";width:18px;height:18px;background-color:transparent;border-radius:2px;z-index:0}}.aeb-checkbox-disabled .aeb-checkbox-label{opacity:.6}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator{background:var(--gray-primary)}@media (hover:hover){.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:hover{background:var(--gray-primary)}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active{background:var(--gray-primary)!important;border:none!important}.aeb-checkbox-checked-disabled .aeb-checkbox-indicator:active:before{position:absolute;top:2px;left:2px;content:\"\";width:18px;height:18px;background-color:transparent;border-radius:2px;z-index:0}}.aeb-checkbox-error .aeb-checkbox-indicator{color:var(--red)!important;border-color:var(--red)!important}.aeb-checkbox-error .aeb-checkbox-label{color:var(--red)!important}"]
131
- },] }
132
- ];
133
- CheckboxComponent.ctorParameters = () => [
134
- { type: ChangeDetectorRef }
135
- ];
136
- CheckboxComponent.propDecorators = {
137
- change: [{ type: Output }],
138
- id: [{ type: Input }],
139
- hasError: [{ type: Input }],
140
- name: [{ type: Input }],
141
- value: [{ type: Input }],
142
- checked: [{ type: Input }],
143
- disabled: [{ type: Input }],
144
- required: [{ type: Input }]
145
- };
146
-
147
- class CheckboxModule {
148
- }
149
- CheckboxModule.decorators = [
150
- { type: NgModule, args: [{
151
- declarations: [CheckboxComponent],
152
- imports: [CommonModule],
153
- exports: [CheckboxComponent]
154
- },] }
155
- ];
156
-
157
- class SliderComponent {
158
- constructor(renderer) {
159
- this.renderer = renderer;
160
- /**
161
- * separator for currency value, 'space' by default
162
- */
163
- this.valueSeparator = ' ';
164
- this.isPressed = false;
165
- this.handleStartDragging = (event) => {
166
- event.preventDefault();
167
- if (event.clientX) {
168
- this.handleChangeValue(event.clientX);
169
- }
170
- };
171
- this.handleStartSwiping = (event) => {
172
- event.preventDefault();
173
- if (event.touches && event.touches.length) {
174
- const finger = event.touches[0];
175
- this.handleChangeValue(finger.clientX);
176
- }
177
- };
178
- this.handleEndDragging = (event) => {
179
- event.preventDefault();
180
- this.isPressed = false;
181
- document.removeEventListener('mousemove', this.handleStartDragging);
182
- document.removeEventListener('mouseup', this.handleEndDragging);
183
- };
184
- this.handleEndSwiping = (event) => {
185
- event.preventDefault();
186
- this.isPressed = false;
187
- document.removeEventListener('touchmove', this.handleStartSwiping);
188
- document.removeEventListener('touchend', this.handleEndSwiping);
189
- document.removeEventListener('touchcancel', this.handleEndSwiping);
190
- };
191
- }
192
- ngOnInit() {
193
- if (this.intialValue) {
194
- this.value = this.intialValue;
195
- }
196
- else {
197
- this.value = this.calculateAverage([this.min, this.max]);
198
- }
199
- }
200
- writeValue(value) {
201
- if (value) {
202
- this.value = value;
203
- }
204
- }
205
- registerOnChange(fn) {
206
- this.onChange = fn;
207
- }
208
- registerOnTouched() { }
209
- get position() {
210
- const position = ((this.value - this.min) / (this.max - this.min)) * 100;
211
- if (position < 0) {
212
- return 0;
213
- }
214
- if (position > 100) {
215
- return 100;
216
- }
217
- return position;
218
- }
219
- ngAfterViewInit() {
220
- this.renderer.listen(this.slider.nativeElement, 'touchstart', (event) => {
221
- event.preventDefault();
222
- this.handleStartSwiping(event);
223
- document.addEventListener('touchmove', this.handleStartSwiping, { passive: false });
224
- document.addEventListener('touchend', this.handleEndSwiping);
225
- document.addEventListener('touchcancel', this.handleEndSwiping);
226
- });
227
- this.renderer.listen(this.slider.nativeElement, 'mousedown', (event) => {
228
- event.preventDefault();
229
- this.handleStartDragging(event);
230
- document.addEventListener('mousemove', this.handleStartDragging, false);
231
- document.addEventListener('mouseup', this.handleEndDragging, false);
232
- });
233
- }
234
- calculateAverage(values) {
235
- return values.reduce((sum, value) => sum + value, 0) / values.length;
236
- }
237
- handleChangeValue(positionX) {
238
- this.isPressed = true;
239
- const offsetSlider = this.slider.nativeElement.getBoundingClientRect().left;
240
- const widthSlider = this.slider.nativeElement.getBoundingClientRect().width;
241
- let left = positionX - offsetSlider;
242
- if (left < 0) {
243
- left = 0;
244
- }
245
- if (left > widthSlider) {
246
- left = widthSlider;
247
- }
248
- const deltaX = (left / widthSlider) * (this.max - this.min);
249
- this.value = Math.round(deltaX / this.step) * this.step + this.min;
250
- if (typeof this.onChange === 'function') {
251
- this.onChange(this.value);
252
- }
253
- }
254
- }
255
- SliderComponent.decorators = [
256
- { type: Component, args: [{
257
- selector: 'aeb-slider',
258
- template: "<div class=\"slider\">\r\n <div class=\"label\">{{ label }}</div>\r\n <div class=\"value\">{{ value | number: \"1.0-0\" | replace: ',' : valueSeparator }} {{ prefix }}</div>\r\n</div>\r\n<div class=\"slider-line-wrapper\" #slider>\r\n <div class=\"slider-line\">\r\n <div\r\n class=\"slider-line-position\"\r\n [ngStyle]=\"{\r\n width: position + '%'\r\n }\"\r\n [ngClass]=\"{ pressed: isPressed }\"\r\n ></div>\r\n </div>\r\n</div>\r\n<div class=\"slider-limits\">\r\n <div>{{ min | number: \"1.0-0\" | replace: ',' : valueSeparator }} {{ prefix }}</div>\r\n <div>{{ max | number: \"1.0-0\" | replace: ',' : valueSeparator }} {{ prefix }}</div>\r\n</div>\r\n",
259
- providers: [
260
- {
261
- provide: NG_VALUE_ACCESSOR,
262
- useExisting: forwardRef(() => SliderComponent),
263
- multi: true
264
- }
265
- ],
266
- styles: [".slider{display:flex;justify-content:space-between;align-content:center;margin-bottom:20px;color:var(--darkblue)}.label{font-size:16px;line-height:20px;color:var(--gray)}.value{font-weight:700;font-size:20px;color:var(--darkblue)}.slider-line-wrapper{height:20px;width:100%;display:flex;align-items:center}.slider-line{width:100%;height:4px;border-radius:2px;background-color:var(--lightgray);position:relative}.slider-line-position{background-color:var(--blue);height:100%;width:100%;border-radius:2px;position:absolute;top:0;left:0}.slider-line-position.pressed:after,.slider-line-position:hover,.slider-line-position:hover:after{background-color:var(--blue-turquoise)}.slider-line-position.pressed:after{width:26px;height:26px;border-radius:15px;top:-11px;right:-13px}.slider-line-position.pressed{background-color:var(--blue-turquoise)}.slider-line-position:after{cursor:pointer;content:\"\";width:20px;height:20px;border-radius:10px;background-color:var(--blue);position:absolute;right:-10px;top:-8px}.slider-limits{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray)}"]
267
- },] }
268
- ];
269
- SliderComponent.ctorParameters = () => [
270
- { type: Renderer2 }
271
- ];
272
- SliderComponent.propDecorators = {
273
- slider: [{ type: ViewChild, args: ['slider',] }],
274
- label: [{ type: Input }],
275
- prefix: [{ type: Input }],
276
- intialValue: [{ type: Input }],
277
- min: [{ type: Input }],
278
- max: [{ type: Input }],
279
- step: [{ type: Input }],
280
- value: [{ type: Input }],
281
- valueSeparator: [{ type: Input }]
282
- };
283
-
284
- class ReplacePipe$1 {
285
- transform(value, strToReplace, replacementStr) {
286
- if (!value || !strToReplace || !replacementStr) {
287
- return value;
288
- }
289
- return value.replace(new RegExp(strToReplace, 'g'), replacementStr);
290
- }
291
- }
292
- ReplacePipe$1.decorators = [
293
- { type: Pipe, args: [{
294
- name: 'replace'
295
- },] }
296
- ];
297
-
298
- class SliderModule {
299
- }
300
- SliderModule.decorators = [
301
- { type: NgModule, args: [{
302
- declarations: [
303
- SliderComponent,
304
- ReplacePipe$1,
305
- ],
306
- imports: [CommonModule],
307
- exports: [SliderComponent],
308
- },] }
309
- ];
310
-
311
- class WizardStepComponent {
312
- constructor() {
313
- this.isValid = false;
314
- this.isActive = false;
315
- this.isCompleted = false;
316
- this.showPrev = false;
317
- this.showNext = false;
318
- this.onNext = new EventEmitter();
319
- this.onPrev = new EventEmitter();
320
- this.onComplete = new EventEmitter();
321
- }
322
- ngOnInit() { }
323
- }
324
- WizardStepComponent.decorators = [
325
- { type: Component, args: [{
326
- selector: 'aeb-wizard-step',
327
- template: "<div *ngIf=\"isActive\">\r\n <ng-content></ng-content>\r\n</div>\r\n"
328
- },] }
329
- ];
330
- WizardStepComponent.ctorParameters = () => [];
331
- WizardStepComponent.propDecorators = {
332
- title: [{ type: Input }],
333
- isValid: [{ type: Input }],
334
- isActive: [{ type: Input }],
335
- isCompleted: [{ type: Input }],
336
- showPrev: [{ type: Input }],
337
- showNext: [{ type: Input }],
338
- onNext: [{ type: Output }],
339
- onPrev: [{ type: Output }],
340
- onComplete: [{ type: Output }]
341
- };
342
-
343
- class WizardComponent {
344
- constructor() {
345
- this.onStepChanged = new EventEmitter();
346
- this.isDisabled = false;
347
- this.steps = [];
348
- }
349
- get activeStep() {
350
- return this.steps.find((step) => step.isActive);
351
- }
352
- set activeStep(step) {
353
- if (step !== this.activeStep) {
354
- this.activeStep.isActive = false;
355
- step.isActive = true;
356
- this.onStepChanged.emit(step);
357
- }
358
- }
359
- get activeStepIndex() {
360
- return this.steps.indexOf(this.activeStep);
361
- }
362
- get completedSteps() {
363
- return this.steps.filter((step) => step.isCompleted);
364
- }
365
- get hasNextStep() {
366
- return this.activeStepIndex < this.steps.length - 1;
367
- }
368
- get hasPrevStep() {
369
- return this.activeStepIndex > 0;
370
- }
371
- goToNextStep() {
372
- if (!this.hasNextStep) {
373
- return;
374
- }
375
- const nextStep = this.steps[this.activeStepIndex + 1];
376
- this.activeStep.onNext.emit();
377
- this.activeStep = nextStep;
378
- }
379
- goToPrevStep() {
380
- if (!this.hasPrevStep) {
381
- return;
382
- }
383
- if (!this.hasNextStep && this.activeStep.isCompleted) {
384
- this.activeStep.isCompleted = false;
385
- return;
386
- }
387
- const nextStep = this.steps[this.activeStepIndex - 1];
388
- nextStep.isCompleted = false;
389
- this.activeStep.onPrev.emit();
390
- this.activeStep = nextStep;
391
- }
392
- goToFirstStep() {
393
- if (!this.hasPrevStep) {
394
- return;
395
- }
396
- const nextStep = this.steps[0];
397
- this.activeStep = nextStep;
398
- }
399
- onCompleteStep() {
400
- this.activeStep.onComplete.emit();
401
- this.activeStep.isCompleted = true;
402
- this.goToNextStep();
403
- }
404
- ngAfterContentInit() {
405
- this.steps = [...this.wizardSteps];
406
- }
407
- }
408
- WizardComponent.decorators = [
409
- { type: Component, args: [{
410
- selector: 'aeb-wizard',
411
- template: "<div class=\"wizard\">\r\n <div class=\"wizard-steps\">\r\n <div\r\n *ngFor=\"let step of steps; let i = index\"\r\n class=\"wizard-step\"\r\n [ngStyle]=\"{ width: 100 / steps.length + '%' }\"\r\n [ngClass]=\"{\r\n active: step.isActive,\r\n completed: step.isCompleted,\r\n disabled: isDisabled\r\n }\"\r\n >\r\n <div class=\"wizard-step-index\">\r\n <div *ngIf=\"step.isCompleted; else showIndex\">\r\n <svg\r\n width=\"28\"\r\n height=\"28\"\r\n viewBox=\"0 0 28 28\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M25.4674 5.47186C26.1505 6.12666 26.1805 7.21877 25.5345 7.91115L11.9594 22.4601C11.3279 23.1369 10.2805 23.1835 9.59296 22.5654L2.5728 16.2545C1.8694 15.6222 1.80492 14.5316 2.42878 13.8186C3.05264 13.1057 4.1286 13.0403 4.832 13.6726L10.6186 18.8746L23.0608 5.53988C23.7068 4.84751 24.7843 4.81705 25.4674 5.47186Z\"\r\n fill=\"#FAFAFA\"\r\n />\r\n </svg>\r\n </div>\r\n <ng-template #showIndex>\r\n <span>{{ i + 1 }}</span>\r\n </ng-template>\r\n </div>\r\n <div\r\n class=\"wizard-step-title\"\r\n [ngClass]=\"{\r\n disabled: isDisabled\r\n }\"\r\n >\r\n {{ step.title }}\r\n </div>\r\n </div>\r\n <div class=\"wizard-steps-line\">\r\n <div\r\n *ngIf=\"isDisabled === false\"\r\n class=\"wizard-steps-line-active\"\r\n [ngStyle]=\"{\r\n width: (100 / (steps.length - 1)) * completedSteps.length + '%'\r\n }\"\r\n ></div>\r\n </div>\r\n </div>\r\n <div class=\"wizard-steps-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n",
412
- styles: [".wizard{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wizard-steps{display:flex;position:relative}.wizard-steps-line{position:absolute;left:0;right:0;margin:0 auto;top:27px;width:70%;height:6px;background-color:var(--lightgray);overflow:hidden}.wizard-steps-line-active{height:100%;width:100%;position:absolute;top:0;left:0;background-color:var(--blue);transition:width,.4s}.wizard-step{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:relative;z-index:1}.wizard-step-index{justify-content:center;flex-shrink:0;flex-grow:0;width:60px;height:60px;border-radius:30px;background-color:var(--lightgray);font-weight:500;font-size:32px;color:var(--white-primary);margin-bottom:12px}.wizard-step-index,.wizard-step-index>*{display:flex;align-items:center}.wizard-step-title{font-style:normal;font-weight:400;font-size:16px;line-height:20px;text-align:center;color:var(--gray)}.wizard-step-title.disabled{color:var(--lightgray)}.wizard-step.active .wizard-step-index{background-color:var(--blue)}.wizard-step.active .wizard-step-title{color:var(--blue)}.wizard-step.completed .wizard-step-index{background-color:var(--blue)}.wizard-step.disabled .wizard-step-index{background-color:var(--lightgray)}.wizard-step.disabled .wizard-step-title{color:var(--lightgray)}@media (max-width:767px){.wizard-step-title{font-size:14px}.wizard-steps-line{display:none}.wizard-step{display:none;flex-direction:row;justify-content:flex-start;align-items:center}.wizard-step-index{margin-bottom:0;width:50px;height:50px;font-size:30px}.wizard-step-title{font-size:18px;text-align:left;margin-left:14px}.wizard-step.active{display:flex;width:100%!important}}"]
413
- },] }
414
- ];
415
- WizardComponent.propDecorators = {
416
- wizardSteps: [{ type: ContentChildren, args: [WizardStepComponent,] }],
417
- onStepChanged: [{ type: Output }],
418
- isDisabled: [{ type: Input }]
419
- };
420
-
421
- class WizardModule {
422
- }
423
- WizardModule.decorators = [
424
- { type: NgModule, args: [{
425
- declarations: [WizardComponent, WizardStepComponent],
426
- imports: [CommonModule],
427
- exports: [WizardComponent, WizardStepComponent],
428
- },] }
429
- ];
430
-
431
- class MatInputBase$1 {
432
- constructor(_parentForm, _parentFormGroup, ngControl) {
433
- this._parentForm = _parentForm;
434
- this._parentFormGroup = _parentFormGroup;
435
- this.ngControl = ngControl;
436
- }
437
- }
438
- class InputDirective extends MatInputBase$1 {
439
- constructor(ngControl, _parentForm, _parentFormGroup) {
440
- super(_parentForm, _parentFormGroup, ngControl);
441
- this.ngControl = ngControl;
442
- this.error = false;
443
- this._value = '';
444
- }
445
- set value(value) {
446
- this.isHasValue = Boolean(value);
447
- this._value = value;
448
- }
449
- ;
450
- get value() {
451
- return this._value;
452
- }
453
- change(value) {
454
- this.value = value;
455
- }
456
- focus() {
457
- this.isFocused = true;
458
- }
459
- blur() {
460
- this.isFocused = false;
461
- }
462
- }
463
- InputDirective.decorators = [
464
- { type: Directive, args: [{
465
- selector: 'input[aebInput]',
466
- host: {
467
- class: 'aeb-input',
468
- },
469
- },] }
470
- ];
471
- InputDirective.ctorParameters = () => [
472
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }] },
473
- { type: NgForm, decorators: [{ type: Optional }] },
474
- { type: FormGroupDirective, decorators: [{ type: Optional }] }
475
- ];
476
- InputDirective.propDecorators = {
477
- error: [{ type: HostBinding, args: ['attr.error',] }],
478
- value: [{ type: Input }],
479
- change: [{ type: HostListener, args: ['input', ['$event.target.value'],] }],
480
- focus: [{ type: HostListener, args: ['focus',] }],
481
- blur: [{ type: HostListener, args: ['blur',] }]
482
- };
483
-
484
- class MatInputBase {
485
- constructor(_parentForm, _parentFormGroup, ngControl) {
486
- this._parentForm = _parentForm;
487
- this._parentFormGroup = _parentFormGroup;
488
- this.ngControl = ngControl;
489
- }
490
- }
491
- class TextareaDirective extends MatInputBase {
492
- constructor(ngControl, _parentForm, _parentFormGroup) {
493
- super(_parentForm, _parentFormGroup, ngControl);
494
- this.ngControl = ngControl;
495
- this.error = false;
496
- this._value = '';
497
- }
498
- set value(value) {
499
- this.isHasValue = Boolean(value);
500
- this._value = value;
501
- }
502
- ;
503
- get value() {
504
- return this._value;
505
- }
506
- change(value) {
507
- this.value = value;
508
- }
509
- focus() {
510
- this.isFocused = true;
511
- }
512
- blur() {
513
- this.isFocused = false;
514
- }
515
- }
516
- TextareaDirective.decorators = [
517
- { type: Directive, args: [{
518
- selector: 'textarea[aebTextarea]',
519
- host: {
520
- class: 'aeb-input',
521
- },
522
- },] }
523
- ];
524
- TextareaDirective.ctorParameters = () => [
525
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }] },
526
- { type: NgForm, decorators: [{ type: Optional }] },
527
- { type: FormGroupDirective, decorators: [{ type: Optional }] }
528
- ];
529
- TextareaDirective.propDecorators = {
530
- error: [{ type: HostBinding, args: ['attr.error',] }],
531
- value: [{ type: Input }],
532
- change: [{ type: HostListener, args: ['input', ['$event.target.value'],] }],
533
- focus: [{ type: HostListener, args: ['focus',] }],
534
- blur: [{ type: HostListener, args: ['blur',] }]
535
- };
536
-
537
- class FormFieldComponent {
538
- constructor() {
539
- this.center = false;
540
- }
541
- get focused() {
542
- if (this.input)
543
- return this.input.isFocused;
544
- else
545
- return this.textarea.isFocused;
546
- }
547
- get svoi() {
548
- return this.cssMod === 'svoi';
549
- }
550
- get hasValue() {
551
- if (this.input) {
552
- if (this.input.ngControl) {
553
- return Boolean(this.input.ngControl.value);
554
- }
555
- return this.input.isHasValue;
556
- }
557
- else {
558
- if (this.textarea.ngControl) {
559
- return Boolean(this.textarea.ngControl.value);
560
- }
561
- return this.textarea.isHasValue;
562
- }
563
- }
564
- get error() {
565
- if (this.onError) {
566
- return true;
567
- }
568
- if (this.input) {
569
- if (this.input.ngControl) {
570
- return this.input.ngControl.invalid && this.input.ngControl.touched;
571
- }
572
- return this.input.error;
573
- }
574
- else {
575
- if (this.textarea.ngControl) {
576
- return this.textarea.ngControl.invalid && this.textarea.ngControl.touched;
577
- }
578
- return this.textarea.error;
579
- }
580
- }
581
- ngOnInit() { }
582
- }
583
- FormFieldComponent.decorators = [
584
- { type: Component, args: [{
585
- selector: 'aeb-form-field',
586
- template: "<ng-content></ng-content>\r\n\r\n<div class=\"aeb-label\">\r\n <ng-content select=\"aeb-label\"></ng-content>\r\n</div>\r\n\r\n<div class=\"aeb-icon\">\r\n <ng-content select=\"aeb-icon\"></ng-content>\r\n</div>\r\n",
587
- encapsulation: ViewEncapsulation.None,
588
- host: {
589
- class: 'aeb-form-field',
590
- },
591
- styles: [":root{--input-height:56px}.error-message{color:#ff3055;margin-left:8px;margin-top:4px;font-size:12px}.aeb-form-field{position:relative;display:flex}.aeb-form-field,.aeb-form-field textarea{color:var(--darkblue)}.aeb-form-field textarea.aeb-input{padding:16px;font-family:Roboto}.aeb-form-field .aeb-icon{position:absolute;right:18px;top:20px;width:16px;height:16px}.aeb-form-field .aeb-icon img{width:16px;height:16px}.aeb-form-field .aeb-input{border:2px solid var(--gray-primary);box-sizing:border-box;border-radius:10px;height:var(--input-height);width:100%;padding:0 16px;font-size:18px;color:var(--darkblue)}.aeb-form-field .aeb-input:focus{outline:none}.aeb-form-field .aeb-input:disabled{background-color:var(--white);border:2px solid var(--gray-primary)}.aeb-form-field .aeb-input,.aeb-form-field .aeb-input::-webkit-search-cancel-button,.aeb-form-field .aeb-input::-webkit-search-decoration,.aeb-form-field .aeb-input::-webkit-search-results-button,.aeb-form-field .aeb-input::-webkit-search-results-decoration{-webkit-appearance:none}.aeb-form-field .aeb-input::-webkit-caps-lock-indicator,.aeb-form-field .aeb-input::-webkit-contacts-auto-fill-button,.aeb-form-field .aeb-input::-webkit-credentials-auto-fill-button{visibility:hidden}.aeb-form-field .aeb-input::-webkit-inner-spin-button,.aeb-form-field .aeb-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.aeb-form-field .aeb-input[type=number]{-moz-appearance:textfield}.aeb-form-field .aeb-input::-webkit-datetime-edit,.aeb-form-field .aeb-input::-webkit-input-placeholder{font-family:Roboto}.aeb-form-field .aeb-label{position:absolute;left:10px;top:28px;transform:translateY(-50%);font-size:18px;background-color:#fff;padding:6px;border-radius:4px;pointer-events:none;color:var(--gray-primary);transition:all .2s cubic-bezier(.4,0,.2,1)}.aeb-form-field.focused .aeb-input{border-color:#2f88f0}.aeb-form-field.focused .aeb-label{color:#2f88f0}.aeb-form-field.focused .aeb-label,.aeb-form-field.has-value .aeb-label{transform:translateY(calc(var(--input-height) / -2 + -50%));font-size:12px}.aeb-form-field.error .aeb-input{border-color:#ff3055}.aeb-form-field.error .aeb-label{color:#ff3055}.aeb-form-field.center .aeb-input{text-align:center}.aeb-form-field.center .aeb-label{left:50%;transform:translate(-50%,-50%);white-space:nowrap}.aeb-form-field.center+.error-message{margin-left:0}.aeb-form-field.center.focused .aeb-label,.aeb-form-field.center.has-value .aeb-label{transform:translate(-50%,calc(var(--input-height) / -2 + -50%))}.aeb-form-field--svoi.focused .aeb-label{transform:translate(3px,calc((var(--input-height) / 2) - 52px));background-color:transparent;color:#94a8be}.aeb-form-field--svoi .aeb-input{font-size:14px!important;padding:25px 18px 9px!important}.aeb-form-field--svoi.has-value .aeb-label{transform:translate(3px,calc((var(--input-height) / 2) - 52px))}"]
592
- },] }
593
- ];
594
- FormFieldComponent.ctorParameters = () => [];
595
- FormFieldComponent.propDecorators = {
596
- input: [{ type: ContentChild, args: [InputDirective,] }],
597
- textarea: [{ type: ContentChild, args: [TextareaDirective,] }],
598
- center: [{ type: HostBinding, args: ['class.center',] }, { type: Input }],
599
- onError: [{ type: Input }],
600
- cssMod: [{ type: Input, args: ['cssMod',] }],
601
- focused: [{ type: HostBinding, args: ['class.focused',] }],
602
- svoi: [{ type: HostBinding, args: ['class.aeb-form-field--svoi',] }],
603
- hasValue: [{ type: HostBinding, args: ['class.has-value',] }],
604
- error: [{ type: HostBinding, args: ['class.error',] }]
605
- };
606
-
607
- class LabelDirective {
608
- constructor() { }
609
- }
610
- LabelDirective.decorators = [
611
- { type: Directive, args: [{
612
- selector: 'aeb-label',
613
- },] }
614
- ];
615
- LabelDirective.ctorParameters = () => [];
616
-
617
- class IconDirective {
618
- constructor() { }
619
- }
620
- IconDirective.decorators = [
621
- { type: Directive, args: [{
622
- selector: 'aeb-icon',
623
- },] }
624
- ];
625
- IconDirective.ctorParameters = () => [];
626
-
627
- class FormFieldModule {
628
- }
629
- FormFieldModule.decorators = [
630
- { type: NgModule, args: [{
631
- declarations: [FormFieldComponent, LabelDirective, InputDirective, TextareaDirective, IconDirective],
632
- imports: [CommonModule],
633
- exports: [FormFieldComponent, LabelDirective, InputDirective, TextareaDirective, IconDirective],
634
- },] }
635
- ];
636
-
637
- class DropdownComponent {
638
- constructor() {
639
- this.change = new EventEmitter();
640
- this.isOpen = false;
641
- }
642
- get value() {
643
- return this._value;
644
- }
645
- set value(value) {
646
- if (value === this._value) {
647
- return;
648
- }
649
- this._value = value;
650
- if (typeof this.onChange === 'function') {
651
- this.onChange(this._value);
652
- }
653
- this.change.emit(value);
654
- }
655
- get selectedItem() {
656
- if (this.items) {
657
- const item = this.items.find(item => item.id === this._value);
658
- return item;
659
- }
660
- return null;
661
- }
662
- /**
663
- * Вызывается при задании исходного (new FormControl('I am default value'))
664
- * или нового значения сверху control.setValue('I am setted value').
665
- */
666
- writeValue(value) {
667
- this._value = value;
668
- }
669
- /**
670
- * Метод определяющий обработчик, который должен быть вызван при изменении значения
671
- * (fn является callback'ом, который уведомит форму о том, что в этом контроле изменилось значение).
672
- */
673
- registerOnChange(fn) {
674
- this.onChange = fn;
675
- }
676
- /**
677
- * Определяет callback, который вызывается на blur событие (control помечается флагом touched)
678
- */
679
- registerOnTouched() { }
680
- setValue(item) {
681
- this.value = item;
682
- this.closeDropdown();
683
- }
684
- toggleDropdown() {
685
- this.isOpen = !this.isOpen;
686
- }
687
- openDropdown() {
688
- this.isOpen = true;
689
- }
690
- closeDropdown() {
691
- this.isOpen = false;
692
- }
693
- ;
694
- handleClickOutside(event) {
695
- if (this.isOpen) {
696
- this.closeDropdown();
697
- }
698
- }
699
- }
700
- DropdownComponent.decorators = [
701
- { type: Component, args: [{
702
- selector: 'aeb-dropdown',
703
- template: "<div class=\"aeb-dropdown-inner\" (clickOutside)=\"handleClickOutside($event)\">\r\n <div\r\n class=\"aeb-dropdown-float-label\"\r\n [ngClass]=\"{ error: hasError }\"\r\n *ngIf=\"selectedItem\"\r\n >\r\n {{ placeholder }}\r\n </div>\r\n <div\r\n class=\"aeb-dropdown-selected-item\"\r\n [ngClass]=\"{ placeholder: !selectedItem, error: hasError }\"\r\n (click)=\"openDropdown()\"\r\n #toggle\r\n >\r\n {{ selectedItem ? selectedItem.label : placeholder }}\r\n </div>\r\n\r\n <div class=\"aeb-dropdown-icon\" [ngClass]=\"{ active: isOpen }\">\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\r\n stroke=\"#94A8BE\"\r\n stroke-width=\"1.6\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n\r\n <div class=\"aeb-dropdown-menu\" [ngClass]=\"{ open: isOpen, error: hasError }\">\r\n <ul>\r\n <li\r\n class=\"aeb-dropdown-item\"\r\n [ngClass]=\"value && { active: value === item.id }\"\r\n (click)=\"setValue(item.id)\"\r\n *ngFor=\"let item of items\"\r\n >\r\n {{ item.label }}\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n",
704
- host: {
705
- class: 'aeb-dropdown'
706
- },
707
- encapsulation: ViewEncapsulation.None,
708
- providers: [
709
- {
710
- provide: NG_VALUE_ACCESSOR,
711
- useExisting: forwardRef(() => DropdownComponent),
712
- multi: true
713
- }
714
- ],
715
- styles: [".aeb-dropdown{width:100%;position:relative;font-size:18px;cursor:pointer;display:flex;color:var(--darkblue)}.aeb-dropdown .aeb-dropdown-inner{width:100%}.aeb-dropdown .aeb-dropdown-icon{position:absolute;top:16px;right:10px;width:24px;height:24px;pointer-events:none;transition:all .2s cubic-bezier(.4,0,.2,1)}.aeb-dropdown .aeb-dropdown-icon.active{transform:rotate(180deg)}.aeb-dropdown .aeb-dropdown-selected-item{width:100%;height:56px;background:var(--white);border:2px solid var(--gray-primary);border-radius:10px;padding-left:16px;padding-right:26px;display:flex;align-items:center;box-sizing:border-box;color:var(--black)}.aeb-dropdown .aeb-dropdown-selected-item.error{color:var(--red);border-color:var(--red);background:var(--white)}.aeb-dropdown .placeholder{color:var(--gray)}.aeb-dropdown .placeholder.error{color:var(--red)}.aeb-dropdown .aeb-dropdown-float-label{position:absolute;font-size:12px;color:var(--gray);top:-5px;left:10px;background:var(--white);padding:0 5px}.aeb-dropdown .aeb-dropdown-float-label.error{color:var(--red)}.aeb-dropdown .aeb-dropdown-menu{position:absolute;width:100%;top:100%;background:var(--white);border:2px solid var(--gray-primary);border-top:none;border-radius:0 0 10px 10px;box-sizing:border-box;margin-top:-10px;z-index:1050;display:none}.aeb-dropdown .aeb-dropdown-menu.error{border-color:var(--red)}.aeb-dropdown .aeb-dropdown-menu ul{list-style:none;padding:0;margin:0}.aeb-dropdown .aeb-dropdown-menu.open{display:block}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item{padding:15px 16px}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item.active{background-color:var(--white-active)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item:hover{background-color:var(--white-hover)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item:first-child{margin-top:10px}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item:last-child{border-radius:0 0 8px 8px}"]
716
- },] }
717
- ];
718
- DropdownComponent.propDecorators = {
719
- change: [{ type: Output }],
720
- placeholder: [{ type: Input }],
721
- hasError: [{ type: Input }],
722
- items: [{ type: Input }],
723
- value: [{ type: Input }]
724
- };
725
-
726
- class ClickOutsideDirective {
727
- constructor(element, _ngZone) {
728
- this.element = element;
729
- this._ngZone = _ngZone;
730
- this.clickOutside = new EventEmitter();
731
- this.handleDocumentClick = (event) => {
732
- const contain = this.element.nativeElement.contains(event.target);
733
- if (!contain) {
734
- this._ngZone.run(() => this.clickOutside.emit(event));
735
- }
736
- };
737
- }
738
- ngOnInit() {
739
- this.initListeners();
740
- }
741
- ngOnDestroy() {
742
- this.removeListeners();
743
- }
744
- initListeners() {
745
- this._ngZone.runOutsideAngular(() => {
746
- document.addEventListener('click', this.handleDocumentClick);
747
- });
748
- }
749
- removeListeners() {
750
- this._ngZone.runOutsideAngular(() => {
751
- document.removeEventListener('click', this.handleDocumentClick);
752
- });
753
- }
754
- }
755
- ClickOutsideDirective.decorators = [
756
- { type: Injectable },
757
- { type: Directive, args: [{
758
- selector: '[clickOutside]'
759
- },] }
760
- ];
761
- ClickOutsideDirective.ctorParameters = () => [
762
- { type: ElementRef },
763
- { type: NgZone }
764
- ];
765
- ClickOutsideDirective.propDecorators = {
766
- clickOutside: [{ type: Output }]
767
- };
768
-
769
- class ClickOutsideModule {
770
- }
771
- ClickOutsideModule.decorators = [
772
- { type: NgModule, args: [{
773
- declarations: [ClickOutsideDirective],
774
- imports: [CommonModule],
775
- exports: [ClickOutsideDirective],
776
- },] }
777
- ];
778
-
779
- class DropdownModule {
780
- }
781
- DropdownModule.decorators = [
782
- { type: NgModule, args: [{
783
- declarations: [DropdownComponent],
784
- imports: [CommonModule, ClickOutsideModule],
785
- exports: [DropdownComponent],
786
- },] }
787
- ];
788
-
789
- class HeaderComponent {
790
- constructor() {
791
- this.white = false;
792
- }
793
- ngOnInit() { }
794
- }
795
- HeaderComponent.decorators = [
796
- { type: Component, args: [{
797
- selector: 'header[aeb-header]',
798
- template: "<ng-content></ng-content>\r\n",
799
- encapsulation: ViewEncapsulation.None,
800
- host: {
801
- class: 'aeb-header'
802
- },
803
- styles: [".aeb-header-logo-icon{margin-right:18px}.aeb-header-logo-text{font-weight:500;font-size:24px;line-height:28px;display:flex;align-items:center}.aeb-header{height:80px;width:100%;background-color:var(--darkblue);padding:0 28px;box-sizing:border-box;display:flex;align-items:center;position:fixed;top:0;left:0;z-index:1001}.aeb-header.white{background-color:#fff;border-bottom:1px solid var(--lightgray)}.aeb-header.white,.aeb-header.white .aeb-header-logo-text{color:var(--darkblue)}.aeb-header-subtitle{color:var(--gray-primary);font-size:12px;line-height:14px;font-weight:400;margin-left:24px}"]
804
- },] }
805
- ];
806
- HeaderComponent.ctorParameters = () => [];
807
- HeaderComponent.propDecorators = {
808
- white: [{ type: HostBinding, args: ['class.white',] }, { type: Input }]
809
- };
810
-
811
- class LogoComponent {
812
- constructor() { }
813
- ngOnInit() { }
814
- }
815
- LogoComponent.decorators = [
816
- { type: Component, args: [{
817
- selector: 'aeb-logo',
818
- template: "<div class=\"aeb-header-logo-icon\">\r\n <svg\r\n width=\"26\"\r\n height=\"26\"\r\n viewBox=\"0 0 26 26\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M0 0H6V6H0V0ZM0 10H6V16H0V10ZM6 20H0V26H6V20ZM10 0H16V6H10V0ZM16 10H10V16H16V10ZM10 20H16V26H10V20ZM26 0H20V6H26V0ZM20 10H26V16H20V10ZM26 20H20V26H26V20Z\"\r\n fill=\"#2F88F0\"\r\n />\r\n </svg>\r\n</div>\r\n\r\n<div class=\"aeb-header-logo-text\">\r\n <ng-content></ng-content>\r\n</div>\r\n",
819
- encapsulation: ViewEncapsulation.None,
820
- host: {
821
- class: 'aeb-header-logo'
822
- },
823
- styles: [".aeb-header-logo{color:var(--white)!important;display:flex;align-items:center;cursor:pointer}"]
824
- },] }
825
- ];
826
- LogoComponent.ctorParameters = () => [];
827
-
828
- class HeaderModule {
829
- }
830
- HeaderModule.decorators = [
831
- { type: NgModule, args: [{
832
- declarations: [HeaderComponent, LogoComponent],
833
- imports: [CommonModule],
834
- exports: [HeaderComponent, LogoComponent],
835
- },] }
836
- ];
837
-
838
- class SidebarComponent {
839
- constructor() {
840
- this.isRight = false;
841
- this.isOpen = true;
842
- }
843
- ngOnInit() { }
844
- handleToggleSidebar() {
845
- this.isOpen = !this.isOpen;
846
- }
847
- }
848
- SidebarComponent.decorators = [
849
- { type: Component, args: [{
850
- selector: 'aeb-sidebar',
851
- template: "<div *ngIf=\"!layoutMod\" class=\"aeb-sidebar-items\">\r\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\r\n</div>\r\n\r\n<div *ngIf=\"layoutMod === 'burger'\" class=\"aeb-sidebar-burger\">\r\n <div\r\n class=\"aeb-sidebar-burger__icon\"\r\n (click)=\"handleToggleSidebar()\"\r\n >\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M1.71387 12H22.2853\" stroke=\"#27303E\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n <path d=\"M1.71387 5.14258H22.2853\" stroke=\"#27303E\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n <path d=\"M1.71387 18.8574H22.2853\" stroke=\"#27303E\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div>\r\n</div>\r\n\r\n<div *ngIf=\"layoutMod === 'burger'\" class=\"aeb-sidebar-items\">\r\n <div class=\"aeb-sidebar-content\">\r\n <ng-container *ngTemplateOutlet=\"contentTpl\"></ng-container>\r\n </div>\r\n</div>\r\n\r\n<div class=\"aeb-sidebar-footer\" *ngIf=\"isOpen\">\r\n <!-- \u0421\u0432\u044F\u0437\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u043F\u043E \u043F\u043E\u0447\u0442\u0435\r\n <a href=\"mailto:support@aeb.ru\">support@aeb.ru</a> -->\r\n</div>\r\n<div *ngIf=\"!layoutMod\" class=\"aeb-sidebar-toggle-icon\" (click)=\"handleToggleSidebar()\">\r\n <svg\r\n width=\"28\"\r\n height=\"28\"\r\n viewBox=\"0 0 28 28\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M15.5359 6.30688L21.7602 13.3677C21.9199 13.5493 22 13.7653 22 14C22 14.2106 21.9341 14.4606 21.7515 14.6422L15.5318 21.6978C15.3721 21.8793 15.1534 22 14.8856 22C14.6176 22 14.399 21.8794 14.2394 21.6977C13.927 21.3423 13.9119 20.7814 14.244 20.4287L19.9121 14L14.2398 7.56653C13.9272 7.21101 13.9119 6.64939 14.2444 6.29664C14.4095 6.11179 14.6412 6 14.8921 6C15.1445 6 15.3769 6.1135 15.5359 6.30688Z\"\r\n fill=\"#9CA8AF\"\r\n />\r\n <path\r\n fill-rule=\"evenodd\"\r\n clip-rule=\"evenodd\"\r\n d=\"M7.53586 6.30688L13.7602 13.3677C13.9199 13.5493 14 13.7653 14 14C14 14.2106 13.9341 14.4606 13.7515 14.6422L7.53175 21.6978C7.37212 21.8793 7.15341 22 6.88558 22C6.61765 22 6.39904 21.8794 6.2394 21.6977C5.92703 21.3423 5.91188 20.7814 6.24398 20.4287L11.9121 14L6.23978 7.56653C5.92725 7.21101 5.91186 6.64939 6.24438 6.29664C6.4095 6.11179 6.64121 6 6.89212 6C7.14455 6 7.37688 6.1135 7.53586 6.30688Z\"\r\n fill=\"#9CA8AF\"\r\n />\r\n </svg>\r\n</div>\r\n\r\n<ng-template #contentTpl>\r\n <ng-content></ng-content>\r\n</ng-template>",
852
- encapsulation: ViewEncapsulation.None,
853
- host: {
854
- class: 'aeb-sidebar',
855
- '[class.right]': 'isRight',
856
- '[class.open]': 'isOpen',
857
- '[class.aeb-sidebar--burger]': "layoutMod === 'burger'",
858
- },
859
- styles: [".aeb-sidebar{width:80px;display:flex;flex-direction:column;justify-content:space-between;color:var(--darkblue);background-color:var(--white);height:calc(100vh - 80px);top:0;border-right:2px solid #f3f3f3;position:fixed;top:80px;left:0;z-index:1001}.aeb-sidebar.right{left:auto;right:0;border-right:none;border-left:2px solid #f3f3f3}.aeb-sidebar.right .aeb-sidebar-toggle-icon{transform:scaleX(-1)}.aeb-sidebar-items{padding:14px 0 0;flex-direction:column}.aeb-sidebar-item,.aeb-sidebar-items{width:100%;box-sizing:border-box;display:flex;align-items:center}.aeb-sidebar-item{justify-content:center;padding:14px 0;text-decoration:none}.aeb-sidebar-item-icon{display:flex;flex:0 0 auto;width:28px;height:28px;opacity:.8}.aeb-sidebar-item-icon img{-o-object-fit:contain;object-fit:contain;width:100%}.aeb-sidebar-item-icon svg{fill:var(--gray)}.aeb-sidebar-item-label{color:var(--darkblue);display:none;font-size:16px;margin-left:18px}.aeb-sidebar-item:hover{background-color:var(--white-hover);text-decoration:none}.aeb-sidebar-item:hover>a{text-decoration:none}.aeb-sidebar-item.active{pointer-events:none}.aeb-sidebar-item.active .aeb-sidebar-item-label{color:var(--blue)}.aeb-sidebar-item.active .aeb-sidebar-item-icon svg{fill:var(--blue)}.aeb-sidebar-footer{margin-top:auto;font-size:12px;line-height:18px;text-align:center;padding-left:30px;padding-right:30px;color:var(--gray)}.aeb-sidebar-footer a{color:var(--blue)}.aeb-sidebar-toggle-icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;border-radius:4px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;height:50px;margin:16px 8px 10px;transition:all .23s linear}.aeb-sidebar-toggle-icon>svg{transition:all .23s ease}.aeb-sidebar-toggle-icon:hover{background-color:#f3f3f3}.aeb-sidebar-toggle-icon:hover>svg{transform:translateX(2px)}.aeb-sidebar.open{width:260px}.aeb-sidebar.open .aeb-sidebar-item{padding:14px 28px;justify-content:flex-start}.aeb-sidebar.open .aeb-sidebar-item-label{display:inline-block}.aeb-sidebar.open .aeb-sidebar-toggle-icon{background-color:#f3f3f3}.aeb-sidebar.open .aeb-sidebar-toggle-icon>svg{transform:scaleX(-1)}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover{background-color:#e7e7e7}.aeb-sidebar.open .aeb-sidebar-toggle-icon:hover>svg{transform:translateX(-2px) scaleX(-1)}.aeb-sidebar--burger{display:block;transition:width,.2s;overflow:hidden;width:68px}.aeb-sidebar--burger.open{display:flex;flex-direction:column;justify-content:space-between}.aeb-sidebar--burger.open .aeb-sidebar-items{overflow:auto}.aeb-sidebar--burger .aeb-sidebar-burger{height:70px;padding:28px 24px;box-sizing:border-box}.aeb-sidebar--burger .aeb-sidebar-burger__icon{display:inline-block;cursor:pointer}.aeb-sidebar--burger .aeb-sidebar-items{width:260px;margin-bottom:30px;box-sizing:border-box;overflow:hidden;padding:0 24px;display:block}.aeb-sidebar--burger .aeb-sidebar-footer{margin-bottom:32px;width:200px}"]
860
- },] }
861
- ];
862
- SidebarComponent.ctorParameters = () => [];
863
- SidebarComponent.propDecorators = {
864
- isRight: [{ type: Input }],
865
- isOpen: [{ type: Input }],
866
- layoutMod: [{ type: Input, args: ['layoutMod',] }]
867
- };
868
-
869
- class SidebarModule {
870
- }
871
- SidebarModule.decorators = [
872
- { type: NgModule, args: [{
873
- declarations: [SidebarComponent],
874
- imports: [CommonModule],
875
- exports: [SidebarComponent],
876
- },] }
877
- ];
878
-
879
- class TooltipComponent {
880
- constructor(elementRef) {
881
- this.elementRef = elementRef;
882
- }
883
- ngOnInit() {
884
- this.elementRef.nativeElement.classList.add(`aeb-${this.align}-tooltip`);
885
- }
886
- ngOnChanges(changes) {
887
- if (changes.align) {
888
- this.elementRef.nativeElement.className = `aeb-${this.align}-tooltip`;
889
- }
890
- }
891
- }
892
- TooltipComponent.decorators = [
893
- { type: Component, args: [{
894
- selector: 'aeb-tooltip',
895
- template: "<div class=\"tooltip\">\r\n <ng-content select='[class=\"tooltip-item\"]'></ng-content>\r\n <div class=\"tooltip-body\">\r\n <div class=\"tooltip-text\">\r\n <ng-content select=\"[tooltip-text]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n",
896
- encapsulation: ViewEncapsulation.None,
897
- styles: [".tooltip-item{display:inline-block;width:auto;z-index:0}.tooltip-body{position:absolute;visibility:hidden;opacity:0;width:auto;padding-top:32px;transition:visibility 0s,opacity .5s linear;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}.tooltip{position:relative;display:inline-block}.tooltip:hover>.tooltip-body{visibility:visible;opacity:1}.tooltip-text{background-color:var(--white);width:360px;min-height:56px;border-radius:12px;padding:16px 20px 20px;z-index:1}.aeb-top-left-tooltip .tooltip-body{top:100%;left:calc(50% - 57px)}.aeb-top-left-tooltip .tooltip-text:after{content:\" \";position:absolute;top:18px;left:32px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-225deg);z-index:-10000}.aeb-top-center-tooltip .tooltip-body{top:100%;left:calc(50% - 198px)}.aeb-top-center-tooltip .tooltip-text:after{content:\" \";position:absolute;top:18px;right:calc(50% - 17px);background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-225deg);z-index:-10000}.aeb-top-right-tooltip .tooltip-body{top:100%;right:calc(50% - 51px)}.aeb-top-right-tooltip .tooltip-text:after{content:\" \";position:absolute;top:18px;right:32px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-225deg);z-index:-10000}.aeb-bottom-left-tooltip .tooltip-body{padding-top:0;padding-bottom:32px;bottom:100%;left:calc(50% - 51px)}.aeb-bottom-left-tooltip .tooltip-text:after{content:\" \";position:absolute;bottom:18px;left:32px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-45deg);z-index:-10000}.aeb-bottom-center-tooltip .tooltip-body{padding-top:0;padding-bottom:32px;bottom:100%;left:calc(50% - 192px)}.aeb-bottom-center-tooltip .tooltip-text:after{content:\" \";position:absolute;bottom:18px;right:calc(50% - 17px);background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-45deg);z-index:-10000}.aeb-bottom-right-tooltip .tooltip-body{padding-top:0;padding-bottom:32px;bottom:100%;right:calc(50% - 57px)}.aeb-bottom-right-tooltip .tooltip-text:after{content:\" \";position:absolute;bottom:18px;right:32px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-45deg);z-index:-10000}.aeb-left-top-tooltip .tooltip-body{padding-top:0;padding-left:32px;left:100%;top:calc(50% - 47px)}.aeb-left-top-tooltip .tooltip-text:after{content:\" \";position:absolute;top:32px;left:18px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(45deg);z-index:-10000}.aeb-left-center-tooltip .tooltip-body{padding-top:0;padding-left:32px;left:100%}.aeb-left-center-tooltip .tooltip-text:after{content:\" \";position:absolute;top:calc(50% - 17px);left:18px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(45deg);z-index:-10000}.aeb-left-bottom-tooltip .tooltip-body{padding-top:0;padding-left:32px;left:100%;bottom:calc(50% - 52px)}.aeb-left-bottom-tooltip .tooltip-text:after{content:\" \";position:absolute;bottom:32px;left:18px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(45deg);z-index:-10000}.aeb-right-top-tooltip .tooltip-body{padding-top:0;padding-right:32px;right:100%;top:calc(50% - 53px)}.aeb-right-top-tooltip .tooltip-text:after{top:32px;right:18px}.aeb-right-center-tooltip .tooltip-text:after,.aeb-right-top-tooltip .tooltip-text:after{content:\" \";position:absolute;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-135deg);z-index:-10000}.aeb-right-center-tooltip .tooltip-text:after{bottom:calc(50% - 12px);left:calc(100% - 25px)}.aeb-right-bottom-tooltip .tooltip-body{padding-top:0;padding-right:32px;right:100%;bottom:calc(50% - 47px)}.aeb-right-bottom-tooltip .tooltip-text:after{content:\" \";position:absolute;bottom:32px;right:18px;background-color:var(--white);border-radius:0 0 0 8px;width:44px;height:35px;transform:rotate(-135deg);z-index:-10000}"]
898
- },] }
899
- ];
900
- TooltipComponent.ctorParameters = () => [
901
- { type: ElementRef }
902
- ];
903
- TooltipComponent.propDecorators = {
904
- align: [{ type: Input }]
905
- };
906
-
907
- class TooltipModule {
908
- }
909
- TooltipModule.decorators = [
910
- { type: NgModule, args: [{
911
- declarations: [TooltipComponent],
912
- imports: [CommonModule],
913
- exports: [TooltipComponent]
914
- },] }
915
- ];
916
-
917
- class LabelComponent {
918
- constructor() { }
919
- ngOnInit() { }
920
- }
921
- LabelComponent.decorators = [
922
- { type: Component, args: [{
923
- selector: 'aeb-filter-label',
924
- template: "<div class=\"aeb-label\">\r\n <div class=\"aeb-label-text\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"aeb-label-icon-close\">\r\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1.4L12.6 0L7 5.6L1.4 0L0 1.4L5.6 7L0 12.6L1.4 14L7 8.4L12.6 14L14 12.6L8.4 7L14 1.4Z\" fill=\"#2F88F0\"/>\r\n </svg>\r\n </div>\r\n</div>\r\n",
925
- encapsulation: ViewEncapsulation.None,
926
- styles: [".aeb-label{background-color:#d5e8fc;border-radius:16px;padding:7px 11px 7px 21px;height:32px;box-sizing:border-box;display:inline-block}.aeb-label-text{color:var(--blue);font-size:16px;line-height:18px;float:left}.aeb-label-icon-close{height:14px;box-sizing:border-box;float:right;margin-left:11px;margin-top:1px}"]
927
- },] }
928
- ];
929
- LabelComponent.ctorParameters = () => [];
930
-
931
- class LabelModule {
932
- }
933
- LabelModule.decorators = [
934
- { type: NgModule, args: [{
935
- declarations: [LabelComponent],
936
- imports: [CommonModule],
937
- exports: [LabelComponent],
938
- },] }
939
- ];
940
-
941
- class VisaComponent {
942
- constructor() { }
943
- ngOnInit() { }
944
- }
945
- VisaComponent.decorators = [
946
- { type: Component, args: [{
947
- selector: 'aeb-visa',
948
- template: "<div class=\"aeb-visa\">\r\n <h3>\r\n \u0412\u0438\u0437\u044B\r\n </h3>\r\n <div class=\"aeb-visa-timeline\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n",
949
- encapsulation: ViewEncapsulation.None,
950
- styles: [".aeb-visa{width:100%;background:var(--white);border-radius:12px;padding:24px 22px;box-sizing:border-box;color:var(--darkblue)}.aeb-visa>h3{margin:0;font-weight:700;font-size:20px;line-height:23px}.aeb-visa .aeb-visa-timeline{margin-top:3rem}.aeb-visa .aeb-visa-timeline>aeb-visa-item{margin-bottom:2rem;display:flex}.aeb-visa .aeb-visa-timeline aeb-visa-item:last-child{margin-bottom:0}.aeb-visa .aeb-visa-timeline aeb-visa-item:last-child .aeb-visa-progress{display:none}.aeb-visa .aeb-visa-timeline .aeb-visa-icon{position:relative;z-index:2;width:20px;height:20px;flex:none;display:block}.aeb-visa .aeb-visa-timeline .aeb-visa-icon>svg{width:20px}.aeb-visa .aeb-visa-timeline .aeb-visa-progress{width:2px;height:70px;background:#e7eaec;z-index:-1;position:relative;top:-9px;left:9px}.aeb-visa .aeb-visa-timeline .aeb-visa-progress.agreed{background:#00bf41}.aeb-visa .aeb-visa-timeline .aeb-visa-status{margin-left:20px}.aeb-visa .aeb-visa-timeline .aeb-visa-status.isReturned .aeb-visa-title{color:#ff3055}.aeb-visa .aeb-visa-timeline .aeb-visa-status.isAgreed .aeb-visa-title{color:#00bf41}.aeb-visa-title{font-size:16px;line-height:22px;color:#27303e}.aeb-visa-subtitle{font-weight:400;font-size:16px;line-height:22px;color:#9ca8af;display:block}@media (max-width:767px){.aeb-visa>h3{font-size:14px}}"]
951
- },] }
952
- ];
953
- VisaComponent.ctorParameters = () => [];
954
-
955
- class VisaItemComponent {
956
- constructor() { }
957
- ngOnInit() { }
958
- }
959
- VisaItemComponent.decorators = [
960
- { type: Component, args: [{
961
- selector: 'aeb-visa-item',
962
- template: "<div [ngSwitch]=\"status\" class=\"aeb-visa-icon\">\r\n <ng-template ngSwitchCase=\"isReturned\">\r\n <svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <circle cx=\"10\" cy=\"10\" r=\"10\" fill=\"#FF3055\" />\r\n <rect\r\n x=\"5\"\r\n y=\"5.88379\"\r\n width=\"1.75\"\r\n height=\"12.5\"\r\n rx=\"0.875\"\r\n transform=\"rotate(-45 5 5.88379)\"\r\n fill=\"white\"\r\n />\r\n <rect\r\n width=\"1.75\"\r\n height=\"12.5\"\r\n rx=\"0.875\"\r\n transform=\"matrix(-0.707107 -0.707107 -0.707107 0.707107 14.7229 5.88379)\"\r\n fill=\"white\"\r\n />\r\n </svg>\r\n\r\n <div class=\"aeb-visa-progress\"></div>\r\n </ng-template>\r\n <ng-template ngSwitchCase=\"isAgreed\">\r\n <svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M10.0283 0.0283264C4.5298 0.0127068 0.0439644 4.47313 0.0283447 9.97167C0.012725 15.4702 4.47315 19.9561 9.97169 19.9717C15.4702 19.9873 19.9561 15.5269 19.9717 10.0283C19.9873 4.52978 15.5269 0.0439461 10.0283 0.0283264Z\"\r\n fill=\"#00BF41\"\r\n />\r\n <path\r\n d=\"M13.109 6.98264L9.52446 11.2591L7.67997 9.40447C7.35682 9.07906 6.82998 9.07756 6.50498 9.40114C6.17956 9.72471 6.17807 10.2507 6.50164 10.5761L8.98748 13.0761C9.14367 13.2328 9.35491 13.3206 9.5747 13.3213C9.58716 13.3213 9.60004 13.3213 9.61251 13.3205C9.84563 13.3108 10.0641 13.203 10.2141 13.0239L14.3832 8.04991C14.6779 7.69799 14.6316 7.17435 14.2801 6.87918C13.9282 6.58485 13.4037 6.63072 13.109 6.98264Z\"\r\n fill=\"white\"\r\n />\r\n </svg>\r\n\r\n <div class=\"aeb-visa-progress agreed\"></div>\r\n </ng-template>\r\n <ng-template ngSwitchCase=\"isProgress\"\r\n ><svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <circle cx=\"10\" cy=\"10\" r=\"10\" fill=\"#E7EAEC\" />\r\n <path\r\n d=\"M10 3C6.1402 3 3 6.1402 3 10C3 13.8598 6.1402 17 10 17C13.8598 17 17 13.8598 17 10C17 6.1402 13.8598 3 10 3ZM10 15.5105C6.96153 15.5105 4.48934 13.0386 4.48934 10C4.48934 6.96138 6.96153 4.48948 10 4.48948C13.0385 4.48948 15.5107 6.96138 15.5107 10C15.5107 13.0386 13.0385 15.5105 10 15.5105Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M13.4088 9.95425H10.1823V6.52288C10.1823 6.23412 9.91762 6 9.59116 6C9.26469 6 9 6.23412 9 6.52288V10.4771C9 10.7659 9.26469 11 9.59116 11H13.4088C13.7353 11 14 10.7659 14 10.4771C14 10.1884 13.7353 9.95425 13.4088 9.95425Z\"\r\n fill=\"white\"\r\n stroke=\"white\"\r\n stroke-width=\"0.3\"\r\n />\r\n </svg>\r\n\r\n <div class=\"aeb-visa-progress\"></div>\r\n </ng-template>\r\n</div>\r\n<div class=\"aeb-visa-status {{ status }}\">\r\n <ng-content></ng-content>\r\n</div>\r\n"
963
- },] }
964
- ];
965
- VisaItemComponent.ctorParameters = () => [];
966
- VisaItemComponent.propDecorators = {
967
- status: [{ type: Input }]
968
- };
969
-
970
- class SpanTitleDirective {
971
- constructor() { }
972
- }
973
- SpanTitleDirective.decorators = [
974
- { type: Directive, args: [{
975
- selector: 'span[title]',
976
- host: {
977
- class: 'aeb-visa-title',
978
- },
979
- },] }
980
- ];
981
- SpanTitleDirective.ctorParameters = () => [];
982
- class SpanSubtitleDirective {
983
- constructor() { }
984
- }
985
- SpanSubtitleDirective.decorators = [
986
- { type: Directive, args: [{
987
- selector: 'span[subtitle]',
988
- host: {
989
- class: 'aeb-visa-subtitle',
990
- },
991
- },] }
992
- ];
993
- SpanSubtitleDirective.ctorParameters = () => [];
994
-
995
- class VisaModule {
996
- }
997
- VisaModule.decorators = [
998
- { type: NgModule, args: [{
999
- declarations: [
1000
- VisaComponent,
1001
- VisaItemComponent,
1002
- SpanTitleDirective,
1003
- SpanSubtitleDirective,
1004
- ],
1005
- imports: [CommonModule],
1006
- exports: [
1007
- VisaComponent,
1008
- VisaItemComponent,
1009
- SpanTitleDirective,
1010
- SpanSubtitleDirective,
1011
- ],
1012
- },] }
1013
- ];
1014
-
1015
- class SpinnerComponent {
1016
- constructor() { }
1017
- ngOnInit() { }
1018
- }
1019
- SpinnerComponent.decorators = [
1020
- { type: Component, args: [{
1021
- selector: 'aeb-spinner',
1022
- template: "<div class=\"spinner-wrap\">\r\n <div class=\"spinner-circle\">\r\n <svg class=\"spinner-circle-border\" viewBox=\"0 0 50 50\">\r\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"2\"></circle>\r\n </svg>\r\n <svg class=\"spinner-circle-border rotate\" viewBox=\"0 0 50 50\">\r\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"2\"></circle>\r\n </svg>\r\n <svg class=\"spinner-circle-diamond\" width=\"26\" height=\"26\" viewBox=\"0 0 26 26\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.2101 16.1713L16.2663 19.0952L18.223 23.7905L23.9375 18.1148L19.2101 16.1713ZM15.1754 19.5423H11.0021L9.0454 24.2376H17.1148L15.1754 19.5423ZM19.6776 10.9428V15.0706L24.3877 17.0141V8.9994L19.6776 10.9428ZM9.8939 19.0952L6.9501 16.1713L2.24 18.1148L7.9544 23.7905L9.8939 19.0952ZM18.223 2.223L16.2663 6.9183L19.2101 9.8421L23.9375 7.8986L18.223 2.223ZM11.0021 6.4539H15.1754L17.1148 1.7758H9.0454L11.0021 6.4539ZM6.4999 15.0706V10.9428L1.7898 8.9994V17.0141L6.4999 15.0706ZM6.9501 9.8421L9.8939 6.9183L7.9544 2.223L2.24 7.8986L6.9501 9.8421ZM15.4005 18.5448L18.656 15.2942V10.7021L15.4005 7.4687H10.777L7.5042 10.7021V15.2942L10.777 18.5448H15.4005ZM7.9891 25.2352C5.2011 24.2154 1.7898 20.6463 0.768129 18.0804C-0.253521 15.5145 -0.258561 10.9428 0.768129 7.933C1.7948 4.9232 4.875 1.7758 7.9891 0.761051C11.1031 -0.253679 15.5877 -0.253689 18.1884 0.761051C20.7891 1.7758 24.896 5.9272 25.4094 7.933C25.9227 9.9389 26.431 15.5145 25.4094 18.0804C24.3877 20.6463 20.7213 24.2154 18.1884 25.2352C15.6556 26.2549 10.777 26.2549 7.9891 25.2352Z\" fill=\"url(#paint0_linear)\"/>\r\n <defs>\r\n <linearGradient id=\"paint0_linear\" x1=\"13.9013\" y1=\"26\" x2=\"13.9013\" y2=\"0\" gradientUnits=\"userSpaceOnUse\">\r\n <stop stop-color=\"#00B8FF\"/>\r\n <stop offset=\"1\" stop-color=\"#0079D6\"/>\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n </div>\r\n</div>\r\n",
1023
- encapsulation: ViewEncapsulation.None,
1024
- styles: [".spinner-wrap{width:auto;height:auto;position:relative}.spinner-circle{width:60px;height:60px;display:flex;align-items:center;justify-content:center;margin:auto}.spinner-circle .spinner-circle-border{width:60px;height:60px;position:absolute;-webkit-animation:spin .75s linear infinite;animation:spin .75s linear infinite}.spinner-circle .spinner-circle-border .path{stroke:#0079d6;stroke-linecap:round;-webkit-animation:dash 1s ease-in-out infinite;animation:dash 1s ease-in-out infinite}.spinner-circle .spinner-circle-border .spinner-circle-border-mask{background-color:var(--white)}.spinner-circle .rotate{-webkit-animation:spin2 .75s linear infinite;animation:spin2 .75s linear infinite}.spinner-circle .rotate .path{stroke:#00b8ff}.spinner-circle .spinner-circle-diamond{-webkit-animation:zoom .5s ease-in-out infinite alternate;animation:zoom .5s ease-in-out infinite alternate}@-webkit-keyframes spin2{0%{transform:rotate(180deg)}to{transform:rotate(179deg)}}@keyframes spin2{0%{transform:rotate(180deg)}to{transform:rotate(179deg)}}@-webkit-keyframes zoom{0%{transform:scale(1.2)}to{transform:scale(.75)}}@keyframes zoom{0%{transform:scale(1.2)}to{transform:scale(.75)}}@-webkit-keyframes spin{0%{transform:rotate(1turn)}to{transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(1turn)}to{transform:rotate(359deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:0,150;stroke-dashoffset:0}50%{stroke-dasharray:50,150;stroke-dashoffset:-35}to{stroke-dasharray:50,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:0,150;stroke-dashoffset:0}50%{stroke-dasharray:50,150;stroke-dashoffset:-35}to{stroke-dasharray:50,150;stroke-dashoffset:-124}}"]
1025
- },] }
1026
- ];
1027
- SpinnerComponent.ctorParameters = () => [];
1028
-
1029
- class SpinnerModule {
1030
- }
1031
- SpinnerModule.decorators = [
1032
- { type: NgModule, args: [{
1033
- declarations: [SpinnerComponent],
1034
- imports: [CommonModule],
1035
- exports: [SpinnerComponent],
1036
- },] }
1037
- ];
1038
-
1039
- class AebNotificationsComponent {
1040
- constructor() {
1041
- this.close = new EventEmitter();
1042
- }
1043
- ngOnInit() { }
1044
- handleClose(id) {
1045
- this.close.emit(id);
1046
- }
1047
- }
1048
- AebNotificationsComponent.decorators = [
1049
- { type: Component, args: [{
1050
- selector: 'aeb-notifications',
1051
- template: "<div *ngIf=\"notifications?.length\" class=\"aeb-notifications-wrapper\">\r\n <div\r\n *ngFor=\"let notification of notifications\"\r\n class=\"aeb-notification\"\r\n [ngClass]=\"{\r\n default: notification.variant === 'default',\r\n success: notification.variant === 'success',\r\n error: notification.variant === 'error'\r\n }\"\r\n >\r\n <div [innerHTML]=\"notification.message\"></div>\r\n <div\r\n role=\"button\"\r\n class=\"close-button\"\r\n (click)=\"handleClose(notification.id)\"\r\n >\r\n &times;\r\n </div>\r\n </div>\r\n</div>\r\n",
1052
- encapsulation: ViewEncapsulation.None,
1053
- styles: [".aeb-notifications-wrapper{position:fixed;bottom:0;right:44px;z-index:2}.aeb-notification{width:400px;padding:24px;border-radius:12px;margin-bottom:16px;box-shadow:0 .25rem .75rem rgba(255,78,78,.1);display:flex;justify-content:space-between;line-height:1.4em}.aeb-notification.default{color:var(--blue);background-color:var(--lightblue);border:1px solid #a2cdff}.aeb-notification.error{background-color:#efaaad;color:#9b0404;border:1px solid #f99191}.aeb-notification.success{background-color:#d6ffc9;color:#008a38;border:1px solid #a2edc2}.aeb-notification ul{list-style-type:disc}.aeb-notification li{margin-left:24px;margin-top:8px}.aeb-notification strong{font-weight:700}.close-button{font-size:18px;padding-left:16px;flex:0 0 auto}"]
1054
- },] }
1055
- ];
1056
- AebNotificationsComponent.ctorParameters = () => [];
1057
- AebNotificationsComponent.propDecorators = {
1058
- notifications: [{ type: Input }],
1059
- close: [{ type: Output }]
1060
- };
1061
-
1062
- class NotificationsModule {
1063
- }
1064
- NotificationsModule.decorators = [
1065
- { type: NgModule, args: [{
1066
- declarations: [AebNotificationsComponent],
1067
- imports: [CommonModule],
1068
- exports: [AebNotificationsComponent],
1069
- },] }
1070
- ];
1071
-
1072
- class OptionComponent {
1073
- constructor() {
1074
- this.setValue = new EventEmitter();
1075
- }
1076
- ngOnInit() { }
1077
- ngAfterViewInit() {
1078
- this.label = this.textElement.nativeElement.textContent;
1079
- }
1080
- }
1081
- OptionComponent.decorators = [
1082
- { type: Component, args: [{
1083
- selector: 'aeb-option',
1084
- template: "<div\r\n #text\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n",
1085
- encapsulation: ViewEncapsulation.None
1086
- },] }
1087
- ];
1088
- OptionComponent.ctorParameters = () => [];
1089
- OptionComponent.propDecorators = {
1090
- value: [{ type: Input }],
1091
- label: [{ type: Input }],
1092
- setValue: [{ type: Output }],
1093
- textElement: [{ type: ViewChild, args: ['text',] }]
1094
- };
1095
-
1096
- class SelectComponent {
1097
- constructor(cdr) {
1098
- this.cdr = cdr;
1099
- this.change = new EventEmitter();
1100
- this.disabled = false;
1101
- this.direction = 'bottom';
1102
- this.isOpen = false;
1103
- this.placeholder = '';
1104
- this.options = [];
1105
- }
1106
- get value() {
1107
- return this._value;
1108
- }
1109
- set value(value) {
1110
- if (value === this._value) {
1111
- return;
1112
- }
1113
- this._value = value;
1114
- if (typeof this.onChange === 'function') {
1115
- this.onChange(this._value);
1116
- }
1117
- this.change.emit(value);
1118
- }
1119
- get selectedOption() {
1120
- if (this.options) {
1121
- return this.options.find(option => option.value === this._value);
1122
- }
1123
- return null;
1124
- }
1125
- /**
1126
- * Вызывается при задании исходного (new FormControl('I am default value'))
1127
- * или нового значения сверху control.setValue('I am setted value').
1128
- */
1129
- writeValue(value) {
1130
- this._value = value;
1131
- }
1132
- /**
1133
- * Метод определяющий обработчик, который должен быть вызван при изменении значения
1134
- * (fn является callback'ом, который уведомит форму о том, что в этом контроле изменилось значение).
1135
- */
1136
- registerOnChange(fn) {
1137
- this.onChange = fn;
1138
- }
1139
- /**
1140
- * Определяет callback, который вызывается на blur событие (control помечается флагом touched)
1141
- */
1142
- registerOnTouched() { }
1143
- setValue(option) {
1144
- this.value = option;
1145
- this.closeDropdown();
1146
- }
1147
- openDropdown() {
1148
- if (this.disabled)
1149
- return;
1150
- if (this.isOpen === true)
1151
- this.closeDropdown();
1152
- else
1153
- this.isOpen = true;
1154
- }
1155
- closeDropdown() {
1156
- this.isOpen = false;
1157
- }
1158
- ;
1159
- handleClickOutside(event) {
1160
- if (this.isOpen) {
1161
- this.closeDropdown();
1162
- }
1163
- }
1164
- ngAfterViewInit() {
1165
- this.options = [...this.optionsQuery];
1166
- this.optionsQuery.changes.subscribe(() => {
1167
- this.options = [...this.optionsQuery];
1168
- });
1169
- this.cdr.detectChanges();
1170
- }
1171
- }
1172
- SelectComponent.decorators = [
1173
- { type: Component, args: [{
1174
- selector: 'aeb-select',
1175
- template: "<div class=\"aeb-dropdown-inner\" (clickOutside)=\"handleClickOutside($event)\">\r\n <div\r\n class=\"aeb-dropdown-float-label\"\r\n [ngClass]=\"{\r\n error: hasError,\r\n placeholder: !selectedOption,\r\n open: isOpen && selectedOption\r\n }\"\r\n (click)=\"openDropdown()\"\r\n >\r\n <ng-content select=\"label\"></ng-content>\r\n </div>\r\n <div\r\n class=\"aeb-dropdown-selected-item\"\r\n [ngClass]=\"{ open: isOpen, error: hasError, top: direction === 'top' }\"\r\n (click)=\"openDropdown()\"\r\n #toggle\r\n >\r\n <div *ngIf=\"selectedOption\">\r\n {{ selectedOption ? selectedOption.label : placeholder }}\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"aeb-dropdown-icon\"\r\n [ngClass]=\"{ active: isOpen }\"\r\n [ngSwitch]=\"disabled\"\r\n >\r\n <svg\r\n *ngSwitchCase=\"false\"\r\n width=\"20\"\r\n height=\"20\"\r\n viewBox=\"0 0 20 20\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M6.05037 9.36385C5.4204 8.73388 5.86657 7.65674 6.75748 7.65674H13.2428C14.1337 7.65674 14.5798 8.73388 13.9499 9.36385L10.7072 12.6065C10.3167 12.997 9.68353 12.997 9.29301 12.6065L6.05037 9.36385Z\"\r\n fill=\"#9CA8AF\"\r\n />\r\n </svg>\r\n <svg\r\n *ngSwitchCase=\"true\"\r\n width=\"20\"\r\n height=\"20\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <rect\r\n x=\"3\"\r\n y=\"7\"\r\n width=\"18\"\r\n height=\"16\"\r\n rx=\"3\"\r\n stroke=\"#A3AAAE\"\r\n stroke-width=\"2\"\r\n />\r\n <path\r\n d=\"M8.24682 7C8.08719 6.59903 8 6.16547 8 5.713C8 3.66237 9.79086 2 12 2C14.2091 2 16 3.66237 16 5.713C16 6.16547 15.9128 6.59903 15.7532 7\"\r\n stroke=\"#A3AAAE\"\r\n stroke-width=\"2\"\r\n />\r\n </svg>\r\n </div>\r\n\r\n <div\r\n class=\"aeb-dropdown-menu\"\r\n [ngClass]=\"{\r\n open: isOpen,\r\n error: hasError,\r\n top: direction === 'top',\r\n bottom: direction === 'bottom'\r\n }\"\r\n >\r\n <ul>\r\n <li\r\n class=\"aeb-dropdown-item\"\r\n (click)=\"setValue(option.value)\"\r\n *ngFor=\"let option of options\"\r\n >\r\n {{ option.label }}\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n",
1176
- host: {
1177
- class: 'aeb-dropdown',
1178
- },
1179
- encapsulation: ViewEncapsulation.None,
1180
- providers: [
1181
- {
1182
- provide: NG_VALUE_ACCESSOR,
1183
- useExisting: forwardRef(() => SelectComponent),
1184
- multi: true
1185
- }
1186
- ],
1187
- styles: [".aeb-dropdown{width:100%;position:relative;font-size:18px;cursor:pointer;display:flex;color:var(--darkblue)}.aeb-dropdown .aeb-dropdown-inner{width:100%}.aeb-dropdown .aeb-dropdown-icon{position:absolute;top:18px;right:16px;width:20px;height:20px;pointer-events:none;transition:all .2s cubic-bezier(.4,0,.2,1)}.aeb-dropdown .aeb-dropdown-icon.active{transform:rotate(180deg)}.aeb-dropdown .aeb-dropdown-selected-item{width:100%;height:56px;background:var(--white);border:2px solid var(--gray-primary);border-radius:10px;padding-left:16px;padding-right:26px;display:flex;align-items:center;box-sizing:border-box;color:var(--black)}.aeb-dropdown .aeb-dropdown-selected-item.open{border-color:var(--blue)}.aeb-dropdown .aeb-dropdown-selected-item.open.top{border-radius:0 0 10px 10px;border-top:0}.aeb-dropdown .aeb-dropdown-selected-item.error{color:var(--red);border-color:var(--red);background:var(--white)}.aeb-dropdown .placeholder{color:var(--gray)}.aeb-dropdown .placeholder.error{color:var(--red)}.aeb-dropdown .aeb-dropdown-float-label{position:absolute;font-size:12px;color:var(--gray);top:-5px;left:10px;background:var(--white);padding:0 5px}.aeb-dropdown .aeb-dropdown-float-label.open{color:var(--blue)}.aeb-dropdown .aeb-dropdown-float-label.error{color:var(--red)}.aeb-dropdown .aeb-dropdown-float-label.placeholder{font-weight:400;font-size:18px;line-height:19px;top:18px;background:var(--white);border-radius:10px;padding-right:26px}.aeb-dropdown .aeb-dropdown-menu{position:absolute;width:100%;background:var(--white);border:2px solid var(--gray-primary);box-sizing:border-box;z-index:2;display:none}.aeb-dropdown .aeb-dropdown-menu ul{list-style:none;padding:0;margin:10px 0 0}.aeb-dropdown .aeb-dropdown-menu.bottom{top:100%;margin-top:-10px;border-top:none;border-radius:0 0 10px 10px}.aeb-dropdown .aeb-dropdown-menu.top{top:0;transform:translateY(-100%);border-radius:10px 10px 0 0;border-bottom:none;overflow:hidden}.aeb-dropdown .aeb-dropdown-menu.top ul{margin:0}.aeb-dropdown .aeb-dropdown-menu.open{display:block;border-color:var(--blue)}.aeb-dropdown .aeb-dropdown-menu.error{border-color:var(--red)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item{padding:15px 16px;border-top:1px solid var(--lightgray)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item.active{background-color:var(--white-active)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item:hover{background-color:var(--white-hover)}.aeb-dropdown .aeb-dropdown-menu .aeb-dropdown-item:last-child{border-radius:0 0 8px 8px}"]
1188
- },] }
1189
- ];
1190
- SelectComponent.ctorParameters = () => [
1191
- { type: ChangeDetectorRef }
1192
- ];
1193
- SelectComponent.propDecorators = {
1194
- change: [{ type: Output }],
1195
- hasError: [{ type: Input }],
1196
- disabled: [{ type: Input }],
1197
- direction: [{ type: Input }],
1198
- optionsQuery: [{ type: ContentChildren, args: [OptionComponent,] }]
1199
- };
1200
-
1201
- class SelectModule {
1202
- }
1203
- SelectModule.decorators = [
1204
- { type: NgModule, args: [{
1205
- declarations: [SelectComponent, OptionComponent],
1206
- imports: [CommonModule, ClickOutsideModule],
1207
- exports: [SelectComponent, OptionComponent],
1208
- },] }
1209
- ];
1210
-
1211
- class NewButtonComponent {
1212
- constructor() {
1213
- /**
1214
- * button text label
1215
- */
1216
- this.label = '';
1217
- /**
1218
- * show solid button or border button
1219
- */
1220
- this.solid = true;
1221
- /**
1222
- * allows to take up 100% of the width
1223
- */
1224
- this.fill = false;
1225
- /**
1226
- * button icon
1227
- */
1228
- this.showIcon = false;
1229
- /**
1230
- * button dropdown icon
1231
- */
1232
- this.showDropdown = false;
1233
- /**
1234
- * disable button
1235
- */
1236
- this.disabled = false;
1237
- this.clickEvent$ = new EventEmitter();
1238
- this.isHovered = false;
1239
- }
1240
- }
1241
- NewButtonComponent.decorators = [
1242
- { type: Component, args: [{
1243
- selector: 'aeb-new-button',
1244
- template: "<div class=\"primary-button\" \r\n [ngClass]=\"{ 'primary-button--solid' : solid,\r\n 'primary-button--fill' : fill,\r\n 'primary-button--solid--disabled' : solid && disabled,\r\n 'primary-button--disabled' : !solid && disabled }\"\r\n (mouseover)=\"isHovered = true\"\r\n (mouseleave)=\"isHovered = false\"\r\n (touchstart)=\"clickEvent$.next()\"\r\n (click)=\"clickEvent$.next()\"\r\n >\r\n <div\r\n class=\"primary-button__label-wrapper\" [ngClass]=\"{ 'primary-button__label-wrapper--single' : !showIcon && !showDropdown }\"\r\n *ngIf=\"label || showDropdown || showIcon; else content\"\r\n >\r\n <div \r\n *ngIf=\"showIcon\"\r\n class=\"primary-button__label-image\"\r\n [style.background-image]=\" isHovered ? hoveredIconSource : iconSource\"\r\n ></div>\r\n <div>{{ label }}</div>\r\n <div *ngIf=\"showDropdown\" class=\"primary-button__arrow-down\"></div>\r\n </div>\r\n <ng-template #content>\r\n <div class=\"primary-button__label-wrapper\" [ngClass]=\"hoverClass\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n</div>\r\n",
1245
- styles: [".primary-button{box-sizing:border-box;display:inline-block;height:56px;border-radius:10px;background:var(--white);border:2px solid var(--blue);color:var(--blue);font-size:18px;cursor:pointer}.primary-button:focus{outline:none}.primary-button:hover{color:var(--blue-turquoise);border:2px solid var(--blue-turquoise)}.primary-button:active{border:2px double transparent;border-radius:10px;background-image:linear-gradient(#fff,#fff),linear-gradient(180deg,#11bef4,#02d1c5);background-origin:border-box;background-clip:content-box,border-box;color:var(--blue-turquoise)}.primary-button:active .primary-button__arrow-down{background:url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%226%22 viewBox%3D%220 0 10 6%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1%22 stroke%3D%22%2300B1E9%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.primary-button--fill{width:100%}.primary-button--disabled{border:2px solid var(--gray-primary);color:var(--gray-primary);cursor:default;pointer-events:none}.primary-button--disabled .primary-button__arrow-down{background:url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%226%22 viewBox%3D%220 0 10 6%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1%22 stroke%3D%22%23A3AAAE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.primary-button--solid{background:var(--blue);color:var(--white)}.primary-button--solid--disabled{color:var(--gray-primary);background:var(--gray-primary);border:2px solid var(--gray-primary);color:var(--white);cursor:default;pointer-events:none}.primary-button--solid .primary-button__arrow-down{background:url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%226%22 viewBox%3D%220 0 10 6%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1%22 stroke%3D%22white%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.primary-button--solid:hover{background:var(--blue-turquoise);border:2px solid var(--blue-turquoise);color:var(--white)}.primary-button--solid:active{border:2px solid #02d1c5;background-image:linear-gradient(180deg,#11bef4,#02d1c5);background-origin:border-box;background-clip:content-box,border-box;color:var(--white)}.primary-button--solid:active .primary-button__arrow-down{background:url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%226%22 viewBox%3D%220 0 10 6%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1%22 stroke%3D%22white%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.primary-button__label-wrapper{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:15px 24px}.primary-button__label-wrapper--single{justify-content:space-around}.primary-button__label-image{width:22px;height:20px;background-size:contain;background-repeat:no-repeat;margin-right:10px}.primary-button__arrow-down{margin-left:8px;width:10px;height:6px;background:url(\"data:image/svg+xml,%3Csvg width%3D%2210%22 height%3D%226%22 viewBox%3D%220 0 10 6%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1%22 stroke%3D%22%232F88F0%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\");background-size:cover;background-repeat:no-repeat}"]
1246
- },] }
1247
- ];
1248
- NewButtonComponent.propDecorators = {
1249
- label: [{ type: Input }],
1250
- solid: [{ type: Input }],
1251
- fill: [{ type: Input }],
1252
- showIcon: [{ type: Input }],
1253
- iconSource: [{ type: Input }],
1254
- hoveredIconSource: [{ type: Input }],
1255
- showDropdown: [{ type: Input }],
1256
- disabled: [{ type: Input }],
1257
- hoverClass: [{ type: Input }],
1258
- clickEvent$: [{ type: Output }]
1259
- };
1260
-
1261
- class NewButtonModule {
1262
- }
1263
- NewButtonModule.decorators = [
1264
- { type: NgModule, args: [{
1265
- declarations: [NewButtonComponent],
1266
- imports: [CommonModule],
1267
- exports: [NewButtonComponent]
1268
- },] }
1269
- ];
1270
-
1271
- class FileAttachComponent {
1272
- constructor() {
1273
- this.title = '';
1274
- /**
1275
- * showing document list
1276
- */
1277
- this.documentList = '';
1278
- this.maxFilesLength = 10;
1279
- this.showPassportInput = true;
1280
- this.showDocumentList = true;
1281
- /**
1282
- * message for file type
1283
- */
1284
- this.fileTypeMessage = '';
1285
- this.changeListEvent$ = new EventEmitter();
1286
- this.maxFilesLengthError$ = new EventEmitter();
1287
- this.files = [];
1288
- this.isFileInFocus = false;
1289
- }
1290
- clearFileList() {
1291
- this.files = [];
1292
- this.changeListEvent$.emit(this.files);
1293
- }
1294
- getCaseByNumber(word) {
1295
- const num = this.files.length;
1296
- const cases = [2, 0, 1, 1, 1, 2];
1297
- return word[(num % 100 > 4 && num % 100 < 20) ? 2 : cases[(num % 10 < 5) ? num % 10 : 5]];
1298
- }
1299
- chooseFile(file) {
1300
- console.log(file);
1301
- if (this.files.length >= this.maxFilesLength) {
1302
- this.maxFilesLengthError$.emit();
1303
- }
1304
- else {
1305
- this.files.push(file);
1306
- this.changeListEvent$.emit(this.files);
1307
- }
1308
- }
1309
- checkFileInFocus(isInFocus) {
1310
- this.isFileInFocus = isInFocus;
1311
- }
1312
- }
1313
- FileAttachComponent.decorators = [
1314
- { type: Component, args: [{
1315
- selector: 'aeb-file-attach',
1316
- template: "<div class=\"attach\" [ngClass]=\"{\r\n 'attach--file-in-focus' : isFileInFocus,\r\n 'attach--salary-portal': layoutMod === 'salaryPortal',\r\n 'attach--simple': layoutMod === 'simple'\r\n }\" aebDragAndDrop (fileChooseEvent$)=\"chooseFile($event)\" (fileInFocusEvent$)=\"checkFileInFocus($event)\">\r\n <div class=\"attach__title\" *ngIf=\"layoutMod !== 'simple'\">{{ title }}</div>\r\n <div *ngIf=\"showPassportInput && layoutMod !== 'salaryPortal' && layoutMod !== 'simple'\"\r\n class=\"attach__passport-wrapper\">\r\n <div class=\"attach__passport-item\">\r\n <div class=\"attach__passport-icon attach__passport-icon--primary\"></div>\r\n <div class=\"attach__passport-title\">\u041F\u0430\u0441\u043F\u043E\u0440\u0442 (\u0440\u0430\u0437\u0432\u043E\u0440\u043E\u0442 \u0441 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0438 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439)</div>\r\n </div>\r\n <div class=\"attach__passport-item\">\r\n <div class=\"attach__passport-icon attach__passport-icon--secondary\"></div>\r\n <div class=\"attach__passport-title\">\u041F\u0430\u0441\u043F\u043E\u0440\u0442 (\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0441 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439)</div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showDocumentList && layoutMod !== 'salaryPortal' && layoutMod !=='simple'\" class=\"attach__doclist\">{{\r\n documentList }}</div>\r\n <div *ngIf=\"layoutMod === 'salaryPortal'\" class=\"attach__upload-icon\">\r\n <svg width=\"70\" height=\"60\" viewBox=\"0 0 70 60\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M56.9299 17.0405C56.1814 12.5554 53.979 8.46218 50.6107 5.356C46.8682 1.90145 42.0029 0 36.9361 0C33.0208 0 29.2063 1.13216 25.9387 3.26585C23.2182 5.03667 20.9583 7.43163 19.3605 10.2475C18.6695 10.1169 17.9498 10.0443 17.2301 10.0443C11.1125 10.0443 6.13202 15.0665 6.13202 21.2353C6.13202 22.0336 6.21838 22.8029 6.36233 23.5577C2.40387 26.4607 0 31.1345 0 36.1131C0 40.1337 1.48262 44.0382 4.18877 47.1299C6.96689 50.2941 10.6375 52.1665 14.5527 52.3843C14.5959 52.3843 14.6247 52.3843 14.6679 52.3843H27.0471C28.1267 52.3843 28.9903 51.5134 28.9903 50.4247C28.9903 49.3361 28.1267 48.4652 27.0471 48.4652H14.7255C8.83817 48.1024 3.88649 42.4561 3.88649 36.0985C3.88649 31.9908 6.07444 28.1589 9.60107 26.0833C10.4215 25.6043 10.767 24.6027 10.4503 23.7028C10.1625 22.919 10.0185 22.0917 10.0185 21.2063C10.0185 17.2001 13.2572 13.9343 17.2301 13.9343C18.0794 13.9343 18.9143 14.0794 19.6915 14.3697C20.6416 14.7181 21.6924 14.2827 22.1242 13.3682C24.816 7.6058 30.6313 3.88999 36.9504 3.88999C45.4431 3.88999 52.4532 10.3056 53.2593 18.8113C53.3457 19.6967 54.0078 20.4079 54.8715 20.5531C61.277 21.6562 66.1135 27.6218 66.1135 34.4293C66.1135 41.6432 60.4853 47.9137 53.5472 48.4507H42.9385C41.8589 48.4507 40.9953 49.3216 40.9953 50.4102C40.9953 51.4988 41.8589 52.3697 42.9385 52.3697H53.6192C53.6623 52.3697 53.7055 52.3697 53.7631 52.3697C58.1534 52.0504 62.2558 50.0183 65.3074 46.6218C68.3447 43.2544 70 38.9289 70 34.4293C69.9856 26.2865 64.4725 19.0435 56.9299 17.0405Z\"\r\n fill=\"#F0F0F0\" />\r\n <path\r\n d=\"M46.6828 36.5255C47.4469 35.8634 47.4469 34.8014 46.6828 34.1393L36.3754 25.2068C36.015 24.8944 35.5104 24.707 35.0059 24.707C34.5013 24.707 33.9967 24.8819 33.6363 25.2068L23.3289 34.1393C22.5648 34.8014 22.5648 35.8634 23.3289 36.5255C23.7037 36.8503 24.2083 37.0252 24.6984 37.0252C25.1886 37.0252 25.6931 36.8628 26.0679 36.5255L33.0597 30.4663V58.3134C33.0597 59.2504 33.9247 60 35.0059 60C36.0871 60 36.952 59.2504 36.952 58.3134V30.4663L43.9438 36.5255C44.6934 37.1876 45.9188 37.1876 46.6828 36.5255Z\"\r\n fill=\"#F0F0F0\" />\r\n </svg>\r\n </div>\r\n <div *ngIf=\"layoutMod === 'salaryPortal'\" class=\"attach__info-txt\">\r\n \u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0441\u044E\u0434\u0430\r\n </div>\r\n <div\r\n [ngClass]=\"{'attach__button-wrapper--simple': layoutMod === 'simple', 'attach__button-wrapper': layoutMod !== 'simple'}\">\r\n <div *ngIf=\"layoutMod === 'salaryPortal'\" class=\"attach__btn-left\">\r\n \u0438\u043B\u0438\r\n </div>\r\n <aeb-new-button class=\"attach__images\" [label]=\"'\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B'\" [solid]=\"false\" [showIcon]=\"true\"\r\n [iconSource]=\"'url(clip.svg)'\" [hoveredIconSource]=\"'url(clip_blue.svg)'\" (click)=\"fileInput.click()\">\r\n </aeb-new-button>\r\n <input #fileInput type=\"file\" (change)=\"chooseFile($event.target.files[0])\" style=\"display: none;\">\r\n <div class=\"attach__file-message\">\r\n <span *ngIf=\"files?.length === 0\">{{ fileTypeMessage }}</span>\r\n <span *ngIf=\"files?.length > 0\">\r\n {{ files?.length === 1 ? '\u0412\u044B\u0431\u0440\u0430\u043D' : '\u0412\u044B\u0431\u0440\u0430\u043D\u043E' }} {{ files.length }} {{ getCaseByNumber(['\u0444\u0430\u0439\u043B', '\u0444\u0430\u0439\u043B\u0430',\r\n '\u0444\u0430\u0439\u043B\u043E\u0432']) }}\r\n </span>\r\n <div *ngIf=\"files?.length > 0\" class=\"attach__remove-icon\" (click)=\"clearFileList()\">\r\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M5 10.7609L11.0268 4.73413\" stroke=\"#27303E\" stroke-linecap=\"round\" />\r\n <path d=\"M11.0268 10.7609L5 4.73413\" stroke=\"#27303E\" stroke-linecap=\"round\" />\r\n </svg>\r\n </div>\r\n </div>\r\n </div>\r\n</div>",
1317
- styles: [".attach{width:100%;box-sizing:border-box;padding:24px;border:2px dashed var(--gray-primary);border-radius:10px;color:var(--darkblue)}.attach--file-in-focus{border:2px dashed var(--blue)}.attach__title{font-size:18px;line-height:20px}.attach__passport-wrapper{display:flex;margin-top:22px;flex-wrap:wrap}.attach__passport-item{display:flex;align-items:center;max-width:488px}.attach__passport-icon{width:52px;height:52px;background-size:cover;background-repeat:no-repeat}.attach__passport-icon--primary{background:url(\"data:image/svg+xml,%3Csvg width%3D%2252%22 height%3D%2252%22 viewBox%3D%220 0 52 52%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1.01463 45.3318C0.679025 45.4371 0.340873 45.546 0 45.6586L-1.6159e-06 8.69112C8.78378 5.55828 16.8649 5.55828 26 8.69112C34.7838 5.55828 42.8649 5.55828 52 8.69111L52 45.6586C51.6594 45.5301 51.3213 45.4068 50.9854 45.2887C42.6355 42.3535 35.6708 42.6173 27.0146 45.3318C26.679 45.4371 26.3409 45.546 26 45.6586C25.6594 45.5301 25.3213 45.4068 24.9854 45.2887C16.6355 42.3535 9.67078 42.6173 1.01463 45.3318ZM25.3659 44.5009C17.0216 41.6407 9.5896 41.6409 1.01463 44.2847L1.01463 9.39704C9.09486 6.65387 16.9544 6.64308 25.3659 9.39704L25.3659 44.5009ZM50.9854 44.2299C42.6411 41.3698 35.2091 41.8572 26.6341 44.5009L26.6341 9.39704C34.7144 6.65387 42.574 6.65188 50.9854 9.40584L50.9854 44.2299Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M34.2439 40.3538C34.5926 40.3068 34.9306 40.2638 35.2585 40.2248C41.1672 39.5207 43.844 40.077 47.8146 41.0424C48.0035 41.0883 48.1952 41.1351 48.3904 41.1828C48.5347 41.2181 48.681 41.2538 48.8293 41.2899L48.8293 30.0565L48.726 30.026C44.2124 28.6953 41.334 27.8467 34.2439 29.1203L34.2439 40.3538ZM35.2585 39.2191C38.2835 38.8647 40.5098 38.834 42.5176 39.0283C44.3509 39.2057 45.9803 39.5699 47.8146 40.0139L47.8146 30.8001C45.8531 30.2254 44.244 29.7862 42.3944 29.5947C40.5023 29.3987 38.3207 29.4599 35.2585 29.9598L35.2585 39.2191Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M4.43901 38.6829L4.43901 12.6829L5.7073 12.6829L5.7073 38.6829L4.43901 38.6829Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M31.7073 26L31.7073 10.7805L32.9756 10.7805L32.9756 26L31.7073 26Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M37.4146 24.4399L37.4146 11.9583L38.4293 11.9583L38.4293 24.4399L37.4146 24.4399Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M40.5854 23.8157L40.5854 11.3341L41.6 11.3341L41.6 23.8157L40.5854 23.8157Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M43.7561 24.4399L43.7561 15.7028L44.7707 15.7028L44.7707 24.4399L43.7561 24.4399Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M7.60973 34.4252L7.60973 16.9509L8.62436 16.9509L8.62436 34.4252L7.60973 34.4252Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M19.2781 25.3758C19.2781 23.687 17.8869 22.3179 16.1708 22.3179C14.4546 22.3179 13.0634 23.687 13.0634 25.3758C13.0634 27.0647 14.4546 28.4338 16.1708 28.4338C17.8869 28.4338 19.2781 27.0647 19.2781 25.3758ZM20.2927 25.3758C20.2927 23.1355 18.4473 21.3193 16.1708 21.3193C13.8943 21.3193 12.0488 23.1355 12.0488 25.3758C12.0488 27.6162 13.8943 29.4324 16.1708 29.4324C18.4473 29.4324 20.2927 27.6162 20.2927 25.3758Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M41.5366 32.5529C42.7624 32.5529 43.7561 33.5308 43.7561 34.7372C43.7561 35.9435 42.7624 36.9215 41.5366 36.9215C40.3108 36.9215 39.3171 35.9435 39.3171 34.7372C39.3171 33.5308 40.3108 32.5529 41.5366 32.5529Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M48.1951 30.0566C46.8496 30.0566 45.5593 30.5826 44.6079 31.5189C43.6564 32.4552 43.122 33.7251 43.122 35.0492C43.122 36.3734 43.6564 37.6433 44.6079 38.5796C45.5593 39.5159 46.8496 40.0419 48.1951 40.0419L48.1951 30.0566Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.attach__passport-icon--secondary{background:url(\"data:image/svg+xml,%3Csvg width%3D%2252%22 height%3D%2252%22 viewBox%3D%220 0 52 52%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1.01464 45.3265C0.679027 45.4334 0.340875 45.5441 1.64196e-06 45.6585L0 8.0948C8.78378 4.91143 16.8649 4.91143 26 8.0948C34.7838 4.91143 42.8649 4.91143 52 8.0948V45.6585C51.6594 45.5279 51.3213 45.4027 50.9854 45.2827C42.6355 42.3002 35.6708 42.5682 27.0146 45.3265C26.679 45.4334 26.3409 45.5441 26 45.6585C25.6594 45.5279 25.3213 45.4027 24.9854 45.2827C16.6355 42.3002 9.67078 42.5682 1.01464 45.3265ZM25.5014 44.3902C17.1571 41.4839 9.58961 41.5761 1.01464 44.2624L1.01463 8.81211C9.09486 6.0247 17.09 6.02268 25.5014 8.82105V44.3902ZM50.9854 44.2068C42.6411 41.3005 35.0942 41.7038 26.5193 44.3902V8.82105C34.5995 6.03364 42.574 6.02268 50.9854 8.82105V44.2068Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M29.4877 20.6097C29.8229 20.5407 30.1613 20.4749 30.5023 20.4122C36.2246 19.3609 42.7023 19.2144 47.8145 20.3603C48.1591 20.4375 48.4976 20.5206 48.8291 20.6097L48.8291 10.7842C43.2935 8.80158 35.5742 8.80479 29.4877 10.7842L29.4877 20.6097ZM30.5023 19.381C36.1912 18.3575 42.6253 18.203 47.8145 19.3214L47.8145 11.5123C42.7778 9.91067 36.0293 9.90932 30.5023 11.5324L30.5023 19.381Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M3.48767 20.6097C3.8229 20.5407 4.16126 20.4749 4.5023 20.4122C10.2246 19.3609 16.7023 19.2144 21.8145 20.3603C22.1591 20.4375 22.4976 20.5206 22.8291 20.6097L22.8291 10.7842C17.2935 8.80158 9.57424 8.80479 3.48767 10.7842L3.48767 20.6097ZM4.5023 19.381C10.1912 18.3575 16.6253 18.203 21.8145 19.3214L21.8145 11.5123C16.7778 9.91067 10.0293 9.90932 4.5023 11.5324L4.5023 19.381Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M29.4877 35.0918C29.8588 35.0154 30.2338 34.9428 30.612 34.8742C36.2663 33.8486 42.6426 33.7058 47.7048 34.818C48.0874 34.902 48.4625 34.9932 48.8291 35.0918L48.8291 25.2662C43.2935 23.2836 35.5742 23.2868 29.4877 25.2662L29.4877 35.0918ZM30.612 33.732C36.2304 32.7362 42.5606 32.585 47.7048 33.668L47.7048 26.0747C42.723 24.512 36.0771 24.5104 30.612 26.0967L30.612 33.732Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M6.65854 11.7317H19.3415V12.7463H6.65854V11.7317Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M32.6585 11.7317H45.3415V12.7463H32.6585V11.7317Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M32.6585 26.3171H45.3415V27.3318H32.6585V26.3171Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M6.65854 15.5365H19.3415V16.5511H6.65854V15.5365Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M32.6585 15.5365H45.3415V16.5511H32.6585V15.5365Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M32.6585 30.1219H45.3415V31.1366H32.6585V30.1219Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M8.56107 13.6342H16.805V14.6488H8.56107V13.6342Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M34.5611 13.6342H42.805V14.6488H34.5611V13.6342Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3Cpath d%3D%22M34.5611 28.2195H42.805V29.2341H34.5611V28.2195Z%22 fill%3D%22%23A3AAAE%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.attach__passport-title{font-family:Roboto-Regular;margin-left:16px;max-width:175px}.attach__doclist,.attach__passport-title{font-size:12px;line-height:14px;color:var(--gray-primary)}.attach__doclist{margin-top:22px;max-width:488px}.attach__button-wrapper{margin-top:16px;display:flex;align-items:center}@media screen and (max-width:767px){.attach__button-wrapper{flex-direction:column;align-items:flex-start}}.attach__file-message{font-size:14px;line-height:16px;margin-left:20px;display:flex;align-items:center}@media screen and (max-width:767px){.attach__file-message{margin-left:0;margin-top:20px}}.attach__remove-icon{margin-left:25px;width:16px;height:16px;cursor:pointer}.attach__remove-icon:hover svg path{stroke:var(--blue)}.attach__images:before{background:url(\"data:image/svg+xml,%3Csvg width%3D%2222%22 height%3D%2222%22 viewBox%3D%220 0 22 22%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M21 10.376L11.5445 19.2938C10.3861 20.3862 8.81499 21 7.1768 21C5.53861 21 3.96752 20.3862 2.80914 19.2938C1.65077 18.2013 1 16.7195 1 15.1745C1 13.6295 1.65077 12.1477 2.80914 11.0553L12.2647 2.1375C13.0369 1.40917 14.0843 1 15.1765 1C16.2686 1 17.316 1.40917 18.0882 2.1375C18.8605 2.86583 19.2943 3.85365 19.2943 4.88366C19.2943 5.91367 18.8605 6.9015 18.0882 7.62983L8.6224 16.5476C8.23627 16.9118 7.71257 17.1163 7.16651 17.1163C6.62045 17.1163 6.09675 16.9118 5.71063 16.5476C5.3245 16.1834 5.10758 15.6895 5.10758 15.1745C5.10758 14.6595 5.3245 14.1656 5.71063 13.8014L14.4459 5.57263%22 stroke%3D%22%232F88F0%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\");background:url(\"data:image/svg+xml,%3Csvg width%3D%2222%22 height%3D%2222%22 viewBox%3D%220 0 22 22%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M21 10.376L11.5445 19.2938C10.3861 20.3862 8.81499 21 7.1768 21C5.53861 21 3.96752 20.3862 2.80914 19.2938C1.65077 18.2013 1 16.7195 1 15.1745C1 13.6295 1.65077 12.1477 2.80914 11.0553L12.2647 2.1375C13.0369 1.40917 14.0843 1 15.1765 1C16.2686 1 17.316 1.40917 18.0882 2.1375C18.8605 2.86583 19.2943 3.85365 19.2943 4.88366C19.2943 5.91367 18.8605 6.9015 18.0882 7.62983L8.6224 16.5476C8.23627 16.9118 7.71257 17.1163 7.16651 17.1163C6.62045 17.1163 6.09675 16.9118 5.71063 16.5476C5.3245 16.1834 5.10758 15.6895 5.10758 15.1745C5.10758 14.6595 5.3245 14.1656 5.71063 13.8014L14.4459 5.57263%22 stroke%3D%22%2300B1E9%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\")}.attach--salary-portal{display:flex;flex-direction:column;justify-content:center;align-items:center}.attach--salary-portal .attach__upload-icon{margin-top:16px}.attach--salary-portal .attach__info-txt{margin-top:16px;font-size:16px;color:var(--gray-primary)}.attach--salary-portal .attach__btn-left{margin-right:20px;font-size:14px;color:var(--gray-primary)}.attach--simple{width:100%;box-sizing:border-box;padding:0;border:none;color:var(--darkblue)}.attach__button-wrapper--simple{display:flex;align-items:center}@media screen and (max-width:767px){.attach__button-wrapper--simple{flex-direction:column;align-items:flex-start}}"]
1318
- },] }
1319
- ];
1320
- FileAttachComponent.ctorParameters = () => [];
1321
- FileAttachComponent.propDecorators = {
1322
- title: [{ type: Input }],
1323
- documentList: [{ type: Input }],
1324
- maxFilesLength: [{ type: Input }],
1325
- showPassportInput: [{ type: Input }],
1326
- showDocumentList: [{ type: Input }],
1327
- layoutMod: [{ type: Input }],
1328
- fileTypeMessage: [{ type: Input }],
1329
- changeListEvent$: [{ type: Output }],
1330
- maxFilesLengthError$: [{ type: Output }]
1331
- };
1332
-
1333
- class DragAndDropDirective {
1334
- constructor() {
1335
- this.fileChooseEvent$ = new EventEmitter();
1336
- this.fileInFocusEvent$ = new EventEmitter();
1337
- }
1338
- onDragOver(event) {
1339
- event.preventDefault();
1340
- event.stopPropagation();
1341
- this.fileInFocusEvent$.emit(true);
1342
- }
1343
- onDragLeave(event) {
1344
- event.preventDefault();
1345
- event.stopPropagation();
1346
- this.fileInFocusEvent$.emit(false);
1347
- }
1348
- onDrop(event) {
1349
- event.preventDefault();
1350
- event.stopPropagation();
1351
- const files = event.dataTransfer.files;
1352
- if (files.length > 0) {
1353
- this.fileChooseEvent$.emit(files[0]);
1354
- }
1355
- this.fileInFocusEvent$.emit(false);
1356
- }
1357
- }
1358
- DragAndDropDirective.decorators = [
1359
- { type: Directive, args: [{
1360
- selector: '[aebDragAndDrop]'
1361
- },] }
1362
- ];
1363
- DragAndDropDirective.ctorParameters = () => [];
1364
- DragAndDropDirective.propDecorators = {
1365
- fileChooseEvent$: [{ type: Output }],
1366
- fileInFocusEvent$: [{ type: Output }],
1367
- onDragOver: [{ type: HostListener, args: ['dragover', ['$event'],] }],
1368
- onDragLeave: [{ type: HostListener, args: ['dragleave', ['$event'],] }],
1369
- onDrop: [{ type: HostListener, args: ['drop', ['$event'],] }]
1370
- };
1371
-
1372
- class FileAttachModule {
1373
- }
1374
- FileAttachModule.decorators = [
1375
- { type: NgModule, args: [{
1376
- declarations: [FileAttachComponent, DragAndDropDirective],
1377
- imports: [CommonModule, NewButtonModule],
1378
- exports: [FileAttachComponent],
1379
- },] }
1380
- ];
1381
-
1382
- class CreditItemCardComponent {
1383
- constructor() {
1384
- this.buttonClickEvent$ = new EventEmitter();
1385
- this.infoClickEvent$ = new EventEmitter();
1386
- }
1387
- ngAfterViewInit() {
1388
- this.cardComponent.nativeElement.style.backgroundImage = `url('/assets/images/product-cards/${this.cardInfo.image}')`;
1389
- this.cardComponent.nativeElement.style.backgroundColor = this.cardInfo.backgroundColor;
1390
- }
1391
- }
1392
- CreditItemCardComponent.decorators = [
1393
- { type: Component, args: [{
1394
- selector: 'aeb-credit-item-card',
1395
- template: "<div class=\"credit-item-card\" #creditItemCard>\r\n <div class=\"credit-item-card__info-icon\" (click)=\"infoClickEvent$.emit()\"></div>\r\n <div class=\"credit-item-card__title-wrapper\" (click)=\"buttonClickEvent$.emit()\">\r\n <div class=\"credit-item-card__title\">\u00AB{{ cardInfo?.title }}\u00BB</div>\r\n <div class=\"credit-item-card__title-text\">{{ cardInfo?.caption }}</div>\r\n </div>\r\n <div class=\"credit-item-card__details-wrapper\">\r\n <div class=\"credit-item-card__credit-details\">\r\n <div *ngIf=\"cardInfo?.details?.time\" class=\"credit-item-card__credit-details-item\">\r\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\r\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\r\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>\r\n </div>\r\n <div *ngIf=\"cardInfo?.details?.rate\" class=\"credit-item-card__credit-details-item\">\r\n <div class=\"credit-item-card__credit-details-item-title\">\u0421\u0442\u0430\u0432\u043A\u0430</div>\r\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\r\n <div class=\"credit-item-card__credit-details-item-value\">{{ cardInfo?.details?.rate }} %</div>\r\n </div>\r\n <div *ngIf=\"cardInfo?.details?.amount\" class=\"credit-item-card__credit-details-item\">\r\n <div class=\"ccredit-item-card__credit-details-item-title\">\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430</div>\r\n <div class=\"credit-item-card__credit-details-item-separator\"></div>\r\n <div class=\"credit-item-card__credit-details-item-value\">\u0434\u043E {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"credit-item-card__button-wrapper\">\r\n <aeb-new-button\r\n [label]=\"'\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442'\"\r\n (click)=\"buttonClickEvent$.emit()\"\r\n ></aeb-new-button>\r\n </div>\r\n</div>",
1396
- styles: [".credit-item-card{box-sizing:border-box;position:relative;width:100%;height:359px;border-radius:8px;padding:32px;background-size:contain;background-repeat:no-repeat;background-position:100%;zoom:98%;color:var(--darkblue)}@media screen and (max-width:767px){.credit-item-card{zoom:54%}}@media screen and (max-width:374px){.credit-item-card{zoom:48%}}.credit-item-card__info-icon{position:absolute;width:27px;height:27px;right:38px;background:url(\"data:image/svg+xml,%3Csvg width%3D%2248%22 height%3D%2248%22 viewBox%3D%220 0 48 48%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0D%3Cpath d%3D%22M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z%22 fill%3D%22white%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%0D%3Cpath d%3D%22M24 32V24%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%0D%3Cpath d%3D%22M24 16H24.02%22 stroke%3D%22%2394A8BE%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%0D%3C%2Fsvg%3E%0D\");background-size:cover;background-repeat:no-repeat;cursor:pointer}.credit-item-card__title-wrapper{cursor:pointer;display:inline-flex;flex-direction:column;align-items:flex-start}.credit-item-card__title{display:inline-block;font-weight:500;font-size:32px;line-height:42px}.credit-item-card__title-text{display:inline-block;font-size:18px;line-height:42px}.credit-item-card__details-wrapper{margin-top:48px;width:375px}.credit-item-card__button-wrapper{margin-top:16px}.credit-item-card__credit-details{width:100%;height:90px;display:flex;justify-content:space-between}.credit-item-card__credit-details-item{display:flex;flex-direction:column;align-items:flex-start}.credit-item-card__credit-details-item-title{font-size:16px;line-height:20px}.credit-item-card__credit-details-item-separator{width:50px;margin-top:16px;border-top:1px solid var(--darkblue);border-bottom:1px solid var(--darkblue)}.credit-item-card__credit-details-item-value{font-weight:500;font-size:24px;line-height:52px}"]
1397
- },] }
1398
- ];
1399
- CreditItemCardComponent.ctorParameters = () => [];
1400
- CreditItemCardComponent.propDecorators = {
1401
- cardInfo: [{ type: Input }],
1402
- buttonClickEvent$: [{ type: Output }],
1403
- infoClickEvent$: [{ type: Output }],
1404
- cardComponent: [{ type: ViewChild, args: ['creditItemCard',] }]
1405
- };
1406
-
1407
- class CreditItemCardModule {
1408
- }
1409
- CreditItemCardModule.decorators = [
1410
- { type: NgModule, args: [{
1411
- declarations: [CreditItemCardComponent],
1412
- imports: [
1413
- CommonModule,
1414
- NewButtonModule,
1415
- ],
1416
- exports: [CreditItemCardComponent]
1417
- },] }
1418
- ];
1419
-
1420
- class TagTabComponent {
1421
- constructor() {
1422
- this.isActive = false;
1423
- this.label = '';
1424
- }
1425
- }
1426
- TagTabComponent.decorators = [
1427
- { type: Component, args: [{
1428
- selector: 'aeb-tag-tab',
1429
- template: "<div class=\"tag\" [ngClass]=\"{ 'tag--active' : isActive }\">{{ label }}</div>",
1430
- styles: [".tag{box-sizing:border-box;display:inline-flex;justify-content:space-around;align-items:center;height:48px;padding:14px 24px;margin-right:16px;border-radius:64px;color:var(--blue);background:var(--white);border:2px solid var(--blue);font-size:16px;line-height:20px;vertical-align:baseline;cursor:pointer}.tag--active{color:var(--white);background:var(--blue)}"]
1431
- },] }
1432
- ];
1433
- TagTabComponent.propDecorators = {
1434
- isActive: [{ type: Input }],
1435
- label: [{ type: Input }]
1436
- };
1437
-
1438
- class TagTabModule {
1439
- }
1440
- TagTabModule.decorators = [
1441
- { type: NgModule, args: [{
1442
- declarations: [TagTabComponent],
1443
- imports: [CommonModule],
1444
- exports: [TagTabComponent]
1445
- },] }
1446
- ];
1447
-
1448
- class FieldSliderComponent {
1449
- constructor(renderer) {
1450
- this.renderer = renderer;
1451
- this.label = '';
1452
- this.prefix = '₽';
1453
- this.min = 1000;
1454
- this.max = 5000000;
1455
- this.step = 1000;
1456
- this.valueSeparator = ' ';
1457
- this.isPressed = false;
1458
- this.handleStartDragging = (event) => {
1459
- event.preventDefault();
1460
- if (event.clientX) {
1461
- this.handleChangeValue(event.clientX);
1462
- }
1463
- };
1464
- this.handleStartSwiping = (event) => {
1465
- event.preventDefault();
1466
- if (event.touches && event.touches.length) {
1467
- const finger = event.touches[0];
1468
- this.handleChangeValue(finger.clientX);
1469
- }
1470
- };
1471
- this.handleEndDragging = (event) => {
1472
- event.preventDefault();
1473
- this.isPressed = false;
1474
- document.removeEventListener('mousemove', this.handleStartDragging);
1475
- document.removeEventListener('mouseup', this.handleEndDragging);
1476
- };
1477
- this.handleEndSwipping = (event) => {
1478
- event.preventDefault();
1479
- this.isPressed = false;
1480
- document.removeEventListener('touchmove', this.handleStartSwiping);
1481
- document.removeEventListener('touchend', this.handleEndSwipping);
1482
- document.removeEventListener('touchcancel', this.handleEndSwipping);
1483
- };
1484
- }
1485
- get position() {
1486
- const position = ((this.value - this.min) / (this.max - this.min)) * 100;
1487
- if (position < 0) {
1488
- return 0;
1489
- }
1490
- if (position > 100) {
1491
- return 100;
1492
- }
1493
- return position;
1494
- }
1495
- ngOnInit() {
1496
- this.value = Number.isInteger(this.value) ? this.value : this.max / 2;
1497
- this.updateDisplayValue();
1498
- }
1499
- ngAfterViewInit() {
1500
- this.renderer.listen(this.slider.nativeElement, 'touchstart', (event) => {
1501
- event.preventDefault();
1502
- this.input.nativeElement.blur();
1503
- this.handleStartSwiping(event);
1504
- document.addEventListener('touchmove', this.handleStartSwiping, { passive: false });
1505
- document.addEventListener('touchend', this.handleEndSwipping);
1506
- document.addEventListener('touchcancel', this.handleEndSwipping);
1507
- });
1508
- this.renderer.listen(this.slider.nativeElement, 'mousedown', (event) => {
1509
- event.preventDefault();
1510
- this.input.nativeElement.blur();
1511
- this.handleStartDragging(event);
1512
- document.addEventListener('mousemove', this.handleStartDragging, false);
1513
- document.addEventListener('mouseup', this.handleEndDragging, false);
1514
- });
1515
- }
1516
- writeValue(value) {
1517
- if (value) {
1518
- this.value = value;
1519
- this.updateDisplayValue();
1520
- }
1521
- }
1522
- registerOnChange(fn) {
1523
- this.onChange = fn;
1524
- }
1525
- registerOnTouched() { }
1526
- updateDisplayValue() {
1527
- this.displayValue = this.value.toLocaleString('ru') + ' ' + this.prefix;
1528
- }
1529
- setCurrentDisplayValue() {
1530
- this.displayValue = this.value;
1531
- }
1532
- changeValueByInput(value) {
1533
- const parsedValue = parseInt(value, 10);
1534
- if (parsedValue % this.step !== 0) {
1535
- this.value = (Math.round(parsedValue / this.step) * this.step);
1536
- }
1537
- else {
1538
- this.value = parsedValue;
1539
- }
1540
- if (parsedValue < this.min || isNaN(parsedValue)) {
1541
- this.value = this.min;
1542
- }
1543
- if (parsedValue > this.max) {
1544
- this.value = this.max;
1545
- }
1546
- if (typeof this.onChange === 'function') {
1547
- this.onChange(this.value);
1548
- }
1549
- }
1550
- handleChangeValue(positionX) {
1551
- this.isPressed = true;
1552
- const offsetSlider = this.slider.nativeElement.getBoundingClientRect().left;
1553
- const widthSlider = this.slider.nativeElement.getBoundingClientRect().width;
1554
- let left = positionX - offsetSlider;
1555
- if (left < 0) {
1556
- left = 0;
1557
- }
1558
- if (left > widthSlider) {
1559
- left = widthSlider;
1560
- }
1561
- const deltaX = (left / widthSlider) * (this.max - this.min);
1562
- this.value = Math.round(deltaX / this.step) * this.step + this.min;
1563
- this.updateDisplayValue();
1564
- if (typeof this.onChange === 'function') {
1565
- this.onChange(this.value);
1566
- }
1567
- }
1568
- }
1569
- FieldSliderComponent.decorators = [
1570
- { type: Component, args: [{
1571
- selector: 'aeb-field-slider',
1572
- template: "<div class=\"field-slider\">\r\n <aeb-form-field class=\"field-slider__field-wrapper\">\r\n <aeb-label>{{ label }}</aeb-label>\r\n <input\r\n #input\r\n aebInput\r\n aebNumbersOnly\r\n type=\"string\"\r\n [ngModel]=\"displayValue\"\r\n (ngModelChange)=\"changeValueByInput($event)\"\r\n (focus)=\"setCurrentDisplayValue()\"\r\n (blur)=\"updateDisplayValue()\"\r\n />\r\n </aeb-form-field>\r\n <div class=\"field-slider__line-wrapper\" #slider>\r\n <div class=\"field-slider__line\">\r\n <div\r\n class=\"field-slider__line-position\"\r\n [ngStyle]=\"{\r\n width: position + '%'\r\n }\"\r\n [ngClass]=\"{ pressed: isPressed }\"\r\n ></div>\r\n </div>\r\n </div>\r\n <div class=\"field-slider__limits\">\r\n <div>{{ min | number: \"1.0-0\" | replace: ',' : valueSeparator }} {{ prefix }}</div>\r\n <div>{{ max | number: \"1.0-0\" | replace: ',' : valueSeparator }} {{ prefix }}</div>\r\n </div>\r\n</div>",
1573
- providers: [
1574
- {
1575
- provide: NG_VALUE_ACCESSOR,
1576
- useExisting: forwardRef(() => FieldSliderComponent),
1577
- multi: true
1578
- }
1579
- ],
1580
- styles: [".field-slider{width:100%;display:flex;flex-direction:column;align-items:center;color:var(--darkblue)}.field-slider__field-wrapper{width:100%}.field-slider__field-wrapper input:focus{outline:none}.field-slider__line-wrapper{width:calc(100% - 20px);display:flex;align-items:center}.field-slider__line{width:100%;height:2px;border-radius:2px;background-color:var(--gray-primary);position:relative;top:-2px}.field-slider__line-position{background-color:var(--blue);height:calc(100% + 2px);width:100%;border-radius:2px;position:absolute;top:-2px;left:0}.field-slider__line-position.pressed,.field-slider__line-position.pressed:after,.field-slider__line-position:hover,.field-slider__line-position:hover:after{background-color:var(--blue-turquoise)}.field-slider__line-position:after{cursor:pointer;content:\"\";width:10px;height:10px;border-radius:10px;background-color:var(--blue);position:absolute;right:0;top:-3px}.field-slider__limits{width:100%;display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;line-height:14px;color:var(--gray-primary)}"]
1581
- },] }
1582
- ];
1583
- FieldSliderComponent.ctorParameters = () => [
1584
- { type: Renderer2 }
1585
- ];
1586
- FieldSliderComponent.propDecorators = {
1587
- input: [{ type: ViewChild, args: ['input',] }],
1588
- slider: [{ type: ViewChild, args: ['slider',] }],
1589
- label: [{ type: Input }],
1590
- prefix: [{ type: Input }],
1591
- min: [{ type: Input }],
1592
- max: [{ type: Input }],
1593
- step: [{ type: Input }],
1594
- value: [{ type: Input }],
1595
- valueSeparator: [{ type: Input }]
1596
- };
1597
-
1598
- class ReplacePipe {
1599
- transform(value, strToReplace, replacementStr) {
1600
- if (!value || !strToReplace || !replacementStr) {
1601
- return value;
1602
- }
1603
- return value.replace(new RegExp(strToReplace, 'g'), replacementStr);
1604
- }
1605
- }
1606
- ReplacePipe.decorators = [
1607
- { type: Pipe, args: [{
1608
- name: 'replace'
1609
- },] }
1610
- ];
1611
-
1612
- class NumbersOnlyDirective {
1613
- constructor() {
1614
- this.navigationKeys = [
1615
- 'Backspace',
1616
- 'Delete',
1617
- 'Tab',
1618
- 'Escape',
1619
- 'Enter',
1620
- 'Home',
1621
- 'End',
1622
- 'ArrowLeft',
1623
- 'ArrowRight',
1624
- 'Clear',
1625
- 'Copy',
1626
- 'Paste',
1627
- ];
1628
- }
1629
- onKeyDown(e) {
1630
- if (
1631
- // Allow: Delete, Backspace, Tab, Escape, Enter, etc
1632
- this.navigationKeys.indexOf(e.key) > -1 ||
1633
- (e.key === 'a' && e.ctrlKey === true) || // Allow: Ctrl+A
1634
- (e.key === 'c' && e.ctrlKey === true) || // Allow: Ctrl+C
1635
- (e.key === 'v' && e.ctrlKey === true) || // Allow: Ctrl+V
1636
- (e.key === 'x' && e.ctrlKey === true) || // Allow: Ctrl+X
1637
- (e.key === 'a' && e.metaKey === true) || // Cmd+A (Mac)
1638
- (e.key === 'c' && e.metaKey === true) || // Cmd+C (Mac)
1639
- (e.key === 'v' && e.metaKey === true) || // Cmd+V (Mac)
1640
- (e.key === 'x' && e.metaKey === true) // Cmd+X (Mac)
1641
- ) {
1642
- return; // let it happen, don't do anything
1643
- }
1644
- // Ensure that it is a number and stop the keypress
1645
- if (e.key === ' ' || isNaN(Number(e.key))) {
1646
- e.preventDefault();
1647
- }
1648
- }
1649
- onPaste(event) {
1650
- event.preventDefault();
1651
- const pastedInput = event.clipboardData
1652
- .getData('text/plain')
1653
- .replace(/\D/g, ''); // get a digit-only string
1654
- document.execCommand('insertText', false, pastedInput);
1655
- }
1656
- onDrop(event) {
1657
- event.preventDefault();
1658
- const textData = event.dataTransfer
1659
- .getData('text').replace(/\D/g, '');
1660
- document.execCommand('insertText', false, textData);
1661
- }
1662
- }
1663
- NumbersOnlyDirective.decorators = [
1664
- { type: Directive, args: [{
1665
- selector: '[aebNumbersOnly]'
1666
- },] }
1667
- ];
1668
- NumbersOnlyDirective.ctorParameters = () => [];
1669
- NumbersOnlyDirective.propDecorators = {
1670
- onKeyDown: [{ type: HostListener, args: ['keydown', ['$event'],] }],
1671
- onPaste: [{ type: HostListener, args: ['paste', ['$event'],] }],
1672
- onDrop: [{ type: HostListener, args: ['drop', ['$event'],] }]
1673
- };
1674
-
1675
- class FieldSliderModule {
1676
- }
1677
- FieldSliderModule.decorators = [
1678
- { type: NgModule, args: [{
1679
- declarations: [
1680
- FieldSliderComponent,
1681
- ReplacePipe,
1682
- NumbersOnlyDirective
1683
- ],
1684
- imports: [
1685
- CommonModule,
1686
- FormFieldModule,
1687
- FormsModule,
1688
- ],
1689
- exports: [FieldSliderComponent],
1690
- },] }
1691
- ];
1692
-
1693
- class TabDirective {
1694
- constructor(template) {
1695
- this.template = template;
1696
- }
1697
- }
1698
- TabDirective.decorators = [
1699
- { type: Directive, args: [{
1700
- selector: '[aebTab]'
1701
- },] }
1702
- ];
1703
- TabDirective.ctorParameters = () => [
1704
- { type: TemplateRef }
1705
- ];
1706
- TabDirective.propDecorators = {
1707
- name: [{ type: Input, args: ['aebTab',] }]
1708
- };
1709
-
1710
- class TabsComponent {
1711
- constructor() {
1712
- this.collapsed = false;
1713
- this.tab = 0;
1714
- this.change = new EventEmitter();
1715
- }
1716
- tabHandler(e, tab) {
1717
- const targetTab = e.target;
1718
- this.moveThumb(targetTab);
1719
- this.currentTab = tab;
1720
- this.change.emit(this.currentTab.name);
1721
- }
1722
- moveThumb(tab) {
1723
- const tabLeft = tab.getBoundingClientRect().left;
1724
- const containerLeft = this.container.nativeElement.getBoundingClientRect()
1725
- .left;
1726
- this.thumb.nativeElement.style.width = `${tab.offsetWidth}px`;
1727
- this.thumb.nativeElement.style.left = `${tabLeft - containerLeft}px`;
1728
- }
1729
- ngOnInit() { }
1730
- switchTab(tab) {
1731
- this.currentTab = this.tabs.toArray()[tab];
1732
- this.moveThumb(this.templateTabs.toArray()[tab].nativeElement);
1733
- }
1734
- ngAfterViewInit() {
1735
- setTimeout(() => {
1736
- if (String(this.tab) && !this.collapsed) {
1737
- this.switchTab(this.tab);
1738
- }
1739
- });
1740
- }
1741
- ngOnChanges(changes) {
1742
- if (changes.tab && this.tabs) {
1743
- this.switchTab(this.tab);
1744
- }
1745
- }
1746
- redrawThumb() {
1747
- const tabIndex = this.tabs.toArray().indexOf(this.currentTab);
1748
- this.moveThumb(this.templateTabs.toArray()[tabIndex].nativeElement);
1749
- }
1750
- }
1751
- TabsComponent.decorators = [
1752
- { type: Component, args: [{
1753
- selector: 'aeb-tabs',
1754
- template: "<div\r\n #container\r\n class=\"aeb-tabs\"\r\n [ngClass]=\"{\r\n 'aeb-tabs--compact': layoutMod === 'compact'\r\n }\"\r\n>\r\n <div class=\"aeb-tabs__wrapper\">\r\n <ng-container *ngFor=\"let tab of tabs\">\r\n <div\r\n class=\"aeb-tabs__tab\"\r\n (click)=\"tabHandler($event, tab)\"\r\n [ngClass]=\"{\r\n 'aeb-tabs__tab--active': tab === currentTab\r\n }\"\r\n #rtab\r\n >\r\n {{tab.name}}\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n <div\r\n class=\"aeb-tabs__thumb\"\r\n #thumb\r\n ></div>\r\n</div>\r\n\r\n<ng-container *ngIf=\"currentTab\">\r\n <ng-template [ngTemplateOutlet]=\"currentTab.template\">\r\n </ng-template>\r\n</ng-container>",
1755
- encapsulation: ViewEncapsulation.None,
1756
- styles: [".aeb-tabs{width:100%;margin-bottom:25px;position:relative;border-bottom:1px solid var(--lightgray);padding-bottom:2px;color:var(--darkblue)}.aeb-tabs__wrapper{width:100%;display:flex}.aeb-tabs__tab{cursor:pointer;margin-right:50px;padding-bottom:25px;box-sizing:border-box}.aeb-tabs__thumb{border-bottom:2px solid var(--blue);position:absolute;left:0;width:0;transition:left,width,.1s}.aeb-tabs--compact{padding-bottom:3px}.aeb-tabs--compact .aeb-tabs__tab{margin-right:32px;margin-bottom:8px;padding-bottom:0}.aeb-tabs--compact .aeb-tabs__tab--active{font-weight:500}.aeb-tabs--compact .aeb-tabs__thumb{border-bottom:4px solid var(--blue)}"]
1757
- },] }
1758
- ];
1759
- TabsComponent.ctorParameters = () => [];
1760
- TabsComponent.propDecorators = {
1761
- tabs: [{ type: ContentChildren, args: [TabDirective,] }],
1762
- templateTabs: [{ type: ViewChildren, args: ['rtab',] }],
1763
- thumb: [{ type: ViewChild, args: ['thumb',] }],
1764
- container: [{ type: ViewChild, args: ['container',] }],
1765
- layoutMod: [{ type: Input, args: ['layoutMod',] }],
1766
- collapsed: [{ type: Input, args: ['collapsed',] }],
1767
- tab: [{ type: Input, args: ['tab',] }],
1768
- change: [{ type: Output }],
1769
- redrawThumb: [{ type: HostListener, args: ['window:resize',] }]
1770
- };
1771
-
1772
- class TabsModule {
1773
- }
1774
- TabsModule.decorators = [
1775
- { type: NgModule, args: [{
1776
- declarations: [TabsComponent, TabDirective],
1777
- imports: [
1778
- CommonModule
1779
- ],
1780
- exports: [TabsComponent, TabDirective]
1781
- },] }
1782
- ];
1783
-
1784
- class HeadingComponent {
1785
- constructor() { }
1786
- ngOnInit() {
1787
- }
1788
- }
1789
- HeadingComponent.decorators = [
1790
- { type: Component, args: [{
1791
- selector: 'aeb-heading',
1792
- template: "<h1 class=\"aeb-heading\">\r\n {{text}}\r\n</h1>\r\n",
1793
- encapsulation: ViewEncapsulation.None,
1794
- styles: [".aeb-heading{margin:0;font-size:56px;font-weight:unset;color:var(--darkblue)}"]
1795
- },] }
1796
- ];
1797
- HeadingComponent.ctorParameters = () => [];
1798
- HeadingComponent.propDecorators = {
1799
- text: [{ type: Input, args: ['text',] }]
1800
- };
1801
-
1802
- class BreadcrumpsComponent {
1803
- constructor() {
1804
- this.routeSeq = [];
1805
- this.click = new EventEmitter();
1806
- }
1807
- clickHandler(index) {
1808
- this.click.emit(index);
1809
- }
1810
- ngOnInit() {
1811
- }
1812
- }
1813
- BreadcrumpsComponent.decorators = [
1814
- { type: Component, args: [{
1815
- selector: 'aeb-breadcrumps',
1816
- template: "<div class=\"aeb-breadcrumps\">\r\n <div\r\n *ngFor=\"let item of routeSeq; index as index\"\r\n class=\"aeb-breadcrumps__item\"\r\n (click)=\"clickHandler(index)\"\r\n >\r\n {{item}}\r\n\r\n <span *ngIf=\"index !== (routeSeq.length - 1)\" class=\"aeb-breadcrumps__icon\">\r\n <svg width=\"3\" height=\"6\" viewBox=\"0 0 3 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M3 3L-6.28109e-09 5.59808L2.2085e-07 0.401924L3 3Z\" fill=\"#A3AAAE\"/>\r\n </svg>\r\n </span> \r\n </div>\r\n</div>",
1817
- encapsulation: ViewEncapsulation.None,
1818
- styles: [".aeb-breadcrumps{display:flex}.aeb-breadcrumps__item{color:var(--gray-primary);font-size:14px;cursor:pointer;transition:color,.2s}.aeb-breadcrumps__item:not(:last-child){margin-right:12px}.aeb-breadcrumps__item:hover{color:var(--blue)}.aeb-breadcrumps__icon{margin-left:12px;padding-bottom:10px;position:relative;bottom:3px}"]
1819
- },] }
1820
- ];
1821
- BreadcrumpsComponent.ctorParameters = () => [];
1822
- BreadcrumpsComponent.propDecorators = {
1823
- routeSeq: [{ type: Input, args: ['routeSequence',] }],
1824
- click: [{ type: Output, args: ['optionClick',] }]
1825
- };
1826
-
1827
- class ProductTitleComponent {
1828
- constructor() {
1829
- this.backHandler = new EventEmitter();
1830
- }
1831
- ngOnInit() {
1832
- }
1833
- clickHandler() {
1834
- this.backHandler.emit();
1835
- }
1836
- }
1837
- ProductTitleComponent.decorators = [
1838
- { type: Component, args: [{
1839
- selector: 'aeb-product-title',
1840
- template: "<div class=\"aeb-product-title\">\r\n <div class=\"aeb-product-title__title\">\r\n <div\r\n class=\"aeb-product-title__back\"\r\n (click)=\"clickHandler()\"\r\n >\r\n <svg width=\"42\" height=\"42\" viewBox=\"0 0 42 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect width=\"42\" height=\"42\" rx=\"10\" fill=\"white\"/>\r\n <line x1=\"13\" y1=\"21\" x2=\"29\" y2=\"21\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n <path d=\"M18 14L12 21L18 28\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div>\r\n <div class=\"aeb-product-title__heading\">\r\n {{title}}\r\n </div>\r\n </div>\r\n <ng-content></ng-content>\r\n</div>",
1841
- encapsulation: ViewEncapsulation.None,
1842
- styles: [".aeb-product-title{color:var(--darkblue)}.aeb-product-title__title{display:flex;align-items:center;margin-bottom:20px}.aeb-product-title__back{width:42px;height:42px;border-radius:10px;margin-right:20px;cursor:pointer}.aeb-product-title__heading{font-size:32px}"]
1843
- },] }
1844
- ];
1845
- ProductTitleComponent.ctorParameters = () => [];
1846
- ProductTitleComponent.propDecorators = {
1847
- title: [{ type: Input, args: ['title',] }],
1848
- backHandler: [{ type: Output, args: ['backHandler',] }]
1849
- };
1850
-
1851
- class HeadingModule {
1852
- }
1853
- HeadingModule.decorators = [
1854
- { type: NgModule, args: [{
1855
- declarations: [HeadingComponent, BreadcrumpsComponent, ProductTitleComponent],
1856
- imports: [
1857
- CommonModule
1858
- ],
1859
- exports: [HeadingComponent, BreadcrumpsComponent, ProductTitleComponent]
1860
- },] }
1861
- ];
1862
-
1863
- class NewTooltipComponent {
1864
- constructor() { }
1865
- ngOnInit() {
1866
- }
1867
- }
1868
- NewTooltipComponent.decorators = [
1869
- { type: Component, args: [{
1870
- selector: 'aeb-new-tooltip',
1871
- template: "<div\r\n class=\"aeb-new-tooltip\"\r\n #tooltip\r\n>\r\n <div [innerHTML]=\"html || data\" class=\"aeb-new-tooltip__container\">\r\n </div>\r\n</div>",
1872
- encapsulation: ViewEncapsulation.None,
1873
- styles: ["@-webkit-keyframes out{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes out{0%{transform:scale(0)}to{transform:scale(1)}}.aeb-new-tooltip{background-color:var(--darkblue);position:fixed;opacity:0;pointer-events:none;border-radius:8px;transition:opacity,.2s;z-index:9999}.aeb-new-tooltip--open{opacity:1;-webkit-animation:out .2s;animation:out .2s}.aeb-new-tooltip__container{width:100%;height:100%;position:relative;align-items:center;justify-content:center;padding:12px;font-size:14px;border-radius:8px;word-break:keep-all;white-space:nowrap;color:var(--white)}.aeb-new-tooltip--top .aeb-new-tooltip__container:before{content:\"\";position:absolute;width:10px;height:10px;background-color:var(--darkblue);left:calc(50% - 16px);bottom:-5px;transform:rotate(45deg)}.aeb-new-tooltip--right .aeb-new-tooltip__container:before{content:\"\";position:absolute;width:10px;height:10px;background-color:var(--darkblue);left:-5px;top:calc(50% - 5px);transform:rotate(45deg)}.aeb-new-tooltip--bottom .aeb-new-tooltip__container:before{content:\"\";position:absolute;width:10px;height:10px;background-color:var(--darkblue);left:calc(50% - 16px);top:-5px;transform:rotate(45deg)}.aeb-new-tooltip--left .aeb-new-tooltip__container:before{content:\"\";position:absolute;width:10px;height:10px;background-color:var(--darkblue);right:19px;top:calc(50% - 5px);transform:rotate(45deg)}"]
1874
- },] }
1875
- ];
1876
- NewTooltipComponent.ctorParameters = () => [];
1877
- NewTooltipComponent.propDecorators = {
1878
- tooltip: [{ type: ViewChild, args: ['tooltip',] }],
1879
- data: [{ type: Input, args: ['data',] }],
1880
- html: [{ type: Input, args: ['html',] }]
1881
- };
1882
-
1883
- class DOMService {
1884
- constructor(document, componentFactoryResolver, injector, applicationRef, rendererFactory) {
1885
- this.componentFactoryResolver = componentFactoryResolver;
1886
- this.injector = injector;
1887
- this.applicationRef = applicationRef;
1888
- this.renderer = rendererFactory.createRenderer(null, null);
1889
- this.document = document;
1890
- }
1891
- attachComponent(component, componentProps = null) {
1892
- const componentRef = this.componentFactoryResolver
1893
- .resolveComponentFactory(component)
1894
- .create(this.injector);
1895
- if (componentProps !== null && typeof componentRef.instance === 'object') {
1896
- Object.assign(componentRef.instance, componentProps);
1897
- }
1898
- this.applicationRef.attachView(componentRef.hostView);
1899
- const componentRootNode = componentRef.hostView.rootNodes[0];
1900
- this.renderer.appendChild(this.document.body, componentRootNode);
1901
- this.componentRef = componentRef;
1902
- return componentRef.instance;
1903
- }
1904
- removeComponent() {
1905
- this.applicationRef.detachView(this.componentRef.hostView);
1906
- this.componentRef.destroy();
1907
- }
1908
- }
1909
- DOMService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DOMService_Factory() { return new DOMService(i0.ɵɵinject(i1.DOCUMENT), i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.RendererFactory2)); }, token: DOMService, providedIn: "root" });
1910
- DOMService.decorators = [
1911
- { type: Injectable, args: [{
1912
- providedIn: 'root'
1913
- },] }
1914
- ];
1915
- DOMService.ctorParameters = () => [
1916
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
1917
- { type: ComponentFactoryResolver },
1918
- { type: Injector },
1919
- { type: ApplicationRef },
1920
- { type: RendererFactory2 }
1921
- ];
1922
-
1923
- class TooltipDirective {
1924
- constructor(el, dom, sanitizer, _ngZone) {
1925
- this.el = el;
1926
- this.dom = dom;
1927
- this.sanitizer = sanitizer;
1928
- this._ngZone = _ngZone;
1929
- this.position = 'top';
1930
- this.overflow = false;
1931
- this.clickOutside = new EventEmitter();
1932
- this.tooltipOpen = false;
1933
- this.tooltipConfig = {
1934
- right: (boundaries, tooltip) => {
1935
- const targetHalf = boundaries.top + boundaries.height / 2;
1936
- const tooltipHalf = tooltip.offsetHeight / 2;
1937
- return [
1938
- boundaries.left + boundaries.width + 15,
1939
- targetHalf - tooltipHalf,
1940
- ];
1941
- },
1942
- bottom: (boundaries, tooltip) => {
1943
- const targetHalf = boundaries.right - boundaries.width / 2;
1944
- const tooltipHalf = tooltip.offsetWidth / 2;
1945
- return [targetHalf - tooltipHalf, boundaries.bottom + 15];
1946
- },
1947
- left: (boundaries, tooltip) => {
1948
- const targetHalf = boundaries.top + boundaries.height / 2;
1949
- const tooltipHalf = tooltip.offsetHeight / 2;
1950
- return [
1951
- boundaries.left - tooltip.offsetWidth - 15,
1952
- targetHalf - tooltipHalf,
1953
- ];
1954
- },
1955
- top: (boundaries, tooltip) => {
1956
- const targetHalf = boundaries.right - boundaries.width / 2;
1957
- const tooltipHalf = tooltip.offsetWidth / 2;
1958
- return [
1959
- targetHalf - tooltipHalf,
1960
- boundaries.top - tooltip.offsetHeight - 15,
1961
- ];
1962
- },
1963
- };
1964
- this.handleDocumentTouchstart = (event) => {
1965
- const contain = this.el.nativeElement.contains(event.target);
1966
- if (!contain) {
1967
- if (this.tooltipOpen) {
1968
- this.hideTooltip();
1969
- }
1970
- }
1971
- };
1972
- }
1973
- onMouseLeave() {
1974
- this.hideTooltip();
1975
- }
1976
- onMouseEnter(event) {
1977
- this.showTooltip();
1978
- }
1979
- onClick(event) {
1980
- if (this.tooltipOpen) {
1981
- this.hideTooltip();
1982
- }
1983
- else {
1984
- this.touchTimeStamp = event.timeStamp;
1985
- this.showTooltip();
1986
- }
1987
- }
1988
- orientationChangeHandler() {
1989
- if (this.tooltipOpen) {
1990
- this.hideTooltip();
1991
- this.tooltip.tooltip.nativeElement.style = '';
1992
- }
1993
- }
1994
- showTooltip() {
1995
- if (this.overflow) {
1996
- const onOverflow = this.el.nativeElement.scrollWidth > this.el.nativeElement.offsetWidth;
1997
- if (!onOverflow)
1998
- return;
1999
- }
2000
- this.tooltipOpen = true;
2001
- const tooltip = this.tooltip.tooltip.nativeElement;
2002
- const boundaries = this.el.nativeElement.getBoundingClientRect();
2003
- const [left, top] = this.tooltipConfig[this.position](boundaries, tooltip);
2004
- tooltip.style.left = `${left}px`;
2005
- tooltip.style.top = `${top}px`;
2006
- tooltip.className = `aeb-new-tooltip aeb-new-tooltip--open aeb-new-tooltip--${this.position}`;
2007
- }
2008
- hideTooltip() {
2009
- this.tooltipOpen = false;
2010
- const tooltip = this.tooltip.tooltip.nativeElement;
2011
- tooltip.className = 'aeb-new-tooltip';
2012
- }
2013
- ngOnDestroy() {
2014
- this.dom.removeComponent();
2015
- this.removeListeners();
2016
- }
2017
- ngOnInit() {
2018
- this.tooltip = this.dom.attachComponent(NewTooltipComponent, {
2019
- data: this.data || '',
2020
- });
2021
- this.initListeners();
2022
- }
2023
- ngAfterViewInit() {
2024
- if (this.tooltipContent) {
2025
- this.tooltip = this.dom.attachComponent(NewTooltipComponent, {
2026
- html: this.sanitizer.bypassSecurityTrustHtml(this.tooltipContent.nativeElement.innerHTML),
2027
- });
2028
- this.tooltipContent.nativeElement.style.display = 'none';
2029
- }
2030
- }
2031
- initListeners() {
2032
- this._ngZone.runOutsideAngular(() => {
2033
- document.addEventListener('touchstart', this.handleDocumentTouchstart);
2034
- });
2035
- }
2036
- removeListeners() {
2037
- this._ngZone.runOutsideAngular(() => {
2038
- document.removeEventListener('touchstart', this.handleDocumentTouchstart);
2039
- });
2040
- }
2041
- }
2042
- TooltipDirective.decorators = [
2043
- { type: Directive, args: [{
2044
- selector: '[aebTooltip]',
2045
- },] }
2046
- ];
2047
- TooltipDirective.ctorParameters = () => [
2048
- { type: ElementRef },
2049
- { type: DOMService },
2050
- { type: DomSanitizer },
2051
- { type: NgZone }
2052
- ];
2053
- TooltipDirective.propDecorators = {
2054
- data: [{ type: Input, args: ['tooltip-data',] }],
2055
- position: [{ type: Input, args: ['position',] }],
2056
- overflow: [{ type: Input, args: ['overflow',] }],
2057
- tooltipContent: [{ type: ContentChild, args: ['tooltipContent',] }],
2058
- clickOutside: [{ type: Output }],
2059
- onMouseLeave: [{ type: HostListener, args: ['mouseleave',] }],
2060
- onMouseEnter: [{ type: HostListener, args: ['mouseenter', ['$event'],] }],
2061
- onClick: [{ type: HostListener, args: ['touch', ['$event'],] }],
2062
- orientationChangeHandler: [{ type: HostListener, args: ['window:orientationchange',] }]
2063
- };
2064
-
2065
- class NewTooltipModule {
2066
- }
2067
- NewTooltipModule.decorators = [
2068
- { type: NgModule, args: [{
2069
- declarations: [NewTooltipComponent, TooltipDirective],
2070
- imports: [
2071
- CommonModule
2072
- ],
2073
- exports: [
2074
- NewTooltipComponent,
2075
- TooltipDirective
2076
- ],
2077
- entryComponents: [NewTooltipComponent]
2078
- },] }
2079
- ];
2080
-
2081
- class NewNotificationsComponent {
2082
- constructor(dom) {
2083
- this.dom = dom;
2084
- this.close = new EventEmitter();
2085
- }
2086
- ngOnInit() {
2087
- }
2088
- handleClose(id) {
2089
- this.close.emit(id);
2090
- }
2091
- bypassURL(url) {
2092
- return this.dom.bypassSecurityTrustResourceUrl(url);
2093
- }
2094
- }
2095
- NewNotificationsComponent.decorators = [
2096
- { type: Component, args: [{
2097
- selector: 'aeb-new-notifications',
2098
- template: "<div\r\n class=\"aeb-new-notifications\"\r\n *ngIf=\"notifications.length\"\r\n>\r\n <div\r\n *ngFor=\"let item of notifications\"\r\n class=\"aeb-new-notifications__item\"\r\n >\r\n <div class=\"aeb-new-notifications__icon\">\r\n <object type=\"image/svg+xml\" [data]=\"bypassURL(item.iconPath)\"></object>\r\n </div>\r\n <div class=\"aeb-new-notifications__info\">\r\n <div class=\"aeb-new-notifications__header\">\r\n {{item.header}}\r\n </div>\r\n <div class=\"aeb-new-notifications__msg\">\r\n {{item.message}}\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-new-notifications__close\"\r\n (click)=\"handleClose(item.id)\"\r\n >\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.63086 5.63074L18.3693 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n <path\r\n d=\"M18.3691 5.63074L5.63065 18.3692\"\r\n stroke=\"white\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n</div>\r\n",
2099
- encapsulation: ViewEncapsulation.None,
2100
- styles: [".aeb-new-notifications{position:fixed;z-index:1500;top:80px;right:30px}.aeb-new-notifications__item{display:flex;width:324px;height:auto;min-height:76px;justify-content:space-between;border-radius:8px;background-color:var(--darkblue);padding:16px;box-sizing:border-box}.aeb-new-notifications__item:not(:last-child){margin-bottom:12px}.aeb-new-notifications__icon{flex:0;width:36px;height:36px}.aeb-new-notifications__info{width:100%;margin-left:16px}.aeb-new-notifications__header{flex:auto;word-break:break-all;color:var(--white);font-size:16px;font-weight:500;margin-bottom:8px}.aeb-new-notifications__info{color:var(--white);font-size:14px}.aeb-new-notifications__close{flex:0;top:16px;right:16px;cursor:pointer}"]
2101
- },] }
2102
- ];
2103
- NewNotificationsComponent.ctorParameters = () => [
2104
- { type: DomSanitizer }
2105
- ];
2106
- NewNotificationsComponent.propDecorators = {
2107
- notifications: [{ type: Input }],
2108
- close: [{ type: Output }]
2109
- };
2110
-
2111
- class NewNotificationsModule {
2112
- }
2113
- NewNotificationsModule.decorators = [
2114
- { type: NgModule, args: [{
2115
- declarations: [NewNotificationsComponent],
2116
- imports: [
2117
- CommonModule
2118
- ],
2119
- exports: [NewNotificationsComponent]
2120
- },] }
2121
- ];
2122
-
2123
- class DatepickerUtilsService {
2124
- constructor() { }
2125
- genWeek(week, month, count) {
2126
- const startOfWeek = addWeeks(week, count);
2127
- return [...new Array(7)]
2128
- .map(_ => startOfWeek)
2129
- .map((day, index) => addDays(day, index))
2130
- .map(day => isSameMonth(month, day) ? day : null);
2131
- }
2132
- genMonth(date) {
2133
- const WEEKS_TOTAL = getWeeksInMonth(date);
2134
- const START_OF_MONTH = startOfMonth(date);
2135
- const START_OF_WEEK = startOfWeek(START_OF_MONTH, { locale: ru });
2136
- return [...new Array(WEEKS_TOTAL + 1)]
2137
- .map((_, index) => {
2138
- const week = this.genWeek(START_OF_WEEK, START_OF_MONTH, index);
2139
- return !!week.filter(item => !!item).length ? week : null;
2140
- })
2141
- .filter(week => !!week);
2142
- }
2143
- addMonths(date, count) {
2144
- return addMonths(date, count);
2145
- }
2146
- subMonths(date, count) {
2147
- return subMonths(date, count);
2148
- }
2149
- genYears(min, max) {
2150
- return eachYearOfInterval({
2151
- start: min,
2152
- end: max
2153
- }).map(date => getYear(date));
2154
- }
2155
- addYears(date, count) {
2156
- return addYears(date, count);
2157
- }
2158
- subYears(date, count) {
2159
- return subYears(date, count);
2160
- }
2161
- yearsDiff(a, b) {
2162
- return differenceInYears(a, b);
2163
- }
2164
- startOfYear(date) {
2165
- return startOfYear(date);
2166
- }
2167
- isToday(date) {
2168
- return isToday(date);
2169
- }
2170
- isSameDay(dateLeft, dateRight) {
2171
- if (!isValid(dateLeft) || !isValid(dateRight))
2172
- return false;
2173
- return isSameDay(dateLeft, dateRight);
2174
- }
2175
- getMonth(date) {
2176
- return getMonth(date);
2177
- }
2178
- getYear(date) {
2179
- return getYear(date);
2180
- }
2181
- setMonth(month, year) {
2182
- return setMonth(new Date(year, 0, 1), month);
2183
- }
2184
- isMinOverlap(minDate, date) {
2185
- if (!isValid(minDate) || !isValid(date))
2186
- return false;
2187
- return areIntervalsOverlapping({
2188
- start: subYears(minDate, 9999),
2189
- end: startOfDay(minDate)
2190
- }, {
2191
- start: startOfDay(date),
2192
- end: endOfDay(date)
2193
- });
2194
- }
2195
- isMaxOverlap(maxDate, date) {
2196
- if (!isValid(maxDate) || !isValid(date))
2197
- return false;
2198
- return areIntervalsOverlapping({
2199
- start: addDays(startOfDay(maxDate), 1),
2200
- end: addYears(maxDate, 9999)
2201
- }, {
2202
- start: startOfDay(date),
2203
- end: endOfDay(date)
2204
- });
2205
- }
2206
- parseDate(date) {
2207
- return parse(date, 'dd.MM.yyyy', new Date());
2208
- }
2209
- formatDate(date) {
2210
- if (isValid(date)) {
2211
- return format(date, 'dd.MM.yyyy');
2212
- }
2213
- }
2214
- dayLimit(month, year) {
2215
- return month ? getDaysInMonth(new Date(year, month)) : 31;
2216
- }
2217
- excludedMonths(day, year) {
2218
- return [...new Array(12)]
2219
- .map((_, i) => i)
2220
- .filter(month => isExists(year, month, day));
2221
- }
2222
- validYear(day = 1, month = 0, year) {
2223
- return isExists(year, month, day);
2224
- }
2225
- validDate(day, month, year, limit) {
2226
- const targetDate = [day, month, year].filter(item => !!item).length === 3 ? new Date(+year, (+month - 1), +day) : null;
2227
- const validDay = parseInt(day) <= this.dayLimit(parseInt(month) - 1, year ? parseInt(year) : 2000);
2228
- const validMonth = this.excludedMonths(parseInt(day), year ? parseInt(year) : 2000).includes(parseInt(month) - 1);
2229
- const validYear = year ? (parseInt(year) >= this.getYear(limit[0]) && parseInt(year) <= this.getYear(limit[1])) : true;
2230
- const moreThenMin = targetDate ? compareAsc(targetDate, limit[0]) !== -1 : true;
2231
- const lessThenMax = targetDate ? compareAsc(targetDate, limit[1]) !== 1 : true;
2232
- return validDay && validMonth && validYear && moreThenMin && lessThenMax;
2233
- }
2234
- fillMask(date) {
2235
- return [...new Array(8)]
2236
- .map((_, i) => date[i] || '_')
2237
- .join("")
2238
- .split(/(.{2})(.{2})(.{4})/);
2239
- }
2240
- validInput(term) {
2241
- const regExp = /(0[1-9]|1[0-9]|2[0-9]|3[0-2])\.(0[1-9]|1[0-2])\.(\d{4})/;
2242
- return !!term.match(regExp);
2243
- }
2244
- }
2245
- DatepickerUtilsService.weekLocal = ['Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб', 'Вс'];
2246
- DatepickerUtilsService.monthsLocal = [
2247
- 'Январь',
2248
- 'Февраль',
2249
- 'Март',
2250
- 'Апрель',
2251
- 'Май',
2252
- 'Июнь',
2253
- 'Июль',
2254
- 'Август',
2255
- 'Сентябрь',
2256
- 'Октябрь',
2257
- 'Ноябрь',
2258
- 'Декабрь'
2259
- ];
2260
- DatepickerUtilsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DatepickerUtilsService_Factory() { return new DatepickerUtilsService(); }, token: DatepickerUtilsService, providedIn: "root" });
2261
- DatepickerUtilsService.decorators = [
2262
- { type: Injectable, args: [{
2263
- providedIn: 'root'
2264
- },] }
2265
- ];
2266
- DatepickerUtilsService.ctorParameters = () => [];
2267
-
2268
- const range = (min, max) => {
2269
- return [...new Array(max - min)].map((_, idx) => idx + min);
2270
- };
2271
- const ɵ0$1 = range;
2272
- class MaskUtilsService {
2273
- constructor() { }
2274
- inputSegmentOverflow([day, month, year], event, woDays) {
2275
- const tsCrutchEl = event.target;
2276
- const isNumberInp = Number.isInteger(parseInt(event.key));
2277
- if (!isNumberInp)
2278
- return;
2279
- const firstRange = range(0, 3);
2280
- const secondRange = woDays ? range(month.length + 1, month.length + 6) : range(day.length + 1, day.length + 4);
2281
- const thirdRange = range((day.length + month.length) + 2, (day.length + month.length) + 7);
2282
- const conditions = woDays ? [
2283
- month.length === 2 && firstRange.includes(tsCrutchEl.selectionStart),
2284
- year.length === 4 && secondRange.includes(tsCrutchEl.selectionStart)
2285
- ] : [
2286
- day.length === 2 && firstRange.includes(tsCrutchEl.selectionStart),
2287
- month.length === 2 && secondRange.includes(tsCrutchEl.selectionStart),
2288
- year.length === 4 && thirdRange.includes(tsCrutchEl.selectionStart)
2289
- ];
2290
- for (let i = 0; i < conditions.length; i++) {
2291
- if (conditions[i]) {
2292
- return true;
2293
- }
2294
- }
2295
- return false;
2296
- }
2297
- breakInput(event) {
2298
- return (condition) => {
2299
- if (condition) {
2300
- event.preventDefault();
2301
- }
2302
- };
2303
- }
2304
- predictInput(input, key, inputIndex, withoutDays) {
2305
- const base = withoutDays ? ['', '', '.', '', '', '', ''] : ['', '', '.', '', '', '.', '', '', '', ''];
2306
- input.split('').forEach((item, idx) => base[idx] = item);
2307
- const newInput = [...base.slice(0, inputIndex), key, ...base.slice(inputIndex, base.length)];
2308
- return withoutDays ? `01.${newInput.filter(item => !!item).join('')}` : newInput.filter(item => !!item).join('');
2309
- }
2310
- }
2311
- MaskUtilsService.allowedKeys = [
2312
- 'Backspace',
2313
- 'ArrowLeft',
2314
- 'ArrowRight',
2315
- 'End',
2316
- 'Home'
2317
- ];
2318
- MaskUtilsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MaskUtilsService_Factory() { return new MaskUtilsService(); }, token: MaskUtilsService, providedIn: "root" });
2319
- MaskUtilsService.decorators = [
2320
- { type: Injectable, args: [{
2321
- providedIn: 'root'
2322
- },] }
2323
- ];
2324
- MaskUtilsService.ctorParameters = () => [];
2325
-
2326
- const getScrollParent = (node) => {
2327
- if (node === null) {
2328
- return null;
2329
- }
2330
- if (node.scrollHeight > node.clientHeight) {
2331
- return node;
2332
- }
2333
- else {
2334
- return getScrollParent(node.parentNode);
2335
- }
2336
- };
2337
- const ɵ0 = getScrollParent;
2338
- class DatepickerComponent {
2339
- constructor(utils, maskUtils) {
2340
- this.utils = utils;
2341
- this.maskUtils = maskUtils;
2342
- this.minDate = this.utils.subYears(new Date(), 100);
2343
- this.maxDate = this.utils.addYears(new Date(), 50);
2344
- this.excludedDates = [];
2345
- this.minYear = this.utils.subYears(new Date(), 100);
2346
- this.maxYear = this.utils.addYears(new Date(), 50);
2347
- this.withBackground = true;
2348
- this.align = 'right';
2349
- this.placeholder = 'Введите дату';
2350
- this.collapseOnChange = true;
2351
- this.withoutDays = false;
2352
- this.onChange = new EventEmitter();
2353
- this.clearVl = '';
2354
- this.mask = '00.00.0000';
2355
- this.customPattern = {
2356
- 'y': { pattern: new RegExp('\[0-9]') },
2357
- '0': { pattern: new RegExp('\[0-3]') },
2358
- '1': { pattern: new RegExp('\[0-9]') },
2359
- '2': { pattern: new RegExp('\[0-1]') },
2360
- '3': { pattern: new RegExp('\[0-9]') },
2361
- 'm': { pattern: new RegExp('\[0-3]') },
2362
- 'x': { pattern: new RegExp('\[0-9]') }
2363
- };
2364
- this.fixedPosition = '';
2365
- this.isOpen = false;
2366
- this.disabled = false;
2367
- this.touched = false;
2368
- this.isolatedCb = this.adjustCoreContainer.bind(this);
2369
- }
2370
- keyDownHandler(event) {
2371
- const tsCrutchEl = event.target;
2372
- const breakInput = this.maskUtils.breakInput(event);
2373
- const illegalSymbol = (!Number.isInteger(parseInt(event.key))) && !MaskUtilsService.allowedKeys.includes(event.key);
2374
- breakInput(illegalSymbol);
2375
- const carretAfterDot = tsCrutchEl.value[tsCrutchEl.selectionStart - 1] === '.';
2376
- breakInput(event.key === 'Backspace' && carretAfterDot);
2377
- const splitStr = this.inputValue.split('.');
2378
- let inputSegmentOverflow;
2379
- if (this.withoutDays) {
2380
- const [month, year] = [splitStr[0] || '', splitStr[1] || ''];
2381
- inputSegmentOverflow = this.maskUtils.inputSegmentOverflow(['', month, year], event, this.withoutDays);
2382
- breakInput(inputSegmentOverflow);
2383
- }
2384
- else {
2385
- const [day, month, year] = [splitStr[0] || '', splitStr[1] || '', splitStr[2] || ''];
2386
- inputSegmentOverflow = this.maskUtils.inputSegmentOverflow([day, month, year], event, this.withoutDays);
2387
- breakInput(inputSegmentOverflow);
2388
- }
2389
- if (Number.isInteger(parseInt(event.key)) && !inputSegmentOverflow) {
2390
- const [day, month, year] = this.maskUtils.predictInput(this.inputValue, event.key, tsCrutchEl.selectionStart, this.withoutDays).split('.');
2391
- const ctrlDay = parseInt(day) ? day : '1';
2392
- const ctrlMonth = parseInt(month) ? month : '1';
2393
- const ctrlYear = (Number.isInteger(parseInt(year)) && year.replace('_', '').length === 4) ? year : null;
2394
- const valid = this.utils.validDate(ctrlDay, ctrlMonth, ctrlYear, [this.minDate, this.maxDate]);
2395
- breakInput(!valid);
2396
- }
2397
- }
2398
- typeHandler(event) {
2399
- const split = this.inputValue.split('.');
2400
- const isMasked = this.withoutDays ? split.length === 2 : split.length === 3;
2401
- this.clearVl = this.inputValue.replace(/\./g, '');
2402
- const dotCondition = !this.withoutDays
2403
- ? ((this.clearVl.length === 2 && split.length < 2) || (this.clearVl.length === 4)) && !isMasked && this.clearVl.length
2404
- : this.clearVl.length === 2 && !isMasked;
2405
- if (dotCondition) {
2406
- this.inputValue = `${this.inputValue}.`;
2407
- }
2408
- }
2409
- woMonthIncSub(base) {
2410
- if (base) {
2411
- if (this.woDaysMonth === 11) {
2412
- this.woDaysMonth = 0;
2413
- this.woDaysYear = this.woDaysYear + 1;
2414
- }
2415
- else {
2416
- this.woDaysMonth = this.woDaysMonth + 1;
2417
- }
2418
- }
2419
- else {
2420
- if (this.woDaysMonth === 0) {
2421
- this.woDaysMonth = 11;
2422
- this.woDaysYear = this.woDaysYear - 1;
2423
- }
2424
- else {
2425
- this.woDaysMonth = this.woDaysMonth - 1;
2426
- }
2427
- }
2428
- }
2429
- woDaysMonthSet(value) {
2430
- const [month, erase] = value;
2431
- this.woDaysMonth = month;
2432
- const targetDate = `${String(this.woDaysMonth + 1).length === 1 ? `0${this.woDaysMonth + 1}` : this.woDaysMonth + 1}.${this.woDaysYear}`;
2433
- if (!erase) {
2434
- this.inputValue = targetDate;
2435
- this.lastValidInput = this.inputValue;
2436
- this.writeValue(new Date(this.woDaysYear, this.woDaysMonth, 1));
2437
- }
2438
- if (this.collapseOnChange) {
2439
- this.isOpen = false;
2440
- }
2441
- }
2442
- woDaysYearSet(value) {
2443
- const [year, erase] = value;
2444
- this.woDaysYear = year;
2445
- let targetDate = `${String(this.woDaysMonth + 1).length === 1 ? `0${this.woDaysMonth + 1}` : this.woDaysMonth + 1}.${this.woDaysYear}`;
2446
- if (this.utils.isMinOverlap(this.minDate, this.utils.parseDate(`01.${targetDate}`))) {
2447
- this.woDaysMonth = new Date(this.minDate).getMonth();
2448
- targetDate = `${String(this.woDaysMonth + 1).length === 1 ? `0${this.woDaysMonth + 1}` : this.woDaysMonth + 1}.${this.woDaysYear}`;
2449
- this.core.setMonth(this.woDaysMonth);
2450
- }
2451
- else if (this.utils.isMaxOverlap(this.maxDate, this.utils.parseDate(`01.${targetDate}`))) {
2452
- this.woDaysMonth = new Date(this.maxDate).getMonth();
2453
- targetDate = `${String(this.woDaysMonth + 1).length === 1 ? `0${this.woDaysMonth + 1}` : this.woDaysMonth + 1}.${this.woDaysYear}`;
2454
- this.core.setMonth(this.woDaysMonth);
2455
- }
2456
- if (!erase) {
2457
- this.inputValue = targetDate;
2458
- this.lastValidInput = this.inputValue;
2459
- this.writeValue(new Date(this.woDaysYear, this.woDaysMonth, 1));
2460
- }
2461
- if (this.collapseOnChange) {
2462
- this.isOpen = false;
2463
- }
2464
- }
2465
- clickInputHandler() {
2466
- if (!this.isOpen) {
2467
- this.adjustCoreContainer();
2468
- this.isOpen = true;
2469
- }
2470
- ;
2471
- }
2472
- clickOutsideHandler(event) {
2473
- if (this.isOpen)
2474
- this.isOpen = false;
2475
- }
2476
- isExcluded(date) {
2477
- return !!this.excludedDates
2478
- .filter(item => this.utils.isSameDay(item, date))
2479
- .length;
2480
- }
2481
- isDisabled(date) {
2482
- return this.utils.isMinOverlap(this.minDate, date)
2483
- || this.utils.isMaxOverlap(this.maxDate, date)
2484
- || this.isExcluded(date);
2485
- }
2486
- handleInput(event) {
2487
- if (!this.touched)
2488
- this.touched = true;
2489
- if (!event) {
2490
- this.writeValue(null);
2491
- this.core.setMonth(this.utils.getMonth(new Date()), true);
2492
- this.core.setYear(this.utils.getYear(new Date()), true);
2493
- }
2494
- const inpToValid = this.withoutDays ? `01.${event}` : event;
2495
- if (!this.utils.validInput(inpToValid)) {
2496
- if (!event) {
2497
- this.lastValidInput = null;
2498
- this.inputValue = '';
2499
- return;
2500
- }
2501
- this.inputValue = this.lastValidInput || '';
2502
- return;
2503
- }
2504
- ;
2505
- if (this.withoutDays) {
2506
- this.woDaysMonth = this.utils.parseDate(inpToValid).getMonth();
2507
- this.woDaysYear = this.utils.parseDate(inpToValid).getFullYear();
2508
- }
2509
- if (this.isDisabled(this.utils.parseDate(inpToValid))) {
2510
- this.inputValue = this.lastValidInput || '';
2511
- return;
2512
- }
2513
- this.lastValidInput = this.inputValue;
2514
- this.date = this.utils.parseDate(inpToValid);
2515
- this.core.setMonth(this.utils.getMonth(this.date));
2516
- this.core.setYear(this.utils.getYear(this.date));
2517
- this.writeValue(this.date);
2518
- }
2519
- handleOpen() {
2520
- if (!this.isOpen) {
2521
- this.adjustCoreContainer();
2522
- }
2523
- this.isOpen = !this.isOpen;
2524
- }
2525
- addListeners() {
2526
- const scrollParent = getScrollParent(this.container.nativeElement);
2527
- if (scrollParent) {
2528
- this.scrollParent = scrollParent;
2529
- scrollParent.addEventListener('scroll', this.isolatedCb);
2530
- }
2531
- document.addEventListener('scroll', this.isolatedCb);
2532
- }
2533
- ngOnDestroy() {
2534
- document.removeEventListener('scroll', this.isolatedCb);
2535
- if (this.scrollParent) {
2536
- this.scrollParent.removeEventListener('scroll', this.isolatedCb);
2537
- }
2538
- }
2539
- ngAfterViewInit() {
2540
- this.addListeners();
2541
- this.adjustCoreContainer();
2542
- }
2543
- adjustCoreContainer() {
2544
- if (this.container) {
2545
- const { height: coreHeight } = this.core.container.nativeElement.getBoundingClientRect();
2546
- const height = document.documentElement.offsetHeight;
2547
- const { left, top, width, height: inputHeight, right: InputRight } = this.container.nativeElement.getBoundingClientRect();
2548
- const fromInputPadding = 66;
2549
- const coreBottomEstimate = coreHeight + top + fromInputPadding;
2550
- const bottomOverflow = coreBottomEstimate > height;
2551
- const coreTopEstimate = (top - coreHeight) - 20;
2552
- const topOverflow = coreTopEstimate < 0;
2553
- const centerVrAlign = top - (coreHeight / 2) + (inputHeight / 2);
2554
- const CORE_WIDTH = 296;
2555
- const coreRightEstimate = (InputRight + CORE_WIDTH + 10);
2556
- const topAlign = bottomOverflow ? (topOverflow ? centerVrAlign : coreTopEstimate) : top + 66;
2557
- const hAlign = coreRightEstimate < window.innerWidth ? (left + width + 10) : (left - CORE_WIDTH - 10);
2558
- const defaultHpos = this.align === 'right' ? `left: ${(left + width) - CORE_WIDTH}px; top: ${topAlign}px` : `left: ${left}px; top: ${topAlign}px`;
2559
- const centeredHpos = `left: ${hAlign}px; top: ${topAlign}px`;
2560
- this.fixedPosition = (bottomOverflow && topOverflow) ? centeredHpos : defaultHpos;
2561
- }
2562
- }
2563
- handleDateChange(date) {
2564
- if (!this.touched)
2565
- this.touched = true;
2566
- this.inputValue = this.utils.formatDate(date);
2567
- this.lastValidInput = this.inputValue;
2568
- this.date = date;
2569
- this.writeValue(date);
2570
- if (this.collapseOnChange) {
2571
- this.isOpen = false;
2572
- }
2573
- }
2574
- onFormChange(value) { }
2575
- onTouch() { }
2576
- registerOnChange(fn) {
2577
- this.onFormChange = fn;
2578
- }
2579
- registerOnTouched(fn) {
2580
- this.onTouch = fn;
2581
- }
2582
- writeValue(value) {
2583
- if (this.disabled)
2584
- return;
2585
- if (!value)
2586
- this.inputValue = '';
2587
- this.date = value || new Date();
2588
- this.onFormChange(value);
2589
- this.onTouch();
2590
- if (!this.touched)
2591
- this.touched = true;
2592
- this.onChange.emit(value);
2593
- }
2594
- setDisabledState(disabled) {
2595
- this.disabled = disabled;
2596
- }
2597
- ngOnInit() {
2598
- if (this.withoutDays) {
2599
- this.mask = '00.0000';
2600
- this.date = this.date ? this.date : new Date();
2601
- const month = this.date.getMonth();
2602
- const year = this.date.getFullYear();
2603
- this.woDaysMonth = month;
2604
- this.woDaysYear = year;
2605
- return;
2606
- }
2607
- this.inputValue = this.date
2608
- ? this.utils.formatDate(this.date)
2609
- : '';
2610
- this.date = this.date ? this.date : new Date();
2611
- }
2612
- ngOnChanges(changes) {
2613
- if (changes.date) {
2614
- const newInput = this.utils.formatDate(changes.date.currentValue) || '';
2615
- this.inputValue = this.withoutDays ? newInput.slice(3, 10) : newInput;
2616
- this.lastValidInput = this.withoutDays ? newInput.slice(3, 10) : newInput;
2617
- }
2618
- }
2619
- }
2620
- DatepickerComponent.decorators = [
2621
- { type: Component, args: [{
2622
- selector: 'aeb-datepicker',
2623
- template: "<div\r\n class=\"aeb-datepicker\"\r\n [ngClass]=\"{'aeb-datepicker--disabled': disabled}\"\r\n clickOutside\r\n (clickOutside)=\"clickOutsideHandler($event)\"\r\n #container\r\n>\r\n <aeb-form-field\r\n class=\"aeb-datepicker__field\"\r\n [ngClass]=\"{'aeb-datepicker__field--onerror': hasError}\"\r\n >\r\n <aeb-label class=\"aeb-datepicker__label\">\r\n {{placeholder}}\r\n </aeb-label>\r\n <input\r\n aebInput\r\n type=\"text\"\r\n class=\"aeb-datepicker__input\"\r\n\r\n maxlength=\"10\"\r\n [(ngModel)]=\"inputValue\"\r\n (change)=\"handleInput($event.target.value)\"\r\n (click)=\"clickInputHandler()\"\r\n (input)=\"typeHandler($event)\"\r\n (keydown)=\"keyDownHandler($event)\"\r\n />\r\n <div\r\n class=\"aeb-datepicker__calendar-icon\"\r\n (click)=\"handleOpen()\"\r\n >\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <rect x=\"5\" y=\"6\" width=\"14\" height=\"14\" rx=\"1\" stroke=\"#27303E\" stroke-width=\"2\"/>\r\n <rect x=\"4\" y=\"5\" width=\"16\" height=\"4\" rx=\"2\" fill=\"#27303E\"/>\r\n <rect x=\"9\" y=\"3\" width=\"3\" height=\"2\" rx=\"1\" transform=\"rotate(90 9 3)\" fill=\"#27303E\"/>\r\n <rect x=\"17\" y=\"3\" width=\"3\" height=\"2\" rx=\"1\" transform=\"rotate(90 17 3)\" fill=\"#27303E\"/>\r\n </svg>\r\n </div>\r\n </aeb-form-field>\r\n <aeb-datepicker-core\r\n class=\"aeb-datepicker-core\"\r\n [ngClass]=\"{'aeb-datepicker-core--disabled': !isOpen}\"\r\n [date]=\"date\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [excludedDates]=\"excludedDates\"\r\n [minYear]=\"minYear\"\r\n [maxYear]=\"maxYear\"\r\n (onDateChange)=\"handleDateChange($event)\"\r\n [align]=\"align\"\r\n [withBackground]=\"withBackground\"\r\n [withoutDays]=\"withoutDays\"\r\n (woDaysMonth)=\"woDaysMonthSet($event)\"\r\n (woDaysYear)=\"woDaysYearSet($event)\"\r\n (woDaysMonthSubInc)=\"woMonthIncSub($event)\"\r\n [style]=\"fixedPosition\"\r\n #core\r\n >\r\n </aeb-datepicker-core>\r\n</div>",
2624
- encapsulation: ViewEncapsulation.None,
2625
- providers: [
2626
- {
2627
- provide: NG_VALUE_ACCESSOR,
2628
- useExisting: forwardRef(() => DatepickerComponent),
2629
- multi: true
2630
- }
2631
- ],
2632
- styles: [".aeb-datepicker{width:100%;position:relative;color:var(--darkblue)}.aeb-datepicker--disabled{opacity:.7;pointer-events:none}.aeb-datepicker__field{position:relative}.aeb-datepicker__field--onerror .aeb-datepicker__input{border:2px solid var(--red)!important;color:var(--red)!important}.aeb-datepicker__field--onerror .aeb-datepicker__label{color:var(--red)}.aeb-datepicker__input{padding-right:35px!important}.aeb-datepicker__calendar-icon{cursor:pointer;position:absolute;top:16px;right:12px;z-index:100}.aeb-datepicker-core{position:fixed}.aeb-datepicker-core--disabled{opacity:0;pointer-events:none}"]
2633
- },] }
2634
- ];
2635
- DatepickerComponent.ctorParameters = () => [
2636
- { type: DatepickerUtilsService },
2637
- { type: MaskUtilsService }
2638
- ];
2639
- DatepickerComponent.propDecorators = {
2640
- date: [{ type: Input, args: ['date',] }],
2641
- hasError: [{ type: Input, args: ['hasError',] }],
2642
- minDate: [{ type: Input, args: ['minDate',] }],
2643
- maxDate: [{ type: Input, args: ['maxDate',] }],
2644
- excludedDates: [{ type: Input, args: ['excludedDates',] }],
2645
- minYear: [{ type: Input, args: ['minYear',] }],
2646
- maxYear: [{ type: Input, args: ['maxYear',] }],
2647
- withBackground: [{ type: Input, args: ['withBackground',] }],
2648
- align: [{ type: Input, args: ['align',] }],
2649
- placeholder: [{ type: Input, args: ['placeholder',] }],
2650
- collapseOnChange: [{ type: Input, args: ['collapseOnChange',] }],
2651
- withoutDays: [{ type: Input, args: ['withoutDays',] }],
2652
- core: [{ type: ViewChild, args: ['core',] }],
2653
- input: [{ type: ViewChild, args: ['input',] }],
2654
- container: [{ type: ViewChild, args: ['container',] }],
2655
- onChange: [{ type: Output, args: ['onChange',] }]
2656
- };
2657
-
2658
- class DatepickerCoreComponent {
2659
- constructor(utils) {
2660
- this.utils = utils;
2661
- this.withBackground = true;
2662
- this.align = 'right';
2663
- this.withoutDays = false;
2664
- this.onDateChange = new EventEmitter();
2665
- this.woDaysMonth = new EventEmitter();
2666
- this.woDaysYear = new EventEmitter();
2667
- this.woDaysMonthSubInc = new EventEmitter();
2668
- this.isShowYears = false;
2669
- this.isShowMonths = false;
2670
- }
2671
- addMonth() {
2672
- const startOfMonth = this.firstDay();
2673
- if (this.currentMonth === 11) {
2674
- this.currentMonth = 0;
2675
- this.currentYear = this.currentYear + 1;
2676
- }
2677
- else {
2678
- this.currentMonth = this.currentMonth + 1;
2679
- }
2680
- this.month = this.utils.genMonth(this.utils.addMonths(startOfMonth, 1));
2681
- if (this.withoutDays) {
2682
- this.woDaysMonthSubInc.emit(true);
2683
- }
2684
- }
2685
- subMonth() {
2686
- const startOfMonth = this.firstDay();
2687
- if (this.currentMonth === 0) {
2688
- this.currentMonth = 11;
2689
- this.currentYear = this.currentYear - 1;
2690
- }
2691
- else {
2692
- this.currentMonth = this.currentMonth - 1;
2693
- }
2694
- this.month = this.utils.genMonth(this.utils.subMonths(startOfMonth, 1));
2695
- if (this.withoutDays) {
2696
- this.woDaysMonthSubInc.emit(false);
2697
- }
2698
- }
2699
- setMonth(month, erase) {
2700
- if (this.withoutDays) {
2701
- this.woDaysMonth.emit([month, erase]);
2702
- this.currentMonth = month;
2703
- this.reDraw();
2704
- return;
2705
- }
2706
- this.currentMonth = month;
2707
- this.isShowMonths = false;
2708
- this.reDraw();
2709
- }
2710
- setYear(year, erase) {
2711
- if (this.withoutDays) {
2712
- this.woDaysYear.emit([year, erase]);
2713
- this.currentYear = year;
2714
- this.reDraw();
2715
- return;
2716
- }
2717
- this.currentYear = year;
2718
- this.isShowYears = false;
2719
- this.reDraw();
2720
- }
2721
- setDate(date) {
2722
- this.onDateChange.emit(date);
2723
- }
2724
- reDraw() {
2725
- const startOfMonth = this.utils.setMonth(this.currentMonth, this.currentYear);
2726
- this.month = this.utils.genMonth(startOfMonth);
2727
- }
2728
- firstDay() {
2729
- return this.month[0].filter(item => item)[0];
2730
- }
2731
- showMonthsHandler() {
2732
- if (this.withoutDays && this.isShowMonths)
2733
- return;
2734
- if (this.isShowYears)
2735
- this.isShowYears = false;
2736
- this.isShowMonths = !this.isShowMonths;
2737
- }
2738
- showYearsHandler() {
2739
- if (this.withoutDays && this.isShowYears)
2740
- return;
2741
- if (this.isShowMonths)
2742
- this.isShowMonths = false;
2743
- this.isShowYears = !this.isShowYears;
2744
- }
2745
- startOfYear(year) {
2746
- return new Date(year, 0, 1);
2747
- }
2748
- ngOnInit() {
2749
- this.currentMonth = this.utils.getMonth(this.date);
2750
- this.currentYear = this.utils.getYear(this.date);
2751
- this.month = this.utils.genMonth(this.date);
2752
- if (this.withoutDays) {
2753
- this.isShowMonths = true;
2754
- }
2755
- }
2756
- ngOnChanges(changes) {
2757
- }
2758
- }
2759
- DatepickerCoreComponent.decorators = [
2760
- { type: Component, args: [{
2761
- selector: 'aeb-datepicker-core',
2762
- template: "<div\r\n class=\"aeb-datepicker-core\"\r\n [ngClass]=\"{\r\n 'aeb-datepicker-core--with-background': withBackground,\r\n 'aeb-datepicker-core--left': align === 'left',\r\n 'aeb-datepicker-core--right': align === 'right'\r\n }\"\r\n #container\r\n>\r\n <div class=\"aeb-datepicker-core__controls\">\r\n <div\r\n class=\"aeb-datepicker-core__arrow\"\r\n (click)=\"subMonth()\"\r\n >\r\n <svg\r\n width=\"9\"\r\n height=\"16\"\r\n viewBox=\"0 0 9 16\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\r\n stroke=\"#27303E\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n <div\r\n class=\"aeb-datepicker-core__btn aeb-datepicker-core__btn--month\"\r\n (click)=\"showMonthsHandler()\"\r\n >\r\n {{ firstDay() | date:'LLLL' | titlecase }}\r\n <div\r\n class=\"aeb-datepicker-core__arrow-icon\"\r\n [ngClass]=\"{'aeb-datepicker-core__arrow-icon--active': isShowMonths}\"\r\n >\r\n <svg\r\n width=\"10\"\r\n height=\"6\"\r\n viewBox=\"0 0 10 6\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\r\n stroke=\"#27303E\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-datepicker-core__btn\"\r\n (click)=\"showYearsHandler()\"\r\n >\r\n {{ firstDay() | date:'yyyy' }}\r\n <div\r\n class=\"aeb-datepicker-core__arrow-icon\"\r\n [ngClass]=\"{'aeb-datepicker-core__arrow-icon--active': isShowYears}\"\r\n >\r\n <svg\r\n width=\"10\"\r\n height=\"6\"\r\n viewBox=\"0 0 10 6\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1\"\r\n stroke=\"#27303E\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right\"\r\n (click)=\"addMonth()\"\r\n >\r\n <svg\r\n width=\"9\"\r\n height=\"16\"\r\n viewBox=\"0 0 9 16\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15\"\r\n stroke=\"#27303E\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div class=\"aeb-datepicker-core__calendar\">\r\n <div [style.display]=\"(!isShowYears && !isShowMonths) ? 'block' : 'none'\">\r\n <aeb-datepicker-month\r\n [month]=\"month\"\r\n [date]=\"date\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [excludedDates]=\"excludedDates\"\r\n (setDate)=\"setDate($event)\"\r\n >\r\n </aeb-datepicker-month>\r\n </div>\r\n <div [style.display]=\"isShowYears ? 'block' : 'none'\">\r\n <aeb-datepicker-tiles\r\n [year]=\"currentYear\"\r\n [date]=\"startOfYear(currentYear)\"\r\n [minYear]=\"minYear\"\r\n [maxYear]=\"maxYear\"\r\n (setYear)=\"setYear($event)\"\r\n [isYears]=\"isShowYears\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [woDays]=\"withoutDays\"\r\n >\r\n </aeb-datepicker-tiles>\r\n </div>\r\n <div [style.display]=\"isShowMonths ? 'block' : 'none'\">\r\n <aeb-datepicker-tiles\r\n [isMonths]=\"isShowMonths\"\r\n [month]=\"currentMonth\"\r\n [minYear]=\"minYear\"\r\n [maxYear]=\"maxYear\"\r\n (setMonth)=\"setMonth($event)\"\r\n [year]=\"currentYear\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [woDays]=\"withoutDays\"\r\n >\r\n </aeb-datepicker-tiles>\r\n </div>\r\n </div>\r\n</div>\r\n",
2763
- providers: [
2764
- { provide: LOCALE_ID, useValue: 'ru' }
2765
- ],
2766
- encapsulation: ViewEncapsulation.None,
2767
- styles: [".aeb-datepicker-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:fixed;z-index:9999}.aeb-datepicker-core--with-background{background-color:var(--white);border-radius:10px;border:2px solid var(--gray-primary);padding:10px}.aeb-datepicker-core__calendar{min-height:220px;width:100%}.aeb-datepicker-core__controls{display:flex;justify-content:center;align-items:center;margin-bottom:10px}.aeb-datepicker-core__arrow{cursor:pointer}.aeb-datepicker-core__arrow--right{transform:rotate(180deg);margin-bottom:10px}.aeb-datepicker-core__btn{display:flex;align-items:center;justify-content:space-between;border:2px solid var(--gray-primary);font-size:14px;padding:6px 10px;border-radius:4px;cursor:pointer;margin-right:20px;width:72px;box-sizing:border-box}.aeb-datepicker-core__btn--month{width:112px;margin-right:10px;margin-left:20px}.aeb-datepicker-core__arrow-icon{box-sizing:border-box;position:relative;bottom:2px}.aeb-datepicker-core__arrow-icon--active{transform:rotate(180deg)}"]
2768
- },] }
2769
- ];
2770
- DatepickerCoreComponent.ctorParameters = () => [
2771
- { type: DatepickerUtilsService }
2772
- ];
2773
- DatepickerCoreComponent.propDecorators = {
2774
- date: [{ type: Input, args: ['date',] }],
2775
- minDate: [{ type: Input, args: ['minDate',] }],
2776
- maxDate: [{ type: Input, args: ['maxDate',] }],
2777
- excludedDates: [{ type: Input, args: ['excludedDates',] }],
2778
- minYear: [{ type: Input, args: ['minYear',] }],
2779
- maxYear: [{ type: Input, args: ['maxYear',] }],
2780
- withBackground: [{ type: Input, args: ['withBackground',] }],
2781
- align: [{ type: Input, args: ['align',] }],
2782
- withoutDays: [{ type: Input, args: ['withoutDays',] }],
2783
- onDateChange: [{ type: Output, args: ['onDateChange',] }],
2784
- woDaysMonth: [{ type: Output, args: ['woDaysMonth',] }],
2785
- woDaysYear: [{ type: Output, args: ['woDaysYear',] }],
2786
- woDaysMonthSubInc: [{ type: Output, args: ['woDaysMonthSubInc',] }],
2787
- container: [{ type: ViewChild, args: ['container',] }]
2788
- };
2789
-
2790
- class DatepickerMonthComponent {
2791
- constructor(utils) {
2792
- this.utils = utils;
2793
- this.setDate = new EventEmitter();
2794
- this.week = DatepickerUtilsService.weekLocal;
2795
- }
2796
- isToday(date) {
2797
- return this.utils.isToday(date);
2798
- }
2799
- emitDate(date) {
2800
- if (this.isDisabled(date))
2801
- return;
2802
- this.setDate.emit(date);
2803
- }
2804
- sameDate(date) {
2805
- return this.utils.isSameDay(this.date, date);
2806
- }
2807
- isExcluded(date) {
2808
- return !!this.excludedDates
2809
- .filter(item => this.utils.isSameDay(item, date))
2810
- .length;
2811
- }
2812
- isDisabled(date) {
2813
- return this.utils.isMinOverlap(this.minDate, date)
2814
- || this.utils.isMaxOverlap(this.maxDate, date)
2815
- || this.isExcluded(date);
2816
- }
2817
- ngOnInit() {
2818
- }
2819
- }
2820
- DatepickerMonthComponent.decorators = [
2821
- { type: Component, args: [{
2822
- selector: 'aeb-datepicker-month',
2823
- template: "<div class=\"aeb-datepicker-month__week\">\r\n <div\r\n *ngFor=\"let day of week\"\r\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\"\r\n >\r\n {{day}}\r\n </div>\r\n</div>\r\n<div *ngFor=\"let week of month\" class=\"aeb-datepicker-month__week\">\r\n <ng-container\r\n *ngFor=\"let day of week\"\r\n >\r\n <div\r\n *ngIf=\"!!day; else elseStub\"\r\n class=\"aeb-datepicker-month__day\"\r\n [ngClass]=\"{\r\n 'aeb-datepicker-month__day--today': isToday(day),\r\n 'aeb-datepicker-month__day--picked': sameDate(day),\r\n 'aeb-datepicker-month__day--disabled': isDisabled(day)\r\n }\"\r\n (click)=\"emitDate(day)\"\r\n >\r\n {{day | dateToStr}}\r\n </div>\r\n <ng-template\r\n #elseStub\r\n >\r\n <div\r\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\r\n >\r\n </div>\r\n </ng-template>\r\n </ng-container>\r\n</div>\r\n",
2824
- encapsulation: ViewEncapsulation.None,
2825
- styles: [".aeb-datepicker-month__week{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;display:flex;align-items:center}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{width:32px;height:28px;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;box-sizing:border-box;border-radius:4px}.aeb-datepicker-month__day:hover{border:1px solid var(--blue)}.aeb-datepicker-month__day--stub{cursor:none;pointer-events:none}.aeb-datepicker-month__day--stub:hover{border:none}.aeb-datepicker-month__day--today{border:1px solid var(--gray-primary)}.aeb-datepicker-month__day--picked{border:none;background-color:var(--blue);color:#fff}.aeb-datepicker-month__day--disabled{color:var(--gray-primary);cursor:none;pointer-events:none}.aeb-datepicker-month__day--disabled:hover{border:none}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:12px;color:var(--gray-primary);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:none}"]
2826
- },] }
2827
- ];
2828
- DatepickerMonthComponent.ctorParameters = () => [
2829
- { type: DatepickerUtilsService }
2830
- ];
2831
- DatepickerMonthComponent.propDecorators = {
2832
- month: [{ type: Input, args: ['month',] }],
2833
- setDate: [{ type: Output, args: ['setDate',] }],
2834
- date: [{ type: Input, args: ['date',] }],
2835
- minDate: [{ type: Input, args: ['minDate',] }],
2836
- maxDate: [{ type: Input, args: ['maxDate',] }],
2837
- excludedDates: [{ type: Input, args: ['excludedDates',] }]
2838
- };
2839
-
2840
- class DateToStrPipe {
2841
- transform(value) {
2842
- return value ? `${getDate(value)}` : '';
2843
- }
2844
- }
2845
- DateToStrPipe.decorators = [
2846
- { type: Pipe, args: [{
2847
- name: 'dateToStr'
2848
- },] }
2849
- ];
2850
-
2851
- class DatepickerTilesComponent {
2852
- constructor(utils) {
2853
- this.utils = utils;
2854
- this.isMonths = false;
2855
- this.isYears = false;
2856
- this.setYear = new EventEmitter();
2857
- this.setMonth = new EventEmitter();
2858
- this.woDays = false;
2859
- this.months = DatepickerUtilsService.monthsLocal;
2860
- }
2861
- emitMonth(month) {
2862
- this.setMonth.emit(month);
2863
- }
2864
- emitYear(year) {
2865
- this.setYear.emit(year);
2866
- }
2867
- scrollYears() {
2868
- if (this.isMonths)
2869
- return;
2870
- const diff = Math.abs(this.utils.yearsDiff(this.utils.startOfYear(this.date), this.utils.startOfYear(this.maxYear)));
2871
- const yearRowHeight = 54;
2872
- const steps = Math.floor(diff / 3);
2873
- const padding = 6;
2874
- const marginDelta = steps;
2875
- this.container.nativeElement.scrollTop = (yearRowHeight * steps) + marginDelta - padding;
2876
- }
2877
- ngOnInit() {
2878
- this.years = this.utils.genYears(this.minYear, this.maxYear).reverse();
2879
- }
2880
- ngOnChanges(changes) {
2881
- if (changes.isYears && this.container) {
2882
- setTimeout(() => this.scrollYears());
2883
- }
2884
- }
2885
- isMonthDisabled(month) {
2886
- if (this.woDays) {
2887
- return this.utils.isMinOverlap(this.minDate, new Date(this.year, month))
2888
- || this.utils.isMaxOverlap(this.maxDate, new Date(this.year, month));
2889
- }
2890
- else {
2891
- return false;
2892
- }
2893
- }
2894
- isYearDisabled(year) {
2895
- if (this.woDays) {
2896
- return this.utils.isMinOverlap(this.minDate, new Date(year, 11, 31))
2897
- || this.utils.isMaxOverlap(this.maxDate, new Date(year, 0));
2898
- }
2899
- else {
2900
- return false;
2901
- }
2902
- }
2903
- }
2904
- DatepickerTilesComponent.decorators = [
2905
- { type: Component, args: [{
2906
- selector: 'aeb-datepicker-tiles',
2907
- template: "<div\r\n class=\"aeb-datepicker-tiles\"\r\n #container\r\n>\r\n <div\r\n class=\"aeb-datepicker-tiles__scroll\"\r\n [ngClass]=\"{'aeb-datepicker-tiles__scroll--months': isMonths}\"\r\n >\r\n <div\r\n [style.display]=\"!isMonths ? 'flex' : 'none'\"\r\n class=\"aeb-datepicker-tiles__tile\"\r\n *ngFor=\"let yearNum of years\"\r\n [ngClass]=\"{\r\n 'aeb-datepicker-tiles__tile--active': yearNum === year,\r\n 'aeb-datepicker-tiles__tile--disabled': isYearDisabled(yearNum)\r\n }\"\r\n (click)=\"emitYear(yearNum)\"\r\n >\r\n {{ yearNum }}\r\n </div>\r\n <div\r\n [style.display]=\"isMonths ? 'flex' : 'none'\"\r\n class=\"aeb-datepicker-tiles__tile\"\r\n *ngFor=\"let monthNum of months; let i = index\"\r\n [ngClass]=\"{\r\n 'aeb-datepicker-tiles__tile--active': i === month,\r\n 'aeb-datepicker-tiles__tile--disabled': isMonthDisabled(i)\r\n }\"\r\n (click)=\"emitMonth(i)\"\r\n >\r\n {{ monthNum }}\r\n </div>\r\n </div>\r\n</div>",
2908
- styles: [".aeb-datepicker-tiles{min-width:275px;height:220px;position:relative;overflow:auto;-ms-overflow-style:none;scrollbar-width:none}.aeb-datepicker-tiles::-webkit-scrollbar{display:none}.aeb-datepicker-tiles__scroll{display:flex;flex-wrap:wrap;justify-content:space-between;position:absolute;width:100%}.aeb-datepicker-tiles__tile{width:84px;height:41px;display:flex;justify-content:center;align-items:center;border:1px solid var(--gray-primary);border-radius:4px;font-size:16px;box-sizing:unset!important}.aeb-datepicker-tiles__tile:hover{border:1px solid var(--blue);cursor:pointer}.aeb-datepicker-tiles__tile:not(:nth-last-child(-n+3)){margin-bottom:12px}.aeb-datepicker-tiles__tile--active{border:1px solid var(--blue);background-color:var(--blue);color:#fff}.aeb-datepicker-tiles__tile--disabled{color:var(--gray-primary);cursor:none;pointer-events:none}.aeb-datepicker-tiles__tile--disabled:hover{border:none}"]
2909
- },] }
2910
- ];
2911
- DatepickerTilesComponent.ctorParameters = () => [
2912
- { type: DatepickerUtilsService }
2913
- ];
2914
- DatepickerTilesComponent.propDecorators = {
2915
- container: [{ type: ViewChild, args: ['container',] }],
2916
- date: [{ type: Input, args: ['date',] }],
2917
- isMonths: [{ type: Input, args: ['isMonths',] }],
2918
- isYears: [{ type: Input, args: ['isYears',] }],
2919
- year: [{ type: Input, args: ['year',] }],
2920
- setYear: [{ type: Output, args: ['setYear',] }],
2921
- month: [{ type: Input, args: ['month',] }],
2922
- setMonth: [{ type: Output, args: ['setMonth',] }],
2923
- minYear: [{ type: Input, args: ['minYear',] }],
2924
- maxYear: [{ type: Input, args: ['maxYear',] }],
2925
- minDate: [{ type: Input, args: ['minDate',] }],
2926
- maxDate: [{ type: Input, args: ['maxDate',] }],
2927
- woDays: [{ type: Input, args: ['woDays',] }]
2928
- };
2929
-
2930
- const maskConfig = {
2931
- validation: false,
2932
- };
2933
- const maskModule = NgxMaskModule.forRoot(maskConfig);
2934
- class DatepickerModule {
2935
- }
2936
- DatepickerModule.decorators = [
2937
- { type: NgModule, args: [{
2938
- declarations: [
2939
- DatepickerComponent,
2940
- DatepickerCoreComponent,
2941
- DatepickerMonthComponent,
2942
- DateToStrPipe,
2943
- DatepickerTilesComponent,
2944
- ],
2945
- imports: [
2946
- CommonModule,
2947
- FormFieldModule,
2948
- FormsModule,
2949
- ClickOutsideModule,
2950
- maskModule
2951
- ],
2952
- exports: [
2953
- DatepickerComponent,
2954
- DatepickerCoreComponent,
2955
- DatepickerMonthComponent,
2956
- DateToStrPipe,
2957
- DatepickerTilesComponent,
2958
- ],
2959
- },] }
2960
- ];
2961
-
2962
- class RadioButtonsComponent {
2963
- constructor() {
2964
- // Методы для управления компонентом вне формы
2965
- this.change = new EventEmitter();
2966
- this.disabled = false;
2967
- this.horizontal = false;
2968
- }
2969
- onChange(value) { }
2970
- onTouch() { }
2971
- registerOnChange(fn) {
2972
- this.onChange = fn;
2973
- }
2974
- registerOnTouched(fn) {
2975
- this.onTouch = fn;
2976
- }
2977
- writeValue(value) {
2978
- if (this.disabled)
2979
- return;
2980
- this.value = value;
2981
- this.onChange(value);
2982
- this.onTouch();
2983
- if (!this.touched)
2984
- this.touched = true;
2985
- this.change.emit(value);
2986
- }
2987
- setDisabledState(disabled) {
2988
- this.disabled = disabled;
2989
- }
2990
- }
2991
- RadioButtonsComponent.decorators = [
2992
- { type: Component, args: [{
2993
- selector: 'aeb-radio-buttons',
2994
- template: "<div\r\n class=\"aeb-radio-buttons\"\r\n [ngClass]=\"{\r\n 'aeb-radio-buttons--disabled': disabled,\r\n 'aeb-radio-buttons--error': hasError\r\n }\"\r\n>\r\n <div class=\"aeb-radio-buttons__header\">\r\n {{header}}\r\n </div>\r\n <div class=\"aeb-radio-buttons__items\" [ngClass]=\"{horizontal: horizontal}\">\r\n <div\r\n *ngFor=\"let option of options\"\r\n class=\"aeb-radio-buttons__item\"\r\n (click)=\"writeValue(option.value)\"\r\n >\r\n <div\r\n class=\"aeb-radio-buttons__circle\"\r\n [ngClass]=\"{'aeb-radio-buttons__circle--active': value === option.value}\"\r\n ></div>\r\n <span class=\"aeb-radio-buttons__label\">\r\n {{option.label}}\r\n </span>\r\n </div>\r\n </div>\r\n</div>\r\n",
2995
- encapsulation: ViewEncapsulation.None,
2996
- providers: [
2997
- {
2998
- provide: NG_VALUE_ACCESSOR,
2999
- useExisting: forwardRef(() => RadioButtonsComponent),
3000
- multi: true
3001
- }
3002
- ],
3003
- styles: [".aeb-radio-buttons{color:var(--darkblue)}.aeb-radio-buttons--disabled{color:var(--gray-primary);pointer-events:none}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle{border:2px solid var(--gray-primary)}.aeb-radio-buttons--disabled .aeb-radio-buttons__circle:after{background-color:var(--gray-primary)}.aeb-radio-buttons--error{color:var(--red)}.aeb-radio-buttons--error .aeb-radio-buttons__circle{border:2px solid var(--red)}.aeb-radio-buttons__header{font-size:16px;color:var(--gray-primary);margin-bottom:15px}.aeb-radio-buttons__items{display:inline-flex;flex-direction:column}.aeb-radio-buttons__items.horizontal{flex-direction:row;align-items:flex-start}.aeb-radio-buttons__items.horizontal .aeb-radio-buttons__item{padding-right:32px;margin-bottom:0}.aeb-radio-buttons__item{display:inline-flex;align-items:center;cursor:pointer}.aeb-radio-buttons__item:not(:last-child){margin-bottom:15px}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle{border:2px solid var(--blue-turquoise)}.aeb-radio-buttons__item:hover .aeb-radio-buttons__circle:after{background-color:var(--blue-turquoise)}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle{position:relative;background-image:var(--active-gradient);border:2px solid transparent}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:before{position:absolute;top:0;content:\"\";width:100%;height:100%;border-radius:50%;background-color:#fff;z-index:0}.aeb-radio-buttons__item:active .aeb-radio-buttons__circle:after{background-image:var(--active-gradient)}.aeb-radio-buttons__label{font-size:16px;display:block}.aeb-radio-buttons__circle{width:16px;height:16px;margin-right:10px;border:2px solid var(--blue);border-radius:50%;position:relative}.aeb-radio-buttons__circle--active:after{position:absolute;top:calc(50% - 5px);left:calc(50% - 5px);content:\"\";width:10px;height:10px;background-color:var(--blue);border-radius:50%}"]
3004
- },] }
3005
- ];
3006
- RadioButtonsComponent.ctorParameters = () => [];
3007
- RadioButtonsComponent.propDecorators = {
3008
- options: [{ type: Input, args: ['options',] }],
3009
- header: [{ type: Input, args: ['header',] }],
3010
- hasError: [{ type: Input, args: ['hasError',] }],
3011
- change: [{ type: Output }],
3012
- value: [{ type: Input, args: ['value',] }],
3013
- horizontal: [{ type: Input, args: ['horizontal',] }]
3014
- };
3015
-
3016
- class RadioButtonsModule {
3017
- }
3018
- RadioButtonsModule.decorators = [
3019
- { type: NgModule, args: [{
3020
- declarations: [RadioButtonsComponent],
3021
- imports: [
3022
- CommonModule
3023
- ],
3024
- exports: [RadioButtonsComponent]
3025
- },] }
3026
- ];
3027
-
3028
- class AccordionComponent {
3029
- constructor() {
3030
- this.isOpen = false;
3031
- }
3032
- openHandler() {
3033
- this.isOpen = !this.isOpen;
3034
- this.normalizeTransition();
3035
- }
3036
- normalizeTransition() {
3037
- if (this.isOpen) {
3038
- this.content.nativeElement.style.height = `${this.content.nativeElement.scrollHeight}px`;
3039
- }
3040
- else {
3041
- this.content.nativeElement.style.height = `0`;
3042
- }
3043
- }
3044
- ngAfterViewInit() {
3045
- this.normalizeTransition();
3046
- }
3047
- }
3048
- AccordionComponent.decorators = [
3049
- { type: Component, args: [{
3050
- selector: 'aeb-accordion',
3051
- template: "<div\r\n class=\"aeb-accordion\"\r\n [ngClass]=\"{'aeb-accordion--open': isOpen}\"\r\n>\r\n <div\r\n class=\"aeb-accordion__header\"\r\n [ngClass]=\"{'aeb-accordion__header--open': isOpen}\"\r\n (click)=\"openHandler()\"\r\n >\r\n <span class=\"aeb-accordion__heading\">\r\n {{header}}\r\n </span>\r\n <div\r\n class=\"aeb-accordion__arrow-icon\"\r\n [ngClass]=\"{'aeb-accordion__arrow-icon--open': isOpen}\"\r\n >\r\n <svg\r\n width=\"10\"\r\n height=\"6\"\r\n viewBox=\"0 0 10 6\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M0.999999 1L4.92929 4.92929C4.96834 4.96834 5.03166 4.96834 5.07071 4.92929L9 1\"\r\n stroke=\"#27303E\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div\r\n class=\"aeb-accordion__content\"\r\n #content\r\n >\r\n <ng-content></ng-content>\r\n <div class=\"aeb-accordion__stub-padding\">\r\n </div>\r\n </div>\r\n</div>",
3052
- encapsulation: ViewEncapsulation.None,
3053
- styles: [".aeb-accordion{width:100%;border-radius:10px;box-sizing:border-box;background-color:var(--web-white);cursor:pointer;transition:background-color,.2s;color:var(--darkblue)}.aeb-accordion--open{background-color:#d5e8fc}.aeb-accordion__header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px}.aeb-accordion__header--open{color:#2f88f0}.aeb-accordion__arrow-icon{display:flex;align-items:center;transition:transform,.2s}.aeb-accordion__arrow-icon--open{transform:rotate(180deg)}.aeb-accordion__arrow-icon--open path{stroke:#2f88f0}.aeb-accordion__content{cursor:auto;overflow:hidden;transition:height .2s;position:relative;bottom:8px;padding:0 25px;box-sizing:border-box;border-radius:0 0 10px 10px}.aeb-accordion__stub-padding{height:10px}"]
3054
- },] }
3055
- ];
3056
- AccordionComponent.ctorParameters = () => [];
3057
- AccordionComponent.propDecorators = {
3058
- header: [{ type: Input, args: ['header',] }],
3059
- content: [{ type: ViewChild, args: ['content',] }]
3060
- };
3061
-
3062
- class AccordionModule {
3063
- }
3064
- AccordionModule.decorators = [
3065
- { type: NgModule, args: [{
3066
- declarations: [AccordionComponent],
3067
- imports: [
3068
- CommonModule
3069
- ],
3070
- exports: [AccordionComponent]
3071
- },] }
3072
- ];
3073
-
3074
- class CommentComponent {
3075
- constructor() {
3076
- this.response = new EventEmitter();
3077
- this.isExpanded = false;
3078
- this.onResponse = false;
3079
- this.titleError = false;
3080
- this.contentError = false;
3081
- this.responseForm = new FormGroup({
3082
- title: new FormControl('', { validators: Validators.required }),
3083
- content: new FormControl('', { validators: Validators.required })
3084
- });
3085
- }
3086
- expandHandler() {
3087
- this.isExpanded = !this.isExpanded;
3088
- }
3089
- responseHandler() {
3090
- this.onResponse = !this.onResponse;
3091
- }
3092
- submitHandler() {
3093
- this.titleError = this.responseForm.get('title').invalid;
3094
- this.contentError = this.responseForm.get('content').invalid;
3095
- if (this.responseForm.invalid)
3096
- return;
3097
- this.response.emit(Object.assign(Object.assign({}, this.responseForm.value), { hash: this.comment.hash, parentHash: this.comment.parentHash, parentName: this.comment.parentName, firstName: 'Дмитрий', lastName: 'Сахаров' }));
3098
- this.onResponse = false;
3099
- }
3100
- hoistHandler(data) {
3101
- this.response.emit(data);
3102
- }
3103
- nullTarget(event) {
3104
- event.preventDefault();
3105
- }
3106
- ngOnInit() {
3107
- }
3108
- }
3109
- CommentComponent.decorators = [
3110
- { type: Component, args: [{
3111
- selector: 'aeb-comment',
3112
- template: "<div class=\"aeb-comment\">\r\n <div class=\"aeb-comment__avatar-column\">\r\n <div class=\"aeb-comment__avatar\">\r\n <img\r\n [src]=\"comment.avatar\"\r\n *ngIf=\"comment.avatar; else nameTemplate\"\r\n />\r\n <ng-template #nameTemplate>\r\n <div class=\"aeb-comment__initials\">\r\n {{comment.firstName.slice(0,1)}}{{comment.lastName.slice(0,1)}}\r\n </div>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <div class=\"aeb-comment__comment-column\">\r\n <div class=\"aeb-comment__author-wrapper\">\r\n <div class=\"aeb-comment__author-group\">\r\n {{comment.group}}\r\n <ng-container\r\n *ngIf=\"comment.parentName\"\r\n >\r\n <div class=\"aeb-comment__reply-icon\">\r\n <svg width=\"10\" height=\"8\" viewBox=\"0 0 10 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z\" fill=\"#A3AAAE\"/>\r\n </svg> \r\n </div>\r\n <span class=\"aeb-comment__reply-host\">\r\n {{comment.parentName}}\r\n </span>\r\n </ng-container>\r\n </div>\r\n <div class=\"aeb-comment__author-name\">\r\n {{comment.fullName}}\r\n <div aebTooltip [position]=\"'right'\" class=\"aeb-comment__author-info\">\r\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z\" stroke=\"#27303E\"/>\r\n <path d=\"M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z\" fill=\"#27303E\"/>\r\n </svg>\r\n <div #tooltipContent>\r\n <div class=\"aeb-comment__tooltip\">\r\n {{comment.aboutAuthor}}\r\n </div>\r\n </div> \r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"aeb-comment__comment-wrapper\">\r\n <div class=\"aeb-comment__comment-header\">\r\n {{comment.title}}\r\n </div>\r\n <div class=\"aeb-comment__comment-txt\">\r\n {{comment.content}}\r\n </div>\r\n </div>\r\n <div class=\"aeb-comment__date-response\">\r\n <div class=\"aeb-comment__comment-date\">\r\n {{comment.date}}\r\n </div>\r\n <div\r\n class=\"aeb-comment__comment-response\"\r\n (click)=\"responseHandler()\"\r\n >\r\n \u041E\u0442\u0432\u0435\u0442\u0438\u0442\u044C\r\n </div>\r\n </div>\r\n <form\r\n class=\"aeb-comment__response-form\"\r\n *ngIf=\"onResponse\"\r\n [formGroup]=\"responseForm\"\r\n (submit)=\"nullTarget($event)\"\r\n >\r\n <div\r\n class=\"aeb-comment__input\"\r\n [ngClass]=\"{\r\n 'aeb-comment__input--error': titleError\r\n }\"\r\n >\r\n <aeb-form-field>\r\n <aeb-label>\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\r\n <input\r\n aebInput\r\n type=\"text\"\r\n formControlName=\"title\"\r\n />\r\n </aeb-form-field>\r\n </div>\r\n <div\r\n class=\"aeb-comment__input\"\r\n [ngClass]=\"{\r\n 'aeb-comment__input--error': contentError\r\n }\"\r\n >\r\n <aeb-form-field>\r\n <aeb-label>\u0422\u0435\u043A\u0441\u0442 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044F</aeb-label>\r\n <textarea\r\n aebTextarea\r\n style=\"height: 140px;\"\r\n formControlName=\"content\"\r\n required\r\n >\r\n </textarea>\r\n </aeb-form-field>\r\n </div>\r\n <div class=\"aeb-comment__submit\">\r\n <button (click)=\"submitHandler()\" aeb-button>\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</button>\r\n </div>\r\n </form>\r\n <div\r\n (click)=\"expandHandler()\"\r\n *ngIf=\"comment.nestedComments && comment.nestedComments.length\"\r\n class=\"aeb-comment__response-ctrls\"\r\n >\r\n <div class=\"aeb-comment__responses\">\r\n \u041E\u0442\u0432\u0435\u0442\u044B\r\n </div>\r\n <div class=\"aeb-comment__response-counter\">\r\n {{comment.nestedComments.length}}\r\n </div>\r\n <div\r\n class=\"aeb-comment__arrow-icon\"\r\n [ngClass]=\"{\r\n 'aeb-comment__arrow-icon--active': isExpanded\r\n }\"\r\n >\r\n <svg width=\"10\" height=\"6\" viewBox=\"0 0 10 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n </svg>\r\n </div>\r\n </div>\r\n <ng-container\r\n *ngIf=\"comment.nestedComments && comment.nestedComments.length && isExpanded\"\r\n >\r\n <ng-container *ngFor=\"let comment of comment.nestedComments\">\r\n <aeb-comment (response)=\"hoistHandler($event)\" [comment]=\"comment\">\r\n </aeb-comment>\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n</div>\r\n",
3113
- encapsulation: ViewEncapsulation.None,
3114
- styles: [".aeb-comment{width:100%;display:flex;color:var(--darkblue)}.aeb-comment__avatar-column{margin-right:12px}.aeb-comment__comment-column{flex-grow:1}.aeb-comment__avatar{width:40px;height:40px;background-color:var(--blue);border-radius:50%;display:flex;justify-content:center;align-items:center}.aeb-comment__avatar img{width:90%;border-radius:50%}.aeb-comment__initials{color:var(--white);position:relative;bottom:1px}.aeb-comment__author-group{font-size:20px;font-weight:500;margin-bottom:4px;display:flex;align-items:center}.aeb-comment__reply-icon{margin-left:32px;position:relative;bottom:4px}.aeb-comment__reply-host{color:var(--gray-primary);font-size:12px;margin-left:8px}.aeb-comment__author-name{font-size:16px;color:var(--gray-primary);display:flex;align-items:center}.aeb-comment__author-info{margin-left:12px;position:relative;top:3px;cursor:pointer}.aeb-comment__tooltip{max-width:200px;white-space:normal}.aeb-comment__author-wrapper{margin-bottom:20px}.aeb-comment__comment-wrapper{background:var(--web-white);border-radius:8px;padding:16px;width:100%;box-sizing:border-box}.aeb-comment__comment-header{font-size:20px;font-weight:500;color:var(--darkblue);margin-bottom:10px}.aeb-comment__date-response{display:flex;align-items:center;margin-top:20px;margin-bottom:25px}.aeb-comment__comment-date{color:var(--gray-primary);font-size:14px;margin-right:30px}.aeb-comment__comment-response{color:var(--blue);font-size:14px;cursor:pointer}.aeb-comment__response-ctrls{display:inline-flex;margin-bottom:28px;align-items:center;cursor:pointer}.aeb-comment__responses{font-size:14px;color:var(--darkblue);margin-right:15px}.aeb-comment__response-counter{font-size:14px;color:var(--gray-primary);margin-right:12px}.aeb-comment__arrow-icon{position:relative;top:2px;transform:rotate(180deg)}.aeb-comment__arrow-icon--active{transform:none;bottom:3px;top:unset}.aeb-comment__input{margin-bottom:24px}.aeb-comment__submit{margin-top:24px;width:100%;display:flex;justify-content:flex-end}.aeb-comment__response-form{margin-bottom:24px}"]
3115
- },] }
3116
- ];
3117
- CommentComponent.ctorParameters = () => [];
3118
- CommentComponent.propDecorators = {
3119
- comment: [{ type: Input, args: ['comment',] }],
3120
- response: [{ type: Output, args: ['response',] }],
3121
- tooltip: [{ type: ViewChild, args: [TooltipDirective,] }]
3122
- };
3123
-
3124
- class CommentModule {
3125
- }
3126
- CommentModule.decorators = [
3127
- { type: NgModule, args: [{
3128
- declarations: [
3129
- CommentComponent
3130
- ],
3131
- imports: [
3132
- CommonModule,
3133
- NewTooltipModule,
3134
- FormFieldModule,
3135
- ButtonModule,
3136
- ReactiveFormsModule
3137
- ],
3138
- exports: [CommentComponent]
3139
- },] }
3140
- ];
3141
-
3142
- class FooterComponent {
3143
- constructor() {
3144
- this.hasContent = false;
3145
- }
3146
- ngOnInit() {
3147
- this.hasContent = !!this.content.nativeElement.innerHTML;
3148
- }
3149
- }
3150
- FooterComponent.decorators = [
3151
- { type: Component, args: [{
3152
- selector: 'aeb-footer',
3153
- template: "<footer class=\"aeb-footer\">\r\n <div #content class=\"aeb-footer__content\">\r\n <ng-content></ng-content>\r\n </div>\r\n</footer>\r\n\r\n<footer\r\n class=\"aeb-footer\"\r\n *ngIf=\"!hasContent\"\r\n>\r\n <div class=\"aeb-footer__content\">\r\n <aeb-footer-top></aeb-footer-top>\r\n <aeb-footer-menu></aeb-footer-menu>\r\n <aeb-footer-bottom></aeb-footer-bottom>\r\n </div>\r\n</footer>",
3154
- encapsulation: ViewEncapsulation.None,
3155
- styles: [".aeb-footer{width:100%;background-color:var(--darkblue);display:flex;justify-content:center}.aeb-footer__content{width:1200px}@media screen and (max-width:1200px){.aeb-footer__content{width:100%}}"]
3156
- },] }
3157
- ];
3158
- FooterComponent.ctorParameters = () => [];
3159
- FooterComponent.propDecorators = {
3160
- content: [{ type: ViewChild, args: ['content', { read: ElementRef, static: true },] }]
3161
- };
3162
-
3163
- class FooterTopComponent {
3164
- constructor() {
3165
- this.onlyPhone = false;
3166
- this.hasContent = false;
3167
- }
3168
- ngOnInit() {
3169
- this.hasContent = !!this.content.nativeElement.innerHTML;
3170
- }
3171
- }
3172
- FooterTopComponent.decorators = [
3173
- { type: Component, args: [{
3174
- selector: 'aeb-footer-top',
3175
- template: "<div #content>\r\n <ng-content></ng-content>\r\n</div>\r\n<div\r\n class=\"aeb-footer-top\"\r\n *ngIf=\"!hasContent\"\r\n>\r\n <div class=\"aeb-footer-top__wrapper\">\r\n <div class=\"aeb-footer-top__column\">\r\n <div class=\"aeb-footer-top__row\">\r\n <div class=\"aeb-footer-top__head\">\r\n \u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E \u043F\u043E \u0420\u043E\u0441\u0441\u0438\u0438\r\n </div>\r\n <div class=\"aeb-footer-top__cell\">\r\n 8 800 100-34-22\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"!onlyPhone\" class=\"aeb-footer-top__column\">\r\n <div class=\"aeb-footer-top__row\">\r\n <div class=\"aeb-footer-top__head\">\r\n \u041D\u0430\u0448 \u0430\u0434\u0440\u0435\u0441\r\n </div>\r\n <div class=\"aeb-footer-top__cell\">\r\n \u0433. \u042F\u043A\u0443\u0442\u0441\u043A, \u0443\u043B. \u041B\u0435\u043D\u0438\u043D\u0430, 1\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"aeb-footer-top__app\">\r\n <a class=\"aeb-footer-top__mobile-icon\">\r\n <svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect width=\"48\" height=\"48\" rx=\"8\" fill=\"#2F88F0\"/>\r\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M26.5406 25.319L25.3223 26.5376L26.1321 28.4946L28.4972 26.129L26.5406 25.319ZM24.8708 26.724H23.1436L22.3337 28.681H25.6735L24.8708 26.724ZM26.7342 23.1398V24.8602L28.6835 25.6702V22.3297L26.7342 23.1398ZM22.6849 26.5376L21.4665 25.319L19.5171 26.129L21.8822 28.4946L22.6849 26.5376ZM26.1321 19.5054L25.3223 21.4624L26.5406 22.681L28.4972 21.871L26.1321 19.5054ZM23.1436 21.2688H24.8708L25.6735 19.319H22.3337L23.1436 21.2688ZM21.2802 24.8602V23.1398L19.3308 22.3297V25.6702L21.2802 24.8602ZM21.4665 22.681L22.6849 21.4624L21.8822 19.5054L19.5171 21.871L21.4665 22.681ZM22.7566 18.0358H34.5675C34.976 18.0358 35.3845 18.1935 35.6999 18.509C36.0152 18.8244 36.1729 19.233 36.1729 19.6416C36.1729 20.0502 36.0152 20.466 35.6999 20.7814L38.409 23.491C39.4697 22.4301 40 21.0323 40 19.6416C40 18.2509 39.4697 16.8602 38.409 15.7993C37.3483 14.7384 35.9579 14.2079 34.5675 14.2079H26.5837L22.7566 18.0358ZM27.3362 18.8961L35.6856 27.2545C35.9794 27.5412 36.1586 27.9427 36.1586 28.3871C36.1586 28.8315 35.9794 29.233 35.6856 29.5269C35.3989 29.8136 34.9975 29.9928 34.5532 29.9928V33.828C36.0511 33.828 37.4128 33.2186 38.3946 32.2366C39.3836 31.2473 39.9857 29.8925 39.9857 28.3871C39.9857 26.8889 39.3765 25.5269 38.3946 24.5376L32.7543 18.8961H27.3362ZM29.9664 22.7455V34.5591C29.9664 34.9677 29.8087 35.3835 29.4934 35.6989C29.1781 36.0072 28.7695 36.1649 28.361 36.1649C27.9525 36.1649 27.5368 36.0072 27.2287 35.6989L24.5124 38.4086C25.5803 39.4695 26.9707 40 28.361 40C29.7514 40 31.1418 39.4695 32.2096 38.4086C33.2703 37.3477 33.8007 35.9498 33.8007 34.5591L33.7935 26.5806L29.9664 22.7455ZM29.1064 27.3262L20.757 35.6846C20.4632 35.9713 20.0618 36.1505 19.6175 36.1505C19.1731 36.1505 18.7789 35.9713 18.4851 35.6846C18.1913 35.3907 18.0121 34.9892 18.0121 34.5448H14.1778C14.1778 36.0502 14.787 37.405 15.776 38.3943C16.7579 39.3763 18.1196 39.9857 19.6175 39.9857C21.1225 39.9857 22.477 39.3763 23.4661 38.3943L29.1064 32.7455V27.3262ZM25.2578 29.957H13.4468C13.0383 29.957 12.6226 29.7993 12.3144 29.491C11.9991 29.1756 11.8414 28.767 11.8414 28.3513C11.8414 27.9427 11.9991 27.534 12.3144 27.2186L9.60538 24.509C8.53751 25.5699 8.00717 26.9606 8.00717 28.3513C8.00717 29.7419 8.53751 31.1398 9.60538 32.2007C10.6661 33.2616 12.0564 33.7921 13.4468 33.7921H21.4307L25.2578 29.957ZM20.6567 29.0466L12.3073 20.6953C12.0134 20.4014 11.8343 20 11.8343 19.5556C11.8343 19.1111 12.0134 18.7097 12.3073 18.4229C12.594 18.129 12.9953 17.9498 13.4396 17.9498V14.1219C11.9418 14.1219 10.5801 14.7312 9.59821 15.7133C8.60918 16.6953 8 18.0573 8 19.5556C8 21.0609 8.60918 22.4158 9.59821 23.405L15.2385 29.0466H20.6567ZM18.0479 25.2473V13.4337C18.0479 13.0251 18.2056 12.6165 18.5209 12.3011C18.8291 11.9857 19.2448 11.8351 19.6533 11.828C20.0618 11.828 20.4703 11.9857 20.7857 12.3011L23.5019 9.5914C22.434 8.53047 21.0437 8 19.6533 8C18.2629 8 16.8726 8.53047 15.8047 9.5914C14.744 10.6523 14.2137 12.043 14.2137 13.4409V21.4194L18.0479 25.2473ZM18.908 20.6667L27.2573 12.3154C27.5512 12.0215 27.9525 11.8495 28.3969 11.8495C28.8412 11.8495 29.2354 12.0287 29.5292 12.3154C29.8231 12.6093 30.0022 13.0036 30.0022 13.4552H33.8365C33.8365 11.9498 33.2202 10.5878 32.2383 9.60573C31.2564 8.62366 29.8947 8.01434 28.3969 8.01434C26.8918 8.01434 25.5301 8.62366 24.5483 9.60573L18.908 15.2473V20.6667ZM24.9639 26.3082L26.3113 24.9534V23.0394L24.9639 21.6918H23.0504L21.6959 23.0394V24.9534L23.0504 26.3082H24.9639ZM21.8965 29.0968L18.908 26.1147V21.8853L21.8965 18.8961H26.1178L29.1064 21.8853V26.1147L26.1178 29.0968H21.8965Z\" fill=\"white\"/>\r\n </svg>\r\n </a>\r\n <div class=\"aeb-footer-top__row\">\r\n <div class=\"aeb-footer-top__head\">\r\n \u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0434\u043B\u044F iOS \u0438 Android\r\n </div>\r\n <div class=\"aeb-footer-top__cell\">\r\n \u0410\u042D\u0411 \u041E\u043D\u043B\u0430\u0439\u043D 3.0\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
3176
- encapsulation: ViewEncapsulation.None,
3177
- styles: [".aeb-footer-top{display:flex;padding:24px 0;box-sizing:border-box;position:relative;border-bottom:1px solid hsla(0,0%,100%,.1)}@media screen and (max-width:1000px){.aeb-footer-top{flex-direction:column;align-items:center;padding:16px 0 24px 16px}}.aeb-footer-top__column:not(:last-child){margin-right:64px}@media screen and (max-width:1000px){.aeb-footer-top__column{width:100%;margin-right:0!important}.aeb-footer-top__column:not(:last-child){margin-bottom:24px}}.aeb-footer-top__wrapper{width:100%;display:flex}@media screen and (max-width:1000px){.aeb-footer-top__wrapper{flex-direction:column;align-items:center;width:unset}}.aeb-footer-top__row{display:flex;flex-direction:column}.aeb-footer-top__head{color:var(--gray-primary);margin-bottom:4px;font-size:14px}.aeb-footer-top__cell{color:var(--white);font-size:18px}.aeb-footer-top__app{position:absolute;right:0;top:24px;display:flex;cursor:pointer}@media screen and (max-width:1000px){.aeb-footer-top__app{position:static}}.aeb-footer-top__mobile-icon{margin-right:24px}"]
3178
- },] }
3179
- ];
3180
- FooterTopComponent.ctorParameters = () => [];
3181
- FooterTopComponent.propDecorators = {
3182
- onlyPhone: [{ type: Input, args: ['onlyPhone',] }],
3183
- content: [{ type: ViewChild, args: ['content', { read: ElementRef, static: true },] }]
3184
- };
3185
-
3186
- class FooterMenuComponent {
3187
- constructor() {
3188
- this.items = [
3189
- {
3190
- name: 'Кредиты',
3191
- link: '#'
3192
- },
3193
- {
3194
- name: 'Ипотека',
3195
- link: '#'
3196
- },
3197
- {
3198
- name: 'Вклады',
3199
- link: '#'
3200
- },
3201
- {
3202
- name: 'Карты',
3203
- link: '#'
3204
- },
3205
- {
3206
- name: 'Страхование',
3207
- link: '#'
3208
- },
3209
- {
3210
- name: 'Инвестиции',
3211
- link: '#'
3212
- },
3213
- {
3214
- name: 'Премиум',
3215
- link: '#'
3216
- },
3217
- {
3218
- name: 'Еще',
3219
- link: '#'
3220
- }
3221
- ];
3222
- this.hasContent = false;
3223
- }
3224
- ngOnInit() {
3225
- this.hasContent = !!this.content.nativeElement.innerHTML;
3226
- }
3227
- }
3228
- FooterMenuComponent.decorators = [
3229
- { type: Component, args: [{
3230
- selector: 'aeb-footer-menu',
3231
- template: "<div #content>\r\n <ng-content></ng-content>\r\n</div>\r\n<div *ngIf=\"!hasContent\" class=\"aeb-footer-menu\">\r\n <div class=\"aeb-footer-menu__wrapper\">\r\n <a\r\n class=\"aeb-footer-menu__item\"\r\n *ngFor=\"let item of items\"\r\n [href]=\"item.link\"\r\n >\r\n {{item.name}}\r\n </a>\r\n </div>\r\n</div>\r\n",
3232
- encapsulation: ViewEncapsulation.None,
3233
- styles: [".aeb-footer-menu{width:100%;position:relative;border-bottom:1px solid hsla(0,0%,100%,.1);padding:24px 0;box-sizing:border-box;display:flex}@media screen and (max-width:1000px){.aeb-footer-menu{flex-direction:column;align-items:center;padding-left:32px}}.aeb-footer-menu__wrapper{box-sizing:border-box}@media screen and (max-width:1000px){.aeb-footer-menu__wrapper{display:flex;flex-direction:column;align-items:flex-start;width:271px}}.aeb-footer-menu__item{font-size:18px;color:var(--white);text-decoration:none}.aeb-footer-menu__item:not(:last-child){margin-right:35px}@media screen and (max-width:1000px){.aeb-footer-menu__item{margin-right:0!important}.aeb-footer-menu__item:not(:last-child){margin-bottom:24px}}"]
3234
- },] }
3235
- ];
3236
- FooterMenuComponent.ctorParameters = () => [];
3237
- FooterMenuComponent.propDecorators = {
3238
- items: [{ type: Input, args: ['items',] }],
3239
- content: [{ type: ViewChild, args: ['content', { read: ElementRef, static: true },] }]
3240
- };
3241
-
3242
- class FooterBottomComponent {
3243
- constructor() {
3244
- this.links = [
3245
- {
3246
- name: 'Информация о максимальных процентных ставках по вкладам физических лиц',
3247
- link: '#'
3248
- },
3249
- {
3250
- name: 'Раскрытие информации профессиональным участником рынка ценных бумаг',
3251
- link: '#'
3252
- },
3253
- {
3254
- name: 'Раскрытие информации на сайте информационного агенства АО «СКРИН»',
3255
- link: '#'
3256
- },
3257
- {
3258
- name: 'Информация о лицах, под контролем либо значительным влиянием которых находится банк',
3259
- link: '#'
3260
- }
3261
- ];
3262
- this.hasContent = false;
3263
- }
3264
- ngOnInit() {
3265
- this.hasContent = !!this.content.nativeElement.innerHTML;
3266
- }
3267
- }
3268
- FooterBottomComponent.decorators = [
3269
- { type: Component, args: [{
3270
- selector: 'aeb-footer-bottom',
3271
- template: "<div #content>\r\n <ng-content></ng-content>\r\n</div>\r\n<div *ngIf=\"!hasContent\" class=\"aeb-footer-bottom\">\r\n <div class=\"aeb-footer-bottom__rights\">\r\n \u00A9 2020 \u0410\u041A\u0411 \u00AB\u0410\u043B\u043C\u0430\u0437\u044D\u0440\u0433\u0438\u044D\u043D\u0431\u0430\u043D\u043A\u00BB \u0410\u041E. \u0413\u0435\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u0430\u044F \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044F \u0426\u0411 \u0420\u0424 \u21162602 \u043E\u0442 08.06.2015\r\n </div>\r\n <div class=\"aeb-footer-bottom__soc-networks\">\r\n <a href=\"#\" class=\"aeb-footer-bottom__soc-icon\">\r\n <svg width=\"34\" height=\"34\" viewBox=\"0 0 34 34\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <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\"/>\r\n <circle cx=\"17\" cy=\"17\" r=\"16\" fill-rule=\"evenodd\" stroke=\"white\" stroke-width=\"2\"/>\r\n </svg>\r\n </a>\r\n <a href=\"#\" class=\"aeb-footer-bottom__soc-icon\">\r\n <svg width=\"34\" height=\"34\" viewBox=\"0 0 34 34\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <circle cx=\"17\" cy=\"17\" r=\"16\" fill-rule=\"evenodd\" stroke=\"white\" stroke-width=\"2\"/>\r\n <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\"/>\r\n <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\"/>\r\n <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\"/>\r\n </svg>\r\n </a>\r\n </div>\r\n <a\r\n class=\"aeb-footer-bottom__link\"\r\n *ngFor=\"let link of links\"\r\n [href]=\"link.link\"\r\n >\r\n {{link.name}}\r\n </a>\r\n</div>",
3272
- encapsulation: ViewEncapsulation.None,
3273
- styles: [".aeb-footer-bottom{width:100%;padding:24px 0;box-sizing:border-box;border-bottom:1px solid hsla(0,0%,100%,.1);position:relative}@media screen and (max-width:1000px){.aeb-footer-bottom{padding-left:16px}}.aeb-footer-bottom__rights{color:hsla(0,0%,100%,.2);font-size:16px}.aeb-footer-bottom__link{display:block;text-decoration:none;color:var(--white);font-size:12px;margin-top:12px}.aeb-footer-bottom__soc-networks{position:absolute;top:16px;right:0}@media screen and (max-width:1000px){.aeb-footer-bottom__soc-networks{position:static;margin-top:16px}}.aeb-footer-bottom__soc-icon:not(:last-child){margin-right:24px}"]
3274
- },] }
3275
- ];
3276
- FooterBottomComponent.ctorParameters = () => [];
3277
- FooterBottomComponent.propDecorators = {
3278
- links: [{ type: Input, args: ['links',] }],
3279
- content: [{ type: ViewChild, args: ['content', { read: ElementRef, static: true },] }]
3280
- };
3281
-
3282
- class FooterModule {
3283
- }
3284
- FooterModule.decorators = [
3285
- { type: NgModule, args: [{
3286
- declarations: [FooterComponent, FooterTopComponent, FooterMenuComponent, FooterBottomComponent],
3287
- imports: [
3288
- CommonModule
3289
- ],
3290
- exports: [
3291
- FooterComponent,
3292
- FooterTopComponent,
3293
- FooterMenuComponent,
3294
- FooterBottomComponent
3295
- ]
3296
- },] }
3297
- ];
3298
-
3299
- const breakPoints = {
3300
- 1150: 5,
3301
- 700: 3,
3302
- 600: 2,
3303
- };
3304
- const defaultAbountOptions = [
3305
- {
3306
- value: 10,
3307
- label: 'По 10 на стр.',
3308
- },
3309
- {
3310
- value: 20,
3311
- label: 'По 20 на стр.',
3312
- },
3313
- {
3314
- value: 30,
3315
- label: 'По 30 на стр.',
3316
- },
3317
- ];
3318
- class PaginationComponent {
3319
- constructor(cdr) {
3320
- this.cdr = cdr;
3321
- this.pageSelect = new EventEmitter();
3322
- this.amountChange = new EventEmitter();
3323
- this.total = 1500;
3324
- this.currentPage = 1;
3325
- this.amountOptions = defaultAbountOptions;
3326
- this.adaptiveBase = 13;
3327
- }
3328
- renderPages(firstPage) {
3329
- this.middle = [...new Array(this.adaptiveBase)]
3330
- .map((_, i) => {
3331
- const page = firstPage + i;
3332
- return page <= this.total ? page : null;
3333
- })
3334
- .filter((item) => !!item);
3335
- if (this.total === 1) {
3336
- this.head = [];
3337
- }
3338
- else {
3339
- this.head = [1, 2].filter((page) => !this.middle.includes(page));
3340
- }
3341
- this.tail = [...new Array(2)]
3342
- .map((_, i) => this.total - i)
3343
- .filter((item) => !this.middle.includes(item) && item > this.currentPage)
3344
- .reverse();
3345
- }
3346
- middlePageHandler(page) {
3347
- this.currentPage = page;
3348
- this.pageSelect.emit(this.currentPage);
3349
- }
3350
- nextPageHandler() {
3351
- if (this.currentPage === this.total)
3352
- return;
3353
- const nextPage = this.currentPage + 1;
3354
- this.currentPage = nextPage;
3355
- if (!this.middle.includes(nextPage)) {
3356
- this.renderPages(nextPage);
3357
- }
3358
- this.pageSelect.emit(this.currentPage);
3359
- }
3360
- prevPageHandler() {
3361
- if (this.currentPage === 1)
3362
- return;
3363
- const prevPage = this.currentPage - 1;
3364
- this.currentPage = prevPage;
3365
- if (!this.middle.includes(prevPage)) {
3366
- this.renderPages(prevPage - (this.adaptiveBase - 1));
3367
- }
3368
- this.pageSelect.emit(this.currentPage);
3369
- }
3370
- tailPageHandler(page) {
3371
- this.currentPage = page;
3372
- this.renderPages([...new Array(this.adaptiveBase)]
3373
- .map((_, i) => this.total - i)
3374
- .reverse()
3375
- .filter((item) => !this.middle.includes(item))[0]);
3376
- this.pageSelect.emit(this.currentPage);
3377
- }
3378
- headPageHandler(page) {
3379
- this.currentPage = page;
3380
- this.renderPages(1);
3381
- this.pageSelect.emit(this.currentPage);
3382
- }
3383
- amountChangeHandler(amount) {
3384
- this.amountChange.emit(amount);
3385
- }
3386
- ngOnInit() {
3387
- this.currentPage = parseInt(this.currentPage.toString(), 10);
3388
- this.adaptiveBase = this.adaptive ? this.adaptive : this.adaptiveBase;
3389
- if (window.innerWidth <= 600) {
3390
- this.adaptiveBase = 2;
3391
- }
3392
- else if (window.innerWidth <= 700) {
3393
- this.adaptiveBase = 3;
3394
- }
3395
- else if (window.innerWidth <= 1150) {
3396
- this.adaptiveBase = 5;
3397
- }
3398
- window.addEventListener('resize', () => {
3399
- const adaptiveStep = +(window.innerWidth / 50).toFixed() * 50;
3400
- if (breakPoints[adaptiveStep]) {
3401
- this.adaptiveBase = breakPoints[adaptiveStep];
3402
- this.renderPages(this.middle[0]);
3403
- }
3404
- else if (window.innerWidth > 1150) {
3405
- this.adaptiveBase = this.adaptive || 13;
3406
- this.renderPages(this.middle[0]);
3407
- }
3408
- });
3409
- this.renderPages(this.currentPage);
3410
- }
3411
- ngAfterViewInit() {
3412
- this.amountSelect.writeValue(this.amount);
3413
- this.cdr.detectChanges();
3414
- }
3415
- ngOnChanges(changes) {
3416
- if (this.currentPage &&
3417
- changes.currentPage &&
3418
- !changes.currentPage.firstChange) {
3419
- if (changes.currentPage.currentValue !== changes.currentPage.previousValue) {
3420
- this.renderPages(changes.currentPage.currentValue);
3421
- }
3422
- }
3423
- if (changes.total && this.middle) {
3424
- this.currentPage = 1;
3425
- this.renderPages(1);
3426
- this.pageSelect.emit(1);
3427
- }
3428
- }
3429
- }
3430
- PaginationComponent.decorators = [
3431
- { type: Component, args: [{
3432
- selector: 'aeb-pagination',
3433
- template: "<div class=\"aeb-pagination\">\r\n <div\r\n class=\"aeb-pagination__button\"\r\n (click)=\"prevPageHandler()\"\r\n [ngClass]=\"{\r\n 'aeb-pagination__button--disable': currentPage === 1\r\n }\"\r\n >\r\n <div class=\"aeb-pagination__arrow-icon aeb-pagination__arrow-icon--left\">\r\n <svg\r\n width=\"6\"\r\n height=\"10\"\r\n viewBox=\"0 0 6 10\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\r\n stroke=\"#2F88F0\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n <span class=\"aeb-pagination__button-label\">\r\n \u041D\u0430\u0437\u0430\u0434\r\n </span>\r\n </div>\r\n <div class=\"aeb-pagination__block\">\r\n <div\r\n class=\"aeb-pagination__page\"\r\n *ngFor=\"let page of head\"\r\n (click)=\"headPageHandler(page)\"\r\n >\r\n {{ page }}\r\n </div>\r\n\r\n <div class=\"aeb-pagination__breaker\" *ngIf=\"head.length\">\r\n ...\r\n </div>\r\n\r\n <div\r\n class=\"aeb-pagination__page\"\r\n *ngFor=\"let page of middle\"\r\n [ngClass]=\"{\r\n 'aeb-pagination__page--active': currentPage === page\r\n }\"\r\n (click)=\"middlePageHandler(page)\"\r\n >\r\n {{ page }}\r\n </div>\r\n\r\n <div class=\"aeb-pagination__breaker\" *ngIf=\"tail.length\">\r\n ...\r\n </div>\r\n\r\n <div\r\n class=\"aeb-pagination__page\"\r\n *ngFor=\"let page of tail\"\r\n (click)=\"tailPageHandler(page)\"\r\n >\r\n {{ page }}\r\n </div>\r\n </div>\r\n <div class=\"aeb-pagination__block\">\r\n <div class=\"aeb-pagination__amount\">\r\n <aeb-select\r\n (change)=\"amountChangeHandler($event)\"\r\n #amountSelect\r\n [direction]=\"'top'\"\r\n >\r\n <aeb-option *ngFor=\"let option of amountOptions\" [value]=\"option.value\">\r\n {{ option.label }}\r\n </aeb-option>\r\n </aeb-select>\r\n </div>\r\n\r\n <div class=\"aeb-pagination__block\">\r\n <div\r\n class=\"aeb-pagination__button aeb-pagination__button--right\"\r\n (click)=\"nextPageHandler()\"\r\n [ngClass]=\"{\r\n 'aeb-pagination__button--disable': currentPage === total\r\n }\"\r\n >\r\n <span class=\"aeb-pagination__button-label\">\r\n \u0414\u0430\u043B\u0435\u0435\r\n </span>\r\n <div\r\n class=\"aeb-pagination__arrow-icon aeb-pagination__arrow-icon--right\"\r\n >\r\n <svg\r\n width=\"6\"\r\n height=\"10\"\r\n viewBox=\"0 0 6 10\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M1 9L4.92929 5.07071C4.96834 5.03166 4.96834 4.96834 4.92929 4.92929L1 1\"\r\n stroke=\"#2F88F0\"\r\n stroke-width=\"2\"\r\n stroke-linecap=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
3434
- encapsulation: ViewEncapsulation.None,
3435
- styles: [".aeb-pagination{display:inline-flex;width:100%;align-items:center;justify-content:space-between;position:relative;color:var(--darkblue)}.aeb-pagination__button{width:133px;display:flex;align-items:center;background-color:var(--white);padding:8px 24px;border-radius:10px;color:var(--blue);box-sizing:border-box;border:2px solid var(--blue);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aeb-pagination__button--right{margin-left:27px;padding-left:24px}.aeb-pagination__button--disable{border:2px solid var(--gray-primary);color:var(--gray-primary);cursor:unset}.aeb-pagination__button--disable .aeb-pagination__arrow-icon svg path{stroke:var(--gray-primary)}@media screen and (max-width:1150px){.aeb-pagination__button{width:100px;padding:6px 12px;font-size:14px}.aeb-pagination__button--right{margin-left:13px}}@media screen and (max-width:600px){.aeb-pagination__button{width:unset;padding:2px 8px;justify-content:center}.aeb-pagination__button--right{margin-left:10px}}.aeb-pagination__arrow-icon{margin-right:18px;position:relative;bottom:1px}.aeb-pagination__arrow-icon--left{transform:scaleX(-1)}.aeb-pagination__arrow-icon--right{margin-left:18px;margin-right:0}@media screen and (max-width:1150px){.aeb-pagination__arrow-icon{bottom:0}}@media screen and (max-width:600px){.aeb-pagination__arrow-icon,.aeb-pagination__arrow-icon--right{margin:0;top:1px}}.aeb-pagination__page{color:var(--blue);margin-left:27px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aeb-pagination__page--active{color:var(--darkblue)}@media screen and (max-width:1150px){.aeb-pagination__page{font-size:14px;margin-left:13px}}@media screen and (max-width:600px){.aeb-pagination__page{font-size:12px;margin-left:10px}}.aeb-pagination__breaker{color:var(--blue);margin-left:27px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (max-width:1150px){.aeb-pagination__breaker{margin-left:13px}}@media screen and (max-width:600px){.aeb-pagination__breaker{margin-left:10px}}@media screen and (max-width:600px){.aeb-pagination__button-label{display:none}}.aeb-pagination__block{display:inline-flex;align-items:center}.aeb-pagination__amount{width:168px;height:44px;margin-left:27px;position:relative;top:3px}.aeb-pagination__amount .aeb-dropdown-selected-item{height:39px!important}.aeb-pagination__amount .aeb-dropdown-selected-item.open{background:var(--white)!important}.aeb-pagination__amount .aeb-dropdown-icon{top:10px!important}.aeb-pagination__amount .aeb-dropdown-item{padding:8px 16px!important}.aeb-pagination__amount .aeb-dropdown-selected-item{background:transparent!important;color:var(--darkblue)}@media screen and (max-width:1150px){.aeb-pagination__amount{position:absolute;top:calc(100% + 18px);left:0;margin:0}}"]
3436
- },] }
3437
- ];
3438
- PaginationComponent.ctorParameters = () => [
3439
- { type: ChangeDetectorRef }
3440
- ];
3441
- PaginationComponent.propDecorators = {
3442
- pageSelect: [{ type: Output, args: ['pageSelect',] }],
3443
- amountChange: [{ type: Output, args: ['amountChange',] }],
3444
- total: [{ type: Input, args: ['totalPages',] }],
3445
- currentPage: [{ type: Input, args: ['page',] }],
3446
- amount: [{ type: Input, args: ['amount',] }],
3447
- amountOptions: [{ type: Input, args: ['amountOptions',] }],
3448
- amountSelect: [{ type: ViewChild, args: ['amountSelect',] }],
3449
- adaptive: [{ type: Input, args: ['adaptive',] }]
3450
- };
3451
-
3452
- class PaginationModule {
3453
- }
3454
- PaginationModule.decorators = [
3455
- { type: NgModule, args: [{
3456
- declarations: [PaginationComponent],
3457
- imports: [
3458
- CommonModule,
3459
- SelectModule,
3460
- ],
3461
- exports: [
3462
- PaginationComponent
3463
- ]
3464
- },] }
3465
- ];
3466
-
3467
- class PopUpComponent {
3468
- constructor() { }
3469
- ngOnInit() {
3470
- }
3471
- hidePopUp() {
3472
- this.popUp.nativeElement.style.opacity = '0';
3473
- this.popUp.nativeElement.style.pointerEvents = 'none';
3474
- }
3475
- }
3476
- PopUpComponent.decorators = [
3477
- { type: Component, args: [{
3478
- selector: 'aeb-pop-up',
3479
- template: "<div\r\n class=\"aeb-pop-up\"\r\n #popUp\r\n>\r\n <div class=\"aeb-pop-up__header\">\r\n <div class=\"aeb-pop-up__heading\">\r\n {{header}}\r\n </div>\r\n <div\r\n class=\"aeb-pop-up__close-icon\"\r\n (click)=\"hidePopUp()\"\r\n >\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M5.63086 5.63074L18.3693 18.3692\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n <path d=\"M18.3691 5.63074L5.63065 18.3692\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n </svg>\r\n </div>\r\n </div>\r\n <div class=\"aeb-pop-up__container\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>",
3480
- encapsulation: ViewEncapsulation.None,
3481
- styles: [".aeb-pop-up{position:fixed;opacity:0;transition:opacity,.2s;min-width:360px;background-color:var(--white);box-shadow:0 3px 15px rgba(0,0,0,.25);border-radius:10px;padding:20px 16px;box-sizing:border-box;pointer-events:none;cursor:default;z-index:2000}.aeb-pop-up__header{width:100%;border-bottom:1px solid var(--lightgray);display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding-bottom:15px}.aeb-pop-up__heading{font-size:14px;font-weight:500}.aeb-pop-up__close-icon{cursor:pointer;position:relative;top:1px}"]
3482
- },] }
3483
- ];
3484
- PopUpComponent.ctorParameters = () => [];
3485
- PopUpComponent.propDecorators = {
3486
- popUp: [{ type: ViewChild, args: ['popUp',] }],
3487
- header: [{ type: Input, args: ['header',] }],
3488
- html: [{ type: Input, args: ['html',] }]
3489
- };
3490
-
3491
- class PopUpDirective {
3492
- constructor(el) {
3493
- this.el = el;
3494
- this.position = 'bottom';
3495
- this.popUpConfig = {
3496
- right: (boundaries, popUp) => {
3497
- const targetHalf = boundaries.top + (boundaries.height / 2);
3498
- const tooltipHalf = popUp.offsetHeight / 2;
3499
- return [boundaries.right + 15, targetHalf - tooltipHalf];
3500
- },
3501
- bottom: (boundaries, popUp) => {
3502
- const targetHalf = boundaries.right - (boundaries.width / 2);
3503
- const tooltipHalf = popUp.offsetWidth / 2;
3504
- return [targetHalf - tooltipHalf, boundaries.bottom + 15];
3505
- },
3506
- left: (boundaries, popUp) => {
3507
- const targetHalf = boundaries.top + (boundaries.height / 2);
3508
- const tooltipHalf = popUp.offsetHeight / 2;
3509
- return [(boundaries.left - popUp.offsetWidth) - 15, targetHalf - tooltipHalf];
3510
- },
3511
- top: (boundaries, popUp) => {
3512
- const targetHalf = boundaries.right - (boundaries.width / 2);
3513
- const tooltipHalf = popUp.offsetWidth / 2;
3514
- return [targetHalf - tooltipHalf, (boundaries.top - popUp.offsetHeight) - 15];
3515
- }
3516
- };
3517
- }
3518
- onClick(event) {
3519
- if (event.target !== this.el.nativeElement)
3520
- return;
3521
- const popUp = this.popUpContent.popUp.nativeElement;
3522
- popUp.style.opacity = '1';
3523
- popUp.style.pointerEvents = 'all';
3524
- const boundaries = this.el.nativeElement.getBoundingClientRect();
3525
- const [left, top] = this.popUpConfig[this.position](boundaries, popUp);
3526
- popUp.style.left = `${left}px`;
3527
- popUp.style.top = `${top}px`;
3528
- popUp.className = `aeb-pop-up aeb-pop-up--${this.position}`;
3529
- }
3530
- }
3531
- PopUpDirective.decorators = [
3532
- { type: Directive, args: [{
3533
- selector: '[aebPopUp]'
3534
- },] }
3535
- ];
3536
- PopUpDirective.ctorParameters = () => [
3537
- { type: ElementRef }
3538
- ];
3539
- PopUpDirective.propDecorators = {
3540
- header: [{ type: Input, args: ['header',] }],
3541
- position: [{ type: Input, args: ['position',] }],
3542
- popUpContent: [{ type: ContentChild, args: [PopUpComponent,] }],
3543
- onClick: [{ type: HostListener, args: ['click', ['$event'],] }]
3544
- };
3545
-
3546
- class PopUpModule {
3547
- }
3548
- PopUpModule.decorators = [
3549
- { type: NgModule, args: [{
3550
- declarations: [PopUpComponent, PopUpDirective],
3551
- imports: [
3552
- CommonModule
3553
- ],
3554
- exports: [PopUpComponent, PopUpDirective]
3555
- },] }
3556
- ];
3557
-
3558
- class FilterTagsComponent {
3559
- constructor() {
3560
- this.filterValue = ['misc'];
3561
- this.change = new EventEmitter();
3562
- }
3563
- tagHandler(tag) {
3564
- if (this.filterValue.includes(tag)) {
3565
- this.filterValue = this.filterValue.filter(item => item !== tag);
3566
- }
3567
- else {
3568
- this.filterValue = [...this.filterValue, tag];
3569
- }
3570
- this.change.emit(this.filterValue);
3571
- }
3572
- ngOnInit() {
3573
- }
3574
- }
3575
- FilterTagsComponent.decorators = [
3576
- { type: Component, args: [{
3577
- selector: 'aeb-filter-tags',
3578
- template: "<div class=\"aeb-filter-tags\">\r\n <aeb-filter-tag\r\n *ngFor=\"let tag of tags\"\r\n [value]=\"tag.value\"\r\n [active]=\"filterValue.includes(tag.value)\"\r\n (tagHandler)=\"tagHandler($event)\"\r\n >\r\n {{tag.label}}\r\n </aeb-filter-tag>\r\n</div>",
3579
- encapsulation: ViewEncapsulation.None,
3580
- styles: [".aeb-filter-tags{display:flex;flex-wrap:wrap;gap:20px}"]
3581
- },] }
3582
- ];
3583
- FilterTagsComponent.ctorParameters = () => [];
3584
- FilterTagsComponent.propDecorators = {
3585
- tags: [{ type: Input, args: ['tags',] }],
3586
- filterValue: [{ type: Input, args: ['filterValue',] }],
3587
- change: [{ type: Output, args: ['change',] }]
3588
- };
3589
-
3590
- class FilterTagComponent {
3591
- constructor() {
3592
- this.active = false;
3593
- this.tagHandler = new EventEmitter();
3594
- }
3595
- clickHandler(tag) {
3596
- this.tagHandler.emit(tag);
3597
- }
3598
- ngOnInit() {
3599
- }
3600
- }
3601
- FilterTagComponent.decorators = [
3602
- { type: Component, args: [{
3603
- selector: 'aeb-filter-tag',
3604
- template: "<div\r\n class=\"aeb-filter-tag\"\r\n [ngClass]=\"{\r\n 'aeb-filter-tag--active': active\r\n }\"\r\n (click)=\"clickHandler(value)\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n",
3605
- encapsulation: ViewEncapsulation.None,
3606
- styles: [".aeb-filter-tag{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:8px;box-sizing:border-box;border:2px solid var(--gray-8c);color:var(--gray-8c);font-size:18px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aeb-filter-tag--active{background-color:var(--darkblue);border:2px solid var(--darkblue);color:var(--white)}"]
3607
- },] }
3608
- ];
3609
- FilterTagComponent.ctorParameters = () => [];
3610
- FilterTagComponent.propDecorators = {
3611
- value: [{ type: Input, args: ['value',] }],
3612
- active: [{ type: Input, args: ['active',] }],
3613
- tagHandler: [{ type: Output, args: ['tagHandler',] }]
3614
- };
3615
-
3616
- class FilterTagsModule {
3617
- }
3618
- FilterTagsModule.decorators = [
3619
- { type: NgModule, args: [{
3620
- declarations: [FilterTagsComponent, FilterTagComponent],
3621
- imports: [
3622
- CommonModule
3623
- ],
3624
- exports: [FilterTagComponent, FilterTagsComponent]
3625
- },] }
3626
- ];
3627
-
3628
- class SearchComponent {
3629
- constructor() {
3630
- this.change = new EventEmitter();
3631
- this.withoutBg = true;
3632
- this.placeholder = '';
3633
- this.value = '';
3634
- this.onShowOptions = false;
3635
- }
3636
- inputHandler(term) {
3637
- this.onShowOptions = true;
3638
- const target = term.target;
3639
- this.value = target.value;
3640
- this.change.emit(this.value);
3641
- }
3642
- selectHandler(term) {
3643
- this.value = term;
3644
- this.options = [];
3645
- this.change.emit(this.value);
3646
- }
3647
- blurHandler() {
3648
- this.onShowOptions = false;
3649
- }
3650
- focusHandler() {
3651
- if (this.value)
3652
- this.onShowOptions = true;
3653
- }
3654
- clearInput() {
3655
- this.value = '';
3656
- this.change.emit(this.value);
3657
- }
3658
- inputExample(term) {
3659
- this.value = term;
3660
- this.change.emit(this.value);
3661
- }
3662
- ngOnInit() {
3663
- }
3664
- }
3665
- SearchComponent.decorators = [
3666
- { type: Component, args: [{
3667
- selector: 'aeb-search',
3668
- template: "<div\r\n class=\"aeb-search\"\r\n [ngClass]=\"{\r\n 'aeb-search--plate': !withoutBg\r\n }\"\r\n>\r\n <div class=\"aeb-search__input-wrapper\">\r\n <div class=\"aeb-search__search-icon\">\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <circle cx=\"10.5\" cy=\"10.5\" r=\"6.5\" stroke=\"#2F88F0\" stroke-width=\"2\"/>\r\n <path d=\"M15 15.5L19.5 20\" stroke=\"#2F88F0\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n </svg>\r\n </div>\r\n <input\r\n class=\"aeb-search__input\"\r\n clickOutside\r\n [placeholder]=\"placeholder\"\r\n (input)=\"inputHandler($event)\"\r\n (clickOutside)=\"blurHandler()\"\r\n [value]=\"value\"\r\n (focus)=\"focusHandler()\"\r\n [ngClass]=\"{\r\n 'aeb-search__input--expanded': onShowOptions && options.length\r\n }\"\r\n #input\r\n />\r\n <div\r\n class=\"aeb-search__options\"\r\n *ngIf=\"onShowOptions && options.length\"\r\n >\r\n <div\r\n class=\"aeb-search__option-wrapper\"\r\n *ngFor=\"let option of options\"\r\n (click)=\"selectHandler(option.value)\"\r\n >\r\n <div\r\n class=\"aeb-search__option\"\r\n >\r\n <div class=\"aeb-search__option-img\">\r\n <img *ngIf=\"option.image; else elseTemplate\" [src]=\"option.image\" />\r\n <ng-template #elseTemplate>\r\n {{option.value[0].toUpperCase()}}\r\n </ng-template>\r\n </div>\r\n <div class=\"aeb-search__option-content\">\r\n <div\r\n class=\"aeb-search__option-value\"\r\n [innerHTML]=\"option.value | highlight:value\"\r\n ></div>\r\n <div class=\"aeb-search__option-desc\">\r\n {{option.description}}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container\r\n *ngIf=\"!withoutBg\"\r\n >\r\n <div\r\n class=\"aeb-search__examples\"\r\n *ngIf=\"examples.length\"\r\n >\r\n \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440:\r\n <span\r\n class=\"aeb-search__example\"\r\n *ngFor=\"let example of examples; index as i\"\r\n (click)=\"inputExample(example)\"\r\n >\r\n {{example}}<span *ngIf=\"i !== examples.length - 1\">,&nbsp;</span>\r\n </span>\r\n </div>\r\n </ng-container>\r\n <div\r\n class=\"aeb-search__close-icon\"\r\n *ngIf=\"value\"\r\n (click)=\"clearInput()\"\r\n >\r\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M5.63074 5.63086L18.3692 18.3693\" stroke=\"#27303E\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n <path d=\"M18.3693 5.63086L5.63077 18.3693\" stroke=\"#27303E\" stroke-width=\"2\" stroke-linecap=\"round\"/>\r\n </svg>\r\n </div>\r\n </div>\r\n</div>\r\n",
3669
- encapsulation: ViewEncapsulation.None,
3670
- styles: [".aeb-search{display:flex}.aeb-search--plate{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkAAAADMCAYAAAArrm8+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAFdESURBVHgB7d3pcttotub7F+A8aLZs2a6srrMr9o7z7UScq+wr6YvqiKrOyNxOW6YlUQNnEuh3LQAUKXEmSALE/xehtOyUZdmiKPJ9sNbj/H//s+kbAAAAAAAAAACAI+IaAAAAAAAAAACAI0MAAgAAAAAAAAAAjk7eJEi+6JrrLxX9sfHfHdNtDw0AAAAAAAD2w3Ec+x8TvjjhS/g/3eAVx3UmfkP4dsZMv+3UO514m014/mq/7tuf+6+vBv+Z/vWp3xO+7ntshweAY5WYAERCj8//qJl8IRhKufhYMt9/JwABAAAAAADYhgYWkj+4bvij8xpiyI+TryfRvI9rwce7zt9k/LZRUOJNByfjgMQL/7/++pv/BwBIpEQEIG/DD1GuJWo4BQAAAAAAIHHGExs5N1h0bkMOJ/p5GHZgRdG/5Zt/s0X/guP/J0HI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19ZACQJvpggQd6AAAAAIAMY8XS4cgqrMZfHe0BmVqFtUhnGEyGRGuynnrG77PBJw3cq8rrKqzn1Vdh/V+lJEsDGSzExwAAAABJRU5ErkJggg==\");height:205px;justify-content:center;align-items:center;background-position:50%;padding:0 10px}.aeb-search__input-wrapper{width:1200px;position:relative}.aeb-search__input{width:100%;height:64px;font-size:20px;padding:20px 68px;box-sizing:border-box;outline:none;border:none;border-radius:14px}.aeb-search__input::-moz-placeholder{color:var(--gray-primary)}.aeb-search__input:-ms-input-placeholder{color:var(--gray-primary)}.aeb-search__input::placeholder{color:var(--gray-primary)}@media screen and (max-width:420px){.aeb-search__input{padding:20px 38px;font-size:16px}}.aeb-search__input--expanded{border-radius:14px 14px 0 0}.aeb-search__search-icon{position:absolute;left:23px;top:20px}@media screen and (max-width:420px){.aeb-search__search-icon{left:8px}}.aeb-search__close-icon{position:absolute;right:25px;top:20px;cursor:pointer}@media screen and (max-width:420px){.aeb-search__close-icon{right:10px}}.aeb-search__examples{margin-top:12px;color:hsla(0,0%,100%,.7);font-size:14px}.aeb-search__example{cursor:pointer;color:var(--white)}.aeb-search__options{position:absolute;background-color:var(--white);top:64px;width:100%;box-shadow:0 6px 26px rgba(0,0,0,.1);border-radius:0 0 14px 14px;box-sizing:border-box}.aeb-search__option-wrapper{padding:0 20px;box-sizing:border-box;cursor:pointer}.aeb-search__option-wrapper:hover{background-color:var(--lightgray-secondary)}.aeb-search__option-wrapper:last-child{border-radius:0 0 14px 14px}.aeb-search__option{box-sizing:border-box;padding:24px 0;border-bottom:1px solid var(--lightgray-secondary);overflow:hidden;display:flex;align-items:center}.aeb-search__option-img{width:40px;height:40px;background-color:var(--lightblue);display:flex;justify-content:center;align-items:center;font-size:24px;color:var(--white);margin-right:16px;border-radius:50%}.aeb-search__option-img img{width:100%;height:100%;border-radius:50%}.aeb-search__option-value{color:var(--darkblue);font-size:16px;margin-bottom:4px}.aeb-search__option-desc{font-size:14px;color:var(--gray-primary)}"]
3671
- },] }
3672
- ];
3673
- SearchComponent.ctorParameters = () => [];
3674
- SearchComponent.propDecorators = {
3675
- input: [{ type: ViewChild, args: ['input',] }],
3676
- change: [{ type: Output, args: ['change',] }],
3677
- withoutBg: [{ type: Input, args: ['withoutBg',] }],
3678
- placeholder: [{ type: Input, args: ['placeholder',] }],
3679
- examples: [{ type: Input, args: ['examples',] }],
3680
- options: [{ type: Input, args: ['options',] }]
3681
- };
3682
-
3683
- class HighlightPipe {
3684
- transform(value, ...args) {
3685
- return `${value.replace(RegExp(args[0]), `<b>${args[0]}</b>`)}`;
3686
- }
3687
- }
3688
- HighlightPipe.decorators = [
3689
- { type: Pipe, args: [{
3690
- name: 'highlight'
3691
- },] }
3692
- ];
3693
-
3694
- class SearchModule {
3695
- }
3696
- SearchModule.decorators = [
3697
- { type: NgModule, args: [{
3698
- declarations: [SearchComponent, HighlightPipe],
3699
- imports: [
3700
- CommonModule,
3701
- ClickOutsideModule
3702
- ],
3703
- exports: [SearchComponent]
3704
- },] }
3705
- ];
3706
-
3707
- class ActionBarComponent {
3708
- constructor() { }
3709
- ngOnInit() {
3710
- }
3711
- }
3712
- ActionBarComponent.decorators = [
3713
- { type: Component, args: [{
3714
- selector: 'aeb-action-bar',
3715
- template: "<div\r\n class=\"aeb-action-bar\"\r\n [style]=\"'z-index: ' + zIndex\"\r\n [ngClass]=\"{\r\n 'aeb-action-bar--open': isOpen\r\n }\"\r\n>\r\n <ng-content></ng-content>\r\n</div>",
3716
- encapsulation: ViewEncapsulation.None,
3717
- styles: [".aeb-action-bar{position:fixed;bottom:-90px;width:100vw;height:90px;background-color:var(--white);transition:position,.2s;z-index:1000}.aeb-action-bar--open{bottom:0}"]
3718
- },] }
3719
- ];
3720
- ActionBarComponent.ctorParameters = () => [];
3721
- ActionBarComponent.propDecorators = {
3722
- isOpen: [{ type: Input, args: ['isOpen',] }],
3723
- zIndex: [{ type: Input, args: ['zIndex',] }]
3724
- };
3725
-
3726
- class ActionBarModule {
3727
- }
3728
- ActionBarModule.decorators = [
3729
- { type: NgModule, args: [{
3730
- declarations: [ActionBarComponent],
3731
- imports: [
3732
- CommonModule
3733
- ],
3734
- exports: [ActionBarComponent]
3735
- },] }
3736
- ];
3737
-
3738
- class NewsCardComponent {
3739
- constructor() { }
3740
- }
3741
- NewsCardComponent.decorators = [
3742
- { type: Component, args: [{
3743
- selector: 'aeb-news-card',
3744
- template: "<div class=\"aeb-news-card\">\r\n <div class=\"aeb-news-card__date\">\r\n {{date}}\r\n </div>\r\n <div class=\"aeb-news-card__content\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>",
3745
- encapsulation: ViewEncapsulation.None,
3746
- styles: [".aeb-news-card{box-sizing:border-box;max-width:320px;color:var(--darkblue)}.aeb-news-card__date{padding:9px 10px;box-sizing:border-box;font-size:12px;border:1px solid var(--lightblue);border-radius:16px;display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-bottom:16px}.aeb-news-card__content{max-width:320px;text-decoration:none!important;font-size:16px}.aeb-news-card__content a{text-decoration:none;color:var(--blue)}"]
3747
- },] }
3748
- ];
3749
- NewsCardComponent.ctorParameters = () => [];
3750
- NewsCardComponent.propDecorators = {
3751
- date: [{ type: Input, args: ['date',] }]
3752
- };
3753
-
3754
- class NewsCardModule {
3755
- }
3756
- NewsCardModule.decorators = [
3757
- { type: NgModule, args: [{
3758
- declarations: [NewsCardComponent],
3759
- imports: [
3760
- CommonModule
3761
- ],
3762
- exports: [NewsCardComponent]
3763
- },] }
3764
- ];
3765
-
3766
- class NewDropdownComponent {
3767
- constructor() {
3768
- this.label = '';
3769
- this.options = [];
3770
- this.filter = true;
3771
- this.hasError = false;
3772
- this.select = new EventEmitter();
3773
- this.inputChange = new EventEmitter();
3774
- this.isOpen = false;
3775
- this._fieldValue = '';
3776
- this._value = '';
3777
- this.disabled = false;
3778
- this.touched = false;
3779
- this.viewOptions = [];
3780
- }
3781
- set value(value) {
3782
- if (!value) {
3783
- this.resetValue();
3784
- return;
3785
- }
3786
- this._value = value;
3787
- }
3788
- set fieldValue(vl) {
3789
- const match = (this.options || []).find(item => item.value === vl);
3790
- if (match) {
3791
- this.value = match.label;
3792
- this._fieldValue = match.value;
3793
- this.selected = match;
3794
- }
3795
- }
3796
- resetValue() {
3797
- this._value = '';
3798
- this.selected = null;
3799
- this.writeValue(null);
3800
- this.viewOptions = this.options;
3801
- }
3802
- get fieldValue() {
3803
- return this._fieldValue;
3804
- }
3805
- get value() {
3806
- return this._value;
3807
- }
3808
- openHandler() {
3809
- if (this.disabled)
3810
- return;
3811
- if (this.isOpen) {
3812
- this.input.nativeElement.classList.remove('aeb-new-dropdown__input--lock');
3813
- }
3814
- this.isOpen = !this.isOpen;
3815
- }
3816
- clickInput() {
3817
- if (this.disabled)
3818
- return;
3819
- if (!this.isOpen) {
3820
- this.isOpen = true;
3821
- this.input.nativeElement.classList.add('aeb-new-dropdown__input--lock');
3822
- }
3823
- }
3824
- clickOutsideHandler() {
3825
- if (this.isOpen) {
3826
- this.isOpen = false;
3827
- this.input.nativeElement.classList.remove('aeb-new-dropdown__input--lock');
3828
- }
3829
- }
3830
- inputHandler(term) {
3831
- if (this.disabled)
3832
- return;
3833
- const target = term.target;
3834
- this.value = target.value;
3835
- this.inputChange.emit(this.value);
3836
- if (!this.value) {
3837
- this.viewOptions = this.options;
3838
- return;
3839
- }
3840
- if (this.value !== this.fieldValue) {
3841
- this.selected = null;
3842
- this.writeValue(null);
3843
- }
3844
- const match = (this.options || []).find(item => item.label === this.value);
3845
- if (match) {
3846
- this.writeValue(match.value);
3847
- this.selected = match;
3848
- }
3849
- this.filterOptions();
3850
- }
3851
- filterOptions() {
3852
- if (!this.filter)
3853
- return;
3854
- this.viewOptions = (this.options || []).filter(item => {
3855
- return item.label.slice(0, this.value.length).toLocaleLowerCase() === this.value.toLocaleLowerCase();
3856
- });
3857
- }
3858
- selectHandler(item) {
3859
- this.value = item.label;
3860
- this.selected = item;
3861
- this.filterOptions();
3862
- this.fieldValue = item.value;
3863
- this.writeValue(item.value);
3864
- this.input.nativeElement.classList.remove('aeb-new-dropdown__input--lock');
3865
- this.isOpen = false;
3866
- }
3867
- ngOnInit() {
3868
- this.viewOptions = this.options;
3869
- }
3870
- onChange(value) { }
3871
- onTouch() { }
3872
- registerOnChange(fn) {
3873
- this.onChange = fn;
3874
- }
3875
- registerOnTouched(fn) {
3876
- this.onTouch = fn;
3877
- }
3878
- writeValue(value) {
3879
- if (this.disabled)
3880
- return;
3881
- this.fieldValue = value;
3882
- this.onChange(value);
3883
- this.onTouch();
3884
- if (!this.touched)
3885
- this.touched = true;
3886
- this.select.emit(this.selected);
3887
- }
3888
- setDisabledState(disabled) {
3889
- this.disabled = disabled;
3890
- }
3891
- ngOnChanges(changes) {
3892
- if (changes.options) {
3893
- this.viewOptions = this.options;
3894
- }
3895
- }
3896
- }
3897
- NewDropdownComponent.decorators = [
3898
- { type: Component, args: [{
3899
- selector: 'aeb-new-dropdown',
3900
- template: "<div\r\n class=\"aeb-new-dropdown\"\r\n clickOutside\r\n (clickOutside)=\"clickOutsideHandler()\"\r\n [ngClass]=\"{\r\n 'aeb-new-dropdown--on-error': hasError,\r\n 'aeb-new-dropdown--disabled': disabled\r\n }\"\r\n>\r\n <div\r\n class=\"aeb-new-dropdown__input-wrapper\"\r\n >\r\n <div\r\n class=\"aeb-new-dropdown__input\"\r\n [ngClass]=\"{\r\n 'aeb-new-dropdown__input--isOpen': isOpen\r\n }\"\r\n (click)=\"clickInput()\"\r\n #input\r\n >\r\n <aeb-form-field #field>\r\n <aeb-label>{{label}}</aeb-label>\r\n <input\r\n aebInput\r\n type=\"text\"\r\n (input)=\"inputHandler($event)\"\r\n [(ngModel)]=\"value\"\r\n />\r\n </aeb-form-field>\r\n </div>\r\n <div\r\n class=\"aeb-new-dropdown__icon\"\r\n [ngClass]=\"{\r\n 'aeb-new-dropdown__icon--isOpen': isOpen\r\n }\"\r\n (click)=\"openHandler()\"\r\n >\r\n <svg\r\n width=\"24\"\r\n height=\"24\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M6.85718 9.42854L12 14.5714L17.1429 9.42854\"\r\n stroke=\"#94A8BE\"\r\n stroke-width=\"1.6\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isOpen\"\r\n class=\"aeb-new-dropdown__items\"\r\n >\r\n <div\r\n *ngFor=\"let option of viewOptions\"\r\n class=\"aeb-new-dropdown__option\"\r\n (click)=\"selectHandler(option)\"\r\n >\r\n {{option.label}}\r\n </div>\r\n </div>\r\n</div>",
3901
- encapsulation: ViewEncapsulation.None,
3902
- providers: [
3903
- {
3904
- provide: NG_VALUE_ACCESSOR,
3905
- useExisting: forwardRef(() => NewDropdownComponent),
3906
- multi: true
3907
- }
3908
- ],
3909
- styles: [".aeb-new-dropdown{width:100%;position:relative}.aeb-new-dropdown--disabled{pointer-events:none;opacity:.5}.aeb-new-dropdown--on-error .aeb-input{border-color:#ff3055!important}.aeb-new-dropdown--on-error .aeb-label{color:#ff3055!important}.aeb-new-dropdown--on-error .aeb-new-dropdown__icon svg path{stroke:#ff3055}.aeb-new-dropdown__input-wrapper{width:100%;position:relative}.aeb-new-dropdown__icon{position:absolute;right:10px;top:calc(50% - 12px);display:flex;align-items:center;justify-content:center;cursor:pointer}.aeb-new-dropdown__icon svg{transition:transform,.2s}.aeb-new-dropdown__icon--isOpen svg{transform:rotate(180deg)}.aeb-new-dropdown__input--isOpen .aeb-input{border:2px solid var(--blue)!important}.aeb-new-dropdown__input--lock .aeb-label{transform:translateY(calc(var(--input-height) / -2 + -50%))!important;font-size:12px!important}.aeb-new-dropdown__items{position:absolute;top:calc(100% - 8px);width:100%;background-color:#fff;border:2px solid var(--blue);border-top:none;border-radius:0 0 10px 10px;box-sizing:border-box;padding-top:8px;z-index:1}.aeb-new-dropdown__option{box-sizing:border-box;width:100%;padding:18px 16px;cursor:pointer}.aeb-new-dropdown__option:hover{background-color:var(--lightblue)}.aeb-new-dropdown__option:last-child{border-radius:0 0 10px 10px}"]
3910
- },] }
3911
- ];
3912
- NewDropdownComponent.ctorParameters = () => [];
3913
- NewDropdownComponent.propDecorators = {
3914
- label: [{ type: Input, args: ['label',] }],
3915
- options: [{ type: Input, args: ['options',] }],
3916
- filter: [{ type: Input, args: ['filter',] }],
3917
- hasError: [{ type: Input }],
3918
- select: [{ type: Output, args: ['select',] }],
3919
- inputChange: [{ type: Output, args: ['inputChange',] }],
3920
- input: [{ type: ViewChild, args: ['input',] }],
3921
- value: [{ type: Input }],
3922
- fieldValue: [{ type: Input }],
3923
- disabled: [{ type: Input }]
3924
- };
3925
-
3926
- class NewDropdownModule {
3927
- }
3928
- NewDropdownModule.decorators = [
3929
- { type: NgModule, args: [{
3930
- declarations: [NewDropdownComponent],
3931
- imports: [
3932
- CommonModule,
3933
- FormFieldModule,
3934
- ClickOutsideModule,
3935
- FormsModule
3936
- ],
3937
- exports: [NewDropdownComponent]
3938
- },] }
3939
- ];
3940
-
3941
- class TableComponent {
3942
- constructor() {
3943
- this.action = new EventEmitter();
3944
- }
3945
- ngOnInit() { }
3946
- onRowActionClicked(actionType, id) {
3947
- const userAction = {
3948
- actionToPerform: actionType,
3949
- id,
3950
- };
3951
- this.action.emit(userAction);
3952
- }
3953
- }
3954
- TableComponent.decorators = [
3955
- { type: Component, args: [{
3956
- selector: 'aeb-table',
3957
- template: "<table class=\"table\">\r\n <thead>\r\n <tr>\r\n <th\r\n align=\"{{ columnHead.align || 'left' }}\"\r\n class=\"table-title\"\r\n *ngFor=\"let columnHead of tableConfig.columns\"\r\n >\r\n {{ columnHead.title }}\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let columnData of tableContent\">\r\n <td\r\n *ngFor=\"let columnHead of tableConfig.columns\"\r\n align=\"{{ columnHead.align || 'left' }}\"\r\n >\r\n <div [ngSwitch]=\"columnHead.dataField\">\r\n <div *ngSwitchCase=\"'ROW_ACTION'\">\r\n <div class=\"table-action\">\r\n <div *ngFor=\"let action of tableConfig.rowActions\">\r\n <img\r\n src=\"{{ action.logoImageUrl }}\"\r\n (click)=\"\r\n onRowActionClicked(action.actionToPerform, columnData.id)\r\n \"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngSwitchCase=\"'STATUS'\">\r\n <div [ngSwitch]=\"columnData[columnHead.dataProperty]\">\r\n <ng-container\r\n *ngFor=\"let status of tableConfig.status; let i = index\"\r\n >\r\n <div\r\n (click)=\"\r\n onRowActionClicked(\r\n columnHead.action || 'SHOW',\r\n columnData.id\r\n )\r\n \"\r\n class=\"table-status\"\r\n style=\"color: {{ status.color }}\"\r\n *ngSwitchCase=\"i\"\r\n >\r\n <img src=\"{{ status.iconUrl }}\" />\r\n <span>{{ status.label }}</span>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n <div\r\n *ngSwitchDefault\r\n (click)=\"\r\n onRowActionClicked(columnHead.action || 'SHOW', columnData.id)\r\n \"\r\n [innerHTML]=\"\r\n columnData[columnHead.dataProperty]\r\n | formatTable\r\n : columnHead.format?.type\r\n : columnHead.format?.placeholder\r\n : columnHead.format?.local\r\n \"\r\n ></div>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n",
3958
- styles: [".table{width:100%}.table-title{color:var(--primary-gray);font-size:14px;line-height:16px}.table-title,.table tr td{padding:16px 0;font-style:normal;font-weight:400}.table tr td{border-top:1px solid var(--secondary-light-gray);color:var(--primary-dark);cursor:pointer;font-size:16px;line-height:20px}.table tr:last-child td{border-bottom:1px solid var(--secondary-light-gray)}.table-price{font-size:16px;font-weight:700;line-height:20px}.table-status{display:inline-flex}.table-status>span{margin-left:1rem}.table .table-action{display:flex;justify-content:flex-end}.table .table-action>div{padding:5px}"]
3959
- },] }
3960
- ];
3961
- TableComponent.propDecorators = {
3962
- tableConfig: [{ type: Input }],
3963
- tableContent: [{ type: Input }],
3964
- action: [{ type: Output }]
3965
- };
3966
-
3967
- class FormatTablePipe {
3968
- transform(value, type, format, locale = 'ru') {
3969
- if (type === 'date') {
3970
- return formatDate(value, format, locale);
3971
- }
3972
- if (type === 'number') {
3973
- let innerNumber = formatNumber(value, locale, format).split(',');
3974
- return `<b>${innerNumber[0]}, </b>${innerNumber[1]}`;
3975
- }
3976
- return value;
3977
- }
3978
- }
3979
- FormatTablePipe.decorators = [
3980
- { type: Pipe, args: [{ name: 'formatTable' },] }
3981
- ];
3982
-
3983
- class TableModule {
3984
- }
3985
- TableModule.decorators = [
3986
- { type: NgModule, args: [{
3987
- declarations: [TableComponent, FormatTablePipe],
3988
- imports: [CommonModule],
3989
- exports: [TableComponent],
3990
- },] }
3991
- ];
3992
-
3993
- class AebUiKitModule {
3994
- }
3995
- AebUiKitModule.decorators = [
3996
- { type: NgModule, args: [{
3997
- declarations: [],
3998
- imports: [
3999
- ButtonModule,
4000
- NewButtonModule,
4001
- CheckboxModule,
4002
- DropdownModule,
4003
- HeaderModule,
4004
- SidebarModule,
4005
- SliderModule,
4006
- WizardModule,
4007
- FormFieldModule,
4008
- TooltipModule,
4009
- LabelModule,
4010
- VisaModule,
4011
- SpinnerModule,
4012
- NotificationsModule,
4013
- SelectModule,
4014
- FileAttachModule,
4015
- CreditItemCardModule,
4016
- TagTabModule,
4017
- FieldSliderModule,
4018
- TabsModule,
4019
- HeadingModule,
4020
- NewTooltipModule,
4021
- NewNotificationsModule,
4022
- DatepickerModule,
4023
- RadioButtonsModule,
4024
- AccordionModule,
4025
- CommentModule,
4026
- FooterModule,
4027
- PaginationModule,
4028
- PopUpModule,
4029
- FilterTagsModule,
4030
- SearchModule,
4031
- ActionBarModule,
4032
- NewsCardModule,
4033
- NewDropdownModule,
4034
- TableModule,
4035
- ],
4036
- exports: [
4037
- ButtonModule,
4038
- NewButtonModule,
4039
- CheckboxModule,
4040
- DropdownModule,
4041
- HeaderModule,
4042
- SidebarModule,
4043
- SliderModule,
4044
- WizardModule,
4045
- FormFieldModule,
4046
- TooltipModule,
4047
- LabelModule,
4048
- VisaModule,
4049
- SpinnerModule,
4050
- NotificationsModule,
4051
- SelectModule,
4052
- FileAttachModule,
4053
- CreditItemCardModule,
4054
- TagTabModule,
4055
- FieldSliderModule,
4056
- TabsModule,
4057
- HeadingModule,
4058
- DatepickerModule,
4059
- RadioButtonsModule,
4060
- AccordionModule,
4061
- CommentModule,
4062
- FooterModule,
4063
- PaginationModule,
4064
- PopUpModule,
4065
- FilterTagsModule,
4066
- SearchModule,
4067
- ActionBarModule,
4068
- NewsCardModule,
4069
- NewDropdownModule,
4070
- TableModule,
4071
- ],
4072
- },] }
4073
- ];
4074
-
4075
- /*
4076
- * Public API Surface of aeb-ui-kit
4077
- */
4078
-
4079
- /**
4080
- * Generated bundle index. Do not edit.
4081
- */
4082
-
4083
- export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebNotificationsComponent, AebUiKitModule, BreadcrumpsComponent, ButtonComponent, ButtonModule, CheckboxComponent, CheckboxModule, ClickOutsideDirective, ClickOutsideModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DatepickerComponent, DatepickerModule, DragAndDropDirective, DropdownComponent, DropdownModule, FieldSliderComponent, FieldSliderModule, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterComponent, FooterModule, FormFieldComponent, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, InputDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, NewButtonComponent, NewButtonModule, NewDropdownComponent, NewDropdownModule, NewNotificationsComponent, NewNotificationsModule, NewTooltipComponent, NewTooltipModule, NewsCardComponent, NewsCardModule, NotificationsModule, OptionComponent, PaginationComponent, PaginationModule, PopUpComponent, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TextareaDirective, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule, WizardComponent, WizardModule, WizardStepComponent, maskModule, ɵ0, ReplacePipe$1 as ɵa, ReplacePipe as ɵb, NumbersOnlyDirective as ɵc, TabDirective as ɵd, DOMService as ɵe, DatepickerUtilsService as ɵf, MaskUtilsService as ɵg, DatepickerCoreComponent as ɵh, DatepickerMonthComponent as ɵi, DateToStrPipe as ɵj, DatepickerTilesComponent as ɵk, FooterTopComponent as ɵl, FooterMenuComponent as ɵm, FooterBottomComponent as ɵn, PopUpDirective as ɵo, HighlightPipe as ɵp, FormatTablePipe as ɵq };
4084
- //# sourceMappingURL=aeb-ui-kit.js.map