@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.
- package/fesm2022/entake-particle.mjs +267 -264
- package/fesm2022/entake-particle.mjs.map +1 -1
- package/index.d.ts +3850 -3
- package/package.json +14 -14
- package/particle.css +1 -1
- package/app/shared/components/accordion/accordion.component.d.ts +0 -26
- package/app/shared/components/calendar/calendar.component.d.ts +0 -206
- package/app/shared/components/checkbox/checkbox.component.d.ts +0 -41
- package/app/shared/components/color-picker/color-picker.component.d.ts +0 -143
- package/app/shared/components/date-picker/date-picker.component.d.ts +0 -253
- package/app/shared/components/date-range-picker/date-range-picker.component.d.ts +0 -94
- package/app/shared/components/dialog/dialog.component.d.ts +0 -79
- package/app/shared/components/dropdown/dropdown.component.d.ts +0 -290
- package/app/shared/components/icon-select/icon-select.component.d.ts +0 -226
- package/app/shared/components/idle-timeout/idle-timeout.component.d.ts +0 -34
- package/app/shared/components/input-mask/input-mask.component.d.ts +0 -85
- package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
- package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
- package/app/shared/components/loader/loader.component.d.ts +0 -11
- package/app/shared/components/multi-select/multi-select.component.d.ts +0 -273
- package/app/shared/components/notification/notification.component.d.ts +0 -38
- package/app/shared/components/paginator/paginator.component.d.ts +0 -112
- package/app/shared/components/popover/popover.component.d.ts +0 -135
- package/app/shared/components/profile-pic/profile-pic.component.d.ts +0 -33
- package/app/shared/components/progress-bar/progress-bar.component.d.ts +0 -15
- package/app/shared/components/radio-buttons/radio-buttons.component.d.ts +0 -36
- package/app/shared/components/rich-text/rich-text.component.d.ts +0 -50
- package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +0 -18
- package/app/shared/components/slideover/slideover.component.d.ts +0 -35
- package/app/shared/components/slider/slider.component.d.ts +0 -129
- package/app/shared/components/toggle-switch/toggle-switch.component.d.ts +0 -41
- package/app/shared/components/week-picker/week-picker.component.d.ts +0 -288
- package/app/shared/directives/accordion-content.directive.d.ts +0 -7
- package/app/shared/directives/accordion-header.directive.d.ts +0 -7
- package/app/shared/directives/accordion-item.directive.d.ts +0 -13
- package/app/shared/directives/background-carousel.directive.d.ts +0 -42
- package/app/shared/directives/keyfilter.directive.d.ts +0 -60
- package/app/shared/directives/tooltip.directive.d.ts +0 -151
- package/app/shared/interceptors/json.interceptor.d.ts +0 -17
- package/app/shared/models/auditable.model.d.ts +0 -21
- package/app/shared/models/carousel-options.model.d.ts +0 -21
- package/app/shared/models/data-list.model.d.ts +0 -9
- package/app/shared/models/dropdown-option-group.model.d.ts +0 -16
- package/app/shared/models/dropdown-option.model.d.ts +0 -25
- package/app/shared/models/fontawesome-icons-brands.model.d.ts +0 -13
- package/app/shared/models/fontawesome-icons-regular.model.d.ts +0 -13
- package/app/shared/models/fontawesome-icons-solid.model.d.ts +0 -13
- package/app/shared/models/id.model.d.ts +0 -9
- package/app/shared/models/multi-select-option-group.model.d.ts +0 -16
- package/app/shared/models/multi-select-option.model.d.ts +0 -25
- package/app/shared/models/notification.model.d.ts +0 -21
- package/app/shared/models/observable-container.d.ts +0 -8
- package/app/shared/models/pagination-event.model.d.ts +0 -8
- package/app/shared/models/particle-component-text.model.d.ts +0 -191
- package/app/shared/models/particle-icons-brands.model.d.ts +0 -21
- package/app/shared/models/particle-icons-regular.model.d.ts +0 -37
- package/app/shared/models/particle-icons-solid.model.d.ts +0 -61
- package/app/shared/models/rich-text-capabilities.model.d.ts +0 -8
- package/app/shared/models/theme.model.d.ts +0 -88
- package/app/shared/models/toggle-options.model.d.ts +0 -11
- package/app/shared/modules/icons/particle-icons.module.d.ts +0 -7
- package/app/shared/pipes/ordinal-number.pipe.d.ts +0 -15
- package/app/shared/services/base-data.service.d.ts +0 -130
- package/app/shared/services/dialog.service.d.ts +0 -10
- package/app/shared/services/icons.service.d.ts +0 -40
- package/app/shared/services/idle-timer.d.ts +0 -14
- package/app/shared/services/local-storage.service.d.ts +0 -41
- package/app/shared/services/notification.service.d.ts +0 -50
- package/app/shared/services/theme-change-detection.service.d.ts +0 -26
- package/app/shared/services/theming.service.d.ts +0 -123
- package/public_api.d.ts +0 -63
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
import { AnimationEvent } from '@angular/animations';
|
|
2
|
-
import { ElementRef, QueryList, TemplateRef } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
-
import { DropdownText } from '../../models/particle-component-text.model';
|
|
6
|
-
import { DropdownOption } from '../../models/dropdown-option.model';
|
|
7
|
-
import { DropdownOptionGroup } from '../../models/dropdown-option-group.model';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Type representing the dropdown component option input
|
|
11
|
-
*/
|
|
12
|
-
declare type DropdownOptionInput = Array<DropdownOption | DropdownOptionGroup>;
|
|
13
|
-
/**
|
|
14
|
-
* Dropdown component
|
|
15
|
-
*/
|
|
16
|
-
export declare class DropdownComponent implements ControlValueAccessor {
|
|
17
|
-
private renderer;
|
|
18
|
-
private changeDetectorRef;
|
|
19
|
-
/**
|
|
20
|
-
* Set the value of the dropdown
|
|
21
|
-
* @param value the value to set
|
|
22
|
-
*/
|
|
23
|
-
set value(value: string | number);
|
|
24
|
-
get value(): string | number;
|
|
25
|
-
/**
|
|
26
|
-
* The dropdown options/option groups
|
|
27
|
-
*/
|
|
28
|
-
set options(options: DropdownOptionInput);
|
|
29
|
-
/**
|
|
30
|
-
* Dependency injection site
|
|
31
|
-
* @param renderer the Angular renderer
|
|
32
|
-
* @param changeDetectorRef reference to the Angular change detector
|
|
33
|
-
*/
|
|
34
|
-
constructor();
|
|
35
|
-
/**
|
|
36
|
-
* The amount of offset (in pixels) to place between the dropdown
|
|
37
|
-
* and its list overlay
|
|
38
|
-
* @private
|
|
39
|
-
*/
|
|
40
|
-
private static readonly DROPDOWN_LIST_OFFSET;
|
|
41
|
-
/**
|
|
42
|
-
* List of arrow key keycodes
|
|
43
|
-
* @private
|
|
44
|
-
*/
|
|
45
|
-
private static readonly ARROW_KEYS;
|
|
46
|
-
/**
|
|
47
|
-
* ViewChild of the dropdown
|
|
48
|
-
*/
|
|
49
|
-
dropdown: ElementRef<HTMLDivElement>;
|
|
50
|
-
/**
|
|
51
|
-
* ViewChild of the dropdown button
|
|
52
|
-
*/
|
|
53
|
-
dropdownButton: ElementRef<HTMLButtonElement>;
|
|
54
|
-
/**
|
|
55
|
-
* ViewChild of the dropdown list
|
|
56
|
-
*/
|
|
57
|
-
dropdownList: ElementRef<HTMLDivElement>;
|
|
58
|
-
/**
|
|
59
|
-
* QueryList of dropdown option ViewChildren
|
|
60
|
-
*/
|
|
61
|
-
dropdownOptions: QueryList<ElementRef<HTMLButtonElement>>;
|
|
62
|
-
/**
|
|
63
|
-
* ContentChild of the dropdown option template
|
|
64
|
-
*/
|
|
65
|
-
template: TemplateRef<HTMLElement>;
|
|
66
|
-
/**
|
|
67
|
-
* Whether the dropdown should be disabled
|
|
68
|
-
*/
|
|
69
|
-
readonly disabled: import("@angular/core").ModelSignal<boolean>;
|
|
70
|
-
readonly text: import("@angular/core").InputSignal<DropdownText>;
|
|
71
|
-
/**
|
|
72
|
-
* Class list to assign to the dropdown
|
|
73
|
-
*/
|
|
74
|
-
readonly classList: import("@angular/core").InputSignal<string>;
|
|
75
|
-
readonly buttonClassList: import("@angular/core").InputSignal<string>;
|
|
76
|
-
readonly collapsedButtonTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
77
|
-
readonly collapsedButtonTooltipEnabled: import("@angular/core").InputSignal<boolean>;
|
|
78
|
-
readonly dropdownBoxMinWidth: import("@angular/core").InputSignal<number>;
|
|
79
|
-
/**
|
|
80
|
-
* Event emitted on value change, emits the new value
|
|
81
|
-
*/
|
|
82
|
-
readonly changed: import("@angular/core").OutputEmitterRef<string | number>;
|
|
83
|
-
/**
|
|
84
|
-
* BehaviorSubject tracking the input dropdown options/option groups
|
|
85
|
-
*/
|
|
86
|
-
readonly _options: BehaviorSubject<DropdownOptionInput>;
|
|
87
|
-
/**
|
|
88
|
-
* Full list of all active options, whether they are in a group or not
|
|
89
|
-
* @private
|
|
90
|
-
*/
|
|
91
|
-
private _allOptions;
|
|
92
|
-
/**
|
|
93
|
-
* Typeahead string while users are typing into the input field
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
private _fullPredictiveTextString;
|
|
97
|
-
/**
|
|
98
|
-
* Timeout to clear the _fullPredictiveTextString after a user stops typing for a certain amount of time
|
|
99
|
-
* @private
|
|
100
|
-
*/
|
|
101
|
-
private _timeout;
|
|
102
|
-
/**
|
|
103
|
-
* BehaviorSubject tracking the current value of the dropdown
|
|
104
|
-
*/
|
|
105
|
-
readonly _internalValue: BehaviorSubject<string | number>;
|
|
106
|
-
/**
|
|
107
|
-
* Observable map of option value (stringified if a number) to data context
|
|
108
|
-
*/
|
|
109
|
-
private readonly dataContextMap$;
|
|
110
|
-
/**
|
|
111
|
-
* The data context of the selected option as an Observable
|
|
112
|
-
*/
|
|
113
|
-
readonly selectedDataContext$: Observable<Record<string, unknown>>;
|
|
114
|
-
tooltipData$: Observable<unknown>;
|
|
115
|
-
private static getAllOptions;
|
|
116
|
-
/**
|
|
117
|
-
* Unique ID to assign to the dropdown
|
|
118
|
-
*/
|
|
119
|
-
readonly dropdownId: any;
|
|
120
|
-
/**
|
|
121
|
-
* Whether the dropdown should be rendered
|
|
122
|
-
*/
|
|
123
|
-
render: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Whether the dropdown is open
|
|
126
|
-
*/
|
|
127
|
-
opened: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* The index of the focused option in the dropdown list
|
|
130
|
-
*/
|
|
131
|
-
selectionIndex: number;
|
|
132
|
-
/**
|
|
133
|
-
* In mobile (screen width is less than 768), swap to a native input
|
|
134
|
-
*/
|
|
135
|
-
isMobile: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* The current value of the dropdown
|
|
138
|
-
* @private
|
|
139
|
-
*/
|
|
140
|
-
private _value;
|
|
141
|
-
/**
|
|
142
|
-
* Removes options that do not have both a label and a value,
|
|
143
|
-
* also removes empty groups (or groups that have no valid options)
|
|
144
|
-
* @param options the options to sanitize
|
|
145
|
-
* @private
|
|
146
|
-
*/
|
|
147
|
-
private static sanitizeOptionInput;
|
|
148
|
-
/**
|
|
149
|
-
* Add option label to data context if not present. If $implicit
|
|
150
|
-
* value is not present, it will be added with the label as its value.
|
|
151
|
-
* If $implicit is already present, it will add a label key to the context
|
|
152
|
-
* @param label the option label
|
|
153
|
-
* @param dataContext the option data context
|
|
154
|
-
* @private
|
|
155
|
-
*/
|
|
156
|
-
private static addLabelToDataContext;
|
|
157
|
-
/**
|
|
158
|
-
* Function to call on change
|
|
159
|
-
*/
|
|
160
|
-
onChange: (value: any) => void;
|
|
161
|
-
/**
|
|
162
|
-
* Function to call on touch
|
|
163
|
-
*/
|
|
164
|
-
onTouched: () => any;
|
|
165
|
-
/**
|
|
166
|
-
* Write value
|
|
167
|
-
* @param value the value to write
|
|
168
|
-
*/
|
|
169
|
-
writeValue(value: string | number): void;
|
|
170
|
-
/**
|
|
171
|
-
* Register function on change
|
|
172
|
-
* @param fn the function to register
|
|
173
|
-
*/
|
|
174
|
-
registerOnChange(fn: any): void;
|
|
175
|
-
/**
|
|
176
|
-
* Register function on touch
|
|
177
|
-
* @param fn the function to register
|
|
178
|
-
*/
|
|
179
|
-
registerOnTouched(fn: any): void;
|
|
180
|
-
/**
|
|
181
|
-
* Set the disabled state
|
|
182
|
-
* @param isDisabled disabled or not
|
|
183
|
-
*/
|
|
184
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
185
|
-
/**
|
|
186
|
-
* Reposition and resize the dropdown on window resize
|
|
187
|
-
*/
|
|
188
|
-
onWindowResize(event: any): void;
|
|
189
|
-
/**
|
|
190
|
-
* Prevent default behavior for arrow key keydown event
|
|
191
|
-
* @param event the keydown KeyboardEvent
|
|
192
|
-
*/
|
|
193
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
194
|
-
/**
|
|
195
|
-
* Close the dropdown list on tab and handle arrow key navigation
|
|
196
|
-
* @param event the keyup KeyboardEvent
|
|
197
|
-
*/
|
|
198
|
-
onKeyUp(event: KeyboardEvent): void;
|
|
199
|
-
/**
|
|
200
|
-
* Close the dropdown list (if opened) on click if outside the list
|
|
201
|
-
* @param event the click MouseEvent
|
|
202
|
-
*/
|
|
203
|
-
onClick(event: MouseEvent): void;
|
|
204
|
-
/**
|
|
205
|
-
* Close dropdown on escape keyup and focus on dropdown button
|
|
206
|
-
* @param event the keyup KeyboardEvent
|
|
207
|
-
*/
|
|
208
|
-
onEscapeKeyUp(event: Event): void;
|
|
209
|
-
/**
|
|
210
|
-
* Set focus to dropdown option on mouse enter and update selected index
|
|
211
|
-
* @param option the dropdown option to focus
|
|
212
|
-
* @param index the index of the option to focus
|
|
213
|
-
*/
|
|
214
|
-
onDropdownOptionMouseEnter(option: HTMLButtonElement, index: number): void;
|
|
215
|
-
/**
|
|
216
|
-
* Set focus to dropdown option on mouse move and update selected index
|
|
217
|
-
* @param option the dropdown option to focus
|
|
218
|
-
* @param index the index of the option to focus
|
|
219
|
-
*/
|
|
220
|
-
onDropdownOptionMouseMove(option: HTMLButtonElement, index: number): void;
|
|
221
|
-
/**
|
|
222
|
-
* Write value and close dropdown on option select
|
|
223
|
-
* @param value the value to write
|
|
224
|
-
* @param disabled whether or not the selected option is disabled
|
|
225
|
-
*/
|
|
226
|
-
onDropdownOptionSelect(value: string | number, disabled: boolean): void;
|
|
227
|
-
/**
|
|
228
|
-
* Open the dropdown list and align it
|
|
229
|
-
* @param event the click MouseEvent
|
|
230
|
-
*/
|
|
231
|
-
openDropdown(event: MouseEvent): void;
|
|
232
|
-
/**
|
|
233
|
-
* Close the dropdown list
|
|
234
|
-
*/
|
|
235
|
-
closeDropdown(): void;
|
|
236
|
-
/**
|
|
237
|
-
* Position and resize dropdown list on animation start if toState is open
|
|
238
|
-
* @param event the Angular AnimationEvent
|
|
239
|
-
*/
|
|
240
|
-
onAnimationStart(event: AnimationEvent): void;
|
|
241
|
-
/**
|
|
242
|
-
* Stop rendering dropdown list on animation done if toState is close
|
|
243
|
-
* @param event the Angular AnimationEvent
|
|
244
|
-
*/
|
|
245
|
-
onAnimationDone(event: AnimationEvent): void;
|
|
246
|
-
/**
|
|
247
|
-
* Focus on the selected dropdown option on dropdown open
|
|
248
|
-
* @private
|
|
249
|
-
*/
|
|
250
|
-
setSelectionIndex(): void;
|
|
251
|
-
/**
|
|
252
|
-
* Update internal value and emit change events if input value differs from current value
|
|
253
|
-
* @param value the selected value
|
|
254
|
-
* @private
|
|
255
|
-
*/
|
|
256
|
-
private handleDropdownOptionSelect;
|
|
257
|
-
onModelChangeMobile(value: any): void;
|
|
258
|
-
/**
|
|
259
|
-
* Align the dropdown list with the dropdown
|
|
260
|
-
* @private
|
|
261
|
-
*/
|
|
262
|
-
private positionDropdownList;
|
|
263
|
-
/**
|
|
264
|
-
* Match the dropdown list width to the dropdown's width
|
|
265
|
-
* @private
|
|
266
|
-
*/
|
|
267
|
-
private resizeDropdownList;
|
|
268
|
-
/**
|
|
269
|
-
* Handle arrow keyup event
|
|
270
|
-
* @param key the arrow key
|
|
271
|
-
*/
|
|
272
|
-
private onArrowKeyUp;
|
|
273
|
-
/**
|
|
274
|
-
* Get the next enabled dropdown option (relative to the current selection index).
|
|
275
|
-
* If the currently selected option is the final available option, it is
|
|
276
|
-
* returned. If no selection has been made, the first available option is returned
|
|
277
|
-
* @private
|
|
278
|
-
*/
|
|
279
|
-
private getNextOption;
|
|
280
|
-
/**
|
|
281
|
-
* Get the previous enabled dropdown option (relative to the current selection index).
|
|
282
|
-
* If the currently selected option is the first available option, it is
|
|
283
|
-
* returned
|
|
284
|
-
* @private
|
|
285
|
-
*/
|
|
286
|
-
private getPreviousOption;
|
|
287
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
288
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "particle-dropdown", never, { "value": { "alias": "value"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "classList": { "alias": "classList"; "required": false; "isSignal": true; }; "buttonClassList": { "alias": "buttonClassList"; "required": false; "isSignal": true; }; "collapsedButtonTemplate": { "alias": "collapsedButtonTemplate"; "required": false; "isSignal": true; }; "collapsedButtonTooltipEnabled": { "alias": "collapsedButtonTooltipEnabled"; "required": false; "isSignal": true; }; "dropdownBoxMinWidth": { "alias": "dropdownBoxMinWidth"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "changed": "changed"; }, ["template"], ["template"], true, never>;
|
|
289
|
-
}
|
|
290
|
-
export {};
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
|
-
import { IconSelectText } from '../../models/particle-component-text.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Particle Icon Select component provides a button and an icon picker that includes all of the Particle Icons as well as the FAS icons.
|
|
8
|
-
*/
|
|
9
|
-
export declare class IconSelectComponent implements ControlValueAccessor, OnDestroy {
|
|
10
|
-
private service;
|
|
11
|
-
private changeDetectorRef;
|
|
12
|
-
/**
|
|
13
|
-
* The number of items to display per page
|
|
14
|
-
* @private
|
|
15
|
-
*/
|
|
16
|
-
private static readonly PAGE_SIZE;
|
|
17
|
-
/**
|
|
18
|
-
* Set the value of the icon select
|
|
19
|
-
* @param value the value to set
|
|
20
|
-
*/
|
|
21
|
-
set value(value: string);
|
|
22
|
-
get value(): string;
|
|
23
|
-
/**
|
|
24
|
-
* Set disabled
|
|
25
|
-
* @param disabled whether or not the icon picker should be disabled
|
|
26
|
-
*/
|
|
27
|
-
set disabled(disabled: boolean);
|
|
28
|
-
get disabled(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Color class of the button
|
|
31
|
-
*/
|
|
32
|
-
readonly buttonColorClass: import("@angular/core").InputSignal<string>;
|
|
33
|
-
/**
|
|
34
|
-
* The value to set to the button's width, min-width, height and min-height
|
|
35
|
-
*/
|
|
36
|
-
readonly buttonSizing: import("@angular/core").InputSignal<string>;
|
|
37
|
-
readonly text: import("@angular/core").InputSignal<IconSelectText>;
|
|
38
|
-
/**
|
|
39
|
-
* Icon select opened event emitter
|
|
40
|
-
*/
|
|
41
|
-
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Icon selected event emitter
|
|
44
|
-
*/
|
|
45
|
-
readonly selected: import("@angular/core").OutputEmitterRef<any>;
|
|
46
|
-
/**
|
|
47
|
-
* Dialog closed event emitter
|
|
48
|
-
*/
|
|
49
|
-
readonly closed: import("@angular/core").OutputEmitterRef<any>;
|
|
50
|
-
/**
|
|
51
|
-
* The scrollable icon container
|
|
52
|
-
*/
|
|
53
|
-
iconScrollContainer: ElementRef<HTMLDivElement>;
|
|
54
|
-
/**
|
|
55
|
-
* BehaviorSubject tracking the input value destructed into its prefix and class name
|
|
56
|
-
*/
|
|
57
|
-
readonly _internalValue: BehaviorSubject<{
|
|
58
|
-
prefix: string;
|
|
59
|
-
name: string;
|
|
60
|
-
}>;
|
|
61
|
-
/**
|
|
62
|
-
* BehaviorSubject tracking the current filter value selection for icons
|
|
63
|
-
*/
|
|
64
|
-
readonly _filter: BehaviorSubject<{
|
|
65
|
-
style: "all" | "solid" | "regular" | "brands";
|
|
66
|
-
type: "all" | "particle" | "fontawesome";
|
|
67
|
-
}>;
|
|
68
|
-
/**
|
|
69
|
-
* BehaviorSubject tracking the current icon search text value
|
|
70
|
-
*/
|
|
71
|
-
readonly _searchText: BehaviorSubject<string>;
|
|
72
|
-
/**
|
|
73
|
-
* BehaviorSubject that emits when search button has been clicked
|
|
74
|
-
*/
|
|
75
|
-
readonly _searchClick: BehaviorSubject<string>;
|
|
76
|
-
/**
|
|
77
|
-
* BehaviorSubject tracking the active pagination page
|
|
78
|
-
*/
|
|
79
|
-
readonly _activePage: BehaviorSubject<number>;
|
|
80
|
-
/**
|
|
81
|
-
* Subject that emits on search input enter keyup
|
|
82
|
-
*/
|
|
83
|
-
readonly _searchInputEnterKeyup: Subject<void>;
|
|
84
|
-
/**
|
|
85
|
-
* An array of all icons (as strings) that meet the current filter/search criteria as an Observable
|
|
86
|
-
* @private
|
|
87
|
-
*/
|
|
88
|
-
private readonly icons$;
|
|
89
|
-
/**
|
|
90
|
-
* The count of total paginator pages as an Observable
|
|
91
|
-
*/
|
|
92
|
-
readonly totalPages$: Observable<number>;
|
|
93
|
-
/**
|
|
94
|
-
* Observable boolean indicating whether or not the user can perform an icon text search
|
|
95
|
-
*/
|
|
96
|
-
readonly canSearch$: Observable<boolean>;
|
|
97
|
-
/**
|
|
98
|
-
* Observable boolean indicating whether or not the user can paginate to the previous page
|
|
99
|
-
*/
|
|
100
|
-
readonly canPaginatePrevious$: Observable<boolean>;
|
|
101
|
-
/**
|
|
102
|
-
* Observable boolean indicating whether or not the user can paginate to the next page
|
|
103
|
-
*/
|
|
104
|
-
readonly canPaginateNext$: Observable<boolean>;
|
|
105
|
-
/**
|
|
106
|
-
* Paginated icons array as an Observable
|
|
107
|
-
*/
|
|
108
|
-
readonly paginatedIcons$: Observable<Array<{
|
|
109
|
-
prefix: string;
|
|
110
|
-
name: string;
|
|
111
|
-
}>>;
|
|
112
|
-
/**
|
|
113
|
-
* Object that controls whether to show the dialog or not
|
|
114
|
-
*/
|
|
115
|
-
showDialog: any;
|
|
116
|
-
/**
|
|
117
|
-
* Whether or not to show the icon selection preview
|
|
118
|
-
*/
|
|
119
|
-
showIconSelectionPreview: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Subscription object to store search input enter keyup subscription
|
|
122
|
-
* @private
|
|
123
|
-
*/
|
|
124
|
-
private readonly subscription;
|
|
125
|
-
/**
|
|
126
|
-
* The value of the icon select
|
|
127
|
-
* @private
|
|
128
|
-
*/
|
|
129
|
-
private _value;
|
|
130
|
-
/**
|
|
131
|
-
* Whether or not the icon picker is disabled
|
|
132
|
-
* @private
|
|
133
|
-
*/
|
|
134
|
-
private _disabled;
|
|
135
|
-
/**
|
|
136
|
-
* Function to call on change
|
|
137
|
-
*/
|
|
138
|
-
onChange: (value: any) => void;
|
|
139
|
-
/**
|
|
140
|
-
* Function to call on touch
|
|
141
|
-
*/
|
|
142
|
-
onTouched: () => any;
|
|
143
|
-
/**
|
|
144
|
-
* Dependency injection site
|
|
145
|
-
* @param service the IconsService
|
|
146
|
-
* @param changeDetectorRef the Angular ChangeDetectorRef
|
|
147
|
-
*/
|
|
148
|
-
constructor();
|
|
149
|
-
/**
|
|
150
|
-
* Destroy component, unsubscribe from search input enter keyup subscription
|
|
151
|
-
*/
|
|
152
|
-
ngOnDestroy(): void;
|
|
153
|
-
/**
|
|
154
|
-
* Write the input value
|
|
155
|
-
* @param value the value to write
|
|
156
|
-
*/
|
|
157
|
-
writeValue(value: string): void;
|
|
158
|
-
/**
|
|
159
|
-
* Register onChange function
|
|
160
|
-
* @param fn the function to register
|
|
161
|
-
*/
|
|
162
|
-
registerOnChange(fn: any): void;
|
|
163
|
-
/**
|
|
164
|
-
* Register onTouched function
|
|
165
|
-
* @param fn the function to register
|
|
166
|
-
*/
|
|
167
|
-
registerOnTouched(fn: any): void;
|
|
168
|
-
/**
|
|
169
|
-
* Set disabled state
|
|
170
|
-
* @param isDisabled whether or not the icon picker should be disabled
|
|
171
|
-
*/
|
|
172
|
-
setDisabledState(isDisabled: boolean): void;
|
|
173
|
-
/**
|
|
174
|
-
* Open the icon select dialog
|
|
175
|
-
*/
|
|
176
|
-
openDialog(): void;
|
|
177
|
-
/**
|
|
178
|
-
* Close the icon select dialog
|
|
179
|
-
*/
|
|
180
|
-
closeDialog(): void;
|
|
181
|
-
/**
|
|
182
|
-
* Handle filter select
|
|
183
|
-
* @param filter the selected filter
|
|
184
|
-
*/
|
|
185
|
-
handleFilterSelect(filter: {
|
|
186
|
-
style: 'all' | 'solid' | 'regular' | 'brands';
|
|
187
|
-
type: 'all' | 'particle' | 'fontawesome';
|
|
188
|
-
}): void;
|
|
189
|
-
/**
|
|
190
|
-
* Update internal value on icon select
|
|
191
|
-
* @param icon the selected icon
|
|
192
|
-
*/
|
|
193
|
-
handleIconSelect(icon: {
|
|
194
|
-
prefix: string;
|
|
195
|
-
name: string;
|
|
196
|
-
}): void;
|
|
197
|
-
/**
|
|
198
|
-
* Write value on confirm
|
|
199
|
-
*/
|
|
200
|
-
handleIconSelectConfirm(): void;
|
|
201
|
-
/**
|
|
202
|
-
* Go to the next pagination page
|
|
203
|
-
*/
|
|
204
|
-
paginateNext(): void;
|
|
205
|
-
/**
|
|
206
|
-
* Go to the previous pagination page
|
|
207
|
-
*/
|
|
208
|
-
paginatePrevious(): void;
|
|
209
|
-
/**
|
|
210
|
-
* Clear search text and reset paginator
|
|
211
|
-
*/
|
|
212
|
-
clearSearch(): void;
|
|
213
|
-
/**
|
|
214
|
-
* Update model
|
|
215
|
-
* @param value the new value of the model
|
|
216
|
-
* @private
|
|
217
|
-
*/
|
|
218
|
-
private updateModel;
|
|
219
|
-
/**
|
|
220
|
-
* Reset filtering/pagination BehaviorSubject values
|
|
221
|
-
* @private
|
|
222
|
-
*/
|
|
223
|
-
private reset;
|
|
224
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconSelectComponent, never>;
|
|
225
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconSelectComponent, "particle-icon-select", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonColorClass": { "alias": "buttonColorClass"; "required": false; "isSignal": true; }; "buttonSizing": { "alias": "buttonSizing"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "selected": "selected"; "closed": "closed"; }, never, never, true, never>;
|
|
226
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DialogComponent } from '../dialog/dialog.component';
|
|
3
|
-
import { IdleTimeoutText } from '../../models/particle-component-text.model';
|
|
4
|
-
import { IdleTimer } from '../../services/idle-timer';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class IdleTimeoutComponent implements OnInit {
|
|
7
|
-
borderRadius: string;
|
|
8
|
-
timeoutInSeconds: number;
|
|
9
|
-
text: IdleTimeoutText;
|
|
10
|
-
timerEnd: EventEmitter<any>;
|
|
11
|
-
/**
|
|
12
|
-
* Timeout Dialog - shows when the inactivity timer has 1 minute left, giving the user the ability to confirm they're still active.
|
|
13
|
-
*/
|
|
14
|
-
timeoutDialog: DialogComponent;
|
|
15
|
-
/**
|
|
16
|
-
* Used for the countdown to user auto-logout
|
|
17
|
-
*/
|
|
18
|
-
count: number;
|
|
19
|
-
/**
|
|
20
|
-
* Controls showing the dialog
|
|
21
|
-
*/
|
|
22
|
-
showDialog: any;
|
|
23
|
-
idleTimer: IdleTimer;
|
|
24
|
-
private readonly COUNTDOWN_LENGTH;
|
|
25
|
-
private finalCountdown;
|
|
26
|
-
private timerReset;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
openDialog(): void;
|
|
29
|
-
private setupFinalCountdown;
|
|
30
|
-
private handleTimerEnd;
|
|
31
|
-
resetTimer(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IdleTimeoutComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IdleTimeoutComponent, "particle-idle-timeout", never, { "borderRadius": { "alias": "borderRadius"; "required": false; }; "timeoutInSeconds": { "alias": "timeoutInSeconds"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, { "timerEnd": "timerEnd"; }, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const INPUTMASK_VALUE_ACCESSOR: any;
|
|
5
|
-
export declare class InputMaskComponent implements OnInit, ControlValueAccessor {
|
|
6
|
-
type: string;
|
|
7
|
-
slotChar: string;
|
|
8
|
-
autoClear: boolean;
|
|
9
|
-
style: any;
|
|
10
|
-
inputId: string;
|
|
11
|
-
styleClass: string;
|
|
12
|
-
placeholder: string;
|
|
13
|
-
size: number;
|
|
14
|
-
maxlength: number;
|
|
15
|
-
tabindex: string;
|
|
16
|
-
ariaLabel: string;
|
|
17
|
-
ariaRequired: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
|
-
unmask: boolean;
|
|
21
|
-
name: string;
|
|
22
|
-
required: boolean;
|
|
23
|
-
characterPattern: string;
|
|
24
|
-
autoFocus: boolean;
|
|
25
|
-
autocomplete: string;
|
|
26
|
-
inputViewChild: ElementRef;
|
|
27
|
-
onComplete: EventEmitter<any>;
|
|
28
|
-
onFocus: EventEmitter<any>;
|
|
29
|
-
onBlur: EventEmitter<any>;
|
|
30
|
-
onInput: EventEmitter<any>;
|
|
31
|
-
value: any;
|
|
32
|
-
_mask: string;
|
|
33
|
-
input: HTMLInputElement;
|
|
34
|
-
filled: boolean;
|
|
35
|
-
defs: any;
|
|
36
|
-
tests: any[];
|
|
37
|
-
partialPosition: any;
|
|
38
|
-
firstNonMaskPos: number;
|
|
39
|
-
lastRequiredNonMaskPos: any;
|
|
40
|
-
len: number;
|
|
41
|
-
oldVal: string;
|
|
42
|
-
buffer: any;
|
|
43
|
-
defaultBuffer: string;
|
|
44
|
-
focusText: string;
|
|
45
|
-
caretTimeoutId: any;
|
|
46
|
-
androidChrome: boolean;
|
|
47
|
-
focused: boolean;
|
|
48
|
-
onModelChange: (val?: any) => void;
|
|
49
|
-
onModelTouched: (val?: any) => void;
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
get mask(): string;
|
|
52
|
-
set mask(val: string);
|
|
53
|
-
initMask(): void;
|
|
54
|
-
writeValue(value: any): void;
|
|
55
|
-
registerOnChange(fn: any): void;
|
|
56
|
-
registerOnTouched(fn: any): void;
|
|
57
|
-
setDisabledState(val: boolean): void;
|
|
58
|
-
caret(first?: number, last?: number): any;
|
|
59
|
-
isCompleted(): boolean;
|
|
60
|
-
getPlaceholder(i: number): string;
|
|
61
|
-
seekNext(pos: number): number;
|
|
62
|
-
seekPrev(pos: number): number;
|
|
63
|
-
shiftL(begin: number, end: number): void;
|
|
64
|
-
shiftR(pos: number): void;
|
|
65
|
-
handleAndroidInput(e: Event): void;
|
|
66
|
-
onInputBlur(e: Event): void;
|
|
67
|
-
onKeyDown(e: KeyboardEvent): void;
|
|
68
|
-
onKeyPress(e: KeyboardEvent): void;
|
|
69
|
-
/**
|
|
70
|
-
* Adjust cursor position if clicked on empty space ahead of the existing input
|
|
71
|
-
*/
|
|
72
|
-
onClick(): void;
|
|
73
|
-
clearBuffer(start: number, end: number): void;
|
|
74
|
-
writeBuffer(): void;
|
|
75
|
-
checkVal(allow?: boolean): number;
|
|
76
|
-
onInputFocus(event: Event): void;
|
|
77
|
-
onInputChange(event: Event): void;
|
|
78
|
-
handleInputChange(event: Event): void;
|
|
79
|
-
getUnmaskedValue(): string;
|
|
80
|
-
updateModel(e: any): void;
|
|
81
|
-
updateFilledState(): void;
|
|
82
|
-
focus(): void;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputMaskComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputMaskComponent, "particle-input-mask", never, { "type": { "alias": "type"; "required": false; }; "slotChar": { "alias": "slotChar"; "required": false; }; "autoClear": { "alias": "autoClear"; "required": false; }; "style": { "alias": "style"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "characterPattern": { "alias": "characterPattern"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, { "onComplete": "onComplete"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onInput": "onInput"; }, never, never, true, never>;
|
|
85
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { SlideoverComponent } from '../slideover/slideover.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LayoutFullFramingComponent {
|
|
5
|
-
readonly mainContent: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
6
|
-
readonly rightSidebar: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
7
|
-
readonly header: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
8
|
-
readonly footer: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
9
|
-
readonly mainContentContainerClassList: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly rightSidebarContainerClassList: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly headerClassList: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly footerClassList: import("@angular/core").InputSignal<string>;
|
|
13
|
-
readonly headerHeight: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly footerHeight: import("@angular/core").InputSignal<string>;
|
|
15
|
-
readonly rightSidebarWidth: import("@angular/core").InputSignal<string>;
|
|
16
|
-
readonly breakpoint: import("@angular/core").InputSignal<number>;
|
|
17
|
-
readonly rightSidebarCollapsedTabOffset: import("@angular/core").InputSignal<number>;
|
|
18
|
-
readonly collapsedClassList: import("@angular/core").InputSignal<string>;
|
|
19
|
-
readonly mobileSidebarEnabled: import("@angular/core").InputSignal<boolean>;
|
|
20
|
-
slideover: SlideoverComponent;
|
|
21
|
-
onResize(event: any): void;
|
|
22
|
-
protected readonly window: Window & typeof globalThis;
|
|
23
|
-
get stickySidebarHeight(): string;
|
|
24
|
-
get contentSidebarHeight(): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutFullFramingComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutFullFramingComponent, "particle-layout-full-framing", never, { "mainContent": { "alias": "mainContent"; "required": false; "isSignal": true; }; "rightSidebar": { "alias": "rightSidebar"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "mainContentContainerClassList": { "alias": "mainContentContainerClassList"; "required": false; "isSignal": true; }; "rightSidebarContainerClassList": { "alias": "rightSidebarContainerClassList"; "required": false; "isSignal": true; }; "headerClassList": { "alias": "headerClassList"; "required": false; "isSignal": true; }; "footerClassList": { "alias": "footerClassList"; "required": false; "isSignal": true; }; "headerHeight": { "alias": "headerHeight"; "required": false; "isSignal": true; }; "footerHeight": { "alias": "footerHeight"; "required": false; "isSignal": true; }; "rightSidebarWidth": { "alias": "rightSidebarWidth"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "rightSidebarCollapsedTabOffset": { "alias": "rightSidebarCollapsedTabOffset"; "required": false; "isSignal": true; }; "collapsedClassList": { "alias": "collapsedClassList"; "required": false; "isSignal": true; }; "mobileSidebarEnabled": { "alias": "mobileSidebarEnabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|