@metadev/lux 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/esm2022/lib/autocomplete/autocomplete.component.mjs +488 -0
- package/esm2022/lib/autocomplete-list/autocomplete-list.component.mjs +259 -0
- package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +78 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +156 -0
- package/{esm2020 → esm2022}/lib/datasource.mjs +1 -1
- package/esm2022/lib/datetime/datetime.component.mjs +312 -0
- package/esm2022/lib/filter/filter.component.mjs +158 -0
- package/esm2022/lib/geolocation/geolocation.component.mjs +423 -0
- package/esm2022/lib/geolocation/geolocation.service.mjs +123 -0
- package/{esm2020 → esm2022}/lib/geolocation/openlayer-loader.service.mjs +62 -62
- package/esm2022/lib/helperFns.mjs +118 -0
- package/esm2022/lib/input/input.component.mjs +469 -0
- package/{esm2020 → esm2022}/lib/input/regexp.service.mjs +195 -195
- package/{esm2020 → esm2022}/lib/lang.mjs +8 -8
- package/esm2022/lib/lux.module.mjs +119 -0
- package/{esm2020 → esm2022}/lib/map/geopoint.mjs +1 -1
- package/esm2022/lib/map/map.component.mjs +275 -0
- package/esm2022/lib/modal/modal-backdrop.mjs +25 -0
- package/esm2022/lib/modal/modal-config.mjs +12 -0
- package/{esm2020 → esm2022}/lib/modal/modal-dismiss-reasons.mjs +5 -5
- package/esm2022/lib/modal/modal-ref.mjs +101 -0
- package/esm2022/lib/modal/modal-stack.mjs +182 -0
- package/esm2022/lib/modal/modal-window.mjs +125 -0
- package/esm2022/lib/modal/modal.service.mjs +28 -0
- package/esm2022/lib/modal/util.mjs +82 -0
- package/esm2022/lib/pagination/pagination.component.mjs +144 -0
- package/{esm2020 → esm2022}/lib/pagination/pagination.mjs +1 -1
- package/esm2022/lib/radiogroup/radiogroup.component.mjs +129 -0
- package/esm2022/lib/select/select.component.mjs +148 -0
- package/{esm2020 → esm2022}/lib/tooltip/placement.mjs +7 -7
- package/{esm2020 → esm2022}/lib/tooltip/tooltip-context.mjs +1 -1
- package/esm2022/lib/tooltip/tooltip.component.mjs +24 -0
- package/esm2022/lib/tooltip/tooltip.directive.mjs +69 -0
- package/esm2022/lib/tooltip/tooltip.service.mjs +137 -0
- package/esm2022/lib/tooltip/tooltop-content.mjs +9 -0
- package/esm2022/lib/voice-recognition/voice-recognition.directive.mjs +79 -0
- package/{esm2020 → esm2022}/lib/window/window.service.mjs +45 -45
- package/{esm2020 → esm2022}/metadev-lux.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +20 -20
- package/{fesm2020 → fesm2022}/metadev-lux.mjs +4377 -4260
- package/fesm2022/metadev-lux.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/autocomplete/autocomplete.component.d.ts +81 -81
- package/lib/autocomplete-list/autocomplete-list.component.d.ts +65 -65
- package/lib/breadcrumb/breadcrumb.component.d.ts +22 -22
- package/lib/checkbox/checkbox.component.d.ts +47 -47
- package/lib/datasource.d.ts +13 -13
- package/lib/datetime/datetime.component.d.ts +69 -69
- package/lib/filter/filter.component.d.ts +51 -51
- package/lib/geolocation/geolocation.component.d.ts +123 -123
- package/lib/geolocation/geolocation.service.d.ts +32 -32
- package/lib/geolocation/openlayer-loader.service.d.ts +7 -7
- package/lib/helperFns.d.ts +15 -15
- package/lib/input/input.component.d.ts +108 -108
- package/lib/input/regexp.service.d.ts +15 -15
- package/lib/lang.d.ts +2 -2
- package/lib/lux.module.d.ts +27 -27
- package/lib/map/geopoint.d.ts +7 -7
- package/lib/map/map.component.d.ts +39 -39
- package/lib/modal/modal-backdrop.d.ts +8 -8
- package/lib/modal/modal-config.d.ts +14 -14
- package/lib/modal/modal-dismiss-reasons.d.ts +4 -4
- package/lib/modal/modal-ref.d.ts +41 -41
- package/lib/modal/modal-stack.d.ts +31 -31
- package/lib/modal/modal-window.d.ts +28 -28
- package/lib/modal/modal.service.d.ts +19 -19
- package/lib/modal/util.d.ts +40 -40
- package/lib/pagination/pagination.component.d.ts +52 -52
- package/lib/pagination/pagination.d.ts +10 -10
- package/lib/radiogroup/radiogroup.component.d.ts +37 -37
- package/lib/select/select.component.d.ts +38 -38
- package/lib/tooltip/placement.d.ts +7 -7
- package/lib/tooltip/tooltip-context.d.ts +3 -3
- package/lib/tooltip/tooltip.component.d.ts +11 -11
- package/lib/tooltip/tooltip.directive.d.ts +27 -27
- package/lib/tooltip/tooltip.service.d.ts +20 -20
- package/lib/tooltip/tooltop-content.d.ts +6 -6
- package/lib/voice-recognition/voice-recognition.directive.d.ts +16 -16
- package/lib/window/window.service.d.ts +11 -11
- package/package.json +7 -14
- package/public-api.d.ts +18 -18
- package/esm2020/lib/autocomplete/autocomplete.component.mjs +0 -479
- package/esm2020/lib/autocomplete-list/autocomplete-list.component.mjs +0 -254
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +0 -75
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -154
- package/esm2020/lib/datetime/datetime.component.mjs +0 -306
- package/esm2020/lib/filter/filter.component.mjs +0 -152
- package/esm2020/lib/geolocation/geolocation.component.mjs +0 -407
- package/esm2020/lib/geolocation/geolocation.service.mjs +0 -120
- package/esm2020/lib/helperFns.mjs +0 -117
- package/esm2020/lib/input/input.component.mjs +0 -452
- package/esm2020/lib/lux.module.mjs +0 -124
- package/esm2020/lib/map/map.component.mjs +0 -264
- package/esm2020/lib/modal/modal-backdrop.mjs +0 -26
- package/esm2020/lib/modal/modal-config.mjs +0 -14
- package/esm2020/lib/modal/modal-ref.mjs +0 -91
- package/esm2020/lib/modal/modal-stack.mjs +0 -179
- package/esm2020/lib/modal/modal-window.mjs +0 -119
- package/esm2020/lib/modal/modal.service.mjs +0 -26
- package/esm2020/lib/modal/util.mjs +0 -83
- package/esm2020/lib/pagination/pagination.component.mjs +0 -137
- package/esm2020/lib/radiogroup/radiogroup.component.mjs +0 -130
- package/esm2020/lib/select/select.component.mjs +0 -149
- package/esm2020/lib/tooltip/tooltip.component.mjs +0 -23
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -60
- package/esm2020/lib/tooltip/tooltip.service.mjs +0 -134
- package/esm2020/lib/tooltip/tooltop-content.mjs +0 -7
- package/esm2020/lib/voice-recognition/voice-recognition.directive.mjs +0 -73
- package/fesm2015/metadev-lux.mjs +0 -4347
- package/fesm2015/metadev-lux.mjs.map +0 -1
- package/fesm2020/metadev-lux.mjs.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LuxModalWindowComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
4
|
-
private _document;
|
|
5
|
-
private _elRef;
|
|
6
|
-
private _elWithFocus;
|
|
7
|
-
ariaDescribedBy: string;
|
|
8
|
-
ariaLabelledBy: string;
|
|
9
|
-
backdrop: boolean | string;
|
|
10
|
-
keyboard: boolean;
|
|
11
|
-
windowClass: string;
|
|
12
|
-
dismissEvent: EventEmitter<any>;
|
|
13
|
-
get class(): string;
|
|
14
|
-
role: string;
|
|
15
|
-
tabindex: string;
|
|
16
|
-
ariamodal: boolean;
|
|
17
|
-
get hostAriaLabelledBy(): string;
|
|
18
|
-
get hostAriaDescribedBy(): string;
|
|
19
|
-
backdropClick(btn: HTMLElement): void;
|
|
20
|
-
escKey(event: any): void;
|
|
21
|
-
constructor(_document: any, _elRef: ElementRef<HTMLElement>);
|
|
22
|
-
dismiss(reason: any): void;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalWindowComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuxModalWindowComponent, "lux-modal-window", never, { "ariaDescribedBy": "ariaDescribedBy"; "ariaLabelledBy": "ariaLabelledBy"; "backdrop": "backdrop"; "keyboard": "keyboard"; "windowClass": "windowClass"; }, { "dismissEvent": "dismissEvent"; }, never, ["*"], false, never>;
|
|
28
|
-
}
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LuxModalWindowComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
4
|
+
private _document;
|
|
5
|
+
private _elRef;
|
|
6
|
+
private _elWithFocus;
|
|
7
|
+
ariaDescribedBy: string;
|
|
8
|
+
ariaLabelledBy: string;
|
|
9
|
+
backdrop: boolean | string;
|
|
10
|
+
keyboard: boolean;
|
|
11
|
+
windowClass: string;
|
|
12
|
+
dismissEvent: EventEmitter<any>;
|
|
13
|
+
get class(): string;
|
|
14
|
+
role: string;
|
|
15
|
+
tabindex: string;
|
|
16
|
+
ariamodal: boolean;
|
|
17
|
+
get hostAriaLabelledBy(): string;
|
|
18
|
+
get hostAriaDescribedBy(): string;
|
|
19
|
+
backdropClick(btn: HTMLElement): void;
|
|
20
|
+
escKey(event: any): void;
|
|
21
|
+
constructor(_document: any, _elRef: ElementRef<HTMLElement>);
|
|
22
|
+
dismiss(reason: any): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalWindowComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuxModalWindowComponent, "lux-modal-window", never, { "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "windowClass": { "alias": "windowClass"; "required": false; }; }, { "dismissEvent": "dismissEvent"; }, never, ["*"], false, never>;
|
|
28
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ModalStack } from './modal-stack';
|
|
3
|
-
import { ModalRef } from './modal-ref';
|
|
4
|
-
import { LuxModalOptions } from './modal-config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* A service that it allow open an close modal components
|
|
8
|
-
*/
|
|
9
|
-
export declare class ModalService {
|
|
10
|
-
private modalStack;
|
|
11
|
-
private moduleCFR;
|
|
12
|
-
constructor(modalStack: ModalStack, moduleCFR: ComponentFactoryResolver);
|
|
13
|
-
/**Open a modal component
|
|
14
|
-
* @param content TemplateRef
|
|
15
|
-
*/
|
|
16
|
-
open(content: TemplateRef<any>, options?: LuxModalOptions): ModalRef;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
19
|
-
}
|
|
1
|
+
import { ComponentFactoryResolver, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ModalStack } from './modal-stack';
|
|
3
|
+
import { ModalRef } from './modal-ref';
|
|
4
|
+
import { LuxModalOptions } from './modal-config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* A service that it allow open an close modal components
|
|
8
|
+
*/
|
|
9
|
+
export declare class ModalService {
|
|
10
|
+
private modalStack;
|
|
11
|
+
private moduleCFR;
|
|
12
|
+
constructor(modalStack: ModalStack, moduleCFR: ComponentFactoryResolver);
|
|
13
|
+
/**Open a modal component
|
|
14
|
+
* @param content TemplateRef
|
|
15
|
+
*/
|
|
16
|
+
open(content: TemplateRef<any>, options?: LuxModalOptions): ModalRef;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
19
|
+
}
|
package/lib/modal/util.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare const FOCUS = "focus";
|
|
4
|
-
export declare enum Key {
|
|
5
|
-
Tab = 9,
|
|
6
|
-
Enter = 13,
|
|
7
|
-
Escape = 27,
|
|
8
|
-
Space = 32,
|
|
9
|
-
PageUp = 33,
|
|
10
|
-
PageDown = 34,
|
|
11
|
-
End = 35,
|
|
12
|
-
Home = 36,
|
|
13
|
-
ArrowLeft = 37,
|
|
14
|
-
ArrowUp = 38,
|
|
15
|
-
ArrowRight = 39,
|
|
16
|
-
ArrowDown = 40
|
|
17
|
-
}
|
|
18
|
-
export declare const isDefined: (value: any) => boolean;
|
|
19
|
-
export declare class ContentRef {
|
|
20
|
-
nodes: any[];
|
|
21
|
-
viewRef?: ViewRef;
|
|
22
|
-
componentRef?: ComponentRef<any>;
|
|
23
|
-
constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef<any>);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns first and last focusable elements inside of a given element based on specific CSS selector
|
|
27
|
-
*/
|
|
28
|
-
export declare const getFocusableBoundaryElements: (element: HTMLElement) => HTMLElement[];
|
|
29
|
-
/**
|
|
30
|
-
* Function that enforces browser focus to be trapped inside a DOM element.
|
|
31
|
-
*
|
|
32
|
-
* Works only for clicks inside the element and navigation with 'Tab', ignoring clicks outside of the element
|
|
33
|
-
*
|
|
34
|
-
* @param element The element around which focus will be trapped inside
|
|
35
|
-
* @param stopFocusTrap$ The observable stream. When completed the focus trap will clean up listeners
|
|
36
|
-
* and free internal resources
|
|
37
|
-
* @param refocusOnClick Put the focus back to the last focused element whenever a click occurs on element (default to
|
|
38
|
-
* false)
|
|
39
|
-
*/
|
|
40
|
-
export declare const focusTrap: (element: HTMLElement, stopFocusTrap$: Observable<any>, refocusOnClick?: boolean) => void;
|
|
1
|
+
import { ComponentRef, ViewRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare const FOCUS = "focus";
|
|
4
|
+
export declare enum Key {
|
|
5
|
+
Tab = 9,
|
|
6
|
+
Enter = 13,
|
|
7
|
+
Escape = 27,
|
|
8
|
+
Space = 32,
|
|
9
|
+
PageUp = 33,
|
|
10
|
+
PageDown = 34,
|
|
11
|
+
End = 35,
|
|
12
|
+
Home = 36,
|
|
13
|
+
ArrowLeft = 37,
|
|
14
|
+
ArrowUp = 38,
|
|
15
|
+
ArrowRight = 39,
|
|
16
|
+
ArrowDown = 40
|
|
17
|
+
}
|
|
18
|
+
export declare const isDefined: (value: any) => boolean;
|
|
19
|
+
export declare class ContentRef {
|
|
20
|
+
nodes: any[];
|
|
21
|
+
viewRef?: ViewRef;
|
|
22
|
+
componentRef?: ComponentRef<any>;
|
|
23
|
+
constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef<any>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Returns first and last focusable elements inside of a given element based on specific CSS selector
|
|
27
|
+
*/
|
|
28
|
+
export declare const getFocusableBoundaryElements: (element: HTMLElement) => HTMLElement[];
|
|
29
|
+
/**
|
|
30
|
+
* Function that enforces browser focus to be trapped inside a DOM element.
|
|
31
|
+
*
|
|
32
|
+
* Works only for clicks inside the element and navigation with 'Tab', ignoring clicks outside of the element
|
|
33
|
+
*
|
|
34
|
+
* @param element The element around which focus will be trapped inside
|
|
35
|
+
* @param stopFocusTrap$ The observable stream. When completed the focus trap will clean up listeners
|
|
36
|
+
* and free internal resources
|
|
37
|
+
* @param refocusOnClick Put the focus back to the last focused element whenever a click occurs on element (default to
|
|
38
|
+
* false)
|
|
39
|
+
*/
|
|
40
|
+
export declare const focusTrap: (element: HTMLElement, stopFocusTrap$: Observable<any>, refocusOnClick?: boolean) => void;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PaginationInfo } from './pagination';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PaginationComponent implements OnInit {
|
|
5
|
-
literals: {
|
|
6
|
-
en: {
|
|
7
|
-
first: string;
|
|
8
|
-
previous: string;
|
|
9
|
-
next: string;
|
|
10
|
-
last: string;
|
|
11
|
-
};
|
|
12
|
-
es: {
|
|
13
|
-
first: string;
|
|
14
|
-
previous: string;
|
|
15
|
-
next: string;
|
|
16
|
-
last: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
first: string;
|
|
20
|
-
previous: string;
|
|
21
|
-
next: string;
|
|
22
|
-
last: string;
|
|
23
|
-
showPagination: boolean;
|
|
24
|
-
hidePrevious: boolean;
|
|
25
|
-
lastPage: boolean;
|
|
26
|
-
totalPages: number;
|
|
27
|
-
displayNextEllipsis: boolean;
|
|
28
|
-
displayPreviousEllipsis: boolean;
|
|
29
|
-
pages: number[];
|
|
30
|
-
goToPage: EventEmitter<number>;
|
|
31
|
-
pageSizeChange: EventEmitter<number>;
|
|
32
|
-
/** Current page, total items and items to show per page */
|
|
33
|
-
private paginationInfoValue;
|
|
34
|
-
private _lang;
|
|
35
|
-
set lang(l: string);
|
|
36
|
-
get lang(): string;
|
|
37
|
-
set paginationInfo(value: PaginationInfo);
|
|
38
|
-
get paginationInfo(): PaginationInfo;
|
|
39
|
-
constructor();
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
pageSizeChanged(pageSize: number): void;
|
|
42
|
-
onPage(n: number): void;
|
|
43
|
-
onFirst(): void;
|
|
44
|
-
onLast(): void;
|
|
45
|
-
onNext(): void;
|
|
46
|
-
onPrevious(): void;
|
|
47
|
-
private syncState;
|
|
48
|
-
private calculatePages;
|
|
49
|
-
private loadLanguage;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "lux-pagination", never, { "lang": "lang"; "paginationInfo": "paginationInfo"; }, { "goToPage": "goToPage"; "pageSizeChange": "pageSizeChange"; }, never, never, false, never>;
|
|
52
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PaginationInfo } from './pagination';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaginationComponent implements OnInit {
|
|
5
|
+
literals: {
|
|
6
|
+
en: {
|
|
7
|
+
first: string;
|
|
8
|
+
previous: string;
|
|
9
|
+
next: string;
|
|
10
|
+
last: string;
|
|
11
|
+
};
|
|
12
|
+
es: {
|
|
13
|
+
first: string;
|
|
14
|
+
previous: string;
|
|
15
|
+
next: string;
|
|
16
|
+
last: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
first: string;
|
|
20
|
+
previous: string;
|
|
21
|
+
next: string;
|
|
22
|
+
last: string;
|
|
23
|
+
showPagination: boolean;
|
|
24
|
+
hidePrevious: boolean;
|
|
25
|
+
lastPage: boolean;
|
|
26
|
+
totalPages: number;
|
|
27
|
+
displayNextEllipsis: boolean;
|
|
28
|
+
displayPreviousEllipsis: boolean;
|
|
29
|
+
pages: number[];
|
|
30
|
+
goToPage: EventEmitter<number>;
|
|
31
|
+
pageSizeChange: EventEmitter<number>;
|
|
32
|
+
/** Current page, total items and items to show per page */
|
|
33
|
+
private paginationInfoValue;
|
|
34
|
+
private _lang;
|
|
35
|
+
set lang(l: string);
|
|
36
|
+
get lang(): string;
|
|
37
|
+
set paginationInfo(value: PaginationInfo);
|
|
38
|
+
get paginationInfo(): PaginationInfo;
|
|
39
|
+
constructor();
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
pageSizeChanged(pageSize: number): void;
|
|
42
|
+
onPage(n: number): void;
|
|
43
|
+
onFirst(): void;
|
|
44
|
+
onLast(): void;
|
|
45
|
+
onNext(): void;
|
|
46
|
+
onPrevious(): void;
|
|
47
|
+
private syncState;
|
|
48
|
+
private calculatePages;
|
|
49
|
+
private loadLanguage;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "lux-pagination", never, { "lang": { "alias": "lang"; "required": false; }; "paginationInfo": { "alias": "paginationInfo"; "required": false; }; }, { "goToPage": "goToPage"; "pageSizeChange": "pageSizeChange"; }, never, never, false, never>;
|
|
52
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface PaginationInfo {
|
|
2
|
-
/** How many total items there are in all pages */
|
|
3
|
-
total: number;
|
|
4
|
-
/** The current page (0-index) */
|
|
5
|
-
page: number;
|
|
6
|
-
/** How many items we want to show per page */
|
|
7
|
-
pageSize: number;
|
|
8
|
-
/** How many pages between next/prev */
|
|
9
|
-
pagesToShow: number;
|
|
10
|
-
}
|
|
1
|
+
export interface PaginationInfo {
|
|
2
|
+
/** How many total items there are in all pages */
|
|
3
|
+
total: number;
|
|
4
|
+
/** The current page (0-index) */
|
|
5
|
+
page: number;
|
|
6
|
+
/** How many items we want to show per page */
|
|
7
|
+
pageSize: number;
|
|
8
|
+
/** How many pages between next/prev */
|
|
9
|
+
pagesToShow: number;
|
|
10
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface RadioItem {
|
|
5
|
-
name?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
value: any;
|
|
8
|
-
}
|
|
9
|
-
export declare class RadiogroupComponent implements ControlValueAccessor, Validator {
|
|
10
|
-
private touched;
|
|
11
|
-
name: string;
|
|
12
|
-
disabled: boolean | null;
|
|
13
|
-
readonly: boolean | null;
|
|
14
|
-
required: boolean | null;
|
|
15
|
-
set items(col: RadioItem[]);
|
|
16
|
-
get items(): RadioItem[];
|
|
17
|
-
itemsChange: EventEmitter<RadioItem[]>;
|
|
18
|
-
set value(v: any);
|
|
19
|
-
get value(): any;
|
|
20
|
-
valueChange: EventEmitter<any>;
|
|
21
|
-
private _value;
|
|
22
|
-
private _items;
|
|
23
|
-
constructor();
|
|
24
|
-
onChange: (value: any) => void;
|
|
25
|
-
onTouched: () => void;
|
|
26
|
-
writeValue(value: any): void;
|
|
27
|
-
registerOnChange(onChange: any): void;
|
|
28
|
-
registerOnTouched(onTouched: any): void;
|
|
29
|
-
markAsTouched(): void;
|
|
30
|
-
setDisabledState(disabled: boolean): void;
|
|
31
|
-
registerOnValidatorChange(): void;
|
|
32
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
33
|
-
setValue(event: MouseEvent, item: RadioItem): void;
|
|
34
|
-
ensureHasUniqueName(item: RadioItem, index: number): RadioItem;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadiogroupComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadiogroupComponent, "lux-radiogroup", never, { "name": "name"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "items": "items"; "value": "value"; }, { "itemsChange": "itemsChange"; "valueChange": "valueChange"; }, never, never, false, never>;
|
|
37
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface RadioItem {
|
|
5
|
+
name?: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value: any;
|
|
8
|
+
}
|
|
9
|
+
export declare class RadiogroupComponent implements ControlValueAccessor, Validator {
|
|
10
|
+
private touched;
|
|
11
|
+
name: string;
|
|
12
|
+
disabled: boolean | null;
|
|
13
|
+
readonly: boolean | null;
|
|
14
|
+
required: boolean | null;
|
|
15
|
+
set items(col: RadioItem[]);
|
|
16
|
+
get items(): RadioItem[];
|
|
17
|
+
itemsChange: EventEmitter<RadioItem[]>;
|
|
18
|
+
set value(v: any);
|
|
19
|
+
get value(): any;
|
|
20
|
+
valueChange: EventEmitter<any>;
|
|
21
|
+
private _value;
|
|
22
|
+
private _items;
|
|
23
|
+
constructor();
|
|
24
|
+
onChange: (value: any) => void;
|
|
25
|
+
onTouched: () => void;
|
|
26
|
+
writeValue(value: any): void;
|
|
27
|
+
registerOnChange(onChange: any): void;
|
|
28
|
+
registerOnTouched(onTouched: any): void;
|
|
29
|
+
markAsTouched(): void;
|
|
30
|
+
setDisabledState(disabled: boolean): void;
|
|
31
|
+
registerOnValidatorChange(): void;
|
|
32
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
33
|
+
setValue(event: MouseEvent, item: RadioItem): void;
|
|
34
|
+
ensureHasUniqueName(item: RadioItem, index: number): RadioItem;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadiogroupComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadiogroupComponent, "lux-radiogroup", never, { "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "items": { "alias": "items"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "itemsChange": "itemsChange"; "valueChange": "valueChange"; }, never, never, false, never>;
|
|
37
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectComponent implements ControlValueAccessor, Validator {
|
|
5
|
-
id: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
required: boolean;
|
|
8
|
-
/** Allow multiple elements */
|
|
9
|
-
multiple: boolean;
|
|
10
|
-
value: string[];
|
|
11
|
-
valueChange: EventEmitter<string[]>;
|
|
12
|
-
placeholder: string;
|
|
13
|
-
/** If set, check there is no duplicates in the data. */
|
|
14
|
-
unique: boolean;
|
|
15
|
-
/** Validation function for new items. Returns error or null if valid */
|
|
16
|
-
validateItem: (item: string) => string;
|
|
17
|
-
newEntry: string;
|
|
18
|
-
error: any;
|
|
19
|
-
isValidNewEntry: boolean;
|
|
20
|
-
private touched;
|
|
21
|
-
constructor();
|
|
22
|
-
onChange: (value: any) => void;
|
|
23
|
-
onTouched: () => void;
|
|
24
|
-
writeValue(value: any): void;
|
|
25
|
-
registerOnChange(onChange: any): void;
|
|
26
|
-
registerOnTouched(onTouched: any): void;
|
|
27
|
-
markAsTouched(): void;
|
|
28
|
-
setDisabledState(disabled: boolean): void;
|
|
29
|
-
registerOnValidatorChange(): void;
|
|
30
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
31
|
-
get canAdd(): boolean;
|
|
32
|
-
add(val: string): void;
|
|
33
|
-
remove(index: number): void;
|
|
34
|
-
onKeyPress(event: KeyboardEvent): void;
|
|
35
|
-
onChangeNewEntry(newValue: string): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "lux-select", never, { "id": "id"; "disabled": "disabled"; "required": "required"; "multiple": "multiple"; "value": "value"; "placeholder": "placeholder"; "unique": "unique"; "validateItem": "validateItem"; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
38
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectComponent implements ControlValueAccessor, Validator {
|
|
5
|
+
id: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
required: boolean;
|
|
8
|
+
/** Allow multiple elements */
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
value: string[];
|
|
11
|
+
valueChange: EventEmitter<string[]>;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
/** If set, check there is no duplicates in the data. */
|
|
14
|
+
unique: boolean;
|
|
15
|
+
/** Validation function for new items. Returns error or null if valid */
|
|
16
|
+
validateItem: (item: string) => string;
|
|
17
|
+
newEntry: string;
|
|
18
|
+
error: any;
|
|
19
|
+
isValidNewEntry: boolean;
|
|
20
|
+
private touched;
|
|
21
|
+
constructor();
|
|
22
|
+
onChange: (value: any) => void;
|
|
23
|
+
onTouched: () => void;
|
|
24
|
+
writeValue(value: any): void;
|
|
25
|
+
registerOnChange(onChange: any): void;
|
|
26
|
+
registerOnTouched(onTouched: any): void;
|
|
27
|
+
markAsTouched(): void;
|
|
28
|
+
setDisabledState(disabled: boolean): void;
|
|
29
|
+
registerOnValidatorChange(): void;
|
|
30
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
31
|
+
get canAdd(): boolean;
|
|
32
|
+
add(val: string): void;
|
|
33
|
+
remove(index: number): void;
|
|
34
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
35
|
+
onChangeNewEntry(newValue: string): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "lux-select", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "validateItem": { "alias": "validateItem"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum Placement {
|
|
2
|
-
Top = "top",
|
|
3
|
-
Bottom = "bottom",
|
|
4
|
-
Left = "left",
|
|
5
|
-
Right = "right"
|
|
6
|
-
}
|
|
7
|
-
export type PlacementValue = 'left' | 'right' | 'top' | 'bottom';
|
|
1
|
+
export declare enum Placement {
|
|
2
|
+
Top = "top",
|
|
3
|
+
Bottom = "bottom",
|
|
4
|
+
Left = "left",
|
|
5
|
+
Right = "right"
|
|
6
|
+
}
|
|
7
|
+
export type PlacementValue = 'left' | 'right' | 'top' | 'bottom';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface LuxTooltipContext {
|
|
2
|
-
message: string;
|
|
3
|
-
}
|
|
1
|
+
export interface LuxTooltipContext {
|
|
2
|
+
message: string;
|
|
3
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { LuxTooltipContext } from './tooltip-context';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Default Tooltip Component
|
|
5
|
-
*/
|
|
6
|
-
export declare class TooltipComponent {
|
|
7
|
-
context: LuxTooltipContext;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ng-component", never, { "context": "context"; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { LuxTooltipContext } from './tooltip-context';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Default Tooltip Component
|
|
5
|
+
*/
|
|
6
|
+
export declare class TooltipComponent {
|
|
7
|
+
context: LuxTooltipContext;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ng-component", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { TooltipService } from './tooltip.service';
|
|
3
|
-
import { PlacementValue } from './placement';
|
|
4
|
-
import { TooltipContentRef } from './tooltop-content';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Tooltip directive
|
|
8
|
-
*/
|
|
9
|
-
export declare class LuxTooltipDirective {
|
|
10
|
-
private elHost;
|
|
11
|
-
private tooltipService;
|
|
12
|
-
/** Tooltip title */
|
|
13
|
-
luxTooltip: any;
|
|
14
|
-
/** Component, TemplateRef or String */
|
|
15
|
-
content: any;
|
|
16
|
-
/** Placement */
|
|
17
|
-
placement: PlacementValue;
|
|
18
|
-
tooltipRef: TooltipContentRef;
|
|
19
|
-
constructor(elHost: ElementRef, tooltipService: TooltipService);
|
|
20
|
-
onMouseEnter(): void;
|
|
21
|
-
onMouseLeave(): void;
|
|
22
|
-
onClick(): void;
|
|
23
|
-
show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
|
|
24
|
-
remove(tooltipRef: TooltipContentRef): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuxTooltipDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LuxTooltipDirective, "[luxTooltip]", never, { "luxTooltip": "luxTooltip"; "content": "content"; "placement": "placement"; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { TooltipService } from './tooltip.service';
|
|
3
|
+
import { PlacementValue } from './placement';
|
|
4
|
+
import { TooltipContentRef } from './tooltop-content';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Tooltip directive
|
|
8
|
+
*/
|
|
9
|
+
export declare class LuxTooltipDirective {
|
|
10
|
+
private elHost;
|
|
11
|
+
private tooltipService;
|
|
12
|
+
/** Tooltip title */
|
|
13
|
+
luxTooltip: any;
|
|
14
|
+
/** Component, TemplateRef or String */
|
|
15
|
+
content: any;
|
|
16
|
+
/** Placement */
|
|
17
|
+
placement: PlacementValue;
|
|
18
|
+
tooltipRef: TooltipContentRef;
|
|
19
|
+
constructor(elHost: ElementRef, tooltipService: TooltipService);
|
|
20
|
+
onMouseEnter(): void;
|
|
21
|
+
onMouseLeave(): void;
|
|
22
|
+
onClick(): void;
|
|
23
|
+
show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
|
|
24
|
+
remove(tooltipRef: TooltipContentRef): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxTooltipDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuxTooltipDirective, "[luxTooltip]", never, { "luxTooltip": { "alias": "luxTooltip"; "required": false; }; "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Injector, ComponentFactoryResolver, ApplicationRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { PlacementValue } from './placement';
|
|
3
|
-
import { TooltipContentRef } from './tooltop-content';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TooltipService {
|
|
6
|
-
private _injector;
|
|
7
|
-
private _crf;
|
|
8
|
-
private _applicationRef;
|
|
9
|
-
constructor(_injector: Injector, _crf: ComponentFactoryResolver, _applicationRef: ApplicationRef);
|
|
10
|
-
appendComponentToBody(content: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
|
|
11
|
-
removeComponentFromBody(tooltipContentRef: TooltipContentRef): void;
|
|
12
|
-
private getTooltipContentRef;
|
|
13
|
-
private createFromTemplateRef;
|
|
14
|
-
private createFromComponent;
|
|
15
|
-
private setStyle;
|
|
16
|
-
private getTooltipElementFromHTMLElemnt;
|
|
17
|
-
private setPosition;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
20
|
-
}
|
|
1
|
+
import { Injector, ComponentFactoryResolver, ApplicationRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { PlacementValue } from './placement';
|
|
3
|
+
import { TooltipContentRef } from './tooltop-content';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TooltipService {
|
|
6
|
+
private _injector;
|
|
7
|
+
private _crf;
|
|
8
|
+
private _applicationRef;
|
|
9
|
+
constructor(_injector: Injector, _crf: ComponentFactoryResolver, _applicationRef: ApplicationRef);
|
|
10
|
+
appendComponentToBody(content: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
|
|
11
|
+
removeComponentFromBody(tooltipContentRef: TooltipContentRef): void;
|
|
12
|
+
private getTooltipContentRef;
|
|
13
|
+
private createFromTemplateRef;
|
|
14
|
+
private createFromComponent;
|
|
15
|
+
private setStyle;
|
|
16
|
+
private getTooltipElementFromHTMLElemnt;
|
|
17
|
+
private setPosition;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
20
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ViewRef, ComponentRef } from '@angular/core';
|
|
2
|
-
export declare class TooltipContentRef {
|
|
3
|
-
viewRef?: ViewRef;
|
|
4
|
-
componentRef?: ComponentRef<any>;
|
|
5
|
-
constructor(viewRef?: ViewRef, componentRef?: ComponentRef<any>);
|
|
6
|
-
}
|
|
1
|
+
import { ViewRef, ComponentRef } from '@angular/core';
|
|
2
|
+
export declare class TooltipContentRef {
|
|
3
|
+
viewRef?: ViewRef;
|
|
4
|
+
componentRef?: ComponentRef<any>;
|
|
5
|
+
constructor(viewRef?: ViewRef, componentRef?: ComponentRef<any>);
|
|
6
|
+
}
|