ecabs-components 2.0.0-alpha.3 → 2.0.0-alpha.6

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 (112) hide show
  1. package/README.md +136 -83
  2. package/fesm2022/ecabs-components.mjs +3076 -1091
  3. package/fesm2022/ecabs-components.mjs.map +1 -1
  4. package/lib/base/consts/buttons.consts.d.ts +2 -0
  5. package/lib/base/consts/input.consts.d.ts +1 -0
  6. package/lib/base/directives/date-mask.directive.d.ts +6 -7
  7. package/lib/base/directives/digits-only.directive.d.ts +13 -2
  8. package/lib/base/directives/time-mask.directive.d.ts +2 -3
  9. package/lib/base/directives/time-range.directive.d.ts +1 -2
  10. package/lib/base/models/element.models.d.ts +0 -5
  11. package/lib/base/models/phone.models.d.ts +8 -1
  12. package/lib/base/models/select.models.d.ts +6 -2
  13. package/lib/base/models/sidebar.models.d.ts +10 -5
  14. package/lib/base/models/waypoint.models.d.ts +30 -0
  15. package/lib/base/pipes/phone-number-country-code.pipe.d.ts +8 -0
  16. package/lib/base/pipes/separator-append.pipe.d.ts +7 -0
  17. package/lib/base/utils/object-utils.d.ts +1 -0
  18. package/lib/base/utils/phone-number.utils.d.ts +7 -0
  19. package/lib/base/utils/select.utils.d.ts +2 -0
  20. package/lib/base/utils/time-mask.util.d.ts +3 -0
  21. package/lib/ecabs-button-toggle/ecabs-button-toggle.component.d.ts +25 -0
  22. package/lib/ecabs-button-toggle/ecabs-button-toggle.module.d.ts +9 -0
  23. package/lib/ecabs-buttons-v2/ecabs-buttons-v2.component.d.ts +23 -0
  24. package/lib/ecabs-buttons-v2/ecabs-buttons-v2.module.d.ts +11 -0
  25. package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.component.d.ts +30 -0
  26. package/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.module.d.ts +12 -0
  27. package/lib/ecabs-chip-autocomplete/ecabs-chip-autocomplete.component.d.ts +56 -0
  28. package/lib/ecabs-chip-group/ecabs-chip-group.component.d.ts +24 -0
  29. package/lib/ecabs-chip-group/ecabs-chip-group.module.d.ts +12 -0
  30. package/lib/ecabs-date-range-picker-v2/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component.d.ts +9 -0
  31. package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.component.d.ts +69 -0
  32. package/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.module.d.ts +21 -0
  33. package/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.d.ts +4 -2
  34. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +1 -0
  35. package/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.d.ts +2 -1
  36. package/lib/ecabs-input/ecabs-input.component.d.ts +12 -4
  37. package/lib/ecabs-input-range/ecabs-input-range.component.d.ts +44 -0
  38. package/lib/ecabs-input-range/ecabs-input-range.module.d.ts +13 -0
  39. package/lib/ecabs-phone/ecabs-phone.module.d.ts +5 -4
  40. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.component.d.ts +64 -0
  41. package/lib/ecabs-place-autocomplete-v2/ecabs-place-autocomplete-v2.module.d.ts +13 -0
  42. package/lib/ecabs-segment/ecabs-segment.component.d.ts +8 -0
  43. package/lib/ecabs-select/ecabs-select.component.d.ts +7 -13
  44. package/lib/ecabs-select/ecabs-select.module.d.ts +5 -4
  45. package/lib/ecabs-select-icon/ecabs-select-icon.component.d.ts +8 -0
  46. package/lib/ecabs-select-icon/ecabs-select-icon.module.d.ts +9 -0
  47. package/lib/ecabs-select-v2/ecabs-select-v2.component.d.ts +25 -25
  48. package/lib/ecabs-select-v2/ecabs-select-v2.module.d.ts +2 -1
  49. package/lib/ecabs-table/ecabs-table.component.d.ts +4 -1
  50. package/lib/ecabs-time-range-input-v2/config.model.d.ts +5 -0
  51. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.component.d.ts +52 -0
  52. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.module.d.ts +11 -0
  53. package/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.service.d.ts +12 -0
  54. package/lib/ecabs-timepicker/ecabs-timepicker.component.d.ts +0 -5
  55. package/package.json +20 -19
  56. package/public-api.d.ts +25 -0
  57. package/src/assets/styles/material/_theme.scss +17 -12
  58. package/src/assets/styles/material/overrides/_autocomplete.scss +27 -0
  59. package/src/assets/styles/material/overrides/_button.scss +95 -10
  60. package/src/assets/styles/material/overrides/_card.scss +43 -2
  61. package/src/assets/styles/material/overrides/_chip.scss +118 -1
  62. package/src/assets/styles/material/overrides/_datepicker.scss +33 -7
  63. package/src/assets/styles/material/overrides/_dialog.scss +4 -1
  64. package/src/assets/styles/material/overrides/_divider.scss +5 -2
  65. package/src/assets/styles/material/overrides/_expansion.scss +11 -6
  66. package/src/assets/styles/material/overrides/_form.scss +15 -2
  67. package/src/assets/styles/material/overrides/_icon.scss +6 -0
  68. package/src/assets/styles/material/overrides/_menu.scss +7 -1
  69. package/src/assets/styles/material/overrides/_paginator.scss +16 -12
  70. package/src/assets/styles/material/overrides/_phone.scss +18 -12
  71. package/src/assets/styles/material/overrides/_progress.scss +1 -1
  72. package/src/assets/styles/material/overrides/_select.scss +73 -47
  73. package/src/assets/styles/material/overrides/_sidebar.scss +3 -1
  74. package/src/assets/styles/material/overrides/_tab.scss +27 -1
  75. package/src/assets/styles/material/overrides/_table.scss +5 -1
  76. package/src/assets/styles/material/overrides/_toaster.scss +1 -0
  77. package/src/assets/styles/material/overrides/_toggle.scss +11 -2
  78. package/src/assets/styles/material/overrides/_tooltip.scss +1 -0
  79. package/src/assets/styles/material/overrides/index.scss +22 -22
  80. package/src/assets/styles/scss/base/_heading.scss +11 -8
  81. package/src/assets/styles/scss/base/_normalize.scss +19 -24
  82. package/src/assets/styles/scss/base/index.scss +2 -2
  83. package/src/assets/styles/scss/modules/_autocomplete.scss +26 -8
  84. package/src/assets/styles/scss/modules/_button.scss +105 -49
  85. package/src/assets/styles/scss/modules/_card.scss +39 -11
  86. package/src/assets/styles/scss/modules/_chip.scss +36 -20
  87. package/src/assets/styles/scss/modules/_datepicker.scss +7 -4
  88. package/src/assets/styles/scss/modules/_dialog.scss +10 -6
  89. package/src/assets/styles/scss/modules/_divider.scss +2 -1
  90. package/src/assets/styles/scss/modules/_form.scss +209 -56
  91. package/src/assets/styles/scss/modules/_icon.scss +6 -2
  92. package/src/assets/styles/scss/modules/_legend.scss +21 -15
  93. package/src/assets/styles/scss/modules/_list.scss +9 -6
  94. package/src/assets/styles/scss/modules/_map.scss +27 -22
  95. package/src/assets/styles/scss/modules/_phone.scss +11 -13
  96. package/src/assets/styles/scss/modules/_select.scss +9 -5
  97. package/src/assets/styles/scss/modules/_statuses.scss +13 -8
  98. package/src/assets/styles/scss/modules/_tab.scss +3 -1
  99. package/src/assets/styles/scss/modules/_table.scss +26 -20
  100. package/src/assets/styles/scss/modules/_timepicker.scss +11 -7
  101. package/src/assets/styles/scss/modules/_tooltip.scss +7 -3
  102. package/src/assets/styles/scss/modules/drag-drop.scss +13 -9
  103. package/src/assets/styles/scss/modules/index.scss +23 -23
  104. package/src/assets/styles/scss/utilities/_colors.scss +20 -16
  105. package/src/assets/styles/scss/utilities/_fonts.scss +6 -1
  106. package/src/assets/styles/scss/utilities/_functions.scss +4 -3
  107. package/src/assets/styles/scss/utilities/_mixins.scss +43 -6
  108. package/src/assets/styles/scss/utilities/_variables.scss +14 -0
  109. package/src/assets/styles/scss/utilities/index.scss +6 -6
  110. package/src/assets/styles/styles.scss +5 -26
  111. package/src/assets/styles/tailwind/index.scss +2 -2
  112. package/lib/base/consts/date-mask.consts.d.ts +0 -7
@@ -1,23 +1,28 @@
1
- import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, Injector, OnInit } from '@angular/core';
1
+ import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, Injector, OnInit, Renderer2 } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import EcabsElementBaseComponent from '../base/element-base';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class EcabsInputComponent extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit, OnInit {
6
- private injector;
6
+ private readonly injector;
7
7
  private readonly destroyRef;
8
+ private readonly renderer;
8
9
  matCustomInput: ElementRef;
10
+ autoSizer: ElementRef<HTMLElement>;
9
11
  digitsOnly: boolean;
10
12
  allowDecimal: boolean;
11
13
  allowHyphen: boolean;
14
+ allowRange: boolean;
15
+ autoResize: boolean;
12
16
  max: number;
13
17
  mini: number;
14
18
  maxi: number;
15
19
  step: number;
16
20
  onblur: EventEmitter<any>;
17
21
  val: string | number;
22
+ get fluidHost(): boolean;
18
23
  get value(): string | number;
19
24
  set value(val: string | number);
20
- constructor(injector: Injector, destroyRef: DestroyRef);
25
+ constructor(injector: Injector, destroyRef: DestroyRef, renderer: Renderer2);
21
26
  ngOnInit(): void;
22
27
  ngAfterViewInit(): void;
23
28
  onChange: any;
@@ -26,6 +31,9 @@ export declare class EcabsInputComponent extends EcabsElementBaseComponent imple
26
31
  registerOnChange(fn: any): void;
27
32
  registerOnTouched(fn: any): void;
28
33
  blurChange(e: any): void;
34
+ onInput(): void;
35
+ private trackAutoResize;
36
+ private measureAutoResizeWidth;
29
37
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsInputComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsInputComponent, "ecabs-input", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "max": { "alias": "max"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "maxi": { "alias": "maxi"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, { "onblur": "onblur"; }, never, ["mat-icon", ".suffix"], false, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsInputComponent, "ecabs-input", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "allowRange": { "alias": "allowRange"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "max": { "alias": "max"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "maxi": { "alias": "maxi"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, { "onblur": "onblur"; }, never, ["mat-icon", ".suffix"], false, never>;
31
39
  }
@@ -0,0 +1,44 @@
1
+ import { EventEmitter, ElementRef, AfterViewInit, Injector, DestroyRef } from '@angular/core';
2
+ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
3
+ import EcabsElementBaseComponent from '../base/element-base';
4
+ import * as i0 from "@angular/core";
5
+ export interface RangeValue {
6
+ from: number | null;
7
+ to: number | null;
8
+ }
9
+ export declare class EcabsInputRangeComponent extends EcabsElementBaseComponent implements ControlValueAccessor, Validator, AfterViewInit {
10
+ private readonly injector;
11
+ private readonly destroyRef;
12
+ toInput: ElementRef;
13
+ digitsOnly: boolean;
14
+ allowDecimal: boolean;
15
+ allowHyphen: boolean;
16
+ min: number;
17
+ max: number;
18
+ step: number;
19
+ separatorText: string;
20
+ fromPlaceholder: string;
21
+ toPlaceholder: string;
22
+ rangeChange: EventEmitter<RangeValue>;
23
+ val: RangeValue;
24
+ isFocused: boolean;
25
+ constructor(injector: Injector, destroyRef: DestroyRef);
26
+ ngAfterViewInit(): void;
27
+ get value(): RangeValue;
28
+ set value(v: RangeValue);
29
+ setFocus(focus: boolean): void;
30
+ focusToInput(): void;
31
+ updateValue(key: 'from' | 'to', val: any): void;
32
+ getFromError(value?: RangeValue): ValidationErrors | null;
33
+ getToError(value?: RangeValue): ValidationErrors | null;
34
+ getIncompleteRangeError(value?: RangeValue): ValidationErrors | null;
35
+ get hasAnyError(): boolean;
36
+ validate(control: AbstractControl): ValidationErrors | null;
37
+ onChange: (value: RangeValue) => void;
38
+ onTouched: () => void;
39
+ writeValue(v: RangeValue): void;
40
+ registerOnChange(fn: (value: RangeValue) => void): void;
41
+ registerOnTouched(fn: () => void): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsInputRangeComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsInputRangeComponent, "ecabs-input-range", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "separatorText": { "alias": "separatorText"; "required": false; }; "fromPlaceholder": { "alias": "fromPlaceholder"; "required": false; }; "toPlaceholder": { "alias": "toPlaceholder"; "required": false; }; }, { "rangeChange": "rangeChange"; }, never, never, false, never>;
44
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-input-range.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
+ import * as i5 from "../base/directives/digits-only.directive.module";
7
+ import * as i6 from "../base/directives/min-max.directive.module";
8
+ import * as i7 from "../ecabs-buttons-v2/ecabs-buttons-v2.module";
9
+ export declare class EcabsInputRangeModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsInputRangeModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsInputRangeModule, [typeof i1.EcabsInputRangeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.ElementWrapperModule, typeof i5.EcabsDigitsOnlyDirectivesModule, typeof i6.EcabsMinMaxDirectiveModule, typeof i7.EcabsButtonsV2Module], [typeof i1.EcabsInputRangeComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsInputRangeModule>;
13
+ }
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-phone.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "../ecabs-base-phone-input/ecabs-base-phone.module";
4
+ import * as i3 from "@angular/material/input";
5
+ import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "../ecabs-base-phone-input/ecabs-base-phone.module";
7
8
  export declare class EcabsPhoneModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPhoneModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPhoneModule, [typeof i1.EcabsPhoneComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.EcabsBasePhoneModule], [typeof i1.EcabsPhoneComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPhoneModule, [typeof i1.EcabsPhoneComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.ElementWrapperModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.EcabsBasePhoneModule], [typeof i1.EcabsPhoneComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsPhoneModule>;
11
12
  }
@@ -0,0 +1,64 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import EcabsElementBaseComponent from '../base/element-base';
4
+ import { WaypointTypeEnum } from '../base/consts/waypoint.consts';
5
+ import { GooglePlaceResult, WaypointQueryChange, WaypointSuggestion } from '../base/models/waypoint.models';
6
+ import { BehaviorSubject, Observable } from 'rxjs';
7
+ import * as i0 from "@angular/core";
8
+ export declare class EcabsPlaceAutocompleteV2Component extends EcabsElementBaseComponent implements OnChanges, AfterViewInit, ControlValueAccessor {
9
+ matCustomInput: ElementRef;
10
+ showDeleteItem: boolean;
11
+ set waypointsHistory(value: WaypointSuggestion[]);
12
+ showSuffix: boolean;
13
+ countryCode: string;
14
+ googleLoaded: boolean;
15
+ waypointType: WaypointTypeEnum;
16
+ debounceMs: number;
17
+ readonly placeResult: EventEmitter<GooglePlaceResult>;
18
+ readonly deleteItem: EventEmitter<any>;
19
+ readonly queryChanged: EventEmitter<WaypointQueryChange>;
20
+ isFocused$: BehaviorSubject<boolean>;
21
+ waypointSuggestions$: Observable<WaypointSuggestion[]>;
22
+ value$: BehaviorSubject<string>;
23
+ selectedIndex: number;
24
+ displayedSuggestions: WaypointSuggestion[];
25
+ private readonly inputQuery$;
26
+ private readonly waypointsHistory$;
27
+ private _value;
28
+ private autocompleteService;
29
+ private placesService;
30
+ private sessionToken;
31
+ private isResolvingPlace;
32
+ private readonly MAX_SUGGESTIONS;
33
+ private readonly emptySuggestions;
34
+ private readonly ngZone;
35
+ private readonly injector;
36
+ private readonly destroyRef;
37
+ get value(): string;
38
+ set value(value: string);
39
+ constructor();
40
+ ngOnChanges(changes: SimpleChanges): void;
41
+ ngAfterViewInit(): void;
42
+ private onChange;
43
+ private onTouch;
44
+ private getPlacesResults;
45
+ private toWaypointSuggestions;
46
+ onUserInput(query: string): void;
47
+ trackBySuggestion(index: number, suggestion: WaypointSuggestion): string;
48
+ onSelectSuggestion(suggestion: WaypointSuggestion): void;
49
+ private toLatLng;
50
+ private toPlaceFallback;
51
+ private resolveByPlaceId;
52
+ onKeyDown(event: KeyboardEvent): void;
53
+ onBlur(): void;
54
+ onFocus(): void;
55
+ writeValue(nextValue?: string | null): void;
56
+ registerOnChange(fn: (value: string) => void): void;
57
+ registerOnTouched(fn: () => void): void;
58
+ delete(): void;
59
+ clear(): void;
60
+ private initGoogle;
61
+ private resetSessionToken;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPlaceAutocompleteV2Component, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsPlaceAutocompleteV2Component, "ecabs-place-autocomplete-v2", never, { "showDeleteItem": { "alias": "showDeleteItem"; "required": false; }; "waypointsHistory": { "alias": "waypointsHistory"; "required": false; }; "showSuffix": { "alias": "showSuffix"; "required": false; }; "countryCode": { "alias": "countryCode"; "required": false; }; "googleLoaded": { "alias": "googleLoaded"; "required": false; }; "waypointType": { "alias": "waypointType"; "required": false; }; "debounceMs": { "alias": "debounceMs"; "required": false; }; }, { "placeResult": "placeResult"; "deleteItem": "deleteItem"; "queryChanged": "queryChanged"; }, never, never, false, never>;
64
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-place-autocomplete-v2.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "../base/pipes/separator-append.pipe";
8
+ import * as i7 from "@angular/cdk/overlay";
9
+ export declare class EcabsPlaceAutocompleteV2Module {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPlaceAutocompleteV2Module, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPlaceAutocompleteV2Module, [typeof i1.EcabsPlaceAutocompleteV2Component], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.FormsModule, typeof i5.MatIconModule, typeof i6.SeparatorAppendPipe, typeof i7.CdkOverlayOrigin, typeof i7.CdkConnectedOverlay], [typeof i1.EcabsPlaceAutocompleteV2Component]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsPlaceAutocompleteV2Module>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class EcabsSegmentComponent {
3
+ title: string;
4
+ subtitle?: string;
5
+ showTitleDivider: boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSegmentComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSegmentComponent, "ecabs-segment", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "showTitleDivider": { "alias": "showTitleDivider"; "required": false; }; }, {}, never, ["*"], true, never>;
8
+ }
@@ -13,6 +13,7 @@ export declare class EcabsSelectComponent extends EcabsElementBaseComponent impl
13
13
  items: SelectOption[];
14
14
  multiple: boolean;
15
15
  useNoneOption: boolean;
16
+ useOnlyDisabledClass: boolean;
16
17
  searchFieldPlaceholder: string;
17
18
  useSearchOption: boolean;
18
19
  useSelectAllOption: boolean;
@@ -28,24 +29,16 @@ export declare class EcabsSelectComponent extends EcabsElementBaseComponent impl
28
29
  allSelected: MatOption;
29
30
  matSelectSearchComponent: MatSelectSearchComponent;
30
31
  val: any;
31
- filteredItems$: BehaviorSubject<{
32
- label: string;
33
- value: any;
34
- }[]>;
32
+ filteredItems$: BehaviorSubject<SelectOption[]>;
35
33
  itemFilterCtrl: UntypedFormControl;
36
34
  isClearAll: boolean;
37
35
  showFilteredAllOption: boolean;
38
- selectedItems: {
39
- label: string;
40
- value: any;
41
- }[];
42
- notSelectedItems: {
43
- label: string;
44
- value: any;
45
- }[];
36
+ selectedItems: SelectOption[];
37
+ notSelectedItems: SelectOption[];
46
38
  subscriptions: Subscription;
47
39
  get value(): any;
48
40
  get trigger(): string;
41
+ get triggerOption(): SelectOption | undefined;
49
42
  set value(val: any);
50
43
  constructor(injector: Injector, changeDetectorRef: ChangeDetectorRef, destroyRef: DestroyRef);
51
44
  ngOnChanges(changes: SimpleChanges): void;
@@ -58,6 +51,7 @@ export declare class EcabsSelectComponent extends EcabsElementBaseComponent impl
58
51
  toggleNone(): void;
59
52
  getAllSelectedChecked(): boolean;
60
53
  getLabel(val: any): string;
54
+ getOption(val: unknown): SelectOption | undefined;
61
55
  writeValue(value: any): void;
62
56
  registerOnChange(fn: any): void;
63
57
  registerOnTouched(fn: any): void;
@@ -66,5 +60,5 @@ export declare class EcabsSelectComponent extends EcabsElementBaseComponent impl
66
60
  private filterItems;
67
61
  private setSelectedItems;
68
62
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectComponent, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectComponent, "ecabs-select", never, { "items": { "alias": "items"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "useNoneOption": { "alias": "useNoneOption"; "required": false; }; "searchFieldPlaceholder": { "alias": "searchFieldPlaceholder"; "required": false; }; "useSearchOption": { "alias": "useSearchOption"; "required": false; }; "useSelectAllOption": { "alias": "useSelectAllOption"; "required": false; }; "setAllOptionAfterChosenAllItems": { "alias": "setAllOptionAfterChosenAllItems"; "required": false; }; "selectAllValue": { "alias": "selectAllValue"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "noneLabel": { "alias": "noneLabel"; "required": false; }; "allLabel": { "alias": "allLabel"; "required": false; }; "otherLabel": { "alias": "otherLabel"; "required": false; }; "othersLabel": { "alias": "othersLabel"; "required": false; }; }, { "updateFilterItems": "updateFilterItems"; "selectionChange": "selectionChange"; }, never, never, false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectComponent, "ecabs-select", never, { "items": { "alias": "items"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "useNoneOption": { "alias": "useNoneOption"; "required": false; }; "useOnlyDisabledClass": { "alias": "useOnlyDisabledClass"; "required": false; }; "searchFieldPlaceholder": { "alias": "searchFieldPlaceholder"; "required": false; }; "useSearchOption": { "alias": "useSearchOption"; "required": false; }; "useSelectAllOption": { "alias": "useSelectAllOption"; "required": false; }; "setAllOptionAfterChosenAllItems": { "alias": "setAllOptionAfterChosenAllItems"; "required": false; }; "selectAllValue": { "alias": "selectAllValue"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "noneLabel": { "alias": "noneLabel"; "required": false; }; "allLabel": { "alias": "allLabel"; "required": false; }; "otherLabel": { "alias": "otherLabel"; "required": false; }; "othersLabel": { "alias": "othersLabel"; "required": false; }; }, { "updateFilterItems": "updateFilterItems"; "selectionChange": "selectionChange"; }, never, never, false, never>;
70
64
  }
@@ -5,12 +5,13 @@ import * as i2 from "@angular/common";
5
5
  import * as i3 from "../base/element-wrapper/element-wrapper.module";
6
6
  import * as i4 from "@angular/material/select";
7
7
  import * as i5 from "@angular/material/tooltip";
8
- import * as i6 from "@angular/forms";
9
- import * as i7 from "ngx-mat-select-search";
10
- import * as i8 from "../base/directives/tooltip-if-truncated.directive.module";
8
+ import * as i6 from "../ecabs-select-icon/ecabs-select-icon.module";
9
+ import * as i7 from "@angular/forms";
10
+ import * as i8 from "ngx-mat-select-search";
11
+ import * as i9 from "../base/directives/tooltip-if-truncated.directive.module";
11
12
  export declare class EcabsSelectModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectModule, [typeof i1.EcabsSelectComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatSelectModule, typeof i5.MatTooltipModule, typeof i6.FormsModule, typeof i7.NgxMatSelectSearchModule, typeof i6.ReactiveFormsModule, typeof i8.EcabsTooltipIfTruncatedDirectiveModule], [typeof i1.EcabsSelectComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectModule, [typeof i1.EcabsSelectComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatSelectModule, typeof i5.MatTooltipModule, typeof i6.EcabsSelectIconModule, typeof i7.FormsModule, typeof i8.NgxMatSelectSearchModule, typeof i7.ReactiveFormsModule, typeof i9.EcabsTooltipIfTruncatedDirectiveModule], [typeof i1.EcabsSelectComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsSelectModule>;
15
16
  }
16
17
  export declare function scrollFactory(overlay: Overlay): () => BlockScrollStrategy;
@@ -0,0 +1,8 @@
1
+ import { SelectOption } from '../base/models/select.models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EcabsSelectIconComponent {
4
+ svgIcon: string;
5
+ set option(option: SelectOption | undefined);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectIconComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectIconComponent, "ecabs-select-icon", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-select-icon.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ export declare class EcabsSelectIconModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectIconModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectIconModule, [typeof i1.EcabsSelectIconComponent], [typeof i2.CommonModule, typeof i3.MatIconModule], [typeof i1.EcabsSelectIconComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsSelectIconModule>;
9
+ }
@@ -1,17 +1,17 @@
1
- import { AfterViewInit, DestroyRef, EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
1
+ import { AfterViewInit, DestroyRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { NgSelectComponent } from '@ng-select/ng-select';
4
4
  import { Subject } from 'rxjs';
5
5
  import EcabsElementBaseComponent from '../base/element-base';
6
- import { SelectValue } from '../base/models/element.models';
6
+ import { SelectOption } from '../base/models/select.models';
7
7
  import * as i0 from "@angular/core";
8
- export declare class EcabsSelectV2Component extends EcabsElementBaseComponent implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit {
9
- private readonly injector;
8
+ export declare class EcabsSelectV2Component<T = unknown> extends EcabsElementBaseComponent implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit {
9
+ readonly ngControl: NgControl;
10
10
  private readonly destroyRef;
11
11
  ngSelect: NgSelectComponent;
12
12
  appearance: 'underline' | 'outline';
13
13
  appendTo: string;
14
- items: SelectValue[];
14
+ items: SelectOption<T>[];
15
15
  bindLabel: string;
16
16
  bindValue: string;
17
17
  editableSearchTerm: boolean;
@@ -22,7 +22,7 @@ export declare class EcabsSelectV2Component extends EcabsElementBaseComponent im
22
22
  hideSelected: boolean;
23
23
  clearOnBackspace: boolean;
24
24
  clearSearchOnAdd: boolean;
25
- trackByFn: any;
25
+ trackByFn: ((item: SelectOption<T>) => T | undefined) | undefined;
26
26
  minLength: number;
27
27
  searchPlaceholder: string;
28
28
  typeahead: Subject<string>;
@@ -31,30 +31,30 @@ export declare class EcabsSelectV2Component extends EcabsElementBaseComponent im
31
31
  selectAllLabel: string;
32
32
  otherLabel: string;
33
33
  othersLabel: string;
34
- readonly selectionChange: EventEmitter<any>;
35
- touched: boolean;
36
- val: string | number;
34
+ readonly selectionChange: EventEmitter<SelectOption<T> | SelectOption<T>[]>;
35
+ val: T;
37
36
  isOpen: boolean;
38
37
  groupByKey: string;
39
- selectedMulti: any[];
40
- itemsList: SelectValue[];
38
+ selectedMulti: SelectOption<T>[];
39
+ itemsList: SelectOption<T>[];
41
40
  isTypeAhead: boolean;
42
- get value(): string | number;
43
- set value(val: string | number);
44
- constructor(injector: Injector, destroyRef: DestroyRef);
41
+ get value(): T;
42
+ set value(val: T);
43
+ constructor(ngControl: NgControl, destroyRef: DestroyRef);
45
44
  ngOnInit(): void;
46
45
  ngAfterViewInit(): void;
47
46
  ngOnChanges(changes: SimpleChanges): void;
48
- writeValue(value: number): void;
49
- registerOnChange(onChange: any): void;
50
- registerOnTouched(onTouched: any): void;
51
- markAsTouched(): void;
52
- onChange: any;
53
- onTouch: any;
47
+ writeValue(value: T): void;
48
+ registerOnChange(fn: (value: T) => void): void;
49
+ registerOnTouched(fn: () => void): void;
50
+ private onChange;
51
+ private onTouched;
54
52
  onBlur(): void;
55
- selectAllFn(items: SelectValue[]): void;
56
- changed($event: SelectValue[]): void;
53
+ selectAllFn(items: SelectOption<T>[]): SelectOption<T>[];
54
+ private refreshMultipleItems;
55
+ changed($event: SelectOption<T> | SelectOption<T>[]): void;
56
+ asOption(item: unknown): SelectOption<T>;
57
57
  protected initTrackBy(): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectV2Component, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectV2Component, "ecabs-select-v2", never, { "appearance": { "alias": "appearance"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "otherLabel": { "alias": "otherLabel"; "required": false; }; "othersLabel": { "alias": "othersLabel"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectV2Component<any>, [{ optional: true; self: true; }, null]>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSelectV2Component<any>, "ecabs-select-v2", never, { "appearance": { "alias": "appearance"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "otherLabel": { "alias": "otherLabel"; "required": false; }; "othersLabel": { "alias": "othersLabel"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
60
60
  }
@@ -8,8 +8,9 @@ import * as i6 from "@ng-select/ng-select";
8
8
  import * as i7 from "../ecabs-loading/ecabs-loading.module";
9
9
  import * as i8 from "../ecabs-checkbox-toggle/ecabs-checkbox-toggle.module";
10
10
  import * as i9 from "@angular/material/checkbox";
11
+ import * as i10 from "../ecabs-select-icon/ecabs-select-icon.module";
11
12
  export declare class EcabsSelectV2Module {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectV2Module, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectV2Module, [typeof i1.EcabsSelectV2Component], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatSelectModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.NgSelectModule, typeof i7.EcabsLoadingModule, typeof i8.EcabsCheckboxToggleModule, typeof i9.MatCheckboxModule], [typeof i1.EcabsSelectV2Component]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectV2Module, [typeof i1.EcabsSelectV2Component], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatSelectModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.NgSelectModule, typeof i7.EcabsLoadingModule, typeof i8.EcabsCheckboxToggleModule, typeof i9.MatCheckboxModule, typeof i10.EcabsSelectIconModule], [typeof i1.EcabsSelectV2Component]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsSelectV2Module>;
15
16
  }
@@ -10,9 +10,12 @@ export declare class TableComponent implements AfterContentChecked {
10
10
  loading: boolean;
11
11
  isEmpty: boolean;
12
12
  isEmptyMessage: string;
13
+ isEmptyMessageTitle: string;
14
+ isEmptyExtrasTemplate: TemplateRef<any>;
13
15
  redirectPath: PlaceholderRedirectPath;
14
16
  srcImageEmpty: string;
17
+ get showTableContent(): boolean;
15
18
  ngAfterContentChecked(): void;
16
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ecabs-table", never, { "header": { "alias": "header"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isEmpty": { "alias": "isEmpty"; "required": false; }; "isEmptyMessage": { "alias": "isEmptyMessage"; "required": false; }; "redirectPath": { "alias": "redirectPath"; "required": false; }; "srcImageEmpty": { "alias": "srcImageEmpty"; "required": false; }; }, {}, ["table"], ["*"], false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ecabs-table", never, { "header": { "alias": "header"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isEmpty": { "alias": "isEmpty"; "required": false; }; "isEmptyMessage": { "alias": "isEmptyMessage"; "required": false; }; "isEmptyMessageTitle": { "alias": "isEmptyMessageTitle"; "required": false; }; "isEmptyExtrasTemplate": { "alias": "isEmptyExtrasTemplate"; "required": false; }; "redirectPath": { "alias": "redirectPath"; "required": false; }; "srcImageEmpty": { "alias": "srcImageEmpty"; "required": false; }; }, {}, ["table"], ["*"], false, never>;
18
21
  }
@@ -0,0 +1,5 @@
1
+ export interface FormTimePickerConfigV2 {
2
+ dayStart: string;
3
+ dayEnd: string;
4
+ iconClass: string;
5
+ }
@@ -0,0 +1,52 @@
1
+ import { AfterViewInit, DestroyRef, Injector } from '@angular/core';
2
+ import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
3
+ import EcabsElementBaseComponent from '../base/element-base';
4
+ import { ListPlacement } from '../base/models/timepicker.models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EcabsTimeRangeInputV2Component extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit {
7
+ private readonly injector;
8
+ private readonly destroyRef;
9
+ showCloseIcon: boolean;
10
+ listPlacement: ListPlacement;
11
+ appendTo: string;
12
+ min: string;
13
+ max: string;
14
+ showDayStart: boolean;
15
+ showDayEnd: boolean;
16
+ addSecond: boolean;
17
+ dayStartLabel: string;
18
+ dayEndLabel: string;
19
+ separatorLabel: string;
20
+ startTimePlaceholder: string;
21
+ endTimePlaceholder: string;
22
+ allowCrossMidnight: boolean;
23
+ val: {
24
+ timeFrom: string;
25
+ timeTo: string;
26
+ };
27
+ _timeFrom: string;
28
+ _timeTo: string;
29
+ get value(): {
30
+ timeFrom: string;
31
+ timeTo: string;
32
+ };
33
+ get timeFrom(): string;
34
+ get timeTo(): string;
35
+ set value(val: {
36
+ timeFrom: string;
37
+ timeTo: string;
38
+ });
39
+ set timeFrom(val: string);
40
+ set timeTo(val: string);
41
+ constructor(injector: Injector, destroyRef: DestroyRef);
42
+ ngAfterViewInit(): void;
43
+ onChange: any;
44
+ onTouch: any;
45
+ writeValue(value: any): void;
46
+ registerOnChange(fn: any): void;
47
+ registerOnTouched(fn: any): void;
48
+ onApply(): void;
49
+ timeRangeValidator(control: UntypedFormControl): void;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsTimeRangeInputV2Component, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsTimeRangeInputV2Component, "ecabs-time-range-input-v2", never, { "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "listPlacement": { "alias": "listPlacement"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "showDayStart": { "alias": "showDayStart"; "required": false; }; "showDayEnd": { "alias": "showDayEnd"; "required": false; }; "addSecond": { "alias": "addSecond"; "required": false; }; "dayStartLabel": { "alias": "dayStartLabel"; "required": false; }; "dayEndLabel": { "alias": "dayEndLabel"; "required": false; }; "separatorLabel": { "alias": "separatorLabel"; "required": false; }; "startTimePlaceholder": { "alias": "startTimePlaceholder"; "required": false; }; "endTimePlaceholder": { "alias": "endTimePlaceholder"; "required": false; }; "allowCrossMidnight": { "alias": "allowCrossMidnight"; "required": false; }; }, {}, never, never, false, never>;
52
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-time-range-input-v2.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
+ import * as i4 from "../ecabs-timepicker/ecabs-timepicker.module";
6
+ import * as i5 from "@angular/forms";
7
+ export declare class EcabsTimeRangeInputV2Module {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsTimeRangeInputV2Module, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsTimeRangeInputV2Module, [typeof i1.EcabsTimeRangeInputV2Component], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.EcabsTimepickerModule, typeof i5.FormsModule], [typeof i1.EcabsTimeRangeInputV2Component]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsTimeRangeInputV2Module>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { Subject } from 'rxjs';
2
+ import { FormTimePickerConfigV2 } from './config.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormTimePickerServiceV2 {
5
+ config: FormTimePickerConfigV2;
6
+ closeSub: Subject<boolean>;
7
+ setConfig(c: FormTimePickerConfigV2): void;
8
+ getConfig(): FormTimePickerConfigV2;
9
+ close(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormTimePickerServiceV2, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormTimePickerServiceV2>;
12
+ }
@@ -23,7 +23,6 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
23
23
  dayEndLabel: string;
24
24
  position: ListPosition;
25
25
  _data: string;
26
- inputData: string;
27
26
  _timePicker: {
28
27
  querySelector: (arg0: string) => HTMLElement;
29
28
  };
@@ -40,13 +39,9 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
40
39
  clearInput(): void;
41
40
  calcListPosition(): void;
42
41
  inputKeyDown(event: any): boolean;
43
- updateInputData(event: string): void;
44
42
  checkSpecialKeys(key: TimepickerSpecialKey): TimepickerSpecialKey;
45
43
  checkUnUsedKeys(key: string): boolean;
46
44
  checkOutOfRangeNumber(time: any): boolean;
47
- makeHourFull(): void;
48
- makeMinuteFull(): void;
49
- fixTimeToNearest(): void;
50
45
  onChangeFn: (_: any) => void;
51
46
  onTouchedFn: () => void;
52
47
  registerOnChange(fn: any): void;
package/package.json CHANGED
@@ -1,28 +1,29 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "2.0.0-alpha.3",
3
+ "version": "2.0.0-alpha.6",
4
4
  "peerDependencies": {
5
- "@angular/animations": "^19.2.17",
6
- "@angular/common": "^19.2.17",
7
- "@angular/core": "^19.2.17",
8
- "@angular/cdk": "^19.2.19",
9
- "@angular/material": "^19.2.19",
10
- "@angular-slider/ngx-slider": "^19.0.0",
11
- "@ng-select/ng-select": "^14.2.0",
12
- "@types/google.maps": "^3.58.1",
13
- "autoprefixer": "^10.4.20",
14
- "date-fns": "^4.1.0",
15
- "date-holidays": "^3.23.20",
16
- "flag-icons": "7.5.0",
5
+ "@angular/animations": "^16.2.12",
6
+ "@angular/common": "^16.2.12",
7
+ "@angular/core": "^16.2.12",
8
+ "@angular/cdk": "^16.2.12",
9
+ "@angular/material": "^16.2.12",
10
+ "@angular-slider/ngx-slider": "^18.0.0",
11
+ "@maskito/core": "^5.0.0",
12
+ "@maskito/kit": "^5.0.0",
13
+ "@ng-select/ng-select": "^11.2.0",
14
+ "autoprefixer": "^10.4.17",
15
+ "date-fns": "^2.29.3",
16
+ "date-holidays": "^3.23.3",
17
+ "flag-icons": "^6.7.0",
17
18
  "libphonenumber-js": "^1.12.6",
18
- "ngx-mat-select-search": "^7.0.10",
19
- "postcss": "^8.5.1",
20
- "rxjs": "~7.8.1",
21
- "tailwindcss": "^4.1.17",
22
- "vanilla-text-mask": "^5.1.1"
19
+ "ngx-mat-select-search": "^7.0.7",
20
+ "ngx-phosphor-icons": "^1.0.7",
21
+ "postcss": "^8.4.35",
22
+ "rxjs": "~7.5.0",
23
+ "tailwindcss": "^3.4.13"
23
24
  },
24
25
  "dependencies": {
25
- "tslib": "^2.8.1"
26
+ "tslib": "^2.3.0"
26
27
  },
27
28
  "exports": {
28
29
  ".": {