@metadev/lux 0.26.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/esm2022/lib/autocomplete/autocomplete.component.mjs +488 -0
  4. package/esm2022/lib/autocomplete-list/autocomplete-list.component.mjs +259 -0
  5. package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +78 -0
  6. package/esm2022/lib/checkbox/checkbox.component.mjs +156 -0
  7. package/{esm2020 → esm2022}/lib/datasource.mjs +1 -1
  8. package/esm2022/lib/datetime/datetime.component.mjs +312 -0
  9. package/esm2022/lib/filter/filter.component.mjs +158 -0
  10. package/esm2022/lib/geolocation/geolocation.component.mjs +423 -0
  11. package/esm2022/lib/geolocation/geolocation.service.mjs +123 -0
  12. package/{esm2020 → esm2022}/lib/geolocation/openlayer-loader.service.mjs +62 -62
  13. package/esm2022/lib/helperFns.mjs +118 -0
  14. package/esm2022/lib/input/input.component.mjs +469 -0
  15. package/{esm2020 → esm2022}/lib/input/regexp.service.mjs +195 -195
  16. package/{esm2020 → esm2022}/lib/lang.mjs +8 -8
  17. package/esm2022/lib/lux.module.mjs +119 -0
  18. package/{esm2020 → esm2022}/lib/map/geopoint.mjs +1 -1
  19. package/esm2022/lib/map/map.component.mjs +275 -0
  20. package/esm2022/lib/modal/modal-backdrop.mjs +25 -0
  21. package/esm2022/lib/modal/modal-config.mjs +12 -0
  22. package/{esm2020 → esm2022}/lib/modal/modal-dismiss-reasons.mjs +5 -5
  23. package/esm2022/lib/modal/modal-ref.mjs +101 -0
  24. package/esm2022/lib/modal/modal-stack.mjs +182 -0
  25. package/esm2022/lib/modal/modal-window.mjs +125 -0
  26. package/esm2022/lib/modal/modal.service.mjs +28 -0
  27. package/esm2022/lib/modal/util.mjs +82 -0
  28. package/esm2022/lib/pagination/pagination.component.mjs +144 -0
  29. package/{esm2020 → esm2022}/lib/pagination/pagination.mjs +1 -1
  30. package/esm2022/lib/radiogroup/radiogroup.component.mjs +129 -0
  31. package/esm2022/lib/select/select.component.mjs +148 -0
  32. package/{esm2020 → esm2022}/lib/tooltip/placement.mjs +7 -7
  33. package/{esm2020 → esm2022}/lib/tooltip/tooltip-context.mjs +1 -1
  34. package/esm2022/lib/tooltip/tooltip.component.mjs +24 -0
  35. package/esm2022/lib/tooltip/tooltip.directive.mjs +69 -0
  36. package/esm2022/lib/tooltip/tooltip.service.mjs +137 -0
  37. package/esm2022/lib/tooltip/tooltop-content.mjs +9 -0
  38. package/esm2022/lib/voice-recognition/voice-recognition.directive.mjs +79 -0
  39. package/{esm2020 → esm2022}/lib/window/window.service.mjs +45 -45
  40. package/{esm2020 → esm2022}/metadev-lux.mjs +4 -4
  41. package/{esm2020 → esm2022}/public-api.mjs +20 -20
  42. package/{fesm2020 → fesm2022}/metadev-lux.mjs +4377 -4260
  43. package/fesm2022/metadev-lux.mjs.map +1 -0
  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 +7 -14
  83. package/public-api.d.ts +18 -18
  84. package/esm2020/lib/autocomplete/autocomplete.component.mjs +0 -479
  85. package/esm2020/lib/autocomplete-list/autocomplete-list.component.mjs +0 -254
  86. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +0 -75
  87. package/esm2020/lib/checkbox/checkbox.component.mjs +0 -154
  88. package/esm2020/lib/datetime/datetime.component.mjs +0 -306
  89. package/esm2020/lib/filter/filter.component.mjs +0 -152
  90. package/esm2020/lib/geolocation/geolocation.component.mjs +0 -407
  91. package/esm2020/lib/geolocation/geolocation.service.mjs +0 -120
  92. package/esm2020/lib/helperFns.mjs +0 -117
  93. package/esm2020/lib/input/input.component.mjs +0 -452
  94. package/esm2020/lib/lux.module.mjs +0 -124
  95. package/esm2020/lib/map/map.component.mjs +0 -264
  96. package/esm2020/lib/modal/modal-backdrop.mjs +0 -26
  97. package/esm2020/lib/modal/modal-config.mjs +0 -14
  98. package/esm2020/lib/modal/modal-ref.mjs +0 -91
  99. package/esm2020/lib/modal/modal-stack.mjs +0 -179
  100. package/esm2020/lib/modal/modal-window.mjs +0 -119
  101. package/esm2020/lib/modal/modal.service.mjs +0 -26
  102. package/esm2020/lib/modal/util.mjs +0 -83
  103. package/esm2020/lib/pagination/pagination.component.mjs +0 -137
  104. package/esm2020/lib/radiogroup/radiogroup.component.mjs +0 -130
  105. package/esm2020/lib/select/select.component.mjs +0 -149
  106. package/esm2020/lib/tooltip/tooltip.component.mjs +0 -23
  107. package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -60
  108. package/esm2020/lib/tooltip/tooltip.service.mjs +0 -134
  109. package/esm2020/lib/tooltip/tooltop-content.mjs +0 -7
  110. package/esm2020/lib/voice-recognition/voice-recognition.directive.mjs +0 -73
  111. package/fesm2015/metadev-lux.mjs +0 -4347
  112. package/fesm2015/metadev-lux.mjs.map +0 -1
  113. package/fesm2020/metadev-lux.mjs.map +0 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@metadev/lux" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@metadev/lux" />
5
+ export * from './public-api';
@@ -1,81 +1,81 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { DataSource, DataSourceItem, DecoratedDataSource } from '../datasource';
5
- import * as i0 from "@angular/core";
6
- export declare const LOST_FOCUS_TIME_WINDOW_MS = 200;
7
- export declare class AutocompleteComponent implements ControlValueAccessor, Validator, OnInit, AfterViewInit {
8
- private cd;
9
- static idCounter: number;
10
- i0: ElementRef;
11
- completeDiv: ElementRef;
12
- private _dataSource;
13
- private _placeholder;
14
- private _value;
15
- private lostFocusHandled;
16
- private t0;
17
- showSpinner: boolean;
18
- touched: boolean;
19
- completionList: DecoratedDataSource;
20
- showCompletion: boolean;
21
- focusItem: DataSourceItem<any, string>;
22
- valueChange: EventEmitter<any>;
23
- dataSourceChange: EventEmitter<DataSource<any, string>>;
24
- inputId: string;
25
- disabled: boolean | null;
26
- readonly: boolean | null;
27
- label: string;
28
- /** If canAddNewValues, user can type items not present in the data-source. */
29
- canAddNewValues: boolean;
30
- /** After cleaning the selection should the completion list remain open or closed:
31
- * false: (default) close on filters, to clean a filter and select all.
32
- * true: keep open (when the action most likely is to pick another one).
33
- */
34
- keepOpenAfterDelete: boolean;
35
- get value(): any;
36
- set value(v: any);
37
- get dataSource(): DataSource<any, string>;
38
- set dataSource(v: DataSource<any, string>);
39
- required: boolean;
40
- set placeholder(v: string);
41
- get placeholder(): string;
42
- resolveLabelsFunction?: (instance: any, keys: any[]) => Observable<DataSource<any, string>>;
43
- populateFunction?: (instance: any, search: string) => Observable<DataSource<any, string>>;
44
- instance: any;
45
- constructor(cd: ChangeDetectorRef);
46
- onChange: (value: any) => void;
47
- onTouched: () => void;
48
- writeValue(value: any): void;
49
- registerOnChange(onChange: any): void;
50
- registerOnTouched(onTouched: any): void;
51
- markAsTouched(): void;
52
- setDisabledState(disabled: boolean): void;
53
- registerOnValidatorChange(): void;
54
- validate(control: AbstractControl): ValidationErrors | null;
55
- clear(): void;
56
- private completeLabel;
57
- ngOnInit(): void;
58
- ngAfterViewInit(): void;
59
- onInputResized(): void;
60
- private setSameWidth;
61
- onKeydown(event: KeyboardEvent, label: string): void;
62
- onKeypress(event: KeyboardEvent, label: string): void;
63
- onKeyup(event: KeyboardEvent, label: string): void;
64
- private focusOnNext;
65
- private focusOnPrevious;
66
- onLostFocus(label: string): void;
67
- complete(item: DataSourceItem<Record<string, unknown>, string>): void;
68
- toggleCompletion(show: boolean, label: string): void;
69
- get selectedOption(): string;
70
- private ensureItemVisible;
71
- private syncCustomValue;
72
- /** Pick selection based on text filtering (ingnores drowdown state) */
73
- private pickSelectionOrFirstMatch;
74
- showCompletionList(text: string): void;
75
- private spinnerVisibility;
76
- private hasExternalDataSource;
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, false, never>;
80
- }
81
- export declare const selectElement: (completionList: DecoratedDataSource, label: string) => DataSourceItem<any, string>;
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { DataSource, DataSourceItem, DecoratedDataSource } from '../datasource';
5
+ import * as i0 from "@angular/core";
6
+ export declare const LOST_FOCUS_TIME_WINDOW_MS = 200;
7
+ export declare class AutocompleteComponent implements ControlValueAccessor, Validator, OnInit, AfterViewInit {
8
+ private cd;
9
+ static idCounter: number;
10
+ i0: ElementRef;
11
+ completeDiv: ElementRef;
12
+ private _dataSource;
13
+ private _placeholder;
14
+ private _value;
15
+ private lostFocusHandled;
16
+ private t0;
17
+ showSpinner: boolean;
18
+ touched: boolean;
19
+ completionList: DecoratedDataSource;
20
+ showCompletion: boolean;
21
+ focusItem: DataSourceItem<any, string>;
22
+ valueChange: EventEmitter<any>;
23
+ dataSourceChange: EventEmitter<DataSource<any, string>>;
24
+ inputId: string;
25
+ disabled: boolean | null;
26
+ readonly: boolean | null;
27
+ label: string;
28
+ /** If canAddNewValues, user can type items not present in the data-source. */
29
+ canAddNewValues: boolean;
30
+ /** After cleaning the selection should the completion list remain open or closed:
31
+ * false: (default) close on filters, to clean a filter and select all.
32
+ * true: keep open (when the action most likely is to pick another one).
33
+ */
34
+ keepOpenAfterDelete: boolean;
35
+ get value(): any;
36
+ set value(v: any);
37
+ get dataSource(): DataSource<any, string>;
38
+ set dataSource(v: DataSource<any, string>);
39
+ required: boolean;
40
+ set placeholder(v: string);
41
+ get placeholder(): string;
42
+ resolveLabelsFunction?: (instance: any, keys: any[]) => Observable<DataSource<any, string>>;
43
+ populateFunction?: (instance: any, search: string) => Observable<DataSource<any, string>>;
44
+ instance: any;
45
+ constructor(cd: ChangeDetectorRef);
46
+ onChange: (value: any) => void;
47
+ onTouched: () => void;
48
+ writeValue(value: any): void;
49
+ registerOnChange(onChange: any): void;
50
+ registerOnTouched(onTouched: any): void;
51
+ markAsTouched(): void;
52
+ setDisabledState(disabled: boolean): void;
53
+ registerOnValidatorChange(): void;
54
+ validate(control: AbstractControl): ValidationErrors | null;
55
+ clear(): void;
56
+ private completeLabel;
57
+ ngOnInit(): void;
58
+ ngAfterViewInit(): void;
59
+ onInputResized(): void;
60
+ private setSameWidth;
61
+ onKeydown(event: KeyboardEvent, label: string): void;
62
+ onKeypress(event: KeyboardEvent, label: string): void;
63
+ onKeyup(event: KeyboardEvent, label: string): void;
64
+ private focusOnNext;
65
+ private focusOnPrevious;
66
+ onLostFocus(label: string): void;
67
+ complete(item: DataSourceItem<Record<string, unknown>, string>): void;
68
+ toggleCompletion(show: boolean, label: string): void;
69
+ get selectedOption(): string;
70
+ private ensureItemVisible;
71
+ private syncCustomValue;
72
+ /** Pick selection based on text filtering (ingnores drowdown state) */
73
+ private pickSelectionOrFirstMatch;
74
+ showCompletionList(text: string): void;
75
+ private spinnerVisibility;
76
+ private hasExternalDataSource;
77
+ private computeCompletionList;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "lux-autocomplete", never, { "inputId": { "alias": "inputId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "canAddNewValues": { "alias": "canAddNewValues"; "required": false; }; "keepOpenAfterDelete": { "alias": "keepOpenAfterDelete"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "resolveLabelsFunction": { "alias": "resolveLabelsFunction"; "required": false; }; "populateFunction": { "alias": "populateFunction"; "required": false; }; "instance": { "alias": "instance"; "required": false; }; }, { "valueChange": "valueChange"; "dataSourceChange": "dataSourceChange"; }, never, never, false, never>;
80
+ }
81
+ export declare const selectElement: (completionList: DecoratedDataSource, label: string) => DataSourceItem<any, string>;
@@ -1,65 +1,65 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { AutocompleteComponent } from '../autocomplete/autocomplete.component';
5
- import { DataSource } from '../datasource';
6
- import * as i0 from "@angular/core";
7
- export declare class AutocompleteListComponent implements ControlValueAccessor, Validator, OnInit {
8
- static idCounter: number;
9
- auto: AutocompleteListComponent;
10
- literals: {
11
- en: {
12
- placeholder: string;
13
- deleteLabelTemplate: string;
14
- addMessage: string;
15
- };
16
- es: {
17
- placeholder: string;
18
- deleteLabelTemplate: string;
19
- addMessage: string;
20
- };
21
- };
22
- internalDataSource: DataSource<any, string>;
23
- private autoPopulate;
24
- private _value;
25
- set value(val: any[]);
26
- get value(): any[];
27
- labels: string[];
28
- newEntry: any;
29
- canAdd: boolean;
30
- touched: boolean;
31
- private _lang;
32
- get lang(): string;
33
- set lang(l: string);
34
- inputId: string;
35
- dataSource: DataSource<any, any>;
36
- placeholder?: string;
37
- disabled: boolean;
38
- deleteLabelTemplate?: string;
39
- addMessage?: string;
40
- required: boolean;
41
- resolveLabelsFunction?: (instance: any, ids: any[]) => Observable<DataSource<any, string>>;
42
- populateFunction?: (instance: any, search: string) => Observable<DataSource<any, string>>;
43
- instance: any;
44
- valueChange: EventEmitter<any[]>;
45
- onChange: (value: any) => void;
46
- onTouched: () => void;
47
- writeValue(value: any): void;
48
- registerOnChange(onChange: any): void;
49
- registerOnTouched(onTouched: any): void;
50
- markAsTouched(): void;
51
- setDisabledState(disabled: boolean): void;
52
- registerOnValidatorChange(): void;
53
- validate(control: AbstractControl): ValidationErrors | null;
54
- ngOnInit(): void;
55
- ensureLabelsForIds(): void;
56
- removeAt(index: number): void;
57
- onValueChange(): void;
58
- onNewEntryChange(event: KeyboardEvent, auto: AutocompleteComponent): void;
59
- populateWith(searchText: string): void;
60
- updateCanAdd(): void;
61
- addNew(auto: AutocompleteComponent): void;
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, false, never>;
65
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { AutocompleteComponent } from '../autocomplete/autocomplete.component';
5
+ import { DataSource } from '../datasource';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AutocompleteListComponent implements ControlValueAccessor, Validator, OnInit {
8
+ static idCounter: number;
9
+ auto: AutocompleteListComponent;
10
+ literals: {
11
+ en: {
12
+ placeholder: string;
13
+ deleteLabelTemplate: string;
14
+ addMessage: string;
15
+ };
16
+ es: {
17
+ placeholder: string;
18
+ deleteLabelTemplate: string;
19
+ addMessage: string;
20
+ };
21
+ };
22
+ internalDataSource: DataSource<any, string>;
23
+ private autoPopulate;
24
+ private _value;
25
+ set value(val: any[]);
26
+ get value(): any[];
27
+ labels: string[];
28
+ newEntry: any;
29
+ canAdd: boolean;
30
+ touched: boolean;
31
+ private _lang;
32
+ get lang(): string;
33
+ set lang(l: string);
34
+ inputId: string;
35
+ dataSource: DataSource<any, any>;
36
+ placeholder?: string;
37
+ disabled: boolean;
38
+ deleteLabelTemplate?: string;
39
+ addMessage?: string;
40
+ required: boolean;
41
+ resolveLabelsFunction?: (instance: any, ids: any[]) => Observable<DataSource<any, string>>;
42
+ populateFunction?: (instance: any, search: string) => Observable<DataSource<any, string>>;
43
+ instance: any;
44
+ valueChange: EventEmitter<any[]>;
45
+ onChange: (value: any) => void;
46
+ onTouched: () => void;
47
+ writeValue(value: any): void;
48
+ registerOnChange(onChange: any): void;
49
+ registerOnTouched(onTouched: any): void;
50
+ markAsTouched(): void;
51
+ setDisabledState(disabled: boolean): void;
52
+ registerOnValidatorChange(): void;
53
+ validate(control: AbstractControl): ValidationErrors | null;
54
+ ngOnInit(): void;
55
+ ensureLabelsForIds(): void;
56
+ removeAt(index: number): void;
57
+ onValueChange(): void;
58
+ onNewEntryChange(event: KeyboardEvent, auto: AutocompleteComponent): void;
59
+ populateWith(searchText: string): void;
60
+ updateCanAdd(): void;
61
+ addNew(auto: AutocompleteComponent): void;
62
+ getDeleteMessage(label: string): string;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteListComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteListComponent, "lux-autocomplete-list", never, { "value": { "alias": "value"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "deleteLabelTemplate": { "alias": "deleteLabelTemplate"; "required": false; }; "addMessage": { "alias": "addMessage"; "required": false; }; "required": { "alias": "required"; "required": false; }; "resolveLabelsFunction": { "alias": "resolveLabelsFunction"; "required": false; }; "populateFunction": { "alias": "populateFunction"; "required": false; }; "instance": { "alias": "instance"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
65
+ }
@@ -1,22 +1,22 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { Router, ActivatedRoute } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export interface BreadcrumbItem {
5
- label: string;
6
- url: string;
7
- }
8
- export declare class LuxBreadcrumbComponent implements OnInit, OnDestroy {
9
- private route;
10
- private activedRoute;
11
- breadcrumbs: BreadcrumbItem[];
12
- private subs;
13
- imagePath: string;
14
- constructor(route: Router, activedRoute: ActivatedRoute);
15
- ngOnInit(): void;
16
- ngOnDestroy(): void;
17
- private addBreadcrumbs;
18
- private getUrl;
19
- private getLabel;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<LuxBreadcrumbComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<LuxBreadcrumbComponent, "lux-breadcrumb", never, {}, {}, never, never, false, never>;
22
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ export interface BreadcrumbItem {
5
+ label: string;
6
+ url: string;
7
+ }
8
+ export declare class LuxBreadcrumbComponent implements OnInit, OnDestroy {
9
+ private route;
10
+ private activedRoute;
11
+ breadcrumbs: BreadcrumbItem[];
12
+ private subs;
13
+ imagePath: string;
14
+ constructor(route: Router, activedRoute: ActivatedRoute);
15
+ ngOnInit(): void;
16
+ ngOnDestroy(): void;
17
+ private addBreadcrumbs;
18
+ private getUrl;
19
+ private getLabel;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuxBreadcrumbComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuxBreadcrumbComponent, "lux-breadcrumb", never, {}, {}, never, never, false, never>;
22
+ }
@@ -1,47 +1,47 @@
1
- import { EventEmitter, OnInit, ElementRef, AfterViewInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterViewInit {
5
- static idCounter: number;
6
- ck: ElementRef;
7
- private _lang;
8
- set lang(l: string);
9
- get lang(): string;
10
- private internalValue;
11
- get value(): boolean;
12
- set value(v: boolean);
13
- get tabindexValue(): string;
14
- label: string;
15
- name: string;
16
- private _disabled;
17
- get disabled(): boolean;
18
- set disabled(v: boolean);
19
- inputId: string;
20
- literals: {
21
- en: {
22
- yesLabel: string;
23
- noLabel: string;
24
- };
25
- es: {
26
- yesLabel: string;
27
- noLabel: string;
28
- };
29
- };
30
- touched: boolean;
31
- valueChange: EventEmitter<boolean>;
32
- constructor();
33
- onChange: (value: any) => void;
34
- onTouched: () => void;
35
- writeValue(value: any): void;
36
- registerOnChange(onChange: any): void;
37
- registerOnTouched(onTouched: any): void;
38
- markAsTouched(): void;
39
- setDisabledState(disabled: boolean): void;
40
- ngOnInit(): void;
41
- ngAfterViewInit(): void;
42
- clicked(): void;
43
- onKey(event: KeyboardEvent): void;
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, false, never>;
47
- }
1
+ import { EventEmitter, OnInit, ElementRef, AfterViewInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterViewInit {
5
+ static idCounter: number;
6
+ ck: ElementRef;
7
+ private _lang;
8
+ set lang(l: string);
9
+ get lang(): string;
10
+ private internalValue;
11
+ get value(): boolean;
12
+ set value(v: boolean);
13
+ get tabindexValue(): string;
14
+ label: string;
15
+ name: string;
16
+ private _disabled;
17
+ get disabled(): boolean;
18
+ set disabled(v: boolean);
19
+ inputId: string;
20
+ literals: {
21
+ en: {
22
+ yesLabel: string;
23
+ noLabel: string;
24
+ };
25
+ es: {
26
+ yesLabel: string;
27
+ noLabel: string;
28
+ };
29
+ };
30
+ touched: boolean;
31
+ valueChange: EventEmitter<boolean>;
32
+ constructor();
33
+ onChange: (value: any) => void;
34
+ onTouched: () => void;
35
+ writeValue(value: any): void;
36
+ registerOnChange(onChange: any): void;
37
+ registerOnTouched(onTouched: any): void;
38
+ markAsTouched(): void;
39
+ setDisabledState(disabled: boolean): void;
40
+ ngOnInit(): void;
41
+ ngAfterViewInit(): void;
42
+ clicked(): void;
43
+ onKey(event: KeyboardEvent): void;
44
+ private syncModel;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "lux-checkbox", never, { "lang": { "alias": "lang"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
47
+ }
@@ -1,13 +1,13 @@
1
- export interface DataSourceItem<K, L> {
2
- key: K;
3
- label: L;
4
- }
5
- export type DataSource<K, L> = DataSourceItem<K, L>[];
6
- export interface DecoratedDataSourceItem {
7
- key: any;
8
- label: string;
9
- labelPrefix: string;
10
- labelMatch: string;
11
- labelPostfix: string;
12
- }
13
- export type DecoratedDataSource = DecoratedDataSourceItem[];
1
+ export interface DataSourceItem<K, L> {
2
+ key: K;
3
+ label: L;
4
+ }
5
+ export type DataSource<K, L> = DataSourceItem<K, L>[];
6
+ export interface DecoratedDataSourceItem {
7
+ key: any;
8
+ label: string;
9
+ labelPrefix: string;
10
+ labelMatch: string;
11
+ labelPostfix: string;
12
+ }
13
+ export type DecoratedDataSource = DecoratedDataSourceItem[];
@@ -1,69 +1,69 @@
1
- import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
- import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validator {
5
- static idCounter: number;
6
- dateInput: ElementRef;
7
- timeInput: ElementRef;
8
- touched: boolean;
9
- dirty: boolean;
10
- lastErrors: ValidationErrors | null;
11
- private _disabled;
12
- private _required;
13
- private _value;
14
- dateValue?: string;
15
- timeValue?: string;
16
- userErrors: {
17
- en: {
18
- required: string;
19
- min: string;
20
- max: string;
21
- };
22
- es: {
23
- required: string;
24
- min: string;
25
- max: string;
26
- };
27
- };
28
- min?: string;
29
- max?: string;
30
- includeSeconds: boolean;
31
- localTime: boolean;
32
- get className(): string;
33
- lang: string;
34
- inlineErrors: boolean;
35
- inputId: string;
36
- ariaLabel: string;
37
- readonly: boolean | null;
38
- set disabled(v: string | boolean);
39
- get disabled(): string | boolean;
40
- set required(v: boolean);
41
- get required(): boolean;
42
- set value(v: string);
43
- get value(): string;
44
- valueChange: EventEmitter<any>;
45
- keyPress: EventEmitter<KeyboardEvent>;
46
- onChange: (_value: any) => void;
47
- onTouched: () => void;
48
- constructor();
49
- writeValue(value: any): void;
50
- registerOnChange(onChange: any): void;
51
- registerOnTouched(onTouched: any): void;
52
- markAsTouched(): void;
53
- setDisabledState(disabled: boolean): void;
54
- private setDateInControl;
55
- private setTimeInControl;
56
- private setValueInControl;
57
- clear(): void;
58
- isClearable(): boolean;
59
- registerOnValidatorChange(): void;
60
- validate(control: AbstractControl): ValidationErrors | null;
61
- ngOnInit(): void;
62
- onLostFocus(): void;
63
- onKeyPress(event: KeyboardEvent): void;
64
- onEventDatetime(newDate: string, newTime: string): void;
65
- checkClassName(): string;
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, false, never>;
69
- }
1
+ import { EventEmitter, OnInit, ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor, AbstractControl, ValidationErrors, Validator } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validator {
5
+ static idCounter: number;
6
+ dateInput: ElementRef;
7
+ timeInput: ElementRef;
8
+ touched: boolean;
9
+ dirty: boolean;
10
+ lastErrors: ValidationErrors | null;
11
+ private _disabled;
12
+ private _required;
13
+ private _value;
14
+ dateValue?: string;
15
+ timeValue?: string;
16
+ userErrors: {
17
+ en: {
18
+ required: string;
19
+ min: string;
20
+ max: string;
21
+ };
22
+ es: {
23
+ required: string;
24
+ min: string;
25
+ max: string;
26
+ };
27
+ };
28
+ min?: string;
29
+ max?: string;
30
+ includeSeconds: boolean;
31
+ localTime: boolean;
32
+ get className(): string;
33
+ lang: string;
34
+ inlineErrors: boolean;
35
+ inputId: string;
36
+ ariaLabel: string;
37
+ readonly: boolean | null;
38
+ set disabled(v: string | boolean);
39
+ get disabled(): string | boolean;
40
+ set required(v: boolean);
41
+ get required(): boolean;
42
+ set value(v: string);
43
+ get value(): string;
44
+ valueChange: EventEmitter<any>;
45
+ keyPress: EventEmitter<KeyboardEvent>;
46
+ onChange: (_value: any) => void;
47
+ onTouched: () => void;
48
+ constructor();
49
+ writeValue(value: any): void;
50
+ registerOnChange(onChange: any): void;
51
+ registerOnTouched(onTouched: any): void;
52
+ markAsTouched(): void;
53
+ setDisabledState(disabled: boolean): void;
54
+ private setDateInControl;
55
+ private setTimeInControl;
56
+ private setValueInControl;
57
+ clear(): void;
58
+ isClearable(): boolean;
59
+ registerOnValidatorChange(): void;
60
+ validate(control: AbstractControl): ValidationErrors | null;
61
+ ngOnInit(): void;
62
+ onLostFocus(): void;
63
+ onKeyPress(event: KeyboardEvent): void;
64
+ onEventDatetime(newDate: string, newTime: string): void;
65
+ checkClassName(): string;
66
+ setPatterns(): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "lux-datetime", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "includeSeconds": { "alias": "includeSeconds"; "required": false; }; "localTime": { "alias": "localTime"; "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; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "keyPress": "keyPress"; }, never, never, false, never>;
69
+ }