@entake/particle 17.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 (208) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +396 -0
  3. package/app/modules/accordion/accordion.component.d.ts +26 -0
  4. package/app/modules/accordion/accordion.module.d.ts +11 -0
  5. package/app/modules/accordion/directives/accordion-content.directive.d.ts +8 -0
  6. package/app/modules/accordion/directives/accordion-header.directive.d.ts +8 -0
  7. package/app/modules/accordion/directives/accordion-item.directive.d.ts +13 -0
  8. package/app/modules/background-carousel/background-carousel.directive.d.ts +42 -0
  9. package/app/modules/background-carousel/carousel-options.model.d.ts +30 -0
  10. package/app/modules/background-carousel/particle-background-carousel.module.d.ts +8 -0
  11. package/app/modules/checkbox/checkbox.component.d.ts +43 -0
  12. package/app/modules/checkbox/checkbox.module.d.ts +9 -0
  13. package/app/modules/color-picker/color-picker.component.d.ts +149 -0
  14. package/app/modules/color-picker/color-picker.module.d.ts +9 -0
  15. package/app/modules/date-picker/components/calendar/calendar.component.d.ts +211 -0
  16. package/app/modules/date-picker/components/date-range-picker/date-range-picker.component.d.ts +95 -0
  17. package/app/modules/date-picker/date-picker.component.d.ts +259 -0
  18. package/app/modules/date-picker/date-picker.module.d.ts +15 -0
  19. package/app/modules/dialog/dialog.component.d.ts +87 -0
  20. package/app/modules/dialog/dialog.module.d.ts +9 -0
  21. package/app/modules/dropdown/dropdown.component.d.ts +288 -0
  22. package/app/modules/dropdown/dropdown.module.d.ts +9 -0
  23. package/app/modules/dropdown/models/dropdown-option-group.model.d.ts +16 -0
  24. package/app/modules/dropdown/models/dropdown-option.model.d.ts +25 -0
  25. package/app/modules/endpoint-state/components/endpoint-state.component.d.ts +46 -0
  26. package/app/modules/endpoint-state/endpoint-state.module.d.ts +8 -0
  27. package/app/modules/icons/components/icon-select.component.d.ts +229 -0
  28. package/app/modules/icons/models/fontawesome-icons-brands.model.d.ts +13 -0
  29. package/app/modules/icons/models/fontawesome-icons-regular.model.d.ts +13 -0
  30. package/app/modules/icons/models/fontawesome-icons-solid.model.d.ts +13 -0
  31. package/app/modules/icons/models/particle-icons-light.model.d.ts +197 -0
  32. package/app/modules/icons/models/particle-icons-regular.model.d.ts +205 -0
  33. package/app/modules/icons/models/particle-icons-solid.model.d.ts +365 -0
  34. package/app/modules/icons/particle-icons.module.d.ts +13 -0
  35. package/app/modules/icons/services/icons.service.d.ts +44 -0
  36. package/app/modules/idle-timeout/idle-timeout.component.d.ts +35 -0
  37. package/app/modules/idle-timeout/idle-timer.d.ts +14 -0
  38. package/app/modules/idle-timeout/particle-idle-timeout.module.d.ts +9 -0
  39. package/app/modules/input-mask/input-mask.component.d.ts +86 -0
  40. package/app/modules/input-mask/input-mask.module.d.ts +8 -0
  41. package/app/modules/keyfilter/keyfilter.directive.d.ts +60 -0
  42. package/app/modules/keyfilter/keyfilter.module.d.ts +8 -0
  43. package/app/modules/layout/components/layout-full-framing/layout-full-framing.component.d.ts +27 -0
  44. package/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +23 -0
  45. package/app/modules/layout/layout.module.d.ts +10 -0
  46. package/app/modules/loader/components/loader.component.d.ts +11 -0
  47. package/app/modules/loader/loader.module.d.ts +8 -0
  48. package/app/modules/multi-select/models/multi-select-option-group.model.d.ts +16 -0
  49. package/app/modules/multi-select/models/multi-select-option.model.d.ts +25 -0
  50. package/app/modules/multi-select/multi-select.component.d.ts +279 -0
  51. package/app/modules/multi-select/multi-select.module.d.ts +8 -0
  52. package/app/modules/notification/models/notification.model.d.ts +21 -0
  53. package/app/modules/notification/notification.component.d.ts +46 -0
  54. package/app/modules/notification/notification.module.d.ts +8 -0
  55. package/app/modules/notification/services/notification.service.d.ts +54 -0
  56. package/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.d.ts +8 -0
  57. package/app/modules/ordinal-number-pipe/ordinal-number.pipe.d.ts +15 -0
  58. package/app/modules/paginator/pagination-event.model.d.ts +24 -0
  59. package/app/modules/paginator/paginator.component.d.ts +103 -0
  60. package/app/modules/paginator/particle-paginator.module.d.ts +13 -0
  61. package/app/modules/popover/popover.component.d.ts +140 -0
  62. package/app/modules/popover/popover.module.d.ts +9 -0
  63. package/app/modules/profile-pic/particle-profile-pic.module.d.ts +9 -0
  64. package/app/modules/profile-pic/profile-pic.component.d.ts +32 -0
  65. package/app/modules/progress-bar/progress-bar.component.d.ts +16 -0
  66. package/app/modules/progress-bar/progress-bar.module.d.ts +8 -0
  67. package/app/modules/push-container/particle-push-container.module.d.ts +9 -0
  68. package/app/modules/push-container/push-container-state.model.d.ts +7 -0
  69. package/app/modules/push-container/push-container.component.d.ts +137 -0
  70. package/app/modules/rich-text/particle-rich-text.module.d.ts +15 -0
  71. package/app/modules/rich-text/render-rich-text.component.d.ts +6 -0
  72. package/app/modules/rich-text/rich-text-capabilities.model.d.ts +7 -0
  73. package/app/modules/rich-text/rich-text.component.d.ts +48 -0
  74. package/app/modules/scroll-to-top/particle-scroll-to-top.module.d.ts +8 -0
  75. package/app/modules/scroll-to-top/scroll-to-top.component.d.ts +19 -0
  76. package/app/modules/slideover/particle-slideover.module.d.ts +8 -0
  77. package/app/modules/slideover/slideover.component.d.ts +35 -0
  78. package/app/modules/slider/slider.component.d.ts +143 -0
  79. package/app/modules/slider/slider.module.d.ts +9 -0
  80. package/app/modules/theming/components/theming.component.d.ts +43 -0
  81. package/app/modules/theming/models/theme.model.d.ts +88 -0
  82. package/app/modules/theming/services/theme-change-detection.service.d.ts +26 -0
  83. package/app/modules/theming/services/theming.service.d.ts +142 -0
  84. package/app/modules/theming/theming.module.d.ts +12 -0
  85. package/app/modules/toggle-switch/models/toggle-options.model.d.ts +11 -0
  86. package/app/modules/toggle-switch/toggle-switch.component.d.ts +43 -0
  87. package/app/modules/toggle-switch/toggle-switch.module.d.ts +8 -0
  88. package/app/modules/tooltip/tooltip.directive.d.ts +157 -0
  89. package/app/modules/tooltip/tooltip.module.d.ts +8 -0
  90. package/app/modules/week-picker/week-picker.component.d.ts +289 -0
  91. package/app/modules/week-picker/week-picker.module.d.ts +13 -0
  92. package/app/shared/enums/endpoint-status.enum.d.ts +9 -0
  93. package/app/shared/interceptors/json.interceptor.d.ts +17 -0
  94. package/app/shared/models/auditable.model.d.ts +21 -0
  95. package/app/shared/models/data-list.model.d.ts +9 -0
  96. package/app/shared/models/id.model.d.ts +9 -0
  97. package/app/shared/models/observable-container.d.ts +8 -0
  98. package/app/shared/models/particle-component-text.model.d.ts +211 -0
  99. package/app/shared/services/base-data.service.d.ts +130 -0
  100. package/app/shared/services/dialog.service.d.ts +10 -0
  101. package/app/shared/services/local-storage.service.d.ts +41 -0
  102. package/esm2022/app/modules/accordion/accordion.component.mjs +101 -0
  103. package/esm2022/app/modules/accordion/accordion.module.mjs +37 -0
  104. package/esm2022/app/modules/accordion/directives/accordion-content.directive.mjs +17 -0
  105. package/esm2022/app/modules/accordion/directives/accordion-header.directive.mjs +17 -0
  106. package/esm2022/app/modules/accordion/directives/accordion-item.directive.mjs +36 -0
  107. package/esm2022/app/modules/background-carousel/background-carousel.directive.mjs +91 -0
  108. package/esm2022/app/modules/background-carousel/carousel-options.model.mjs +36 -0
  109. package/esm2022/app/modules/background-carousel/particle-background-carousel.module.mjs +24 -0
  110. package/esm2022/app/modules/checkbox/checkbox.component.mjs +108 -0
  111. package/esm2022/app/modules/checkbox/checkbox.module.mjs +28 -0
  112. package/esm2022/app/modules/color-picker/color-picker.component.mjs +306 -0
  113. package/esm2022/app/modules/color-picker/color-picker.module.mjs +19 -0
  114. package/esm2022/app/modules/date-picker/components/calendar/calendar.component.mjs +496 -0
  115. package/esm2022/app/modules/date-picker/components/date-range-picker/date-range-picker.component.mjs +250 -0
  116. package/esm2022/app/modules/date-picker/date-picker.component.mjs +538 -0
  117. package/esm2022/app/modules/date-picker/date-picker.module.mjs +56 -0
  118. package/esm2022/app/modules/dialog/dialog.component.mjs +177 -0
  119. package/esm2022/app/modules/dialog/dialog.module.mjs +28 -0
  120. package/esm2022/app/modules/dropdown/dropdown.component.mjs +682 -0
  121. package/esm2022/app/modules/dropdown/dropdown.module.mjs +28 -0
  122. package/esm2022/app/modules/dropdown/models/dropdown-option-group.model.mjs +2 -0
  123. package/esm2022/app/modules/dropdown/models/dropdown-option.model.mjs +2 -0
  124. package/esm2022/app/modules/endpoint-state/components/endpoint-state.component.mjs +75 -0
  125. package/esm2022/app/modules/endpoint-state/endpoint-state.module.mjs +22 -0
  126. package/esm2022/app/modules/icons/components/icon-select.component.mjs +377 -0
  127. package/esm2022/app/modules/icons/models/fontawesome-icons-brands.model.mjs +471 -0
  128. package/esm2022/app/modules/icons/models/fontawesome-icons-regular.model.mjs +166 -0
  129. package/esm2022/app/modules/icons/models/fontawesome-icons-solid.model.mjs +1016 -0
  130. package/esm2022/app/modules/icons/models/particle-icons-light.model.mjs +310 -0
  131. package/esm2022/app/modules/icons/models/particle-icons-regular.model.mjs +324 -0
  132. package/esm2022/app/modules/icons/models/particle-icons-solid.model.mjs +581 -0
  133. package/esm2022/app/modules/icons/particle-icons.module.mjs +66 -0
  134. package/esm2022/app/modules/icons/services/icons.service.mjs +86 -0
  135. package/esm2022/app/modules/idle-timeout/idle-timeout.component.mjs +85 -0
  136. package/esm2022/app/modules/idle-timeout/idle-timer.mjs +66 -0
  137. package/esm2022/app/modules/idle-timeout/particle-idle-timeout.module.mjs +28 -0
  138. package/esm2022/app/modules/input-mask/input-mask.component.mjs +594 -0
  139. package/esm2022/app/modules/input-mask/input-mask.module.mjs +18 -0
  140. package/esm2022/app/modules/keyfilter/keyfilter.directive.mjs +158 -0
  141. package/esm2022/app/modules/keyfilter/keyfilter.module.mjs +18 -0
  142. package/esm2022/app/modules/layout/components/layout-full-framing/layout-full-framing.component.mjs +79 -0
  143. package/esm2022/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.mjs +65 -0
  144. package/esm2022/app/modules/layout/layout.module.mjs +33 -0
  145. package/esm2022/app/modules/loader/components/loader.component.mjs +30 -0
  146. package/esm2022/app/modules/loader/loader.module.mjs +24 -0
  147. package/esm2022/app/modules/multi-select/models/multi-select-option-group.model.mjs +2 -0
  148. package/esm2022/app/modules/multi-select/models/multi-select-option.model.mjs +2 -0
  149. package/esm2022/app/modules/multi-select/multi-select.component.mjs +665 -0
  150. package/esm2022/app/modules/multi-select/multi-select.module.mjs +18 -0
  151. package/esm2022/app/modules/notification/models/notification.model.mjs +2 -0
  152. package/esm2022/app/modules/notification/notification.component.mjs +122 -0
  153. package/esm2022/app/modules/notification/notification.module.mjs +18 -0
  154. package/esm2022/app/modules/notification/services/notification.service.mjs +84 -0
  155. package/esm2022/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.mjs +20 -0
  156. package/esm2022/app/modules/ordinal-number-pipe/ordinal-number.pipe.mjs +49 -0
  157. package/esm2022/app/modules/paginator/pagination-event.model.mjs +29 -0
  158. package/esm2022/app/modules/paginator/paginator.component.mjs +207 -0
  159. package/esm2022/app/modules/paginator/particle-paginator.module.mjs +48 -0
  160. package/esm2022/app/modules/popover/popover.component.mjs +352 -0
  161. package/esm2022/app/modules/popover/popover.module.mjs +24 -0
  162. package/esm2022/app/modules/profile-pic/particle-profile-pic.module.mjs +28 -0
  163. package/esm2022/app/modules/profile-pic/profile-pic.component.mjs +74 -0
  164. package/esm2022/app/modules/progress-bar/progress-bar.component.mjs +43 -0
  165. package/esm2022/app/modules/progress-bar/progress-bar.module.mjs +24 -0
  166. package/esm2022/app/modules/push-container/particle-push-container.module.mjs +26 -0
  167. package/esm2022/app/modules/push-container/push-container-state.model.mjs +2 -0
  168. package/esm2022/app/modules/push-container/push-container.component.mjs +363 -0
  169. package/esm2022/app/modules/rich-text/particle-rich-text.module.mjs +64 -0
  170. package/esm2022/app/modules/rich-text/render-rich-text.component.mjs +18 -0
  171. package/esm2022/app/modules/rich-text/rich-text-capabilities.model.mjs +2 -0
  172. package/esm2022/app/modules/rich-text/rich-text.component.mjs +187 -0
  173. package/esm2022/app/modules/scroll-to-top/particle-scroll-to-top.module.mjs +24 -0
  174. package/esm2022/app/modules/scroll-to-top/scroll-to-top.component.mjs +49 -0
  175. package/esm2022/app/modules/slideover/particle-slideover.module.mjs +24 -0
  176. package/esm2022/app/modules/slideover/slideover.component.mjs +115 -0
  177. package/esm2022/app/modules/slider/slider.component.mjs +243 -0
  178. package/esm2022/app/modules/slider/slider.module.mjs +26 -0
  179. package/esm2022/app/modules/theming/components/theming.component.mjs +86 -0
  180. package/esm2022/app/modules/theming/models/theme.model.mjs +9 -0
  181. package/esm2022/app/modules/theming/services/theme-change-detection.service.mjs +38 -0
  182. package/esm2022/app/modules/theming/services/theming.service.mjs +507 -0
  183. package/esm2022/app/modules/theming/theming.module.mjs +55 -0
  184. package/esm2022/app/modules/toggle-switch/models/toggle-options.model.mjs +2 -0
  185. package/esm2022/app/modules/toggle-switch/toggle-switch.component.mjs +107 -0
  186. package/esm2022/app/modules/toggle-switch/toggle-switch.module.mjs +24 -0
  187. package/esm2022/app/modules/tooltip/tooltip.directive.mjs +381 -0
  188. package/esm2022/app/modules/tooltip/tooltip.module.mjs +18 -0
  189. package/esm2022/app/modules/week-picker/week-picker.component.mjs +511 -0
  190. package/esm2022/app/modules/week-picker/week-picker.module.mjs +40 -0
  191. package/esm2022/app/shared/enums/endpoint-status.enum.mjs +11 -0
  192. package/esm2022/app/shared/interceptors/json.interceptor.mjs +23 -0
  193. package/esm2022/app/shared/models/auditable.model.mjs +2 -0
  194. package/esm2022/app/shared/models/data-list.model.mjs +2 -0
  195. package/esm2022/app/shared/models/id.model.mjs +2 -0
  196. package/esm2022/app/shared/models/observable-container.mjs +15 -0
  197. package/esm2022/app/shared/models/particle-component-text.model.mjs +2 -0
  198. package/esm2022/app/shared/services/base-data.service.mjs +190 -0
  199. package/esm2022/app/shared/services/dialog.service.mjs +50 -0
  200. package/esm2022/app/shared/services/local-storage.service.mjs +60 -0
  201. package/esm2022/entake-particle.mjs +5 -0
  202. package/esm2022/public_api.mjs +98 -0
  203. package/fesm2022/entake-particle.mjs +12477 -0
  204. package/fesm2022/entake-particle.mjs.map +1 -0
  205. package/index.d.ts +5 -0
  206. package/package.json +65 -0
  207. package/particle.css +1 -0
  208. package/public_api.d.ts +97 -0
@@ -0,0 +1,54 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Notification } from '../models/notification.model';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service for adding/deleting notifications
6
+ */
7
+ export declare class NotificationService {
8
+ /**
9
+ * Valid characters that a notification ID can be composed from
10
+ * @private
11
+ */
12
+ private static readonly ID_CHARACTERS;
13
+ /**
14
+ * BehaviorSubject tracking an array of active notifications
15
+ * @private
16
+ */
17
+ private readonly _notifications;
18
+ /**
19
+ * The number of milliseconds before an added notification automatically removes itself.
20
+ * Defaults to 3000 milliseconds
21
+ * @private
22
+ */
23
+ private notificationLife;
24
+ /**
25
+ * Generate a random ID
26
+ * @private
27
+ */
28
+ private static generateId;
29
+ /**
30
+ * Dependency injection site
31
+ */
32
+ constructor();
33
+ /**
34
+ * Add a notification
35
+ * @param notification the notification to add
36
+ */
37
+ add(notification: Notification): void;
38
+ /**
39
+ * Delete a notification
40
+ * @param id the ID of the notification to delete
41
+ */
42
+ deleteNotification(id: string): void;
43
+ /**
44
+ * Get notifications as an Observable
45
+ */
46
+ getNotifications(): Observable<Array<Notification>>;
47
+ /**
48
+ * Set the number of milliseconds before added notifications disappear
49
+ * @param milliseconds the number of milliseconds to set
50
+ */
51
+ setNotificationLife(milliseconds: number): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
53
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
54
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ordinal-number.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ParticleOrdinalNumberPipeModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticleOrdinalNumberPipeModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleOrdinalNumberPipeModule, [typeof i1.OrdinalNumberPipe], [typeof i2.CommonModule], [typeof i1.OrdinalNumberPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticleOrdinalNumberPipeModule>;
8
+ }
@@ -0,0 +1,15 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Pipe to transform an input number into its ordinal format
5
+ */
6
+ export declare class OrdinalNumberPipe implements PipeTransform {
7
+ /**
8
+ * Transform the input number/string (must be a valid number if string)
9
+ * into Ordinal format (1 -> 1st, 2 -> 2nd, etc)
10
+ * @param value the number to transform
11
+ */
12
+ transform(value: number | string): string;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrdinalNumberPipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<OrdinalNumberPipe, "ordinalNumber", false>;
15
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Representation of a pagination event
3
+ */
4
+ export declare class PaginationEvent {
5
+ /**
6
+ * Current Page
7
+ */
8
+ activePage: number;
9
+ /**
10
+ * Size of a Page
11
+ */
12
+ pageSize: number;
13
+ /**
14
+ * Total Size to paginate over
15
+ */
16
+ totalLength: number;
17
+ /**
18
+ * Constructor that takes all variables to easily emit it in the event of pagination or page size change.
19
+ * @param activePage
20
+ * @param pageSize
21
+ * @param totalLength
22
+ */
23
+ constructor(activePage: number, pageSize: number, totalLength: number);
24
+ }
@@ -0,0 +1,103 @@
1
+ import { EventEmitter, OnChanges, AfterViewInit } from '@angular/core';
2
+ import { PaginatorText } from '../../shared/models/particle-component-text.model';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A Particle paginator, because we hated the other ones on the market.
6
+ */
7
+ export declare class PaginatorComponent implements OnChanges, AfterViewInit {
8
+ private _pageSize;
9
+ /**
10
+ * An array of potential page sizes.
11
+ */
12
+ pageSizeOptions: Array<number>;
13
+ /**
14
+ * Current page size
15
+ */
16
+ set pageSize(pageSize: number);
17
+ get pageSize(): number;
18
+ /**
19
+ * Total number of items
20
+ */
21
+ totalLength: number;
22
+ showPages: boolean;
23
+ showFirstLast: boolean;
24
+ showButtonLabels: boolean;
25
+ showResultsPanel: boolean;
26
+ text: PaginatorText;
27
+ /**
28
+ * Event Emitter for pagination or page size change.
29
+ */
30
+ paginate: EventEmitter<any>;
31
+ /**
32
+ * Currently active page
33
+ */
34
+ activePage: number;
35
+ /**
36
+ * For the page jump text input
37
+ */
38
+ pageJumpInput: string;
39
+ /**
40
+ * Number of pages
41
+ */
42
+ numberOfPages: number;
43
+ pageStartingValue: number;
44
+ pageEndingValue: number;
45
+ Math: Math;
46
+ /**
47
+ * Recalculate number of pages on input change
48
+ */
49
+ ngOnChanges(): void;
50
+ ngAfterViewInit(): void;
51
+ private resetPageStartEndValues;
52
+ /**
53
+ * Goes to the first page
54
+ */
55
+ goToFirst(): void;
56
+ /**
57
+ * Goes to the last page
58
+ */
59
+ goToLast(): void;
60
+ /**
61
+ * Calculates the number of pages
62
+ */
63
+ getNumberOfPages(): number;
64
+ /**
65
+ * Goes to a given page and emits a pagination event
66
+ *
67
+ * @param pageNumber
68
+ * @param inputFocus
69
+ */
70
+ goToPage(pageNumber: number, inputFocus?: boolean): void;
71
+ /**
72
+ * Emits a pagination event with the current paginator data
73
+ */
74
+ emitEvent(): void;
75
+ /**
76
+ * Determines whether a given page exists or not.
77
+ *
78
+ * @param pageNumber
79
+ */
80
+ hasPage(pageNumber: number): boolean;
81
+ /**
82
+ * Gets the first value for a given page
83
+ *
84
+ * @param pageNumber
85
+ */
86
+ getStartingValueForPage(pageNumber: number): number;
87
+ /**
88
+ * Gets the last value for a given page
89
+ *
90
+ * @param pageNumber
91
+ */
92
+ getEndingValueForPage(pageNumber: number): number;
93
+ /**
94
+ * When a page size is changed, go back to the first page and emit a pagination event
95
+ */
96
+ pageSizeChange(): void;
97
+ /**
98
+ * Jump to a page based on user input
99
+ */
100
+ jumpPage(): void;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "particle-paginator", never, { "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalLength": { "alias": "totalLength"; "required": false; }; "showPages": { "alias": "showPages"; "required": false; }; "showFirstLast": { "alias": "showFirstLast"; "required": false; }; "showButtonLabels": { "alias": "showButtonLabels"; "required": false; }; "showResultsPanel": { "alias": "showResultsPanel"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "paginate": "paginate"; }, never, never, false, never>;
103
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./paginator.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/platform-browser";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/common/http";
7
+ import * as i6 from "@angular/platform-browser/animations";
8
+ import * as i7 from "../popover/popover.module";
9
+ export declare class ParticlePaginatorModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticlePaginatorModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticlePaginatorModule, [typeof i1.PaginatorComponent], [typeof i2.CommonModule, typeof i3.BrowserModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.HttpClientModule, typeof i6.BrowserAnimationsModule, typeof i7.ParticlePopoverModule], [typeof i1.PaginatorComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticlePaginatorModule>;
13
+ }
@@ -0,0 +1,140 @@
1
+ import { AnimationEvent } from '@angular/animations';
2
+ import { EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Component to display a popover with custom content
6
+ */
7
+ export declare class PopoverComponent implements OnDestroy {
8
+ private renderer;
9
+ protected readonly window: Window & typeof globalThis;
10
+ /**
11
+ * The offset of the popover from its target (in pixels)
12
+ */
13
+ offset: number;
14
+ /**
15
+ * Set the width of the popover in pixels (defaults to auto)
16
+ */
17
+ set width(width: string);
18
+ get width(): string;
19
+ /**
20
+ * Set the height of the popover in pixels (defaults to auto)
21
+ */
22
+ set height(height: string);
23
+ get height(): string;
24
+ /**
25
+ * A class-list to apply to the popover content
26
+ */
27
+ classList: string;
28
+ targetOverride: EventTarget;
29
+ openDirection: 'above' | 'below';
30
+ alignment: 'left' | 'center';
31
+ scaleForMobile: string;
32
+ /**
33
+ * Event emitted on popover open
34
+ */
35
+ opened: EventEmitter<void>;
36
+ /**
37
+ * Event emitted on popover close
38
+ */
39
+ closed: EventEmitter<void>;
40
+ /**
41
+ * Whether the popover should render
42
+ */
43
+ render: boolean;
44
+ /**
45
+ * Whether the popover is visible
46
+ */
47
+ visible: boolean;
48
+ /**
49
+ * The width of the popover
50
+ */
51
+ private _width;
52
+ /**
53
+ * The height of the popover
54
+ */
55
+ private _height;
56
+ /**
57
+ * The element to target
58
+ * @private
59
+ */
60
+ private target;
61
+ /**
62
+ * The popover content container
63
+ * @private
64
+ */
65
+ private container;
66
+ /**
67
+ * Array of escape keyup unlisten functions
68
+ * @private
69
+ */
70
+ private escapeKeyUpUnlisteners;
71
+ /**
72
+ * Dependency injection site
73
+ * @param renderer the Angular renderer
74
+ */
75
+ constructor(renderer: Renderer2);
76
+ /**
77
+ * Destroy component, clean up event listeners
78
+ */
79
+ ngOnDestroy(): void;
80
+ /**
81
+ * Close popover on click
82
+ * @param event the click MouseEvent
83
+ */
84
+ onClick(event: MouseEvent): void;
85
+ /**
86
+ * Re-position popover on window resize
87
+ */
88
+ onWindowResize(): void;
89
+ /**
90
+ * Toggle the popover from open to closed or closed to open
91
+ * @param event the event whose target element will act as
92
+ * the popover target. If an event is not provided,
93
+ * the popover will close
94
+ */
95
+ toggle(event?: Event): void;
96
+ /**
97
+ * Handle animation start
98
+ * @param event the AnimationEvent
99
+ */
100
+ onAnimationStart(event: AnimationEvent): void;
101
+ /**
102
+ * Handle animation end
103
+ * @param event the AnimationEvent
104
+ */
105
+ onAnimationDone(event: AnimationEvent): void;
106
+ /**
107
+ * Open the popover
108
+ * @private
109
+ */
110
+ private open;
111
+ /**
112
+ * Close the popover
113
+ */
114
+ close(): void;
115
+ /**
116
+ * Position the popover
117
+ * @private
118
+ */
119
+ private positionPopover;
120
+ /**
121
+ * Add escape keyup listeners to all focusable elements to close
122
+ * the popover
123
+ * @private
124
+ */
125
+ private addEventListeners;
126
+ /**
127
+ * Get all focusable child elements of the input node
128
+ * @param node the node to query for focusable children
129
+ * @param elements the found focusable elements
130
+ * @private
131
+ */
132
+ private getFocusableElements;
133
+ /**
134
+ * Invoke escape keyup unlisten functions
135
+ * @private
136
+ */
137
+ private removeEventListeners;
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
139
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "particle-popover", never, { "offset": { "alias": "offset"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; "targetOverride": { "alias": "targetOverride"; "required": false; }; "openDirection": { "alias": "openDirection"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "scaleForMobile": { "alias": "scaleForMobile"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], false, never>;
140
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./popover.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/cdk/a11y";
5
+ export declare class ParticlePopoverModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticlePopoverModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticlePopoverModule, [typeof i1.PopoverComponent], [typeof i2.CommonModule, typeof i3.A11yModule], [typeof i1.PopoverComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticlePopoverModule>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./profile-pic.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../tooltip/tooltip.module";
5
+ export declare class ParticleProfilePicModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticleProfilePicModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleProfilePicModule, [typeof i1.ProfilePicComponent], [typeof i2.CommonModule, typeof i3.ParticleTooltipModule], [typeof i1.ProfilePicComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticleProfilePicModule>;
9
+ }
@@ -0,0 +1,32 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Profile Pic display shortcut
4
+ */
5
+ export declare class ProfilePicComponent {
6
+ /**
7
+ * Size of the profile pic circle (default to 50px)
8
+ */
9
+ size: string;
10
+ /**
11
+ * Configurable CSS Margin
12
+ */
13
+ margin: string;
14
+ /**
15
+ * Image URL of the profile pic
16
+ */
17
+ imageUrl: string;
18
+ /**
19
+ * Tooltip to explain what the picture is
20
+ */
21
+ toolTip: string;
22
+ /**
23
+ * Use gravatar instead of a custom image
24
+ */
25
+ gravatarEmail: string;
26
+ /**
27
+ * Returns a CSS URL of the Image URL.
28
+ */
29
+ getUrl(): string;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePicComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfilePicComponent, "particle-profile-pic", never, { "size": { "alias": "size"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "toolTip": { "alias": "toolTip"; "required": false; }; "gravatarEmail": { "alias": "gravatarEmail"; "required": false; }; }, {}, never, never, false, never>;
32
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ProgressBarComponent {
3
+ private _percentComplete;
4
+ set percentComplete(percentComplete: number);
5
+ get percentComplete(): number;
6
+ backgroundColorClass: string;
7
+ progressColorClass: string;
8
+ showPercentComplete: boolean;
9
+ borderRadius: number;
10
+ height: number;
11
+ showBorder: boolean;
12
+ showMovement: boolean;
13
+ constructor();
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "particle-progress-bar", never, { "percentComplete": { "alias": "percentComplete"; "required": false; }; "backgroundColorClass": { "alias": "backgroundColorClass"; "required": false; }; "progressColorClass": { "alias": "progressColorClass"; "required": false; }; "showPercentComplete": { "alias": "showPercentComplete"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "height": { "alias": "height"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; "showMovement": { "alias": "showMovement"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./progress-bar.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ParticleProgressBarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticleProgressBarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleProgressBarModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule], [typeof i1.ProgressBarComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticleProgressBarModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./push-container.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../tooltip/tooltip.module";
5
+ export declare class ParticlePushContainerModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticlePushContainerModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticlePushContainerModule, [typeof i1.PushContainerComponent], [typeof i2.CommonModule, typeof i3.ParticleTooltipModule], [typeof i1.PushContainerComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticlePushContainerModule>;
9
+ }
@@ -0,0 +1,7 @@
1
+ export interface PushContainerState {
2
+ left: string;
3
+ right: string;
4
+ sidePanelClass: string;
5
+ height: string;
6
+ topOffset: string;
7
+ }
@@ -0,0 +1,137 @@
1
+ import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { PushContainerState } from './push-container-state.model';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { PushContainerText } from '../../shared/models/particle-component-text.model';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Push Container that'll either push the content or overlay the content based on screen width.
8
+ */
9
+ export declare class PushContainerComponent implements OnInit, AfterViewInit, OnDestroy {
10
+ private _width;
11
+ /**
12
+ * Width of the container in pixels.
13
+ */
14
+ set width(width: number);
15
+ get width(): number;
16
+ /**
17
+ * Show the side panel on load?
18
+ */
19
+ showSidePanel: boolean;
20
+ /**
21
+ * Main Content ID that will be pushed by this
22
+ */
23
+ mainContentId: string;
24
+ /**
25
+ * Side to push from (left/right)
26
+ */
27
+ side: string;
28
+ /**
29
+ * Top offset to account for a nav bar
30
+ */
31
+ set topOffset(topOffset: string);
32
+ get topOffset(): string;
33
+ private _topOffset;
34
+ set bottomOffset(bottomOffset: string);
35
+ get bottomOffset(): string;
36
+ private _bottomOffset;
37
+ /**
38
+ * If the screen resizes, it will either overlay or close depending on this variable
39
+ */
40
+ closeOnResize: boolean;
41
+ /**
42
+ * Background color for the container
43
+ */
44
+ backgroundColorClass: string;
45
+ /**
46
+ * Breakpoint that will make the container take over the screen when it's crossed.
47
+ */
48
+ breakpoint: number;
49
+ /**
50
+ * Whether to always hide the close button, defaults to false.
51
+ */
52
+ hideCloseButton: boolean;
53
+ showTabOnClose: boolean;
54
+ tabColorClass: string;
55
+ text: PushContainerText;
56
+ /**
57
+ * Event emitter for open
58
+ */
59
+ opened: EventEmitter<any>;
60
+ /**
61
+ * Event emitter for close
62
+ */
63
+ closed: EventEmitter<any>;
64
+ /**
65
+ * Visibility variable for accessibility
66
+ */
67
+ visibility: boolean;
68
+ private unclickable;
69
+ /**
70
+ * Private variable to detect if the breakpoint is exceeded
71
+ */
72
+ breakpointExceeded: boolean;
73
+ containerState: BehaviorSubject<PushContainerState>;
74
+ zIndex: string;
75
+ private _height;
76
+ private _lastWidth;
77
+ private _originalTopOffset;
78
+ private _originalHideCloseButton;
79
+ /**
80
+ * Constructor
81
+ */
82
+ ngOnInit(): void;
83
+ /**
84
+ * Show or close the push container on load depending on the state passed in.
85
+ */
86
+ ngAfterViewInit(): void;
87
+ /**
88
+ * Close the push container on destroy
89
+ */
90
+ ngOnDestroy(): void;
91
+ /**
92
+ * Monitor the screen size and perform actions as specified by the input options
93
+ *
94
+ * @param event
95
+ */
96
+ onResize(event: any): void;
97
+ /**
98
+ * Open or close based on current state.
99
+ */
100
+ toggle(): void;
101
+ /**
102
+ * Open the push container
103
+ *
104
+ * @param init
105
+ */
106
+ open(init?: boolean): void;
107
+ /**
108
+ * Close the push container
109
+ */
110
+ close(): void;
111
+ /**
112
+ * Set the margin
113
+ *
114
+ * @param size
115
+ */
116
+ private setMargin;
117
+ /**
118
+ * Get the width of the container
119
+ */
120
+ getWidth(): string;
121
+ /**
122
+ * Get the side panel class based on the current state.
123
+ */
124
+ private getSidePanelClass;
125
+ /**
126
+ * Get the left size based on the options
127
+ */
128
+ private getLeftProperty;
129
+ /**
130
+ * Get the right size based on the options
131
+ */
132
+ private getRightProperty;
133
+ private updateContainerState;
134
+ private setDefaultHeight;
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<PushContainerComponent, never>;
136
+ static ɵcmp: i0.ɵɵComponentDeclaration<PushContainerComponent, "particle-push-container", never, { "width": { "alias": "width"; "required": false; }; "showSidePanel": { "alias": "showSidePanel"; "required": false; }; "mainContentId": { "alias": "mainContentId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "topOffset": { "alias": "topOffset"; "required": false; }; "bottomOffset": { "alias": "bottomOffset"; "required": false; }; "closeOnResize": { "alias": "closeOnResize"; "required": false; }; "backgroundColorClass": { "alias": "backgroundColorClass"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "showTabOnClose": { "alias": "showTabOnClose"; "required": false; }; "tabColorClass": { "alias": "tabColorClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, ["*"], false, never>;
137
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./rich-text.component";
3
+ import * as i2 from "./render-rich-text.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../tooltip/tooltip.module";
6
+ import * as i5 from "ngx-tiptap";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@angular/platform-browser";
9
+ import * as i8 from "@tinkoff/ng-dompurify";
10
+ import * as i9 from "../dialog/dialog.module";
11
+ export declare class ParticleRichTextModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParticleRichTextModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleRichTextModule, [typeof i1.RichTextComponent, typeof i2.RenderRichTextComponent], [typeof i3.CommonModule, typeof i4.ParticleTooltipModule, typeof i5.NgxTiptapModule, typeof i6.FormsModule, typeof i7.BrowserModule, typeof i8.NgDompurifyModule, typeof i9.ParticleDialogModule], [typeof i1.RichTextComponent, typeof i2.RenderRichTextComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<ParticleRichTextModule>;
15
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class RenderRichTextComponent {
3
+ html: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderRichTextComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<RenderRichTextComponent, "particle-render-rich-text", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,7 @@
1
+ export interface RichTextCapabilities {
2
+ heading: boolean;
3
+ textDecoration: boolean;
4
+ list: boolean;
5
+ alignment: boolean;
6
+ link: boolean;
7
+ }