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