@metadev/lux 0.31.0 → 0.32.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.
Files changed (42) hide show
  1. package/fesm2022/metadev-lux.mjs +1096 -1055
  2. package/fesm2022/metadev-lux.mjs.map +1 -1
  3. package/index.d.ts +944 -3
  4. package/package.json +3 -3
  5. package/lib/autocomplete/autocomplete.component.d.ts +0 -81
  6. package/lib/autocomplete-list/autocomplete-list.component.d.ts +0 -65
  7. package/lib/breadcrumb/breadcrumb.component.d.ts +0 -22
  8. package/lib/checkbox/checkbox.component.d.ts +0 -47
  9. package/lib/datasource.d.ts +0 -13
  10. package/lib/datetime/datetime.component.d.ts +0 -69
  11. package/lib/filter/filter.component.d.ts +0 -51
  12. package/lib/geolocation/geolocation.component.d.ts +0 -123
  13. package/lib/geolocation/geolocation.service.d.ts +0 -32
  14. package/lib/geolocation/openlayer-loader.service.d.ts +0 -7
  15. package/lib/helperFns.d.ts +0 -15
  16. package/lib/input/input.component.d.ts +0 -108
  17. package/lib/input/regexp.service.d.ts +0 -15
  18. package/lib/lang.d.ts +0 -2
  19. package/lib/lux.module.d.ts +0 -27
  20. package/lib/map/geopoint.d.ts +0 -7
  21. package/lib/map/map.component.d.ts +0 -39
  22. package/lib/modal/modal-backdrop.d.ts +0 -8
  23. package/lib/modal/modal-config.d.ts +0 -14
  24. package/lib/modal/modal-dismiss-reasons.d.ts +0 -4
  25. package/lib/modal/modal-ref.d.ts +0 -41
  26. package/lib/modal/modal-stack.d.ts +0 -31
  27. package/lib/modal/modal-window.d.ts +0 -28
  28. package/lib/modal/modal.service.d.ts +0 -19
  29. package/lib/modal/util.d.ts +0 -40
  30. package/lib/pagination/pagination.component.d.ts +0 -52
  31. package/lib/pagination/pagination.d.ts +0 -10
  32. package/lib/radiogroup/radiogroup.component.d.ts +0 -37
  33. package/lib/select/select.component.d.ts +0 -38
  34. package/lib/tooltip/placement.d.ts +0 -7
  35. package/lib/tooltip/tooltip-context.d.ts +0 -3
  36. package/lib/tooltip/tooltip.component.d.ts +0 -11
  37. package/lib/tooltip/tooltip.directive.d.ts +0 -27
  38. package/lib/tooltip/tooltip.service.d.ts +0 -20
  39. package/lib/tooltip/tooltop-content.d.ts +0 -6
  40. package/lib/voice-recognition/voice-recognition.directive.d.ts +0 -16
  41. package/lib/window/window.service.d.ts +0 -11
  42. package/public-api.d.ts +0 -18
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * A service that holds the functionality for advanced handling of regular expressions
4
- */
5
- export declare class RegexpService {
6
- constructor();
7
- private removeOuterRoundBrackets;
8
- private isQuantifier;
9
- private parseMinimalAmountOfQuantifier;
10
- private sliceRegexByOr;
11
- private sliceRegexByThen;
12
- suggestion(beginning: string, regularExpressionString: string): string;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<RegexpService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<RegexpService>;
15
- }
package/lib/lang.d.ts DELETED
@@ -1,2 +0,0 @@
1
- /** Language detector based on Navigator preferences */
2
- export declare const languageDetector: () => string;
@@ -1,27 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./autocomplete/autocomplete.component";
3
- import * as i2 from "./autocomplete-list/autocomplete-list.component";
4
- import * as i3 from "./filter/filter.component";
5
- import * as i4 from "./checkbox/checkbox.component";
6
- import * as i5 from "./datetime/datetime.component";
7
- import * as i6 from "./input/input.component";
8
- import * as i7 from "./geolocation/geolocation.component";
9
- import * as i8 from "./tooltip/tooltip.directive";
10
- import * as i9 from "./modal/modal-window";
11
- import * as i10 from "./modal/modal-backdrop";
12
- import * as i11 from "./breadcrumb/breadcrumb.component";
13
- import * as i12 from "./map/map.component";
14
- import * as i13 from "./select/select.component";
15
- import * as i14 from "./tooltip/tooltip.component";
16
- import * as i15 from "./pagination/pagination.component";
17
- import * as i16 from "./radiogroup/radiogroup.component";
18
- import * as i17 from "./voice-recognition/voice-recognition.directive";
19
- import * as i18 from "@angular/forms";
20
- import * as i19 from "@angular/common/http";
21
- import * as i20 from "@angular/router";
22
- import * as i21 from "@angular/common";
23
- export declare class LuxModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<LuxModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuxModule, [typeof i1.AutocompleteComponent, typeof i2.AutocompleteListComponent, typeof i3.FilterComponent, typeof i4.CheckboxComponent, typeof i5.DatetimeComponent, typeof i6.InputComponent, typeof i7.GeolocationComponent, typeof i8.LuxTooltipDirective, typeof i9.LuxModalWindowComponent, typeof i10.LuxModalBackdropComponent, typeof i11.LuxBreadcrumbComponent, typeof i12.MapComponent, typeof i13.SelectComponent, typeof i14.TooltipComponent, typeof i15.PaginationComponent, typeof i16.RadiogroupComponent, typeof i17.VoiceRecognitionDirective], [typeof i18.FormsModule, typeof i19.HttpClientModule, typeof i18.ReactiveFormsModule, typeof i20.RouterModule, typeof i21.CommonModule], [typeof i1.AutocompleteComponent, typeof i2.AutocompleteListComponent, typeof i3.FilterComponent, typeof i4.CheckboxComponent, typeof i5.DatetimeComponent, typeof i6.InputComponent, typeof i7.GeolocationComponent, typeof i8.LuxTooltipDirective, typeof i11.LuxBreadcrumbComponent, typeof i11.LuxBreadcrumbComponent, typeof i12.MapComponent, typeof i13.SelectComponent, typeof i15.PaginationComponent, typeof i16.RadiogroupComponent, typeof i17.VoiceRecognitionDirective]>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<LuxModule>;
27
- }
@@ -1,7 +0,0 @@
1
- /** From https://en.wikipedia.org/wiki/GeoJSON
2
- * Stored as [ longitude, latitude ]
3
- */
4
- export interface GeoPoint {
5
- type: 'Point';
6
- coordinates: number[];
7
- }
@@ -1,39 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
2
- import { OpenLayerLoaderService } from '../geolocation/openlayer-loader.service';
3
- import { GeoPoint } from './geopoint';
4
- import * as i0 from "@angular/core";
5
- export declare class MapComponent implements OnInit, AfterViewInit {
6
- static idCounter: number;
7
- private loaded$;
8
- private _map;
9
- mapId: any;
10
- _zoom: number;
11
- set zoom(zoom: number);
12
- get zoom(): number;
13
- _center: GeoPoint;
14
- set center(center: GeoPoint);
15
- get center(): GeoPoint;
16
- _readonly: boolean;
17
- set readonly(readonly: boolean);
18
- get readonly(): boolean;
19
- private _marker;
20
- private _markerInteraction;
21
- private _markerCoordinates;
22
- private set markerCoordinates(value);
23
- private get markerCoordinates();
24
- set markerPoint(markerPoint: GeoPoint);
25
- get markerPoint(): GeoPoint;
26
- valueChange: EventEmitter<GeoPoint>;
27
- private _markerSource;
28
- private _markerStyle;
29
- constructor(olLoader: OpenLayerLoaderService);
30
- ngOnInit(): void;
31
- ngAfterViewInit(): void;
32
- private initMap;
33
- private addMarkerAtCoordinates;
34
- private removeMarker;
35
- private getMarkerCoordinates;
36
- onResize(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "lux-map", never, { "mapId": { "alias": "mapId"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "center": { "alias": "center"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "markerCoordinates": { "alias": "markerCoordinates"; "required": false; }; "markerPoint": { "alias": "markerPoint"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
39
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LuxModalBackdropComponent {
3
- backdropClass: string;
4
- class: string;
5
- style: string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalBackdropComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<LuxModalBackdropComponent, "lux-modal-backdrop", never, { "backdropClass": { "alias": "backdropClass"; "required": false; }; }, {}, never, never, false, never>;
8
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface LuxModalOptions {
3
- ariaDescribedBy?: string;
4
- ariaLabelledBy?: string;
5
- backdrop?: boolean;
6
- keyboard?: boolean;
7
- windowClass?: string;
8
- backdropClass?: string;
9
- }
10
- export declare class LuxModalConfig implements LuxModalOptions {
11
- backdrop: boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalConfig, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<LuxModalConfig>;
14
- }
@@ -1,4 +0,0 @@
1
- export declare enum ModalDismissReasons {
2
- BackdropClick = 0,
3
- Esc = 1
4
- }
@@ -1,41 +0,0 @@
1
- import { ComponentRef } from '@angular/core';
2
- import { LuxModalWindowComponent } from './modal-window';
3
- import { ContentRef } from './util';
4
- import { LuxModalBackdropComponent } from './modal-backdrop';
5
- export declare class ActiveModal {
6
- close(result?: any): void;
7
- dismiss(reason?: any): void;
8
- }
9
- export declare class ModalRef {
10
- private _windowCmptRef;
11
- private _contentRef;
12
- private _backdropCmptRef?;
13
- private _beforeDismiss?;
14
- private _resolve;
15
- private _reject;
16
- /**
17
- * The instance of a component used for the modal content.
18
- *
19
- * When a `TemplateRef` is used as the content, will return `undefined`.
20
- */
21
- get componentInstance(): any;
22
- /**
23
- * The promise that is resolved when the modal is closed and rejected when the modal is dismissed.
24
- */
25
- result: Promise<any>;
26
- constructor(_windowCmptRef: ComponentRef<LuxModalWindowComponent>, _contentRef: ContentRef, _backdropCmptRef?: ComponentRef<LuxModalBackdropComponent>, _beforeDismiss?: () => any);
27
- /**
28
- * Closes the modal with an optional `result` value.
29
- *
30
- * The `NgbMobalRef.result` promise will be resolved with the provided value.
31
- */
32
- close(result?: any): void;
33
- private _dismiss;
34
- /**
35
- * Dismisses the modal with an optional `reason` value.
36
- *
37
- * The `NgbModalRef.result` promise will be rejected with the provided value.
38
- */
39
- dismiss(reason?: any): void;
40
- private _removeModalElements;
41
- }
@@ -1,31 +0,0 @@
1
- import { ApplicationRef, ComponentFactoryResolver, Injector, RendererFactory2 } from '@angular/core';
2
- import { LuxModalConfig, LuxModalOptions } from './modal-config';
3
- import { ModalRef } from './modal-ref';
4
- import * as i0 from "@angular/core";
5
- export declare class ModalStack {
6
- private _applicationRef;
7
- private _document;
8
- private _injector;
9
- private _rendererFactory;
10
- private modalConfig;
11
- private _activeWindowCmptHasChanged;
12
- private _modalRefs;
13
- private _windowCmpts;
14
- private _ariaHiddenValues;
15
- private _backdropAttributes;
16
- private _windowAttributes;
17
- constructor(_applicationRef: ApplicationRef, _document: any, _injector: Injector, _rendererFactory: RendererFactory2, modalConfig: LuxModalConfig);
18
- open(moduleCFR: ComponentFactoryResolver, content: any, options: LuxModalOptions): ModalRef;
19
- private _applyWindowOptions;
20
- private _applyBackgroundOptions;
21
- private _revertAriaHidden;
22
- private getContentRef;
23
- private createFromTemplateRef;
24
- private _attachBackdrop;
25
- private _attachWindowComponent;
26
- private _registerModalRef;
27
- private _registerWindowCmpt;
28
- private _setAriaHidden;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalStack, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<ModalStack>;
31
- }
@@ -1,28 +0,0 @@
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 +0,0 @@
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,40 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- export interface LuxTooltipContext {
2
- message: string;
3
- }
@@ -1,11 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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,16 +0,0 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class VoiceRecognitionDirective implements OnInit {
4
- private el;
5
- private renderer;
6
- language: string;
7
- private recognition;
8
- private isRecognizing;
9
- private mic;
10
- constructor(el: ElementRef, renderer: Renderer2);
11
- ngOnInit(): void;
12
- microphoneClick(): void;
13
- onRecognized(event: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<VoiceRecognitionDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<VoiceRecognitionDirective, "[luxVoiceRecognition]", never, { "language": { "alias": "language"; "required": false; }; }, {}, never, never, false, never>;
16
- }
@@ -1,11 +0,0 @@
1
- import { ClassProvider, FactoryProvider, InjectionToken } from '@angular/core';
2
- export declare const WINDOW: InjectionToken<unknown>;
3
- export declare abstract class WindowRef {
4
- get nativeWindow(): Window | object;
5
- }
6
- export declare class BrowserWindowRef extends WindowRef {
7
- constructor();
8
- get nativeWindow(): Window | object;
9
- }
10
- export declare const windowFactory: (browserWindowRef: BrowserWindowRef, platformId: object) => Window | object;
11
- export declare const WINDOW_PROVIDERS: (ClassProvider | FactoryProvider)[];
package/public-api.d.ts DELETED
@@ -1,18 +0,0 @@
1
- export { AutocompleteListComponent } from './lib/autocomplete-list/autocomplete-list.component';
2
- export { AutocompleteComponent } from './lib/autocomplete/autocomplete.component';
3
- export { BreadcrumbItem, LuxBreadcrumbComponent } from './lib/breadcrumb/breadcrumb.component';
4
- export { CheckboxComponent } from './lib/checkbox/checkbox.component';
5
- export { DataSource, DataSourceItem, DecoratedDataSource, DecoratedDataSourceItem } from './lib/datasource';
6
- export { DatetimeComponent } from './lib/datetime/datetime.component';
7
- export { FilterComponent } from './lib/filter/filter.component';
8
- export { GeolocationComponent } from './lib/geolocation/geolocation.component';
9
- export { InputComponent } from './lib/input/input.component';
10
- export { LuxModule } from './lib/lux.module';
11
- export { MapComponent } from './lib/map/map.component';
12
- export { ModalRef } from './lib/modal/modal-ref';
13
- export { ModalService } from './lib/modal/modal.service';
14
- export { PaginationComponent } from './lib/pagination/pagination.component';
15
- export { RadiogroupComponent, RadioItem } from './lib/radiogroup/radiogroup.component';
16
- export { SelectComponent } from './lib/select/select.component';
17
- export { LuxTooltipDirective } from './lib/tooltip/tooltip.directive';
18
- export { VoiceRecognitionDirective } from './lib/voice-recognition/voice-recognition.directive';