@metadev/lux 0.27.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.
Files changed (83) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/esm2022/lib/autocomplete/autocomplete.component.mjs +488 -488
  4. package/esm2022/lib/autocomplete-list/autocomplete-list.component.mjs +258 -258
  5. package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +77 -77
  6. package/esm2022/lib/checkbox/checkbox.component.mjs +156 -156
  7. package/esm2022/lib/datasource.mjs +1 -1
  8. package/esm2022/lib/datetime/datetime.component.mjs +312 -312
  9. package/esm2022/lib/filter/filter.component.mjs +158 -158
  10. package/esm2022/lib/geolocation/geolocation.component.mjs +423 -423
  11. package/esm2022/lib/geolocation/geolocation.service.mjs +122 -122
  12. package/esm2022/lib/geolocation/openlayer-loader.service.mjs +61 -61
  13. package/esm2022/lib/helperFns.mjs +117 -117
  14. package/esm2022/lib/input/input.component.mjs +469 -469
  15. package/esm2022/lib/input/regexp.service.mjs +194 -194
  16. package/esm2022/lib/lang.mjs +8 -8
  17. package/esm2022/lib/lux.module.mjs +118 -118
  18. package/esm2022/lib/map/geopoint.mjs +1 -1
  19. package/esm2022/lib/map/map.component.mjs +275 -275
  20. package/esm2022/lib/modal/modal-backdrop.mjs +24 -24
  21. package/esm2022/lib/modal/modal-config.mjs +11 -11
  22. package/esm2022/lib/modal/modal-dismiss-reasons.mjs +5 -5
  23. package/esm2022/lib/modal/modal-ref.mjs +100 -100
  24. package/esm2022/lib/modal/modal-stack.mjs +181 -181
  25. package/esm2022/lib/modal/modal-window.mjs +118 -118
  26. package/esm2022/lib/modal/modal.service.mjs +27 -27
  27. package/esm2022/lib/modal/util.mjs +81 -81
  28. package/esm2022/lib/pagination/pagination.component.mjs +144 -144
  29. package/esm2022/lib/pagination/pagination.mjs +1 -1
  30. package/esm2022/lib/radiogroup/radiogroup.component.mjs +129 -129
  31. package/esm2022/lib/select/select.component.mjs +148 -148
  32. package/esm2022/lib/tooltip/placement.mjs +7 -7
  33. package/esm2022/lib/tooltip/tooltip-context.mjs +1 -1
  34. package/esm2022/lib/tooltip/tooltip.component.mjs +21 -21
  35. package/esm2022/lib/tooltip/tooltip.directive.mjs +69 -69
  36. package/esm2022/lib/tooltip/tooltip.service.mjs +136 -136
  37. package/esm2022/lib/tooltip/tooltop-content.mjs +8 -8
  38. package/esm2022/lib/voice-recognition/voice-recognition.directive.mjs +79 -79
  39. package/esm2022/lib/window/window.service.mjs +45 -45
  40. package/esm2022/metadev-lux.mjs +4 -4
  41. package/esm2022/public-api.mjs +20 -20
  42. package/fesm2022/metadev-lux.mjs +4372 -4372
  43. package/fesm2022/metadev-lux.mjs.map +1 -1
  44. package/index.d.ts +5 -5
  45. package/lib/autocomplete/autocomplete.component.d.ts +81 -81
  46. package/lib/autocomplete-list/autocomplete-list.component.d.ts +65 -65
  47. package/lib/breadcrumb/breadcrumb.component.d.ts +22 -22
  48. package/lib/checkbox/checkbox.component.d.ts +47 -47
  49. package/lib/datasource.d.ts +13 -13
  50. package/lib/datetime/datetime.component.d.ts +69 -69
  51. package/lib/filter/filter.component.d.ts +51 -51
  52. package/lib/geolocation/geolocation.component.d.ts +123 -123
  53. package/lib/geolocation/geolocation.service.d.ts +32 -32
  54. package/lib/geolocation/openlayer-loader.service.d.ts +7 -7
  55. package/lib/helperFns.d.ts +15 -15
  56. package/lib/input/input.component.d.ts +108 -108
  57. package/lib/input/regexp.service.d.ts +15 -15
  58. package/lib/lang.d.ts +2 -2
  59. package/lib/lux.module.d.ts +27 -27
  60. package/lib/map/geopoint.d.ts +7 -7
  61. package/lib/map/map.component.d.ts +39 -39
  62. package/lib/modal/modal-backdrop.d.ts +8 -8
  63. package/lib/modal/modal-config.d.ts +14 -14
  64. package/lib/modal/modal-dismiss-reasons.d.ts +4 -4
  65. package/lib/modal/modal-ref.d.ts +41 -41
  66. package/lib/modal/modal-stack.d.ts +31 -31
  67. package/lib/modal/modal-window.d.ts +28 -28
  68. package/lib/modal/modal.service.d.ts +19 -19
  69. package/lib/modal/util.d.ts +40 -40
  70. package/lib/pagination/pagination.component.d.ts +52 -52
  71. package/lib/pagination/pagination.d.ts +10 -10
  72. package/lib/radiogroup/radiogroup.component.d.ts +37 -37
  73. package/lib/select/select.component.d.ts +38 -38
  74. package/lib/tooltip/placement.d.ts +7 -7
  75. package/lib/tooltip/tooltip-context.d.ts +3 -3
  76. package/lib/tooltip/tooltip.component.d.ts +11 -11
  77. package/lib/tooltip/tooltip.directive.d.ts +27 -27
  78. package/lib/tooltip/tooltip.service.d.ts +20 -20
  79. package/lib/tooltip/tooltop-content.d.ts +6 -6
  80. package/lib/voice-recognition/voice-recognition.directive.d.ts +16 -16
  81. package/lib/window/window.service.d.ts +11 -11
  82. package/package.json +3 -4
  83. package/public-api.d.ts +18 -18
@@ -1,108 +1,108 @@
1
- import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
- import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
3
- import { RegexpService } from './regexp.service';
4
- import * as i0 from "@angular/core";
5
- export declare class InputComponent implements OnInit, ControlValueAccessor, Validator {
6
- regexpService: RegexpService;
7
- static idCounter: number;
8
- input: ElementRef;
9
- textarea: ElementRef;
10
- colorpicker: ElementRef;
11
- touched: boolean;
12
- dirty: boolean;
13
- lastErrors: ValidationErrors | null;
14
- private _disabled;
15
- private _value;
16
- private _type;
17
- private _placeholder;
18
- private _pattern?;
19
- private _regexp?;
20
- private _currency;
21
- private _required;
22
- userErrors: {
23
- en: {
24
- required: string;
25
- min: string;
26
- max: string;
27
- email: string;
28
- url: string;
29
- color: string;
30
- };
31
- es: {
32
- required: string;
33
- min: string;
34
- max: string;
35
- email: string;
36
- url: string;
37
- color: string;
38
- };
39
- };
40
- domain: string;
41
- rows?: number | string;
42
- cols?: number | string;
43
- step?: number;
44
- min?: number | string;
45
- max?: number | string;
46
- get className(): string;
47
- get color(): string;
48
- lang: string;
49
- inlineErrors: boolean;
50
- inputId: string;
51
- ariaLabel: string;
52
- readonly: boolean | null;
53
- set disabled(v: string | boolean);
54
- get disabled(): string | boolean;
55
- set pattern(p: string | undefined);
56
- get pattern(): string | undefined;
57
- set currency(v: string);
58
- get currency(): string;
59
- set placeholder(v: string);
60
- get placeholder(): string;
61
- set required(v: boolean);
62
- get required(): boolean;
63
- set type(v: string);
64
- get type(): string;
65
- set value(v: any);
66
- get value(): any;
67
- valueChange: EventEmitter<any>;
68
- keyPress: EventEmitter<KeyboardEvent>;
69
- onChange: (value: any) => void;
70
- onTouched: () => void;
71
- constructor(regexpService: RegexpService);
72
- writeValue(value: any): void;
73
- registerOnChange(onChange: any): void;
74
- registerOnTouched(onTouched: any): void;
75
- markAsTouched(): void;
76
- setDisabledState(disabled: boolean): void;
77
- private setValueInControl;
78
- registerOnValidatorChange(): void;
79
- validate(control: AbstractControl): ValidationErrors | null;
80
- ngOnInit(): void;
81
- onLostFocus(): void;
82
- onKeyUp(newValue: string): void;
83
- onChangeValue(newValue: string): void;
84
- onKeyPress(event: KeyboardEvent): void;
85
- onColorPicked(newValue: string): void;
86
- isUrl(): boolean;
87
- isColor(): boolean;
88
- isNumber(): boolean;
89
- isPercentage(): boolean;
90
- isPermillage(): boolean;
91
- hasPrefix(): boolean;
92
- hasPostfix(): boolean;
93
- checkClassName(): string;
94
- checkColor(): string;
95
- checkType(type: string): void;
96
- setEmailPatterns(): void;
97
- setUrlPatterns(): void;
98
- setColorPatterns(): void;
99
- setDatePatterns(): void;
100
- setTimePatterns(): void;
101
- setPasswordPatterns(): void;
102
- setNumberPatterns(): void;
103
- setCurrencyPatterns(): void;
104
- setPercentagePatterns(): void;
105
- setPermillagePatterns(): void;
106
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "lux-input", never, { "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "inlineErrors": { "alias": "inlineErrors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never, false, never>;
108
- }
1
+ import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
3
+ import { RegexpService } from './regexp.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InputComponent implements OnInit, ControlValueAccessor, Validator {
6
+ regexpService: RegexpService;
7
+ static idCounter: number;
8
+ input: ElementRef;
9
+ textarea: ElementRef;
10
+ colorpicker: ElementRef;
11
+ touched: boolean;
12
+ dirty: boolean;
13
+ lastErrors: ValidationErrors | null;
14
+ private _disabled;
15
+ private _value;
16
+ private _type;
17
+ private _placeholder;
18
+ private _pattern?;
19
+ private _regexp?;
20
+ private _currency;
21
+ private _required;
22
+ userErrors: {
23
+ en: {
24
+ required: string;
25
+ min: string;
26
+ max: string;
27
+ email: string;
28
+ url: string;
29
+ color: string;
30
+ };
31
+ es: {
32
+ required: string;
33
+ min: string;
34
+ max: string;
35
+ email: string;
36
+ url: string;
37
+ color: string;
38
+ };
39
+ };
40
+ domain: string;
41
+ rows?: number | string;
42
+ cols?: number | string;
43
+ step?: number;
44
+ min?: number | string;
45
+ max?: number | string;
46
+ get className(): string;
47
+ get color(): string;
48
+ lang: string;
49
+ inlineErrors: boolean;
50
+ inputId: string;
51
+ ariaLabel: string;
52
+ readonly: boolean | null;
53
+ set disabled(v: string | boolean);
54
+ get disabled(): string | boolean;
55
+ set pattern(p: string | undefined);
56
+ get pattern(): string | undefined;
57
+ set currency(v: string);
58
+ get currency(): string;
59
+ set placeholder(v: string);
60
+ get placeholder(): string;
61
+ set required(v: boolean);
62
+ get required(): boolean;
63
+ set type(v: string);
64
+ get type(): string;
65
+ set value(v: any);
66
+ get value(): any;
67
+ valueChange: EventEmitter<any>;
68
+ keyPress: EventEmitter<KeyboardEvent>;
69
+ onChange: (value: any) => void;
70
+ onTouched: () => void;
71
+ constructor(regexpService: RegexpService);
72
+ writeValue(value: any): void;
73
+ registerOnChange(onChange: any): void;
74
+ registerOnTouched(onTouched: any): void;
75
+ markAsTouched(): void;
76
+ setDisabledState(disabled: boolean): void;
77
+ private setValueInControl;
78
+ registerOnValidatorChange(): void;
79
+ validate(control: AbstractControl): ValidationErrors | null;
80
+ ngOnInit(): void;
81
+ onLostFocus(): void;
82
+ onKeyUp(newValue: string): void;
83
+ onChangeValue(newValue: string): void;
84
+ onKeyPress(event: KeyboardEvent): void;
85
+ onColorPicked(newValue: string): void;
86
+ isUrl(): boolean;
87
+ isColor(): boolean;
88
+ isNumber(): boolean;
89
+ isPercentage(): boolean;
90
+ isPermillage(): boolean;
91
+ hasPrefix(): boolean;
92
+ hasPostfix(): boolean;
93
+ checkClassName(): string;
94
+ checkColor(): string;
95
+ checkType(type: string): void;
96
+ setEmailPatterns(): void;
97
+ setUrlPatterns(): void;
98
+ setColorPatterns(): void;
99
+ setDatePatterns(): void;
100
+ setTimePatterns(): void;
101
+ setPasswordPatterns(): void;
102
+ setNumberPatterns(): void;
103
+ setCurrencyPatterns(): void;
104
+ setPercentagePatterns(): void;
105
+ setPermillagePatterns(): void;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "lux-input", never, { "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "inlineErrors": { "alias": "inlineErrors"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never, false, never>;
108
+ }
@@ -1,15 +1,15 @@
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
- }
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 CHANGED
@@ -1,2 +1,2 @@
1
- /** Language detector based on Navigator preferences */
2
- export declare const languageDetector: () => string;
1
+ /** Language detector based on Navigator preferences */
2
+ export declare const languageDetector: () => string;
@@ -1,27 +1,27 @@
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
+ 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 +1,7 @@
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
+ /** 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 +1,39 @@
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
+ 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 +1,8 @@
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
+ 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 +1,14 @@
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
+ 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 +1,4 @@
1
- export declare enum ModalDismissReasons {
2
- BackdropClick = 0,
3
- Esc = 1
4
- }
1
+ export declare enum ModalDismissReasons {
2
+ BackdropClick = 0,
3
+ Esc = 1
4
+ }
@@ -1,41 +1,41 @@
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
+ 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 +1,31 @@
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
+ 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
+ }