@indice/ng-components 0.3.12 → 0.4.0-beta.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/indice-ng-components.mjs +314 -279
- package/fesm2022/indice-ng-components.mjs.map +1 -1
- package/index.d.ts +1894 -3
- package/package.json +7 -9
- package/esm2022/indice-ng-components.mjs +0 -5
- package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +0 -161
- package/esm2022/lib/controls/advanced-search/models.mjs +0 -109
- package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
- package/esm2022/lib/controls/breadcrumb/breadcrumb-item.mjs +0 -14
- package/esm2022/lib/controls/breadcrumb/breadcrumb.component.mjs +0 -26
- package/esm2022/lib/controls/collapsible-panel/collapsible-panel.component.mjs +0 -20
- package/esm2022/lib/controls/combobox/combobox.component.mjs +0 -118
- package/esm2022/lib/controls/content-tile/content-tile.component.mjs +0 -91
- package/esm2022/lib/controls/date-picker/date-picker.component.mjs +0 -300
- package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
- package/esm2022/lib/controls/enhanced-combobox/enhanced-combobox.component.mjs +0 -115
- package/esm2022/lib/controls/kpi-tile/kpi-tile.component.mjs +0 -43
- package/esm2022/lib/controls/language-selection/language-selection.component.mjs +0 -31
- package/esm2022/lib/controls/list-view/list-column.component.mjs +0 -25
- package/esm2022/lib/controls/list-view/list-details-section.component.mjs +0 -17
- package/esm2022/lib/controls/list-view/list-tile.component.mjs +0 -17
- package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
- package/esm2022/lib/controls/list-view/list-view.component.mjs +0 -211
- package/esm2022/lib/controls/nav-links-list/nav-links-list.component.mjs +0 -54
- package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
- package/esm2022/lib/controls/pager/pager.component.mjs +0 -130
- package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +0 -46
- package/esm2022/lib/controls/side-pane/side-pane.component.mjs +0 -106
- package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -29
- package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +0 -49
- package/esm2022/lib/controls/stepper/lib-step-info.directive.mjs +0 -16
- package/esm2022/lib/controls/stepper/lib-step-label.directive.mjs +0 -16
- package/esm2022/lib/controls/stepper/lib-step.component.mjs +0 -81
- package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +0 -108
- package/esm2022/lib/controls/stepper/types/step-selected-event.mjs +0 -4
- package/esm2022/lib/controls/stepper/types/stepper-type.mjs +0 -12
- package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
- package/esm2022/lib/controls/tabs/lib-tab-label.directive.mjs +0 -16
- package/esm2022/lib/controls/tabs/lib-tab.component.mjs +0 -64
- package/esm2022/lib/controls/toaster/toaster-container.component.mjs +0 -28
- package/esm2022/lib/controls/toaster/toaster.component.mjs +0 -31
- package/esm2022/lib/controls/toggle/toggle.component.mjs +0 -64
- package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
- package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -34
- package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -75
- package/esm2022/lib/directives/click-outside.directive.mjs +0 -189
- package/esm2022/lib/directives/dynamic-component-host.directive.mjs +0 -17
- package/esm2022/lib/helpers/base-list.component.mjs +0 -235
- package/esm2022/lib/icons.mjs +0 -36
- package/esm2022/lib/layouts/shell/shell-footer/shell-footer.component.mjs +0 -19
- package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -138
- package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -92
- package/esm2022/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +0 -54
- package/esm2022/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +0 -45
- package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -33
- package/esm2022/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +0 -24
- package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +0 -86
- package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -103
- package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -106
- package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
- package/esm2022/lib/ng-components.module.mjs +0 -324
- package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
- package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
- package/esm2022/lib/pages/auth/logged-out/logged-out.component.mjs +0 -28
- package/esm2022/lib/pages/http-status/error/error.component.mjs +0 -17
- package/esm2022/lib/pages/http-status/page-not-found/page-not-found.component.mjs +0 -15
- package/esm2022/lib/pages/http-status/unauthorized/unauthorized.component.mjs +0 -14
- package/esm2022/lib/pipes/address.pipe.mjs +0 -21
- package/esm2022/lib/pipes/duration-format.pipe.mjs +0 -64
- package/esm2022/lib/pipes/short-number.pipe.mjs +0 -43
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -181
- package/esm2022/lib/services/component-loader/component-loader-options.class.mjs +0 -8
- package/esm2022/lib/services/component-loader/component-loader.class.mjs +0 -188
- package/esm2022/lib/services/component-loader/component-loader.factory.mjs +0 -32
- package/esm2022/lib/services/component-loader/content-ref.class.mjs +0 -13
- package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
- package/esm2022/lib/services/modal-service/modal-container-component.mjs +0 -126
- package/esm2022/lib/services/modal-service/modal-options.class.mjs +0 -35
- package/esm2022/lib/services/modal-service/modal-service.mjs +0 -220
- package/esm2022/lib/services/modal-service/modal-styles.class.mjs +0 -11
- package/esm2022/lib/services/modal-service/modal.class.mjs +0 -27
- package/esm2022/lib/services/toaster.service.mjs +0 -26
- package/esm2022/lib/services/user-settings.service.mjs +0 -35
- package/esm2022/lib/services/utilities.service.mjs +0 -47
- package/esm2022/lib/tokens.mjs +0 -8
- package/esm2022/lib/types.mjs +0 -143
- package/esm2022/public-api.mjs +0 -77
- package/lib/controls/advanced-search/advanced-search.component.d.ts +0 -42
- package/lib/controls/advanced-search/models.d.ts +0 -92
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +0 -14
- package/lib/controls/breadcrumb/breadcrumb-item.d.ts +0 -7
- package/lib/controls/breadcrumb/breadcrumb.component.d.ts +0 -12
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +0 -10
- package/lib/controls/combobox/combobox.component.d.ts +0 -34
- package/lib/controls/content-tile/content-tile.component.d.ts +0 -34
- package/lib/controls/date-picker/date-picker.component.d.ts +0 -53
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +0 -26
- package/lib/controls/enhanced-combobox/enhanced-combobox.component.d.ts +0 -37
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +0 -15
- package/lib/controls/language-selection/language-selection.component.d.ts +0 -14
- package/lib/controls/list-view/list-column.component.d.ts +0 -9
- package/lib/controls/list-view/list-details-section.component.d.ts +0 -7
- package/lib/controls/list-view/list-tile.component.d.ts +0 -7
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +0 -11
- package/lib/controls/list-view/list-view.component.d.ts +0 -62
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +0 -21
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +0 -22
- package/lib/controls/pager/pager.component.d.ts +0 -36
- package/lib/controls/progress-bar/progress-bar.component.d.ts +0 -16
- package/lib/controls/side-pane/side-pane.component.d.ts +0 -28
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +0 -12
- package/lib/controls/stats-grid/stats-grid.component.d.ts +0 -16
- package/lib/controls/stepper/lib-step-info.directive.d.ts +0 -8
- package/lib/controls/stepper/lib-step-label.directive.d.ts +0 -8
- package/lib/controls/stepper/lib-step.component.d.ts +0 -34
- package/lib/controls/stepper/lib-stepper.component.d.ts +0 -43
- package/lib/controls/stepper/types/step-selected-event.d.ts +0 -12
- package/lib/controls/stepper/types/stepper-type.d.ts +0 -10
- package/lib/controls/tabs/lib-tab-group.component.d.ts +0 -21
- package/lib/controls/tabs/lib-tab-label.directive.d.ts +0 -8
- package/lib/controls/tabs/lib-tab.component.d.ts +0 -24
- package/lib/controls/toaster/toaster-container.component.d.ts +0 -13
- package/lib/controls/toaster/toaster.component.d.ts +0 -15
- package/lib/controls/toggle/toggle.component.d.ts +0 -19
- package/lib/controls/toggle-button/toggle-button.component.d.ts +0 -25
- package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +0 -15
- package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +0 -25
- package/lib/directives/click-outside.directive.d.ts +0 -40
- package/lib/directives/dynamic-component-host.directive.d.ts +0 -9
- package/lib/helpers/base-list.component.d.ts +0 -55
- package/lib/icons.d.ts +0 -34
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +0 -8
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +0 -40
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +0 -27
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +0 -20
- package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +0 -14
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +0 -16
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +0 -11
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +0 -26
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +0 -44
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +0 -29
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +0 -31
- package/lib/ng-components.module.d.ts +0 -70
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +0 -13
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +0 -12
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +0 -12
- package/lib/pages/http-status/error/error.component.d.ts +0 -8
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +0 -8
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +0 -8
- package/lib/pipes/address.pipe.d.ts +0 -8
- package/lib/pipes/duration-format.pipe.d.ts +0 -8
- package/lib/pipes/short-number.pipe.d.ts +0 -7
- package/lib/services/breadcrumb.service.d.ts +0 -29
- package/lib/services/component-loader/component-loader-options.class.d.ts +0 -30
- package/lib/services/component-loader/component-loader.class.d.ts +0 -92
- package/lib/services/component-loader/component-loader.factory.d.ts +0 -24
- package/lib/services/component-loader/content-ref.class.d.ts +0 -12
- package/lib/services/modal-service/modal-backdrop-component.d.ts +0 -20
- package/lib/services/modal-service/modal-container-component.d.ts +0 -33
- package/lib/services/modal-service/modal-options.class.d.ts +0 -81
- package/lib/services/modal-service/modal-service.d.ts +0 -58
- package/lib/services/modal-service/modal-styles.class.d.ts +0 -10
- package/lib/services/modal-service/modal.class.d.ts +0 -43
- package/lib/services/toaster.service.d.ts +0 -11
- package/lib/services/user-settings.service.d.ts +0 -13
- package/lib/services/utilities.service.d.ts +0 -11
- package/lib/tokens.d.ts +0 -10
- package/lib/types.d.ts +0 -188
- package/public-api.d.ts +0 -67
package/index.d.ts
CHANGED
|
@@ -1,5 +1,1896 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, OnDestroy, EventEmitter, ElementRef, NgZone, SimpleChanges, QueryList, TemplateRef, AfterContentInit, AfterContentChecked, AfterViewChecked, ChangeDetectorRef, ComponentRef, ViewContainerRef, ComponentFactoryResolver, ApplicationRef, Injector, Type, StaticProvider, AfterViewInit, PipeTransform, InjectionToken, Renderer2, RendererFactory2, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
|
4
|
+
import * as i60 from '@angular/router';
|
|
5
|
+
import { Params, Router, ActivatedRoute, Event as Event$1 } from '@angular/router';
|
|
6
|
+
import * as i62 from '@angular/forms';
|
|
7
|
+
import { ControlValueAccessor, AbstractControl } from '@angular/forms';
|
|
8
|
+
import * as _indice_ng_components from '@indice/ng-components';
|
|
9
|
+
import * as i61 from '@indice/ng-auth';
|
|
10
|
+
import { AuthService } from '@indice/ng-auth';
|
|
11
|
+
import { User } from 'oidc-client-ts';
|
|
12
|
+
import { Observable as Observable$1 } from 'rxjs/internal/Observable';
|
|
13
|
+
import * as i59 from '@angular/common';
|
|
14
|
+
import { Location } from '@angular/common';
|
|
15
|
+
|
|
16
|
+
declare class ClickOutsideDirective implements OnInit, OnChanges, OnDestroy {
|
|
17
|
+
private _el;
|
|
18
|
+
private _ngZone;
|
|
19
|
+
private platformId;
|
|
20
|
+
clickOutsideEnabled: boolean;
|
|
21
|
+
attachOutsideOnClick: boolean;
|
|
22
|
+
delayClickOutsideInit: boolean;
|
|
23
|
+
emitOnBlur: boolean;
|
|
24
|
+
exclude: string;
|
|
25
|
+
excludeBeforeClick: boolean;
|
|
26
|
+
clickOutsideEvents: string;
|
|
27
|
+
clickOutside: EventEmitter<Event>;
|
|
28
|
+
private _nodesExcluded;
|
|
29
|
+
private _events;
|
|
30
|
+
constructor(_el: ElementRef, _ngZone: NgZone, platformId: any);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
private _init;
|
|
35
|
+
private _initOnClickBody;
|
|
36
|
+
private _excludeCheck;
|
|
37
|
+
private _onClickBody;
|
|
38
|
+
/**
|
|
39
|
+
* Resolves problem with outside click on iframe
|
|
40
|
+
* @see https://github.com/arkon/ng-click-outside/issues/32
|
|
41
|
+
*/
|
|
42
|
+
private _onWindowBlur;
|
|
43
|
+
private _emit;
|
|
44
|
+
private _shouldExclude;
|
|
45
|
+
private _initClickOutsideListener;
|
|
46
|
+
private _removeClickOutsideListener;
|
|
47
|
+
private _initAttachOutsideOnClickListener;
|
|
48
|
+
private _removeAttachOutsideOnClickListener;
|
|
49
|
+
private _initWindowBlurListener;
|
|
50
|
+
private _removeWindowBlurListener;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, { "clickOutsideEnabled": { "alias": "clickOutsideEnabled"; "required": false; }; "attachOutsideOnClick": { "alias": "attachOutsideOnClick"; "required": false; }; "delayClickOutsideInit": { "alias": "delayClickOutsideInit"; "required": false; }; "emitOnBlur": { "alias": "emitOnBlur"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; "excludeBeforeClick": { "alias": "excludeBeforeClick"; "required": false; }; "clickOutsideEvents": { "alias": "clickOutsideEvents"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
interface IAppNotifications {
|
|
56
|
+
messages: Observable<IResultSet<NavLink>>;
|
|
57
|
+
getMessage?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
|
|
58
|
+
markMessageRead?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
|
|
59
|
+
refresh?: () => void | undefined;
|
|
60
|
+
inboxAction?: () => void | undefined;
|
|
61
|
+
}
|
|
62
|
+
interface IAppLanguagesService {
|
|
63
|
+
options: Observable<MenuOption[]> | undefined;
|
|
64
|
+
selected?: string;
|
|
65
|
+
default?: string;
|
|
66
|
+
setSelected?: (lang: string) => void | undefined;
|
|
67
|
+
}
|
|
68
|
+
interface IAppLinks {
|
|
69
|
+
public: Observable<NavLink[]>;
|
|
70
|
+
main: Observable<NavLink[]>;
|
|
71
|
+
profile: Observable<NavLink[]>;
|
|
72
|
+
profileActions: Observable<NavLink[]>;
|
|
73
|
+
legal: Observable<NavLink[]>;
|
|
74
|
+
brand: Observable<NavLink[]>;
|
|
75
|
+
notifications?: Observable<NavLink>;
|
|
76
|
+
}
|
|
77
|
+
declare class NavLink {
|
|
78
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any, queryParams?: Params);
|
|
79
|
+
text: string;
|
|
80
|
+
path: string;
|
|
81
|
+
exact: boolean;
|
|
82
|
+
external: boolean;
|
|
83
|
+
icon: string | undefined;
|
|
84
|
+
type: string;
|
|
85
|
+
data: any | undefined;
|
|
86
|
+
queryParams: Params | undefined;
|
|
87
|
+
}
|
|
88
|
+
declare class ExternalNavLink extends NavLink {
|
|
89
|
+
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
90
|
+
type: string;
|
|
91
|
+
}
|
|
92
|
+
declare class FragmentNavLink extends NavLink {
|
|
93
|
+
constructor(text: string, path: string, icon?: string);
|
|
94
|
+
type: string;
|
|
95
|
+
}
|
|
96
|
+
declare class NotificationNavLink extends NavLink {
|
|
97
|
+
isRead: boolean;
|
|
98
|
+
creationDate?: Date | undefined;
|
|
99
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
100
|
+
}
|
|
101
|
+
declare class NavLinkSeparator extends NavLink {
|
|
102
|
+
isRead: boolean;
|
|
103
|
+
creationDate?: Date | undefined;
|
|
104
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
105
|
+
type: string;
|
|
106
|
+
}
|
|
107
|
+
declare class ViewAction {
|
|
108
|
+
type: string;
|
|
109
|
+
key: string | null;
|
|
110
|
+
param: any;
|
|
111
|
+
icon: string;
|
|
112
|
+
tooltip: string | null;
|
|
113
|
+
text?: string;
|
|
114
|
+
constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
|
|
115
|
+
}
|
|
116
|
+
declare class ListViewType {
|
|
117
|
+
static Tiles: string;
|
|
118
|
+
static Table: string;
|
|
119
|
+
static Map: string;
|
|
120
|
+
static Gallery: string;
|
|
121
|
+
}
|
|
122
|
+
declare class RouterViewAction extends ViewAction {
|
|
123
|
+
outlet: string | null;
|
|
124
|
+
link: string | null;
|
|
125
|
+
constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
|
|
126
|
+
}
|
|
127
|
+
declare class SwitchViewAction extends ViewAction {
|
|
128
|
+
constructor(view: string, icon: string, tooltip: string | null);
|
|
129
|
+
}
|
|
130
|
+
interface IResultSet<T> {
|
|
131
|
+
count: number;
|
|
132
|
+
items: T[];
|
|
133
|
+
}
|
|
134
|
+
declare class HeaderMetaItem {
|
|
135
|
+
key: string | null;
|
|
136
|
+
icon: string | null;
|
|
137
|
+
text: string | null;
|
|
138
|
+
}
|
|
139
|
+
declare class MenuOption {
|
|
140
|
+
constructor(text: string, value: any, description?: string, data?: any, icon?: string);
|
|
141
|
+
text: string;
|
|
142
|
+
value: any;
|
|
143
|
+
description: string | undefined;
|
|
144
|
+
data: any | undefined;
|
|
145
|
+
icon: string | undefined;
|
|
146
|
+
}
|
|
147
|
+
declare enum PagerPosition {
|
|
148
|
+
Top = "top",
|
|
149
|
+
Bottom = "bottom",
|
|
150
|
+
Both = "both"
|
|
151
|
+
}
|
|
152
|
+
interface IAddress {
|
|
153
|
+
id?: string;
|
|
154
|
+
street?: string | null;
|
|
155
|
+
streetNumber?: string | null;
|
|
156
|
+
city?: string | null;
|
|
157
|
+
region?: string | null;
|
|
158
|
+
postalCode?: string | null;
|
|
159
|
+
country?: string | null;
|
|
160
|
+
}
|
|
161
|
+
interface IShellConfig {
|
|
162
|
+
appLogo: string;
|
|
163
|
+
appLogoAlt: string;
|
|
164
|
+
breadcrumb: boolean;
|
|
165
|
+
customFooterComponent?: any;
|
|
166
|
+
customHeaderComponent?: any;
|
|
167
|
+
fluid: boolean;
|
|
168
|
+
layout?: ShellLayoutType;
|
|
169
|
+
showAlertsOnHeader?: boolean;
|
|
170
|
+
showFooter: boolean;
|
|
171
|
+
showHeader: boolean;
|
|
172
|
+
showLangsOnHeader?: boolean;
|
|
173
|
+
showUserNameOnHeader?: boolean;
|
|
174
|
+
showPictureOnHeader?: boolean;
|
|
175
|
+
}
|
|
176
|
+
declare enum ShellLayoutType {
|
|
177
|
+
Stacked = "Stacked",
|
|
178
|
+
Sidebar = "Sidebar"
|
|
179
|
+
}
|
|
180
|
+
declare class DefaultShellConfig implements IShellConfig {
|
|
181
|
+
appLogo: string;
|
|
182
|
+
appLogoAlt: string;
|
|
183
|
+
breadcrumb: boolean;
|
|
184
|
+
fluid: boolean;
|
|
185
|
+
layout: ShellLayoutType;
|
|
186
|
+
showAlertsOnHeader: boolean;
|
|
187
|
+
showFooter: boolean;
|
|
188
|
+
showHeader: boolean;
|
|
189
|
+
showUserNameOnHeader: boolean;
|
|
190
|
+
showPictureOnHeader: boolean;
|
|
191
|
+
}
|
|
192
|
+
declare enum SCREEN_SIZE {
|
|
193
|
+
XS = 0,
|
|
194
|
+
SM = 1,
|
|
195
|
+
MD = 2,
|
|
196
|
+
LG = 3,
|
|
197
|
+
XL = 4
|
|
198
|
+
}
|
|
199
|
+
interface IScreenSize {
|
|
200
|
+
id: SCREEN_SIZE;
|
|
201
|
+
name: string;
|
|
202
|
+
css: string;
|
|
203
|
+
}
|
|
204
|
+
declare enum ToastType {
|
|
205
|
+
Info = "info",
|
|
206
|
+
Success = "success",
|
|
207
|
+
Error = "error",
|
|
208
|
+
Warning = "warning"
|
|
209
|
+
}
|
|
210
|
+
declare const NULL_TOAST: Toast;
|
|
211
|
+
interface Toast {
|
|
212
|
+
type: ToastType;
|
|
213
|
+
title: string;
|
|
214
|
+
body: string;
|
|
215
|
+
delay: number;
|
|
216
|
+
}
|
|
217
|
+
declare enum SidePaneSize {
|
|
218
|
+
Default = "",
|
|
219
|
+
Small25 = "25%",
|
|
220
|
+
Medium50 = "50%",
|
|
221
|
+
Large75 = "75%",
|
|
222
|
+
Fullscreen = "100%"
|
|
223
|
+
}
|
|
224
|
+
declare enum SidePaneOverlayType {
|
|
225
|
+
Default = "",
|
|
226
|
+
None = "-opacity-0",
|
|
227
|
+
Light = "",
|
|
228
|
+
Dark = "-opacity-50"
|
|
229
|
+
}
|
|
230
|
+
interface IValidationProblemDetails {
|
|
231
|
+
type?: string | undefined;
|
|
232
|
+
title?: string | undefined;
|
|
233
|
+
status?: number | undefined;
|
|
234
|
+
detail?: string | undefined;
|
|
235
|
+
instance?: string | undefined;
|
|
236
|
+
errors?: {
|
|
237
|
+
[key: string]: string[];
|
|
238
|
+
} | undefined;
|
|
239
|
+
}
|
|
240
|
+
type UserSettingKey = 'MobileSideBar';
|
|
241
|
+
|
|
242
|
+
declare class DropDownMenuComponent implements OnInit, OnChanges {
|
|
243
|
+
options: MenuOption[] | undefined;
|
|
244
|
+
selectedValue: any | null | undefined;
|
|
245
|
+
multiple: boolean;
|
|
246
|
+
placeholder: string;
|
|
247
|
+
showIcons: boolean;
|
|
248
|
+
private selectedOption$;
|
|
249
|
+
get selectedOption(): MenuOption | null;
|
|
250
|
+
set selectedOption(option: MenuOption | null);
|
|
251
|
+
selectedChange: EventEmitter<any>;
|
|
252
|
+
selectedChanged: EventEmitter<any>;
|
|
253
|
+
private expanded$;
|
|
254
|
+
get expanded(): boolean;
|
|
255
|
+
set expanded(value: boolean);
|
|
256
|
+
constructor();
|
|
257
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
258
|
+
ngOnInit(): void;
|
|
259
|
+
isSelected(option: MenuOption): boolean;
|
|
260
|
+
onClickOutside($event: any): void;
|
|
261
|
+
selectOption(option: MenuOption): void;
|
|
262
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownMenuComponent, never>;
|
|
263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownMenuComponent, "lib-drop-down-menu", never, { "options": { "alias": "options"; "required": false; }; "selectedValue": { "alias": "selected"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showIcons": { "alias": "show-icons"; "required": false; }; }, { "selectedChange": "selectedChange"; "selectedChanged": "selectedChanged"; }, never, never, false, never>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
declare class PagerComponent implements OnInit, OnChanges {
|
|
267
|
+
private router;
|
|
268
|
+
busy: boolean;
|
|
269
|
+
count: number | null;
|
|
270
|
+
page: number;
|
|
271
|
+
pageSize: number;
|
|
272
|
+
pageSizeOptions: MenuOption[];
|
|
273
|
+
pages: MenuOption[];
|
|
274
|
+
pageChanged: EventEmitter<number>;
|
|
275
|
+
pageSizeChanged: EventEmitter<number>;
|
|
276
|
+
canPreviousPage: boolean;
|
|
277
|
+
canNextPage: boolean;
|
|
278
|
+
sortOptions: MenuOption[];
|
|
279
|
+
sort: string | null;
|
|
280
|
+
sortdir: string | null;
|
|
281
|
+
sortChanged: EventEmitter<string>;
|
|
282
|
+
sortdirChanged: EventEmitter<string>;
|
|
283
|
+
sortdirIcon: string;
|
|
284
|
+
constructor(router: Router);
|
|
285
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
286
|
+
ngOnInit(): void;
|
|
287
|
+
private calcPages;
|
|
288
|
+
nextPage(): void;
|
|
289
|
+
previousPage(): void;
|
|
290
|
+
gotoPage(page: number): void;
|
|
291
|
+
pageSizeOptionChanged(pageSize: number): void;
|
|
292
|
+
pageOptionChanged(page: number): void;
|
|
293
|
+
sortOptionChanged(sort: string): void;
|
|
294
|
+
toggleSortdir(): void;
|
|
295
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
|
296
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "lib-pager", never, { "busy": { "alias": "busy"; "required": false; }; "count": { "alias": "count"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "page-size"; "required": false; }; "pageSizeOptions": { "alias": "page-size-options"; "required": false; }; "sortOptions": { "alias": "sort-options"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "sortdir": { "alias": "sort-dir"; "required": false; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "sortChanged": "sortChanged"; "sortdirChanged": "sortdirChanged"; }, never, ["[pager-near-content]"], false, never>;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare class BreadcrumbItem {
|
|
300
|
+
title?: string | undefined;
|
|
301
|
+
url?: string | undefined;
|
|
302
|
+
constructor(title?: string | undefined, url?: string | undefined);
|
|
303
|
+
level: number;
|
|
304
|
+
get urlSegments(): string[] | undefined;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare class UtilitiesService {
|
|
308
|
+
constructor();
|
|
309
|
+
problemDetails?: IValidationProblemDetails;
|
|
310
|
+
get validationErrors(): string[];
|
|
311
|
+
getValidationProblemDetails(problemDetails: IValidationProblemDetails): string[];
|
|
312
|
+
getPathFromUrl(url: string): string | undefined;
|
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesService, never>;
|
|
314
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilitiesService>;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare class BreadcrumbService {
|
|
318
|
+
private _router;
|
|
319
|
+
private _utilities;
|
|
320
|
+
_shellConfig?: any | undefined;
|
|
321
|
+
private _defaultHome;
|
|
322
|
+
private _breadcrumb$;
|
|
323
|
+
constructor(_router: Router, _utilities: UtilitiesService, _shellConfig?: any | undefined);
|
|
324
|
+
breadcrumb: Observable<BreadcrumbItem[]>;
|
|
325
|
+
private _getDefaultHomeItem;
|
|
326
|
+
private _getRouteTitle;
|
|
327
|
+
private _buildBreadcrumb;
|
|
328
|
+
private _findRouteFromUrl;
|
|
329
|
+
private _findParentRoutes;
|
|
330
|
+
private _flattenRoutes;
|
|
331
|
+
private _getBreadcrumbRouteData;
|
|
332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, [null, null, { optional: true; }]>;
|
|
333
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
334
|
+
}
|
|
335
|
+
declare class BreadcrumbRouteData {
|
|
336
|
+
_level: number;
|
|
337
|
+
isHome: boolean;
|
|
338
|
+
_fullPath?: string | undefined;
|
|
339
|
+
constructor(_level: number, isHome: boolean, _fullPath?: string | undefined);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
declare class BreadcrumbComponent implements OnInit {
|
|
343
|
+
private _breadcrumbService;
|
|
344
|
+
constructor(_breadcrumbService: BreadcrumbService);
|
|
345
|
+
ngOnInit(): void;
|
|
346
|
+
breadcrumb: BreadcrumbItem[];
|
|
347
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
348
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "lib-breadcrumb", never, {}, {}, never, never, false, never>;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
declare namespace Operators {
|
|
352
|
+
const EQUALS: {
|
|
353
|
+
label: string;
|
|
354
|
+
value: string;
|
|
355
|
+
description: string;
|
|
356
|
+
};
|
|
357
|
+
const NOT_EQUALS: {
|
|
358
|
+
label: string;
|
|
359
|
+
value: string;
|
|
360
|
+
description: string;
|
|
361
|
+
};
|
|
362
|
+
const GREATER_THAN: {
|
|
363
|
+
label: string;
|
|
364
|
+
value: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
const LESS_THAN: {
|
|
368
|
+
label: string;
|
|
369
|
+
value: string;
|
|
370
|
+
description: string;
|
|
371
|
+
};
|
|
372
|
+
const GREATER_THAN_EQUAL: {
|
|
373
|
+
label: string;
|
|
374
|
+
value: string;
|
|
375
|
+
description: string;
|
|
376
|
+
};
|
|
377
|
+
const LESS_THAN_EQUAL: {
|
|
378
|
+
label: string;
|
|
379
|
+
value: string;
|
|
380
|
+
description: string;
|
|
381
|
+
};
|
|
382
|
+
const CONTAINS: {
|
|
383
|
+
label: string;
|
|
384
|
+
value: string;
|
|
385
|
+
description: string;
|
|
386
|
+
};
|
|
387
|
+
const IN: {
|
|
388
|
+
label: string;
|
|
389
|
+
value: string;
|
|
390
|
+
description: string;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
declare enum QueryParameters {
|
|
394
|
+
VIEW = "view",
|
|
395
|
+
PAGE_SIZE = "pagesize",
|
|
396
|
+
PAGE = "page",
|
|
397
|
+
SEARCH = "search",
|
|
398
|
+
SORT_FIELD = "sort",
|
|
399
|
+
SORT_DIRECTION = "dir",
|
|
400
|
+
FILTER = "filter",
|
|
401
|
+
FILTER_FROM = "from",
|
|
402
|
+
FILTER_TO = "to"
|
|
403
|
+
}
|
|
404
|
+
interface SearchOption {
|
|
405
|
+
name: string;
|
|
406
|
+
field: string;
|
|
407
|
+
dataType: FilterClause.Dt;
|
|
408
|
+
array?: boolean;
|
|
409
|
+
multiTerm?: boolean;
|
|
410
|
+
options?: SelectInputOption[];
|
|
411
|
+
placeholder?: string;
|
|
412
|
+
readonly?: boolean;
|
|
413
|
+
}
|
|
414
|
+
interface SelectInputOption {
|
|
415
|
+
value: any;
|
|
416
|
+
label: string;
|
|
417
|
+
description?: string;
|
|
418
|
+
}
|
|
419
|
+
interface IDictionary<T> {
|
|
420
|
+
[key: string]: T;
|
|
421
|
+
}
|
|
422
|
+
declare const OperatorOptions: IDictionary<{
|
|
423
|
+
label: string;
|
|
424
|
+
value: string;
|
|
425
|
+
description?: string;
|
|
426
|
+
}[]>;
|
|
427
|
+
declare namespace FilterClause {
|
|
428
|
+
type Op = 'eq' | 'neq' | 'gt' | 'lt' | 'gte' | 'lte' | 'contains' | 'in';
|
|
429
|
+
type Dt = 'string' | 'integer' | 'number' | 'boolean' | 'datetime' | 'array' | 'daterange' | undefined;
|
|
430
|
+
}
|
|
431
|
+
declare class FilterClause {
|
|
432
|
+
member: string;
|
|
433
|
+
value: any;
|
|
434
|
+
operator: FilterClause.Op;
|
|
435
|
+
dataType: FilterClause.Dt;
|
|
436
|
+
uiName: string | undefined;
|
|
437
|
+
uiOperator: string | undefined;
|
|
438
|
+
uiValue: string | undefined;
|
|
439
|
+
constructor(member: string, value: any, operator?: FilterClause.Op, dataType?: FilterClause.Dt, searchOptions?: SearchOption[]);
|
|
440
|
+
static parse(text: string): FilterClause | undefined;
|
|
441
|
+
toString(): string;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare class ListColumnComponent {
|
|
445
|
+
title: string | null;
|
|
446
|
+
fullWidth: boolean;
|
|
447
|
+
template: any | null;
|
|
448
|
+
constructor();
|
|
449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListColumnComponent, never>;
|
|
450
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListColumnComponent, "lib-list-column", never, { "title": { "alias": "title"; "required": false; }; "fullWidth": { "alias": "full-width"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare class ListTileComponent {
|
|
454
|
+
template: any | null;
|
|
455
|
+
constructor();
|
|
456
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListTileComponent, never>;
|
|
457
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListTileComponent, "lib-list-tile", never, {}, {}, ["template"], ["*"], false, never>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare class ListDetailsSectionComponent {
|
|
461
|
+
template: any | null;
|
|
462
|
+
constructor();
|
|
463
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListDetailsSectionComponent, never>;
|
|
464
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListDetailsSectionComponent, "lib-list-details-section", never, {}, {}, ["template"], ["*"], false, never>;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
declare class ListViewComponent implements OnChanges {
|
|
468
|
+
searchOptions: SearchOption[];
|
|
469
|
+
filters: FilterClause[];
|
|
470
|
+
busy: boolean;
|
|
471
|
+
items: any[] | null | undefined;
|
|
472
|
+
count: number | null;
|
|
473
|
+
page: number;
|
|
474
|
+
view: string;
|
|
475
|
+
sort: string | null;
|
|
476
|
+
pageSize: number;
|
|
477
|
+
pageSizeOptions: MenuOption[];
|
|
478
|
+
sortOptions: MenuOption[];
|
|
479
|
+
operatorsDisabled: boolean;
|
|
480
|
+
sortdir: string | null;
|
|
481
|
+
tilesCount: number;
|
|
482
|
+
showPager: boolean;
|
|
483
|
+
pagerPosition: any | undefined;
|
|
484
|
+
detailsSectionPropertyCount: string | null;
|
|
485
|
+
set cols(refs: QueryList<ListColumnComponent>);
|
|
486
|
+
set tiles(ref: ListTileComponent);
|
|
487
|
+
set details(ref: ListDetailsSectionComponent);
|
|
488
|
+
pageChanged: EventEmitter<number>;
|
|
489
|
+
pageSizeChanged: EventEmitter<number>;
|
|
490
|
+
detailsOpened: EventEmitter<{
|
|
491
|
+
item: any;
|
|
492
|
+
open: boolean;
|
|
493
|
+
}>;
|
|
494
|
+
sortChanged: EventEmitter<string>;
|
|
495
|
+
sortdirChanged: EventEmitter<string>;
|
|
496
|
+
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
497
|
+
private multipleFullWidth;
|
|
498
|
+
expandIcon: string;
|
|
499
|
+
collapseIcon: string;
|
|
500
|
+
tableViewSupported: boolean;
|
|
501
|
+
fullWidthTHClass: string;
|
|
502
|
+
fullWidthTDClass: string;
|
|
503
|
+
tilesViewSupported: boolean;
|
|
504
|
+
detailsSectionSupported: boolean;
|
|
505
|
+
loaderItems: any[];
|
|
506
|
+
columns: any[];
|
|
507
|
+
tilesDeckClass: string;
|
|
508
|
+
tileTemplate: any | null | undefined;
|
|
509
|
+
detailsTemplate: any | null | undefined;
|
|
510
|
+
constructor();
|
|
511
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
512
|
+
emitPageChanged($event: number): void;
|
|
513
|
+
emitPageSizeChanged($event: number): void;
|
|
514
|
+
emitSortChanged($event: string): void;
|
|
515
|
+
emitSortdirChanged($event: string): void;
|
|
516
|
+
emitAdvancedSearchChanged($event: FilterClause[]): void;
|
|
517
|
+
toggleDetails(item: any): void;
|
|
518
|
+
private setTilesDeckClass;
|
|
519
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
520
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "lib-list-view", never, { "searchOptions": { "alias": "search-options"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "items": { "alias": "items"; "required": false; }; "count": { "alias": "count"; "required": false; }; "page": { "alias": "page"; "required": false; }; "view": { "alias": "view"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageSize": { "alias": "page-size"; "required": false; }; "pageSizeOptions": { "alias": "page-size-options"; "required": false; }; "sortOptions": { "alias": "sort-options"; "required": false; }; "operatorsDisabled": { "alias": "operators-disabled"; "required": false; }; "sortdir": { "alias": "sort-dir"; "required": false; }; "tilesCount": { "alias": "tiles-count"; "required": false; }; "showPager": { "alias": "show-pager"; "required": false; }; "pagerPosition": { "alias": "pager-position"; "required": false; }; "detailsSectionPropertyCount": { "alias": "details-section-property-count"; "required": false; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "detailsOpened": "detailsOpened"; "sortChanged": "sortChanged"; "sortdirChanged": "sortdirChanged"; "advancedSearchChanged": "advancedSearchChanged"; }, ["tiles", "details", "cols"], ["[pager-near-content]", "*"], false, never>;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
declare class ListViewEmptyStateComponent implements OnInit {
|
|
524
|
+
title: string;
|
|
525
|
+
subTitle: string;
|
|
526
|
+
newItemLabel: string;
|
|
527
|
+
constructor();
|
|
528
|
+
ngOnInit(): void;
|
|
529
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewEmptyStateComponent, never>;
|
|
530
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewEmptyStateComponent, "lib-list-view-empty-state", never, { "title": { "alias": "title"; "required": false; }; "subTitle": { "alias": "sub-title"; "required": false; }; "newItemLabel": { "alias": "new-item-label"; "required": false; }; }, {}, never, never, false, never>;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
declare class SkeletonLoaderComponent implements OnInit {
|
|
534
|
+
count: number;
|
|
535
|
+
type: string;
|
|
536
|
+
deckClass: string;
|
|
537
|
+
constructor();
|
|
538
|
+
ngOnInit(): void;
|
|
539
|
+
counter(i: number): number[];
|
|
540
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
|
|
541
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "lib-skeleton-loader", never, { "count": { "alias": "count"; "required": false; }; "type": { "alias": "type"; "required": false; }; "deckClass": { "alias": "deck-class"; "required": false; }; }, {}, never, never, false, never>;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare class CollapsiblePanelComponent implements OnInit {
|
|
545
|
+
title: string | null;
|
|
546
|
+
visible: boolean;
|
|
547
|
+
constructor();
|
|
548
|
+
ngOnInit(): void;
|
|
549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollapsiblePanelComponent, never>;
|
|
550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapsiblePanelComponent, "lib-collapsible-panel", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
declare class KpiTileComponent implements OnInit {
|
|
554
|
+
title: string | undefined;
|
|
555
|
+
busy: boolean;
|
|
556
|
+
kpi: any | undefined;
|
|
557
|
+
hideBtn: boolean | undefined;
|
|
558
|
+
actionText: string;
|
|
559
|
+
tileAction: EventEmitter<any>;
|
|
560
|
+
constructor();
|
|
561
|
+
ngOnInit(): void;
|
|
562
|
+
emitTileAction($event: any): boolean;
|
|
563
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KpiTileComponent, never>;
|
|
564
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KpiTileComponent, "lib-kpi-tile", never, { "title": { "alias": "title"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "kpi": { "alias": "kpi"; "required": false; }; "hideBtn": { "alias": "hideBtn"; "required": false; }; "actionText": { "alias": "action-text"; "required": false; }; }, { "tileAction": "tile-action"; }, never, ["*"], false, never>;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
declare class DatepickerComponent implements OnInit, ControlValueAccessor {
|
|
568
|
+
locale: string;
|
|
569
|
+
readonly: boolean;
|
|
570
|
+
disabled: boolean;
|
|
571
|
+
inline: boolean;
|
|
572
|
+
displayFormat: string | undefined;
|
|
573
|
+
placeholder: string | undefined;
|
|
574
|
+
value: Date | undefined | null;
|
|
575
|
+
valueChange: EventEmitter<Date>;
|
|
576
|
+
dateInput: ElementRef | undefined;
|
|
577
|
+
minDate: Date | undefined;
|
|
578
|
+
maxDate: Date | undefined;
|
|
579
|
+
showCalendar: boolean;
|
|
580
|
+
showYears: boolean;
|
|
581
|
+
monthNames: readonly string[];
|
|
582
|
+
dayNames: readonly string[];
|
|
583
|
+
month: number;
|
|
584
|
+
year: number;
|
|
585
|
+
calendarDates: any[];
|
|
586
|
+
calendarYears: any[];
|
|
587
|
+
showCalendarYears: any[];
|
|
588
|
+
blankDays: any[];
|
|
589
|
+
calendarYearPage: number;
|
|
590
|
+
private yearsPerPage;
|
|
591
|
+
private onChange$;
|
|
592
|
+
private onTouched$;
|
|
593
|
+
ngOnInit(): void;
|
|
594
|
+
constructor(locale: string);
|
|
595
|
+
writeValue(obj: any): void;
|
|
596
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
597
|
+
registerOnTouched(fn: any): void;
|
|
598
|
+
onBlur(event: any): void;
|
|
599
|
+
selectDateValue(date: any): void;
|
|
600
|
+
selectYearValue(year: any): void;
|
|
601
|
+
previousMonth(): void;
|
|
602
|
+
nextMonth(): void;
|
|
603
|
+
previousYear(): void;
|
|
604
|
+
nextYear(): void;
|
|
605
|
+
private compareDates;
|
|
606
|
+
private calcDays;
|
|
607
|
+
private updateDays;
|
|
608
|
+
private paginate;
|
|
609
|
+
private getDateFromInput;
|
|
610
|
+
openYears(): void;
|
|
611
|
+
openCalendar(): void;
|
|
612
|
+
closeCalendar(): void;
|
|
613
|
+
outOfRangeDate(date: any): boolean;
|
|
614
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
615
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "lib-date-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "displayFormat": { "alias": "display-format"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
declare class ToasterService {
|
|
619
|
+
private _subject;
|
|
620
|
+
constructor();
|
|
621
|
+
toast$: Observable<Toast>;
|
|
622
|
+
show(type: ToastType, title?: string, body?: string, delay?: number): void;
|
|
623
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
624
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare class ToasterContainerComponent implements OnInit {
|
|
628
|
+
private toaster;
|
|
629
|
+
toasts: Toast[];
|
|
630
|
+
constructor(toaster: ToasterService);
|
|
631
|
+
ngOnInit(): void;
|
|
632
|
+
remove(index: number): void;
|
|
633
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterContainerComponent, never>;
|
|
634
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterContainerComponent, "lib-toaster-container", never, {}, {}, never, never, false, never>;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
declare class ToasterComponent implements OnInit {
|
|
638
|
+
toast: Toast | undefined;
|
|
639
|
+
i: number;
|
|
640
|
+
remove: EventEmitter<number>;
|
|
641
|
+
isMobile: boolean;
|
|
642
|
+
closed: boolean;
|
|
643
|
+
constructor();
|
|
644
|
+
ngOnInit(): void;
|
|
645
|
+
closeToast(index: number): void;
|
|
646
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
|
|
647
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "lib-toaster", never, { "toast": { "alias": "toast"; "required": false; }; "i": { "alias": "i"; "required": false; }; }, { "remove": "remove"; }, never, never, false, never>;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
declare class AvatarInitialsComponent implements OnInit {
|
|
651
|
+
name: string | null | undefined;
|
|
652
|
+
large: boolean;
|
|
653
|
+
initials?: string;
|
|
654
|
+
circleColor: string;
|
|
655
|
+
private colors;
|
|
656
|
+
constructor();
|
|
657
|
+
ngOnInit(): void;
|
|
658
|
+
private createInititals;
|
|
659
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarInitialsComponent, never>;
|
|
660
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarInitialsComponent, "lib-avatar-initials", never, { "name": { "alias": "name"; "required": false; }; "large": { "alias": "large"; "required": false; }; }, {}, never, never, false, never>;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
declare class ToggleComponent implements OnInit, ControlValueAccessor {
|
|
664
|
+
value: boolean | null | undefined;
|
|
665
|
+
disabled: boolean | null | undefined;
|
|
666
|
+
valueChange: EventEmitter<Boolean>;
|
|
667
|
+
private onChange$;
|
|
668
|
+
private onTouched$;
|
|
669
|
+
constructor();
|
|
670
|
+
writeValue(obj: any): void;
|
|
671
|
+
registerOnChange(fn: any): void;
|
|
672
|
+
registerOnTouched(fn: any): void;
|
|
673
|
+
onBlur(event: any): void;
|
|
674
|
+
ngOnInit(): void;
|
|
675
|
+
changeValue(): void;
|
|
676
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
677
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "lib-toggle", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
declare class SidePaneComponent implements OnInit, OnDestroy, OnChanges {
|
|
681
|
+
private router;
|
|
682
|
+
private document;
|
|
683
|
+
protected showPane: boolean;
|
|
684
|
+
sizeContainerStyle: string;
|
|
685
|
+
overlayStyle: string;
|
|
686
|
+
size: SidePaneSize | undefined;
|
|
687
|
+
onComplete: EventEmitter<boolean>;
|
|
688
|
+
onOpen: EventEmitter<any>;
|
|
689
|
+
onClose: EventEmitter<any>;
|
|
690
|
+
constructor(router: Router, document: any);
|
|
691
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
692
|
+
ngOnDestroy(): void;
|
|
693
|
+
ngOnInit(): void;
|
|
694
|
+
onSidePaneActivated(component: any): void;
|
|
695
|
+
private initPane;
|
|
696
|
+
private overlayToClass;
|
|
697
|
+
private sizeToClass;
|
|
698
|
+
onSidePaneDeactivated($event: any): void;
|
|
699
|
+
show(): void;
|
|
700
|
+
hide(): void;
|
|
701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePaneComponent, never>;
|
|
702
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidePaneComponent, "lib-side-pane", never, { "showPane": { "alias": "visible"; "required": false; }; "size": { "alias": "pane-size"; "required": false; }; }, { "onComplete": "onComplete"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["*"], false, never>;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
declare class NavLinksListComponent implements OnInit, OnDestroy {
|
|
706
|
+
links: Observable<NavLink[]> | undefined;
|
|
707
|
+
activeFragment: Observable<string> | undefined;
|
|
708
|
+
navLinkClass: string | string;
|
|
709
|
+
navLinkActiveClass: string | string[];
|
|
710
|
+
containerClass: string | string[] | undefined;
|
|
711
|
+
showIcons: boolean | undefined;
|
|
712
|
+
showText: boolean | undefined;
|
|
713
|
+
largeIcons: boolean;
|
|
714
|
+
fragmentValue: string | undefined;
|
|
715
|
+
private fragmentSub$;
|
|
716
|
+
constructor();
|
|
717
|
+
ngOnDestroy(): void;
|
|
718
|
+
ngOnInit(): void;
|
|
719
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinksListComponent, never>;
|
|
720
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavLinksListComponent, "lib-nav-links-list", never, { "links": { "alias": "links"; "required": false; }; "activeFragment": { "alias": "active-fragment"; "required": false; }; "navLinkClass": { "alias": "link-class"; "required": false; }; "navLinkActiveClass": { "alias": "link-active-class"; "required": false; }; "containerClass": { "alias": "container-class"; "required": false; }; "showIcons": { "alias": "show-icons"; "required": false; }; "showText": { "alias": "show-text"; "required": false; }; "largeIcons": { "alias": "large-icons"; "required": false; }; }, {}, never, never, false, never>;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
declare class ComboboxComponent implements OnInit {
|
|
724
|
+
private _debouncer;
|
|
725
|
+
private _items;
|
|
726
|
+
private _defaultItemsFilter;
|
|
727
|
+
constructor();
|
|
728
|
+
id: string;
|
|
729
|
+
placeholder: string | undefined;
|
|
730
|
+
set items(items: any[]);
|
|
731
|
+
get items(): any[];
|
|
732
|
+
itemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
733
|
+
selectedItemsFilter: (item: any) => boolean | null;
|
|
734
|
+
selectedItemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
735
|
+
noResultsTemplate: TemplateRef<unknown> | undefined;
|
|
736
|
+
busy: boolean;
|
|
737
|
+
multiple: boolean;
|
|
738
|
+
debounceMs: number;
|
|
739
|
+
onSearch: EventEmitter<string | undefined>;
|
|
740
|
+
onItemSelected: EventEmitter<any>;
|
|
741
|
+
showResults: boolean;
|
|
742
|
+
selectedItems: any[];
|
|
743
|
+
value: string | undefined;
|
|
744
|
+
protected searchTerm: string;
|
|
745
|
+
ngOnInit(): void;
|
|
746
|
+
onInputClick(): void;
|
|
747
|
+
onClickOutside(): void;
|
|
748
|
+
onInputKeyUp(event: any): void;
|
|
749
|
+
onListItemSelected(item: any): void;
|
|
750
|
+
removeItem(item: any): void;
|
|
751
|
+
private emitSearchEvent;
|
|
752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxComponent, never>;
|
|
753
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ComboboxComponent, "lib-combobox", never, { "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemsFilter": { "alias": "selectedItemsFilter"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; "noResultsTemplate": { "alias": "noResultsTemplate"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; }, { "onSearch": "onSearch"; "onItemSelected": "onItemSelected"; }, never, never, false, never>;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
declare class EnhancedComboboxComponent implements OnInit {
|
|
757
|
+
private _debouncer;
|
|
758
|
+
private _items;
|
|
759
|
+
constructor();
|
|
760
|
+
id: string;
|
|
761
|
+
placeholder: string | undefined;
|
|
762
|
+
itemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
763
|
+
selectedItemTemplate: TemplateRef<HTMLElement> | undefined;
|
|
764
|
+
noResultsTemplate: TemplateRef<unknown> | undefined;
|
|
765
|
+
busy: boolean;
|
|
766
|
+
multiple: boolean;
|
|
767
|
+
debounceMs: number;
|
|
768
|
+
displayShowMoreOption: boolean;
|
|
769
|
+
equalityPredicate: (item: any, otherItem: any) => boolean;
|
|
770
|
+
selectedItemsFilter: (item: any) => boolean;
|
|
771
|
+
set items(items: any[]);
|
|
772
|
+
get items(): any[];
|
|
773
|
+
onSearch: EventEmitter<string | undefined>;
|
|
774
|
+
onItemSelected: EventEmitter<any>;
|
|
775
|
+
onShowMore: EventEmitter<any>;
|
|
776
|
+
showResults: boolean;
|
|
777
|
+
selectedItems: any[];
|
|
778
|
+
value: string | undefined;
|
|
779
|
+
protected searchTerm: string;
|
|
780
|
+
ngOnInit(): void;
|
|
781
|
+
onInputClick(): void;
|
|
782
|
+
onClickOutside(): void;
|
|
783
|
+
onInputKeyUp(event: any): void;
|
|
784
|
+
onListItemSelected(item: any): void;
|
|
785
|
+
removeItem(item: any): void;
|
|
786
|
+
private emitSearchEvent;
|
|
787
|
+
emitShowMoreEvent(event: MouseEvent): void;
|
|
788
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnhancedComboboxComponent, never>;
|
|
789
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EnhancedComboboxComponent, "lib-enhanced-combobox", never, { "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; "noResultsTemplate": { "alias": "noResultsTemplate"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; "displayShowMoreOption": { "alias": "displayShowMoreOption"; "required": false; }; "equalityPredicate": { "alias": "equalityPredicate"; "required": false; }; "selectedItemsFilter": { "alias": "selectedItemsFilter"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onSearch": "onSearch"; "onItemSelected": "onItemSelected"; "onShowMore": "onShowMore"; }, never, never, false, never>;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
declare class LibTabLabelDirective {
|
|
793
|
+
template: TemplateRef<any>;
|
|
794
|
+
constructor(template: TemplateRef<any>);
|
|
795
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTabLabelDirective, never>;
|
|
796
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LibTabLabelDirective, "[libTabLabel]", never, {}, {}, never, never, false, never>;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
declare class LibTabComponent implements OnInit {
|
|
800
|
+
readonly _tabGroup?: any | undefined;
|
|
801
|
+
private _isActive;
|
|
802
|
+
constructor(_tabGroup?: any | undefined);
|
|
803
|
+
/** The content provided for the tab. */
|
|
804
|
+
content: TemplateRef<any> | null;
|
|
805
|
+
/** A label template for the tab header. */
|
|
806
|
+
label: LibTabLabelDirective | undefined;
|
|
807
|
+
/** Indicates the unique id assigned in the tab. */
|
|
808
|
+
id: string | undefined;
|
|
809
|
+
labelText: string | undefined;
|
|
810
|
+
/** Indicates the index of the tab. */
|
|
811
|
+
get index(): number;
|
|
812
|
+
/** Indicates whether the tab is active. */
|
|
813
|
+
get isActive(): boolean;
|
|
814
|
+
/** Setter for LibTabComponent isActive property. */
|
|
815
|
+
set isActive(isActive: boolean);
|
|
816
|
+
ngOnInit(): void;
|
|
817
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTabComponent, [{ optional: true; }]>;
|
|
818
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibTabComponent, "lib-tab", never, { "id": { "alias": "id"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; }, {}, ["label"], ["*"], false, never>;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
declare class LibTabGroupComponent implements OnInit, AfterContentInit, AfterContentChecked {
|
|
822
|
+
constructor();
|
|
823
|
+
/** The inner tabs of the group. */
|
|
824
|
+
tabs: QueryList<LibTabComponent> | undefined;
|
|
825
|
+
/** Emmited when a step change occurs. */
|
|
826
|
+
protected tabChanged: EventEmitter<LibTabComponent>;
|
|
827
|
+
/** The current tab. */
|
|
828
|
+
get currentTab(): LibTabComponent | undefined;
|
|
829
|
+
/** The index (starting from zero) of the current tab. */
|
|
830
|
+
get currentΤabIndex(): number | undefined;
|
|
831
|
+
ngOnInit(): void;
|
|
832
|
+
protected onTabChanged(selectedTab: LibTabComponent): void;
|
|
833
|
+
protected onTabSelectChanged(selectedTabIndex: number): void;
|
|
834
|
+
ngAfterContentInit(): void;
|
|
835
|
+
ngAfterContentChecked(): void;
|
|
836
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibTabGroupComponent, never>;
|
|
837
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibTabGroupComponent, "lib-tab-group", never, {}, { "tabChanged": "tabChanged"; }, ["tabs"], never, false, never>;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
declare class LibStepInfoDirective {
|
|
841
|
+
template: TemplateRef<any>;
|
|
842
|
+
constructor(template: TemplateRef<any>);
|
|
843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepInfoDirective, never>;
|
|
844
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LibStepInfoDirective, "[libStepInfo]", never, {}, {}, never, never, false, never>;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
declare class LibStepLabelDirective {
|
|
848
|
+
template: TemplateRef<any>;
|
|
849
|
+
constructor(template: TemplateRef<any>);
|
|
850
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepLabelDirective, never>;
|
|
851
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LibStepLabelDirective, "[libStepLabel]", never, {}, {}, never, never, false, never>;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
declare enum StepState {
|
|
855
|
+
Active = "Active",
|
|
856
|
+
Completed = "Completed",
|
|
857
|
+
Upcoming = "Upcoming"
|
|
858
|
+
}
|
|
859
|
+
declare class LibStepComponent {
|
|
860
|
+
readonly _stepper?: any | undefined;
|
|
861
|
+
constructor(_stepper?: any | undefined);
|
|
862
|
+
/** The content provided for the step. */
|
|
863
|
+
content: TemplateRef<any>;
|
|
864
|
+
/** The label of the step displayed in header, if applicable. */
|
|
865
|
+
stepLabel: LibStepLabelDirective | undefined;
|
|
866
|
+
/** The info of the step displayed in header, if applicable. */
|
|
867
|
+
stepInfo: LibStepInfoDirective | undefined;
|
|
868
|
+
/** An optional CSS class for the step header. */
|
|
869
|
+
class: string | undefined;
|
|
870
|
+
/** The abstract control of the step. */
|
|
871
|
+
stepControl: AbstractControl | undefined;
|
|
872
|
+
/** Indicates the index of the step. */
|
|
873
|
+
get index(): number;
|
|
874
|
+
/** Indicates whether this step is the last step. */
|
|
875
|
+
get isLast(): boolean;
|
|
876
|
+
/** Indicates whether you can navigate to the step or not. */
|
|
877
|
+
get isValid(): boolean;
|
|
878
|
+
/** Shows the current state of the step. */
|
|
879
|
+
get state(): StepState;
|
|
880
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepComponent, [{ optional: true; }]>;
|
|
881
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepComponent, "lib-step", never, { "class": { "alias": "class"; "required": false; }; "stepControl": { "alias": "stepControl"; "required": false; }; }, {}, ["stepLabel", "stepInfo"], ["*"], false, never>;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
declare enum StepperType {
|
|
885
|
+
Bullets = "Bullets",
|
|
886
|
+
BulletsAndText = "BulletsAndText",
|
|
887
|
+
Circles = "Circles",
|
|
888
|
+
CirclesWithText = "CirclesWithText",
|
|
889
|
+
Panels = "Panels",
|
|
890
|
+
PanelsWithBorder = "PanelsWithBorder",
|
|
891
|
+
Progress = "Progress",
|
|
892
|
+
Simple = "Simple"
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/** Change event emitted on step changes. */
|
|
896
|
+
declare class StepSelectedEvent {
|
|
897
|
+
/** Index of the step now selected. */
|
|
898
|
+
selectedIndex: number;
|
|
899
|
+
/** Index of the step previously selected. */
|
|
900
|
+
previouslySelectedIndex: number | undefined;
|
|
901
|
+
/** The step instance now selected. */
|
|
902
|
+
selectedStep: LibStepComponent;
|
|
903
|
+
/** The step instance previously selected. */
|
|
904
|
+
previouslySelectedStep: LibStepComponent | undefined;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
declare class LibStepperComponent implements OnInit, AfterViewChecked {
|
|
908
|
+
private _changeDetectorRef;
|
|
909
|
+
private _currentStepIndex;
|
|
910
|
+
private _isCompleted;
|
|
911
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
912
|
+
/** The inner steps of the wizard. */
|
|
913
|
+
steps: QueryList<LibStepComponent>;
|
|
914
|
+
/** Emmited when a step change occurs. */
|
|
915
|
+
readonly stepChanged: EventEmitter<StepSelectedEvent>;
|
|
916
|
+
/** Emmited when the stepper navigates away from the final step. Only emits once. */
|
|
917
|
+
readonly completed: EventEmitter<void>;
|
|
918
|
+
/** Indicates whether each step has to be validated before proceeding to the next. */
|
|
919
|
+
linear: boolean;
|
|
920
|
+
/** The type of the stepper. */
|
|
921
|
+
type: StepperType;
|
|
922
|
+
StepState: typeof StepState;
|
|
923
|
+
StepperType: typeof StepperType;
|
|
924
|
+
/** The current wizard step. */
|
|
925
|
+
get currentStep(): LibStepComponent | undefined;
|
|
926
|
+
/** The index (starting from zero) of the current wizard step. */
|
|
927
|
+
get currentStepIndex(): number;
|
|
928
|
+
/** Indicates whether stepper can go a step back. */
|
|
929
|
+
get canGoBack(): boolean;
|
|
930
|
+
/** Indicates whether stepper can go a step forward. */
|
|
931
|
+
get canGoForward(): boolean;
|
|
932
|
+
/** Indicates whether */
|
|
933
|
+
get isCompleted(): boolean;
|
|
934
|
+
ngOnInit(): void;
|
|
935
|
+
ngAfterViewChecked(): void;
|
|
936
|
+
/** Proceeds to the next step, if any. */
|
|
937
|
+
goToNextStep(): void;
|
|
938
|
+
/** Proceeds to the previous step, if any. */
|
|
939
|
+
goToPreviousStep(): void;
|
|
940
|
+
onSelectStep(selectedStep: LibStepComponent): void;
|
|
941
|
+
private updateCurrentStepIndex;
|
|
942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepperComponent, never>;
|
|
943
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepperComponent, "lib-stepper", never, { "linear": { "alias": "linear"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "stepChanged": "stepChanged"; "completed": "completed"; }, ["steps"], never, false, never>;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
declare class ToggleButtonComponent implements OnInit {
|
|
947
|
+
value: boolean;
|
|
948
|
+
disabled: boolean;
|
|
949
|
+
icon: boolean;
|
|
950
|
+
text: string | null | undefined;
|
|
951
|
+
textTrue: string | null | undefined;
|
|
952
|
+
textFalse: string | null | undefined;
|
|
953
|
+
description: string | null | undefined;
|
|
954
|
+
descriptionTrue: string | null | undefined;
|
|
955
|
+
descriptionFalse: string | null | undefined;
|
|
956
|
+
valueChange: EventEmitter<boolean>;
|
|
957
|
+
private onChange$;
|
|
958
|
+
private onTouched$;
|
|
959
|
+
constructor();
|
|
960
|
+
ngOnInit(): void;
|
|
961
|
+
writeValue(obj: any): void;
|
|
962
|
+
registerOnChange(fn: any): void;
|
|
963
|
+
registerOnTouched(fn: any): void;
|
|
964
|
+
onBlur(event: any): void;
|
|
965
|
+
changeValue(): void;
|
|
966
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
|
|
967
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "lib-toggle-button", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "textTrue": { "alias": "text-true"; "required": false; }; "textFalse": { "alias": "text-false"; "required": false; }; "description": { "alias": "description"; "required": false; }; "descriptionTrue": { "alias": "description-true"; "required": false; }; "descriptionFalse": { "alias": "description-false"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
declare class ToggleButtonsListComponent implements OnInit {
|
|
971
|
+
icon: string | undefined;
|
|
972
|
+
options: MenuOption[] | undefined;
|
|
973
|
+
value: any | undefined;
|
|
974
|
+
compact: boolean;
|
|
975
|
+
valueChange: EventEmitter<any>;
|
|
976
|
+
constructor();
|
|
977
|
+
ngOnInit(): void;
|
|
978
|
+
selectOption(optionValue: any): void;
|
|
979
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonsListComponent, never>;
|
|
980
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonsListComponent, "lib-toggle-buttons-list", never, { "icon": { "alias": "icon"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
declare class ContentTileHeaderComponent {
|
|
984
|
+
template: any | undefined;
|
|
985
|
+
constructor();
|
|
986
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileHeaderComponent, never>;
|
|
987
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileHeaderComponent, "lib-content-tile-header", never, {}, {}, ["template"], ["*"], false, never>;
|
|
988
|
+
}
|
|
989
|
+
declare class ContentTileItemComponent {
|
|
990
|
+
title: string | undefined;
|
|
991
|
+
template: any | undefined;
|
|
992
|
+
constructor();
|
|
993
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileItemComponent, never>;
|
|
994
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileItemComponent, "lib-content-tile-item", never, { "title": { "alias": "title"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
|
|
995
|
+
}
|
|
996
|
+
declare class ContentTileComponent implements OnInit {
|
|
997
|
+
private router;
|
|
998
|
+
title: string | undefined;
|
|
999
|
+
busy: boolean;
|
|
1000
|
+
showAction: boolean | undefined;
|
|
1001
|
+
showFooter: boolean | undefined;
|
|
1002
|
+
actionText: string;
|
|
1003
|
+
tileAction: EventEmitter<any>;
|
|
1004
|
+
selectedIndex: number;
|
|
1005
|
+
itemTemplates: any[];
|
|
1006
|
+
set items(refs: QueryList<ContentTileItemComponent>);
|
|
1007
|
+
header: ContentTileHeaderComponent | undefined;
|
|
1008
|
+
constructor(router: Router);
|
|
1009
|
+
ngOnInit(): void;
|
|
1010
|
+
emitTileAction($event: any): boolean;
|
|
1011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTileComponent, never>;
|
|
1012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContentTileComponent, "lib-content-tile", never, { "title": { "alias": "title"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "showAction": { "alias": "show-action"; "required": false; }; "showFooter": { "alias": "show-footer"; "required": false; }; "actionText": { "alias": "action-text"; "required": false; }; }, { "tileAction": "tile-action"; }, ["header", "items"], never, false, never>;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
declare class StatsGridComponent implements OnChanges {
|
|
1016
|
+
busy: boolean;
|
|
1017
|
+
count: number;
|
|
1018
|
+
loader: any[];
|
|
1019
|
+
mode: string;
|
|
1020
|
+
labels: string[];
|
|
1021
|
+
values: number[];
|
|
1022
|
+
colors: string[];
|
|
1023
|
+
constructor();
|
|
1024
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1025
|
+
isNumber(value: any): boolean;
|
|
1026
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatsGridComponent, never>;
|
|
1027
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatsGridComponent, "lib-stats-grid", never, { "busy": { "alias": "busy"; "required": false; }; "count": { "alias": "count"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "values": { "alias": "values"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; }, {}, never, never, false, never>;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare class ProgressBarComponent implements OnChanges {
|
|
1031
|
+
value: number;
|
|
1032
|
+
valueText: string | undefined;
|
|
1033
|
+
total: number;
|
|
1034
|
+
totalText: string | undefined;
|
|
1035
|
+
text: string | undefined;
|
|
1036
|
+
busy: boolean;
|
|
1037
|
+
percentage: number;
|
|
1038
|
+
constructor();
|
|
1039
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1040
|
+
private calcPercentage;
|
|
1041
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
1042
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "lib-progress-bar", never, { "value": { "alias": "value"; "required": false; }; "valueText": { "alias": "value-text"; "required": false; }; "total": { "alias": "total"; "required": false; }; "totalText": { "alias": "total-text"; "required": false; }; "text": { "alias": "text"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
declare class AdvancedSearchComponent implements OnInit, OnChanges {
|
|
1046
|
+
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
1047
|
+
operatorsDisabled: boolean;
|
|
1048
|
+
searchOptions: SearchOption[];
|
|
1049
|
+
filters: FilterClause[];
|
|
1050
|
+
menuOptions: MenuOption[];
|
|
1051
|
+
operatorMenuOptions: MenuOption[];
|
|
1052
|
+
operatorOptions: _indice_ng_components.IDictionary<{
|
|
1053
|
+
label: string;
|
|
1054
|
+
value: string;
|
|
1055
|
+
description?: string;
|
|
1056
|
+
}[]>;
|
|
1057
|
+
operators: {
|
|
1058
|
+
[key: string]: MenuOption[];
|
|
1059
|
+
};
|
|
1060
|
+
selectedOperator?: string;
|
|
1061
|
+
selectedField?: SearchOption;
|
|
1062
|
+
fieldValue?: string;
|
|
1063
|
+
fieldValueDateFrom: any;
|
|
1064
|
+
fieldValueDateTo: any;
|
|
1065
|
+
menuOptionsDictionary: {
|
|
1066
|
+
[key: string]: MenuOption[];
|
|
1067
|
+
};
|
|
1068
|
+
constructor();
|
|
1069
|
+
ngOnInit(): void;
|
|
1070
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1071
|
+
setSearchOptions(): void;
|
|
1072
|
+
selectedFieldChanged(field: string): void;
|
|
1073
|
+
selectedOperatorChanged(operator: any): void;
|
|
1074
|
+
selectedFieldValueChanged(fieldValue: string): void;
|
|
1075
|
+
search(): void;
|
|
1076
|
+
removeFilter(index: number): void;
|
|
1077
|
+
isDateValueUnpicked(): boolean;
|
|
1078
|
+
isFieldAndOperatorUnpicked(): boolean;
|
|
1079
|
+
clear(): void;
|
|
1080
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
1081
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchComponent, "lib-advanced-search", never, { "operatorsDisabled": { "alias": "operators-disabled"; "required": false; }; "searchOptions": { "alias": "search-options"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "advancedSearchChanged": "advancedSearchChanged"; }, never, never, false, never>;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1
1084
|
/**
|
|
2
|
-
*
|
|
1085
|
+
* Options passed to {@link ComponentLoader.show}.
|
|
1086
|
+
*
|
|
1087
|
+
* @internal
|
|
3
1088
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
1089
|
+
declare class ComponentLoaderOptions {
|
|
1090
|
+
/**
|
|
1091
|
+
* The content to be drawn inside `<ng-content>` of `ComponentLoader` attached component.
|
|
1092
|
+
* @remarks
|
|
1093
|
+
* `content` can be `Component` , `TemplateRef` or `String`.
|
|
1094
|
+
*/
|
|
1095
|
+
content?: string | TemplateRef<unknown>;
|
|
1096
|
+
/**
|
|
1097
|
+
* The data to be passed to view for `TemplateRef` case.
|
|
1098
|
+
*/
|
|
1099
|
+
context?: unknown;
|
|
1100
|
+
/**
|
|
1101
|
+
* Initial data to be passed to `content` for `Component` case.
|
|
1102
|
+
*/
|
|
1103
|
+
initialState?: unknown;
|
|
1104
|
+
/**
|
|
1105
|
+
* Other properties passed to attached component.
|
|
1106
|
+
*/
|
|
1107
|
+
[key: string]: unknown;
|
|
1108
|
+
/**
|
|
1109
|
+
* id` - The id of the attached component ref.
|
|
1110
|
+
*/
|
|
1111
|
+
id?: number | string;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Provides ways of loading and handling dynamic content.
|
|
1116
|
+
*
|
|
1117
|
+
* @remarks
|
|
1118
|
+
* Do NOT use this directly, create an instance through {@link ComponentLoaderFactory}
|
|
1119
|
+
* You can use this loader in two ways:
|
|
1120
|
+
* - Attaches a component to `ViewContainerRef`.
|
|
1121
|
+
* - Attaches a component to `ViewContainerRef`. The attached component has a `<ng-content>` tag inside its view. The {@link ComponentLoaderOptions.content} will be drawn inside this tag.
|
|
1122
|
+
*
|
|
1123
|
+
* @internal
|
|
1124
|
+
*/
|
|
1125
|
+
declare class ComponentLoader<T extends object> {
|
|
1126
|
+
private vcr;
|
|
1127
|
+
private cfr;
|
|
1128
|
+
private applicationRef;
|
|
1129
|
+
private injector;
|
|
1130
|
+
/**
|
|
1131
|
+
* Before content is shown event.
|
|
1132
|
+
*/
|
|
1133
|
+
onBeforeShow: Subject<unknown>;
|
|
1134
|
+
/**
|
|
1135
|
+
* After show content event.
|
|
1136
|
+
* @returns The id of newly created component ref.
|
|
1137
|
+
*/
|
|
1138
|
+
onShown: Subject<unknown>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Before content is hidden event.
|
|
1141
|
+
* @returns The instance of attached component;
|
|
1142
|
+
*/
|
|
1143
|
+
onBeforeHide: Subject<unknown>;
|
|
1144
|
+
/**
|
|
1145
|
+
* After content is hidden event.
|
|
1146
|
+
* @returns The id of destroyed component ref.
|
|
1147
|
+
*/
|
|
1148
|
+
onHidden: Subject<unknown>;
|
|
1149
|
+
instance?: T;
|
|
1150
|
+
componentRef?: ComponentRef<T>;
|
|
1151
|
+
private componentFactory?;
|
|
1152
|
+
private container;
|
|
1153
|
+
private providers;
|
|
1154
|
+
private contentRef?;
|
|
1155
|
+
private containerDefaultSelector;
|
|
1156
|
+
private innerComponent?;
|
|
1157
|
+
constructor(vcr: ViewContainerRef | undefined, cfr: ComponentFactoryResolver, applicationRef: ApplicationRef, injector: Injector);
|
|
1158
|
+
/**
|
|
1159
|
+
* Attaches component.
|
|
1160
|
+
* @param componentType - The type component to attach.
|
|
1161
|
+
* @returns Current instance of {@link ComponentLoader}
|
|
1162
|
+
*/
|
|
1163
|
+
attach(componentType: Type<T>): ComponentLoader<T>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Body will be used in nothing is provided.
|
|
1166
|
+
* @param container - The element in which dynamic content will be drawn inside to. For string case a query to the dom will be executed to find the element.
|
|
1167
|
+
* @returns Current instance of {@link ComponentLoader}
|
|
1168
|
+
*/
|
|
1169
|
+
to(container?: string | ElementRef): ComponentLoader<T>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Adds provider to the providers array. These providers will be injected to the attached component.
|
|
1172
|
+
*
|
|
1173
|
+
* @see {@link https://angular.io/guide/glossary#di-token | Injection Token}
|
|
1174
|
+
*
|
|
1175
|
+
* @param provider - Provider to inject.
|
|
1176
|
+
* @returns Current instance of {@link ComponentLoader}
|
|
1177
|
+
*/
|
|
1178
|
+
provide(provider: StaticProvider): ComponentLoader<T>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Attaches attached component to dom and any dynamic content if provided.
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* Also triggers the {@link ComponentLoader.onBeforeShow} and {@link ComponentLoader.onShown} events.
|
|
1183
|
+
*
|
|
1184
|
+
* @param options - {@link ComponentLoaderOptions}.
|
|
1185
|
+
* @returns A reference to the created content.
|
|
1186
|
+
*/
|
|
1187
|
+
show(options?: ComponentLoaderOptions): ComponentRef<T> | undefined;
|
|
1188
|
+
/**
|
|
1189
|
+
* Removes attached component from dom.
|
|
1190
|
+
* @remarks
|
|
1191
|
+
* Also triggers the {@link ComponentLoader.onBeforeHide} and {@link ComponentLoader.onHidden} events.
|
|
1192
|
+
*
|
|
1193
|
+
* @param id - If provided it is returned through the {@link ComponentLoader.onHidden}.
|
|
1194
|
+
* @returns Current instance of {@link ComponentLoader}
|
|
1195
|
+
*/
|
|
1196
|
+
hide(id?: number | string, result?: any): ComponentLoader<T>;
|
|
1197
|
+
getInnerComponent(): ComponentRef<T> | undefined;
|
|
1198
|
+
private markComponentsForCheck;
|
|
1199
|
+
private createComponentAndAttachToView;
|
|
1200
|
+
private appendContentToContainer;
|
|
1201
|
+
private getContentRef;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* Use to create instances of {@link ComponentLoader}.
|
|
1206
|
+
*
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
declare class ComponentLoaderFactory {
|
|
1210
|
+
private componentFactoryResolver;
|
|
1211
|
+
private injector;
|
|
1212
|
+
private applicationRef;
|
|
1213
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver, injector: Injector, applicationRef: ApplicationRef);
|
|
1214
|
+
/**
|
|
1215
|
+
* Returns a new instance of {@link ComponentLoader}
|
|
1216
|
+
* @param viewContainerRef - The view container the dynamic content will be attached to.
|
|
1217
|
+
* @returns A new instance of {@link ComponentLoader}.
|
|
1218
|
+
*
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
createLoader<T extends object>(viewContainerRef?: ViewContainerRef): ComponentLoader<T>;
|
|
1222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentLoaderFactory, never>;
|
|
1223
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentLoaderFactory>;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterViewInit, AfterViewChecked {
|
|
1227
|
+
private _router;
|
|
1228
|
+
private _componentLoaderFactory;
|
|
1229
|
+
private _config;
|
|
1230
|
+
private _dynamicComponentHosts;
|
|
1231
|
+
busy: boolean;
|
|
1232
|
+
sidebarFooterTemplate?: TemplateRef<any>;
|
|
1233
|
+
private _routerSub$;
|
|
1234
|
+
constructor(_router: Router, _componentLoaderFactory: ComponentLoaderFactory, _config: IShellConfig | undefined);
|
|
1235
|
+
showRightPaneSM: boolean;
|
|
1236
|
+
activeConfig: IShellConfig;
|
|
1237
|
+
loaded: boolean;
|
|
1238
|
+
hideSidebar: boolean;
|
|
1239
|
+
ngAfterViewChecked(): void;
|
|
1240
|
+
ngOnInit(): void;
|
|
1241
|
+
ngAfterViewInit(): void;
|
|
1242
|
+
private initCustomComponents;
|
|
1243
|
+
ngOnDestroy(): void;
|
|
1244
|
+
private loadCustomComponent;
|
|
1245
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellLayoutComponent, never>;
|
|
1246
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellLayoutComponent, "lib-shell-layout", never, { "busy": { "alias": "busy"; "required": false; }; "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
1250
|
+
protected authService: AuthService;
|
|
1251
|
+
protected router: Router;
|
|
1252
|
+
protected route: ActivatedRoute;
|
|
1253
|
+
config: any;
|
|
1254
|
+
links: any;
|
|
1255
|
+
sectionLinksPath: string;
|
|
1256
|
+
profileMenuVisible: boolean;
|
|
1257
|
+
showUserNameOnHeader: boolean | undefined;
|
|
1258
|
+
showPictureOnHeader: boolean | undefined;
|
|
1259
|
+
showAlerts: boolean | undefined;
|
|
1260
|
+
showLangs: boolean | undefined;
|
|
1261
|
+
border: boolean;
|
|
1262
|
+
busy: boolean;
|
|
1263
|
+
sectionLinks: Observable<NavLink[]>;
|
|
1264
|
+
mobileMenuExpanded: boolean;
|
|
1265
|
+
userMenuExpanded: boolean;
|
|
1266
|
+
protected routeSubject: Observable<Event$1>;
|
|
1267
|
+
protected routerSub$: Subscription | null;
|
|
1268
|
+
protected userSub$: Subscription | null;
|
|
1269
|
+
protected statusSub$: Subscription | null;
|
|
1270
|
+
user: User | null;
|
|
1271
|
+
avatarName: string | null;
|
|
1272
|
+
activeFragment: any | null;
|
|
1273
|
+
constructor(authService: AuthService, router: Router, route: ActivatedRoute, config: any, links: any);
|
|
1274
|
+
ngOnInit(): void;
|
|
1275
|
+
ngOnDestroy(): void;
|
|
1276
|
+
onClickOutside($event: any): void;
|
|
1277
|
+
signin(event: any | null | undefined): void;
|
|
1278
|
+
private setCurrentUser;
|
|
1279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellHeaderComponent, never>;
|
|
1280
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": { "alias": "section-links"; "required": false; }; "profileMenuVisible": { "alias": "profile-menu"; "required": false; }; "showUserNameOnHeader": { "alias": "show-userName"; "required": false; }; "showPictureOnHeader": { "alias": "show-picture"; "required": false; }; "showAlerts": { "alias": "show-alerts"; "required": false; }; "showLangs": { "alias": "show-langs"; "required": false; }; "border": { "alias": "border"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
declare class ShellFooterComponent {
|
|
1284
|
+
links: IAppLinks;
|
|
1285
|
+
constructor(links: IAppLinks);
|
|
1286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellFooterComponent, never>;
|
|
1287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellFooterComponent, "lib-shell-footer", never, {}, {}, never, never, false, never>;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
declare class ShellSidebarComponent implements OnInit {
|
|
1291
|
+
protected router: Router;
|
|
1292
|
+
protected route: ActivatedRoute;
|
|
1293
|
+
links: any;
|
|
1294
|
+
constructor(router: Router, route: ActivatedRoute, links: any);
|
|
1295
|
+
sectionLinksPath: string;
|
|
1296
|
+
shellConfig: IShellConfig | undefined;
|
|
1297
|
+
sticky: boolean;
|
|
1298
|
+
sectionLinks: Observable$1<NavLink[]>;
|
|
1299
|
+
activeFragment: any | null;
|
|
1300
|
+
get activeNavLinkClass(): string;
|
|
1301
|
+
ngOnInit(): void;
|
|
1302
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarComponent, never>;
|
|
1303
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarComponent, "lib-shell-sidebar", never, { "sectionLinksPath": { "alias": "section-links"; "required": false; }; "shellConfig": { "alias": "config"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, never, never, false, never>;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
declare class ShellSidebarHeaderComponent extends ShellHeaderComponent {
|
|
1307
|
+
protected authService: AuthService;
|
|
1308
|
+
protected router: Router;
|
|
1309
|
+
protected route: ActivatedRoute;
|
|
1310
|
+
config: any;
|
|
1311
|
+
links: any;
|
|
1312
|
+
constructor(authService: AuthService, router: Router, route: ActivatedRoute, config: any, links: any);
|
|
1313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarHeaderComponent, never>;
|
|
1314
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarHeaderComponent, "lib-shell-sidebar-header", never, {}, {}, never, never, false, never>;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
declare class ViewLayoutComponent implements OnInit {
|
|
1318
|
+
private route$;
|
|
1319
|
+
private router$;
|
|
1320
|
+
private searchInput$?;
|
|
1321
|
+
header: boolean;
|
|
1322
|
+
fluid: boolean;
|
|
1323
|
+
title: string;
|
|
1324
|
+
icon: string | null;
|
|
1325
|
+
actions: ViewAction[] | null;
|
|
1326
|
+
busy: boolean;
|
|
1327
|
+
searchPlaceholder: string | null;
|
|
1328
|
+
view: string | null;
|
|
1329
|
+
metaItems: HeaderMetaItem[] | null;
|
|
1330
|
+
onAction: EventEmitter<ViewAction>;
|
|
1331
|
+
onSearch: EventEmitter<string>;
|
|
1332
|
+
constructor(route$: ActivatedRoute, router$: Router);
|
|
1333
|
+
ngOnInit(): void;
|
|
1334
|
+
emitActionClick(action: ViewAction): void;
|
|
1335
|
+
routerLinkActionClick(action: RouterViewAction | any): void;
|
|
1336
|
+
searchActionClick(action: ViewAction, text: string): void;
|
|
1337
|
+
searchActionType(text: string): void;
|
|
1338
|
+
handleClear(event: any): void;
|
|
1339
|
+
switchViewActionClick(action: SwitchViewAction | any): void;
|
|
1340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewLayoutComponent, never>;
|
|
1341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewLayoutComponent, "lib-view-layout", never, { "header": { "alias": "show-header"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "searchPlaceholder": { "alias": "search-placeholder"; "required": false; }; "view": { "alias": "view"; "required": false; }; "metaItems": { "alias": "meta-items"; "required": false; }; }, { "onAction": "onAction"; "onSearch": "onSearch"; }, never, ["*"], false, never>;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
declare class ModelViewLayoutComponent implements OnInit, OnDestroy {
|
|
1345
|
+
private location;
|
|
1346
|
+
private router;
|
|
1347
|
+
private route;
|
|
1348
|
+
showRightPaneSM: boolean;
|
|
1349
|
+
title: string;
|
|
1350
|
+
primary: {
|
|
1351
|
+
type?: string;
|
|
1352
|
+
text: string;
|
|
1353
|
+
link: string;
|
|
1354
|
+
icon?: string;
|
|
1355
|
+
exact?: boolean;
|
|
1356
|
+
}[] | null;
|
|
1357
|
+
secondary: {
|
|
1358
|
+
type?: string;
|
|
1359
|
+
text: string;
|
|
1360
|
+
link: string;
|
|
1361
|
+
icon?: string;
|
|
1362
|
+
exact?: boolean;
|
|
1363
|
+
}[] | null;
|
|
1364
|
+
metaItems: HeaderMetaItem[] | null;
|
|
1365
|
+
icon: string | null;
|
|
1366
|
+
busy: boolean;
|
|
1367
|
+
actions: ViewAction[] | null;
|
|
1368
|
+
private optionsLoaded;
|
|
1369
|
+
private _options;
|
|
1370
|
+
selectedTab: any;
|
|
1371
|
+
private selectedTabSub$;
|
|
1372
|
+
get tabsOptions(): MenuOption[];
|
|
1373
|
+
constructor(location: Location, router: Router, route: ActivatedRoute);
|
|
1374
|
+
ngOnInit(): void;
|
|
1375
|
+
ngOnDestroy(): void;
|
|
1376
|
+
onSidePaneActivated($event: any): void;
|
|
1377
|
+
onSidePaneDeactivated($event: any): void;
|
|
1378
|
+
closeSidePane(): void;
|
|
1379
|
+
navigateLink(link: any): void;
|
|
1380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelViewLayoutComponent, never>;
|
|
1381
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModelViewLayoutComponent, "lib-model-view-layout", never, { "title": { "alias": "title"; "required": false; }; "primary": { "alias": "primary-links"; "required": false; }; "secondary": { "alias": "secondary-links"; "required": false; }; "metaItems": { "alias": "meta-items"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
declare class SideViewLayoutComponent implements OnInit {
|
|
1385
|
+
private location;
|
|
1386
|
+
private router;
|
|
1387
|
+
title: string | null;
|
|
1388
|
+
showActions: boolean;
|
|
1389
|
+
disabled: boolean;
|
|
1390
|
+
returnPath: string | undefined;
|
|
1391
|
+
okLabel: string;
|
|
1392
|
+
okShow: boolean;
|
|
1393
|
+
closeOnOk: boolean;
|
|
1394
|
+
cancelLabel: string;
|
|
1395
|
+
cancelShow: boolean;
|
|
1396
|
+
forceLocationBack: boolean;
|
|
1397
|
+
redirectOnClose: boolean;
|
|
1398
|
+
cancel: EventEmitter<boolean>;
|
|
1399
|
+
ok: EventEmitter<boolean>;
|
|
1400
|
+
constructor(location: Location, router: Router);
|
|
1401
|
+
ngOnInit(): void;
|
|
1402
|
+
closeSidePane(): void;
|
|
1403
|
+
emitClose(): void;
|
|
1404
|
+
emitCancel(): void;
|
|
1405
|
+
emitOK(): void;
|
|
1406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideViewLayoutComponent, never>;
|
|
1407
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideViewLayoutComponent, "lib-side-view-layout", never, { "title": { "alias": "title"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "returnPath": { "alias": "return-path"; "required": false; }; "okLabel": { "alias": "ok-label"; "required": false; }; "okShow": { "alias": "ok-show"; "required": false; }; "closeOnOk": { "alias": "ok-close-dialog"; "required": false; }; "cancelLabel": { "alias": "cancel-label"; "required": false; }; "cancelShow": { "alias": "cancel-show"; "required": false; }; "forceLocationBack": { "alias": "force-location-back"; "required": false; }; "redirectOnClose": { "alias": "redirect-on-close"; "required": false; }; }, { "cancel": "cancel"; "ok": "ok"; }, never, ["*"], false, never>;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
declare class FormLayoutComponent implements OnInit {
|
|
1411
|
+
private router$;
|
|
1412
|
+
private searchInput$?;
|
|
1413
|
+
title: string | null;
|
|
1414
|
+
image: string | null;
|
|
1415
|
+
icon: string | null;
|
|
1416
|
+
searchPlaceholder: string | null;
|
|
1417
|
+
actions: ViewAction[] | null;
|
|
1418
|
+
subTitle: string | null;
|
|
1419
|
+
onAction: EventEmitter<ViewAction>;
|
|
1420
|
+
onSearch: EventEmitter<string>;
|
|
1421
|
+
onComplete: EventEmitter<boolean>;
|
|
1422
|
+
constructor(router$: Router);
|
|
1423
|
+
ngOnInit(): void;
|
|
1424
|
+
onSidePaneDeactivated($event: any): void;
|
|
1425
|
+
emitActionClick(action: ViewAction): void;
|
|
1426
|
+
searchActionClick(action: ViewAction, text: string): void;
|
|
1427
|
+
searchActionType(text: string): void;
|
|
1428
|
+
routerLinkActionClick(action: RouterViewAction | any, relative?: boolean): void;
|
|
1429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormLayoutComponent, never>;
|
|
1430
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormLayoutComponent, "lib-form-layout", never, { "title": { "alias": "title"; "required": false; }; "image": { "alias": "image"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "searchPlaceholder": { "alias": "search-placeholder"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "subTitle": { "alias": "sub-title"; "required": false; }; }, { "onAction": "onAction"; "onSearch": "onSearch"; "onComplete": "onComplete"; }, never, ["*"], false, never>;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
declare class AuthCallbackComponent implements OnInit {
|
|
1434
|
+
private authService;
|
|
1435
|
+
private router;
|
|
1436
|
+
constructor(authService: AuthService, router: Router);
|
|
1437
|
+
status: string;
|
|
1438
|
+
ngOnInit(): void;
|
|
1439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
|
|
1440
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "lib-auth-callback", never, {}, {}, never, never, false, never>;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
declare class AuthRenewComponent implements OnInit {
|
|
1444
|
+
private authService;
|
|
1445
|
+
private router;
|
|
1446
|
+
constructor(authService: AuthService, router: Router);
|
|
1447
|
+
ngOnInit(): void;
|
|
1448
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthRenewComponent, never>;
|
|
1449
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthRenewComponent, "lib-auth-renew", never, {}, {}, never, never, false, never>;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
declare class LoggedOutComponent implements OnInit {
|
|
1453
|
+
private authService;
|
|
1454
|
+
constructor(authService: AuthService);
|
|
1455
|
+
status: string;
|
|
1456
|
+
finished: boolean;
|
|
1457
|
+
ngOnInit(): void;
|
|
1458
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoggedOutComponent, never>;
|
|
1459
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoggedOutComponent, "lib-logged-out", never, {}, {}, never, never, false, never>;
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
declare class ErrorComponent implements OnInit {
|
|
1463
|
+
error: string;
|
|
1464
|
+
ngOnInit(): void;
|
|
1465
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
1466
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, {}, {}, never, never, false, never>;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
declare class PageNotFoundComponent implements OnInit {
|
|
1470
|
+
constructor();
|
|
1471
|
+
ngOnInit(): void;
|
|
1472
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageNotFoundComponent, never>;
|
|
1473
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageNotFoundComponent, "lib-page-not-found", never, {}, {}, never, never, false, never>;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
declare class UnauthorizedComponent implements OnInit {
|
|
1477
|
+
constructor();
|
|
1478
|
+
ngOnInit(): void;
|
|
1479
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnauthorizedComponent, never>;
|
|
1480
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnauthorizedComponent, "lib-unauthorized", never, {}, {}, never, never, false, never>;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
declare class AddressPipe implements PipeTransform {
|
|
1484
|
+
transform(value: IAddress | undefined): string;
|
|
1485
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressPipe, never>;
|
|
1486
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AddressPipe, "address", false>;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
declare class DurationFormatPipe implements PipeTransform {
|
|
1490
|
+
transform(value: any, arg1: any, arg2: any): string;
|
|
1491
|
+
private format;
|
|
1492
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DurationFormatPipe, never>;
|
|
1493
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DurationFormatPipe, "durationFormat", false>;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
declare class ShortNumberPipe implements PipeTransform {
|
|
1497
|
+
transform(number: number, args?: any): any;
|
|
1498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShortNumberPipe, never>;
|
|
1499
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ShortNumberPipe, "shortNumber", false>;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
declare const APP_LANGUAGES: InjectionToken<IAppLanguagesService>;
|
|
1503
|
+
declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
1504
|
+
declare const APP_NOTIFICATIONS: InjectionToken<IAppNotifications>;
|
|
1505
|
+
declare const LIBSTEPPER_ACCESSOR: InjectionToken<LibStepperComponent>;
|
|
1506
|
+
declare const LIBTABGROUP_ACCESSOR: InjectionToken<LibTabGroupComponent>;
|
|
1507
|
+
declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|
|
1508
|
+
|
|
1509
|
+
declare class Icons {
|
|
1510
|
+
static Dashboard: string;
|
|
1511
|
+
static Locations: string;
|
|
1512
|
+
static ChargePoints: string;
|
|
1513
|
+
static Transations: string;
|
|
1514
|
+
static Badges: string;
|
|
1515
|
+
static Information: string;
|
|
1516
|
+
static Refresh: string;
|
|
1517
|
+
static Search: string;
|
|
1518
|
+
static Add: string;
|
|
1519
|
+
static Delete: string;
|
|
1520
|
+
static SendEmail: string;
|
|
1521
|
+
static Filter: string;
|
|
1522
|
+
static Export: string;
|
|
1523
|
+
static Import: string;
|
|
1524
|
+
static TilesView: string;
|
|
1525
|
+
static TableView: string;
|
|
1526
|
+
static MapView: string;
|
|
1527
|
+
static EntryView: string;
|
|
1528
|
+
static Separator: string;
|
|
1529
|
+
static ItemsCount: string;
|
|
1530
|
+
static Heart: string;
|
|
1531
|
+
static HeartBroken: string;
|
|
1532
|
+
static DateTime: string;
|
|
1533
|
+
static Expand: string;
|
|
1534
|
+
static Collapse: string;
|
|
1535
|
+
static SortAsc: string;
|
|
1536
|
+
static SortDesc: string;
|
|
1537
|
+
static Details: string;
|
|
1538
|
+
static Messages: string;
|
|
1539
|
+
static MessagesUnread: string;
|
|
1540
|
+
static External: string;
|
|
1541
|
+
static Statistics: string;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
declare abstract class BaseListComponent<T> implements OnInit, OnDestroy {
|
|
1545
|
+
private route$;
|
|
1546
|
+
private router$;
|
|
1547
|
+
items: T[] | null | undefined;
|
|
1548
|
+
view: string;
|
|
1549
|
+
title: string | null;
|
|
1550
|
+
actions: ViewAction[];
|
|
1551
|
+
loaderItems: any[];
|
|
1552
|
+
page: number;
|
|
1553
|
+
pageSize: number;
|
|
1554
|
+
count: number;
|
|
1555
|
+
sort: string | null;
|
|
1556
|
+
sortdir: string | null;
|
|
1557
|
+
search: string | null;
|
|
1558
|
+
filters: FilterClause[];
|
|
1559
|
+
searchOptions: SearchOption[];
|
|
1560
|
+
sortOptions: MenuOption[];
|
|
1561
|
+
metaItems: HeaderMetaItem[];
|
|
1562
|
+
abstract newItemLink: string | null;
|
|
1563
|
+
private routeSub$;
|
|
1564
|
+
private loadSub$;
|
|
1565
|
+
autoLoad: boolean;
|
|
1566
|
+
constructor(route$: ActivatedRoute, router$: Router);
|
|
1567
|
+
ngOnDestroy(): void;
|
|
1568
|
+
getViewActions(): Observable<ViewAction[]>;
|
|
1569
|
+
ngOnInit(): void;
|
|
1570
|
+
/**
|
|
1571
|
+
* Get filters from a querystring
|
|
1572
|
+
* @param queryParamMap
|
|
1573
|
+
* @returns filters found from a paramMap
|
|
1574
|
+
*/
|
|
1575
|
+
private getFiltersFrom;
|
|
1576
|
+
private setRouteParams;
|
|
1577
|
+
private filterClausesToString;
|
|
1578
|
+
actionHandler($event: ViewAction): void;
|
|
1579
|
+
private load;
|
|
1580
|
+
private updateHeaderMeta;
|
|
1581
|
+
abstract loadItems(): Observable<IResultSet<T> | null | undefined>;
|
|
1582
|
+
clear(): void;
|
|
1583
|
+
refresh(): void;
|
|
1584
|
+
pageChanged(page: number): void;
|
|
1585
|
+
pageSizeChanged(pageSize: number): void;
|
|
1586
|
+
sortChanged(sort: string): void;
|
|
1587
|
+
sortdirChanged(sortdir: string): void;
|
|
1588
|
+
advancedSearchChanged(filters: FilterClause[]): void;
|
|
1589
|
+
searchChanged(searchText: string | null): void;
|
|
1590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListComponent<any>, never>;
|
|
1591
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "ng-component", never, { "autoLoad": { "alias": "auto-load"; "required": false; }; }, {}, never, never, false, never>;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Modals option can be passed to a specific modal from {@link ModalService.show} or
|
|
1596
|
+
* set globbaly using the injection token {@link MODAL_CONFIG_DEFAULT_OVERRIDE}.
|
|
1597
|
+
* @remarks
|
|
1598
|
+
* Modal specific options are merged with global options.
|
|
1599
|
+
* @see {@link modalConfigDefaults} for defaults.
|
|
1600
|
+
* @public
|
|
1601
|
+
*/
|
|
1602
|
+
declare class ModalOptions<T = Record<string, unknown>> {
|
|
1603
|
+
/**
|
|
1604
|
+
* Id for opened modal. If not set a random one is generated.
|
|
1605
|
+
*/
|
|
1606
|
+
id?: number | string;
|
|
1607
|
+
/**
|
|
1608
|
+
* If static is set the modal will not close when clicking outside of modal.
|
|
1609
|
+
* @remarks
|
|
1610
|
+
* Keyboard event (escape key) stills applies. If you must get a result then also set keyboard to false.
|
|
1611
|
+
*/
|
|
1612
|
+
backdrop?: boolean | 'static';
|
|
1613
|
+
/**
|
|
1614
|
+
* Closes the modal when escape key is pressed.
|
|
1615
|
+
*/
|
|
1616
|
+
keyboard?: boolean;
|
|
1617
|
+
/**
|
|
1618
|
+
* Shows the modal when initialized.
|
|
1619
|
+
*/
|
|
1620
|
+
show?: boolean;
|
|
1621
|
+
/**
|
|
1622
|
+
* Ignore the backdrop click. Pretty much the same as backdrop static.
|
|
1623
|
+
*/
|
|
1624
|
+
ignoreBackdropClick?: boolean;
|
|
1625
|
+
/**
|
|
1626
|
+
* Css class for opened modal.
|
|
1627
|
+
*/
|
|
1628
|
+
class?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* Toggle animation.
|
|
1631
|
+
*/
|
|
1632
|
+
animated?: boolean;
|
|
1633
|
+
/**
|
|
1634
|
+
* Modal initial data.
|
|
1635
|
+
* @remarks
|
|
1636
|
+
* This data must be known properties of content component.
|
|
1637
|
+
*/
|
|
1638
|
+
initialState?: Partial<T>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Function to intercept the closure.
|
|
1641
|
+
* @remarks
|
|
1642
|
+
* You can use to catch the close event and even prevent it from closing.
|
|
1643
|
+
*/
|
|
1644
|
+
closeInterceptor?: CloseInterceptorFn;
|
|
1645
|
+
/**
|
|
1646
|
+
* Modal static providers.
|
|
1647
|
+
* @see {@link https://angular.io/guide/glossary#di-token | Injection Token}
|
|
1648
|
+
*/
|
|
1649
|
+
providers?: StaticProvider[];
|
|
1650
|
+
/**
|
|
1651
|
+
* aria-labelledby attribute value to set on the modal window.
|
|
1652
|
+
*/
|
|
1653
|
+
ariaLabelledBy?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* aria-describedby attribute value to set on the modal window.
|
|
1656
|
+
*/
|
|
1657
|
+
ariaDescribedby?: string;
|
|
1658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalOptions<any>, never>;
|
|
1659
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalOptions<any>>;
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* Use this injection token to set global options.
|
|
1663
|
+
*/
|
|
1664
|
+
declare const MODAL_CONFIG_DEFAULT_OVERRIDE: InjectionToken<ModalOptions>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Close interceptor promise.
|
|
1667
|
+
*/
|
|
1668
|
+
type CloseInterceptorFn = () => Promise<void>;
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Modal container component.
|
|
1672
|
+
* @remarks
|
|
1673
|
+
* All dynamic content `TemplateRef` or `Component` case will be drawn inside this.
|
|
1674
|
+
* You can override css classes to theme it {@link cssClassNames}
|
|
1675
|
+
* @internal
|
|
1676
|
+
*/
|
|
1677
|
+
declare class ModalContainerComponent implements OnInit, OnDestroy {
|
|
1678
|
+
protected _element: ElementRef;
|
|
1679
|
+
private renderer;
|
|
1680
|
+
level?: number;
|
|
1681
|
+
config: ModalOptions;
|
|
1682
|
+
modalService?: ModalService;
|
|
1683
|
+
private isShown;
|
|
1684
|
+
private animationsEnabled;
|
|
1685
|
+
private isModalHiding;
|
|
1686
|
+
private clickStartedInContent;
|
|
1687
|
+
constructor(options: ModalOptions, _element: ElementRef, renderer: Renderer2);
|
|
1688
|
+
ngOnInit(): void;
|
|
1689
|
+
onClickStarted(event: MouseEvent): void;
|
|
1690
|
+
onClickStop(event: MouseEvent): void;
|
|
1691
|
+
onPopState(): void;
|
|
1692
|
+
onEsc(event: KeyboardEvent): void;
|
|
1693
|
+
ngOnDestroy(): void;
|
|
1694
|
+
hide(result?: any): void;
|
|
1695
|
+
private _hide;
|
|
1696
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
1697
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "lib-modal-container", never, {}, {}, never, ["*"], false, never>;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* Modal class.
|
|
1702
|
+
* @remarks
|
|
1703
|
+
* This is returned from {@link ModalService.show}.
|
|
1704
|
+
* @public
|
|
1705
|
+
*/
|
|
1706
|
+
declare class Modal<T = any> {
|
|
1707
|
+
/**
|
|
1708
|
+
* Event that is fired when the modal behind the ref starts hiding.
|
|
1709
|
+
* @returns
|
|
1710
|
+
* Modal component instance.
|
|
1711
|
+
*/
|
|
1712
|
+
onBeforeHide?: Subject<unknown>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Event that is fired when the modal behind the ref finishes hiding.
|
|
1715
|
+
* @returns
|
|
1716
|
+
* An object containing the id of the closed modal and result.
|
|
1717
|
+
*/
|
|
1718
|
+
onHidden?: Subject<unknown>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Id of this modal.
|
|
1721
|
+
*/
|
|
1722
|
+
id?: number | string;
|
|
1723
|
+
/**
|
|
1724
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef.
|
|
1725
|
+
* @remarks
|
|
1726
|
+
* You can use this to do nasty stuff with opened modal instance.
|
|
1727
|
+
*/
|
|
1728
|
+
content?: T;
|
|
1729
|
+
/**
|
|
1730
|
+
* Hides the modal
|
|
1731
|
+
* @param result - A result to the observers.
|
|
1732
|
+
*/
|
|
1733
|
+
hide: (result?: any) => void;
|
|
1734
|
+
/**
|
|
1735
|
+
* Sets new class to modal window.
|
|
1736
|
+
*/
|
|
1737
|
+
setClass: (newClass: string) => void;
|
|
1738
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Modal<any>, never>;
|
|
1739
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Modal<any>>;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* A service for using modals.
|
|
1744
|
+
*
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
declare class ModalService implements OnDestroy {
|
|
1748
|
+
private clf;
|
|
1749
|
+
private document;
|
|
1750
|
+
private onBeforeShow;
|
|
1751
|
+
private onShown;
|
|
1752
|
+
private onBeforeHide;
|
|
1753
|
+
private onHidden;
|
|
1754
|
+
private backdropRef?;
|
|
1755
|
+
private defaultConfig;
|
|
1756
|
+
private backdropLoader;
|
|
1757
|
+
private loaders;
|
|
1758
|
+
private renderer;
|
|
1759
|
+
private modalsCount;
|
|
1760
|
+
private initialPadding;
|
|
1761
|
+
constructor(clf: ComponentLoaderFactory, rendererFactory: RendererFactory2, document: any, modalDefaultOption: ModalOptions);
|
|
1762
|
+
ngOnDestroy(): void;
|
|
1763
|
+
/**
|
|
1764
|
+
* Opens a new modal.
|
|
1765
|
+
*
|
|
1766
|
+
* @param content - `Component` or `TemplateRef` type.
|
|
1767
|
+
* @param config - Specific {@link ModalOptions | options} for this modal. Global and specific options are merged.
|
|
1768
|
+
* @returns An instance of {@link Modal}
|
|
1769
|
+
*/
|
|
1770
|
+
show<T>(content: string | TemplateRef<any> | {
|
|
1771
|
+
new (...args: any[]): T;
|
|
1772
|
+
}, config?: ModalOptions<T>): Modal<T>;
|
|
1773
|
+
/**
|
|
1774
|
+
* Hide an active modal.
|
|
1775
|
+
* @param id - Id of modal to hide. If not provided all active modals are hidden.
|
|
1776
|
+
* @param result - A result to be sent to observers.
|
|
1777
|
+
*/
|
|
1778
|
+
hide(id?: number | string, result?: any): void;
|
|
1779
|
+
getActiveModal(): ModalContainerComponent;
|
|
1780
|
+
private showModal;
|
|
1781
|
+
private hideModal;
|
|
1782
|
+
private showBackdrop;
|
|
1783
|
+
private hideBackdrop;
|
|
1784
|
+
private removeLoaders;
|
|
1785
|
+
private addBodyPadding;
|
|
1786
|
+
private revertScrollbar;
|
|
1787
|
+
private getScrollbarWidth;
|
|
1788
|
+
private isScrollBarPresent;
|
|
1789
|
+
private createLoaders;
|
|
1790
|
+
private copyEvent;
|
|
1791
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, [null, null, null, { optional: true; }]>;
|
|
1792
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
declare class UserSettingsService {
|
|
1796
|
+
private static SETTINGS_KEY;
|
|
1797
|
+
private _defaultPreferences;
|
|
1798
|
+
getAll(): {
|
|
1799
|
+
[key in UserSettingKey]: any;
|
|
1800
|
+
};
|
|
1801
|
+
get(key: UserSettingKey): any;
|
|
1802
|
+
set(key: UserSettingKey, value: any): void;
|
|
1803
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsService, never>;
|
|
1804
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsService>;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
declare class DynamicComponentHostDirective {
|
|
1808
|
+
viewContainerRef: ViewContainerRef;
|
|
1809
|
+
hostName: string;
|
|
1810
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
1811
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentHostDirective, never>;
|
|
1812
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicComponentHostDirective, "[appDynamicComponentHost]", never, { "hostName": { "alias": "hostName"; "required": false; }; }, {}, never, never, false, never>;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
declare class LanguageSelectionComponent implements OnInit {
|
|
1816
|
+
langsService: IAppLanguagesService | undefined;
|
|
1817
|
+
menuExpanded: boolean;
|
|
1818
|
+
constructor(langsService: IAppLanguagesService | undefined);
|
|
1819
|
+
ngOnInit(): void;
|
|
1820
|
+
selectLang(option: MenuOption): void;
|
|
1821
|
+
onClickOutside($event: any): void;
|
|
1822
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageSelectionComponent, never>;
|
|
1823
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectionComponent, "lib-language-selection", never, {}, {}, never, never, false, never>;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
declare class NotificationsIndicatorComponent implements OnInit, OnDestroy {
|
|
1827
|
+
notifications?: IAppNotifications | undefined;
|
|
1828
|
+
links?: any | undefined;
|
|
1829
|
+
menuExpanded: boolean;
|
|
1830
|
+
unreadCount: number;
|
|
1831
|
+
items: any[];
|
|
1832
|
+
allNotificationsLink?: NavLink;
|
|
1833
|
+
private notificationsSub$;
|
|
1834
|
+
private inboxAction;
|
|
1835
|
+
newArrival: boolean;
|
|
1836
|
+
constructor(notifications?: IAppNotifications | undefined, links?: any | undefined);
|
|
1837
|
+
ngOnDestroy(): void;
|
|
1838
|
+
ngOnInit(): void;
|
|
1839
|
+
doInboxAction(): void;
|
|
1840
|
+
removeItem(index: number): void;
|
|
1841
|
+
onClickOutside($event: any): void;
|
|
1842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsIndicatorComponent, never>;
|
|
1843
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsIndicatorComponent, "lib-notifications-indicator", never, {}, {}, never, never, false, never>;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
declare class ShellSidebarLayoutComponent implements OnInit {
|
|
1847
|
+
private _userSettings;
|
|
1848
|
+
config: IShellConfig | undefined;
|
|
1849
|
+
sidebarFooterTemplate?: TemplateRef<any>;
|
|
1850
|
+
busy: boolean;
|
|
1851
|
+
constructor(_userSettings: UserSettingsService);
|
|
1852
|
+
showMobileSidebar: boolean;
|
|
1853
|
+
ngOnInit(): void;
|
|
1854
|
+
toggleMobileSidebar(): void;
|
|
1855
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarLayoutComponent, never>;
|
|
1856
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": { "alias": "config"; "required": false; }; "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare class ShellStackedLayoutComponent implements OnInit {
|
|
1860
|
+
constructor();
|
|
1861
|
+
config: IShellConfig | undefined;
|
|
1862
|
+
busy: boolean;
|
|
1863
|
+
ngOnInit(): void;
|
|
1864
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellStackedLayoutComponent, never>;
|
|
1865
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellStackedLayoutComponent, "lib-shell-stacked-layout", never, { "config": { "alias": "config"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare class UserProfileMenuComponent implements OnInit {
|
|
1869
|
+
protected authService: AuthService;
|
|
1870
|
+
protected router: Router;
|
|
1871
|
+
links: any;
|
|
1872
|
+
showUserName: boolean | undefined;
|
|
1873
|
+
showPicture: boolean | undefined;
|
|
1874
|
+
protected userSub$: Subscription | null;
|
|
1875
|
+
protected statusSub$: Subscription | null;
|
|
1876
|
+
user: User | null;
|
|
1877
|
+
avatarName: string | null;
|
|
1878
|
+
userMenuExpanded: boolean;
|
|
1879
|
+
constructor(authService: AuthService, router: Router, links: any);
|
|
1880
|
+
ngOnInit(): void;
|
|
1881
|
+
signin(event: any | null | undefined): void;
|
|
1882
|
+
private setCurrentUser;
|
|
1883
|
+
onClickOutside($event: any): void;
|
|
1884
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileMenuComponent, never>;
|
|
1885
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileMenuComponent, "lib-user-profile-menu", never, { "showUserName": { "alias": "show-user-name"; "required": false; }; "showPicture": { "alias": "show-picture"; "required": false; }; }, {}, never, never, false, never>;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
declare class IndiceComponentsModule {
|
|
1889
|
+
static forRoot(): ModuleWithProviders<IndiceComponentsModule>;
|
|
1890
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IndiceComponentsModule, never>;
|
|
1891
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IndiceComponentsModule, [typeof AddressPipe, typeof AdvancedSearchComponent, typeof AuthCallbackComponent, typeof AuthRenewComponent, typeof AvatarInitialsComponent, typeof BreadcrumbComponent, typeof ClickOutsideDirective, typeof CollapsiblePanelComponent, typeof ComboboxComponent, typeof EnhancedComboboxComponent, typeof DatepickerComponent, typeof DropDownMenuComponent, typeof DurationFormatPipe, typeof ShortNumberPipe, typeof DynamicComponentHostDirective, typeof ErrorComponent, typeof FormLayoutComponent, typeof KpiTileComponent, typeof LanguageSelectionComponent, typeof LibStepComponent, typeof LibStepInfoDirective, typeof LibStepLabelDirective, typeof LibStepperComponent, typeof LibTabComponent, typeof LibTabGroupComponent, typeof LibTabLabelDirective, typeof ListColumnComponent, typeof ListDetailsSectionComponent, typeof ListTileComponent, typeof ListViewComponent, typeof ListViewEmptyStateComponent, typeof LoggedOutComponent, typeof ModelViewLayoutComponent, typeof NavLinksListComponent, typeof NotificationsIndicatorComponent, typeof PageNotFoundComponent, typeof PagerComponent, typeof ShellFooterComponent, typeof ShellHeaderComponent, typeof ShellLayoutComponent, typeof ShellSidebarComponent, typeof ShellSidebarHeaderComponent, typeof ShellSidebarLayoutComponent, typeof ShellStackedLayoutComponent, typeof SidePaneComponent, typeof SideViewLayoutComponent, typeof SkeletonLoaderComponent, typeof ToasterComponent, typeof ToasterContainerComponent, typeof ToggleComponent, typeof UnauthorizedComponent, typeof UserProfileMenuComponent, typeof ViewLayoutComponent, typeof ToggleButtonComponent, typeof ToggleButtonsListComponent, typeof ContentTileComponent, typeof ContentTileItemComponent, typeof ContentTileHeaderComponent, typeof StatsGridComponent, typeof ProgressBarComponent], [typeof i59.CommonModule, typeof i60.RouterModule, typeof i61.IndiceAuthModule, typeof i62.FormsModule], [typeof AddressPipe, typeof AdvancedSearchComponent, typeof AuthCallbackComponent, typeof AuthRenewComponent, typeof AvatarInitialsComponent, typeof BreadcrumbComponent, typeof ClickOutsideDirective, typeof CollapsiblePanelComponent, typeof ComboboxComponent, typeof EnhancedComboboxComponent, typeof DatepickerComponent, typeof DropDownMenuComponent, typeof DurationFormatPipe, typeof ShortNumberPipe, typeof ErrorComponent, typeof FormLayoutComponent, typeof KpiTileComponent, typeof LibStepComponent, typeof LibStepInfoDirective, typeof LibStepLabelDirective, typeof LibStepperComponent, typeof LibTabComponent, typeof LibTabGroupComponent, typeof LibTabLabelDirective, typeof ListColumnComponent, typeof ListDetailsSectionComponent, typeof ListTileComponent, typeof ListViewComponent, typeof ListViewEmptyStateComponent, typeof LoggedOutComponent, typeof ModelViewLayoutComponent, typeof PageNotFoundComponent, typeof PagerComponent, typeof ShellFooterComponent, typeof ShellHeaderComponent, typeof ShellLayoutComponent, typeof SidePaneComponent, typeof SideViewLayoutComponent, typeof SkeletonLoaderComponent, typeof ToasterComponent, typeof ToasterContainerComponent, typeof ToggleComponent, typeof UnauthorizedComponent, typeof ViewLayoutComponent, typeof ToggleButtonComponent, typeof ToggleButtonsListComponent, typeof ContentTileComponent, typeof ContentTileItemComponent, typeof ContentTileHeaderComponent, typeof StatsGridComponent, typeof ProgressBarComponent]>;
|
|
1892
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IndiceComponentsModule>;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
export { APP_LANGUAGES, APP_LINKS, APP_NOTIFICATIONS, AddressPipe, AdvancedSearchComponent, AuthCallbackComponent, AuthRenewComponent, AvatarInitialsComponent, BaseListComponent, BreadcrumbComponent, BreadcrumbItem, BreadcrumbRouteData, BreadcrumbService, ClickOutsideDirective, CollapsiblePanelComponent, ComboboxComponent, ComponentLoaderFactory, ContentTileComponent, ContentTileHeaderComponent, ContentTileItemComponent, DatepickerComponent, DefaultShellConfig, DropDownMenuComponent, DurationFormatPipe, EnhancedComboboxComponent, ErrorComponent, ExternalNavLink, FilterClause, FormLayoutComponent, FragmentNavLink, HeaderMetaItem, Icons, IndiceComponentsModule, KpiTileComponent, LIBSTEPPER_ACCESSOR, LIBTABGROUP_ACCESSOR, LibStepComponent, LibStepInfoDirective, LibStepLabelDirective, LibStepperComponent, LibTabComponent, LibTabGroupComponent, LibTabLabelDirective, ListColumnComponent, ListDetailsSectionComponent, ListTileComponent, ListViewComponent, ListViewEmptyStateComponent, ListViewType, LoggedOutComponent, MODAL_CONFIG_DEFAULT_OVERRIDE, MenuOption, Modal, ModalOptions, ModalService, ModelViewLayoutComponent, NULL_TOAST, NavLink, NavLinkSeparator, NavLinksListComponent, NotificationNavLink, OperatorOptions, Operators, PageNotFoundComponent, PagerComponent, PagerPosition, ProgressBarComponent, QueryParameters, RouterViewAction, SCREEN_SIZE, SHELL_CONFIG, ShellFooterComponent, ShellHeaderComponent, ShellLayoutComponent, ShellLayoutType, ShellSidebarComponent, ShellSidebarHeaderComponent, ShortNumberPipe, SidePaneComponent, SidePaneOverlayType, SidePaneSize, SideViewLayoutComponent, SkeletonLoaderComponent, StatsGridComponent, StepState, StepperType, SwitchViewAction, ToastType, ToasterComponent, ToasterContainerComponent, ToasterService, ToggleButtonComponent, ToggleButtonsListComponent, ToggleComponent, UnauthorizedComponent, UserSettingsService, ViewAction, ViewLayoutComponent };
|
|
1896
|
+
export type { CloseInterceptorFn, IAddress, IAppLanguagesService, IAppLinks, IAppNotifications, IDictionary, IResultSet, IScreenSize, IShellConfig, IValidationProblemDetails, SearchOption, SelectInputOption, Toast, UserSettingKey };
|