@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.
- 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/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,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Particle Icons - Regular
|
|
3
|
-
*/
|
|
4
|
-
export declare class ParticleIconsRegular {
|
|
5
|
-
/**
|
|
6
|
-
* ptr fa-multi-select
|
|
7
|
-
*/
|
|
8
|
-
static ptrMultiSelect: {
|
|
9
|
-
prefix: string;
|
|
10
|
-
iconName: string;
|
|
11
|
-
icon: (string | number | any[])[];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* ptr fa-phone
|
|
15
|
-
*/
|
|
16
|
-
static ptrPhone: {
|
|
17
|
-
prefix: string;
|
|
18
|
-
iconName: string;
|
|
19
|
-
icon: (string | number | any[])[];
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* ptr fa-radio-buttons
|
|
23
|
-
*/
|
|
24
|
-
static ptrRadioButtons: {
|
|
25
|
-
prefix: string;
|
|
26
|
-
iconName: string;
|
|
27
|
-
icon: (string | number | any[])[];
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Full list of regular icons.
|
|
31
|
-
*/
|
|
32
|
-
static icons: {
|
|
33
|
-
prefix: string;
|
|
34
|
-
iconName: string;
|
|
35
|
-
icon: (string | number | any[])[];
|
|
36
|
-
}[];
|
|
37
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Particle Solid Icons to be added to Font Awesome.
|
|
3
|
-
*/
|
|
4
|
-
export declare class ParticleIconsSolid {
|
|
5
|
-
/**
|
|
6
|
-
* fas fa-divider
|
|
7
|
-
*/
|
|
8
|
-
static ptsDivider: {
|
|
9
|
-
prefix: string;
|
|
10
|
-
iconName: string;
|
|
11
|
-
icon: (string | number | any[])[];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* fas fa-multi-select
|
|
15
|
-
*/
|
|
16
|
-
static ptsMultiSelect: {
|
|
17
|
-
prefix: string;
|
|
18
|
-
iconName: string;
|
|
19
|
-
icon: (string | number | any[])[];
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* fas fa-phone
|
|
23
|
-
*/
|
|
24
|
-
static ptsPhone: {
|
|
25
|
-
prefix: string;
|
|
26
|
-
iconName: string;
|
|
27
|
-
icon: (string | number | any[])[];
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* fas fa-physical-address
|
|
31
|
-
*/
|
|
32
|
-
static ptsPhysicalAddress: {
|
|
33
|
-
prefix: string;
|
|
34
|
-
iconName: string;
|
|
35
|
-
icon: (string | number | any[])[];
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* fas fa-radio-buttons
|
|
39
|
-
*/
|
|
40
|
-
static ptsRadioButtons: {
|
|
41
|
-
prefix: string;
|
|
42
|
-
iconName: string;
|
|
43
|
-
icon: (string | number | any[])[];
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* fas fa-routing-number
|
|
47
|
-
*/
|
|
48
|
-
static ptsRoutingNumber: {
|
|
49
|
-
prefix: string;
|
|
50
|
-
iconName: string;
|
|
51
|
-
icon: (string | number | any[])[];
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* The list of exported Solid icons
|
|
55
|
-
*/
|
|
56
|
-
static icons: {
|
|
57
|
-
prefix: string;
|
|
58
|
-
iconName: string;
|
|
59
|
-
icon: (string | number | any[])[];
|
|
60
|
-
}[];
|
|
61
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export declare const Z_INDEX_LAYERS: {
|
|
2
|
-
BASE: string;
|
|
3
|
-
FRAME: string;
|
|
4
|
-
OVERLAY: string;
|
|
5
|
-
DIALOG: string;
|
|
6
|
-
NOTIFICATION: string;
|
|
7
|
-
};
|
|
8
|
-
export interface Theme {
|
|
9
|
-
themeId: string;
|
|
10
|
-
isDefault: boolean;
|
|
11
|
-
name: string;
|
|
12
|
-
layoutColors: ThemeLayoutColors;
|
|
13
|
-
layoutVariables: ThemeLayoutVariables;
|
|
14
|
-
stylingVariables: ThemeStylingVariables;
|
|
15
|
-
colorPalette: ThemeColorPalette;
|
|
16
|
-
buttonColorPalette: ThemeButtonColorPalette;
|
|
17
|
-
fonts: Array<ThemeFont>;
|
|
18
|
-
accessibility: ThemeAccessibility;
|
|
19
|
-
zIndexList?: Array<string>;
|
|
20
|
-
}
|
|
21
|
-
export interface ThemeLayoutColors {
|
|
22
|
-
menuColor: string;
|
|
23
|
-
headerColor: string;
|
|
24
|
-
footerColor: string;
|
|
25
|
-
bodyColor: string;
|
|
26
|
-
contentColor: string;
|
|
27
|
-
}
|
|
28
|
-
export interface ThemeColorPalette {
|
|
29
|
-
bgRed: string;
|
|
30
|
-
bgOrange: string;
|
|
31
|
-
bgYellow: string;
|
|
32
|
-
bgGreen: string;
|
|
33
|
-
bgBlue: string;
|
|
34
|
-
bgPurple: string;
|
|
35
|
-
bgBrown: string;
|
|
36
|
-
bgGrey: string;
|
|
37
|
-
extension: Array<ThemeColorPaletteExtension>;
|
|
38
|
-
}
|
|
39
|
-
export interface ThemeButtonColorPalette {
|
|
40
|
-
okButtonColor: string;
|
|
41
|
-
cancelButtonColor: string;
|
|
42
|
-
deleteButtonColor: string;
|
|
43
|
-
saveButtonColor: string;
|
|
44
|
-
nextButtonColor: string;
|
|
45
|
-
previousButtonColor: string;
|
|
46
|
-
openButtonColor: string;
|
|
47
|
-
closeButtonColor: string;
|
|
48
|
-
}
|
|
49
|
-
export interface ThemeLayoutVariables {
|
|
50
|
-
disableGlobalHeaderFooter: boolean;
|
|
51
|
-
headerHeight: string;
|
|
52
|
-
footerHeight: string;
|
|
53
|
-
menuWidth?: string;
|
|
54
|
-
}
|
|
55
|
-
export interface ThemeStylingVariables {
|
|
56
|
-
inputTextSize: string;
|
|
57
|
-
inputLabelSize: string;
|
|
58
|
-
inputHeight: string;
|
|
59
|
-
inputBgColor: string;
|
|
60
|
-
inputPadding: string;
|
|
61
|
-
borderColor: string;
|
|
62
|
-
borderSize: string;
|
|
63
|
-
borderRadius: string;
|
|
64
|
-
tooltipBackgroundColor: string;
|
|
65
|
-
tooltipTextSize: string;
|
|
66
|
-
tooltipBorderSize: string;
|
|
67
|
-
tooltipBorderColor: string;
|
|
68
|
-
tooltipCaretSize?: string;
|
|
69
|
-
}
|
|
70
|
-
export interface ThemeColorPaletteExtension {
|
|
71
|
-
className: string;
|
|
72
|
-
color?: string;
|
|
73
|
-
textColor?: string;
|
|
74
|
-
}
|
|
75
|
-
export interface ThemeFont {
|
|
76
|
-
name: string;
|
|
77
|
-
id?: string;
|
|
78
|
-
source?: 'google' | 'adobe';
|
|
79
|
-
isDefault?: boolean;
|
|
80
|
-
isSerif?: boolean;
|
|
81
|
-
}
|
|
82
|
-
export interface ThemeAccessibility {
|
|
83
|
-
enabled: boolean;
|
|
84
|
-
highlightColor: string;
|
|
85
|
-
highlightThickness: string;
|
|
86
|
-
highlightOffset: string;
|
|
87
|
-
hoverEnabled: boolean;
|
|
88
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ToggleOptions {
|
|
2
|
-
affirmativeColorClass?: string;
|
|
3
|
-
affirmativeLabel?: string;
|
|
4
|
-
affirmativeIcon?: string;
|
|
5
|
-
negativeColorClass?: string;
|
|
6
|
-
negativeLabel?: string;
|
|
7
|
-
negativeIcon?: string;
|
|
8
|
-
accessibilityLabel?: string;
|
|
9
|
-
toggleSwitchWidth: number;
|
|
10
|
-
toggleTrackWidth: number;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ParticleIconsModule {
|
|
3
|
-
constructor();
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ParticleIconsModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ParticleIconsModule, never, never, never>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ParticleIconsModule>;
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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", true>;
|
|
15
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { HttpClient, HttpErrorResponse, HttpParams } from '@angular/common/http';
|
|
3
|
-
/**
|
|
4
|
-
* This class provides some foundational REST endpoint call capabilities. It will do things like unpack lists into native objects and
|
|
5
|
-
* return Observables so that you don't have to deal with mapping each and every response. It'll also log errors to the console and pass
|
|
6
|
-
* along the error text for you.
|
|
7
|
-
*/
|
|
8
|
-
export declare class BaseDataService {
|
|
9
|
-
protected http: HttpClient;
|
|
10
|
-
/**
|
|
11
|
-
* Extensions of this class can provide the Base URL so that they don't need to write out the full URL for every call made.
|
|
12
|
-
*/
|
|
13
|
-
protected getBaseUrl(): string;
|
|
14
|
-
/**
|
|
15
|
-
* If you receive a 404 from an endpoint, you can choose to treat it like a successful empty response
|
|
16
|
-
* by overriding this and returning true.
|
|
17
|
-
*
|
|
18
|
-
* @protected
|
|
19
|
-
*/
|
|
20
|
-
protected ignoreNoResultsError(): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Takes an HTTPClient object so that it can make REST calls.
|
|
23
|
-
*
|
|
24
|
-
* @param http
|
|
25
|
-
*/
|
|
26
|
-
constructor(http: HttpClient);
|
|
27
|
-
/**
|
|
28
|
-
* Gets a result from an endpoint. Executes an HTTP GET.
|
|
29
|
-
*
|
|
30
|
-
* @param url
|
|
31
|
-
* @param params
|
|
32
|
-
*/
|
|
33
|
-
handleGet(url: string, params?: HttpParams): Observable<any>;
|
|
34
|
-
/**
|
|
35
|
-
* Will get a single result from an endpoint. Executes an HTTP GET.
|
|
36
|
-
*
|
|
37
|
-
* @param url
|
|
38
|
-
*/
|
|
39
|
-
handleGetOne(url: string): Observable<any>;
|
|
40
|
-
/**
|
|
41
|
-
* Gets a List of Values. Will unpack the data object automatically. Executes an HTTP GET.
|
|
42
|
-
*
|
|
43
|
-
* @param url
|
|
44
|
-
*/
|
|
45
|
-
handleGetList(url: string): Observable<any>;
|
|
46
|
-
/**
|
|
47
|
-
* Gets a file from an ednpoint. Executes an HTTP GET.
|
|
48
|
-
*
|
|
49
|
-
* @param url
|
|
50
|
-
* @param params
|
|
51
|
-
*/
|
|
52
|
-
handleFileGet(url: string, params?: HttpParams): Observable<any>;
|
|
53
|
-
/**
|
|
54
|
-
* The handleFileGet will use this to get a file.
|
|
55
|
-
*
|
|
56
|
-
* @param url
|
|
57
|
-
* @param isFileResponse
|
|
58
|
-
* @param params
|
|
59
|
-
*/
|
|
60
|
-
private handleGetDetailed;
|
|
61
|
-
/**
|
|
62
|
-
* Posts data to an endpoint. HTTP POST.
|
|
63
|
-
*
|
|
64
|
-
* @param url
|
|
65
|
-
* @param payload
|
|
66
|
-
*/
|
|
67
|
-
handlePost(url: string, payload: any): Observable<any>;
|
|
68
|
-
/**
|
|
69
|
-
* Posts data to an endpoint with an expected return of a File.
|
|
70
|
-
*
|
|
71
|
-
* @param url
|
|
72
|
-
* @param payload
|
|
73
|
-
*/
|
|
74
|
-
handlePostWithFileResponse(url: string, payload: any): Observable<any>;
|
|
75
|
-
/**
|
|
76
|
-
* The handlePost methods will use this to make Post calls easier.
|
|
77
|
-
*
|
|
78
|
-
* @param url
|
|
79
|
-
* @param payload
|
|
80
|
-
* @param isJson
|
|
81
|
-
* @param isFileResponse
|
|
82
|
-
*/
|
|
83
|
-
private handlePostDetailed;
|
|
84
|
-
/**
|
|
85
|
-
* Update data with a REST call. HTTP PUT.
|
|
86
|
-
*
|
|
87
|
-
* @param url
|
|
88
|
-
* @param payload
|
|
89
|
-
*/
|
|
90
|
-
handlePut(url: string, payload: any): Observable<any>;
|
|
91
|
-
/**
|
|
92
|
-
* Used by the handlePut method to make it simpler and the guts more reusable.
|
|
93
|
-
*
|
|
94
|
-
* @param url
|
|
95
|
-
* @param payload
|
|
96
|
-
* @param isJson
|
|
97
|
-
*/
|
|
98
|
-
private handlePutDetailed;
|
|
99
|
-
/**
|
|
100
|
-
* Executes an HTTP DELETE to remove data.
|
|
101
|
-
*
|
|
102
|
-
* @param url
|
|
103
|
-
*/
|
|
104
|
-
handleDelete(url: string): Observable<any>;
|
|
105
|
-
/**
|
|
106
|
-
* Handles an Observable error
|
|
107
|
-
*
|
|
108
|
-
* @param error
|
|
109
|
-
*/
|
|
110
|
-
handleObservableError(error: HttpErrorResponse): Observable<any>;
|
|
111
|
-
/**
|
|
112
|
-
* Logs an error and rethrows it
|
|
113
|
-
*
|
|
114
|
-
* @param error
|
|
115
|
-
* @param ignoreNoResultsError
|
|
116
|
-
*/
|
|
117
|
-
handleError(error: HttpErrorResponse, ignoreNoResultsError: boolean, noResultsResponse?: any): Observable<any>;
|
|
118
|
-
/**
|
|
119
|
-
* Performs a deep copy of a JS object.
|
|
120
|
-
*
|
|
121
|
-
* @param o
|
|
122
|
-
*/
|
|
123
|
-
deepCopy<T>(o: T): T;
|
|
124
|
-
/**
|
|
125
|
-
* Gets the expected response type from an endpoint
|
|
126
|
-
*
|
|
127
|
-
* @param isFileResponse
|
|
128
|
-
*/
|
|
129
|
-
private getOptions;
|
|
130
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DialogComponent } from '../components/dialog/dialog.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialogService {
|
|
4
|
-
dialogs: DialogComponent[];
|
|
5
|
-
private escapeListener;
|
|
6
|
-
registerDialog(dialog: DialogComponent): void;
|
|
7
|
-
unregisterDialog(dialog: DialogComponent): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
10
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Type representing the available Particle icon filter options
|
|
4
|
-
*/
|
|
5
|
-
declare type ParticleIconFilterOption = 'all' | 'solid' | 'regular' | 'brands';
|
|
6
|
-
/**
|
|
7
|
-
* Type representing the available Fontawesome icon filter options
|
|
8
|
-
*/
|
|
9
|
-
declare type FontawesomeIconFilterOption = 'all' | 'solid' | 'regular' | 'brands';
|
|
10
|
-
/**
|
|
11
|
-
* Service for filtering Particle/Fontawesome icons
|
|
12
|
-
*/
|
|
13
|
-
export declare class IconsService {
|
|
14
|
-
/**
|
|
15
|
-
* Get Fontawesome icons filtered by icon type
|
|
16
|
-
* @param filter the icon type to filter by
|
|
17
|
-
* @private
|
|
18
|
-
*/
|
|
19
|
-
private static getFontawesomeIcons;
|
|
20
|
-
/**
|
|
21
|
-
* Get Particle icons filtered by icon type
|
|
22
|
-
* @param filter the icon type to filter by
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
private static getParticleIcons;
|
|
26
|
-
/**
|
|
27
|
-
* Get a list of icons (as strings) containing both Particle icons
|
|
28
|
-
* and Fontawesome icons that match their respective filter criteria
|
|
29
|
-
* @param iconType the type of icon, or all icons
|
|
30
|
-
* @param filter the icon styling to filter by
|
|
31
|
-
* @param searchText the search text to filter icons by
|
|
32
|
-
*/
|
|
33
|
-
getIcons(iconType: 'all' | 'particle' | 'fontawesome', filter: ParticleIconFilterOption | FontawesomeIconFilterOption, searchText?: string): Array<{
|
|
34
|
-
prefix: string;
|
|
35
|
-
name: string;
|
|
36
|
-
}>;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconsService, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconsService>;
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class IdleTimer {
|
|
2
|
-
private interval;
|
|
3
|
-
private timeoutTracker;
|
|
4
|
-
private readonly eventHandler;
|
|
5
|
-
private readonly timeout;
|
|
6
|
-
private readonly onTimeout;
|
|
7
|
-
constructor(timeout: number, onTimeout: any);
|
|
8
|
-
private startInterval;
|
|
9
|
-
private updateExpiredTime;
|
|
10
|
-
private tracker;
|
|
11
|
-
cleanUp(): void;
|
|
12
|
-
resetTimer(): void;
|
|
13
|
-
isTimerExpired(): boolean;
|
|
14
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Wrapper around interactions with Local Storage. Handles serializing things to JSON to make it easier to push more complex data into
|
|
4
|
-
* local storage.
|
|
5
|
-
*/
|
|
6
|
-
export declare class LocalStorageService {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieve an object from LocalStorage
|
|
9
|
-
*
|
|
10
|
-
* @param key
|
|
11
|
-
*/
|
|
12
|
-
getObject<T>(key: string): T | null;
|
|
13
|
-
/**
|
|
14
|
-
* Get straight text out of local storage. Don't use this if the data is a JSON Object.
|
|
15
|
-
*
|
|
16
|
-
* @param key
|
|
17
|
-
*/
|
|
18
|
-
getText(key: string): string;
|
|
19
|
-
/**
|
|
20
|
-
* Puts an object into Local Storage. Handles stringifying the JS Object.
|
|
21
|
-
*
|
|
22
|
-
* @param key
|
|
23
|
-
* @param object
|
|
24
|
-
*/
|
|
25
|
-
putObject(key: string, object: any): void;
|
|
26
|
-
/**
|
|
27
|
-
* Puts text into Local Storage.
|
|
28
|
-
*
|
|
29
|
-
* @param key
|
|
30
|
-
* @param value
|
|
31
|
-
*/
|
|
32
|
-
putText(key: string, value: string): void;
|
|
33
|
-
/**
|
|
34
|
-
* Removes an item from local storage based on the key.
|
|
35
|
-
*
|
|
36
|
-
* @param key
|
|
37
|
-
*/
|
|
38
|
-
remove(key: string): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
40
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
41
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
* Add a notification
|
|
31
|
-
* @param notification the notification to add
|
|
32
|
-
*/
|
|
33
|
-
add(notification: Notification): void;
|
|
34
|
-
/**
|
|
35
|
-
* Delete a notification
|
|
36
|
-
* @param id the ID of the notification to delete
|
|
37
|
-
*/
|
|
38
|
-
deleteNotification(id: string): void;
|
|
39
|
-
/**
|
|
40
|
-
* Get notifications as an Observable
|
|
41
|
-
*/
|
|
42
|
-
getNotifications(): Observable<Array<Notification>>;
|
|
43
|
-
/**
|
|
44
|
-
* Set the number of milliseconds before added notifications disappear
|
|
45
|
-
* @param milliseconds the number of milliseconds to set
|
|
46
|
-
*/
|
|
47
|
-
setNotificationLife(milliseconds: number): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
50
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Service to allow for components/services to listen for theme changes
|
|
5
|
-
*/
|
|
6
|
-
export declare class ThemeChangeDetectionService {
|
|
7
|
-
/**
|
|
8
|
-
* Subject that fires when the theme is changed
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
private readonly _themeChanged;
|
|
12
|
-
/**
|
|
13
|
-
* Dependency injection site
|
|
14
|
-
*/
|
|
15
|
-
constructor();
|
|
16
|
-
/**
|
|
17
|
-
* Trigger a theme change event
|
|
18
|
-
*/
|
|
19
|
-
changeTheme(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Listen for theme change events
|
|
22
|
-
*/
|
|
23
|
-
listen(): Observable<void>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeChangeDetectionService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeChangeDetectionService>;
|
|
26
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Theme } from '../models/theme.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ThemingService {
|
|
5
|
-
private localStorageService;
|
|
6
|
-
private themeChangeDetectionService;
|
|
7
|
-
private readonly defaultZIndexes;
|
|
8
|
-
/**
|
|
9
|
-
* Prefix used to build the key for local storage of the theme
|
|
10
|
-
*/
|
|
11
|
-
private readonly THEME_KEY;
|
|
12
|
-
/**
|
|
13
|
-
* A private BehaviorSubject to store the loaded themes
|
|
14
|
-
*/
|
|
15
|
-
private themes;
|
|
16
|
-
private $selectedTheme;
|
|
17
|
-
get selectedTheme(): Observable<Theme>;
|
|
18
|
-
/**
|
|
19
|
-
* Key for the product this is deployed into
|
|
20
|
-
*/
|
|
21
|
-
protected applicationName: string;
|
|
22
|
-
/**
|
|
23
|
-
* Converts a JSON property name to snake case
|
|
24
|
-
*
|
|
25
|
-
* @param prop
|
|
26
|
-
*/
|
|
27
|
-
private toSnakeCase;
|
|
28
|
-
private toKebabCase;
|
|
29
|
-
private convertUnderscoreToDash;
|
|
30
|
-
/**
|
|
31
|
-
* For the given color, it'll lighten or darken the color by the percentage supplied. Positive percent will lighten, negative to darken.
|
|
32
|
-
*
|
|
33
|
-
* @param color
|
|
34
|
-
* @param percent
|
|
35
|
-
*/
|
|
36
|
-
private lightenDarkenColor;
|
|
37
|
-
/**
|
|
38
|
-
* Converts a hex value to a Javascript object with r,g, and b variables.
|
|
39
|
-
*
|
|
40
|
-
* @param hex
|
|
41
|
-
*/
|
|
42
|
-
private hexToRgb;
|
|
43
|
-
/**
|
|
44
|
-
* Generates a random hex color
|
|
45
|
-
*/
|
|
46
|
-
getRandomColor(): string;
|
|
47
|
-
/**
|
|
48
|
-
* On App Initialization (in app.component.ts, ngOnInit) call this to load themes and apply the user selected theme or default theme.
|
|
49
|
-
*
|
|
50
|
-
* @param applicationName
|
|
51
|
-
* @param themes
|
|
52
|
-
*/
|
|
53
|
-
appInit(applicationName: string, themes: Theme[]): void;
|
|
54
|
-
/**
|
|
55
|
-
* Return the themes for the current app
|
|
56
|
-
*/
|
|
57
|
-
getThemes(): Observable<Theme[]>;
|
|
58
|
-
/**
|
|
59
|
-
* Apply the selected theme
|
|
60
|
-
*/
|
|
61
|
-
applySettings(): void;
|
|
62
|
-
/**
|
|
63
|
-
* Returns the user selected theme from local storage
|
|
64
|
-
*/
|
|
65
|
-
getTheme(): Theme;
|
|
66
|
-
/**
|
|
67
|
-
* Persists the user selected theme in local storage
|
|
68
|
-
*
|
|
69
|
-
* @param settings
|
|
70
|
-
*/
|
|
71
|
-
saveTheme(settings: Theme): void;
|
|
72
|
-
/**
|
|
73
|
-
* Writes the theme information to a style tag in the header so that the theme is applied.
|
|
74
|
-
*
|
|
75
|
-
* @param theme
|
|
76
|
-
* @param prefix
|
|
77
|
-
*/
|
|
78
|
-
changeColors(theme: Theme, prefix?: string): void;
|
|
79
|
-
private addHashmark;
|
|
80
|
-
private addFonts;
|
|
81
|
-
private fontExists;
|
|
82
|
-
removeThemeFromHeader(prefix: string): void;
|
|
83
|
-
/**
|
|
84
|
-
* Determines the contrast between a given color and its auto-selected text color
|
|
85
|
-
*
|
|
86
|
-
* @param color
|
|
87
|
-
*/
|
|
88
|
-
getContrast(color: string): number;
|
|
89
|
-
/**
|
|
90
|
-
* Calculates luminance
|
|
91
|
-
*
|
|
92
|
-
* @param r
|
|
93
|
-
* @param g
|
|
94
|
-
* @param b
|
|
95
|
-
*/
|
|
96
|
-
private luminance;
|
|
97
|
-
private isDarkTheme;
|
|
98
|
-
/**
|
|
99
|
-
* Calculates the contrast
|
|
100
|
-
*
|
|
101
|
-
* @param rgb1
|
|
102
|
-
* @param rgb2
|
|
103
|
-
*/
|
|
104
|
-
private contrast;
|
|
105
|
-
/**
|
|
106
|
-
* Returns the maximally contrasting text color for the supplied background color
|
|
107
|
-
*
|
|
108
|
-
* @param color
|
|
109
|
-
*/
|
|
110
|
-
getTextColor(color: string): string;
|
|
111
|
-
/**
|
|
112
|
-
* Generates the CSS for each of the colors in the theme. Will write the base color and 9 light and dark variants of the given color.
|
|
113
|
-
*
|
|
114
|
-
* @param style
|
|
115
|
-
* @param color
|
|
116
|
-
* @param className
|
|
117
|
-
*/
|
|
118
|
-
private generateColors;
|
|
119
|
-
getDefaultZIndexes(): Array<string>;
|
|
120
|
-
private createZIndexes;
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemingService, never>;
|
|
122
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemingService>;
|
|
123
|
-
}
|