adb-shared 7.0.15 → 22.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -63
- package/fesm2022/adb-shared-map.mjs +2274 -897
- package/fesm2022/adb-shared-map.mjs.map +1 -1
- package/fesm2022/adb-shared.mjs +4765 -2894
- package/fesm2022/adb-shared.mjs.map +1 -1
- package/package.json +11 -9
- package/types/adb-shared-map.d.ts +437 -237
- package/types/adb-shared.d.ts +1057 -875
package/types/adb-shared.d.ts
CHANGED
|
@@ -1,892 +1,1074 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { Observable } from
|
|
13
|
-
|
|
1
|
+
import * as i2 from "@angular/common";
|
|
2
|
+
import { ViewportScroller } from "@angular/common";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { AfterViewInit, ApplicationRef, ComponentRef, ElementRef, EnvironmentInjector, EventEmitter, InjectionToken, Injector, ModuleWithProviders, OnDestroy, OnInit, PipeTransform, Renderer2, RendererFactory2, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
5
|
+
import * as i3 from "@ngx-translate/core";
|
|
6
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
7
|
+
import { HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
|
|
8
|
+
import * as i5 from "@angular/router";
|
|
9
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
10
|
+
import * as i4 from "@angular/forms";
|
|
11
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
12
|
+
import { Observable } from "rxjs";
|
|
13
|
+
export declare class ScrollService {
|
|
14
|
+
private viewportScroller;
|
|
15
|
+
private injector;
|
|
16
|
+
private document;
|
|
17
|
+
constructor(viewportScroller: ViewportScroller, injector: Injector, document: Document);
|
|
18
|
+
scrollToAnchor(anchor: string, center?: boolean): void;
|
|
19
|
+
scrollToTop(anchor?: string): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
22
|
+
}
|
|
14
23
|
interface Navigation {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
home: Link2;
|
|
25
|
+
report: Link2;
|
|
26
|
+
wanted: Link2;
|
|
27
|
+
checklist: Link2;
|
|
28
|
+
createAccountLink: Link2;
|
|
29
|
+
observations: Link2;
|
|
30
|
+
fieldDiary: Link2;
|
|
31
|
+
subcriptions: Link2;
|
|
32
|
+
events: Link2;
|
|
33
|
+
fyndregler: Link2;
|
|
34
|
+
artportalenUrl: string;
|
|
35
|
+
artfaktaUrl: string;
|
|
27
36
|
}
|
|
28
37
|
interface Link2 {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
declare class
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
declare class
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
38
|
+
transId: string;
|
|
39
|
+
url: string;
|
|
40
|
+
}
|
|
41
|
+
export declare class EnvironmentService {
|
|
42
|
+
environment: any;
|
|
43
|
+
constructor(environment: any);
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
45
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
46
|
+
}
|
|
47
|
+
export declare class ArtportalenNavComponent implements OnInit, OnDestroy {
|
|
48
|
+
private httpClient;
|
|
49
|
+
private router;
|
|
50
|
+
trans: TranslateService;
|
|
51
|
+
private envService;
|
|
52
|
+
private subscription;
|
|
53
|
+
loginClicked: EventEmitter<any>;
|
|
54
|
+
logoutClicked: EventEmitter<any>;
|
|
55
|
+
dropMenuChange: EventEmitter<boolean>;
|
|
56
|
+
showPattern: boolean;
|
|
57
|
+
fullName: string;
|
|
58
|
+
translationFinished: boolean;
|
|
59
|
+
lastPosition: number;
|
|
60
|
+
set userName(fullName: string);
|
|
61
|
+
navigation: Navigation;
|
|
62
|
+
url: string;
|
|
63
|
+
showNavMenu: boolean;
|
|
64
|
+
showUserMenu: boolean;
|
|
65
|
+
showReport: boolean;
|
|
66
|
+
showObservations: boolean;
|
|
67
|
+
showSubs: boolean;
|
|
68
|
+
constructor(httpClient: HttpClient, router: Router, trans: TranslateService, envService: EnvironmentService);
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
showMenuDropdown(show: boolean): void;
|
|
71
|
+
setLanguage(lang: any): void;
|
|
72
|
+
onUserClick(): void;
|
|
73
|
+
login(): void;
|
|
74
|
+
logout(): void;
|
|
75
|
+
private initTranslations;
|
|
76
|
+
private loadTranslation;
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArtportalenNavComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArtportalenNavComponent, "adb-artportalen-nav", never, {
|
|
80
|
+
"showPattern": {
|
|
81
|
+
"alias": "showPattern";
|
|
82
|
+
"required": false;
|
|
83
|
+
};
|
|
84
|
+
"userName": {
|
|
85
|
+
"alias": "userName";
|
|
86
|
+
"required": false;
|
|
87
|
+
};
|
|
88
|
+
}, {
|
|
89
|
+
"loginClicked": "loginClicked";
|
|
90
|
+
"logoutClicked": "logoutClicked";
|
|
91
|
+
"dropMenuChange": "dropMenuChange";
|
|
92
|
+
}, never, ["*"], false, never>;
|
|
93
|
+
}
|
|
94
|
+
export declare class ArtportalenFooterComponent implements OnInit, OnDestroy {
|
|
95
|
+
private httpClient;
|
|
96
|
+
private envService;
|
|
97
|
+
trans: TranslateService;
|
|
98
|
+
private subscription;
|
|
99
|
+
translationFinished: boolean;
|
|
100
|
+
url: string;
|
|
101
|
+
navigation: Navigation;
|
|
102
|
+
baseUrl: any;
|
|
103
|
+
constructor(httpClient: HttpClient, envService: EnvironmentService, trans: TranslateService);
|
|
104
|
+
ngOnInit(): void;
|
|
105
|
+
private initTranslations;
|
|
106
|
+
private loadTranslation;
|
|
107
|
+
ngOnDestroy(): void;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArtportalenFooterComponent, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArtportalenFooterComponent, "adb-artportalen-footer", never, {}, {}, never, never, false, never>;
|
|
110
|
+
}
|
|
111
|
+
export declare class ClickOutsideDirective {
|
|
112
|
+
private elementRef;
|
|
113
|
+
adbClickOutside: EventEmitter<any>;
|
|
114
|
+
constructor(elementRef: ElementRef);
|
|
115
|
+
onClick(target: any): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[adbClickOutside]", never, {}, {
|
|
118
|
+
"adbClickOutside": "adbClickOutside";
|
|
119
|
+
}, never, never, false, never>;
|
|
120
|
+
}
|
|
121
|
+
export declare class FocusDirective implements AfterViewInit {
|
|
122
|
+
element: ElementRef<HTMLElement>;
|
|
123
|
+
focused: boolean;
|
|
124
|
+
set adbFocus(value: boolean);
|
|
125
|
+
constructor(element: ElementRef<HTMLElement>);
|
|
126
|
+
ngAfterViewInit(): void;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[adbFocus]", never, {
|
|
129
|
+
"adbFocus": {
|
|
130
|
+
"alias": "adbFocus";
|
|
131
|
+
"required": false;
|
|
132
|
+
};
|
|
133
|
+
}, {}, never, never, false, never>;
|
|
134
|
+
}
|
|
135
|
+
export declare class FileUploadDirective {
|
|
136
|
+
private el;
|
|
137
|
+
upload: EventEmitter<any>;
|
|
138
|
+
click: EventEmitter<any>;
|
|
139
|
+
constructor(el: ElementRef);
|
|
140
|
+
onBeginUpload(target: any): void;
|
|
141
|
+
onClick(target: any): void;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadDirective, never>;
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadDirective, "input[adbFileUpload]", never, {}, {
|
|
144
|
+
"upload": "upload";
|
|
145
|
+
}, never, never, false, never>;
|
|
146
|
+
}
|
|
147
|
+
export declare class RedListBadgeClassDirective {
|
|
148
|
+
redlistId: string;
|
|
149
|
+
get hostClasses(): string;
|
|
150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedListBadgeClassDirective, never>;
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RedListBadgeClassDirective, "[adbRedListBadgeClass]", never, {
|
|
152
|
+
"redlistId": {
|
|
153
|
+
"alias": "adbRedListBadgeClass";
|
|
154
|
+
"required": false;
|
|
155
|
+
};
|
|
156
|
+
}, {}, never, never, false, never>;
|
|
157
|
+
}
|
|
158
|
+
export declare class RiskClassDirective {
|
|
159
|
+
category: string;
|
|
160
|
+
get hostClasses(): string;
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RiskClassDirective, never>;
|
|
162
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RiskClassDirective, "[adbRiskClass]", never, {
|
|
163
|
+
"category": {
|
|
164
|
+
"alias": "adbRiskClass";
|
|
165
|
+
"required": false;
|
|
166
|
+
};
|
|
167
|
+
}, {}, never, never, false, never>;
|
|
168
|
+
}
|
|
169
|
+
export declare class ImageLoaderDirective implements OnDestroy {
|
|
170
|
+
private el;
|
|
171
|
+
private renderer;
|
|
172
|
+
private translate;
|
|
173
|
+
private _fallbackKey;
|
|
174
|
+
set fallbackKey(value: string | undefined);
|
|
175
|
+
get fallbackKey(): string;
|
|
176
|
+
private translationSub?;
|
|
177
|
+
private spinnerElement?;
|
|
178
|
+
constructor(el: ElementRef, renderer: Renderer2, translate: TranslateService);
|
|
179
|
+
private showSpinner;
|
|
180
|
+
private hideSpinner;
|
|
181
|
+
onLoad(): void;
|
|
182
|
+
onError(): void;
|
|
183
|
+
ngOnDestroy(): void;
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoaderDirective, never>;
|
|
185
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageLoaderDirective, "img[adbImageLoader]", never, {
|
|
186
|
+
"fallbackKey": {
|
|
187
|
+
"alias": "adbImageLoader";
|
|
188
|
+
"required": false;
|
|
189
|
+
};
|
|
190
|
+
}, {}, never, never, false, never>;
|
|
191
|
+
}
|
|
192
|
+
export declare class RouterLinkActiveFragmentDirective implements OnInit, OnDestroy {
|
|
193
|
+
private router;
|
|
194
|
+
private el;
|
|
195
|
+
private renderer;
|
|
196
|
+
activeClass: string;
|
|
197
|
+
fragment: string | null;
|
|
198
|
+
private sub;
|
|
199
|
+
constructor(router: Router, el: ElementRef, renderer: Renderer2);
|
|
200
|
+
ngOnInit(): void;
|
|
201
|
+
private updateActiveState;
|
|
202
|
+
ngOnDestroy(): void;
|
|
203
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkActiveFragmentDirective, never>;
|
|
204
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkActiveFragmentDirective, "[adbActiveFragment]", never, {
|
|
205
|
+
"activeClass": {
|
|
206
|
+
"alias": "adbActiveFragment";
|
|
207
|
+
"required": false;
|
|
208
|
+
};
|
|
209
|
+
"fragment": {
|
|
210
|
+
"alias": "fragment";
|
|
211
|
+
"required": false;
|
|
212
|
+
};
|
|
213
|
+
}, {}, never, never, false, never>;
|
|
214
|
+
}
|
|
215
|
+
export declare class AdbDirectivesModule {
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDirectivesModule, never>;
|
|
217
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDirectivesModule, [typeof ClickOutsideDirective, typeof FocusDirective, typeof FileUploadDirective, typeof RedListBadgeClassDirective, typeof RiskClassDirective, typeof ImageLoaderDirective, typeof RouterLinkActiveFragmentDirective], never, [typeof ClickOutsideDirective, typeof FocusDirective, typeof FileUploadDirective, typeof RedListBadgeClassDirective, typeof RiskClassDirective, typeof ImageLoaderDirective, typeof RouterLinkActiveFragmentDirective]>;
|
|
218
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbDirectivesModule>;
|
|
219
|
+
}
|
|
177
220
|
declare class AdbDropdownService {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
currentMenu: any;
|
|
222
|
+
currentMenuId: string;
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDropdownService, never>;
|
|
224
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
225
|
+
}
|
|
226
|
+
export declare class AdbDropdownDirective {
|
|
227
|
+
private elementRef;
|
|
228
|
+
private adbDropdownService;
|
|
229
|
+
constructor(elementRef: ElementRef, adbDropdownService: AdbDropdownService);
|
|
230
|
+
adbDropdownSignal: import("@angular/core").OutputEmitterRef<void>;
|
|
231
|
+
dropdownCloseSignal: import("@angular/core").OutputEmitterRef<void>;
|
|
232
|
+
insideClickSignal: import("@angular/core").InputSignal<boolean>;
|
|
233
|
+
id: string;
|
|
234
|
+
dataToggle: string;
|
|
235
|
+
haspPopup: boolean;
|
|
236
|
+
expanded: boolean;
|
|
237
|
+
dropId: string;
|
|
238
|
+
onClick(): void;
|
|
239
|
+
private handleClose;
|
|
240
|
+
private setMenuPosition;
|
|
241
|
+
onCheckOutSideClick(target: any): void;
|
|
242
|
+
onResize(): void;
|
|
243
|
+
close(): void;
|
|
244
|
+
private getId;
|
|
245
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDropdownDirective, never>;
|
|
246
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdbDropdownDirective, "[adbDropdown]", ["adbDropdown"], {
|
|
247
|
+
"insideClickSignal": {
|
|
248
|
+
"alias": "insideClick";
|
|
249
|
+
"required": false;
|
|
250
|
+
"isSignal": true;
|
|
251
|
+
};
|
|
252
|
+
}, {
|
|
253
|
+
"adbDropdownSignal": "adbDropdown";
|
|
254
|
+
"dropdownCloseSignal": "dropdownClose";
|
|
255
|
+
}, never, never, false, never>;
|
|
256
|
+
}
|
|
257
|
+
export declare class AdbDropdownModule {
|
|
258
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDropdownModule, never>;
|
|
259
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDropdownModule, [typeof AdbDropdownDirective], [typeof i2.CommonModule, typeof AdbDirectivesModule], [typeof AdbDropdownDirective]>;
|
|
260
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbDropdownModule>;
|
|
261
|
+
}
|
|
262
|
+
export declare class InfiniteScrollComponent implements AfterViewInit, OnDestroy {
|
|
263
|
+
private _element;
|
|
264
|
+
onVisible: EventEmitter<any>;
|
|
265
|
+
onHidden: EventEmitter<any>;
|
|
266
|
+
height: string;
|
|
267
|
+
private _intersectionObserver?;
|
|
268
|
+
constructor(_element: ElementRef);
|
|
269
|
+
ngAfterViewInit(): void;
|
|
270
|
+
ngOnDestroy(): void;
|
|
271
|
+
private checkForIntersection;
|
|
272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollComponent, never>;
|
|
273
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollComponent, "[onVisible]", never, {}, {
|
|
274
|
+
"onVisible": "onVisible";
|
|
275
|
+
"onHidden": "onHidden";
|
|
276
|
+
}, never, never, false, never>;
|
|
277
|
+
}
|
|
227
278
|
declare abstract class PagerBaseDirective {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
declare
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
279
|
+
private static DEFAULT_LIMIT;
|
|
280
|
+
private static VISIBLE_PAGES;
|
|
281
|
+
protected static SKIP_RESOURCE: string;
|
|
282
|
+
limit: number;
|
|
283
|
+
totalCount: number;
|
|
284
|
+
set setTotalCount(count: number);
|
|
285
|
+
set setLimit(value: number);
|
|
286
|
+
pages: Array<number>;
|
|
287
|
+
amountOfPages: number;
|
|
288
|
+
currentPage: number;
|
|
289
|
+
protected calculatePages(): void;
|
|
290
|
+
protected abstract ngOnInitReady(): void;
|
|
291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerBaseDirective, never>;
|
|
292
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerBaseDirective, never, never, {
|
|
293
|
+
"setTotalCount": {
|
|
294
|
+
"alias": "totalCount";
|
|
295
|
+
"required": false;
|
|
296
|
+
};
|
|
297
|
+
"setLimit": {
|
|
298
|
+
"alias": "limit";
|
|
299
|
+
"required": false;
|
|
300
|
+
};
|
|
301
|
+
}, {}, never, never, true, never>;
|
|
302
|
+
}
|
|
303
|
+
export declare class PagerComponent extends PagerBaseDirective implements OnDestroy {
|
|
304
|
+
private activatedRoute;
|
|
305
|
+
private subscription;
|
|
306
|
+
offsetName: string;
|
|
307
|
+
infiniteLimit: boolean;
|
|
308
|
+
params: {
|
|
309
|
+
first: any;
|
|
310
|
+
prev: any;
|
|
311
|
+
pages?: any[];
|
|
312
|
+
next: any;
|
|
313
|
+
last: any;
|
|
314
|
+
};
|
|
315
|
+
constructor(activatedRoute: ActivatedRoute);
|
|
316
|
+
ngOnInitReady(): void;
|
|
317
|
+
ngOnDestroy(): void;
|
|
318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
|
319
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "adb-pager-nav", never, {
|
|
320
|
+
"offsetName": {
|
|
321
|
+
"alias": "offsetName";
|
|
322
|
+
"required": false;
|
|
323
|
+
};
|
|
324
|
+
"infiniteLimit": {
|
|
325
|
+
"alias": "infiniteLimit";
|
|
326
|
+
"required": false;
|
|
327
|
+
};
|
|
328
|
+
}, {}, never, never, false, never>;
|
|
329
|
+
}
|
|
330
|
+
export declare class PagerInlineComponent extends PagerBaseDirective {
|
|
331
|
+
pageChanged: EventEmitter<number>;
|
|
332
|
+
infiniteLimit: boolean;
|
|
333
|
+
constructor();
|
|
334
|
+
ngOnInitReady(): void;
|
|
335
|
+
onFirstClick(): void;
|
|
336
|
+
onPrevClick(): void;
|
|
337
|
+
onPageClick(page: number): void;
|
|
338
|
+
onNextClick(): void;
|
|
339
|
+
onLastClick(): void;
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerInlineComponent, never>;
|
|
341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInlineComponent, "adb-pager", never, {
|
|
342
|
+
"infiniteLimit": {
|
|
343
|
+
"alias": "infiniteLimit";
|
|
344
|
+
"required": false;
|
|
345
|
+
};
|
|
346
|
+
}, {
|
|
347
|
+
"pageChanged": "pageChanged";
|
|
348
|
+
}, never, never, false, never>;
|
|
349
|
+
}
|
|
350
|
+
export declare class AdbPagersModule {
|
|
351
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPagersModule, never>;
|
|
352
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPagersModule, [typeof InfiniteScrollComponent, typeof PagerComponent, typeof PagerInlineComponent], [typeof i2.CommonModule, typeof i5.RouterModule], [typeof InfiniteScrollComponent, typeof PagerComponent, typeof PagerInlineComponent]>;
|
|
353
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPagersModule>;
|
|
354
|
+
}
|
|
355
|
+
export declare class ArtportalenNavModule {
|
|
356
|
+
static forRoot(environment: any): ModuleWithProviders<ArtportalenNavModule>;
|
|
357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArtportalenNavModule, never>;
|
|
358
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ArtportalenNavModule, [typeof ArtportalenNavComponent, typeof ArtportalenFooterComponent], [typeof i3.TranslatePipe, typeof i2.CommonModule, typeof i5.RouterModule, typeof AdbDirectivesModule, typeof AdbDropdownModule, typeof AdbPagersModule], [typeof ArtportalenNavComponent, typeof ArtportalenFooterComponent]>;
|
|
359
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ArtportalenNavModule>;
|
|
360
|
+
}
|
|
361
|
+
export declare class HighlightPipe implements PipeTransform {
|
|
362
|
+
forbiddenSymbols: RegExp;
|
|
363
|
+
transform(value: any, searchs: any): any;
|
|
364
|
+
private normalizeText;
|
|
365
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
|
|
366
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "adbHighlight", false>;
|
|
367
|
+
}
|
|
368
|
+
export declare class HighlightHtmlPipe implements PipeTransform {
|
|
369
|
+
forbiddenSymbols: RegExp;
|
|
370
|
+
transform(value: any, searchs: any): any;
|
|
371
|
+
private normalizeText;
|
|
372
|
+
private escapeRegExp;
|
|
373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightHtmlPipe, never>;
|
|
374
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightHtmlPipe, "adbHighlightHtml", false>;
|
|
375
|
+
}
|
|
376
|
+
export declare class NumberSpacingPipe implements PipeTransform {
|
|
377
|
+
transform(value: any): any;
|
|
378
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberSpacingPipe, never>;
|
|
379
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberSpacingPipe, "adbSpacing", false>;
|
|
380
|
+
}
|
|
381
|
+
export declare class LocaleDatePipe implements PipeTransform {
|
|
382
|
+
private translate;
|
|
383
|
+
constructor(translate: TranslateService);
|
|
384
|
+
transform(value: any, format: string): string;
|
|
385
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleDatePipe, never>;
|
|
386
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocaleDatePipe, "adbLocaleDate", false>;
|
|
387
|
+
}
|
|
388
|
+
export declare class EmptyValuePipe implements PipeTransform {
|
|
389
|
+
transform(value: any): any;
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyValuePipe, never>;
|
|
391
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EmptyValuePipe, "adbEmptyValue", false>;
|
|
392
|
+
}
|
|
393
|
+
export declare class AdbPipesModule {
|
|
394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPipesModule, never>;
|
|
395
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof HighlightPipe, typeof HighlightHtmlPipe, typeof NumberSpacingPipe, typeof LocaleDatePipe, typeof EmptyValuePipe], never, [typeof HighlightPipe, typeof HighlightHtmlPipe, typeof NumberSpacingPipe, typeof LocaleDatePipe, typeof EmptyValuePipe]>;
|
|
396
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPipesModule>;
|
|
397
|
+
}
|
|
398
|
+
export interface AdbAlertConfig {
|
|
399
|
+
apiUrl: string;
|
|
400
|
+
clientId: string;
|
|
401
|
+
}
|
|
402
|
+
export declare const ADB_ALERT_CONFIG: InjectionToken<AdbAlertConfig>;
|
|
403
|
+
export interface Notification {
|
|
404
|
+
id: number;
|
|
405
|
+
severity: number;
|
|
406
|
+
message: string;
|
|
407
|
+
startDate: Date;
|
|
408
|
+
endDate: Date;
|
|
409
|
+
affectedSystems: string[];
|
|
410
|
+
sticky: boolean;
|
|
411
|
+
}
|
|
412
|
+
export declare class AdbAlertComponent implements OnInit {
|
|
413
|
+
private http;
|
|
414
|
+
private config;
|
|
415
|
+
alerts: import("@angular/core").WritableSignal<Notification[]>;
|
|
416
|
+
constructor(http: HttpClient, config: AdbAlertConfig);
|
|
417
|
+
ngOnInit(): void;
|
|
418
|
+
loadAlerts(): void;
|
|
419
|
+
dismiss(alert: Notification): void;
|
|
420
|
+
private setItem;
|
|
421
|
+
private getItem;
|
|
422
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbAlertComponent, never>;
|
|
423
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbAlertComponent, "adb-alert", never, {}, {}, never, never, false, never>;
|
|
424
|
+
}
|
|
363
425
|
interface RichModuleConfig {
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
toLeft: boolean;
|
|
459
|
-
id: string;
|
|
460
|
-
selectDate: EventEmitter<Date>;
|
|
461
|
-
constructor(elementRef: ElementRef, translate: TranslateService);
|
|
462
|
-
ngOnInit(): void;
|
|
463
|
-
onShowYear(): void;
|
|
464
|
-
onShowMonth(): void;
|
|
465
|
-
onSelectYear(inYear?: Date): void;
|
|
466
|
-
onSelectMonth(inMonth?: number): void;
|
|
467
|
-
onPrev(): void;
|
|
468
|
-
onNext(): void;
|
|
469
|
-
ngOnDestroy(): void;
|
|
470
|
-
private loadMonths;
|
|
471
|
-
private loadYearsInterval;
|
|
472
|
-
onSelectDate(day: PickerDay): void;
|
|
473
|
-
private createCalendar;
|
|
474
|
-
static parseDate(value: Date | string): Date;
|
|
475
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerComponent, never>;
|
|
476
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdbDatePickerComponent, "adb-date-picker", never, { "initialDate": { "alias": "initialDate"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "toLeft": { "alias": "toLeft"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "selectDate": "selectDate"; }, never, never, false, never>;
|
|
477
|
-
}
|
|
478
|
-
interface PickerWeek {
|
|
479
|
-
weeks: {
|
|
480
|
-
weekNumber: number;
|
|
481
|
-
days: PickerDay[];
|
|
482
|
-
}[];
|
|
483
|
-
}
|
|
484
|
-
interface PickerDay {
|
|
426
|
+
taxonUrl: string;
|
|
427
|
+
}
|
|
428
|
+
export declare class AdbRichEditorComponent implements ControlValueAccessor, OnDestroy {
|
|
429
|
+
private el;
|
|
430
|
+
text: string;
|
|
431
|
+
hasTaxon: boolean;
|
|
432
|
+
hasReference: boolean;
|
|
433
|
+
rows: number;
|
|
434
|
+
label: string;
|
|
435
|
+
id: string;
|
|
436
|
+
constructor(el: ElementRef);
|
|
437
|
+
private getTextarea;
|
|
438
|
+
onDoubleClick(): void;
|
|
439
|
+
onItalicClick(): void;
|
|
440
|
+
onBoldClick(): void;
|
|
441
|
+
private applyFormatting;
|
|
442
|
+
private findWrappingMarker;
|
|
443
|
+
onTaxonClick(): void;
|
|
444
|
+
onReferenceClick(): void;
|
|
445
|
+
private replaceMarked;
|
|
446
|
+
onChange: (value: string) => void;
|
|
447
|
+
onTouched: () => void;
|
|
448
|
+
writeValue(value: string): void;
|
|
449
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
450
|
+
registerOnTouched(fn: () => void): void;
|
|
451
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
452
|
+
onTextChange(): void;
|
|
453
|
+
private updateValue;
|
|
454
|
+
private getId;
|
|
455
|
+
ngOnDestroy(): void;
|
|
456
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbRichEditorComponent, never>;
|
|
457
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbRichEditorComponent, "adb-rich-editor", never, {
|
|
458
|
+
"hasTaxon": {
|
|
459
|
+
"alias": "hasTaxon";
|
|
460
|
+
"required": false;
|
|
461
|
+
};
|
|
462
|
+
"hasReference": {
|
|
463
|
+
"alias": "hasReference";
|
|
464
|
+
"required": false;
|
|
465
|
+
};
|
|
466
|
+
"rows": {
|
|
467
|
+
"alias": "rows";
|
|
468
|
+
"required": false;
|
|
469
|
+
};
|
|
470
|
+
"label": {
|
|
471
|
+
"alias": "label";
|
|
472
|
+
"required": false;
|
|
473
|
+
};
|
|
474
|
+
}, {}, never, never, false, never>;
|
|
475
|
+
}
|
|
476
|
+
export interface RichTextPart {
|
|
477
|
+
type: 'text' | 'italic' | 'bold' | 'taxon' | 'reference' | 'link';
|
|
478
|
+
content: string;
|
|
479
|
+
id?: string;
|
|
480
|
+
url?: string;
|
|
481
|
+
}
|
|
482
|
+
export declare class RichTextComponent {
|
|
483
|
+
text: string;
|
|
484
|
+
parts: RichTextPart[];
|
|
485
|
+
taxonUrl: string;
|
|
486
|
+
constructor(config: RichModuleConfig);
|
|
487
|
+
ngOnChanges(): void;
|
|
488
|
+
private parseCustomMarkdown;
|
|
489
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextComponent, never>;
|
|
490
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextComponent, "adb-rich-text", never, {
|
|
491
|
+
"text": {
|
|
492
|
+
"alias": "text";
|
|
493
|
+
"required": false;
|
|
494
|
+
};
|
|
495
|
+
}, {}, never, never, false, never>;
|
|
496
|
+
}
|
|
497
|
+
export declare class AdbRichEditorModule {
|
|
498
|
+
static forRoot(config: RichModuleConfig): ModuleWithProviders<AdbRichEditorModule>;
|
|
499
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbRichEditorModule, never>;
|
|
500
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbRichEditorModule, [typeof AdbRichEditorComponent, typeof RichTextComponent], [typeof i2.CommonModule, typeof i4.FormsModule, typeof i3.TranslatePipe], [typeof AdbRichEditorComponent, typeof RichTextComponent]>;
|
|
501
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbRichEditorModule>;
|
|
502
|
+
}
|
|
503
|
+
export declare class AdbAlertModule {
|
|
504
|
+
static forRoot(config: AdbAlertConfig): ModuleWithProviders<AdbAlertModule>;
|
|
505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbAlertModule, never>;
|
|
506
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbAlertModule, [typeof AdbAlertComponent], [typeof i2.CommonModule, typeof i3.TranslatePipe, typeof AdbRichEditorModule], [typeof AdbAlertComponent]>;
|
|
507
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbAlertModule>;
|
|
508
|
+
}
|
|
509
|
+
export declare class AdbDatePickerComponent implements OnInit, OnDestroy {
|
|
510
|
+
elementRef: ElementRef;
|
|
511
|
+
private translate;
|
|
512
|
+
private subscriptions;
|
|
513
|
+
static MONTHS: number[];
|
|
514
|
+
static WEEK_DAYS: string[];
|
|
515
|
+
static YEAR_INTERVALL: number;
|
|
516
|
+
currentdDate: Date;
|
|
517
|
+
currentMonth: number;
|
|
518
|
+
selectedDate: Date;
|
|
519
|
+
years: {
|
|
485
520
|
value: Date;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
521
|
+
title: string;
|
|
522
|
+
isThisYear: boolean;
|
|
523
|
+
}[];
|
|
524
|
+
months: {
|
|
525
|
+
value: number;
|
|
526
|
+
isThisMonth: boolean;
|
|
527
|
+
}[];
|
|
528
|
+
weekDays: string[];
|
|
529
|
+
weeks: PickerWeek[];
|
|
530
|
+
range: {
|
|
531
|
+
start: any;
|
|
532
|
+
end: any;
|
|
533
|
+
};
|
|
534
|
+
noYearMode: boolean;
|
|
535
|
+
initialDate: Date;
|
|
536
|
+
settings: any;
|
|
537
|
+
toLeft: boolean;
|
|
538
|
+
id: string;
|
|
539
|
+
selectDate: EventEmitter<Date>;
|
|
540
|
+
constructor(elementRef: ElementRef, translate: TranslateService);
|
|
541
|
+
ngOnInit(): void;
|
|
542
|
+
onShowYear(): void;
|
|
543
|
+
onShowMonth(): void;
|
|
544
|
+
onSelectYear(inYear?: Date): void;
|
|
545
|
+
onSelectMonth(inMonth?: number): void;
|
|
546
|
+
onPrev(): void;
|
|
547
|
+
onNext(): void;
|
|
548
|
+
ngOnDestroy(): void;
|
|
549
|
+
private loadMonths;
|
|
550
|
+
private loadYearsInterval;
|
|
551
|
+
onSelectDate(day: PickerDay): void;
|
|
552
|
+
private createCalendar;
|
|
553
|
+
static parseDate(value: Date | string): Date;
|
|
554
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerComponent, never>;
|
|
555
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbDatePickerComponent, "adb-date-picker", never, {
|
|
556
|
+
"initialDate": {
|
|
557
|
+
"alias": "initialDate";
|
|
558
|
+
"required": false;
|
|
559
|
+
};
|
|
560
|
+
"settings": {
|
|
561
|
+
"alias": "settings";
|
|
562
|
+
"required": false;
|
|
563
|
+
};
|
|
564
|
+
"toLeft": {
|
|
565
|
+
"alias": "toLeft";
|
|
566
|
+
"required": false;
|
|
567
|
+
};
|
|
568
|
+
"id": {
|
|
569
|
+
"alias": "id";
|
|
570
|
+
"required": false;
|
|
571
|
+
};
|
|
572
|
+
}, {
|
|
573
|
+
"selectDate": "selectDate";
|
|
574
|
+
}, never, never, false, never>;
|
|
575
|
+
}
|
|
576
|
+
export interface PickerWeek {
|
|
577
|
+
weekNumber: number;
|
|
578
|
+
days: PickerDay[];
|
|
579
|
+
}
|
|
580
|
+
export interface PickerDay {
|
|
581
|
+
value: Date;
|
|
582
|
+
isToday: boolean;
|
|
583
|
+
isInRange: boolean;
|
|
584
|
+
inMonth: boolean;
|
|
585
|
+
isSelected: boolean;
|
|
490
586
|
}
|
|
491
|
-
|
|
492
587
|
declare class AdbDatePickerService {
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
588
|
+
viewRef: ComponentRef<AdbDatePickerComponent>;
|
|
589
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerService, never>;
|
|
590
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
591
|
+
}
|
|
592
|
+
export declare class AdbDatePickerDirective implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
593
|
+
private viewContainerRef;
|
|
594
|
+
private renderer;
|
|
595
|
+
private elementRef;
|
|
596
|
+
private adbDatePickerService;
|
|
597
|
+
translate: TranslateService;
|
|
598
|
+
private subscriptions;
|
|
599
|
+
autocomplete: string;
|
|
600
|
+
adbBlur: EventEmitter<Date>;
|
|
601
|
+
format: string;
|
|
602
|
+
toLeft: boolean;
|
|
603
|
+
settings: {
|
|
604
|
+
maxDate?: Date | string;
|
|
605
|
+
minDate?: Date | string;
|
|
606
|
+
};
|
|
607
|
+
id: string;
|
|
608
|
+
currentDate: Date;
|
|
609
|
+
isValid: boolean;
|
|
610
|
+
constructor(viewContainerRef: ViewContainerRef, renderer: Renderer2, elementRef: ElementRef, adbDatePickerService: AdbDatePickerService, translate: TranslateService);
|
|
611
|
+
ngOnInit(): void;
|
|
612
|
+
onClick(): void;
|
|
613
|
+
onKeyup(event: KeyboardEvent): void;
|
|
614
|
+
onTabDown(): void;
|
|
615
|
+
onEscdOWN(): void;
|
|
616
|
+
onHide(): void;
|
|
617
|
+
onCheckOutSideClick(target: any): void;
|
|
618
|
+
private updateValueOnLeave;
|
|
619
|
+
ngOnDestroy(): void;
|
|
620
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
621
|
+
onChange: any;
|
|
622
|
+
onTouched: any;
|
|
623
|
+
onValidationChange: any;
|
|
624
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
625
|
+
writeValue(value: Date | string): void;
|
|
626
|
+
registerOnChange(fn: any): void;
|
|
627
|
+
registerOnTouched(fn: any): void;
|
|
628
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
629
|
+
static tryParse(dateString: string): Date;
|
|
630
|
+
private getId;
|
|
631
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerDirective, never>;
|
|
632
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdbDatePickerDirective, "input[adbDatepicker]", never, {
|
|
633
|
+
"format": {
|
|
634
|
+
"alias": "format";
|
|
635
|
+
"required": false;
|
|
636
|
+
};
|
|
637
|
+
"toLeft": {
|
|
638
|
+
"alias": "toLeft";
|
|
639
|
+
"required": false;
|
|
640
|
+
};
|
|
641
|
+
"settings": {
|
|
642
|
+
"alias": "settings";
|
|
643
|
+
"required": false;
|
|
644
|
+
};
|
|
645
|
+
}, {
|
|
646
|
+
"adbBlur": "adbBlur";
|
|
647
|
+
}, never, never, false, never>;
|
|
648
|
+
}
|
|
649
|
+
export declare class AdbDatePickerModule {
|
|
650
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerModule, never>;
|
|
651
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDatePickerModule, [typeof AdbDatePickerComponent, typeof AdbDatePickerDirective], [typeof i2.CommonModule, typeof AdbPipesModule, typeof AdbDirectivesModule, typeof i3.TranslatePipe], [typeof AdbDatePickerComponent, typeof AdbDatePickerDirective]>;
|
|
652
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbDatePickerModule>;
|
|
653
|
+
}
|
|
654
|
+
export declare class AdbModalService {
|
|
655
|
+
private environmentInjector;
|
|
656
|
+
private appRef;
|
|
657
|
+
private closeSubject;
|
|
658
|
+
close$: import("rxjs").Observable<boolean>;
|
|
659
|
+
renderer: Renderer2;
|
|
660
|
+
domElem: HTMLElement;
|
|
661
|
+
backdrop: any;
|
|
662
|
+
constructor(environmentInjector: EnvironmentInjector, rendererFactory: RendererFactory2, appRef: ApplicationRef);
|
|
663
|
+
hide(confirm: boolean): void;
|
|
664
|
+
showConfirm(model: DialogModel): void;
|
|
665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbModalService, never>;
|
|
666
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
667
|
+
}
|
|
668
|
+
export declare class AdbConfirmModal implements AfterViewInit {
|
|
669
|
+
modalRef: AdbModalService;
|
|
670
|
+
private elementRef;
|
|
671
|
+
model: DialogModel;
|
|
672
|
+
constructor(modalRef: AdbModalService, elementRef: ElementRef);
|
|
673
|
+
ngAfterViewInit(): void;
|
|
674
|
+
onClose(confirm: boolean): void;
|
|
675
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbConfirmModal, never>;
|
|
676
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbConfirmModal, "ng-component", never, {
|
|
677
|
+
"model": {
|
|
678
|
+
"alias": "model";
|
|
679
|
+
"required": false;
|
|
680
|
+
};
|
|
681
|
+
}, {}, never, never, false, never>;
|
|
682
|
+
}
|
|
683
|
+
export interface DialogModel {
|
|
684
|
+
header: string;
|
|
685
|
+
text: string;
|
|
686
|
+
confirm?: string;
|
|
687
|
+
decline?: string;
|
|
688
|
+
showDecline?: boolean;
|
|
689
|
+
value?: any;
|
|
690
|
+
}
|
|
691
|
+
export declare class AdbModalModule {
|
|
692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbModalModule, never>;
|
|
693
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbModalModule, [typeof AdbConfirmModal], [typeof i2.CommonModule, typeof AdbDirectivesModule, typeof i3.TranslatePipe], [typeof AdbConfirmModal]>;
|
|
694
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbModalModule>;
|
|
695
|
+
}
|
|
696
|
+
export declare class AdbToastService {
|
|
697
|
+
private environmentInjector;
|
|
698
|
+
private appRef;
|
|
699
|
+
toastsSignal: import("@angular/core").WritableSignal<ToastMessage[]>;
|
|
700
|
+
container: any;
|
|
701
|
+
constructor(environmentInjector: EnvironmentInjector, appRef: ApplicationRef);
|
|
702
|
+
add(toastMessage: ToastMessage, time?: number): void;
|
|
703
|
+
remove(toast: ToastMessage): void;
|
|
704
|
+
private addContainer;
|
|
705
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastService, never>;
|
|
706
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
707
|
+
}
|
|
708
|
+
export interface ToastMessage {
|
|
709
|
+
header?: string;
|
|
710
|
+
headerValue?: any;
|
|
711
|
+
message: string;
|
|
712
|
+
messageValue?: any;
|
|
713
|
+
type?: ToastType;
|
|
714
|
+
id?: number;
|
|
715
|
+
delay?: any;
|
|
716
|
+
}
|
|
717
|
+
export declare enum ToastType {
|
|
718
|
+
Primary = 1,
|
|
719
|
+
Success = 2,
|
|
720
|
+
Warn = 3,
|
|
721
|
+
Danger = 4
|
|
722
|
+
}
|
|
723
|
+
export declare class AdbToast {
|
|
724
|
+
toastService: AdbToastService;
|
|
725
|
+
toastType: typeof ToastType;
|
|
726
|
+
constructor(toastService: AdbToastService);
|
|
727
|
+
onRemoveToast(toast: ToastMessage): void;
|
|
728
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToast, never>;
|
|
729
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbToast, "ng-component", never, {}, {}, never, never, false, never>;
|
|
730
|
+
}
|
|
731
|
+
export declare class AdbToastModule {
|
|
732
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastModule, never>;
|
|
733
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbToastModule, [typeof AdbToast], [typeof i2.CommonModule, typeof AdbDirectivesModule, typeof i3.TranslatePipe], [typeof AdbToast]>;
|
|
734
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbToastModule>;
|
|
735
|
+
}
|
|
736
|
+
export declare class AdbHelpButtonComponent implements OnInit {
|
|
737
|
+
private elementRef;
|
|
738
|
+
showHelp: boolean;
|
|
739
|
+
buttonClassSignal: import("@angular/core").InputSignal<string>;
|
|
740
|
+
labelSignal: import("@angular/core").InputSignal<string>;
|
|
741
|
+
id: number;
|
|
742
|
+
onClickDoc(event: MouseEvent): void;
|
|
743
|
+
constructor(elementRef: ElementRef);
|
|
744
|
+
ngOnInit(): void;
|
|
745
|
+
onClose(): void;
|
|
746
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbHelpButtonComponent, never>;
|
|
747
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbHelpButtonComponent, "adb-help-button", never, {
|
|
748
|
+
"buttonClassSignal": {
|
|
749
|
+
"alias": "buttonClass";
|
|
750
|
+
"required": false;
|
|
751
|
+
"isSignal": true;
|
|
752
|
+
};
|
|
753
|
+
"labelSignal": {
|
|
754
|
+
"alias": "label";
|
|
755
|
+
"required": false;
|
|
756
|
+
"isSignal": true;
|
|
757
|
+
};
|
|
758
|
+
}, {}, never, ["*"], false, never>;
|
|
759
|
+
}
|
|
760
|
+
export declare class AdbButtonsModule {
|
|
761
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbButtonsModule, never>;
|
|
762
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbButtonsModule, [typeof AdbHelpButtonComponent], [typeof i2.CommonModule, typeof AdbDirectivesModule], [typeof AdbHelpButtonComponent]>;
|
|
763
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbButtonsModule>;
|
|
764
|
+
}
|
|
765
|
+
export declare class FilterSectionComponent {
|
|
766
|
+
countSignal: import("@angular/core").InputSignal<number>;
|
|
767
|
+
titleResourceSignal: import("@angular/core").InputSignal<string>;
|
|
768
|
+
helpResourceSignal: import("@angular/core").InputSignal<string>;
|
|
769
|
+
lazySignal: import("@angular/core").InputSignal<boolean>;
|
|
770
|
+
expandedSignal: import("@angular/core").ModelSignal<boolean>;
|
|
771
|
+
templateSignal: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
772
|
+
id: string;
|
|
773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSectionComponent, never>;
|
|
774
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterSectionComponent, "adb-filter-section", never, {
|
|
775
|
+
"countSignal": {
|
|
776
|
+
"alias": "count";
|
|
777
|
+
"required": false;
|
|
778
|
+
"isSignal": true;
|
|
779
|
+
};
|
|
780
|
+
"titleResourceSignal": {
|
|
781
|
+
"alias": "titleResource";
|
|
782
|
+
"required": false;
|
|
783
|
+
"isSignal": true;
|
|
784
|
+
};
|
|
785
|
+
"helpResourceSignal": {
|
|
786
|
+
"alias": "helpResource";
|
|
787
|
+
"required": false;
|
|
788
|
+
"isSignal": true;
|
|
789
|
+
};
|
|
790
|
+
"lazySignal": {
|
|
791
|
+
"alias": "lazy";
|
|
792
|
+
"required": false;
|
|
793
|
+
"isSignal": true;
|
|
794
|
+
};
|
|
795
|
+
"expandedSignal": {
|
|
796
|
+
"alias": "expanded";
|
|
797
|
+
"required": false;
|
|
798
|
+
"isSignal": true;
|
|
799
|
+
};
|
|
800
|
+
}, {
|
|
801
|
+
"expandedSignal": "expandedChange";
|
|
802
|
+
}, ["templateSignal"], ["*"], false, never>;
|
|
803
|
+
}
|
|
804
|
+
export declare class AdbFilterSectionModule {
|
|
805
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbFilterSectionModule, never>;
|
|
806
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbFilterSectionModule, [typeof FilterSectionComponent], [typeof i2.CommonModule, typeof i4.FormsModule, typeof AdbButtonsModule, typeof i3.TranslatePipe, typeof AdbRichEditorModule], [typeof FilterSectionComponent, typeof AdbButtonsModule]>;
|
|
807
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbFilterSectionModule>;
|
|
808
|
+
}
|
|
809
|
+
export interface AdbUserServiceConfig {
|
|
810
|
+
redirectUrl: string;
|
|
811
|
+
clientId: string;
|
|
812
|
+
issuer: string;
|
|
813
|
+
scope?: string;
|
|
814
|
+
responseType?: string;
|
|
815
|
+
idleTime?: number;
|
|
816
|
+
autoLogin?: boolean;
|
|
817
|
+
postLogoutUrl?: string;
|
|
818
|
+
overrideIssuer?: boolean;
|
|
819
|
+
log?: boolean;
|
|
820
|
+
}
|
|
821
|
+
export declare const ADB_USER_SERVICE_CONFIG: InjectionToken<AdbUserServiceConfig>;
|
|
822
|
+
export declare const DEFAULT_ADB_USER_SERVICE_CONFIG: {
|
|
823
|
+
scope: string;
|
|
824
|
+
idleTime: number;
|
|
825
|
+
autoLogin: boolean;
|
|
826
|
+
response_type: string;
|
|
827
|
+
overrideIssuer: boolean;
|
|
828
|
+
log: boolean;
|
|
688
829
|
};
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
readonly areas: string;
|
|
765
|
-
readonly taxa: string;
|
|
766
|
-
constructor(config: AdbPickerConfig);
|
|
767
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPickerConfigService, never>;
|
|
768
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AdbPickerConfigService>;
|
|
769
|
-
}
|
|
770
|
-
|
|
830
|
+
export declare class AdbUserService implements OnDestroy {
|
|
831
|
+
config: AdbUserServiceConfig;
|
|
832
|
+
private http;
|
|
833
|
+
private router;
|
|
834
|
+
private subscriptions;
|
|
835
|
+
private userSubject;
|
|
836
|
+
user$: import("rxjs").Observable<any>;
|
|
837
|
+
lastRefreshTime: number;
|
|
838
|
+
intervalId: any;
|
|
839
|
+
constructor(config: AdbUserServiceConfig, http: HttpClient, router: Router);
|
|
840
|
+
init(): void;
|
|
841
|
+
startMainLoop(): void;
|
|
842
|
+
login(url?: string): void;
|
|
843
|
+
logout(): void;
|
|
844
|
+
private checkStatus;
|
|
845
|
+
_internalTriggerUserEvent(token: string): void;
|
|
846
|
+
private refreshToken;
|
|
847
|
+
setTokensInSession(params: any): void;
|
|
848
|
+
authorize(): Promise<void>;
|
|
849
|
+
private addQueryParams;
|
|
850
|
+
private getTokenTimeToLive;
|
|
851
|
+
private canRefreshToken;
|
|
852
|
+
private hasUserBeenActive;
|
|
853
|
+
log(message: string, ...optionalParams: any[]): void;
|
|
854
|
+
getUser(token: string): any;
|
|
855
|
+
ngOnDestroy(): void;
|
|
856
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbUserService, never>;
|
|
857
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
858
|
+
}
|
|
859
|
+
export declare class AuthCallbackComponent implements OnInit {
|
|
860
|
+
private activatedRoute;
|
|
861
|
+
private router;
|
|
862
|
+
private http;
|
|
863
|
+
private adbUserService;
|
|
864
|
+
private subscriptions;
|
|
865
|
+
constructor(activatedRoute: ActivatedRoute, router: Router, http: HttpClient, adbUserService: AdbUserService);
|
|
866
|
+
ngOnInit(): void;
|
|
867
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
|
|
868
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
869
|
+
}
|
|
870
|
+
export declare class AdbUserModule {
|
|
871
|
+
static forRoot(config?: AdbUserServiceConfig): ModuleWithProviders<AdbUserModule>;
|
|
872
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbUserModule, never>;
|
|
873
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbUserModule, [typeof AuthCallbackComponent], [typeof i2.CommonModule, typeof i5.RouterModule, typeof i3.TranslatePipe], [typeof AuthCallbackComponent]>;
|
|
874
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbUserModule>;
|
|
875
|
+
}
|
|
876
|
+
export declare class AdbUserInterceptor implements HttpInterceptor {
|
|
877
|
+
private adbUserService;
|
|
878
|
+
private static UNAUTHENTICATED;
|
|
879
|
+
constructor(adbUserService: AdbUserService);
|
|
880
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
881
|
+
private handleErrors;
|
|
882
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbUserInterceptor, never>;
|
|
883
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
884
|
+
}
|
|
885
|
+
export declare class UserModuleConstants {
|
|
886
|
+
static CURRENT_URL: string;
|
|
887
|
+
static CODE_VERIFIER: string;
|
|
888
|
+
static REFRESH_TOKEN: string;
|
|
889
|
+
static TOKEN_EXPIRES: string;
|
|
890
|
+
static ACCESS_TOKEN: string;
|
|
891
|
+
static USER_LAST_ACTIVE: string;
|
|
892
|
+
static ONGOING_CODEFLOW: string;
|
|
893
|
+
}
|
|
894
|
+
export interface AdbPickerConfig {
|
|
895
|
+
api: string;
|
|
896
|
+
}
|
|
897
|
+
export declare const ADB_PICKER_CONFIG: InjectionToken<AdbPickerConfig>;
|
|
898
|
+
export declare class AdbPickerConfigService {
|
|
899
|
+
readonly areas: string;
|
|
900
|
+
readonly taxa: string;
|
|
901
|
+
constructor(config: AdbPickerConfig);
|
|
902
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPickerConfigService, never>;
|
|
903
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
904
|
+
}
|
|
771
905
|
interface SOSArea {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
906
|
+
name: string;
|
|
907
|
+
areaType: string;
|
|
908
|
+
featureId: string;
|
|
775
909
|
}
|
|
776
910
|
interface Area {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
911
|
+
id: string;
|
|
912
|
+
name: string;
|
|
913
|
+
areaType: string;
|
|
914
|
+
featureId: string;
|
|
781
915
|
}
|
|
782
916
|
interface PagedResult<T> {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
917
|
+
records?: Array<T>;
|
|
918
|
+
items?: Array<T>;
|
|
919
|
+
totalCount?: number;
|
|
786
920
|
}
|
|
787
921
|
interface Taxon {
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
export
|
|
892
|
-
|
|
922
|
+
id: any;
|
|
923
|
+
swedishName: string;
|
|
924
|
+
scientificName: string;
|
|
925
|
+
}
|
|
926
|
+
export declare class GenericPickerComponent<T> implements OnInit, OnDestroy {
|
|
927
|
+
private readonly subs;
|
|
928
|
+
private readonly searchChanged$;
|
|
929
|
+
search: (query: string) => Observable<PagedResult<T>>;
|
|
930
|
+
displayFn: (item: T) => string;
|
|
931
|
+
loadById?: (id: any) => Observable<T>;
|
|
932
|
+
disabled: boolean;
|
|
933
|
+
placeholder: string;
|
|
934
|
+
itemTemplate: TemplateRef<any>;
|
|
935
|
+
selectItemChange: EventEmitter<T>;
|
|
936
|
+
focus: EventEmitter<FocusEvent>;
|
|
937
|
+
set initialValue(item: T | null);
|
|
938
|
+
searchQuery: string;
|
|
939
|
+
loading: boolean;
|
|
940
|
+
error: any;
|
|
941
|
+
items$: Observable<T[]>;
|
|
942
|
+
private itemsSnapshot;
|
|
943
|
+
showPop: boolean;
|
|
944
|
+
rowIndex: number;
|
|
945
|
+
ngOnInit(): void;
|
|
946
|
+
onModelChange(): void;
|
|
947
|
+
onArrowDown(): void;
|
|
948
|
+
onArrowUp(): void;
|
|
949
|
+
onEnter(event: Event): void;
|
|
950
|
+
resetPopup(): void;
|
|
951
|
+
selectItem(item: T | null): void;
|
|
952
|
+
resetModel(): void;
|
|
953
|
+
ngOnDestroy(): void;
|
|
954
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericPickerComponent<any>, never>;
|
|
955
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericPickerComponent<any>, "adb-generic-picker", never, {
|
|
956
|
+
"search": {
|
|
957
|
+
"alias": "search";
|
|
958
|
+
"required": false;
|
|
959
|
+
};
|
|
960
|
+
"displayFn": {
|
|
961
|
+
"alias": "displayFn";
|
|
962
|
+
"required": false;
|
|
963
|
+
};
|
|
964
|
+
"loadById": {
|
|
965
|
+
"alias": "loadById";
|
|
966
|
+
"required": false;
|
|
967
|
+
};
|
|
968
|
+
"disabled": {
|
|
969
|
+
"alias": "disabled";
|
|
970
|
+
"required": false;
|
|
971
|
+
};
|
|
972
|
+
"placeholder": {
|
|
973
|
+
"alias": "placeholder";
|
|
974
|
+
"required": false;
|
|
975
|
+
};
|
|
976
|
+
"initialValue": {
|
|
977
|
+
"alias": "initialValue";
|
|
978
|
+
"required": false;
|
|
979
|
+
};
|
|
980
|
+
}, {
|
|
981
|
+
"selectItemChange": "selectItemChange";
|
|
982
|
+
"focus": "focus";
|
|
983
|
+
}, ["itemTemplate"], never, false, never>;
|
|
984
|
+
}
|
|
985
|
+
export declare class AdbAreaPickerComponent implements ControlValueAccessor {
|
|
986
|
+
private translate;
|
|
987
|
+
private config;
|
|
988
|
+
private http;
|
|
989
|
+
fullWidth: boolean;
|
|
990
|
+
placeholder: string;
|
|
991
|
+
useObject: boolean;
|
|
992
|
+
prefill: boolean;
|
|
993
|
+
initialValue: import("@angular/core").WritableSignal<Area>;
|
|
994
|
+
isDisabled: boolean;
|
|
995
|
+
loading: boolean;
|
|
996
|
+
showPrefill: boolean;
|
|
997
|
+
private onChange;
|
|
998
|
+
private onTouched;
|
|
999
|
+
constructor(translate: TranslateService, config: AdbPickerConfigService, http: HttpClient);
|
|
1000
|
+
getAreas: (query: string) => import("rxjs").Observable<PagedResult<Area>>;
|
|
1001
|
+
displayArea: (area: SOSArea) => string;
|
|
1002
|
+
loadAreaId: (id: any) => import("rxjs").Observable<Area>;
|
|
1003
|
+
onSelect(area: any | null): void;
|
|
1004
|
+
onFocus(): void;
|
|
1005
|
+
writeValue(value: any): void;
|
|
1006
|
+
registerOnChange(fn: any): void;
|
|
1007
|
+
registerOnTouched(fn: any): void;
|
|
1008
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
1009
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbAreaPickerComponent, never>;
|
|
1010
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbAreaPickerComponent, "adb-area-picker", never, {
|
|
1011
|
+
"placeholder": {
|
|
1012
|
+
"alias": "placeholder";
|
|
1013
|
+
"required": false;
|
|
1014
|
+
};
|
|
1015
|
+
"useObject": {
|
|
1016
|
+
"alias": "useObject";
|
|
1017
|
+
"required": false;
|
|
1018
|
+
};
|
|
1019
|
+
"prefill": {
|
|
1020
|
+
"alias": "prefill";
|
|
1021
|
+
"required": false;
|
|
1022
|
+
};
|
|
1023
|
+
}, {}, never, ["*"], false, never>;
|
|
1024
|
+
}
|
|
1025
|
+
export declare class AdbTaxonPickerComponent implements ControlValueAccessor {
|
|
1026
|
+
private config;
|
|
1027
|
+
private http;
|
|
1028
|
+
fullWidth: boolean;
|
|
1029
|
+
placeholder: string;
|
|
1030
|
+
useObject: boolean;
|
|
1031
|
+
prefill: boolean;
|
|
1032
|
+
initialValue: import("@angular/core").WritableSignal<Taxon>;
|
|
1033
|
+
isDisabled: boolean;
|
|
1034
|
+
loading: boolean;
|
|
1035
|
+
showPrefill: boolean;
|
|
1036
|
+
private onChange;
|
|
1037
|
+
private onTouched;
|
|
1038
|
+
constructor(config: AdbPickerConfigService, http: HttpClient);
|
|
1039
|
+
getTaxa: (query: string) => import("rxjs").Observable<{
|
|
1040
|
+
items: Taxon[];
|
|
1041
|
+
} | {
|
|
1042
|
+
items: any[];
|
|
1043
|
+
}>;
|
|
1044
|
+
displayTaxon: (taxon: Taxon) => string;
|
|
1045
|
+
loadTaxonById(id: any): import("rxjs").Observable<Taxon>;
|
|
1046
|
+
onSelect(taxon: Taxon | null): void;
|
|
1047
|
+
onFocus(): void;
|
|
1048
|
+
writeValue(value: any): void;
|
|
1049
|
+
registerOnChange(fn: any): void;
|
|
1050
|
+
registerOnTouched(fn: any): void;
|
|
1051
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
1052
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbTaxonPickerComponent, never>;
|
|
1053
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbTaxonPickerComponent, "adb-taxon-picker", never, {
|
|
1054
|
+
"placeholder": {
|
|
1055
|
+
"alias": "placeholder";
|
|
1056
|
+
"required": false;
|
|
1057
|
+
};
|
|
1058
|
+
"useObject": {
|
|
1059
|
+
"alias": "useObject";
|
|
1060
|
+
"required": false;
|
|
1061
|
+
};
|
|
1062
|
+
"prefill": {
|
|
1063
|
+
"alias": "prefill";
|
|
1064
|
+
"required": false;
|
|
1065
|
+
};
|
|
1066
|
+
}, {}, never, ["*"], false, never>;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class AdbPickerModule {
|
|
1069
|
+
static forRoot(config?: AdbPickerConfig): ModuleWithProviders<AdbPickerModule>;
|
|
1070
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPickerModule, never>;
|
|
1071
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPickerModule, [typeof GenericPickerComponent, typeof AdbAreaPickerComponent, typeof AdbTaxonPickerComponent], [typeof i2.CommonModule, typeof i4.FormsModule, typeof AdbPipesModule, typeof AdbDirectivesModule, typeof i3.TranslatePipe], [typeof GenericPickerComponent, typeof AdbAreaPickerComponent, typeof AdbTaxonPickerComponent]>;
|
|
1072
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPickerModule>;
|
|
1073
|
+
}
|
|
1074
|
+
export {};
|