adb-shared 6.0.2 → 6.0.3
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/esm2022/adb-shared.mjs +4 -4
- package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-footer.component.mjs +48 -48
- package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-nav.component.mjs +112 -112
- package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-nav.module.mjs +58 -66
- package/esm2022/lib/components/adb-artportalen-nav/environment.service.mjs +16 -16
- package/esm2022/lib/components/adb-artportalen-nav/navigation.model.mjs +1 -1
- package/esm2022/lib/components/adb-buttons/adb-buttons.module.mjs +19 -19
- package/esm2022/lib/components/adb-buttons/help-button.component.mjs +35 -35
- package/esm2022/lib/components/adb-confirm-modal/adb-confirm-modal.mjs +29 -29
- package/esm2022/lib/components/adb-confirm-modal/adb-modal.module.mjs +23 -23
- package/esm2022/lib/components/adb-confirm-modal/adb-modal.service.mjs +46 -46
- package/esm2022/lib/components/adb-dropdown/adb-dropdown.directive.mjs +100 -100
- package/esm2022/lib/components/adb-dropdown/adb-dropdown.module.mjs +24 -24
- package/esm2022/lib/components/adb-dropdown/adb-dropdown.service.mjs +10 -10
- package/esm2022/lib/components/adb-dropdown/adb-dropdown2.directive.mjs +119 -119
- package/esm2022/lib/components/adb-header/adb-header.module.mjs +49 -57
- package/esm2022/lib/components/adb-header/adb-nav.component.mjs +115 -115
- package/esm2022/lib/components/adb-header/environment.service.mjs +16 -16
- package/esm2022/lib/components/adb-header/navigation.model.mjs +1 -1
- package/esm2022/lib/components/adb-rich-editor/adb-rich-editor.component.mjs +84 -65
- package/esm2022/lib/components/adb-rich-editor/adb-rich-editor.module.mjs +19 -19
- package/esm2022/lib/components/adb-toast/adb-toast.mjs +25 -25
- package/esm2022/lib/components/adb-toast/adb-toast.module.mjs +23 -23
- package/esm2022/lib/components/adb-toast/adb-toast.service.mjs +55 -55
- package/esm2022/lib/components/date-picker/adb-date-picker.component.mjs +177 -177
- package/esm2022/lib/components/date-picker/adb-date-picker.directive.mjs +220 -220
- package/esm2022/lib/components/date-picker/adb-date-picker.module.mjs +25 -25
- package/esm2022/lib/components/date-picker/adb-date-picker.service.mjs +10 -10
- package/esm2022/lib/components/pagers/infinite-scroll.component.mjs +47 -47
- package/esm2022/lib/components/pagers/pager-base.directive.mjs +57 -57
- package/esm2022/lib/components/pagers/pager-inline.mjs +49 -49
- package/esm2022/lib/components/pagers/pager.mjs +53 -53
- package/esm2022/lib/components/pagers/pagers.module.mjs +26 -26
- package/esm2022/lib/directives/click-outside.directive.mjs +28 -28
- package/esm2022/lib/directives/directives.module.mjs +21 -21
- package/esm2022/lib/directives/file-upload.directive.mjs +36 -36
- package/esm2022/lib/directives/focus.directive.mjs +34 -34
- package/esm2022/lib/directives/redlist-badge-class.directive.mjs +44 -44
- package/esm2022/lib/directives/risk-class.directive.mjs +37 -37
- package/esm2022/lib/pipes/date.pipe.mjs +22 -22
- package/esm2022/lib/pipes/emptyValue.pipe.mjs +22 -22
- package/esm2022/lib/pipes/highlight-html.pipe.mjs +46 -46
- package/esm2022/lib/pipes/highlight.pipe.mjs +46 -46
- package/esm2022/lib/pipes/number-spacing.pipe.mjs +21 -21
- package/esm2022/lib/pipes/pipes.module.mjs +22 -22
- package/esm2022/lib/pipes/rich.pipe.mjs +36 -36
- package/esm2022/public-api.mjs +41 -41
- package/fesm2022/adb-shared.mjs +1817 -1815
- package/fesm2022/adb-shared.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/components/adb-artportalen-nav/adb-artportalen-footer.component.d.ts +23 -23
- package/lib/components/adb-artportalen-nav/adb-artportalen-nav.component.d.ts +41 -41
- package/lib/components/adb-artportalen-nav/adb-artportalen-nav.module.d.ts +16 -17
- package/lib/components/adb-artportalen-nav/environment.service.d.ts +7 -7
- package/lib/components/adb-artportalen-nav/navigation.model.d.ts +18 -18
- package/lib/components/adb-buttons/adb-buttons.module.d.ts +9 -9
- package/lib/components/adb-buttons/help-button.component.d.ts +13 -13
- package/lib/components/adb-confirm-modal/adb-confirm-modal.d.ts +20 -20
- package/lib/components/adb-confirm-modal/adb-modal.module.d.ts +10 -10
- package/lib/components/adb-confirm-modal/adb-modal.service.d.ts +18 -18
- package/lib/components/adb-dropdown/adb-dropdown.directive.d.ts +21 -21
- package/lib/components/adb-dropdown/adb-dropdown.module.d.ts +11 -11
- package/lib/components/adb-dropdown/adb-dropdown.service.d.ts +7 -7
- package/lib/components/adb-dropdown/adb-dropdown2.directive.d.ts +23 -23
- package/lib/components/adb-header/adb-header.module.d.ts +15 -16
- package/lib/components/adb-header/adb-nav.component.d.ts +41 -41
- package/lib/components/adb-header/environment.service.d.ts +7 -7
- package/lib/components/adb-header/navigation.model.d.ts +29 -29
- package/lib/components/adb-rich-editor/adb-rich-editor.component.d.ts +24 -22
- package/lib/components/adb-rich-editor/adb-rich-editor.module.d.ts +9 -9
- package/lib/components/adb-toast/adb-toast.d.ts +11 -11
- package/lib/components/adb-toast/adb-toast.module.d.ts +10 -10
- package/lib/components/adb-toast/adb-toast.service.d.ts +36 -36
- package/lib/components/date-picker/adb-date-picker.component.d.ts +64 -64
- package/lib/components/date-picker/adb-date-picker.directive.d.ts +47 -47
- package/lib/components/date-picker/adb-date-picker.module.d.ts +12 -12
- package/lib/components/date-picker/adb-date-picker.service.d.ts +8 -8
- package/lib/components/pagers/infinite-scroll.component.d.ts +15 -15
- package/lib/components/pagers/pager-base.directive.d.ts +16 -16
- package/lib/components/pagers/pager-inline.d.ts +16 -16
- package/lib/components/pagers/pager.d.ts +22 -22
- package/lib/components/pagers/pagers.module.d.ts +11 -11
- package/lib/directives/click-outside.directive.d.ts +10 -10
- package/lib/directives/directives.module.d.ts +11 -11
- package/lib/directives/file-upload.directive.d.ts +12 -12
- package/lib/directives/focus.directive.d.ts +11 -11
- package/lib/directives/redlist-badge-class.directive.d.ts +7 -7
- package/lib/directives/risk-class.directive.d.ts +7 -7
- package/lib/pipes/date.pipe.d.ts +10 -10
- package/lib/pipes/emptyValue.pipe.d.ts +7 -7
- package/lib/pipes/highlight-html.pipe.d.ts +10 -10
- package/lib/pipes/highlight.pipe.d.ts +9 -9
- package/lib/pipes/number-spacing.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +12 -12
- package/lib/pipes/rich.pipe.d.ts +11 -11
- package/package.json +5 -5
- package/public-api.d.ts +38 -38
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class EnvironmentService {
|
|
3
|
-
environment: any;
|
|
4
|
-
constructor(environment: any);
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
7
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class EnvironmentService {
|
|
3
|
+
environment: any;
|
|
4
|
+
constructor(environment: any);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
|
|
7
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export interface Link {
|
|
2
|
-
transId: string;
|
|
3
|
-
url: string;
|
|
4
|
-
topLink?: boolean;
|
|
5
|
-
icon?: string;
|
|
6
|
-
children?: Link[];
|
|
7
|
-
}
|
|
8
|
-
export interface Navigation {
|
|
9
|
-
about: Link2;
|
|
10
|
-
artinfo: Link2;
|
|
11
|
-
artfakta: Link2;
|
|
12
|
-
keys: Link2;
|
|
13
|
-
mySpecies: Link2;
|
|
14
|
-
lists: Link2;
|
|
15
|
-
imageRec: Link2;
|
|
16
|
-
filter: Link2;
|
|
17
|
-
observations: Link2;
|
|
18
|
-
nameAndRelationship: Link2;
|
|
19
|
-
nameSearch: Link2;
|
|
20
|
-
match: Link2;
|
|
21
|
-
createAccountLink: string;
|
|
22
|
-
artfaktaUrl: string;
|
|
23
|
-
artportalenUrl: string;
|
|
24
|
-
supportUrl: string;
|
|
25
|
-
}
|
|
26
|
-
export interface Link2 {
|
|
27
|
-
transId: string;
|
|
28
|
-
url?: string;
|
|
29
|
-
}
|
|
1
|
+
export interface Link {
|
|
2
|
+
transId: string;
|
|
3
|
+
url: string;
|
|
4
|
+
topLink?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
children?: Link[];
|
|
7
|
+
}
|
|
8
|
+
export interface Navigation {
|
|
9
|
+
about: Link2;
|
|
10
|
+
artinfo: Link2;
|
|
11
|
+
artfakta: Link2;
|
|
12
|
+
keys: Link2;
|
|
13
|
+
mySpecies: Link2;
|
|
14
|
+
lists: Link2;
|
|
15
|
+
imageRec: Link2;
|
|
16
|
+
filter: Link2;
|
|
17
|
+
observations: Link2;
|
|
18
|
+
nameAndRelationship: Link2;
|
|
19
|
+
nameSearch: Link2;
|
|
20
|
+
match: Link2;
|
|
21
|
+
createAccountLink: string;
|
|
22
|
+
artfaktaUrl: string;
|
|
23
|
+
artportalenUrl: string;
|
|
24
|
+
supportUrl: string;
|
|
25
|
+
}
|
|
26
|
+
export interface Link2 {
|
|
27
|
+
transId: string;
|
|
28
|
+
url?: string;
|
|
29
|
+
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AdbRichEditorComponent implements ControlValueAccessor,
|
|
5
|
-
private renderer;
|
|
6
|
-
private el;
|
|
7
|
-
text: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { ElementRef, OnDestroy, Renderer2 } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AdbRichEditorComponent implements ControlValueAccessor, OnDestroy {
|
|
5
|
+
private renderer;
|
|
6
|
+
private el;
|
|
7
|
+
text: string;
|
|
8
|
+
hasTaxon: boolean;
|
|
9
|
+
hasRefernce: boolean;
|
|
10
|
+
constructor(renderer: Renderer2, el: ElementRef);
|
|
11
|
+
onDoubleClick(): void;
|
|
12
|
+
onItalicClick(): void;
|
|
13
|
+
onTaxonClick(): void;
|
|
14
|
+
onTextChange(): void;
|
|
15
|
+
onChange: any;
|
|
16
|
+
onTouched: any;
|
|
17
|
+
writeValue(value: string): void;
|
|
18
|
+
registerOnChange(fn: any): void;
|
|
19
|
+
registerOnTouched(fn: any): void;
|
|
20
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbRichEditorComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbRichEditorComponent, "adb-rich-editor", never, { "hasTaxon": { "alias": "hasTaxon"; "required": false; }; "hasRefernce": { "alias": "hasRefernce"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./adb-rich-editor.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
export declare class AdbRichEditorModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbRichEditorModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbRichEditorModule, [typeof i1.AdbRichEditorComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AdbRichEditorComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AdbRichEditorModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./adb-rich-editor.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class AdbRichEditorModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbRichEditorModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbRichEditorModule, [typeof i1.AdbRichEditorComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AdbRichEditorComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbRichEditorModule>;
|
|
9
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AdbToastService, ToastMessage, ToastType } from './adb-toast.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AdbToast {
|
|
4
|
-
toastService: AdbToastService;
|
|
5
|
-
toasts: ToastMessage[];
|
|
6
|
-
toastType: typeof ToastType;
|
|
7
|
-
constructor(toastService: AdbToastService);
|
|
8
|
-
onRemoveToast(toast: ToastMessage): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToast, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdbToast, "ng-component", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { AdbToastService, ToastMessage, ToastType } from './adb-toast.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AdbToast {
|
|
4
|
+
toastService: AdbToastService;
|
|
5
|
+
toasts: ToastMessage[];
|
|
6
|
+
toastType: typeof ToastType;
|
|
7
|
+
constructor(toastService: AdbToastService);
|
|
8
|
+
onRemoveToast(toast: ToastMessage): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToast, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdbToast, "ng-component", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./adb-toast";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
import * as i4 from "../../directives/directives.module";
|
|
6
|
-
export declare class AdbToastModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbToastModule, [typeof i1.AdbToast], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.AdbDirectivesModule], [typeof i1.AdbToast]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AdbToastModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./adb-toast";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i4 from "../../directives/directives.module";
|
|
6
|
+
export declare class AdbToastModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbToastModule, [typeof i1.AdbToast], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.AdbDirectivesModule], [typeof i1.AdbToast]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdbToastModule>;
|
|
10
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, RendererFactory2 } from "@angular/core";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AdbToastService {
|
|
5
|
-
private componentFactoryResolver;
|
|
6
|
-
private rendererFactory;
|
|
7
|
-
private appRef;
|
|
8
|
-
private injector;
|
|
9
|
-
private toasts;
|
|
10
|
-
private toastsSubject;
|
|
11
|
-
$toasts: Observable<ToastMessage[]>;
|
|
12
|
-
renderer: Renderer2;
|
|
13
|
-
domElement: HTMLElement;
|
|
14
|
-
container: any;
|
|
15
|
-
constructor(componentFactoryResolver: ComponentFactoryResolver, rendererFactory: RendererFactory2, appRef: ApplicationRef, injector: Injector);
|
|
16
|
-
add(toastMessage: ToastMessage, time?: number): void;
|
|
17
|
-
remove(toast: ToastMessage): void;
|
|
18
|
-
private addContainer;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AdbToastService>;
|
|
21
|
-
}
|
|
22
|
-
export interface ToastMessage {
|
|
23
|
-
header?: string;
|
|
24
|
-
headerValue?: any;
|
|
25
|
-
message: string;
|
|
26
|
-
messageValue?: any;
|
|
27
|
-
type?: ToastType;
|
|
28
|
-
index?: number;
|
|
29
|
-
delay?: any;
|
|
30
|
-
}
|
|
31
|
-
export declare enum ToastType {
|
|
32
|
-
Primary = 1,
|
|
33
|
-
Success = 2,
|
|
34
|
-
Warn = 3,
|
|
35
|
-
Danger = 4
|
|
36
|
-
}
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, RendererFactory2 } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AdbToastService {
|
|
5
|
+
private componentFactoryResolver;
|
|
6
|
+
private rendererFactory;
|
|
7
|
+
private appRef;
|
|
8
|
+
private injector;
|
|
9
|
+
private toasts;
|
|
10
|
+
private toastsSubject;
|
|
11
|
+
$toasts: Observable<ToastMessage[]>;
|
|
12
|
+
renderer: Renderer2;
|
|
13
|
+
domElement: HTMLElement;
|
|
14
|
+
container: any;
|
|
15
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver, rendererFactory: RendererFactory2, appRef: ApplicationRef, injector: Injector);
|
|
16
|
+
add(toastMessage: ToastMessage, time?: number): void;
|
|
17
|
+
remove(toast: ToastMessage): void;
|
|
18
|
+
private addContainer;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdbToastService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdbToastService>;
|
|
21
|
+
}
|
|
22
|
+
export interface ToastMessage {
|
|
23
|
+
header?: string;
|
|
24
|
+
headerValue?: any;
|
|
25
|
+
message: string;
|
|
26
|
+
messageValue?: any;
|
|
27
|
+
type?: ToastType;
|
|
28
|
+
index?: number;
|
|
29
|
+
delay?: any;
|
|
30
|
+
}
|
|
31
|
+
export declare enum ToastType {
|
|
32
|
+
Primary = 1,
|
|
33
|
+
Success = 2,
|
|
34
|
+
Warn = 3,
|
|
35
|
+
Danger = 4
|
|
36
|
+
}
|
|
@@ -1,64 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,47 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,12 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,8 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,15 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
-
totalCount: number;
|
|
7
|
-
limit: number;
|
|
8
|
-
set setTotalCount(value: number);
|
|
9
|
-
set setLimit(value: number);
|
|
10
|
-
pages: Array<number>;
|
|
11
|
-
amountOfPages: number;
|
|
12
|
-
currentPage: number;
|
|
13
|
-
protected calculatePages(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerBaseDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerBaseDirective, never, never, { "setTotalCount": { "alias": "totalCount"; "required": false; }; "setLimit": { "alias": "limit"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
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
|
+
totalCount: number;
|
|
7
|
+
limit: number;
|
|
8
|
+
set setTotalCount(value: number);
|
|
9
|
+
set setLimit(value: number);
|
|
10
|
+
pages: Array<number>;
|
|
11
|
+
amountOfPages: number;
|
|
12
|
+
currentPage: number;
|
|
13
|
+
protected calculatePages(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PagerBaseDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerBaseDirective, never, never, { "setTotalCount": { "alias": "totalCount"; "required": false; }; "setLimit": { "alias": "limit"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PagerBaseDirective } from './pager-base.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PagerInlineComponent extends PagerBaseDirective implements OnInit {
|
|
5
|
-
pageChanged: EventEmitter<number>;
|
|
6
|
-
infiniteLimit: boolean;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): 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
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PagerBaseDirective } from './pager-base.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PagerInlineComponent extends PagerBaseDirective implements OnInit {
|
|
5
|
+
pageChanged: EventEmitter<number>;
|
|
6
|
+
infiniteLimit: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): 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
|
+
}
|