@entake/particle 19.1.3 → 20.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 (71) 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/particle.css +1 -1
  6. package/app/shared/components/accordion/accordion.component.d.ts +0 -26
  7. package/app/shared/components/calendar/calendar.component.d.ts +0 -206
  8. package/app/shared/components/checkbox/checkbox.component.d.ts +0 -41
  9. package/app/shared/components/color-picker/color-picker.component.d.ts +0 -143
  10. package/app/shared/components/date-picker/date-picker.component.d.ts +0 -253
  11. package/app/shared/components/date-range-picker/date-range-picker.component.d.ts +0 -94
  12. package/app/shared/components/dialog/dialog.component.d.ts +0 -79
  13. package/app/shared/components/dropdown/dropdown.component.d.ts +0 -290
  14. package/app/shared/components/icon-select/icon-select.component.d.ts +0 -226
  15. package/app/shared/components/idle-timeout/idle-timeout.component.d.ts +0 -34
  16. package/app/shared/components/input-mask/input-mask.component.d.ts +0 -85
  17. package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
  18. package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
  19. package/app/shared/components/loader/loader.component.d.ts +0 -11
  20. package/app/shared/components/multi-select/multi-select.component.d.ts +0 -273
  21. package/app/shared/components/notification/notification.component.d.ts +0 -38
  22. package/app/shared/components/paginator/paginator.component.d.ts +0 -112
  23. package/app/shared/components/popover/popover.component.d.ts +0 -135
  24. package/app/shared/components/profile-pic/profile-pic.component.d.ts +0 -33
  25. package/app/shared/components/progress-bar/progress-bar.component.d.ts +0 -15
  26. package/app/shared/components/radio-buttons/radio-buttons.component.d.ts +0 -36
  27. package/app/shared/components/rich-text/rich-text.component.d.ts +0 -50
  28. package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +0 -18
  29. package/app/shared/components/slideover/slideover.component.d.ts +0 -35
  30. package/app/shared/components/slider/slider.component.d.ts +0 -129
  31. package/app/shared/components/toggle-switch/toggle-switch.component.d.ts +0 -41
  32. package/app/shared/components/week-picker/week-picker.component.d.ts +0 -288
  33. package/app/shared/directives/accordion-content.directive.d.ts +0 -7
  34. package/app/shared/directives/accordion-header.directive.d.ts +0 -7
  35. package/app/shared/directives/accordion-item.directive.d.ts +0 -13
  36. package/app/shared/directives/background-carousel.directive.d.ts +0 -42
  37. package/app/shared/directives/keyfilter.directive.d.ts +0 -60
  38. package/app/shared/directives/tooltip.directive.d.ts +0 -151
  39. package/app/shared/interceptors/json.interceptor.d.ts +0 -17
  40. package/app/shared/models/auditable.model.d.ts +0 -21
  41. package/app/shared/models/carousel-options.model.d.ts +0 -21
  42. package/app/shared/models/data-list.model.d.ts +0 -9
  43. package/app/shared/models/dropdown-option-group.model.d.ts +0 -16
  44. package/app/shared/models/dropdown-option.model.d.ts +0 -25
  45. package/app/shared/models/fontawesome-icons-brands.model.d.ts +0 -13
  46. package/app/shared/models/fontawesome-icons-regular.model.d.ts +0 -13
  47. package/app/shared/models/fontawesome-icons-solid.model.d.ts +0 -13
  48. package/app/shared/models/id.model.d.ts +0 -9
  49. package/app/shared/models/multi-select-option-group.model.d.ts +0 -16
  50. package/app/shared/models/multi-select-option.model.d.ts +0 -25
  51. package/app/shared/models/notification.model.d.ts +0 -21
  52. package/app/shared/models/observable-container.d.ts +0 -8
  53. package/app/shared/models/pagination-event.model.d.ts +0 -8
  54. package/app/shared/models/particle-component-text.model.d.ts +0 -191
  55. package/app/shared/models/particle-icons-brands.model.d.ts +0 -21
  56. package/app/shared/models/particle-icons-regular.model.d.ts +0 -37
  57. package/app/shared/models/particle-icons-solid.model.d.ts +0 -61
  58. package/app/shared/models/rich-text-capabilities.model.d.ts +0 -8
  59. package/app/shared/models/theme.model.d.ts +0 -88
  60. package/app/shared/models/toggle-options.model.d.ts +0 -11
  61. package/app/shared/modules/icons/particle-icons.module.d.ts +0 -7
  62. package/app/shared/pipes/ordinal-number.pipe.d.ts +0 -15
  63. package/app/shared/services/base-data.service.d.ts +0 -130
  64. package/app/shared/services/dialog.service.d.ts +0 -10
  65. package/app/shared/services/icons.service.d.ts +0 -40
  66. package/app/shared/services/idle-timer.d.ts +0 -14
  67. package/app/shared/services/local-storage.service.d.ts +0 -41
  68. package/app/shared/services/notification.service.d.ts +0 -50
  69. package/app/shared/services/theme-change-detection.service.d.ts +0 -26
  70. package/app/shared/services/theming.service.d.ts +0 -123
  71. package/public_api.d.ts +0 -63
@@ -1,253 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { DatePickerText } from '../../models/particle-component-text.model';
4
- import { PopoverComponent } from '../popover/popover.component';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Component to allow a user to input/select a date
8
- */
9
- export declare class DatePickerComponent implements ControlValueAccessor, OnDestroy, OnInit {
10
- private renderer;
11
- private changeDetectorRef;
12
- /**
13
- * Allowed keys for date input
14
- */
15
- private static readonly ALLOWED_KEYS;
16
- /**
17
- * Matches YYYY-MM-DD
18
- * @private
19
- */
20
- private static readonly BROWSER_DATE_PICKER_FORMAT;
21
- /**
22
- * Matches MM/DD/YYYY
23
- * @private
24
- */
25
- private static readonly FULL_DATE_FORMAT;
26
- /**
27
- * Matches M/D/YYYY
28
- * @private
29
- */
30
- private static readonly SHORT_DATE_FORMAT;
31
- /**
32
- * Matches M/DD/YYYY
33
- * @private
34
- */
35
- private static readonly SHORT_MONTH_DATE_FORMAT;
36
- /**
37
- * Matches MM/D/YYYY
38
- * @private
39
- */
40
- private static readonly SHORT_DAY_DATE_FORMAT;
41
- /**
42
- * A reference date with all fields set to 0
43
- * @private
44
- */
45
- private static readonly referenceDate;
46
- /**
47
- * Value input setter
48
- */
49
- set value(value: Date);
50
- /**
51
- * Value getter
52
- */
53
- get value(): Date;
54
- set disabled(disabled: boolean);
55
- /**
56
- * Disabled getter
57
- */
58
- get disabled(): boolean;
59
- set dateRange(dateRange: {
60
- minDate: Date;
61
- maxDate: Date;
62
- });
63
- /**
64
- * The ID to set on the input
65
- */
66
- readonly inputId: import("@angular/core").InputSignal<string>;
67
- /**
68
- * Value to use as the date picker input's aria label
69
- */
70
- readonly ariaLabel: import("@angular/core").InputSignal<string>;
71
- /**
72
- * Optional class-list to add to the date picker input
73
- */
74
- readonly inputClassList: import("@angular/core").InputSignal<any>;
75
- /**
76
- * Optional class-list to add to the calendar button
77
- */
78
- readonly calendarButtonClassList: import("@angular/core").InputSignal<string>;
79
- /**
80
- * Close the picker when a selection is made
81
- */
82
- readonly closeOnSelect: import("@angular/core").InputSignal<boolean>;
83
- /**
84
- * Placeholder override
85
- */
86
- readonly placeholder: import("@angular/core").InputSignal<string>;
87
- readonly inputOnly: import("@angular/core").InputSignal<boolean>;
88
- private _text;
89
- set text(text: DatePickerText);
90
- get text(): DatePickerText;
91
- /**
92
- * Event emitted on date picker input
93
- */
94
- readonly input: import("@angular/core").OutputEmitterRef<void>;
95
- /**
96
- * Event emitted on valid date selection/input
97
- */
98
- readonly dateSelected: import("@angular/core").OutputEmitterRef<Date>;
99
- /**
100
- * ViewChild of the date picker div
101
- */
102
- datePickerDiv: ElementRef<HTMLDivElement>;
103
- /**
104
- * ViewChild of the calendar div
105
- */
106
- calendarDiv: ElementRef<HTMLDivElement>;
107
- calendarPopover: PopoverComponent;
108
- /**
109
- * The current date
110
- */
111
- private readonly currentDate;
112
- /**
113
- * The fixed height of the calendar widget
114
- */
115
- private readonly calendarHeight;
116
- /**
117
- * The fixed width of the calendar widget
118
- */
119
- private readonly calendarWidth;
120
- /**
121
- * The amount of padding to apply between the date picker input and the calendar widget
122
- */
123
- private readonly calendarPadding;
124
- /**
125
- * String tracking date picker input
126
- */
127
- dateString: string;
128
- mobileDateString: string;
129
- /**
130
- * Whether to show the calendar
131
- */
132
- showCalendar: {
133
- currentValue: Date;
134
- };
135
- /**
136
- * In mobile (screen width is less than 768), swap to a native input
137
- */
138
- isMobile: boolean;
139
- /**
140
- * The valid selection interval
141
- * @private
142
- */
143
- validSelectionInterval: {
144
- start: Date;
145
- end: Date;
146
- };
147
- /**
148
- * The internal control accessor value
149
- * @private
150
- */
151
- private _value;
152
- /**
153
- * The internal disabled state
154
- * @private
155
- */
156
- private _disabled;
157
- /**
158
- * Window resize unlisten function
159
- */
160
- private resizeListener;
161
- /**
162
- * Parse the input Date value into a string
163
- * @param value the value to parse
164
- * @private
165
- */
166
- private static parseDate;
167
- /**
168
- * Parse the input date string into a Date
169
- * @param dateString the string to parse
170
- * @private
171
- */
172
- private static parseDateString;
173
- /**
174
- * Get the date format that matches the input date string, null if no match
175
- * @param dateString the string to test
176
- * @private
177
- */
178
- private static getDateFormat;
179
- /**
180
- * Function to call on change
181
- */
182
- onChange: (value: any) => void;
183
- /**
184
- * Function to call on touch
185
- */
186
- onTouched: () => any;
187
- onWindowResize(event: any): void;
188
- /**
189
- * Init component, set up window resize listener
190
- */
191
- ngOnInit(): void;
192
- /**
193
- * Destroy component, invoke window resize unlisten function
194
- */
195
- ngOnDestroy(): void;
196
- /**
197
- * Write value
198
- * @param value the value to write
199
- */
200
- writeValue(value: Date): void;
201
- /**
202
- * Register control value accessor change function
203
- * @param fn the function to register
204
- */
205
- registerOnChange(fn: (value: any) => void): void;
206
- /**
207
- * Register touch handler
208
- * @param fn the touch handler to register
209
- */
210
- registerOnTouched(fn: any): void;
211
- /**
212
- * Set the disabled state
213
- * @param isDisabled whether or not the component should be disabled
214
- */
215
- setDisabledState?(isDisabled: boolean): void;
216
- /**
217
- * Only allow input from digits, forward slashes, and navigation keys
218
- */
219
- filterInput(event: KeyboardEvent): void;
220
- /**
221
- * Clear value if no input, write parsed date if input requirements fulfilled
222
- */
223
- handleBlur(): void;
224
- /**
225
- * Write on input if valid date within interval
226
- */
227
- handleInput(): void;
228
- handleMobileInput(): void;
229
- setMobileValue(): void;
230
- /**
231
- * Update the model value
232
- * @param value the value to update the model to
233
- */
234
- updateModel(value: Date): void;
235
- /**
236
- * Open the calendar widget
237
- * @param event the click MouseEvent
238
- */
239
- openCalendar(event?: MouseEvent): void;
240
- /**
241
- * Hide calendar overlay and remove calendar from the DOM
242
- */
243
- handleCalendarClose(): void;
244
- /**
245
- * Calculate and set the calendar's position based on the screen height.
246
- * Positioning prefers to open at the bottom, if not enough room on bottom,
247
- * positioning is attempted at the top, otherwise it attempts to vertically
248
- * center
249
- */
250
- private setCalendarPosition;
251
- static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
252
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "particle-date-picker", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dateRange": { "alias": "dateRange"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inputClassList": { "alias": "inputClassList"; "required": false; "isSignal": true; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "inputOnly": { "alias": "inputOnly"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; }; }, { "input": "input"; "dateSelected": "dateSelected"; }, never, never, true, never>;
253
- }
@@ -1,94 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { PopoverComponent } from '../popover/popover.component';
4
- import { CalendarComponent } from '../calendar/calendar.component';
5
- import { DateRangePickerText } from '../../models/particle-component-text.model';
6
- import * as i0 from "@angular/core";
7
- export declare class DateRangePickerComponent implements ControlValueAccessor, AfterViewInit {
8
- private changeDetectorRef;
9
- currentYear: number;
10
- _disabled: boolean;
11
- private _value$;
12
- private _lastValue;
13
- private _init;
14
- valueObs$: import("rxjs").Observable<any>;
15
- readonly inputId: import("@angular/core").InputSignal<string>;
16
- readonly inputClassList: import("@angular/core").InputSignal<string>;
17
- readonly calendarButtonClassList: import("@angular/core").InputSignal<string>;
18
- readonly text: import("@angular/core").InputSignal<DateRangePickerText>;
19
- set dateRange(value: {
20
- minDate: Date;
21
- maxDate: Date;
22
- });
23
- get dateRange(): {
24
- minDate: Date;
25
- maxDate: Date;
26
- };
27
- get endDateRange(): {
28
- minDate: Date;
29
- maxDate: Date;
30
- };
31
- private _dateRange;
32
- private _endDateRange;
33
- set value(value: {
34
- start: Date;
35
- end: Date;
36
- });
37
- get value(): {
38
- start: Date;
39
- end: Date;
40
- };
41
- set disabled(disabled: boolean);
42
- get disabled(): boolean;
43
- readonly ariaLabel: import("@angular/core").InputSignal<string>;
44
- /**
45
- * Format for the selected date range in the selection preview. Must
46
- * be a valid Angular DatePipe format
47
- */
48
- readonly dateFormat: import("@angular/core").InputSignal<string>;
49
- calendarPopover: PopoverComponent;
50
- beginCalendar: CalendarComponent;
51
- endCalendar: CalendarComponent;
52
- ngAfterViewInit(): void;
53
- get beginDate(): Date;
54
- set beginDate(beginDate: Date);
55
- get endDate(): Date;
56
- set endDate(endDate: Date);
57
- /**
58
- * Function to call on change
59
- */
60
- onChange: (value: any) => void;
61
- /**
62
- * Function to call on touch
63
- */
64
- onTouched: () => any;
65
- /**
66
- * Write value
67
- * @param value the value to write
68
- */
69
- writeValue(value: {
70
- start: Date;
71
- end: Date;
72
- }): void;
73
- /**
74
- * Register function on change
75
- * @param fn the function to change
76
- */
77
- registerOnChange(fn: any): void;
78
- /**
79
- * Register function on touch
80
- * @param fn the function to register
81
- */
82
- registerOnTouched(fn: any): void;
83
- /**
84
- * Set disabled state
85
- * @param isDisabled whether or not the control is disabled
86
- */
87
- setDisabledState(isDisabled: boolean): void;
88
- openCalendar(event: Event): void;
89
- updateModel(isBegin: boolean, date: Date): void;
90
- checkState(): void;
91
- clear(): void;
92
- static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "particle-date-range-picker", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "inputClassList": { "alias": "inputClassList"; "required": false; "isSignal": true; }; "calendarButtonClassList": { "alias": "calendarButtonClassList"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "dateRange": { "alias": "dateRange"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
94
- }
@@ -1,79 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { AnimationEvent } from '@angular/animations';
4
- import { DialogText } from '../../models/particle-component-text.model';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Component to display a dialog with dynamic content
8
- */
9
- export declare class DialogComponent {
10
- private dialogService;
11
- /**
12
- * Element reference to the dialog close button
13
- */
14
- closeButton: ElementRef<HTMLButtonElement>;
15
- protected isMaximized: boolean;
16
- /**
17
- * Observable to update the effective width of the dialog on screen resize
18
- */
19
- effectiveWidth$: Observable<string>;
20
- /**
21
- * Object to operate whether the dialog is open/closed
22
- */
23
- private _object;
24
- /**
25
- * Object to operate whether the dialog is open/closed
26
- */
27
- set object(value: any);
28
- get object(): any;
29
- /**
30
- * Title to show at the top of the dialog
31
- */
32
- readonly title: import("@angular/core").InputSignal<string>;
33
- /**
34
- * Class to apply to the title of the dialog
35
- */
36
- readonly titleClass: import("@angular/core").InputSignal<string>;
37
- /**
38
- * Show or hide the title bar
39
- */
40
- readonly showTitle: import("@angular/core").InputSignal<boolean>;
41
- /**
42
- * Whether to show close button and allow escape to close
43
- */
44
- readonly allowClose: import("@angular/core").InputSignal<boolean>;
45
- /**
46
- * Class to apply to the body of the dialog
47
- */
48
- readonly bodyClass: import("@angular/core").InputSignal<string>;
49
- /**
50
- * Height of the dialog (can use any height measurement)
51
- */
52
- readonly height: import("@angular/core").InputSignal<string>;
53
- /**
54
- * Width of the dialog (can use any width measurement)
55
- */
56
- readonly width: import("@angular/core").InputSignal<string>;
57
- readonly borderRadius: import("@angular/core").InputSignal<string>;
58
- readonly text: import("@angular/core").InputSignal<DialogText>;
59
- /**
60
- * Event Emitter for when the dialog is closed
61
- */
62
- readonly closed: import("@angular/core").OutputEmitterRef<void>;
63
- /**
64
- * Event emitted when dialog has finished opening
65
- */
66
- readonly opened: import("@angular/core").OutputEmitterRef<void>;
67
- toggleMaximize(): void;
68
- /**
69
- * Null the object to close the dialog, emit the close event.
70
- */
71
- close(): void;
72
- /**
73
- * Emit closed/opened events based on state when dialog animation ends
74
- * @param event
75
- */
76
- onAnimationDone(event: AnimationEvent): void;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "particle-dialog", never, { "object": { "alias": "object"; "required": false; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleClass": { "alias": "titleClass"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "allowClose": { "alias": "allowClose"; "required": false; "isSignal": true; }; "bodyClass": { "alias": "bodyClass"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["*"], true, never>;
79
- }