ecabs-components 1.0.23 → 1.0.24-alpha

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 (106) hide show
  1. package/README.md +1 -0
  2. package/esm2022/lib/base/directives/element-multiplier.directive.mjs +26 -0
  3. package/esm2022/lib/base/directives/element-multiplier.directive.module.mjs +22 -0
  4. package/esm2022/lib/base/directives/style-paginator.directive.mjs +263 -0
  5. package/esm2022/lib/base/directives/style-paginator.module.mjs +19 -0
  6. package/esm2022/lib/base/element-wrapper/element-wrapper.component.mjs +2 -2
  7. package/esm2022/lib/base/element-wrapper/element-wrapper.module.mjs +4 -4
  8. package/esm2022/lib/base/hint/hint.module.mjs +2 -2
  9. package/esm2022/lib/base/validation/validation.module.mjs +2 -2
  10. package/esm2022/lib/ecabs-autocomplete/ecabs-autocomplete.component.mjs +91 -0
  11. package/esm2022/lib/ecabs-autocomplete/ecabs-autocomplete.module.mjs +28 -0
  12. package/esm2022/lib/ecabs-buttons/ecabs-buttons.component.mjs +4 -4
  13. package/esm2022/lib/ecabs-buttons/ecabs-buttons.module.mjs +2 -2
  14. package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +4 -4
  15. package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.module.mjs +3 -3
  16. package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +2 -2
  17. package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.module.mjs +2 -2
  18. package/esm2022/lib/ecabs-date-range-picker/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header.component.mjs +15 -0
  19. package/esm2022/lib/ecabs-date-range-picker/ecabs-date-range-picker.component.mjs +123 -0
  20. package/esm2022/lib/ecabs-date-range-picker/ecabs-date-range-picker.module.mjs +75 -0
  21. package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +2 -2
  22. package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.mjs +2 -2
  23. package/esm2022/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component.mjs +2 -2
  24. package/esm2022/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.module.mjs +2 -2
  25. package/esm2022/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +4 -5
  26. package/esm2022/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.mjs +2 -2
  27. package/esm2022/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +4 -5
  28. package/esm2022/lib/ecabs-dialog-message/ecabs-dialog-message.module.mjs +2 -2
  29. package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +2 -2
  30. package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.mjs +3 -3
  31. package/esm2022/lib/ecabs-increment/ecabs-increment.component.mjs +2 -2
  32. package/esm2022/lib/ecabs-increment/ecabs-increment.module.mjs +2 -2
  33. package/esm2022/lib/ecabs-input/ecabs-input.component.mjs +8 -4
  34. package/esm2022/lib/ecabs-input/ecabs-input.module.mjs +9 -5
  35. package/esm2022/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +5 -5
  36. package/esm2022/lib/ecabs-language-selector/ecabs-language-selector.module.mjs +4 -4
  37. package/esm2022/lib/ecabs-phone/ecabs-phone.module.mjs +2 -2
  38. package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +3 -3
  39. package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.module.mjs +2 -2
  40. package/esm2022/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.mjs +2 -2
  41. package/esm2022/lib/ecabs-radio-button-list/ecabs-radio-button-list.module.mjs +2 -2
  42. package/esm2022/lib/ecabs-select/ecabs-select.component.mjs +6 -6
  43. package/esm2022/lib/ecabs-select/ecabs-select.module.mjs +3 -3
  44. package/esm2022/lib/ecabs-sep-date-range-picker/ecabs-sep-date-range-picker.component.mjs +165 -0
  45. package/esm2022/lib/ecabs-sep-date-range-picker/ecabs-sep-date-range-picker.module.mjs +59 -0
  46. package/esm2022/lib/ecabs-sep-paginator/ecabs-sep-paginator.component.mjs +42 -0
  47. package/esm2022/lib/ecabs-sep-paginator/ecabs-sep-paginator.module.mjs +22 -0
  48. package/esm2022/lib/ecabs-skeleton-card-grid/ecabs-skeleton-card-grid.component.mjs +16 -0
  49. package/esm2022/lib/ecabs-skeleton-card-grid/ecabs-skeleton-card-grid.module.mjs +21 -0
  50. package/esm2022/lib/ecabs-skeleton-profile/ecabs-skeleton-profile.component.mjs +20 -0
  51. package/esm2022/lib/ecabs-skeleton-profile/ecabs-skeleton-profile.module.mjs +21 -0
  52. package/esm2022/lib/ecabs-skeleton-table/ecabs-skeleton-table.component.mjs +24 -0
  53. package/esm2022/lib/ecabs-skeleton-table/ecabs-skeleton-table.module.mjs +21 -0
  54. package/esm2022/lib/ecabs-skeleton-table-filter/ecabs-skeleton-table-filter.component.mjs +19 -0
  55. package/esm2022/lib/ecabs-skeleton-table-filter/ecabs-skeleton-table-filter.module.mjs +21 -0
  56. package/esm2022/lib/ecabs-table/ecabs-table.component.mjs +2 -2
  57. package/esm2022/lib/ecabs-table/ecabs-table.module.mjs +3 -3
  58. package/esm2022/lib/models/pagination.models.mjs +2 -0
  59. package/esm2022/public-api.mjs +18 -1
  60. package/fesm2022/ecabs-components.mjs +1127 -144
  61. package/fesm2022/ecabs-components.mjs.map +1 -1
  62. package/lib/base/directives/element-multiplier.directive.d.ts +10 -0
  63. package/lib/base/directives/element-multiplier.directive.module.d.ts +8 -0
  64. package/lib/base/directives/style-paginator.directive.d.ts +36 -0
  65. package/lib/base/directives/style-paginator.module.d.ts +8 -0
  66. package/lib/base/element-wrapper/element-wrapper.module.d.ts +4 -4
  67. package/lib/base/hint/hint.module.d.ts +2 -2
  68. package/lib/base/validation/validation.module.d.ts +2 -2
  69. package/lib/ecabs-autocomplete/ecabs-autocomplete.component.d.ts +30 -0
  70. package/lib/ecabs-autocomplete/ecabs-autocomplete.module.d.ts +15 -0
  71. package/lib/ecabs-buttons/ecabs-buttons.module.d.ts +2 -2
  72. package/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.module.d.ts +3 -3
  73. package/lib/ecabs-date-picker/ecabs-date-picker.module.d.ts +2 -2
  74. package/lib/ecabs-date-range-picker/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header.component.d.ts +6 -0
  75. package/lib/ecabs-date-range-picker/ecabs-date-range-picker.component.d.ts +47 -0
  76. package/lib/ecabs-date-range-picker/ecabs-date-range-picker.module.d.ts +30 -0
  77. package/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.d.ts +2 -2
  78. package/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.module.d.ts +2 -2
  79. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.d.ts +2 -2
  80. package/lib/ecabs-dialog-message/ecabs-dialog-message.module.d.ts +2 -2
  81. package/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.d.ts +3 -3
  82. package/lib/ecabs-increment/ecabs-increment.module.d.ts +2 -2
  83. package/lib/ecabs-input/ecabs-input.component.d.ts +2 -1
  84. package/lib/ecabs-input/ecabs-input.module.d.ts +3 -2
  85. package/lib/ecabs-language-selector/ecabs-language-selector.module.d.ts +4 -4
  86. package/lib/ecabs-phone/ecabs-phone.module.d.ts +2 -2
  87. package/lib/ecabs-picker-header/ecabs-picker-header.module.d.ts +2 -2
  88. package/lib/ecabs-radio-button-list/ecabs-radio-button-list.module.d.ts +2 -2
  89. package/lib/ecabs-select/ecabs-select.module.d.ts +3 -3
  90. package/lib/ecabs-sep-date-range-picker/ecabs-sep-date-range-picker.component.d.ts +52 -0
  91. package/lib/ecabs-sep-date-range-picker/ecabs-sep-date-range-picker.module.d.ts +17 -0
  92. package/lib/ecabs-sep-paginator/ecabs-sep-paginator.component.d.ts +20 -0
  93. package/lib/ecabs-sep-paginator/ecabs-sep-paginator.module.d.ts +11 -0
  94. package/lib/ecabs-skeleton-card-grid/ecabs-skeleton-card-grid.component.d.ts +6 -0
  95. package/lib/ecabs-skeleton-card-grid/ecabs-skeleton-card-grid.module.d.ts +10 -0
  96. package/lib/ecabs-skeleton-profile/ecabs-skeleton-profile.component.d.ts +9 -0
  97. package/lib/ecabs-skeleton-profile/ecabs-skeleton-profile.module.d.ts +10 -0
  98. package/lib/ecabs-skeleton-table/ecabs-skeleton-table.component.d.ts +10 -0
  99. package/lib/ecabs-skeleton-table/ecabs-skeleton-table.module.d.ts +10 -0
  100. package/lib/ecabs-skeleton-table-filter/ecabs-skeleton-table-filter.component.d.ts +7 -0
  101. package/lib/ecabs-skeleton-table-filter/ecabs-skeleton-table-filter.module.d.ts +10 -0
  102. package/lib/ecabs-table/ecabs-table.module.d.ts +3 -3
  103. package/lib/models/pagination.models.d.ts +26 -0
  104. package/package.json +2 -1
  105. package/public-api.d.ts +17 -0
  106. package/styles/material/overrides/_paginator.scss +58 -0
@@ -0,0 +1,10 @@
1
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ElementMultiplierDirective {
4
+ private templateRef;
5
+ private viewContainer;
6
+ constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
7
+ set appElementMultiplier(times: number);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementMultiplierDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElementMultiplierDirective, "[appElementMultiplier]", never, { "appElementMultiplier": { "alias": "appElementMultiplier"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./element-multiplier.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ElementMultiplierDirectiveModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementMultiplierDirectiveModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementMultiplierDirectiveModule, [typeof i1.ElementMultiplierDirective], [typeof i2.CommonModule], [typeof i1.ElementMultiplierDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementMultiplierDirectiveModule>;
8
+ }
@@ -0,0 +1,36 @@
1
+ import { AfterViewInit, OnChanges, OnDestroy, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { MatPaginator } from '@angular/material/paginator';
3
+ import { PaginationResponseModel } from '../../models/pagination.models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EcabsStylePaginatorDirective implements AfterViewInit, OnChanges, OnDestroy {
6
+ private readonly matPaginator;
7
+ private viewContainerRef;
8
+ private renderer;
9
+ private pageGapTxt;
10
+ private rangeStart;
11
+ private rangeEnd;
12
+ private buttons;
13
+ private currentPageObj;
14
+ private totalPages;
15
+ private readonly unsubscribe$;
16
+ isNarrowPaginator: boolean;
17
+ paginatedData: PaginationResponseModel;
18
+ set showTotalPages(value: number);
19
+ get increment(): number;
20
+ get numOfPages(): number;
21
+ get lastPageIndex(): number;
22
+ constructor(matPaginator: MatPaginator, viewContainerRef: ViewContainerRef, renderer: Renderer2);
23
+ ngOnChanges(): void;
24
+ ngAfterViewInit(): void;
25
+ ngOnDestroy(): void;
26
+ private buildPaginator;
27
+ private buildPageNumbers;
28
+ private createButton;
29
+ private initPageRange;
30
+ private calcRangeStart;
31
+ private calcRangeEnd;
32
+ private switchPage;
33
+ private initPaginator;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsStylePaginatorDirective, [{ optional: true; host: true; self: true; }, null, null]>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EcabsStylePaginatorDirective, "[ecabsStylePaginator]", never, { "isNarrowPaginator": { "alias": "isNarrowPaginator"; "required": false; }; "paginatedData": { "alias": "paginatedData"; "required": false; }; "showTotalPages": { "alias": "showTotalPages"; "required": false; }; }, {}, never, never, false, never>;
36
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./style-paginator.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class EcabsStylePaginatorDirectiveModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsStylePaginatorDirectiveModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsStylePaginatorDirectiveModule, [typeof i1.EcabsStylePaginatorDirective], [typeof i2.CommonModule], [typeof i1.EcabsStylePaginatorDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsStylePaginatorDirectiveModule>;
8
+ }
@@ -4,13 +4,13 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../../ecabs-loading/ecabs-loading.module";
6
6
  import * as i5 from "../validation/validation.module";
7
- import * as i6 from "@angular/material/legacy-form-field";
8
- import * as i7 from "@angular/material/legacy-input";
7
+ import * as i6 from "@angular/material/form-field";
8
+ import * as i7 from "@angular/material/input";
9
9
  import * as i8 from "@angular/material/icon";
10
- import * as i9 from "@angular/material/legacy-tooltip";
10
+ import * as i9 from "@angular/material/tooltip";
11
11
  import * as i10 from "../hint/hint.module";
12
12
  export declare class ElementWrapperModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementWrapperModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementWrapperModule, [typeof i1.ElementWrapperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.EcabsLoadingModule, typeof i5.ValidationModule, typeof i6.MatLegacyFormFieldModule, typeof i7.MatLegacyInputModule, typeof i8.MatIconModule, typeof i9.MatLegacyTooltipModule, typeof i10.HintModule], [typeof i1.ElementWrapperComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementWrapperModule, [typeof i1.ElementWrapperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.EcabsLoadingModule, typeof i5.ValidationModule, typeof i6.MatFormFieldModule, typeof i7.MatInputModule, typeof i8.MatIconModule, typeof i9.MatTooltipModule, typeof i10.HintModule], [typeof i1.ElementWrapperComponent]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<ElementWrapperModule>;
16
16
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./hint.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/legacy-form-field";
5
+ import * as i4 from "@angular/material/form-field";
6
6
  export declare class HintModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<HintModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<HintModule, [typeof i1.HintComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatLegacyFormFieldModule], [typeof i1.HintComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HintModule, [typeof i1.HintComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatFormFieldModule], [typeof i1.HintComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<HintModule>;
10
10
  }
@@ -2,9 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./validation.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/legacy-form-field";
5
+ import * as i4 from "@angular/material/form-field";
6
6
  export declare class ValidationModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ValidationModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationModule, [typeof i1.ValidationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatLegacyFormFieldModule], [typeof i1.ValidationComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationModule, [typeof i1.ValidationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatFormFieldModule], [typeof i1.ValidationComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<ValidationModule>;
10
10
  }
@@ -0,0 +1,30 @@
1
+ import { AfterViewInit, EventEmitter, Injector } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import ElementBaseComponent from '../base/element-base';
4
+ import * as i0 from "@angular/core";
5
+ export declare class EcabsAutocompleteComponent extends ElementBaseComponent implements ControlValueAccessor, AfterViewInit {
6
+ private injector;
7
+ digitsOnly: boolean;
8
+ allowDecimal: boolean;
9
+ allowHyphen: boolean;
10
+ suffixTooltip: string;
11
+ displayWith: ((value: any) => string) | null;
12
+ items: {
13
+ label: string;
14
+ value: any;
15
+ }[];
16
+ onblur: EventEmitter<any>;
17
+ val: string | number;
18
+ get value(): string | number;
19
+ set value(val: string | number);
20
+ constructor(injector: Injector);
21
+ ngAfterViewInit(): void;
22
+ onChange: any;
23
+ onTouch: any;
24
+ writeValue(value: any): void;
25
+ registerOnChange(fn: any): void;
26
+ registerOnTouched(fn: any): void;
27
+ blurChange(e: any): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsAutocompleteComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsAutocompleteComponent, "ecabs-autocomplete", never, { "digitsOnly": { "alias": "digitsOnly"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowHyphen": { "alias": "allowHyphen"; "required": false; }; "suffixTooltip": { "alias": "suffixTooltip"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onblur": "onblur"; }, never, ["mat-icon", ".suffix"], false, never>;
30
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-autocomplete.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/autocomplete";
5
+ import * as i4 from "@angular/material/input";
6
+ import * as i5 from "../base/element-wrapper/element-wrapper.module";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "../base/directives/digits-only.directive.module";
9
+ import * as i8 from "@angular/material/tooltip";
10
+ import * as i9 from "@angular/material/icon";
11
+ export declare class EcabsAutocompleteModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsAutocompleteModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsAutocompleteModule, [typeof i1.EcabsAutocompleteComponent], [typeof i2.CommonModule, typeof i3.MatAutocompleteModule, typeof i4.MatInputModule, typeof i5.ElementWrapperModule, typeof i6.FormsModule, typeof i7.DigitsOnlyDirectivesModule, typeof i8.MatTooltipModule, typeof i9.MatIconModule], [typeof i1.EcabsAutocompleteComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsAutocompleteModule>;
15
+ }
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-buttons.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-button";
4
+ import * as i3 from "@angular/material/button";
5
5
  import * as i4 from "../ecabs-loading/ecabs-loading.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  export declare class EcabsButtonsModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsButtonsModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsButtonsModule, [typeof i1.ButtonsComponent], [typeof i2.CommonModule, typeof i3.MatLegacyButtonModule, typeof i4.EcabsLoadingModule, typeof i5.MatIconModule], [typeof i1.ButtonsComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsButtonsModule, [typeof i1.ButtonsComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.EcabsLoadingModule, typeof i5.MatIconModule], [typeof i1.ButtonsComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsButtonsModule>;
11
11
  }
@@ -2,11 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-checkbox-toggle.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
- import * as i4 from "@angular/material/legacy-checkbox";
6
- import * as i5 from "@angular/material/legacy-slide-toggle";
5
+ import * as i4 from "@angular/material/checkbox";
6
+ import * as i5 from "@angular/material/slide-toggle";
7
7
  import * as i6 from "@angular/forms";
8
8
  export declare class EcabsCheckboxToggleModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsCheckboxToggleModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsCheckboxToggleModule, [typeof i1.EcabsCheckboxToggleComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatLegacyCheckboxModule, typeof i5.MatLegacySlideToggleModule, typeof i6.FormsModule], [typeof i1.EcabsCheckboxToggleComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsCheckboxToggleModule, [typeof i1.EcabsCheckboxToggleComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatCheckboxModule, typeof i5.MatSlideToggleModule, typeof i6.FormsModule], [typeof i1.EcabsCheckboxToggleComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsCheckboxToggleModule>;
12
12
  }
@@ -7,9 +7,9 @@ import * as i5 from "@angular/material/icon";
7
7
  import * as i6 from "@angular/material/datepicker";
8
8
  import * as i7 from "@angular/forms";
9
9
  import * as i8 from "../ecabs-picker-header/ecabs-picker-header.module";
10
- import * as i9 from "@angular/material/legacy-button";
10
+ import * as i9 from "@angular/material/button";
11
11
  export declare class EcabsDatePickerModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDatePickerModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatePickerModule, [typeof i1.EcabsDatePickerComponent, typeof i2.EcabsDatePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.EcabsPickerHeaderModule, typeof i9.MatLegacyButtonModule], [typeof i1.EcabsDatePickerComponent, typeof i2.EcabsDatePickerHeaderComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatePickerModule, [typeof i1.EcabsDatePickerComponent, typeof i2.EcabsDatePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.EcabsPickerHeaderModule, typeof i9.MatButtonModule], [typeof i1.EcabsDatePickerComponent, typeof i2.EcabsDatePickerHeaderComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDatePickerModule>;
15
15
  }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class EcabsDateRangePickerHeaderComponent {
3
+ selectDateLabel: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangePickerHeaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateRangePickerHeaderComponent, "ecabs-date-range-picker-header", never, { "selectDateLabel": { "alias": "selectDateLabel"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,47 @@
1
+ import { AfterViewInit, EventEmitter, Injector } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import ElementBaseComponent from '../base/element-base';
4
+ import { EcabsDateRangePickerHeaderComponent } from './components/ecabs-date-range-picker-header/ecabs-date-range-picker-header.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EcabsDateRangePickerComponent extends ElementBaseComponent implements ControlValueAccessor, AfterViewInit {
7
+ private injector;
8
+ minDate: Date;
9
+ maxDate: Date;
10
+ touchUi: boolean;
11
+ cancleLabel: string;
12
+ applyLabel: string;
13
+ selectDateLabel: string;
14
+ startDatePlaceholder: string;
15
+ endDatePlaceholder: string;
16
+ onblur: EventEmitter<any>;
17
+ val: {
18
+ dateFrom: string;
19
+ dateTo: string;
20
+ };
21
+ header: typeof EcabsDateRangePickerHeaderComponent;
22
+ _dateFrom: string;
23
+ _dateTo: string;
24
+ get value(): {
25
+ dateFrom: string;
26
+ dateTo: string;
27
+ };
28
+ get dateFrom(): string;
29
+ get dateTo(): string;
30
+ set value(val: {
31
+ dateFrom: string;
32
+ dateTo: string;
33
+ });
34
+ set dateFrom(val: string);
35
+ set dateTo(val: string);
36
+ constructor(injector: Injector);
37
+ ngAfterViewInit(): void;
38
+ onChange: any;
39
+ onTouch: any;
40
+ writeValue(value: any): void;
41
+ registerOnChange(fn: any): void;
42
+ registerOnTouched(fn: any): void;
43
+ blurChange(e: any): void;
44
+ onApply(): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangePickerComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateRangePickerComponent, "ecabs-date-range-picker", never, { "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; "cancleLabel": { "alias": "cancleLabel"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "selectDateLabel": { "alias": "selectDateLabel"; "required": false; }; "startDatePlaceholder": { "alias": "startDatePlaceholder"; "required": false; }; "endDatePlaceholder": { "alias": "endDatePlaceholder"; "required": false; }; }, { "onblur": "onblur"; }, never, never, false, never>;
47
+ }
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-date-range-picker.component";
3
+ import * as i2 from "./components/ecabs-date-range-picker-header/ecabs-date-range-picker-header.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/material/datepicker";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "../ecabs-picker-header/ecabs-picker-header.module";
11
+ import * as i10 from "../ecabs-buttons/ecabs-buttons.module";
12
+ import * as i11 from "../base/directives/digits-only.directive.module";
13
+ import * as i12 from "../base/directives/number-border.directive.module";
14
+ import * as i13 from "../base/directives/date-mask.directive.module";
15
+ export declare const MATERIAL_DATETIMEPICKER_FORMATS: {
16
+ parse: {
17
+ dateInput: string;
18
+ };
19
+ display: {
20
+ dateInput: string;
21
+ monthYearLabel: string;
22
+ dateA11yLabel: string;
23
+ monthYearA11yLabel: string;
24
+ };
25
+ };
26
+ export declare class EcabsDateRangeModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateRangeModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDateRangeModule, [typeof i1.EcabsDateRangePickerComponent, typeof i2.EcabsDateRangePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.MatButtonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.EcabsPickerHeaderModule, typeof i10.EcabsButtonsModule, typeof i11.DigitsOnlyDirectivesModule, typeof i12.NumberBorderDirectiveModule, typeof i13.MaskDateDirectiveModule], [typeof i1.EcabsDateRangePickerComponent, typeof i2.EcabsDateRangePickerHeaderComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDateRangeModule>;
30
+ }
@@ -5,7 +5,7 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  import * as i6 from "@angular/material/datepicker";
8
- import * as i7 from "@angular/material/legacy-button";
8
+ import * as i7 from "@angular/material/button";
9
9
  import * as i8 from "@angular/forms";
10
10
  import * as i9 from "../ecabs-picker-header/ecabs-picker-header.module";
11
11
  import * as i10 from "../ecabs-buttons/ecabs-buttons.module";
@@ -14,6 +14,6 @@ import * as i12 from "../base/directives/number-border.directive.module";
14
14
  import * as i13 from "../base/directives/date-mask.directive.module";
15
15
  export declare class EcabsDatetimePickerModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDatetimePickerModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatetimePickerModule, [typeof i1.EcabsDateTimePickerComponent, typeof i2.EcabsDateTimePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.MatLegacyButtonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.EcabsPickerHeaderModule, typeof i10.EcabsButtonsModule, typeof i11.DigitsOnlyDirectivesModule, typeof i12.NumberBorderDirectiveModule, typeof i13.MaskDateDirectiveModule], [typeof i1.EcabsDateTimePickerComponent, typeof i2.EcabsDateTimePickerHeaderComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatetimePickerModule, [typeof i1.EcabsDateTimePickerComponent, typeof i2.EcabsDateTimePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.MatButtonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.EcabsPickerHeaderModule, typeof i10.EcabsButtonsModule, typeof i11.DigitsOnlyDirectivesModule, typeof i12.NumberBorderDirectiveModule, typeof i13.MaskDateDirectiveModule], [typeof i1.EcabsDateTimePickerComponent, typeof i2.EcabsDateTimePickerHeaderComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDatetimePickerModule>;
19
19
  }
@@ -6,7 +6,7 @@ import * as i4 from "@angular/common";
6
6
  import * as i5 from "../base/element-wrapper/element-wrapper.module";
7
7
  import * as i6 from "@angular/material/icon";
8
8
  import * as i7 from "@angular/material/datepicker";
9
- import * as i8 from "@angular/material/legacy-button";
9
+ import * as i8 from "@angular/material/button";
10
10
  import * as i9 from "@angular/forms";
11
11
  import * as i10 from "../ecabs-picker-header/ecabs-picker-header.module";
12
12
  import * as i11 from "../ecabs-buttons/ecabs-buttons.module";
@@ -15,6 +15,6 @@ import * as i13 from "../base/directives/number-border.directive.module";
15
15
  import * as i14 from "../base/directives/date-mask.directive.module";
16
16
  export declare class EcabsDatetimeRangePickerModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDatetimeRangePickerModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatetimeRangePickerModule, [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent, typeof i3.TimeRangeDirective], [typeof i4.CommonModule, typeof i5.ElementWrapperModule, typeof i6.MatIconModule, typeof i7.MatDatepickerModule, typeof i8.MatLegacyButtonModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.EcabsPickerHeaderModule, typeof i11.EcabsButtonsModule, typeof i12.DigitsOnlyDirectivesModule, typeof i13.NumberBorderDirectiveModule, typeof i14.MaskDateDirectiveModule], [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent, typeof i3.TimeRangeDirective]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatetimeRangePickerModule, [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent, typeof i3.TimeRangeDirective], [typeof i4.CommonModule, typeof i5.ElementWrapperModule, typeof i6.MatIconModule, typeof i7.MatDatepickerModule, typeof i8.MatButtonModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.EcabsPickerHeaderModule, typeof i11.EcabsButtonsModule, typeof i12.DigitsOnlyDirectivesModule, typeof i13.NumberBorderDirectiveModule, typeof i14.MaskDateDirectiveModule], [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent, typeof i3.TimeRangeDirective]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDatetimeRangePickerModule>;
20
20
  }
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-dialog-confirm.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
4
+ import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../ecabs-buttons/ecabs-buttons.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  export declare class EcabsDialogConfirmModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogConfirmModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogConfirmModule, [typeof i1.EcabsDialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogConfirmModule, [typeof i1.EcabsDialogConfirmComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDialogConfirmModule>;
11
11
  }
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-dialog-message.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-dialog";
4
+ import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "../ecabs-buttons/ecabs-buttons.module";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  export declare class EcabsDialogMessageModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDialogMessageModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogMessageModule, [typeof i1.EcabsDialogMessageComponent], [typeof i2.CommonModule, typeof i3.MatLegacyDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDialogMessageModule, [typeof i1.EcabsDialogMessageComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.EcabsButtonsModule, typeof i5.MatIconModule], never>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDialogMessageModule>;
11
11
  }
@@ -2,13 +2,13 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-expansion-panel.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/legacy-button";
5
+ import * as i4 from "@angular/material/button";
6
6
  import * as i5 from "@angular/material/expansion";
7
7
  import * as i6 from "@angular/material/icon";
8
- import * as i7 from "@angular/material/legacy-chips";
8
+ import * as i7 from "@angular/material/chips";
9
9
  import * as i8 from "../ecabs-checkbox-toggle/ecabs-checkbox-toggle.module";
10
10
  export declare class EcabsExpansionPanelModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsExpansionPanelModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsExpansionPanelModule, [typeof i1.EcabsExpansionPanelComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatLegacyButtonModule, typeof i5.MatExpansionModule, typeof i6.MatIconModule, typeof i7.MatLegacyChipsModule, typeof i8.EcabsCheckboxToggleModule], [typeof i1.EcabsExpansionPanelComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsExpansionPanelModule, [typeof i1.EcabsExpansionPanelComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatExpansionModule, typeof i6.MatIconModule, typeof i7.MatChipsModule, typeof i8.EcabsCheckboxToggleModule], [typeof i1.EcabsExpansionPanelComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsExpansionPanelModule>;
14
14
  }
@@ -1,13 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-increment.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-input";
4
+ import * as i3 from "@angular/material/input";
5
5
  import * as i4 from "@angular/material/icon";
6
6
  import * as i5 from "../base/element-wrapper/element-wrapper.module";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "../base/directives/digits-only.directive.module";
9
9
  export declare class EcabsIncrementModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsIncrementModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsIncrementModule, [typeof i1.EcabsIncrementComponent], [typeof i2.CommonModule, typeof i3.MatLegacyInputModule, typeof i4.MatIconModule, typeof i5.ElementWrapperModule, typeof i6.FormsModule, typeof i7.DigitsOnlyDirectivesModule], [typeof i1.EcabsIncrementComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsIncrementModule, [typeof i1.EcabsIncrementComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.MatIconModule, typeof i5.ElementWrapperModule, typeof i6.FormsModule, typeof i7.DigitsOnlyDirectivesModule], [typeof i1.EcabsIncrementComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsIncrementModule>;
13
13
  }
@@ -9,6 +9,7 @@ export declare class EcabsInputComponent extends ElementBaseComponent implements
9
9
  allowHyphen: boolean;
10
10
  max: number;
11
11
  step: number;
12
+ suffixTooltip: string;
12
13
  onblur: EventEmitter<any>;
13
14
  val: string | number;
14
15
  get value(): string | number;
@@ -23,5 +24,5 @@ export declare class EcabsInputComponent extends ElementBaseComponent implements
23
24
  registerOnTouched(fn: any): void;
24
25
  blurChange(e: any): void;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsInputComponent, never>;
26
- 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; }; "step": { "alias": "step"; "required": false; }; }, { "onblur": "onblur"; }, never, ["mat-icon", ".suffix"], false, never>;
27
+ 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; }; "step": { "alias": "step"; "required": false; }; "suffixTooltip": { "alias": "suffixTooltip"; "required": false; }; }, { "onblur": "onblur"; }, never, ["mat-icon", ".suffix"], false, never>;
27
28
  }
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-input.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-input";
4
+ import * as i3 from "@angular/material/input";
5
5
  import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
6
  import * as i5 from "@angular/forms";
7
7
  import * as i6 from "../base/directives/digits-only.directive.module";
8
+ import * as i7 from "@angular/material/tooltip";
8
9
  export declare class EcabsInputModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsInputModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsInputModule, [typeof i1.EcabsInputComponent], [typeof i2.CommonModule, typeof i3.MatLegacyInputModule, typeof i4.ElementWrapperModule, typeof i5.FormsModule, typeof i6.DigitsOnlyDirectivesModule], [typeof i1.EcabsInputComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsInputModule, [typeof i1.EcabsInputComponent], [typeof i2.CommonModule, typeof i3.MatInputModule, typeof i4.ElementWrapperModule, typeof i5.FormsModule, typeof i6.DigitsOnlyDirectivesModule, typeof i7.MatTooltipModule], [typeof i1.EcabsInputComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsInputModule>;
12
13
  }
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-language-selector.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/legacy-select";
5
- import * as i4 from "@angular/material/legacy-form-field";
4
+ import * as i3 from "@angular/material/select";
5
+ import * as i4 from "@angular/material/form-field";
6
6
  import * as i5 from "@angular/forms";
7
- import * as i6 from "@angular/material/legacy-tooltip";
7
+ import * as i6 from "@angular/material/tooltip";
8
8
  export declare class EcabsLanguageSelectorModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsLanguageSelectorModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsLanguageSelectorModule, [typeof i1.EcabsLanguageSelectorComponent], [typeof i2.CommonModule, typeof i3.MatLegacySelectModule, typeof i4.MatLegacyFormFieldModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatLegacyTooltipModule], [typeof i1.EcabsLanguageSelectorComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsLanguageSelectorModule, [typeof i1.EcabsLanguageSelectorComponent], [typeof i2.CommonModule, typeof i3.MatSelectModule, typeof i4.MatFormFieldModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatTooltipModule], [typeof i1.EcabsLanguageSelectorComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsLanguageSelectorModule>;
12
12
  }
@@ -1,12 +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 "@angular/material/legacy-input";
4
+ import * as i3 from "@angular/material/input";
5
5
  import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
6
  import * as i5 from "@angular/forms";
7
7
  import * as i6 from "ngx-mat-intl-tel-input";
8
8
  export declare class EcabsPhoneModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPhoneModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPhoneModule, [typeof i1.EcabsPhoneComponent], [typeof i2.CommonModule, typeof i3.MatLegacyInputModule, typeof i4.ElementWrapperModule, typeof i5.FormsModule, typeof i6.NgxMatIntlTelInputComponent, typeof i5.ReactiveFormsModule], [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 i6.NgxMatIntlTelInputComponent, typeof i5.ReactiveFormsModule], [typeof i1.EcabsPhoneComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsPhoneModule>;
12
12
  }
@@ -3,10 +3,10 @@ import * as i1 from "./ecabs-picker-header.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
5
  import * as i4 from "@angular/material/icon";
6
- import * as i5 from "@angular/material/legacy-button";
6
+ import * as i5 from "@angular/material/button";
7
7
  import * as i6 from "@angular/material/datepicker";
8
8
  export declare class EcabsPickerHeaderModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsPickerHeaderModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPickerHeaderModule, [typeof i1.EcabsPickerHeaderComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatIconModule, typeof i5.MatLegacyButtonModule, typeof i6.MatDatepickerModule], [typeof i1.EcabsPickerHeaderComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsPickerHeaderModule, [typeof i1.EcabsPickerHeaderComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatDatepickerModule], [typeof i1.EcabsPickerHeaderComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsPickerHeaderModule>;
12
12
  }
@@ -2,10 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./ecabs-radio-button-list.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../base/element-wrapper/element-wrapper.module";
5
- import * as i4 from "@angular/material/legacy-radio";
5
+ import * as i4 from "@angular/material/radio";
6
6
  import * as i5 from "@angular/forms";
7
7
  export declare class EcabsRadioButtonListModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsRadioButtonListModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsRadioButtonListModule, [typeof i1.EcabsRadioButtonListComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatLegacyRadioModule, typeof i5.FormsModule], [typeof i1.EcabsRadioButtonListComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsRadioButtonListModule, [typeof i1.EcabsRadioButtonListComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatRadioModule, typeof i5.FormsModule], [typeof i1.EcabsRadioButtonListComponent]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsRadioButtonListModule>;
11
11
  }
@@ -3,13 +3,13 @@ import * as i0 from "@angular/core";
3
3
  import * as i1 from "./ecabs-select.component";
4
4
  import * as i2 from "@angular/common";
5
5
  import * as i3 from "../base/element-wrapper/element-wrapper.module";
6
- import * as i4 from "@angular/material/legacy-select";
6
+ import * as i4 from "@angular/material/select";
7
7
  import * as i5 from "@angular/forms";
8
8
  import * as i6 from "ngx-mat-select-search";
9
- import * as i7 from "@angular/material/legacy-form-field";
9
+ import * as i7 from "@angular/material/form-field";
10
10
  export declare class EcabsSelectModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSelectModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectModule, [typeof i1.EcabsSelectComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatLegacySelectModule, typeof i5.FormsModule, typeof i6.NgxMatSelectSearchModule, typeof i7.MatLegacyFormFieldModule, typeof i5.ReactiveFormsModule], [typeof i1.EcabsSelectComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSelectModule, [typeof i1.EcabsSelectComponent], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatSelectModule, typeof i5.FormsModule, typeof i6.NgxMatSelectSearchModule, typeof i7.MatFormFieldModule, typeof i5.ReactiveFormsModule], [typeof i1.EcabsSelectComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<EcabsSelectModule>;
14
14
  }
15
15
  export declare function scrollFactory(overlay: Overlay): () => BlockScrollStrategy;
@@ -0,0 +1,52 @@
1
+ import { AfterViewInit, ElementRef, Injector, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { MatDatepickerInputEvent } from '@angular/material/datepicker';
4
+ import ElementBaseComponent from '../base/element-base';
5
+ import * as i0 from "@angular/core";
6
+ export declare class EcabsSepDateRangePicker extends ElementBaseComponent implements ControlValueAccessor, AfterViewInit {
7
+ private readonly renderer;
8
+ private readonly injector;
9
+ options: {};
10
+ required: boolean;
11
+ selectDateLabel: string;
12
+ startDatePlaceholder: string;
13
+ endDatePlaceholder: string;
14
+ oneDayPlaceholder: string;
15
+ threeDaysPlaceholder: string;
16
+ oneWeekPlaceholder: string;
17
+ oneMonthPlaceholder: string;
18
+ datepickerFooter: ElementRef;
19
+ val: {
20
+ dateFrom: string;
21
+ dateTo: string;
22
+ };
23
+ _dateFrom: string;
24
+ _dateTo: string;
25
+ get value(): {
26
+ dateFrom: string;
27
+ dateTo: string;
28
+ };
29
+ get dateFrom(): string;
30
+ get dateTo(): string;
31
+ set value(val: {
32
+ dateFrom: string;
33
+ dateTo: string;
34
+ });
35
+ set dateFrom(val: string);
36
+ set dateTo(val: string);
37
+ bottomPaddingPx: number;
38
+ constructor(renderer: Renderer2, injector: Injector);
39
+ ngAfterViewInit(): void;
40
+ onChange: any;
41
+ onTouch: any;
42
+ writeValue(value: any): void;
43
+ registerOnChange(fn: any): void;
44
+ registerOnTouched(fn: any): void;
45
+ setDate(days: number): void;
46
+ onChangeDateFrom($event: MatDatepickerInputEvent<{}>): void;
47
+ autoSetDateTo(): void;
48
+ onOpened(): void;
49
+ private appendFooter;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSepDateRangePicker, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsSepDateRangePicker, "ecabs-sep-date-range-picker", never, { "options": { "alias": "options"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectDateLabel": { "alias": "selectDateLabel"; "required": false; }; "startDatePlaceholder": { "alias": "startDatePlaceholder"; "required": false; }; "endDatePlaceholder": { "alias": "endDatePlaceholder"; "required": false; }; "oneDayPlaceholder": { "alias": "oneDayPlaceholder"; "required": false; }; "threeDaysPlaceholder": { "alias": "threeDaysPlaceholder"; "required": false; }; "oneWeekPlaceholder": { "alias": "oneWeekPlaceholder"; "required": false; }; "oneMonthPlaceholder": { "alias": "oneMonthPlaceholder"; "required": false; }; }, {}, never, never, false, never>;
52
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-sep-date-range-picker.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/material/icon";
6
+ import * as i5 from "@angular/material/datepicker";
7
+ import * as i6 from "@angular/material/button";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "../ecabs-buttons/ecabs-buttons.module";
10
+ import * as i9 from "../base/directives/digits-only.directive.module";
11
+ import * as i10 from "../base/directives/number-border.directive.module";
12
+ import * as i11 from "../base/directives/date-mask.directive.module";
13
+ export declare class EcabsSepDateRangeModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsSepDateRangeModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsSepDateRangeModule, [typeof i1.EcabsSepDateRangePicker], [typeof i2.CommonModule, typeof i3.ElementWrapperModule, typeof i4.MatIconModule, typeof i5.MatDatepickerModule, typeof i6.MatButtonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.EcabsButtonsModule, typeof i9.DigitsOnlyDirectivesModule, typeof i10.NumberBorderDirectiveModule, typeof i11.MaskDateDirectiveModule], [typeof i1.EcabsSepDateRangePicker]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsSepDateRangeModule>;
17
+ }