aeb-ui-kit 1.0.0 → 1.1.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 (265) hide show
  1. package/README.md +24 -24
  2. package/aeb-ui-kit.d.ts +5 -5
  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/button-icons/disabled/icon-download.svg +4 -0
  11. package/assets/images/button-icons/disabled/icon-edit.svg +5 -0
  12. package/assets/images/button-icons/hovered/icon-spinner.svg +9 -0
  13. package/assets/images/button-icons/icon-download.svg +4 -0
  14. package/assets/images/button-icons/icon-edit.svg +5 -0
  15. package/assets/images/clip.svg +3 -3
  16. package/assets/images/clip_blue.svg +3 -3
  17. package/assets/images/close.svg +4 -4
  18. package/assets/images/icon-add.svg +5 -5
  19. package/assets/images/icon-back.svg +3 -3
  20. package/assets/images/icon-blocked.svg +5 -5
  21. package/assets/images/icon-checked.svg +3 -3
  22. package/assets/images/icon-download.svg +4 -4
  23. package/assets/images/icon-edit.svg +5 -5
  24. package/assets/images/icon-failure.svg +5 -5
  25. package/assets/images/icon-more.svg +5 -5
  26. package/assets/images/icon-rework.svg +5 -5
  27. package/assets/images/icon-spinner.svg +9 -9
  28. package/assets/images/icon-subtract.svg +4 -4
  29. package/assets/images/icon-success.svg +4 -4
  30. package/assets/images/icon-time.svg +5 -5
  31. package/assets/images/icon-trash.svg +6 -6
  32. package/assets/images/info.svg +5 -5
  33. package/assets/images/nt-icon.svg +6 -6
  34. package/assets/images/visa/icon_failure.svg +5 -5
  35. package/assets/images/visa/icon_time.svg +5 -5
  36. package/assets/images/visa/success_icon.svg +4 -4
  37. package/esm2020/aeb-ui-kit.mjs +4 -4
  38. package/esm2020/extended-global.mjs +2 -0
  39. package/esm2020/index.mjs +2 -2
  40. package/esm2020/lib/accordion/accordion.component.mjs +36 -36
  41. package/esm2020/lib/accordion/accordion.module.mjs +22 -22
  42. package/esm2020/lib/action-bar/action-bar.component.mjs +21 -21
  43. package/esm2020/lib/action-bar/action-bar.module.mjs +22 -22
  44. package/esm2020/lib/aeb-ui-kit.module.mjs +234 -262
  45. package/esm2020/lib/checkbox/checkbox.component.mjs +103 -103
  46. package/esm2020/lib/checkbox/checkbox.module.mjs +18 -18
  47. package/esm2020/lib/click-outside/click-outside.directive.mjs +45 -45
  48. package/esm2020/lib/click-outside/click-outside.module.mjs +18 -18
  49. package/esm2020/lib/comment/comment.component.mjs +72 -71
  50. package/esm2020/lib/comment/comment.module.mjs +40 -40
  51. package/esm2020/lib/credit-item-card/credit-item-card.component.mjs +30 -30
  52. package/esm2020/lib/credit-item-card/credit-item-card.module.mjs +26 -26
  53. package/esm2020/lib/credit-item-card/models/IProductItemCard.mjs +2 -2
  54. package/esm2020/lib/datepicker/datepicker-core/datepicker-core.component.mjs +161 -161
  55. package/esm2020/lib/datepicker/datepicker-month/datepicker-month.component.mjs +61 -61
  56. package/esm2020/lib/datepicker/datepicker-tiles/datepicker-tiles.component.mjs +104 -104
  57. package/esm2020/lib/datepicker/datepicker.component.mjs +378 -373
  58. package/esm2020/lib/datepicker/datepicker.module.mjs +65 -65
  59. package/esm2020/lib/datepicker/pipes/date-to-str.pipe.mjs +17 -17
  60. package/esm2020/lib/datepicker/services/datepicker-utils.service.mjs +150 -150
  61. package/esm2020/lib/datepicker/services/mask-utils.service.mjs +60 -60
  62. package/esm2020/lib/field-slider/directives/numbers-only.directive.mjs +71 -71
  63. package/esm2020/lib/field-slider/field-slider.component.mjs +170 -170
  64. package/esm2020/lib/field-slider/field-slider.module.mjs +38 -38
  65. package/esm2020/lib/field-slider/pipes/replace.pipe.mjs +19 -19
  66. package/esm2020/lib/file-attach/directives/drag-and-drop.directive.mjs +49 -49
  67. package/esm2020/lib/file-attach/file-attach.component.mjs +73 -73
  68. package/esm2020/lib/file-attach/file-attach.module.mjs +20 -20
  69. package/esm2020/lib/filter-tags/filter-tag/filter-tag.component.mjs +30 -30
  70. package/esm2020/lib/filter-tags/filter-tags.component.mjs +37 -37
  71. package/esm2020/lib/filter-tags/filter-tags.module.mjs +23 -23
  72. package/esm2020/lib/footer/footer-bottom/footer-bottom.component.mjs +42 -42
  73. package/esm2020/lib/footer/footer-menu/footer-menu.component.mjs +58 -58
  74. package/esm2020/lib/footer/footer-top/footer-top.component.mjs +25 -25
  75. package/esm2020/lib/footer/footer.component.mjs +24 -24
  76. package/esm2020/lib/footer/footer.module.mjs +33 -33
  77. package/esm2020/lib/form-field/form-field.component.mjs +87 -87
  78. package/esm2020/lib/form-field/form-field.module.mjs +22 -22
  79. package/esm2020/lib/form-field/icon.directive.mjs +14 -14
  80. package/esm2020/lib/form-field/input.directive.mjs +69 -69
  81. package/esm2020/lib/form-field/label.directive.mjs +14 -14
  82. package/esm2020/lib/form-field/textarea.directive.mjs +69 -69
  83. package/esm2020/lib/header/header.component.mjs +22 -22
  84. package/esm2020/lib/header/header.module.mjs +19 -19
  85. package/esm2020/lib/header/logo.component.mjs +15 -15
  86. package/esm2020/lib/heading/breadcrumps/breadcrumps.component.mjs +25 -27
  87. package/esm2020/lib/heading/heading.component.mjs +13 -17
  88. package/esm2020/lib/heading/heading.module.mjs +24 -24
  89. package/esm2020/lib/heading/product-title/product-title.component.mjs +21 -25
  90. package/esm2020/lib/label/label.component.mjs +13 -13
  91. package/esm2020/lib/label/label.module.mjs +18 -18
  92. package/esm2020/lib/new-button/new-button.component.mjs +77 -60
  93. package/esm2020/lib/new-button/new-button.module.mjs +18 -18
  94. package/esm2020/lib/new-dropdown/new-dropdown.component.mjs +187 -185
  95. package/esm2020/lib/new-dropdown/new-dropdown.module.mjs +34 -34
  96. package/esm2020/lib/new-notifications/new-notifications.component.mjs +47 -35
  97. package/esm2020/lib/new-notifications/new-notifications.module.mjs +22 -22
  98. package/esm2020/lib/new-tooltip/new-tooltip.component.mjs +23 -23
  99. package/esm2020/lib/new-tooltip/new-tooltip.module.mjs +27 -27
  100. package/esm2020/lib/new-tooltip/services/domservice.service.mjs +41 -41
  101. package/esm2020/lib/new-tooltip/tooltip.directive.mjs +159 -159
  102. package/esm2020/lib/news-card/news-card.component.mjs +14 -15
  103. package/esm2020/lib/news-card/news-card.module.mjs +27 -22
  104. package/esm2020/lib/pagination/pagination.component.mjs +187 -167
  105. package/esm2020/lib/pagination/pagination.module.mjs +28 -28
  106. package/esm2020/lib/pop-up/pop-up.component.mjs +20 -27
  107. package/esm2020/lib/pop-up/pop-up.directive.mjs +67 -64
  108. package/esm2020/lib/pop-up/pop-up.module.mjs +23 -23
  109. package/esm2020/lib/radio-buttons/radio-buttons.component.mjs +81 -69
  110. package/esm2020/lib/radio-buttons/radio-buttons.module.mjs +22 -22
  111. package/esm2020/lib/search/highlight.pipe.mjs +16 -16
  112. package/esm2020/lib/search/search.component.mjs +57 -67
  113. package/esm2020/lib/search/search.module.mjs +27 -27
  114. package/esm2020/lib/select/option.component.mjs +27 -27
  115. package/esm2020/lib/select/select.component.mjs +114 -114
  116. package/esm2020/lib/select/select.module.mjs +20 -20
  117. package/esm2020/lib/sidebar/sidebar.component.mjs +31 -32
  118. package/esm2020/lib/sidebar/sidebar.module.mjs +18 -18
  119. package/esm2020/lib/slider/pipes/replace.pipe.mjs +19 -19
  120. package/esm2020/lib/slider/slider.component.mjs +141 -141
  121. package/esm2020/lib/slider/slider.module.mjs +23 -23
  122. package/esm2020/lib/spinner/spinner.component.mjs +13 -13
  123. package/esm2020/lib/spinner/spinner.module.mjs +18 -18
  124. package/esm2020/lib/table/table.component.mjs +30 -30
  125. package/esm2020/lib/table/table.model.mjs +2 -2
  126. package/esm2020/lib/table/table.module.mjs +19 -19
  127. package/esm2020/lib/table/table.pipe.mjs +22 -22
  128. package/esm2020/lib/tabs/tab.directive.mjs +19 -19
  129. package/esm2020/lib/tabs/tabs.component.mjs +78 -78
  130. package/esm2020/lib/tabs/tabs.module.mjs +23 -23
  131. package/esm2020/lib/tag-tab/tag-tab.component.mjs +20 -20
  132. package/esm2020/lib/tag-tab/tag-tab.module.mjs +18 -18
  133. package/esm2020/lib/visa/visa-item.component.mjs +16 -16
  134. package/esm2020/lib/visa/visa-span.directive.mjs +31 -31
  135. package/esm2020/lib/visa/visa.component.mjs +13 -13
  136. package/esm2020/lib/visa/visa.module.mjs +36 -36
  137. package/esm2020/lib/wizard/wizard-step.component.mjs +41 -41
  138. package/esm2020/lib/wizard/wizard.component.mjs +83 -83
  139. package/esm2020/lib/wizard/wizard.module.mjs +19 -19
  140. package/esm2020/public-api.mjs +96 -105
  141. package/extended-global.d.ts +9 -0
  142. package/fesm2015/aeb-ui-kit.mjs +4299 -4492
  143. package/fesm2015/aeb-ui-kit.mjs.map +1 -1
  144. package/fesm2020/aeb-ui-kit.mjs +4300 -4493
  145. package/fesm2020/aeb-ui-kit.mjs.map +1 -1
  146. package/index.d.ts +1 -1
  147. package/lib/accordion/accordion.component.d.ts +13 -13
  148. package/lib/accordion/accordion.module.d.ts +8 -8
  149. package/lib/action-bar/action-bar.component.d.ts +10 -10
  150. package/lib/action-bar/action-bar.module.d.ts +8 -8
  151. package/lib/aeb-ui-kit.module.d.ts +38 -42
  152. package/lib/checkbox/checkbox.component.d.ts +32 -32
  153. package/lib/checkbox/checkbox.module.d.ts +8 -8
  154. package/lib/click-outside/click-outside.directive.d.ts +16 -16
  155. package/lib/click-outside/click-outside.module.d.ts +8 -8
  156. package/lib/comment/comment.component.d.ts +40 -39
  157. package/lib/comment/comment.module.d.ts +12 -12
  158. package/lib/credit-item-card/credit-item-card.component.d.ts +13 -13
  159. package/lib/credit-item-card/credit-item-card.module.d.ts +9 -9
  160. package/lib/credit-item-card/models/IProductItemCard.d.ts +16 -16
  161. package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +41 -41
  162. package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +22 -22
  163. package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +31 -31
  164. package/lib/datepicker/datepicker.component.d.ts +89 -89
  165. package/lib/datepicker/datepicker.module.d.ts +16 -16
  166. package/lib/datepicker/pipes/date-to-str.pipe.d.ts +7 -7
  167. package/lib/datepicker/services/datepicker-utils.service.d.ts +32 -32
  168. package/lib/datepicker/services/mask-utils.service.d.ts +10 -10
  169. package/lib/field-slider/directives/numbers-only.directive.d.ts +10 -10
  170. package/lib/field-slider/field-slider.component.d.ts +34 -34
  171. package/lib/field-slider/field-slider.module.d.ts +12 -12
  172. package/lib/field-slider/pipes/replace.pipe.d.ts +7 -7
  173. package/lib/file-attach/directives/drag-and-drop.directive.d.ts +12 -12
  174. package/lib/file-attach/file-attach.component.d.ts +28 -28
  175. package/lib/file-attach/file-attach.module.d.ts +10 -10
  176. package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +12 -12
  177. package/lib/filter-tags/filter-tags.component.d.ts +17 -17
  178. package/lib/filter-tags/filter-tags.module.d.ts +9 -9
  179. package/lib/footer/footer-bottom/footer-bottom.component.d.ts +16 -16
  180. package/lib/footer/footer-menu/footer-menu.component.d.ts +16 -16
  181. package/lib/footer/footer-top/footer-top.component.d.ts +11 -11
  182. package/lib/footer/footer.component.d.ts +10 -10
  183. package/lib/footer/footer.module.d.ts +11 -11
  184. package/lib/form-field/form-field.component.d.ts +19 -19
  185. package/lib/form-field/form-field.module.d.ts +12 -12
  186. package/lib/form-field/icon.directive.d.ts +6 -6
  187. package/lib/form-field/input.directive.d.ts +25 -25
  188. package/lib/form-field/label.directive.d.ts +6 -6
  189. package/lib/form-field/textarea.directive.d.ts +25 -25
  190. package/lib/header/header.component.d.ts +9 -9
  191. package/lib/header/header.module.d.ts +9 -9
  192. package/lib/header/logo.component.d.ts +8 -8
  193. package/lib/heading/breadcrumps/breadcrumps.component.d.ts +9 -11
  194. package/lib/heading/heading.component.d.ts +6 -9
  195. package/lib/heading/heading.module.d.ts +10 -10
  196. package/lib/heading/product-title/product-title.component.d.ts +9 -11
  197. package/lib/label/label.component.d.ts +8 -8
  198. package/lib/label/label.module.d.ts +8 -8
  199. package/lib/new-button/new-button.component.d.ts +59 -41
  200. package/lib/new-button/new-button.module.d.ts +8 -8
  201. package/lib/new-dropdown/new-dropdown.component.d.ts +45 -45
  202. package/lib/new-dropdown/new-dropdown.module.d.ts +11 -11
  203. package/lib/new-notifications/new-notifications.component.d.ts +30 -22
  204. package/lib/new-notifications/new-notifications.module.d.ts +8 -8
  205. package/lib/new-tooltip/new-tooltip.component.d.ts +11 -11
  206. package/lib/new-tooltip/new-tooltip.module.d.ts +9 -9
  207. package/lib/new-tooltip/services/domservice.service.d.ts +15 -15
  208. package/lib/new-tooltip/tooltip.directive.d.ts +48 -50
  209. package/lib/news-card/news-card.component.d.ts +6 -7
  210. package/lib/news-card/news-card.module.d.ts +8 -8
  211. package/lib/pagination/pagination.component.d.ts +40 -35
  212. package/lib/pagination/pagination.module.d.ts +9 -9
  213. package/lib/pop-up/pop-up.component.d.ts +9 -12
  214. package/lib/pop-up/pop-up.directive.d.ts +20 -15
  215. package/lib/pop-up/pop-up.module.d.ts +9 -9
  216. package/lib/radio-buttons/radio-buttons.component.d.ts +43 -26
  217. package/lib/radio-buttons/radio-buttons.module.d.ts +8 -8
  218. package/lib/search/highlight.pipe.d.ts +7 -7
  219. package/lib/search/search.component.d.ts +24 -27
  220. package/lib/search/search.module.d.ts +10 -10
  221. package/lib/select/option.component.d.ts +13 -13
  222. package/lib/select/select.component.d.ts +45 -45
  223. package/lib/select/select.module.d.ts +10 -10
  224. package/lib/sidebar/sidebar.component.d.ts +12 -12
  225. package/lib/sidebar/sidebar.module.d.ts +8 -8
  226. package/lib/slider/pipes/replace.pipe.d.ts +7 -7
  227. package/lib/slider/slider.component.d.ts +35 -35
  228. package/lib/slider/slider.module.d.ts +9 -9
  229. package/lib/spinner/spinner.component.d.ts +8 -8
  230. package/lib/spinner/spinner.module.d.ts +8 -8
  231. package/lib/table/table.component.d.ts +12 -12
  232. package/lib/table/table.model.d.ts +31 -31
  233. package/lib/table/table.module.d.ts +9 -9
  234. package/lib/table/table.pipe.d.ts +7 -7
  235. package/lib/tabs/tab.directive.d.ts +9 -9
  236. package/lib/tabs/tabs.component.d.ts +24 -24
  237. package/lib/tabs/tabs.module.d.ts +9 -9
  238. package/lib/tag-tab/tag-tab.component.d.ts +7 -7
  239. package/lib/tag-tab/tag-tab.module.d.ts +8 -8
  240. package/lib/visa/visa-item.component.d.ts +9 -9
  241. package/lib/visa/visa-span.directive.d.ts +11 -11
  242. package/lib/visa/visa.component.d.ts +8 -8
  243. package/lib/visa/visa.module.d.ts +10 -10
  244. package/lib/wizard/wizard-step.component.d.ts +17 -17
  245. package/lib/wizard/wizard.component.d.ts +22 -22
  246. package/lib/wizard/wizard.module.d.ts +9 -9
  247. package/package.json +4 -4
  248. package/public-api.d.ts +92 -101
  249. package/styles.css +3 -3
  250. package/esm2020/lib/button/button.component.mjs +0 -28
  251. package/esm2020/lib/button/button.module.mjs +0 -18
  252. package/esm2020/lib/dropdown/dropdown.component.mjs +0 -99
  253. package/esm2020/lib/dropdown/dropdown.module.mjs +0 -19
  254. package/esm2020/lib/notifications/notifications.component.mjs +0 -23
  255. package/esm2020/lib/notifications/notifications.module.mjs +0 -18
  256. package/esm2020/lib/tooltip/tooltip.component.mjs +0 -24
  257. package/esm2020/lib/tooltip/tooltip.module.mjs +0 -18
  258. package/lib/button/button.component.d.ts +0 -12
  259. package/lib/button/button.module.d.ts +0 -8
  260. package/lib/dropdown/dropdown.component.d.ts +0 -42
  261. package/lib/dropdown/dropdown.module.d.ts +0 -9
  262. package/lib/notifications/notifications.component.d.ts +0 -15
  263. package/lib/notifications/notifications.module.d.ts +0 -8
  264. package/lib/tooltip/tooltip.component.d.ts +0 -11
  265. package/lib/tooltip/tooltip.module.d.ts +0 -8
@@ -1,35 +1,40 @@
1
- import { OnInit, EventEmitter, AfterViewInit, OnChanges, ChangeDetectorRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- declare type amountOption = {
4
- value: number;
5
- label: string;
6
- };
7
- export declare class PaginationComponent implements OnInit, AfterViewInit, OnChanges {
8
- private cdr;
9
- pageSelect: EventEmitter<number>;
10
- amountChange: EventEmitter<number>;
11
- total: number;
12
- currentPage: number;
13
- amount: number;
14
- amountOptions?: amountOption[];
15
- amountSelect: any;
16
- head: number[];
17
- middle: number[];
18
- tail: number[];
19
- adaptive: number;
20
- adaptiveBase: number;
21
- renderPages(firstPage: number): void;
22
- constructor(cdr: ChangeDetectorRef);
23
- middlePageHandler(page: number): void;
24
- nextPageHandler(): void;
25
- prevPageHandler(): void;
26
- tailPageHandler(page: number): void;
27
- headPageHandler(page: number): void;
28
- amountChangeHandler(amount: number): void;
29
- ngOnInit(): void;
30
- ngAfterViewInit(): void;
31
- ngOnChanges(changes: any): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "aeb-pagination", never, { "total": "totalPages"; "currentPage": "page"; "amount": "amount"; "amountOptions": "amountOptions"; "adaptive": "adaptive"; }, { "pageSelect": "pageSelect"; "amountChange": "amountChange"; }, never, never>;
34
- }
35
- export {};
1
+ import { OnInit, EventEmitter, AfterViewInit, OnChanges, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ declare type amountOption = {
4
+ value: number;
5
+ label: string;
6
+ };
7
+ export declare class PaginationComponent implements OnInit, AfterViewInit, OnChanges {
8
+ private cdr;
9
+ private element;
10
+ pageSelect: EventEmitter<number>;
11
+ amountChange: EventEmitter<number>;
12
+ total: number;
13
+ currentPage: number;
14
+ amount: number;
15
+ amountOptions?: amountOption[];
16
+ amountSelect: any;
17
+ head: number[];
18
+ middle: number[];
19
+ tail: number[];
20
+ adaptive: number;
21
+ adaptiveBase: number;
22
+ /**
23
+ * Результатом работы являются массивы левой, средней и правой частей пагинации
24
+ * @param firstPage текущая страница
25
+ */
26
+ renderPages(firstPage: number): void;
27
+ constructor(cdr: ChangeDetectorRef, element: ElementRef);
28
+ middlePageHandler(page: number): void;
29
+ nextPageHandler(): void;
30
+ prevPageHandler(): void;
31
+ tailPageHandler(page: number): void;
32
+ headPageHandler(page: number): void;
33
+ amountChangeHandler(amount: number): void;
34
+ ngOnInit(): void;
35
+ ngAfterViewInit(): void;
36
+ ngOnChanges(changes: any): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "aeb-pagination", never, { "total": "totalPages"; "currentPage": "page"; "amount": "amount"; "amountOptions": "amountOptions"; "adaptive": "adaptive"; }, { "pageSelect": "pageSelect"; "amountChange": "amountChange"; }, never, never>;
39
+ }
40
+ export {};
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pagination.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../select/select.module";
5
- export declare class PaginationModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.SelectModule], [typeof i1.PaginationComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pagination.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../select/select.module";
5
+ export declare class PaginationModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginationModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaginationModule, [typeof i1.PaginationComponent], [typeof i2.CommonModule, typeof i3.SelectModule], [typeof i1.PaginationComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PaginationModule>;
9
+ }
@@ -1,12 +1,9 @@
1
- import { OnInit, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PopUpComponent implements OnInit {
4
- popUp: ElementRef;
5
- header: string;
6
- html: InnerHTML;
7
- constructor();
8
- ngOnInit(): void;
9
- hidePopUp(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<PopUpComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<PopUpComponent, "aeb-pop-up", never, { "header": "header"; "html": "html"; }, {}, never, ["*"]>;
12
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PopUpComponent {
4
+ popUp: ElementRef;
5
+ header: string;
6
+ hidePopUp(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopUpComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopUpComponent, "aeb-pop-up", never, { "header": "header"; }, {}, never, ["*"]>;
9
+ }
@@ -1,15 +1,20 @@
1
- import { ElementRef } from '@angular/core';
2
- import { vertices } from '../new-tooltip/tooltip.directive';
3
- import * as i0 from "@angular/core";
4
- export declare class PopUpDirective {
5
- private el;
6
- header: string;
7
- position: 'top' | 'left' | 'right' | 'bottom';
8
- popUpContent: any;
9
- popUp: any;
10
- constructor(el: ElementRef);
11
- popUpConfig: vertices;
12
- onClick(event: MouseEvent): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<PopUpDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<PopUpDirective, "[aebPopUp]", never, { "header": "header"; "position": "position"; }, {}, ["popUpContent"]>;
15
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import { PopUpComponent } from './pop-up.component';
3
+ import { vertices } from '../new-tooltip/tooltip.directive';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PopUpDirective {
6
+ private el;
7
+ header: string;
8
+ position: 'top' | 'left' | 'right' | 'bottom';
9
+ popUpContent: PopUpComponent;
10
+ /**
11
+ * @ignore
12
+ * Compodoc преобразует объект в строку, поэтому тэгом ignore
13
+ * говорим ему пропускать это свойство
14
+ */
15
+ popUpConfig: vertices;
16
+ constructor(el: ElementRef);
17
+ onClick(event: MouseEvent): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopUpDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PopUpDirective, "[aebPopUp]", never, { "header": "header"; "position": "position"; }, {}, ["popUpContent"]>;
20
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pop-up.component";
3
- import * as i2 from "./pop-up.directive";
4
- import * as i3 from "@angular/common";
5
- export declare class PopUpModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PopUpModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PopUpModule, [typeof i1.PopUpComponent, typeof i2.PopUpDirective], [typeof i3.CommonModule], [typeof i1.PopUpComponent, typeof i2.PopUpDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<PopUpModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pop-up.component";
3
+ import * as i2 from "./pop-up.directive";
4
+ import * as i3 from "@angular/common";
5
+ export declare class PopUpModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopUpModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PopUpModule, [typeof i1.PopUpComponent, typeof i2.PopUpDirective], [typeof i3.CommonModule], [typeof i1.PopUpComponent, typeof i2.PopUpDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PopUpModule>;
9
+ }
@@ -1,26 +1,43 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare type radioOption = {
5
- value: number;
6
- label: string;
7
- };
8
- export declare class RadioButtonsComponent implements ControlValueAccessor {
9
- options: radioOption[];
10
- header: string;
11
- hasError: boolean;
12
- readonly change: EventEmitter<Event>;
13
- touched: boolean;
14
- value: number;
15
- disabled: boolean;
16
- horizontal: boolean;
17
- constructor();
18
- private onChange;
19
- private onTouch;
20
- registerOnChange(fn: (value: any) => void): void;
21
- registerOnTouched(fn: any): void;
22
- writeValue(value: any): void;
23
- setDisabledState(disabled: boolean): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "aeb-radio-buttons", never, { "options": "options"; "header": "header"; "hasError": "hasError"; "value": "value"; "horizontal": "horizontal"; }, { "change": "change"; }, never, never>;
26
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare type radioOption = {
5
+ value: number;
6
+ label: string;
7
+ };
8
+ export declare class RadioButtonsComponent implements ControlValueAccessor {
9
+ /**
10
+ * list of items to choose from
11
+ */
12
+ options: radioOption[];
13
+ /**
14
+ * component header
15
+ */
16
+ header: string;
17
+ /**
18
+ * error status
19
+ */
20
+ hasError: boolean;
21
+ private _value;
22
+ /**
23
+ * preset value
24
+ */
25
+ set value(v: number | undefined);
26
+ get value(): number | undefined;
27
+ /**
28
+ * should radio items be placed horizontally
29
+ */
30
+ horizontal: boolean;
31
+ readonly change: EventEmitter<number | undefined>;
32
+ touched: boolean;
33
+ disabled: boolean;
34
+ constructor();
35
+ private onChange;
36
+ private onTouch;
37
+ registerOnChange(fn: (value: any) => void): void;
38
+ registerOnTouched(fn: any): void;
39
+ writeValue(value: any): void;
40
+ setDisabledState(disabled: boolean): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsComponent, "aeb-radio-buttons", never, { "options": "options"; "header": "header"; "hasError": "hasError"; "value": "value"; "horizontal": "horizontal"; }, { "change": "change"; }, never, never>;
43
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./radio-buttons.component";
3
- import * as i2 from "@angular/common";
4
- export declare class RadioButtonsModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonsModule, [typeof i1.RadioButtonsComponent], [typeof i2.CommonModule], [typeof i1.RadioButtonsComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonsModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radio-buttons.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class RadioButtonsModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadioButtonsModule, [typeof i1.RadioButtonsComponent], [typeof i2.CommonModule], [typeof i1.RadioButtonsComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<RadioButtonsModule>;
8
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class HighlightPipe implements PipeTransform {
4
- transform(value: string, ...args: string[]): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight">;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HighlightPipe implements PipeTransform {
4
+ transform(value: string, ...args: string[]): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "highlight">;
7
+ }
@@ -1,27 +1,24 @@
1
- import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare type option = {
4
- value: string;
5
- description: string;
6
- image: string;
7
- };
8
- export declare class SearchComponent implements OnInit {
9
- input: ElementRef<HTMLInputElement>;
10
- change: EventEmitter<string>;
11
- withoutBg: boolean;
12
- placeholder: string;
13
- examples: string[];
14
- options: option[];
15
- value: string;
16
- onShowOptions: boolean;
17
- inputHandler(term: InputEvent): void;
18
- selectHandler(term: string): void;
19
- blurHandler(): void;
20
- focusHandler(): void;
21
- clearInput(): void;
22
- inputExample(term: string): void;
23
- constructor();
24
- ngOnInit(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "aeb-search", never, { "withoutBg": "withoutBg"; "placeholder": "placeholder"; "examples": "examples"; "options": "options"; }, { "change": "change"; }, never, never>;
27
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare type option = {
4
+ value: string;
5
+ description: string;
6
+ image: string;
7
+ };
8
+ export declare class SearchComponent {
9
+ change: EventEmitter<string>;
10
+ withoutBg: boolean;
11
+ placeholder: string;
12
+ examples: string[];
13
+ options: option[];
14
+ value: string;
15
+ onShowOptions: boolean;
16
+ inputHandler(term: InputEvent): void;
17
+ selectHandler(term: string): void;
18
+ blurHandler(): void;
19
+ focusHandler(): void;
20
+ clearInput(): void;
21
+ inputExample(term: string): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "aeb-search", never, { "withoutBg": "withoutBg"; "placeholder": "placeholder"; "examples": "examples"; "options": "options"; }, { "change": "change"; }, never, never>;
24
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./search.component";
3
- import * as i2 from "./highlight.pipe";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../click-outside/click-outside.module";
6
- export declare class SearchModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SearchModule, [typeof i1.SearchComponent, typeof i2.HighlightPipe], [typeof i3.CommonModule, typeof i4.ClickOutsideModule], [typeof i1.SearchComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SearchModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./search.component";
3
+ import * as i2 from "./highlight.pipe";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../click-outside/click-outside.module";
6
+ export declare class SearchModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchModule, [typeof i1.SearchComponent, typeof i2.HighlightPipe], [typeof i3.CommonModule, typeof i4.ClickOutsideModule], [typeof i1.SearchComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SearchModule>;
10
+ }
@@ -1,13 +1,13 @@
1
- import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class OptionComponent implements OnInit {
4
- constructor();
5
- value: string;
6
- label: string;
7
- setValue: EventEmitter<string>;
8
- ngOnInit(): void;
9
- textElement: ElementRef;
10
- ngAfterViewInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "aeb-option", never, { "value": "value"; "label": "label"; }, { "setValue": "setValue"; }, never, ["*"]>;
13
- }
1
+ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class OptionComponent implements OnInit {
4
+ constructor();
5
+ value: string;
6
+ label: string;
7
+ setValue: EventEmitter<string>;
8
+ ngOnInit(): void;
9
+ textElement: ElementRef;
10
+ ngAfterViewInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "aeb-option", never, { "value": "value"; "label": "label"; }, { "setValue": "setValue"; }, never, ["*"]>;
13
+ }
@@ -1,45 +1,45 @@
1
- import { ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
2
- import { OptionComponent } from './option.component';
3
- import { ControlValueAccessor } from '@angular/forms';
4
- import * as i0 from "@angular/core";
5
- export declare class SelectComponent implements ControlValueAccessor {
6
- private cdr;
7
- change: EventEmitter<string>;
8
- hasError: boolean;
9
- disabled: boolean;
10
- direction?: 'top' | 'bottom';
11
- isOpen?: boolean;
12
- placeholder: string;
13
- onChange: (_: string) => void;
14
- private _value;
15
- constructor(cdr: ChangeDetectorRef);
16
- get value(): string;
17
- set value(value: string);
18
- get selectedOption(): {
19
- value: string;
20
- label: string;
21
- };
22
- /**
23
- * Вызывается при задании исходного (new FormControl('I am default value'))
24
- * или нового значения сверху control.setValue('I am setted value').
25
- */
26
- writeValue(value: string): void;
27
- /**
28
- * Метод определяющий обработчик, который должен быть вызван при изменении значения
29
- * (fn является callback'ом, который уведомит форму о том, что в этом контроле изменилось значение).
30
- */
31
- registerOnChange(fn: () => void): void;
32
- /**
33
- * Определяет callback, который вызывается на blur событие (control помечается флагом touched)
34
- */
35
- registerOnTouched(): void;
36
- setValue(option: string): void;
37
- optionsQuery: QueryList<OptionComponent>;
38
- options: OptionComponent[];
39
- openDropdown(): void;
40
- closeDropdown(): void;
41
- handleClickOutside(event: Event): void;
42
- ngAfterViewInit(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "aeb-select", never, { "hasError": "hasError"; "disabled": "disabled"; "direction": "direction"; }, { "change": "change"; }, ["optionsQuery"], ["label"]>;
45
- }
1
+ import { ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
2
+ import { OptionComponent } from './option.component';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SelectComponent implements ControlValueAccessor {
6
+ private cdr;
7
+ change: EventEmitter<string>;
8
+ hasError: boolean;
9
+ disabled: boolean;
10
+ direction?: 'top' | 'bottom';
11
+ isOpen?: boolean;
12
+ placeholder: string;
13
+ onChange: (_: string) => void;
14
+ private _value;
15
+ constructor(cdr: ChangeDetectorRef);
16
+ get value(): string;
17
+ set value(value: string);
18
+ get selectedOption(): {
19
+ value: string;
20
+ label: string;
21
+ };
22
+ /**
23
+ * Вызывается при задании исходного (new FormControl('I am default value'))
24
+ * или нового значения сверху control.setValue('I am setted value').
25
+ */
26
+ writeValue(value: string): void;
27
+ /**
28
+ * Метод определяющий обработчик, который должен быть вызван при изменении значения
29
+ * (fn является callback'ом, который уведомит форму о том, что в этом контроле изменилось значение).
30
+ */
31
+ registerOnChange(fn: () => void): void;
32
+ /**
33
+ * Определяет callback, который вызывается на blur событие (control помечается флагом touched)
34
+ */
35
+ registerOnTouched(): void;
36
+ setValue(option: string): void;
37
+ optionsQuery: QueryList<OptionComponent>;
38
+ options: OptionComponent[];
39
+ openDropdown(): void;
40
+ closeDropdown(): void;
41
+ handleClickOutside(event: Event): void;
42
+ ngAfterViewInit(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "aeb-select", never, { "hasError": "hasError"; "disabled": "disabled"; "direction": "direction"; }, { "change": "change"; }, ["optionsQuery"], ["label"]>;
45
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.component";
3
- import * as i2 from "./option.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../click-outside/click-outside.module";
6
- export declare class SelectModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionComponent], [typeof i3.CommonModule, typeof i4.ClickOutsideModule], [typeof i1.SelectComponent, typeof i2.OptionComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select.component";
3
+ import * as i2 from "./option.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../click-outside/click-outside.module";
6
+ export declare class SelectModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionComponent], [typeof i3.CommonModule, typeof i4.ClickOutsideModule], [typeof i1.SelectComponent, typeof i2.OptionComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
10
+ }
@@ -1,12 +1,12 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SidebarComponent implements OnInit {
4
- isRight?: boolean;
5
- isOpen?: boolean;
6
- layoutMod: 'burger';
7
- constructor();
8
- ngOnInit(): void;
9
- handleToggleSidebar(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "aeb-sidebar", never, { "isRight": "isRight"; "isOpen": "isOpen"; "layoutMod": "layoutMod"; }, {}, never, ["*"]>;
12
- }
1
+ import * as i0 from "@angular/core";
2
+ declare type layoutMode = 'left' | 'right' | 'burger';
3
+ export declare class SidebarComponent {
4
+ isRight?: boolean;
5
+ isOpen?: boolean;
6
+ layoutMod: layoutMode;
7
+ constructor();
8
+ handleToggleSidebar(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "aeb-sidebar", never, { "isRight": "isRight"; "isOpen": "isOpen"; "layoutMod": "layoutMod"; }, {}, never, ["*"]>;
11
+ }
12
+ export {};
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sidebar.component";
3
- import * as i2 from "@angular/common";
4
- export declare class SidebarModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, [typeof i1.SidebarComponent], [typeof i2.CommonModule], [typeof i1.SidebarComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./sidebar.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SidebarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SidebarModule, [typeof i1.SidebarComponent], [typeof i2.CommonModule], [typeof i1.SidebarComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SidebarModule>;
8
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ReplacePipe implements PipeTransform {
4
- transform(value: string, strToReplace: string, replacementStr: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace">;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ReplacePipe implements PipeTransform {
4
+ transform(value: string, strToReplace: string, replacementStr: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace">;
7
+ }
@@ -1,35 +1,35 @@
1
- import { OnInit, ElementRef, AfterViewInit, Renderer2 } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class SliderComponent implements OnInit, AfterViewInit, ControlValueAccessor {
5
- private renderer;
6
- slider: ElementRef<HTMLBaseElement>;
7
- label: string;
8
- prefix: string;
9
- intialValue: number;
10
- min: number;
11
- max: number;
12
- step: number;
13
- value: number;
14
- /**
15
- * separator for currency value, 'space' by default
16
- */
17
- valueSeparator: string;
18
- isPressed?: boolean;
19
- onChange: (_: number) => void;
20
- constructor(renderer: Renderer2);
21
- ngOnInit(): void;
22
- writeValue(value: number): void;
23
- registerOnChange(fn: () => void): void;
24
- registerOnTouched(): void;
25
- get position(): number;
26
- ngAfterViewInit(): void;
27
- calculateAverage(values: number[]): number;
28
- handleStartDragging: (event: MouseEvent) => void;
29
- handleStartSwiping: (event: TouchEvent) => void;
30
- handleChangeValue(positionX: number): void;
31
- handleEndDragging: (event: MouseEvent) => void;
32
- handleEndSwiping: (event: TouchEvent) => void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "aeb-slider", never, { "label": "label"; "prefix": "prefix"; "intialValue": "intialValue"; "min": "min"; "max": "max"; "step": "step"; "value": "value"; "valueSeparator": "valueSeparator"; }, {}, never, never>;
35
- }
1
+ import { OnInit, ElementRef, AfterViewInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SliderComponent implements OnInit, AfterViewInit, ControlValueAccessor {
5
+ private renderer;
6
+ slider: ElementRef<HTMLBaseElement>;
7
+ label: string;
8
+ prefix: string;
9
+ intialValue: number;
10
+ min: number;
11
+ max: number;
12
+ step: number;
13
+ value: number;
14
+ /**
15
+ * separator for currency value, 'space' by default
16
+ */
17
+ valueSeparator: string;
18
+ isPressed?: boolean;
19
+ onChange: (_: number) => void;
20
+ constructor(renderer: Renderer2);
21
+ ngOnInit(): void;
22
+ writeValue(value: number): void;
23
+ registerOnChange(fn: () => void): void;
24
+ registerOnTouched(): void;
25
+ get position(): number;
26
+ ngAfterViewInit(): void;
27
+ calculateAverage(values: number[]): number;
28
+ handleStartDragging: (event: MouseEvent) => void;
29
+ handleStartSwiping: (event: TouchEvent) => void;
30
+ handleChangeValue(positionX: number): void;
31
+ handleEndDragging: (event: MouseEvent) => void;
32
+ handleEndSwiping: (event: TouchEvent) => void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "aeb-slider", never, { "label": "label"; "prefix": "prefix"; "intialValue": "intialValue"; "min": "min"; "max": "max"; "step": "step"; "value": "value"; "valueSeparator": "valueSeparator"; }, {}, never, never>;
35
+ }