ngx-sfc-components 0.0.1

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 (232) hide show
  1. package/README.md +685 -0
  2. package/esm2020/lib/components/avatar/avatar.component.mjs +83 -0
  3. package/esm2020/lib/components/avatar/avatar.constants.mjs +9 -0
  4. package/esm2020/lib/components/avatar/models/avatar-data.model.mjs +2 -0
  5. package/esm2020/lib/components/avatar/models/avatar-image.model.mjs +14 -0
  6. package/esm2020/lib/components/avatar/models/avatar-progress.model.mjs +2 -0
  7. package/esm2020/lib/components/avatar/parts/badge/avatar-badge-position.enum.mjs +12 -0
  8. package/esm2020/lib/components/avatar/parts/badge/avatar-badge.component.mjs +88 -0
  9. package/esm2020/lib/components/avatar/parts/badge/avatar-badge.constants.mjs +5 -0
  10. package/esm2020/lib/components/carousel/carousel.component.mjs +230 -0
  11. package/esm2020/lib/components/carousel/carousel.enum.mjs +33 -0
  12. package/esm2020/lib/components/carousel/directive/carousel-slide.directive.mjs +31 -0
  13. package/esm2020/lib/components/carousel/models/dom.model.mjs +2 -0
  14. package/esm2020/lib/components/carousel/models/navigation.model.mjs +2 -0
  15. package/esm2020/lib/components/carousel/models/options.model.mjs +2 -0
  16. package/esm2020/lib/components/carousel/models/slide.model.mjs +3 -0
  17. package/esm2020/lib/components/carousel/parts/stage/carousel-stage.component.mjs +83 -0
  18. package/esm2020/lib/components/carousel/parts/stage/carousel-stage.model.mjs +2 -0
  19. package/esm2020/lib/components/carousel/service/animate/carousel-animate.service.mjs +86 -0
  20. package/esm2020/lib/components/carousel/service/autoplay/carousel-autoplay.service.mjs +129 -0
  21. package/esm2020/lib/components/carousel/service/carousel/carousel-service.constants.mjs +44 -0
  22. package/esm2020/lib/components/carousel/service/carousel/carousel-service.enum.mjs +14 -0
  23. package/esm2020/lib/components/carousel/service/carousel/carousel-service.model.mjs +2 -0
  24. package/esm2020/lib/components/carousel/service/carousel/carousel.service.mjs +697 -0
  25. package/esm2020/lib/components/carousel/service/lazy/carousel-lazy-load.service.mjs +59 -0
  26. package/esm2020/lib/components/carousel/service/navigation/carousel-navigation.service.mjs +211 -0
  27. package/esm2020/lib/components/chart/chart-option.model.mjs +2 -0
  28. package/esm2020/lib/components/chart/chart.component.mjs +124 -0
  29. package/esm2020/lib/components/chart/chart.constants.mjs +95 -0
  30. package/esm2020/lib/components/chart/service/settings/chart-settings.service.mjs +87 -0
  31. package/esm2020/lib/components/chart/service/theme/chart-theme.model.mjs +2 -0
  32. package/esm2020/lib/components/chart/service/theme/chart-theme.service.mjs +25 -0
  33. package/esm2020/lib/components/index.mjs +40 -0
  34. package/esm2020/lib/components/menu/dropdown/dropdown-menu.component.mjs +86 -0
  35. package/esm2020/lib/components/menu/dropdown/parts/item/dropdown-menu-item.component.mjs +26 -0
  36. package/esm2020/lib/components/menu/dropdown/parts/item/dropdown-menu-item.model.mjs +2 -0
  37. package/esm2020/lib/components/menu/navigation/navigation-menu.component.mjs +26 -0
  38. package/esm2020/lib/components/menu/navigation/parts/item/navigation-menu-item.component.mjs +31 -0
  39. package/esm2020/lib/components/menu/navigation/parts/item/navigation-menu-item.model.mjs +2 -0
  40. package/esm2020/lib/components/menu/side/parts/header/side-menu-header.component.mjs +31 -0
  41. package/esm2020/lib/components/menu/side/parts/item/content/side-menu-item-content.component.mjs +56 -0
  42. package/esm2020/lib/components/menu/side/parts/item/side-menu-item.component.mjs +81 -0
  43. package/esm2020/lib/components/menu/side/parts/title/side-menu-title.component.mjs +24 -0
  44. package/esm2020/lib/components/menu/side/side-menu.component.mjs +47 -0
  45. package/esm2020/lib/components/menu/side/side-menu.model.mjs +6 -0
  46. package/esm2020/lib/components/no-export-index.mjs +15 -0
  47. package/esm2020/lib/components/notification/enums/notification-template.enum.mjs +5 -0
  48. package/esm2020/lib/components/notification/enums/notification-type.enum.mjs +7 -0
  49. package/esm2020/lib/components/notification/notification-auto-close.model.mjs +2 -0
  50. package/esm2020/lib/components/notification/notification.component.mjs +67 -0
  51. package/esm2020/lib/components/notification/parts/content/notification-content.component.mjs +33 -0
  52. package/esm2020/lib/components/notification/parts/content/notification-content.model.mjs +2 -0
  53. package/esm2020/lib/components/progress/circle/progress-circle.component.mjs +23 -0
  54. package/esm2020/lib/components/progress/line/progress-line.component.mjs +40 -0
  55. package/esm2020/lib/components/progress/progress-color.enum.mjs +13 -0
  56. package/esm2020/lib/components/progress/progress.component.mjs +50 -0
  57. package/esm2020/lib/components/progress/semi-circle/progress-semi-circle.component.mjs +42 -0
  58. package/esm2020/lib/components/slider/parts/button/slider-button-type.enum.mjs +6 -0
  59. package/esm2020/lib/components/slider/parts/button/slider-button.component.mjs +34 -0
  60. package/esm2020/lib/components/slider/parts/item/slider-item.component.mjs +17 -0
  61. package/esm2020/lib/components/slider/parts/item/slider-item.model.mjs +2 -0
  62. package/esm2020/lib/components/slider/parts/pagination/slider-pagination.component.mjs +29 -0
  63. package/esm2020/lib/components/slider/service/automatic/slider-automatic.service.mjs +35 -0
  64. package/esm2020/lib/components/slider/service/slider/slider-move-type.enum.mjs +7 -0
  65. package/esm2020/lib/components/slider/service/slider/slider-move.event.mjs +2 -0
  66. package/esm2020/lib/components/slider/service/slider/slider-move.model.mjs +2 -0
  67. package/esm2020/lib/components/slider/service/slider/slider.service.mjs +40 -0
  68. package/esm2020/lib/components/slider/slider-type.enum.mjs +6 -0
  69. package/esm2020/lib/components/slider/slider.component.mjs +116 -0
  70. package/esm2020/lib/components/stars/star-type.enum.mjs +9 -0
  71. package/esm2020/lib/components/stars/stars.component.mjs +42 -0
  72. package/esm2020/lib/components/table/enums/table-data-type.enum.mjs +6 -0
  73. package/esm2020/lib/components/table/enums/table-template.enum.mjs +7 -0
  74. package/esm2020/lib/components/table/models/table-pagination.model.mjs +2 -0
  75. package/esm2020/lib/components/table/models/table.model.mjs +2 -0
  76. package/esm2020/lib/components/table/parts/columns/default/default-table-column.component.mjs +24 -0
  77. package/esm2020/lib/components/table/parts/columns/selectable/selectable-table-column.component.mjs +30 -0
  78. package/esm2020/lib/components/table/parts/columns/table-column-type.enum.mjs +8 -0
  79. package/esm2020/lib/components/table/parts/columns/table-column.model.mjs +2 -0
  80. package/esm2020/lib/components/table/parts/content/base-default-table-content.component.mjs +74 -0
  81. package/esm2020/lib/components/table/parts/content/cards/default/default-table-card.component.mjs +14 -0
  82. package/esm2020/lib/components/table/parts/content/rows/default/default-table-row.component.mjs +28 -0
  83. package/esm2020/lib/components/table/parts/content/rows/expanded/expanded-table-row-template.enum.mjs +6 -0
  84. package/esm2020/lib/components/table/parts/content/rows/expanded/expanded-table-row.component.mjs +42 -0
  85. package/esm2020/lib/components/table/parts/content/rows/expanded/expanded-table-row.model.mjs +2 -0
  86. package/esm2020/lib/components/table/parts/toggle/columns-toggle.component.mjs +33 -0
  87. package/esm2020/lib/components/table/parts/toggle/columns-toggle.constants.mjs +11 -0
  88. package/esm2020/lib/components/table/parts/toggle/service/columns-toggle.service.mjs +34 -0
  89. package/esm2020/lib/components/table/service/select/table-select.event.mjs +2 -0
  90. package/esm2020/lib/components/table/service/select/table-select.service.mjs +24 -0
  91. package/esm2020/lib/components/table/table.component.mjs +250 -0
  92. package/esm2020/lib/components/table/table.constants.mjs +11 -0
  93. package/esm2020/lib/components/tabs/models/tab.model.mjs +2 -0
  94. package/esm2020/lib/components/tabs/models/tabs-view.model.mjs +2 -0
  95. package/esm2020/lib/components/tabs/parts/labels/tab-label-content-base.component.mjs +29 -0
  96. package/esm2020/lib/components/tabs/parts/labels/tab-label-icon/tab-label-icon.component.mjs +20 -0
  97. package/esm2020/lib/components/tabs/parts/labels/tab-label-line/tab-label-line.component.mjs +13 -0
  98. package/esm2020/lib/components/tabs/parts/sliders/tab-label-icon/tab-label-icon-slider.component.mjs +20 -0
  99. package/esm2020/lib/components/tabs/parts/sliders/tab-label-line/tab-label-line-slider.component.mjs +20 -0
  100. package/esm2020/lib/components/tabs/parts/sliders/tab-slider-base.component.mjs +18 -0
  101. package/esm2020/lib/components/tabs/parts/sliders/tab-slider-context.model.mjs +2 -0
  102. package/esm2020/lib/components/tabs/service/tab.service.mjs +11 -0
  103. package/esm2020/lib/components/tabs/tabs-template.enum.mjs +7 -0
  104. package/esm2020/lib/components/tabs/tabs.component.mjs +69 -0
  105. package/esm2020/lib/components/tags/parts/tag/tag.component.mjs +18 -0
  106. package/esm2020/lib/components/tags/parts/tag/tag.model.mjs +2 -0
  107. package/esm2020/lib/components/tags/tags.component.mjs +18 -0
  108. package/esm2020/lib/components/timeline/parts/item/timeline-item-position.enum.mjs +6 -0
  109. package/esm2020/lib/components/timeline/parts/item/timeline-item.component.mjs +34 -0
  110. package/esm2020/lib/components/timeline/parts/item/timeline-item.model.mjs +2 -0
  111. package/esm2020/lib/components/timeline/timeline.component.mjs +18 -0
  112. package/esm2020/lib/ngx-sfc-components.module.mjs +208 -0
  113. package/esm2020/ngx-sfc-components.mjs +5 -0
  114. package/esm2020/public-api.mjs +6 -0
  115. package/fesm2015/ngx-sfc-components.mjs +4006 -0
  116. package/fesm2015/ngx-sfc-components.mjs.map +1 -0
  117. package/fesm2020/ngx-sfc-components.mjs +3989 -0
  118. package/fesm2020/ngx-sfc-components.mjs.map +1 -0
  119. package/lib/components/avatar/avatar.component.d.ts +42 -0
  120. package/lib/components/avatar/avatar.constants.d.ts +8 -0
  121. package/lib/components/avatar/models/avatar-data.model.d.ts +6 -0
  122. package/lib/components/avatar/models/avatar-image.model.d.ts +12 -0
  123. package/lib/components/avatar/models/avatar-progress.model.d.ts +4 -0
  124. package/lib/components/avatar/parts/badge/avatar-badge-position.enum.d.ts +10 -0
  125. package/lib/components/avatar/parts/badge/avatar-badge.component.d.ts +14 -0
  126. package/lib/components/avatar/parts/badge/avatar-badge.constants.d.ts +4 -0
  127. package/lib/components/carousel/carousel.component.d.ts +62 -0
  128. package/lib/components/carousel/carousel.enum.d.ts +26 -0
  129. package/lib/components/carousel/directive/carousel-slide.directive.d.ts +13 -0
  130. package/lib/components/carousel/models/dom.model.d.ts +7 -0
  131. package/lib/components/carousel/models/navigation.model.d.ts +17 -0
  132. package/lib/components/carousel/models/options.model.d.ts +40 -0
  133. package/lib/components/carousel/models/slide.model.d.ts +28 -0
  134. package/lib/components/carousel/parts/stage/carousel-stage.component.d.ts +30 -0
  135. package/lib/components/carousel/parts/stage/carousel-stage.model.d.ts +7 -0
  136. package/lib/components/carousel/service/animate/carousel-animate.service.d.ts +17 -0
  137. package/lib/components/carousel/service/autoplay/carousel-autoplay.service.d.ts +29 -0
  138. package/lib/components/carousel/service/carousel/carousel-service.constants.d.ts +5 -0
  139. package/lib/components/carousel/service/carousel/carousel-service.enum.d.ts +9 -0
  140. package/lib/components/carousel/service/carousel/carousel-service.model.d.ts +21 -0
  141. package/lib/components/carousel/service/carousel/carousel.service.d.ts +92 -0
  142. package/lib/components/carousel/service/lazy/carousel-lazy-load.service.d.ts +14 -0
  143. package/lib/components/carousel/service/navigation/carousel-navigation.service.d.ts +28 -0
  144. package/lib/components/chart/chart-option.model.d.ts +9 -0
  145. package/lib/components/chart/chart.component.d.ts +38 -0
  146. package/lib/components/chart/chart.constants.d.ts +100 -0
  147. package/lib/components/chart/service/settings/chart-settings.service.d.ts +14 -0
  148. package/lib/components/chart/service/theme/chart-theme.model.d.ts +15 -0
  149. package/lib/components/chart/service/theme/chart-theme.service.d.ts +11 -0
  150. package/lib/components/index.d.ts +56 -0
  151. package/lib/components/menu/dropdown/dropdown-menu.component.d.ts +28 -0
  152. package/lib/components/menu/dropdown/parts/item/dropdown-menu-item.component.d.ts +8 -0
  153. package/lib/components/menu/dropdown/parts/item/dropdown-menu-item.model.d.ts +6 -0
  154. package/lib/components/menu/navigation/navigation-menu.component.d.ts +10 -0
  155. package/lib/components/menu/navigation/parts/item/navigation-menu-item.component.d.ts +9 -0
  156. package/lib/components/menu/navigation/parts/item/navigation-menu-item.model.d.ts +6 -0
  157. package/lib/components/menu/side/parts/header/side-menu-header.component.d.ts +11 -0
  158. package/lib/components/menu/side/parts/item/content/side-menu-item-content.component.d.ts +17 -0
  159. package/lib/components/menu/side/parts/item/side-menu-item.component.d.ts +17 -0
  160. package/lib/components/menu/side/parts/title/side-menu-title.component.d.ts +7 -0
  161. package/lib/components/menu/side/side-menu.component.d.ts +13 -0
  162. package/lib/components/menu/side/side-menu.model.d.ts +15 -0
  163. package/lib/components/no-export-index.d.ts +14 -0
  164. package/lib/components/notification/enums/notification-template.enum.d.ts +3 -0
  165. package/lib/components/notification/enums/notification-type.enum.d.ts +5 -0
  166. package/lib/components/notification/notification-auto-close.model.d.ts +4 -0
  167. package/lib/components/notification/notification.component.d.ts +26 -0
  168. package/lib/components/notification/parts/content/notification-content.component.d.ts +14 -0
  169. package/lib/components/notification/parts/content/notification-content.model.d.ts +8 -0
  170. package/lib/components/progress/circle/progress-circle.component.d.ts +8 -0
  171. package/lib/components/progress/line/progress-line.component.d.ts +17 -0
  172. package/lib/components/progress/progress-color.enum.d.ts +11 -0
  173. package/lib/components/progress/progress.component.d.ts +9 -0
  174. package/lib/components/progress/semi-circle/progress-semi-circle.component.d.ts +16 -0
  175. package/lib/components/slider/parts/button/slider-button-type.enum.d.ts +4 -0
  176. package/lib/components/slider/parts/button/slider-button.component.d.ts +11 -0
  177. package/lib/components/slider/parts/item/slider-item.component.d.ts +7 -0
  178. package/lib/components/slider/parts/item/slider-item.model.d.ts +5 -0
  179. package/lib/components/slider/parts/pagination/slider-pagination.component.d.ts +11 -0
  180. package/lib/components/slider/service/automatic/slider-automatic.service.d.ts +17 -0
  181. package/lib/components/slider/service/slider/slider-move-type.enum.d.ts +5 -0
  182. package/lib/components/slider/service/slider/slider-move.event.d.ts +5 -0
  183. package/lib/components/slider/service/slider/slider-move.model.d.ts +4 -0
  184. package/lib/components/slider/service/slider/slider.service.d.ts +12 -0
  185. package/lib/components/slider/slider-type.enum.d.ts +4 -0
  186. package/lib/components/slider/slider.component.d.ts +45 -0
  187. package/lib/components/stars/star-type.enum.d.ts +7 -0
  188. package/lib/components/stars/stars.component.d.ts +11 -0
  189. package/lib/components/table/enums/table-data-type.enum.d.ts +4 -0
  190. package/lib/components/table/enums/table-template.enum.d.ts +5 -0
  191. package/lib/components/table/models/table-pagination.model.d.ts +5 -0
  192. package/lib/components/table/models/table.model.d.ts +9 -0
  193. package/lib/components/table/parts/columns/default/default-table-column.component.d.ts +8 -0
  194. package/lib/components/table/parts/columns/selectable/selectable-table-column.component.d.ts +10 -0
  195. package/lib/components/table/parts/columns/table-column-type.enum.d.ts +6 -0
  196. package/lib/components/table/parts/columns/table-column.model.d.ts +11 -0
  197. package/lib/components/table/parts/content/base-default-table-content.component.d.ts +27 -0
  198. package/lib/components/table/parts/content/cards/default/default-table-card.component.d.ts +6 -0
  199. package/lib/components/table/parts/content/rows/default/default-table-row.component.d.ts +10 -0
  200. package/lib/components/table/parts/content/rows/expanded/expanded-table-row-template.enum.d.ts +4 -0
  201. package/lib/components/table/parts/content/rows/expanded/expanded-table-row.component.d.ts +16 -0
  202. package/lib/components/table/parts/content/rows/expanded/expanded-table-row.model.d.ts +11 -0
  203. package/lib/components/table/parts/toggle/columns-toggle.component.d.ts +13 -0
  204. package/lib/components/table/parts/toggle/columns-toggle.constants.d.ts +10 -0
  205. package/lib/components/table/parts/toggle/service/columns-toggle.service.d.ts +15 -0
  206. package/lib/components/table/service/select/table-select.event.d.ts +4 -0
  207. package/lib/components/table/service/select/table-select.service.d.ts +11 -0
  208. package/lib/components/table/table.component.d.ts +74 -0
  209. package/lib/components/table/table.constants.d.ts +11 -0
  210. package/lib/components/tabs/models/tab.model.d.ts +7 -0
  211. package/lib/components/tabs/models/tabs-view.model.d.ts +8 -0
  212. package/lib/components/tabs/parts/labels/tab-label-content-base.component.d.ts +9 -0
  213. package/lib/components/tabs/parts/labels/tab-label-icon/tab-label-icon.component.d.ts +9 -0
  214. package/lib/components/tabs/parts/labels/tab-label-line/tab-label-line.component.d.ts +6 -0
  215. package/lib/components/tabs/parts/sliders/tab-label-icon/tab-label-icon-slider.component.d.ts +7 -0
  216. package/lib/components/tabs/parts/sliders/tab-label-line/tab-label-line-slider.component.d.ts +10 -0
  217. package/lib/components/tabs/parts/sliders/tab-slider-base.component.d.ts +8 -0
  218. package/lib/components/tabs/parts/sliders/tab-slider-context.model.d.ts +4 -0
  219. package/lib/components/tabs/service/tab.service.d.ts +6 -0
  220. package/lib/components/tabs/tabs-template.enum.d.ts +5 -0
  221. package/lib/components/tabs/tabs.component.d.ts +26 -0
  222. package/lib/components/tags/parts/tag/tag.component.d.ts +7 -0
  223. package/lib/components/tags/parts/tag/tag.model.d.ts +4 -0
  224. package/lib/components/tags/tags.component.d.ts +7 -0
  225. package/lib/components/timeline/parts/item/timeline-item-position.enum.d.ts +4 -0
  226. package/lib/components/timeline/parts/item/timeline-item.component.d.ts +11 -0
  227. package/lib/components/timeline/parts/item/timeline-item.model.d.ts +10 -0
  228. package/lib/components/timeline/timeline.component.d.ts +7 -0
  229. package/lib/ngx-sfc-components.module.d.ts +49 -0
  230. package/ngx-sfc-components.d.ts +5 -0
  231. package/package.json +50 -0
  232. package/public-api.d.ts +2 -0
@@ -0,0 +1,42 @@
1
+ import { AfterContentInit, OnInit, QueryList } from '@angular/core';
2
+ import { IAvatarDataModel } from './models/avatar-data.model';
3
+ import { AvatarImageModel } from './models/avatar-image.model';
4
+ import { IAvatarProgressModel } from './models/avatar-progress.model';
5
+ import { AvatarBadgeComponent } from './parts/badge/avatar-badge.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AvatarComponent implements OnInit, AfterContentInit {
8
+ readonly PROGRESS_MODEL_DEFAULT: IAvatarProgressModel;
9
+ readonly DATA_MODEL_DEFAULT: IAvatarDataModel;
10
+ readonly STROKE_HOVER_VALUE = 2;
11
+ readonly FULLNAME_PART_VALUE = 4;
12
+ readonly TITLE_PART_VALUE = 5;
13
+ /**
14
+ * Avatar radius (80 by default)
15
+ */
16
+ radius: number;
17
+ /**
18
+ * Size of avatar progress circle (2 by default)
19
+ */
20
+ stroke: number;
21
+ /**
22
+ * Progress value
23
+ */
24
+ progress: number;
25
+ /**
26
+ * Progress colors model
27
+ */
28
+ progressModel: IAvatarProgressModel;
29
+ data: IAvatarDataModel;
30
+ stars: boolean;
31
+ starsValue: number;
32
+ badges: QueryList<AvatarBadgeComponent>;
33
+ /**
34
+ * Avatar image calculated values
35
+ */
36
+ imageModel: AvatarImageModel;
37
+ ngOnInit(): void;
38
+ ngAfterContentInit(): void;
39
+ get strokeDashOffset(): number;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "sfc-avatar", never, { "radius": "radius"; "stroke": "stroke"; "progress": "progress"; "progressModel": "progressModel"; "data": "data"; "stars": "stars"; "starsValue": "starsValue"; }, {}, ["badges"], ["*"]>;
42
+ }
@@ -0,0 +1,8 @@
1
+ export declare class AvatarConstants {
2
+ static DEFAULT_RADIUS: number;
3
+ static DEFAULT_STROKE: number;
4
+ static STARS_DEFAULT_COUNT: number;
5
+ static PROGRESS_DEFAULT_COLOR: string;
6
+ static PROGRESS_DEFAULT_FILLED_COLOR: string;
7
+ static DATA_DEFAULT_IMAGE: string;
8
+ }
@@ -0,0 +1,6 @@
1
+ export interface IAvatarDataModel {
2
+ firstName?: string;
3
+ lastName?: string;
4
+ image?: string;
5
+ title?: string;
6
+ }
@@ -0,0 +1,12 @@
1
+ export declare class AvatarImageModel {
2
+ private radius;
3
+ private stroke;
4
+ private image;
5
+ NormalizedRadius: number;
6
+ ImageRadius: number;
7
+ Circumference: number;
8
+ Height: number;
9
+ Width: number;
10
+ ImageId: string;
11
+ constructor(radius: number, stroke: number, image: string);
12
+ }
@@ -0,0 +1,4 @@
1
+ export interface IAvatarProgressModel {
2
+ color?: string;
3
+ filledColor?: string;
4
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum AvatarBadgePosition {
2
+ Top = "top",
3
+ RightTop = "right-top",
4
+ Right = "right",
5
+ RightBottom = "right-bottom",
6
+ Bottom = "bottom",
7
+ LeftTop = "left-top",
8
+ Left = "left",
9
+ LeftBottom = "left-bottom"
10
+ }
@@ -0,0 +1,14 @@
1
+ import { AvatarBadgePosition } from './avatar-badge-position.enum';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AvatarBadgeComponent {
4
+ position: AvatarBadgePosition;
5
+ background?: string;
6
+ radius: number;
7
+ normalizedRadius: number;
8
+ stroke: number;
9
+ get styles(): any;
10
+ private get positionStyle();
11
+ private get sizePart();
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarBadgeComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarBadgeComponent, "sfc-avatar-badge", never, { "position": "position"; "background": "background"; }, {}, never, ["*"]>;
14
+ }
@@ -0,0 +1,4 @@
1
+ export declare class AvatarBadgeConstants {
2
+ static SIZE_MULTIPLIER: number;
3
+ static TEXT_SIZE_MULTIPLIER: number;
4
+ }
@@ -0,0 +1,62 @@
1
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
2
+ import { ResizeService } from 'ngx-sfc-common';
3
+ import { CarouselSlideDirective } from './directive/carousel-slide.directive';
4
+ import { CarouselDOMModel } from './models/dom.model';
5
+ import { CarouselNavigationDotsModel, CarouselNavigationModel } from './models/navigation.model';
6
+ import { CarouselOptionsModel } from './models/options.model';
7
+ import { CarouselSlideModel, CarouselSlideEvent } from './models/slide.model';
8
+ import { CarouselStageModel } from './parts/stage/carousel-stage.model';
9
+ import { CarouselAnimateService } from './service/animate/carousel-animate.service';
10
+ import { CarouselAutoplayService } from './service/autoplay/carousel-autoplay.service';
11
+ import { CarouselService } from './service/carousel/carousel.service';
12
+ import { CarouselLazyLoadService } from './service/lazy/carousel-lazy-load.service';
13
+ import { CarouselNavigationService } from './service/navigation/carousel-navigation.service';
14
+ import * as i0 from "@angular/core";
15
+ export declare class CarouselComponent implements OnInit, AfterContentInit, OnDestroy {
16
+ private el;
17
+ private resizeService;
18
+ private carouselService;
19
+ private navigationService;
20
+ private autoplayService;
21
+ private lazyLoadService;
22
+ private animateService;
23
+ private changeDetectorRef;
24
+ options: CarouselOptionsModel;
25
+ translated: EventEmitter<CarouselSlideEvent>;
26
+ initialized: EventEmitter<CarouselSlideEvent>;
27
+ changing: EventEmitter<CarouselSlideEvent>;
28
+ changed: EventEmitter<CarouselSlideEvent>;
29
+ slides: QueryList<CarouselSlideDirective>;
30
+ private resizeSubscription;
31
+ private carouselSubscription;
32
+ private slidesChangesSubscription;
33
+ carouselDOMModel: CarouselDOMModel;
34
+ stageModel: CarouselStageModel;
35
+ slidesModel: CarouselSlideModel[];
36
+ navigationModel: CarouselNavigationModel;
37
+ navigationDotsModel: CarouselNavigationDotsModel;
38
+ slideEvent: CarouselSlideEvent;
39
+ carouselLoaded: boolean;
40
+ get rtl(): boolean;
41
+ get clientWidth(): number;
42
+ private carouselWindowWidth;
43
+ private documentRef;
44
+ constructor(el: ElementRef, resizeService: ResizeService, carouselService: CarouselService, navigationService: CarouselNavigationService, autoplayService: CarouselAutoplayService, lazyLoadService: CarouselLazyLoadService, animateService: CarouselAnimateService, changeDetectorRef: ChangeDetectorRef, documentRef: any);
45
+ onVisibilityChange(): void;
46
+ ngOnInit(): void;
47
+ ngAfterContentInit(): void;
48
+ ngOnDestroy(): void;
49
+ initDataStreams(): void;
50
+ private initResizeWatcher;
51
+ onTransitionEnd(): void;
52
+ next(): void;
53
+ previous(): void;
54
+ moveByDot(dotId: string): void;
55
+ pause(): void;
56
+ play(): void;
57
+ stopAutoplay(): void;
58
+ startAutoplay(): void;
59
+ private gatherTranslatedData;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "sfc-carousel", never, { "options": "options"; }, { "translated": "translated"; "initialized": "initialized"; "changing": "changing"; "changed": "changed"; }, ["slides"], never>;
62
+ }
@@ -0,0 +1,26 @@
1
+ export declare enum CarouselProperty {
2
+ Position = "position",
3
+ Settings = "settings",
4
+ Width = "width",
5
+ Items = "items"
6
+ }
7
+ export declare enum CarouselState {
8
+ Busy = "busy",
9
+ Interacting = "interacting",
10
+ Rotating = "rotating"
11
+ }
12
+ export declare enum CarouselEventType {
13
+ Initializing = "initializing",
14
+ Initialized = "initialized",
15
+ Change = "change",
16
+ Changed = "changed",
17
+ Resize = "resize",
18
+ Resizing = "resizing",
19
+ Resized = "resized",
20
+ Refresh = "refresh",
21
+ Refreshed = "refreshed",
22
+ Translate = "translate",
23
+ Translated = "translated",
24
+ Animating = "animating",
25
+ Refreshing = "refreshing"
26
+ }
@@ -0,0 +1,13 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class CarouselSlideDirective {
4
+ tplRef: TemplateRef<any>;
5
+ id: string;
6
+ private _dataMerge;
7
+ set dataMerge(data: number);
8
+ get dataMerge(): number;
9
+ width: number;
10
+ constructor(tplRef: TemplateRef<any>);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselSlideDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselSlideDirective, "ng-template[sfcCarouselSlide]", never, { "id": "id"; "dataMerge": "dataMerge"; "width": "width"; }, {}, never>;
13
+ }
@@ -0,0 +1,7 @@
1
+ export interface CarouselDOMModel {
2
+ rtl: boolean;
3
+ isResponsive: boolean;
4
+ isRefreshed: boolean;
5
+ isLoaded: boolean;
6
+ isLoading: boolean;
7
+ }
@@ -0,0 +1,17 @@
1
+ export interface CarouselNavigationButtonModel {
2
+ disabled: boolean;
3
+ label: string;
4
+ }
5
+ export interface CarouselNavigationModel {
6
+ disabled: boolean;
7
+ previous: CarouselNavigationButtonModel;
8
+ next: CarouselNavigationButtonModel;
9
+ }
10
+ export interface CarouselNavigationDot {
11
+ id: string;
12
+ active: boolean;
13
+ }
14
+ export interface CarouselNavigationDotsModel {
15
+ disabled: boolean;
16
+ dots: CarouselNavigationDot[];
17
+ }
@@ -0,0 +1,40 @@
1
+ export interface CarouselOptions {
2
+ items?: number;
3
+ skip_validateItems?: boolean;
4
+ loop?: boolean;
5
+ center?: boolean;
6
+ rewind?: boolean;
7
+ margin?: number;
8
+ stagePadding?: number;
9
+ merge?: boolean;
10
+ mergeFit?: boolean;
11
+ autoWidth?: boolean;
12
+ responsiveRefreshRate?: number;
13
+ nav?: boolean;
14
+ navSpeed?: number | boolean;
15
+ slideBy?: number | string;
16
+ dots?: boolean;
17
+ dotsEach?: number | boolean;
18
+ dotsSpeed?: number | boolean;
19
+ autoplay?: boolean;
20
+ autoplayTimeout?: number;
21
+ autoplaySpeed?: number | boolean;
22
+ autoplayMouseleaveTimeout?: number;
23
+ slideTransition?: string;
24
+ animateOut?: string | boolean;
25
+ animateIn?: string | boolean;
26
+ autoHeight?: boolean;
27
+ }
28
+ export interface CarouselResponsiveModel {
29
+ [key: number]: CarouselOptions;
30
+ }
31
+ export interface CarouselOptionsModel extends CarouselOptions {
32
+ startPosition?: number | string;
33
+ rtl?: boolean;
34
+ responsive?: CarouselResponsiveModel;
35
+ navText?: string[];
36
+ navigationDotsModel?: boolean;
37
+ autoplayHoverPause?: boolean;
38
+ lazyLoad?: boolean;
39
+ lazyLoadEager?: number;
40
+ }
@@ -0,0 +1,28 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ export interface CarouselSlideModel {
3
+ id: string;
4
+ isActive?: boolean;
5
+ tplRef: TemplateRef<any> | null;
6
+ dataMerge?: number;
7
+ width?: number | string;
8
+ marginL?: number | string;
9
+ marginR?: number | string;
10
+ isCentered?: boolean;
11
+ center?: boolean;
12
+ isCloned?: boolean;
13
+ load?: boolean;
14
+ left?: number | string;
15
+ classes: {
16
+ [key: string]: boolean;
17
+ };
18
+ isAnimated?: boolean;
19
+ isDefAnimatedIn?: boolean;
20
+ isDefAnimatedOut?: boolean;
21
+ isCustomAnimatedIn?: boolean;
22
+ isCustomAnimatedOut?: boolean;
23
+ heightState?: string;
24
+ }
25
+ export interface CarouselSlideEvent {
26
+ startPosition?: number;
27
+ slides?: CarouselSlideModel[];
28
+ }
@@ -0,0 +1,30 @@
1
+ import { CarouselSlideModel } from '../../models/slide.model';
2
+ import { CarouselAnimateService } from '../../service/animate/carousel-animate.service';
3
+ import { CarouselService } from '../../service/carousel/carousel.service';
4
+ import { CarouselStageModel } from './carousel-stage.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CarouselStageComponent {
7
+ private carouselService;
8
+ private animateService;
9
+ stageModel: CarouselStageModel;
10
+ slidesModel: CarouselSlideModel[];
11
+ get styles(): {
12
+ width: string;
13
+ transform: string;
14
+ transition: string;
15
+ paddingLeft: string;
16
+ paddingRight: string;
17
+ };
18
+ constructor(carouselService: CarouselService, animateService: CarouselAnimateService);
19
+ getItemStyles(slide: CarouselSlideModel): {
20
+ width: string;
21
+ marginLeft: string;
22
+ marginRight: string;
23
+ left: string;
24
+ };
25
+ onTransitionEnd(): void;
26
+ clear(id: string): void;
27
+ preparePublicSlide: (slide: CarouselSlideModel) => CarouselSlideModel;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselStageComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselStageComponent, "sfc-carousel-stage", never, { "stageModel": "stageModel"; "slidesModel": "slidesModel"; }, {}, never, never>;
30
+ }
@@ -0,0 +1,7 @@
1
+ export interface CarouselStageModel {
2
+ transform: string;
3
+ transition: string;
4
+ width: number | string;
5
+ paddingL: number | string;
6
+ paddingR: number | string;
7
+ }
@@ -0,0 +1,17 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { CarouselService } from '../carousel/carousel.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CarouselAnimateService implements OnDestroy {
5
+ private carouselService;
6
+ private swapping;
7
+ private previous?;
8
+ private next;
9
+ private animateSubscription;
10
+ constructor(carouselService: CarouselService);
11
+ ngOnDestroy(): void;
12
+ private initDataStreams;
13
+ private swap;
14
+ clear(id: string): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselAnimateService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarouselAnimateService>;
17
+ }
@@ -0,0 +1,29 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { CarouselService } from '../carousel/carousel.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CarouselAutoplayService implements OnDestroy {
5
+ private carouselService;
6
+ private autoplaySubscription;
7
+ private timeout;
8
+ private paused;
9
+ private isArtificialAutoplayTimeout;
10
+ private _isAutoplayStopped;
11
+ get isAutoplayStopped(): boolean;
12
+ set isAutoplayStopped(value: boolean);
13
+ private winRef;
14
+ private docRef;
15
+ constructor(carouselService: CarouselService, winRef: any, docRef: any);
16
+ ngOnDestroy(): void;
17
+ play(): void;
18
+ stop(): void;
19
+ pause(): void;
20
+ startPausing(): void;
21
+ startPlayingMouseLeave(): void;
22
+ private initDataStreams;
23
+ private getNextTimeout;
24
+ private setAutoPlayInterval;
25
+ private handleChangeObservable;
26
+ private playAfterTranslated;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselAutoplayService, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarouselAutoplayService>;
29
+ }
@@ -0,0 +1,5 @@
1
+ import { CarouselOptionsModel } from "../../models/options.model";
2
+ export declare class CarouselServiceConstants {
3
+ static CLONE_ID_PREFIX: string;
4
+ static DEFAULT_OPTIONS: CarouselOptionsModel;
5
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum Type {
2
+ Event = "event",
3
+ State = "state"
4
+ }
5
+ export declare enum Width {
6
+ Default = "default",
7
+ Inner = "inner",
8
+ Outer = "outer"
9
+ }
@@ -0,0 +1,21 @@
1
+ import { CarouselDOMModel } from "../../models/dom.model";
2
+ import { CarouselNavigationDotsModel, CarouselNavigationModel } from "../../models/navigation.model";
3
+ import { CarouselSlideModel } from "../../models/slide.model";
4
+ import { CarouselStageModel } from "../../parts/stage/carousel-stage.model";
5
+ export interface States {
6
+ current: {};
7
+ tags: {
8
+ [key: string]: string[];
9
+ };
10
+ }
11
+ export interface Coords {
12
+ x: number;
13
+ y: number;
14
+ }
15
+ export interface CarouselCurrentData {
16
+ carouselDOMModel: CarouselDOMModel;
17
+ stageModel: CarouselStageModel;
18
+ slidesModel: CarouselSlideModel[];
19
+ navigationModel: CarouselNavigationModel;
20
+ navigationDotsModel: CarouselNavigationDotsModel;
21
+ }
@@ -0,0 +1,92 @@
1
+ import { Observable } from 'rxjs';
2
+ import { CarouselSlideDirective } from '../../directive/carousel-slide.directive';
3
+ import { CarouselNavigationDotsModel, CarouselNavigationModel } from '../../models/navigation.model';
4
+ import { CarouselOptionsModel } from '../../models/options.model';
5
+ import { CarouselSlideModel } from '../../models/slide.model';
6
+ import { CarouselCurrentData } from './carousel-service.model';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CarouselService {
9
+ private _viewSettingsShipper$;
10
+ private _initializedCarousel$;
11
+ private _changeSettingsCarousel$;
12
+ private _changedSettingsCarousel$;
13
+ private _translateCarousel$;
14
+ private _translatedCarousel$;
15
+ private _resizeCarousel$;
16
+ private _resizedCarousel$;
17
+ private _refreshCarousel$;
18
+ private _refreshedCarousel$;
19
+ private carouselDOMModel;
20
+ private stageModel;
21
+ private _width;
22
+ private _items;
23
+ private _widths;
24
+ private _supress;
25
+ private _current;
26
+ private _clones;
27
+ private _mergers;
28
+ private _speed;
29
+ private _coordinates;
30
+ private _invalidated;
31
+ private _states;
32
+ private _pipe;
33
+ settings: CarouselOptionsModel;
34
+ slidesModel: CarouselSlideModel[];
35
+ navigationModel: CarouselNavigationModel;
36
+ navigationDotsModel: CarouselNavigationDotsModel;
37
+ options: CarouselOptionsModel;
38
+ get viewCurrrentSettings(): Observable<CarouselCurrentData>;
39
+ get initializedState(): Observable<string>;
40
+ get changeState(): Observable<any>;
41
+ get changedState(): Observable<any>;
42
+ get translateState(): Observable<string>;
43
+ get translatedState(): Observable<string>;
44
+ get resizeState(): Observable<string>;
45
+ get resizedState(): Observable<string>;
46
+ get refreshState(): Observable<string>;
47
+ get refreshedState(): Observable<string>;
48
+ setup(carouselWidth: number, slides: CarouselSlideDirective[], options: CarouselOptionsModel): void;
49
+ initialize(slides: CarouselSlideDirective[]): void;
50
+ sendChanges(): void;
51
+ onResize(curWidth: number): void;
52
+ is(state: string): boolean;
53
+ current(position?: number): number | undefined;
54
+ relative(position: number): number;
55
+ maximum(relative?: boolean): number;
56
+ minimum(relative?: boolean): number;
57
+ items(position?: number): CarouselSlideDirective[];
58
+ mergers(position: number): number | number[];
59
+ clones(position?: number): number[];
60
+ speed(speed?: number): number;
61
+ coordinates(position: number | null | undefined): number | number[];
62
+ to(position: number, speed: number | boolean): void;
63
+ next(speed: number | boolean): void;
64
+ previous(speed: number | boolean): void;
65
+ onTransitionEnd(event?: any): void;
66
+ setCurrentSlideClasses(slide: CarouselSlideModel): {
67
+ [key: string]: boolean;
68
+ };
69
+ enter(name: string): void;
70
+ leave(name: string): void;
71
+ private setOptions;
72
+ private validateItems;
73
+ private setCarouselWidth;
74
+ private setOptionsForViewport;
75
+ private optionsLogic;
76
+ private update;
77
+ private width;
78
+ private refresh;
79
+ private animate;
80
+ private invalidate;
81
+ private reset;
82
+ private normalize;
83
+ private duration;
84
+ private setItems;
85
+ private defineSlidesData;
86
+ private op;
87
+ private trigger;
88
+ private suppress;
89
+ private release;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselService, never>;
91
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarouselService>;
92
+ }
@@ -0,0 +1,14 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { CarouselService } from '../carousel/carousel.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CarouselLazyLoadService implements OnDestroy {
5
+ private carouselService;
6
+ private lazyLoadSubscription;
7
+ constructor(carouselService: CarouselService);
8
+ ngOnDestroy(): void;
9
+ private initDataStreams;
10
+ private defineLazyLoadSlides;
11
+ private load;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselLazyLoadService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarouselLazyLoadService>;
14
+ }
@@ -0,0 +1,28 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { CarouselService } from '../carousel/carousel.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CarouselNavigationService implements OnDestroy {
5
+ private carouselService;
6
+ private navSubscription;
7
+ private pages;
8
+ private navigationModel;
9
+ private navigationDotsModel;
10
+ constructor(carouselService: CarouselService);
11
+ ngOnDestroy(): void;
12
+ next(speed: number | boolean): void;
13
+ previous(speed: number | boolean): void;
14
+ to(position: number, speed: number | boolean, standard?: boolean): void;
15
+ moveByDot(dotId: string): void;
16
+ toSlideById(id: string): void;
17
+ private initDataStreams;
18
+ private initialize;
19
+ private updateNavPages;
20
+ private draw;
21
+ private update;
22
+ private updateNavButtons;
23
+ private updateDots;
24
+ private getCurrent;
25
+ private getPosition;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselNavigationService, never>;
27
+ static ɵprov: i0.ɵɵInjectableDeclaration<CarouselNavigationService>;
28
+ }
@@ -0,0 +1,9 @@
1
+ export interface ChartOptionModel {
2
+ legend?: boolean;
3
+ gridLines?: boolean;
4
+ xAxe?: boolean;
5
+ yAxe?: boolean;
6
+ tooltip?: boolean;
7
+ ticks?: boolean;
8
+ defaultColors?: boolean;
9
+ }
@@ -0,0 +1,38 @@
1
+ import { AfterViewInit, NgZone, OnDestroy, OnInit } from '@angular/core';
2
+ import { ChartConfiguration, ChartType, DefaultDataPoint } from 'chart.js';
3
+ import { Theme } from 'ngx-sfc-common';
4
+ import { ChartOptionModel } from './chart-option.model';
5
+ import { ChartSettingsService } from './service/settings/chart-settings.service';
6
+ import { ChartThemeService } from './service/theme/chart-theme.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ChartComponent<TType extends ChartType = ChartType, TData = DefaultDataPoint<TType>, TLabel = unknown> implements OnInit, AfterViewInit, OnDestroy {
9
+ private zone;
10
+ private themeService;
11
+ private settingsService;
12
+ type: ChartConfiguration<TType, TData, TLabel>['type'];
13
+ data: ChartConfiguration<TType, TData, TLabel>['data'];
14
+ options: ChartConfiguration<TType, TData, TLabel>['options'];
15
+ plugins?: ChartConfiguration<TType, TData, TLabel>['plugins'];
16
+ labels?: ChartConfiguration<TType, TData, TLabel>['data']['labels'];
17
+ datasets?: ChartConfiguration<TType, TData, TLabel>['data']['datasets'];
18
+ chartOptions: ChartOptionModel;
19
+ get theme(): Theme;
20
+ set theme(value: Theme);
21
+ private _theme;
22
+ private canvas;
23
+ private chart?;
24
+ private _themeSubscription?;
25
+ private get themeOptions();
26
+ constructor(zone: NgZone, themeService: ChartThemeService, settingsService: ChartSettingsService);
27
+ ngOnInit(): void;
28
+ ngAfterViewInit(): void;
29
+ ngOnDestroy(): void;
30
+ update(): void;
31
+ private getChartConfiguration;
32
+ private getChartData;
33
+ private getChartOptions;
34
+ private overrideDefaultOptionsByModel;
35
+ private updateColors;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent<any, any, any>, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent<any, any, any>, "sfc-chart", never, { "type": "type"; "data": "data"; "options": "options"; "plugins": "plugins"; "labels": "labels"; "datasets": "datasets"; "chartOptions": "chartOptions"; "theme": "theme"; }, {}, never, never>;
38
+ }