adb-shared 6.1.8 → 6.1.10
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 +180 -183
- package/fesm2022/adb-shared.mjs.map +1 -1
- package/index.d.ts +5 -816
- package/lib/components/adb-artportalen-nav/adb-artportalen-footer.component.d.ts +23 -0
- package/lib/components/adb-artportalen-nav/adb-artportalen-nav.component.d.ts +41 -0
- package/lib/components/adb-artportalen-nav/adb-artportalen-nav.module.d.ts +16 -0
- package/lib/components/adb-artportalen-nav/environment.service.d.ts +7 -0
- package/lib/components/adb-artportalen-nav/navigation.model.d.ts +18 -0
- package/lib/components/adb-buttons/adb-buttons.module.d.ts +9 -0
- package/lib/components/adb-buttons/help-button.component.d.ts +16 -0
- package/lib/components/adb-confirm-modal/adb-confirm-modal.d.ts +21 -0
- package/lib/components/adb-confirm-modal/adb-modal.module.d.ts +10 -0
- package/lib/components/adb-confirm-modal/adb-modal.service.d.ts +18 -0
- package/lib/components/adb-dropdown/adb-dropdown.directive.d.ts +21 -0
- package/lib/components/adb-dropdown/adb-dropdown.module.d.ts +11 -0
- package/lib/components/adb-dropdown/adb-dropdown.service.d.ts +7 -0
- package/lib/components/adb-dropdown/adb-dropdown2.directive.d.ts +23 -0
- package/lib/components/adb-filter-section/adb-filter-section.module.d.ts +11 -0
- package/lib/components/adb-filter-section/filter-section.component.d.ts +13 -0
- package/lib/components/adb-header/adb-header.module.d.ts +15 -0
- package/lib/components/adb-header/adb-nav.component.d.ts +41 -0
- package/lib/components/adb-header/environment.service.d.ts +7 -0
- package/lib/components/adb-header/navigation.model.d.ts +29 -0
- package/lib/components/adb-rich-editor/adb-rich-editor.component.d.ts +28 -0
- package/lib/components/adb-rich-editor/adb-rich-editor.module.d.ts +13 -0
- package/lib/components/adb-rich-editor/adb-rich-text.d.ts +18 -0
- package/lib/components/adb-rich-editor/rich-module-config.d.ts +5 -0
- package/lib/components/adb-toast/adb-toast.d.ts +11 -0
- package/lib/components/adb-toast/adb-toast.module.d.ts +10 -0
- package/lib/components/adb-toast/adb-toast.service.d.ts +36 -0
- package/lib/components/adb-user/adb-user-service-config.d.ts +22 -0
- package/lib/components/adb-user/adb-user.interceptor.d.ts +13 -0
- package/lib/components/adb-user/adb-user.module.d.ts +13 -0
- package/lib/components/adb-user/adb-user.service.d.ts +34 -0
- package/lib/components/adb-user/auth-callback.component.d.ts +16 -0
- package/lib/components/adb-user/user-constants.d.ts +9 -0
- package/lib/components/date-picker/adb-date-picker.component.d.ts +64 -0
- package/lib/components/date-picker/adb-date-picker.directive.d.ts +47 -0
- package/lib/components/date-picker/adb-date-picker.module.d.ts +12 -0
- package/lib/components/date-picker/adb-date-picker.service.d.ts +8 -0
- package/lib/components/pagers/infinite-scroll.component.d.ts +15 -0
- package/lib/components/pagers/pager-base.directive.d.ts +17 -0
- package/lib/components/pagers/pager-inline.d.ts +16 -0
- package/lib/components/pagers/pager.d.ts +22 -0
- package/lib/components/pagers/pagers.module.d.ts +11 -0
- package/lib/directives/active-fragment.directive.d.ts +17 -0
- package/lib/directives/click-outside.directive.d.ts +10 -0
- package/lib/directives/directives.module.d.ts +13 -0
- package/lib/directives/file-upload.directive.d.ts +12 -0
- package/lib/directives/focus.directive.d.ts +11 -0
- package/lib/directives/image-loader.directive.d.ts +21 -0
- package/lib/directives/redlist-badge-class.directive.d.ts +7 -0
- package/lib/directives/risk-class.directive.d.ts +7 -0
- package/lib/pipes/date.pipe.d.ts +10 -0
- package/lib/pipes/emptyValue.pipe.d.ts +7 -0
- package/lib/pipes/highlight-html.pipe.d.ts +10 -0
- package/lib/pipes/highlight.pipe.d.ts +9 -0
- package/lib/pipes/number-spacing.pipe.d.ts +7 -0
- package/lib/pipes/pipes.module.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +48 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AdbDatePickerComponent implements OnInit, OnDestroy {
|
|
5
|
+
elementRef: ElementRef;
|
|
6
|
+
private translate;
|
|
7
|
+
private subscriptions;
|
|
8
|
+
static MONTHS: number[];
|
|
9
|
+
static WEEK_DAYS: string[];
|
|
10
|
+
static YEAR_INTERVALL: number;
|
|
11
|
+
currentdDate: Date;
|
|
12
|
+
currentMonth: number;
|
|
13
|
+
selectedDate: Date;
|
|
14
|
+
years: {
|
|
15
|
+
value: Date;
|
|
16
|
+
title: string;
|
|
17
|
+
isThisYear: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
months: {
|
|
20
|
+
value: number;
|
|
21
|
+
isThisMonth: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
weekDays: string[];
|
|
24
|
+
weeks: PickerWeek[];
|
|
25
|
+
range: {
|
|
26
|
+
start: any;
|
|
27
|
+
end: any;
|
|
28
|
+
};
|
|
29
|
+
noYearMode: boolean;
|
|
30
|
+
initialDate: Date;
|
|
31
|
+
settings: any;
|
|
32
|
+
toLeft: boolean;
|
|
33
|
+
id: string;
|
|
34
|
+
selectDate: EventEmitter<Date>;
|
|
35
|
+
constructor(elementRef: ElementRef, translate: TranslateService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
onShowYear(): void;
|
|
38
|
+
onShowMonth(): void;
|
|
39
|
+
onSelectYear(inYear?: Date): void;
|
|
40
|
+
onSelectMonth(inMonth?: number): void;
|
|
41
|
+
onPrev(): void;
|
|
42
|
+
onNext(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
private loadMonths;
|
|
45
|
+
private loadYearsInterval;
|
|
46
|
+
onSelectDate(day: PickerDay): void;
|
|
47
|
+
private createCalendar;
|
|
48
|
+
static parseDate(value: Date | string): Date;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerComponent, never>;
|
|
50
|
+
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>;
|
|
51
|
+
}
|
|
52
|
+
export interface PickerWeek {
|
|
53
|
+
weeks: {
|
|
54
|
+
weekNumber: number;
|
|
55
|
+
days: PickerDay[];
|
|
56
|
+
}[];
|
|
57
|
+
}
|
|
58
|
+
export interface PickerDay {
|
|
59
|
+
value: Date;
|
|
60
|
+
isToday: boolean;
|
|
61
|
+
isInRange: boolean;
|
|
62
|
+
inMonth: boolean;
|
|
63
|
+
isSelected: boolean;
|
|
64
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { AdbDatePickerService } from "./adb-date-picker.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AdbDatePickerDirective implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
7
|
+
private viewContainerRef;
|
|
8
|
+
private renderer;
|
|
9
|
+
private elementRef;
|
|
10
|
+
private adbDatePickerService;
|
|
11
|
+
translate: TranslateService;
|
|
12
|
+
private subscriptions;
|
|
13
|
+
autocomplete: string;
|
|
14
|
+
adbBlur: EventEmitter<Date>;
|
|
15
|
+
format: string;
|
|
16
|
+
toLeft: boolean;
|
|
17
|
+
settings: {
|
|
18
|
+
maxDate?: Date | string;
|
|
19
|
+
minDate?: Date | string;
|
|
20
|
+
};
|
|
21
|
+
id: string;
|
|
22
|
+
currentDate: Date;
|
|
23
|
+
isValid: boolean;
|
|
24
|
+
constructor(viewContainerRef: ViewContainerRef, renderer: Renderer2, elementRef: ElementRef, adbDatePickerService: AdbDatePickerService, translate: TranslateService);
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
onClick(): void;
|
|
27
|
+
onKeyup(event: KeyboardEvent): void;
|
|
28
|
+
onTabDown(): void;
|
|
29
|
+
onEscdOWN(): void;
|
|
30
|
+
onHide(): void;
|
|
31
|
+
onCheckOutSideClick(target: any): void;
|
|
32
|
+
private updateValueOnLeave;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
35
|
+
onChange: any;
|
|
36
|
+
onTouched: any;
|
|
37
|
+
onValidationChange: any;
|
|
38
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
39
|
+
writeValue(value: Date | string): void;
|
|
40
|
+
registerOnChange(fn: any): void;
|
|
41
|
+
registerOnTouched(fn: any): void;
|
|
42
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
43
|
+
static tryParse(dateString: string): Date;
|
|
44
|
+
private getId;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerDirective, never>;
|
|
46
|
+
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>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./adb-date-picker.component";
|
|
3
|
+
import * as i2 from "./adb-date-picker.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "../../pipes/pipes.module";
|
|
7
|
+
import * as i6 from "../../directives/directives.module";
|
|
8
|
+
export declare class AdbDatePickerModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDatePickerModule, [typeof i1.AdbDatePickerComponent, typeof i2.AdbDatePickerDirective], [typeof i3.CommonModule, typeof i4.TranslateModule, typeof i5.AdbPipesModule, typeof i6.AdbDirectivesModule], [typeof i1.AdbDatePickerComponent, typeof i2.AdbDatePickerDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbDatePickerModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentRef } from "@angular/core";
|
|
2
|
+
import { AdbDatePickerComponent } from "./adb-date-picker.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AdbDatePickerService {
|
|
5
|
+
viewRef: ComponentRef<AdbDatePickerComponent>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDatePickerService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdbDatePickerService>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InfiniteScrollComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
private _element;
|
|
5
|
+
onVisible: EventEmitter<any>;
|
|
6
|
+
onHidden: EventEmitter<any>;
|
|
7
|
+
height: string;
|
|
8
|
+
private _intersectionObserver?;
|
|
9
|
+
constructor(_element: ElementRef);
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
private checkForIntersection;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScrollComponent, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InfiniteScrollComponent, "[onVisible]", never, {}, { "onVisible": "onVisible"; "onHidden": "onHidden"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare abstract class PagerBaseDirective {
|
|
3
|
+
private static DEFAULT_LIMIT;
|
|
4
|
+
private static VISIBLE_PAGES;
|
|
5
|
+
protected static SKIP_RESOURCE: string;
|
|
6
|
+
limit: number;
|
|
7
|
+
totalCount: number;
|
|
8
|
+
set setTotalCount(count: number);
|
|
9
|
+
set setLimit(value: number);
|
|
10
|
+
pages: Array<number>;
|
|
11
|
+
amountOfPages: number;
|
|
12
|
+
currentPage: number;
|
|
13
|
+
protected calculatePages(): void;
|
|
14
|
+
protected abstract ngOnInitReady(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerBaseDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerBaseDirective, never, never, { "setTotalCount": { "alias": "totalCount"; "required": false; }; "setLimit": { "alias": "limit"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PagerBaseDirective } from './pager-base.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PagerInlineComponent extends PagerBaseDirective {
|
|
5
|
+
pageChanged: EventEmitter<number>;
|
|
6
|
+
infiniteLimit: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInitReady(): void;
|
|
9
|
+
onFirstClick(): void;
|
|
10
|
+
onPrevClick(): void;
|
|
11
|
+
onPageClick(page: number): void;
|
|
12
|
+
onNextClick(): void;
|
|
13
|
+
onLastClick(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerInlineComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInlineComponent, "adb-pager", never, { "infiniteLimit": { "alias": "infiniteLimit"; "required": false; }; }, { "pageChanged": "pageChanged"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { PagerBaseDirective } from './pager-base.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PagerComponent extends PagerBaseDirective implements OnDestroy {
|
|
6
|
+
private activatedRoute;
|
|
7
|
+
private subscription;
|
|
8
|
+
offsetName: string;
|
|
9
|
+
infiniteLimit: boolean;
|
|
10
|
+
params: {
|
|
11
|
+
first: any;
|
|
12
|
+
prev: any;
|
|
13
|
+
pages?: any[];
|
|
14
|
+
next: any;
|
|
15
|
+
last: any;
|
|
16
|
+
};
|
|
17
|
+
constructor(activatedRoute: ActivatedRoute);
|
|
18
|
+
ngOnInitReady(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "adb-pager-nav", never, { "offsetName": { "alias": "offsetName"; "required": false; }; "infiniteLimit": { "alias": "infiniteLimit"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./infinite-scroll.component";
|
|
3
|
+
import * as i2 from "./pager";
|
|
4
|
+
import * as i3 from "./pager-inline";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
|
+
export declare class AdbPagersModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPagersModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPagersModule, [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent], [typeof i4.CommonModule, typeof i5.RouterModule], [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPagersModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RouterLinkActiveFragmentDirective implements OnInit, OnDestroy {
|
|
5
|
+
private router;
|
|
6
|
+
private el;
|
|
7
|
+
private renderer;
|
|
8
|
+
activeClass: string;
|
|
9
|
+
fragment: string | null;
|
|
10
|
+
private sub;
|
|
11
|
+
constructor(router: Router, el: ElementRef, renderer: Renderer2);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
private updateActiveState;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkActiveFragmentDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkActiveFragmentDirective, "[adbActiveFragment]", never, { "activeClass": { "alias": "adbActiveFragment"; "required": false; }; "fragment": { "alias": "fragment"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ClickOutsideDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
adbClickOutside: EventEmitter<any>;
|
|
6
|
+
constructor(elementRef: ElementRef);
|
|
7
|
+
onClick(target: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[adbClickOutside]", never, {}, { "adbClickOutside": "adbClickOutside"; }, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./click-outside.directive";
|
|
3
|
+
import * as i2 from "./focus.directive";
|
|
4
|
+
import * as i3 from "./file-upload.directive";
|
|
5
|
+
import * as i4 from "./redlist-badge-class.directive";
|
|
6
|
+
import * as i5 from "./risk-class.directive";
|
|
7
|
+
import * as i6 from "./image-loader.directive";
|
|
8
|
+
import * as i7 from "./active-fragment.directive";
|
|
9
|
+
export declare class AdbDirectivesModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbDirectivesModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDirectivesModule, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective, typeof i6.ImageLoaderDirective, typeof i7.RouterLinkActiveFragmentDirective], never, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective, typeof i6.ImageLoaderDirective, typeof i7.RouterLinkActiveFragmentDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbDirectivesModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileUploadDirective {
|
|
4
|
+
private el;
|
|
5
|
+
upload: EventEmitter<any>;
|
|
6
|
+
click: EventEmitter<any>;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
onBeginUpload(target: any): void;
|
|
9
|
+
onClick(target: any): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadDirective, "input[adbFileUpload]", never, {}, { "upload": "upload"; }, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FocusDirective implements AfterViewInit {
|
|
4
|
+
element: ElementRef<HTMLElement>;
|
|
5
|
+
focused: boolean;
|
|
6
|
+
set adbFocus(value: boolean);
|
|
7
|
+
constructor(element: ElementRef<HTMLElement>);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[adbFocus]", never, { "adbFocus": { "alias": "adbFocus"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Renderer2, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ImageLoaderDirective implements OnDestroy {
|
|
5
|
+
private el;
|
|
6
|
+
private renderer;
|
|
7
|
+
private translate;
|
|
8
|
+
private _fallbackKey;
|
|
9
|
+
set fallbackKey(value: string | undefined);
|
|
10
|
+
get fallbackKey(): string;
|
|
11
|
+
private translationSub?;
|
|
12
|
+
private spinnerElement?;
|
|
13
|
+
constructor(el: ElementRef, renderer: Renderer2, translate: TranslateService);
|
|
14
|
+
private showSpinner;
|
|
15
|
+
private hideSpinner;
|
|
16
|
+
onLoad(): void;
|
|
17
|
+
onError(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoaderDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageLoaderDirective, "img[adbImageLoader]", never, { "fallbackKey": { "alias": "adbImageLoader"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RedListBadgeClassDirective {
|
|
3
|
+
redlistId: string;
|
|
4
|
+
get hostClasses(): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedListBadgeClassDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RedListBadgeClassDirective, "[adbRedListBadgeClass]", never, { "redlistId": { "alias": "adbRedListBadgeClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RiskClassDirective {
|
|
3
|
+
category: string;
|
|
4
|
+
get hostClasses(): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RiskClassDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RiskClassDirective, "[adbRiskClass]", never, { "category": { "alias": "adbRiskClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LocaleDatePipe implements PipeTransform {
|
|
5
|
+
private translate;
|
|
6
|
+
constructor(translate: TranslateService);
|
|
7
|
+
transform(value: any, format: string): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleDatePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocaleDatePipe, "adbLocaleDate", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EmptyValuePipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyValuePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EmptyValuePipe, "adbEmptyValue", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HighlightHtmlPipe implements PipeTransform {
|
|
4
|
+
forbiddenSymbols: RegExp;
|
|
5
|
+
transform(value: any, searchs: any): any;
|
|
6
|
+
private normalizeText;
|
|
7
|
+
private escapeRegExp;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightHtmlPipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightHtmlPipe, "adbHighlightHtml", false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HighlightPipe implements PipeTransform {
|
|
4
|
+
forbiddenSymbols: RegExp;
|
|
5
|
+
transform(value: any, searchs: any): any;
|
|
6
|
+
private normalizeText;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "adbHighlight", false>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NumberSpacingPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberSpacingPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberSpacingPipe, "adbSpacing", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./highlight.pipe";
|
|
3
|
+
import * as i2 from "./highlight-html.pipe";
|
|
4
|
+
import * as i3 from "./number-spacing.pipe";
|
|
5
|
+
import * as i4 from "./date.pipe";
|
|
6
|
+
import * as i5 from "./emptyValue.pipe";
|
|
7
|
+
export declare class AdbPipesModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPipesModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof i1.HighlightPipe, typeof i2.HighlightHtmlPipe, typeof i3.NumberSpacingPipe, typeof i4.LocaleDatePipe, typeof i5.EmptyValuePipe], never, [typeof i1.HighlightPipe, typeof i2.HighlightHtmlPipe, typeof i3.NumberSpacingPipe, typeof i4.LocaleDatePipe, typeof i5.EmptyValuePipe]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPipesModule>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from './lib/components/adb-header/adb-header.module';
|
|
2
|
+
export * from './lib/components/adb-header/adb-nav.component';
|
|
3
|
+
export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.module';
|
|
4
|
+
export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.component';
|
|
5
|
+
export * from './lib/components/adb-artportalen-nav/adb-artportalen-footer.component';
|
|
6
|
+
export * from './lib/directives/directives.module';
|
|
7
|
+
export * from './lib/directives/click-outside.directive';
|
|
8
|
+
export * from './lib/directives/focus.directive';
|
|
9
|
+
export * from './lib/directives/redlist-badge-class.directive';
|
|
10
|
+
export * from './lib/directives/risk-class.directive';
|
|
11
|
+
export * from './lib/directives/file-upload.directive';
|
|
12
|
+
export * from './lib/directives/active-fragment.directive';
|
|
13
|
+
export * from './lib/directives/image-loader.directive';
|
|
14
|
+
export * from './lib/components/pagers/pagers.module';
|
|
15
|
+
export * from './lib/components/pagers/infinite-scroll.component';
|
|
16
|
+
export * from './lib/components/pagers/pager';
|
|
17
|
+
export * from './lib/components/pagers/pager-inline';
|
|
18
|
+
export * from './lib/pipes/pipes.module';
|
|
19
|
+
export * from './lib/pipes/highlight.pipe';
|
|
20
|
+
export * from './lib/pipes/highlight-html.pipe';
|
|
21
|
+
export * from './lib/pipes/number-spacing.pipe';
|
|
22
|
+
export * from './lib/pipes/date.pipe';
|
|
23
|
+
export * from './lib/pipes/emptyValue.pipe';
|
|
24
|
+
export * from './lib/components/date-picker/adb-date-picker.module';
|
|
25
|
+
export * from './lib/components/date-picker/adb-date-picker.component';
|
|
26
|
+
export * from './lib/components/date-picker/adb-date-picker.directive';
|
|
27
|
+
export * from './lib/components/adb-dropdown/adb-dropdown.module';
|
|
28
|
+
export * from './lib/components/adb-dropdown/adb-dropdown.directive';
|
|
29
|
+
export * from './lib/components/adb-dropdown/adb-dropdown2.directive';
|
|
30
|
+
export * from './lib/components/adb-confirm-modal/adb-modal.module';
|
|
31
|
+
export * from './lib/components/adb-confirm-modal/adb-confirm-modal';
|
|
32
|
+
export * from './lib/components/adb-confirm-modal/adb-modal.service';
|
|
33
|
+
export * from './lib/components/adb-toast/adb-toast.module';
|
|
34
|
+
export * from './lib/components/adb-toast/adb-toast';
|
|
35
|
+
export * from './lib/components/adb-toast/adb-toast.service';
|
|
36
|
+
export * from './lib/components/adb-buttons/adb-buttons.module';
|
|
37
|
+
export * from './lib/components/adb-buttons/help-button.component';
|
|
38
|
+
export * from './lib/components/adb-rich-editor/adb-rich-editor.module';
|
|
39
|
+
export * from './lib/components/adb-rich-editor/adb-rich-editor.component';
|
|
40
|
+
export * from './lib/components/adb-rich-editor/adb-rich-text';
|
|
41
|
+
export * from './lib/components/adb-filter-section/adb-filter-section.module';
|
|
42
|
+
export * from './lib/components/adb-filter-section/filter-section.component';
|
|
43
|
+
export * from './lib/components/adb-user/adb-user.module';
|
|
44
|
+
export * from './lib/components/adb-user/adb-user.service';
|
|
45
|
+
export * from './lib/components/adb-user/adb-user.interceptor';
|
|
46
|
+
export * from './lib/components/adb-user/auth-callback.component';
|
|
47
|
+
export * from './lib/components/adb-user/user-constants';
|
|
48
|
+
export * from './lib/components/adb-user/adb-user-service-config';
|