@metadev/lux 0.18.0 → 0.20.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/esm2020/lib/autocomplete/autocomplete.component.mjs +479 -0
- package/esm2020/lib/autocomplete-list/autocomplete-list.component.mjs +254 -0
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +75 -0
- package/esm2020/lib/checkbox/checkbox.component.mjs +154 -0
- package/{esm2015/lib/datasource.js → esm2020/lib/datasource.mjs} +0 -0
- package/esm2020/lib/datetime/datetime.component.mjs +306 -0
- package/esm2020/lib/filter/filter.component.mjs +152 -0
- package/esm2020/lib/geolocation/geolocation.component.mjs +407 -0
- package/{esm2015/lib/geolocation/geolocation.service.js → esm2020/lib/geolocation/geolocation.service.mjs} +7 -11
- package/esm2020/lib/geolocation/openlayer-loader.service.mjs +62 -0
- package/{esm2015/lib/helperFns.js → esm2020/lib/helperFns.mjs} +0 -0
- package/esm2020/lib/input/input.component.mjs +452 -0
- package/{esm2015/lib/input/regexp.service.js → esm2020/lib/input/regexp.service.mjs} +7 -6
- package/{esm2015/lib/lang.js → esm2020/lib/lang.mjs} +0 -0
- package/esm2020/lib/lux.module.mjs +130 -0
- package/{esm2015/lib/map/geopoint.js → esm2020/lib/map/geopoint.mjs} +0 -0
- package/esm2020/lib/map/map.component.mjs +265 -0
- package/esm2020/lib/modal/modal-backdrop.mjs +26 -0
- package/esm2020/lib/modal/modal-config.mjs +14 -0
- package/{esm2015/lib/modal/modal-dismiss-reasons.js → esm2020/lib/modal/modal-dismiss-reasons.mjs} +0 -0
- package/{esm2015/lib/modal/modal-ref.js → esm2020/lib/modal/modal-ref.mjs} +0 -0
- package/esm2020/lib/modal/modal-stack.mjs +179 -0
- package/esm2020/lib/modal/modal-window.mjs +119 -0
- package/esm2020/lib/modal/modal.service.mjs +26 -0
- package/{esm2015/lib/modal/util.js → esm2020/lib/modal/util.mjs} +0 -0
- package/esm2020/lib/pagination/pagination.component.mjs +137 -0
- package/{esm2015/lib/pagination/pagination.js → esm2020/lib/pagination/pagination.mjs} +0 -0
- package/esm2020/lib/radiogroup/radiogroup.component.mjs +130 -0
- package/esm2020/lib/select/select.component.mjs +149 -0
- package/{esm2015/lib/tooltip/placement.js → esm2020/lib/tooltip/placement.mjs} +0 -0
- package/{esm2015/lib/tooltip/tooltip-context.js → esm2020/lib/tooltip/tooltip-context.mjs} +0 -0
- package/esm2020/lib/tooltip/tooltip.component.mjs +23 -0
- package/esm2020/lib/tooltip/tooltip.directive.mjs +60 -0
- package/{esm2015/lib/tooltip/tooltip.service.js → esm2020/lib/tooltip/tooltip.service.mjs} +7 -9
- package/{esm2015/lib/tooltip/tooltop-content.js → esm2020/lib/tooltip/tooltop-content.mjs} +0 -0
- package/esm2020/lib/voice-recognition/voice-recognition.directive.mjs +73 -0
- package/{esm2015/lib/window/window.service.js → esm2020/lib/window/window.service.mjs} +0 -0
- package/esm2020/metadev-lux.mjs +5 -0
- package/esm2020/public-api.mjs +21 -0
- package/fesm2015/metadev-lux.mjs +4345 -0
- package/fesm2015/metadev-lux.mjs.map +1 -0
- package/fesm2020/metadev-lux.mjs +4343 -0
- package/fesm2020/metadev-lux.mjs.map +1 -0
- package/lib/autocomplete/autocomplete.component.d.ts +3 -0
- package/lib/autocomplete-list/autocomplete-list.component.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/lib/checkbox/checkbox.component.d.ts +3 -0
- package/lib/datetime/datetime.component.d.ts +4 -0
- package/lib/filter/filter.component.d.ts +3 -0
- package/lib/geolocation/geolocation.component.d.ts +4 -0
- package/lib/geolocation/geolocation.service.d.ts +3 -0
- package/lib/geolocation/openlayer-loader.service.d.ts +3 -0
- package/lib/input/input.component.d.ts +3 -0
- package/lib/input/regexp.service.d.ts +3 -0
- package/lib/lux.module.d.ts +26 -0
- package/lib/map/map.component.d.ts +3 -0
- package/lib/modal/modal-backdrop.d.ts +3 -0
- package/lib/modal/modal-config.d.ts +3 -0
- package/lib/modal/modal-stack.d.ts +3 -0
- package/lib/modal/modal-window.d.ts +3 -0
- package/lib/modal/modal.service.d.ts +3 -0
- package/lib/pagination/pagination.component.d.ts +3 -0
- package/lib/radiogroup/radiogroup.component.d.ts +3 -0
- package/lib/select/select.component.d.ts +3 -0
- package/lib/tooltip/tooltip.component.d.ts +3 -0
- package/lib/tooltip/tooltip.directive.d.ts +3 -0
- package/lib/tooltip/tooltip.service.d.ts +3 -0
- package/lib/voice-recognition/voice-recognition.directive.d.ts +3 -0
- package/metadev-lux.d.ts +1 -16
- package/package.json +23 -11
- package/public-api.d.ts +12 -7
- package/bundles/metadev-lux.umd.js +0 -4715
- package/bundles/metadev-lux.umd.js.map +0 -1
- package/esm2015/lib/autocomplete/autocomplete.component.js +0 -455
- package/esm2015/lib/autocomplete-list/autocomplete-list.component.js +0 -230
- package/esm2015/lib/breadcrumb/breadcrumb.component.js +0 -77
- package/esm2015/lib/checkbox/checkbox.component.js +0 -142
- package/esm2015/lib/datetime/datetime.component.js +0 -275
- package/esm2015/lib/filter/filter.component.js +0 -140
- package/esm2015/lib/geolocation/geolocation.component.js +0 -371
- package/esm2015/lib/geolocation/openlayer-loader.service.js +0 -63
- package/esm2015/lib/input/input.component.js +0 -419
- package/esm2015/lib/lux.module.js +0 -83
- package/esm2015/lib/map/map.component.js +0 -261
- package/esm2015/lib/modal/modal-backdrop.js +0 -19
- package/esm2015/lib/modal/modal-config.js +0 -12
- package/esm2015/lib/modal/modal-stack.js +0 -182
- package/esm2015/lib/modal/modal-window.js +0 -92
- package/esm2015/lib/modal/modal.service.js +0 -28
- package/esm2015/lib/pagination/pagination.component.js +0 -134
- package/esm2015/lib/radiogroup/radiogroup.component.js +0 -114
- package/esm2015/lib/select/select.component.js +0 -131
- package/esm2015/lib/tooltip/tooltip.component.js +0 -19
- package/esm2015/lib/tooltip/tooltip.directive.js +0 -52
- package/esm2015/lib/voice-recognition/voice-recognition.directive.js +0 -76
- package/esm2015/metadev-lux.js +0 -21
- package/esm2015/public-api.js +0 -16
- package/fesm2015/metadev-lux.js +0 -4089
- package/fesm2015/metadev-lux.js.map +0 -1
- package/metadev-lux.metadata.json +0 -1
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } fr
|
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { DataSource, DataSourceItem, DecoratedDataSource } from '../datasource';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const LOST_FOCUS_TIME_WINDOW_MS = 200;
|
|
6
7
|
export declare class AutocompleteComponent implements ControlValueAccessor, Validator, OnInit, AfterViewInit {
|
|
7
8
|
private cd;
|
|
@@ -74,5 +75,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, Vali
|
|
|
74
75
|
private spinnerVisibility;
|
|
75
76
|
private hasExternalDataSource;
|
|
76
77
|
private computeCompletionList;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "lux-autocomplete", never, { "inputId": "inputId"; "disabled": "disabled"; "readonly": "readonly"; "label": "label"; "canAddNewValues": "canAddNewValues"; "keepOpenAfterDelete": "keepOpenAfterDelete"; "value": "value"; "dataSource": "dataSource"; "required": "required"; "placeholder": "placeholder"; "resolveLabelsFunction": "resolveLabelsFunction"; "populateFunction": "populateFunction"; "instance": "instance"; }, { "valueChange": "valueChange"; "dataSourceChange": "dataSourceChange"; }, never, never>;
|
|
77
80
|
}
|
|
78
81
|
export declare const selectElement: (completionList: DecoratedDataSource, label: string) => DataSourceItem<any, string>;
|
|
@@ -3,6 +3,7 @@ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } fr
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { AutocompleteComponent } from '../autocomplete/autocomplete.component';
|
|
5
5
|
import { DataSource } from '../datasource';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AutocompleteListComponent implements ControlValueAccessor, Validator, OnInit {
|
|
7
8
|
static idCounter: number;
|
|
8
9
|
auto: AutocompleteListComponent;
|
|
@@ -59,4 +60,6 @@ export declare class AutocompleteListComponent implements ControlValueAccessor,
|
|
|
59
60
|
updateCanAdd(): void;
|
|
60
61
|
addNew(auto: AutocompleteComponent): void;
|
|
61
62
|
getDeleteMessage(label: string): string;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteListComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteListComponent, "lux-autocomplete-list", never, { "value": "value"; "lang": "lang"; "inputId": "inputId"; "dataSource": "dataSource"; "placeholder": "placeholder"; "disabled": "disabled"; "deleteLabelTemplate": "deleteLabelTemplate"; "addMessage": "addMessage"; "required": "required"; "resolveLabelsFunction": "resolveLabelsFunction"; "populateFunction": "populateFunction"; "instance": "instance"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
62
65
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export interface BreadcrumbItem {
|
|
4
5
|
label: string;
|
|
5
6
|
url: string;
|
|
@@ -16,4 +17,6 @@ export declare class LuxBreadcrumbComponent implements OnInit, OnDestroy {
|
|
|
16
17
|
private addBreadcrumbs;
|
|
17
18
|
private getUrl;
|
|
18
19
|
private getLabel;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxBreadcrumbComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuxBreadcrumbComponent, "lux-breadcrumb", never, {}, {}, never, never>;
|
|
19
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
4
5
|
static idCounter: number;
|
|
5
6
|
ck: ElementRef;
|
|
@@ -41,4 +42,6 @@ export declare class CheckboxComponent implements ControlValueAccessor, OnInit,
|
|
|
41
42
|
clicked(): void;
|
|
42
43
|
onKey(event: KeyboardEvent): void;
|
|
43
44
|
private syncModel;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "lux-checkbox", never, { "lang": "lang"; "value": "value"; "label": "label"; "name": "name"; "disabled": "disabled"; "inputId": "inputId"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
44
47
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validator {
|
|
4
5
|
static idCounter: number;
|
|
5
6
|
dateInput: ElementRef;
|
|
@@ -54,6 +55,7 @@ export declare class DatetimeComponent implements OnInit, ControlValueAccessor,
|
|
|
54
55
|
private setTimeInControl;
|
|
55
56
|
private setValueInControl;
|
|
56
57
|
clear(): void;
|
|
58
|
+
isClearable(): boolean;
|
|
57
59
|
registerOnValidatorChange(): void;
|
|
58
60
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
59
61
|
ngOnInit(): void;
|
|
@@ -62,4 +64,6 @@ export declare class DatetimeComponent implements OnInit, ControlValueAccessor,
|
|
|
62
64
|
onEventDatetime(newDate: string, newTime: string): void;
|
|
63
65
|
checkClassName(): string;
|
|
64
66
|
setPatterns(): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "lux-datetime", never, { "min": "min"; "max": "max"; "includeSeconds": "includeSeconds"; "localTime": "localTime"; "lang": "lang"; "inlineErrors": "inlineErrors"; "inputId": "inputId"; "ariaLabel": "aria-label"; "readonly": "readonly"; "disabled": "disabled"; "required": "required"; "value": "value"; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never>;
|
|
65
69
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/** Filter component to query for objects. */
|
|
5
6
|
export declare class FilterComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
6
7
|
static idCounter: number;
|
|
@@ -45,4 +46,6 @@ export declare class FilterComponent implements ControlValueAccessor, OnInit, On
|
|
|
45
46
|
private freeSubscriptions;
|
|
46
47
|
private searchNow;
|
|
47
48
|
private addEvent;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "lux-filter", never, { "disabled": "disabled"; "inputId": "inputId"; "placeholder": "placeholder"; "searchValue": "searchValue"; "searchOnType": "searchOnType"; "ariaLabel": "aria-label"; "debounce": "debounce"; }, { "searchValueChange": "searchValueChange"; }, never, never>;
|
|
48
51
|
}
|
|
@@ -5,6 +5,7 @@ import { DataSource } from '../datasource';
|
|
|
5
5
|
import { GeoPoint } from '../map/geopoint';
|
|
6
6
|
import { ModalService } from '../modal/modal.service';
|
|
7
7
|
import { GeolocationService } from './geolocation.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class GeolocationComponent implements OnInit {
|
|
9
10
|
private modalService;
|
|
10
11
|
locationService: GeolocationService;
|
|
@@ -100,6 +101,7 @@ export declare class GeolocationComponent implements OnInit {
|
|
|
100
101
|
private setLatitudeInControl;
|
|
101
102
|
private setLongitudeInControl;
|
|
102
103
|
clear(): void;
|
|
104
|
+
isClearable(): boolean;
|
|
103
105
|
registerOnValidatorChange(): void;
|
|
104
106
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
105
107
|
ngOnInit(): void;
|
|
@@ -116,4 +118,6 @@ export declare class GeolocationComponent implements OnInit {
|
|
|
116
118
|
getLabels(instance: GeolocationComponent, keys: GeoPoint[]): Observable<DataSource<GeoPoint, string>>;
|
|
117
119
|
getData(instance: GeolocationComponent, search: string): Observable<DataSource<GeoPoint, string>>;
|
|
118
120
|
setPatterns(): void;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeolocationComponent, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeolocationComponent, "lux-geolocation", never, { "minLatitude": "minLatitude"; "maxLatitude": "maxLatitude"; "minLongitude": "minLongitude"; "maxLongitude": "maxLongitude"; "step": "step"; "zoom": "zoom"; "lang": "lang"; "inlineErrors": "inlineErrors"; "inputId": "inputId"; "ariaLabel": "aria-label"; "readonly": "readonly"; "disabled": "disabled"; "required": "required"; "value": "value"; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never>;
|
|
119
123
|
}
|
|
@@ -2,6 +2,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { DataSource } from '../datasource';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { GeoPoint } from '../map/geopoint';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
interface SearchResult {
|
|
6
7
|
place_id: number;
|
|
7
8
|
lat: number;
|
|
@@ -25,5 +26,7 @@ export declare class GeolocationService {
|
|
|
25
26
|
private addToCache;
|
|
26
27
|
private revomeFromCache;
|
|
27
28
|
private getLatestQuery;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeolocationService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeolocationService>;
|
|
28
31
|
}
|
|
29
32
|
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class OpenLayerLoaderService {
|
|
3
4
|
load(): Observable<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OpenLayerLoaderService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OpenLayerLoaderService>;
|
|
4
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { RegexpService } from './regexp.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class InputComponent implements OnInit, ControlValueAccessor, Validator {
|
|
5
6
|
regexpService: RegexpService;
|
|
6
7
|
static idCounter: number;
|
|
@@ -102,4 +103,6 @@ export declare class InputComponent implements OnInit, ControlValueAccessor, Val
|
|
|
102
103
|
setCurrencyPatterns(): void;
|
|
103
104
|
setPercentagePatterns(): void;
|
|
104
105
|
setPermillagePatterns(): void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "lux-input", never, { "rows": "rows"; "cols": "cols"; "step": "step"; "min": "min"; "max": "max"; "lang": "lang"; "inlineErrors": "inlineErrors"; "inputId": "inputId"; "ariaLabel": "aria-label"; "readonly": "readonly"; "disabled": "disabled"; "pattern": "pattern"; "currency": "currency"; "placeholder": "placeholder"; "required": "required"; "type": "type"; "value": "value"; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never>;
|
|
105
108
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
/**
|
|
2
3
|
* A service that holds the functionality for advanced handling of regular expressions
|
|
3
4
|
*/
|
|
@@ -9,4 +10,6 @@ export declare class RegexpService {
|
|
|
9
10
|
private sliceRegexByOr;
|
|
10
11
|
private sliceRegexByThen;
|
|
11
12
|
suggestion(beginning: string, regularExpressionString: string): string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegexpService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegexpService>;
|
|
12
15
|
}
|
package/lib/lux.module.d.ts
CHANGED
|
@@ -1,2 +1,28 @@
|
|
|
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-resize-event";
|
|
20
|
+
import * as i19 from "@angular/forms";
|
|
21
|
+
import * as i20 from "@angular/common/http";
|
|
22
|
+
import * as i21 from "@angular/router";
|
|
23
|
+
import * as i22 from "@angular/common";
|
|
1
24
|
export declare class LuxModule {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxModule, never>;
|
|
26
|
+
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.AngularResizeEventModule, typeof i19.FormsModule, typeof i20.HttpClientModule, typeof i19.ReactiveFormsModule, typeof i21.RouterModule, typeof i22.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]>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LuxModule>;
|
|
2
28
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { OpenLayerLoaderService } from '../geolocation/openlayer-loader.service';
|
|
3
3
|
import { GeoPoint } from './geopoint';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MapComponent implements OnInit, AfterViewInit {
|
|
5
6
|
static idCounter: number;
|
|
6
7
|
private loaded$;
|
|
@@ -33,4 +34,6 @@ export declare class MapComponent implements OnInit, AfterViewInit {
|
|
|
33
34
|
private removeMarker;
|
|
34
35
|
private getMarkerCoordinates;
|
|
35
36
|
onResize(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "lux-map", never, { "mapId": "mapId"; "zoom": "zoom"; "center": "center"; "readonly": "readonly"; "markerCoordinates": "markerCoordinates"; "markerPoint": "markerPoint"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
36
39
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class LuxModalBackdropComponent {
|
|
2
3
|
backdropClass: string;
|
|
3
4
|
class: string;
|
|
4
5
|
style: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalBackdropComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuxModalBackdropComponent, "lux-modal-backdrop", never, { "backdropClass": "backdropClass"; }, {}, never, never>;
|
|
5
8
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export interface LuxModalOptions {
|
|
2
3
|
ariaDescribedBy?: string;
|
|
3
4
|
ariaLabelledBy?: string;
|
|
@@ -8,4 +9,6 @@ export interface LuxModalOptions {
|
|
|
8
9
|
}
|
|
9
10
|
export declare class LuxModalConfig implements LuxModalOptions {
|
|
10
11
|
backdrop: boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalConfig, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LuxModalConfig>;
|
|
11
14
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApplicationRef, ComponentFactoryResolver, Injector, RendererFactory2 } from '@angular/core';
|
|
2
2
|
import { ModalRef } from './modal-ref';
|
|
3
3
|
import { LuxModalOptions, LuxModalConfig } from './modal-config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ModalStack {
|
|
5
6
|
private _applicationRef;
|
|
6
7
|
private _document;
|
|
@@ -25,4 +26,6 @@ export declare class ModalStack {
|
|
|
25
26
|
private _registerModalRef;
|
|
26
27
|
private _registerWindowCmpt;
|
|
27
28
|
private _setAriaHidden;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalStack, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalStack>;
|
|
28
31
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class LuxModalWindowComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
3
4
|
private _document;
|
|
4
5
|
private _elRef;
|
|
@@ -22,4 +23,6 @@ export declare class LuxModalWindowComponent implements OnInit, AfterViewInit, O
|
|
|
22
23
|
ngOnInit(): void;
|
|
23
24
|
ngAfterViewInit(): void;
|
|
24
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, ["*"]>;
|
|
25
28
|
}
|
|
@@ -2,6 +2,7 @@ import { ComponentFactoryResolver, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { ModalStack } from './modal-stack';
|
|
3
3
|
import { ModalRef } from './modal-ref';
|
|
4
4
|
import { LuxModalOptions } from './modal-config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* A service that it allow open an close modal components
|
|
7
8
|
*/
|
|
@@ -13,4 +14,6 @@ export declare class ModalService {
|
|
|
13
14
|
* @param content TemplateRef
|
|
14
15
|
*/
|
|
15
16
|
open(content: TemplateRef<any>, options?: LuxModalOptions): ModalRef;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
16
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { PaginationInfo } from './pagination';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PaginationComponent implements OnInit {
|
|
4
5
|
literals: {
|
|
5
6
|
en: {
|
|
@@ -46,4 +47,6 @@ export declare class PaginationComponent implements OnInit {
|
|
|
46
47
|
private syncState;
|
|
47
48
|
private calculatePages;
|
|
48
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>;
|
|
49
52
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export interface RadioItem {
|
|
4
5
|
name?: string;
|
|
5
6
|
label: string;
|
|
@@ -31,4 +32,6 @@ export declare class RadiogroupComponent implements ControlValueAccessor, Valida
|
|
|
31
32
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
32
33
|
setValue(event: MouseEvent, item: RadioItem): void;
|
|
33
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>;
|
|
34
37
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SelectComponent implements ControlValueAccessor, Validator {
|
|
4
5
|
id: string;
|
|
5
6
|
disabled: boolean;
|
|
@@ -32,4 +33,6 @@ export declare class SelectComponent implements ControlValueAccessor, Validator
|
|
|
32
33
|
remove(index: number): void;
|
|
33
34
|
onKeyPress(event: KeyboardEvent): void;
|
|
34
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>;
|
|
35
38
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { LuxTooltipContext } from './tooltip-context';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* Default Tooltip Component
|
|
4
5
|
*/
|
|
5
6
|
export declare class TooltipComponent {
|
|
6
7
|
context: LuxTooltipContext;
|
|
7
8
|
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ng-component", never, { "context": "context"; }, {}, never, never>;
|
|
8
11
|
}
|
|
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { TooltipService } from './tooltip.service';
|
|
3
3
|
import { PlacementValue } from './placement';
|
|
4
4
|
import { TooltipContentRef } from './tooltop-content';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* Tooltip directive
|
|
7
8
|
*/
|
|
@@ -21,4 +22,6 @@ export declare class LuxTooltipDirective {
|
|
|
21
22
|
onClick(): void;
|
|
22
23
|
show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
|
|
23
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>;
|
|
24
27
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Injector, ComponentFactoryResolver, ApplicationRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { PlacementValue } from './placement';
|
|
3
3
|
import { TooltipContentRef } from './tooltop-content';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TooltipService {
|
|
5
6
|
private _injector;
|
|
6
7
|
private _crf;
|
|
@@ -14,4 +15,6 @@ export declare class TooltipService {
|
|
|
14
15
|
private setStyle;
|
|
15
16
|
private getTooltipElementFromHTMLElemnt;
|
|
16
17
|
private setPosition;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
|
|
17
20
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class VoiceRecognitionDirective implements OnInit {
|
|
3
4
|
private el;
|
|
4
5
|
private renderer;
|
|
@@ -10,4 +11,6 @@ export declare class VoiceRecognitionDirective implements OnInit {
|
|
|
10
11
|
ngOnInit(): void;
|
|
11
12
|
microphoneClick(): void;
|
|
12
13
|
onRecognized(event: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VoiceRecognitionDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VoiceRecognitionDirective, "[luxVoiceRecognition]", never, { "language": "language"; }, {}, never>;
|
|
13
16
|
}
|
package/metadev-lux.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@metadev/lux" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { DatetimeComponent as ɵa } from './lib/datetime/datetime.component';
|
|
6
|
-
export { GeolocationComponent as ɵc } from './lib/geolocation/geolocation.component';
|
|
7
|
-
export { GeolocationService as ɵf } from './lib/geolocation/geolocation.service';
|
|
8
|
-
export { OpenLayerLoaderService as ɵk } from './lib/geolocation/openlayer-loader.service';
|
|
9
|
-
export { RegexpService as ɵb } from './lib/input/regexp.service';
|
|
10
|
-
export { MapComponent as ɵj } from './lib/map/map.component';
|
|
11
|
-
export { LuxModalBackdropComponent as ɵi } from './lib/modal/modal-backdrop';
|
|
12
|
-
export { LuxModalConfig as ɵe } from './lib/modal/modal-config';
|
|
13
|
-
export { ModalStack as ɵd } from './lib/modal/modal-stack';
|
|
14
|
-
export { LuxModalWindowComponent as ɵh } from './lib/modal/modal-window';
|
|
15
|
-
export { ContentRef as ɵt } from './lib/modal/util';
|
|
16
|
-
export { SelectComponent as ɵl } from './lib/select/select.component';
|
|
17
|
-
export { TooltipComponent as ɵm } from './lib/tooltip/tooltip.component';
|
|
18
|
-
export { TooltipService as ɵg } from './lib/tooltip/tooltip.service';
|
|
19
|
-
export { VoiceRecognitionDirective as ɵn } from './lib/voice-recognition/voice-recognition.directive';
|
|
20
|
-
export { BrowserWindowRef as ɵq, WINDOW as ɵo, WINDOW_PROVIDERS as ɵs, WindowRef as ɵp, windowFactory as ɵr } from './lib/window/window.service';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metadev/lux",
|
|
3
3
|
"description": "Lux: Library with User Interface components for Angular.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.20.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Metadev S.L.",
|
|
7
7
|
"url": "https://metadev.pro"
|
|
@@ -25,20 +25,32 @@
|
|
|
25
25
|
],
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@angular/common": "^
|
|
29
|
-
"@angular/core": "^
|
|
28
|
+
"@angular/common": "^13.1.1",
|
|
29
|
+
"@angular/core": "^13.1.1",
|
|
30
30
|
"ol": "^6.5.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"angular-resize-event": "^
|
|
34
|
-
"tslib": "^2.
|
|
33
|
+
"angular-resize-event": "^3.1.1",
|
|
34
|
+
"tslib": "^2.3.0"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"fesm2015": "fesm2015/metadev-lux.
|
|
36
|
+
"module": "fesm2015/metadev-lux.mjs",
|
|
37
|
+
"es2020": "fesm2020/metadev-lux.mjs",
|
|
38
|
+
"esm2020": "esm2020/metadev-lux.mjs",
|
|
39
|
+
"fesm2020": "fesm2020/metadev-lux.mjs",
|
|
40
|
+
"fesm2015": "fesm2015/metadev-lux.mjs",
|
|
41
41
|
"typings": "metadev-lux.d.ts",
|
|
42
|
-
"
|
|
42
|
+
"exports": {
|
|
43
|
+
"./package.json": {
|
|
44
|
+
"default": "./package.json"
|
|
45
|
+
},
|
|
46
|
+
".": {
|
|
47
|
+
"types": "./metadev-lux.d.ts",
|
|
48
|
+
"esm2020": "./esm2020/metadev-lux.mjs",
|
|
49
|
+
"es2020": "./fesm2020/metadev-lux.mjs",
|
|
50
|
+
"es2015": "./fesm2015/metadev-lux.mjs",
|
|
51
|
+
"node": "./fesm2015/metadev-lux.mjs",
|
|
52
|
+
"default": "./fesm2020/metadev-lux.mjs"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
43
55
|
"sideEffects": false
|
|
44
56
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
export { LuxModule } from './lib/lux.module';
|
|
2
|
-
export { DataSource, DataSourceItem, DecoratedDataSource, DecoratedDataSourceItem } from './lib/datasource';
|
|
3
|
-
export { AutocompleteComponent } from './lib/autocomplete/autocomplete.component';
|
|
4
1
|
export { AutocompleteListComponent } from './lib/autocomplete-list/autocomplete-list.component';
|
|
5
|
-
export {
|
|
2
|
+
export { AutocompleteComponent } from './lib/autocomplete/autocomplete.component';
|
|
3
|
+
export { BreadcrumbItem, LuxBreadcrumbComponent } from './lib/breadcrumb/breadcrumb.component';
|
|
6
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
7
|
export { FilterComponent } from './lib/filter/filter.component';
|
|
8
|
+
export { GeolocationComponent } from './lib/geolocation/geolocation.component';
|
|
8
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';
|
|
9
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';
|
|
10
17
|
export { LuxTooltipDirective } from './lib/tooltip/tooltip.directive';
|
|
11
|
-
export {
|
|
12
|
-
export { RadioItem, RadiogroupComponent } from './lib/radiogroup/radiogroup.component';
|
|
13
|
-
export { ModalRef } from './lib/modal/modal-ref';
|
|
18
|
+
export { VoiceRecognitionDirective } from './lib/voice-recognition/voice-recognition.directive';
|