@entake/particle 19.1.3 → 20.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 (70) hide show
  1. package/fesm2022/entake-particle.mjs +267 -264
  2. package/fesm2022/entake-particle.mjs.map +1 -1
  3. package/index.d.ts +3850 -3
  4. package/package.json +14 -14
  5. package/app/shared/components/accordion/accordion.component.d.ts +0 -26
  6. package/app/shared/components/calendar/calendar.component.d.ts +0 -206
  7. package/app/shared/components/checkbox/checkbox.component.d.ts +0 -41
  8. package/app/shared/components/color-picker/color-picker.component.d.ts +0 -143
  9. package/app/shared/components/date-picker/date-picker.component.d.ts +0 -253
  10. package/app/shared/components/date-range-picker/date-range-picker.component.d.ts +0 -94
  11. package/app/shared/components/dialog/dialog.component.d.ts +0 -79
  12. package/app/shared/components/dropdown/dropdown.component.d.ts +0 -290
  13. package/app/shared/components/icon-select/icon-select.component.d.ts +0 -226
  14. package/app/shared/components/idle-timeout/idle-timeout.component.d.ts +0 -34
  15. package/app/shared/components/input-mask/input-mask.component.d.ts +0 -85
  16. package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
  17. package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
  18. package/app/shared/components/loader/loader.component.d.ts +0 -11
  19. package/app/shared/components/multi-select/multi-select.component.d.ts +0 -273
  20. package/app/shared/components/notification/notification.component.d.ts +0 -38
  21. package/app/shared/components/paginator/paginator.component.d.ts +0 -112
  22. package/app/shared/components/popover/popover.component.d.ts +0 -135
  23. package/app/shared/components/profile-pic/profile-pic.component.d.ts +0 -33
  24. package/app/shared/components/progress-bar/progress-bar.component.d.ts +0 -15
  25. package/app/shared/components/radio-buttons/radio-buttons.component.d.ts +0 -36
  26. package/app/shared/components/rich-text/rich-text.component.d.ts +0 -50
  27. package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +0 -18
  28. package/app/shared/components/slideover/slideover.component.d.ts +0 -35
  29. package/app/shared/components/slider/slider.component.d.ts +0 -129
  30. package/app/shared/components/toggle-switch/toggle-switch.component.d.ts +0 -41
  31. package/app/shared/components/week-picker/week-picker.component.d.ts +0 -288
  32. package/app/shared/directives/accordion-content.directive.d.ts +0 -7
  33. package/app/shared/directives/accordion-header.directive.d.ts +0 -7
  34. package/app/shared/directives/accordion-item.directive.d.ts +0 -13
  35. package/app/shared/directives/background-carousel.directive.d.ts +0 -42
  36. package/app/shared/directives/keyfilter.directive.d.ts +0 -60
  37. package/app/shared/directives/tooltip.directive.d.ts +0 -151
  38. package/app/shared/interceptors/json.interceptor.d.ts +0 -17
  39. package/app/shared/models/auditable.model.d.ts +0 -21
  40. package/app/shared/models/carousel-options.model.d.ts +0 -21
  41. package/app/shared/models/data-list.model.d.ts +0 -9
  42. package/app/shared/models/dropdown-option-group.model.d.ts +0 -16
  43. package/app/shared/models/dropdown-option.model.d.ts +0 -25
  44. package/app/shared/models/fontawesome-icons-brands.model.d.ts +0 -13
  45. package/app/shared/models/fontawesome-icons-regular.model.d.ts +0 -13
  46. package/app/shared/models/fontawesome-icons-solid.model.d.ts +0 -13
  47. package/app/shared/models/id.model.d.ts +0 -9
  48. package/app/shared/models/multi-select-option-group.model.d.ts +0 -16
  49. package/app/shared/models/multi-select-option.model.d.ts +0 -25
  50. package/app/shared/models/notification.model.d.ts +0 -21
  51. package/app/shared/models/observable-container.d.ts +0 -8
  52. package/app/shared/models/pagination-event.model.d.ts +0 -8
  53. package/app/shared/models/particle-component-text.model.d.ts +0 -191
  54. package/app/shared/models/particle-icons-brands.model.d.ts +0 -21
  55. package/app/shared/models/particle-icons-regular.model.d.ts +0 -37
  56. package/app/shared/models/particle-icons-solid.model.d.ts +0 -61
  57. package/app/shared/models/rich-text-capabilities.model.d.ts +0 -8
  58. package/app/shared/models/theme.model.d.ts +0 -88
  59. package/app/shared/models/toggle-options.model.d.ts +0 -11
  60. package/app/shared/modules/icons/particle-icons.module.d.ts +0 -7
  61. package/app/shared/pipes/ordinal-number.pipe.d.ts +0 -15
  62. package/app/shared/services/base-data.service.d.ts +0 -130
  63. package/app/shared/services/dialog.service.d.ts +0 -10
  64. package/app/shared/services/icons.service.d.ts +0 -40
  65. package/app/shared/services/idle-timer.d.ts +0 -14
  66. package/app/shared/services/local-storage.service.d.ts +0 -41
  67. package/app/shared/services/notification.service.d.ts +0 -50
  68. package/app/shared/services/theme-change-detection.service.d.ts +0 -26
  69. package/app/shared/services/theming.service.d.ts +0 -123
  70. package/public_api.d.ts +0 -63
@@ -1,60 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Directive to apply key filtering to an HTML input element
4
- */
5
- export declare class KeyfilterDirective {
6
- private hostElement;
7
- /**
8
- * Array of keyboard key names that are always allowed
9
- * (arrow keys, backspace, delete, tab, escape)
10
- * @private
11
- */
12
- private static readonly ALLOWED_KEYS;
13
- /**
14
- * Array of keyboard alpha key names
15
- * @private
16
- */
17
- private static readonly ALPHA_KEYS;
18
- /**
19
- * Array of keyboard alpha key names
20
- * @private
21
- */
22
- private static readonly URL_TOKEN_KEYS;
23
- /**
24
- * The type of filtering to apply
25
- */
26
- filterType: 'alpha' | 'numeric' | 'alphanumeric' | 'digits' | 'url-token';
27
- /**
28
- * Whether spaces should be allowed (default false)
29
- */
30
- allowSpaces: boolean;
31
- /**
32
- * Determine if the input key is numeric (a digit)
33
- * @param key the key to test
34
- * @private
35
- */
36
- private static keyIsNumeric;
37
- private static keyIsDigit;
38
- private static valueIsNumeric;
39
- /**
40
- * Determine if the input key is an alpha key (a letter of
41
- * the English alphabet)
42
- * @param key the key to test
43
- * @private
44
- */
45
- private static keyIsAlpha;
46
- private static keyIsUrlToken;
47
- /**
48
- * Filter out keys based on the specified filter type
49
- * @param event the keydown KeyboardEvent
50
- */
51
- onKeyDown(event: KeyboardEvent): void;
52
- /**
53
- * Prevent paste if input contains forbidden characters
54
- * @param event the paste ClipboardEvent
55
- */
56
- onPaste(event: ClipboardEvent): void;
57
- onBlur(): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<KeyfilterDirective, never>;
59
- static ɵdir: i0.ɵɵDirectiveDeclaration<KeyfilterDirective, "[particleKeyfilter]", never, { "filterType": { "alias": "particleKeyfilter"; "required": false; }; "allowSpaces": { "alias": "allowSpaces"; "required": false; }; }, {}, never, never, true, never>;
60
- }
@@ -1,151 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive to create a tooltip around the host element
5
- * TODO: Open/Close animation with AnimationFactory
6
- */
7
- export declare class TooltipDirective implements OnDestroy {
8
- private element;
9
- private renderer;
10
- /**
11
- * The number of pixels from the host to offset the tooltip
12
- * @private
13
- */
14
- private readonly TOOLTIP_OFFSET;
15
- /**
16
- * Tooltip text input
17
- * @param text the text to set for the tooltip
18
- */
19
- set particleTooltip(text: string);
20
- get particleTooltip(): string;
21
- /**
22
- * The direction of the tooltip around the host element
23
- */
24
- readonly tooltipPosition: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom">;
25
- /**
26
- * Whether to disable the tooltip
27
- * @param disabled disabled or not
28
- */
29
- set tooltipDisabled(disabled: boolean);
30
- get tooltipDisabled(): boolean;
31
- /**
32
- * The DIV element housing the tooltip
33
- * @private
34
- */
35
- private tooltip;
36
- /**
37
- * The tooltip text
38
- * @private
39
- */
40
- private _text;
41
- /**
42
- * Whether or not the tooltip is disabled
43
- * @private
44
- */
45
- private _tooltipDisabled;
46
- /**
47
- * Array of scroll unlisten functions
48
- * @private
49
- */
50
- private scrollUnlisteners;
51
- /**
52
- * Get window scroll top
53
- * @private
54
- */
55
- private static getWindowScrollTop;
56
- /**
57
- * Get window scroll left
58
- * @private
59
- */
60
- private static getWindowScrollLeft;
61
- /**
62
- * Destroy directive, invoke scroll unlisteners
63
- */
64
- ngOnDestroy(): void;
65
- /**
66
- * Handle host mouse enter event
67
- */
68
- onMouseEnter(): void;
69
- /**
70
- * Handle host mouse leave event
71
- */
72
- onMouseLeave(): void;
73
- /**
74
- * Handle host click event
75
- */
76
- onClick(): void;
77
- /**
78
- * Create tooltip, set the text and align it
79
- * @private
80
- */
81
- private showTooltip;
82
- /**
83
- * Add the tooltip to the DOM
84
- * @private
85
- */
86
- private createTooltip;
87
- /**
88
- * Set tooltip text
89
- * @private
90
- */
91
- private setTooltipText;
92
- /**
93
- * Align the tooltip to the input position or the next best fit
94
- * @private
95
- */
96
- private alignTooltip;
97
- /**
98
- * Align the tooltip to the left of the host
99
- * @private
100
- */
101
- private alignLeft;
102
- /**
103
- * Align the tooltip to the right of the host
104
- * @private
105
- */
106
- private alignRight;
107
- /**
108
- * Align the tooltip to the top of the host
109
- * @private
110
- */
111
- private alignTop;
112
- /**
113
- * Align the tooltip to the bottom of the host
114
- * @private
115
- */
116
- private alignBottom;
117
- /**
118
- * Get the host's top and left position offset by window scroll
119
- * @private
120
- */
121
- private getHostOffset;
122
- /**
123
- * Remove the tooltip from the DOM
124
- * @private
125
- */
126
- private deleteTooltip;
127
- /**
128
- * Checks if the tooltip fits in the window
129
- * @private
130
- */
131
- private tooltipOutOfWindow;
132
- /**
133
- * Listen for scrolling on all scrollable parents of the host element
134
- * @private
135
- */
136
- private addScrollListeners;
137
- /**
138
- * Invoke scroll unlisten functions and clear unlisteners list
139
- * @private
140
- */
141
- private removeScrollListeners;
142
- /**
143
- * Get the parent elements for the input element
144
- * @param element the element to get parents for
145
- * @param parents the parent elements
146
- * @private
147
- */
148
- private getParentElements;
149
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
150
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[particleTooltip]", never, { "particleTooltip": { "alias": "particleTooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; }, {}, never, never, true, never>;
151
- }
@@ -1,17 +0,0 @@
1
- import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * This interceptor will force the Content-Type header to application/json so that each http call doesn't have to.
6
- */
7
- export declare class JsonInterceptor implements HttpInterceptor {
8
- /**
9
- * Intercept method to set the content type header.
10
- *
11
- * @param req
12
- * @param next
13
- */
14
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonInterceptor, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<JsonInterceptor>;
17
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Auditable Class - Holds the creation and modification data that is known for most DB interactions
3
- */
4
- export interface Auditable {
5
- /**
6
- * Who Created it
7
- */
8
- createdBy: string;
9
- /**
10
- * When it was created
11
- */
12
- createdTime: Date;
13
- /**
14
- * Who last modified it
15
- */
16
- modifiedBy: string;
17
- /**
18
- * When it was last modified
19
- */
20
- modifiedTime: Date;
21
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Carousel Options for the Background Carousel Directive
3
- */
4
- export interface CarouselOptions {
5
- /**
6
- * Image locations to loop through
7
- */
8
- images: string[];
9
- /**
10
- * Transition Time (in seconds)
11
- */
12
- transitionTime: number;
13
- /**
14
- * Length of Time to display each background (in seconds)
15
- */
16
- viewTime: number;
17
- /**
18
- * Whether to reset the interval on init.
19
- */
20
- resetInterval: boolean;
21
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * The Data List is a wrapper class of Arrays returned from an endpoint. This makes it easy to unpack the list automagically.
3
- */
4
- export interface DataList<T> {
5
- /**
6
- * The field that holds a List of data
7
- */
8
- data: T[];
9
- }
@@ -1,16 +0,0 @@
1
- import { DropdownOption } from './dropdown-option.model';
2
- /**
3
- * Interface representing an array of dropdown options
4
- * grouped under a label
5
- */
6
- export interface DropdownOptionGroup {
7
- type?: 'group';
8
- /**
9
- * The option group label
10
- */
11
- groupLabel: string;
12
- /**
13
- * The group options
14
- */
15
- options: Array<DropdownOption>;
16
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * Interface representing a dropdown option
3
- */
4
- export interface DropdownOption {
5
- type?: 'option';
6
- /**
7
- * The value of the dropdown option
8
- */
9
- value: string | number;
10
- /**
11
- * The label of the dropdown option
12
- */
13
- label: string;
14
- /**
15
- * Whether or not the option is disabled
16
- */
17
- disabled?: boolean;
18
- /**
19
- * Data context object containing properties to fill
20
- * dropdown option template placeholders
21
- */
22
- dataContext?: {
23
- [key: string]: unknown;
24
- };
25
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Model representing Fontawesome's brands icons
3
- */
4
- export declare class FontawesomeIconsBrands {
5
- /**
6
- * The brands icon prefix
7
- */
8
- static readonly PREFIX = "fab";
9
- /**
10
- * Icon classes
11
- */
12
- static readonly ICONS: string[];
13
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Model representing Fontawesome's regular icons
3
- */
4
- export declare class FontawesomeIconsRegular {
5
- /**
6
- * The regular icon prefix
7
- */
8
- static readonly PREFIX = "far";
9
- /**
10
- * Icon classes
11
- */
12
- static readonly ICONS: string[];
13
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Model representing Fontawesome's solid icons
3
- */
4
- export declare class FontawesomeIconsSolid {
5
- /**
6
- * The solid icon prefix
7
- */
8
- static readonly PREFIX = "fas";
9
- /**
10
- * Icon classes
11
- */
12
- static readonly ICONS: string[];
13
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Wrapper class that holds an ID when a POST operation is completed
3
- */
4
- export interface Id {
5
- /**
6
- * The ID
7
- */
8
- id: any;
9
- }
@@ -1,16 +0,0 @@
1
- import { MultiSelectOption } from './multi-select-option.model';
2
- /**
3
- * Interface representing an array of multi-select options
4
- * grouped under a label
5
- */
6
- export interface MultiSelectOptionGroup {
7
- type?: 'group';
8
- /**
9
- * The option group label
10
- */
11
- groupLabel: string;
12
- /**
13
- * The group options
14
- */
15
- options: Array<MultiSelectOption>;
16
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * Interface representing a multi-select option
3
- */
4
- export interface MultiSelectOption {
5
- type?: 'option';
6
- /**
7
- * The value of the multi-select option
8
- */
9
- value: string | number;
10
- /**
11
- * The label of the multi-select option
12
- */
13
- label: string;
14
- /**
15
- * Whether or not the option is disabled
16
- */
17
- disabled?: boolean;
18
- /**
19
- * Data context object containing properties to fill
20
- * multi-select option template placeholders
21
- */
22
- dataContext?: {
23
- [key: string]: unknown;
24
- };
25
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Model representing a notification
3
- */
4
- export interface Notification {
5
- /**
6
- * The notification ID
7
- */
8
- id?: string;
9
- /**
10
- * The notification severity
11
- */
12
- severity: 'success' | 'info' | 'warn' | 'error';
13
- /**
14
- * The notification summary
15
- */
16
- summary: string;
17
- /**
18
- * The notification detail
19
- */
20
- detail?: string;
21
- }
@@ -1,8 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- export declare class ObservableContainer<T> {
3
- private _subject;
4
- private readonly _obs;
5
- constructor(obs: Observable<T>);
6
- refresh(): void;
7
- get observable(): Observable<T>;
8
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Representation of a pagination event
3
- */
4
- export interface PaginationEvent {
5
- activePage: number;
6
- pageSize: number;
7
- totalLength: number;
8
- }
@@ -1,191 +0,0 @@
1
- export interface AccordionText {
2
- expand: string;
3
- collapse: string;
4
- }
5
- export interface CalendarText {
6
- selectAYear: string;
7
- selectAMonth: string;
8
- january: string;
9
- february: string;
10
- march: string;
11
- april: string;
12
- may: string;
13
- june: string;
14
- july: string;
15
- august: string;
16
- september: string;
17
- october: string;
18
- november: string;
19
- december: string;
20
- sundayAbbr: string;
21
- mondayAbbr: string;
22
- tuesdayAbbr: string;
23
- wednesdayAbbr: string;
24
- thursdayAbbr: string;
25
- fridayAbbr: string;
26
- saturdayAbbr: string;
27
- sunday: string;
28
- monday: string;
29
- tuesday: string;
30
- wednesday: string;
31
- thursday: string;
32
- friday: string;
33
- saturday: string;
34
- select: string;
35
- the: string;
36
- resetDateToToday: string;
37
- selectToday: string;
38
- saveDate: string;
39
- done: string;
40
- minGreaterThenMax: string;
41
- }
42
- export interface CheckboxText {
43
- check: string;
44
- uncheck: string;
45
- }
46
- export interface ColorPickerText {
47
- chooseColor: string;
48
- enterHexCode: string;
49
- }
50
- export interface DatePickerText {
51
- calendarText?: CalendarText;
52
- enterInFormat: string;
53
- openCalendar: string;
54
- }
55
- export interface DateRangePickerText {
56
- calendarText?: CalendarText;
57
- begin: string;
58
- end: string;
59
- done: string;
60
- clear: string;
61
- openCalendar: string;
62
- selectRange: string;
63
- }
64
- export interface DialogText {
65
- close: string;
66
- maximize: string;
67
- minimize: string;
68
- }
69
- export interface DropdownText {
70
- placeholder: string;
71
- }
72
- export interface IconSelectText {
73
- selectAnIcon: string;
74
- seeAllIcons: string;
75
- fontAwesomeIcons: string;
76
- filterBy: string;
77
- all: string;
78
- solid: string;
79
- regular: string;
80
- brands: string;
81
- light: string;
82
- customIcons: string;
83
- previousPage: string;
84
- nextPage: string;
85
- searchIcons: string;
86
- submitSearch: string;
87
- clearResults: string;
88
- couldntFindAnything: string;
89
- modifySearchCriteria: string;
90
- selection: string;
91
- confirm: string;
92
- select: string;
93
- close: string;
94
- }
95
- export interface IdleTimeoutText {
96
- sessionExpiring: string;
97
- second: string;
98
- seconds: string;
99
- stayLoggedIn: string;
100
- }
101
- export interface LoaderText {
102
- loadingText?: string;
103
- loadingSubtext?: string;
104
- }
105
- export interface MultiSelectText {
106
- placeholder: string;
107
- of: string;
108
- optionsSelected: string;
109
- }
110
- export interface NotificationText {
111
- dismiss: string;
112
- }
113
- export interface PaginatorText {
114
- itemsPerPage: string;
115
- choosePageSize: string;
116
- previousPage: string;
117
- nextPage: string;
118
- disabled: string;
119
- firstPage: string;
120
- lastPage: string;
121
- jumpToPage: string;
122
- page: string;
123
- outOf: string;
124
- of: string;
125
- results: string;
126
- }
127
- export interface RichTextEditorText {
128
- heading1: string;
129
- heading2: string;
130
- bold: string;
131
- italic: string;
132
- strike: string;
133
- bulletedList: string;
134
- orderedList: string;
135
- leftAlign: string;
136
- centerAlign: string;
137
- rightAlign: string;
138
- justifyAlign: string;
139
- setLink: string;
140
- removeLink: string;
141
- clearFormat: string;
142
- modifyLink: string;
143
- addImage: string;
144
- modifyImage: string;
145
- cancel: string;
146
- update: string;
147
- url: string;
148
- }
149
- export interface ScrollToTopText {
150
- scrollToTop: string;
151
- }
152
- export interface SlideoverText {
153
- close: string;
154
- }
155
- export interface SliderText {
156
- selectAValue: string;
157
- enterAValue: string;
158
- }
159
- export interface ThemingText {
160
- placeholder: string;
161
- }
162
- export interface WeekPickerText {
163
- openCalendar: string;
164
- selectWeek: string;
165
- selectYear: string;
166
- selectMonth: string;
167
- january: string;
168
- february: string;
169
- march: string;
170
- april: string;
171
- may: string;
172
- june: string;
173
- july: string;
174
- august: string;
175
- september: string;
176
- october: string;
177
- november: string;
178
- december: string;
179
- sundayAbbr: string;
180
- mondayAbbr: string;
181
- tuesdayAbbr: string;
182
- wednesdayAbbr: string;
183
- thursdayAbbr: string;
184
- fridayAbbr: string;
185
- saturdayAbbr: string;
186
- selectLastWeek: string;
187
- lastWeek: string;
188
- resetWeekSelection: string;
189
- selectNextWeek: string;
190
- nextWeek: string;
191
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Particle Icons - Brand
3
- */
4
- export declare class ParticleIconsBrand {
5
- /**
6
- * ptl fa-entake
7
- */
8
- static ptbEntake: {
9
- prefix: string;
10
- iconName: string;
11
- icon: (string | number | any[])[];
12
- };
13
- /**
14
- * Full list of light icons
15
- */
16
- static icons: {
17
- prefix: string;
18
- iconName: string;
19
- icon: (string | number | any[])[];
20
- }[];
21
- }