ecabs-components 1.1.29 → 1.1.30

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.
@@ -1,4 +1,5 @@
1
1
  export type ListPlacement = 'bottom' | 'top' | 'auto';
2
+ export type TimepickerSpecialKey = 'bottom' | 'top' | 'auto' | ':' | ' ' | 'Tab' | 'tab' | 'stop' | 'ArrowDown' | 'ArrowUp' | 'continue';
2
3
  export interface ListPosition {
3
4
  left?: number;
4
5
  top?: number;
@@ -2,7 +2,7 @@ import { AfterViewInit, DestroyRef, ElementRef, Injector } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { FormTimePickerService } from './ecabs-timepicker.service';
4
4
  import EcabsElementBaseComponent from '../base/element-base';
5
- import { ListPlacement, ListPosition } from '../base/models/timepicker.models';
5
+ import { ListPlacement, ListPosition, TimepickerSpecialKey } from '../base/models/timepicker.models';
6
6
  import { EcabsDatePickerTranslations } from '../base/models/ecabs-date-picker-translations.models';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent implements ControlValueAccessor, AfterViewInit {
@@ -10,8 +10,8 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
10
10
  private readonly timepickerService;
11
11
  private readonly injector;
12
12
  private readonly destroyRef;
13
- showCloseIcon: boolean;
14
13
  focusedFlag: boolean;
14
+ showCloseIcon: boolean;
15
15
  listPlacement: ListPlacement;
16
16
  appendTo: string;
17
17
  min: string;
@@ -32,8 +32,8 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
32
32
  translationConfig: EcabsDatePickerTranslations;
33
33
  isHoverItemChanged: boolean;
34
34
  get allLabel(): string;
35
- get data(): any;
36
- set data(value: any);
35
+ get data(): string;
36
+ set data(value: string);
37
37
  constructor(elementRef: ElementRef, timepickerService: FormTimePickerService, injector: Injector, destroyRef: DestroyRef);
38
38
  handleMousedown($event: MouseEvent): void;
39
39
  ngAfterViewInit(): void;
@@ -41,7 +41,7 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
41
41
  calcListPosition(): void;
42
42
  inputKeyDown(event: any): boolean;
43
43
  updateInputData(event: string): void;
44
- checkSpecialKeys(key: any): 'stop' | 'continue' | 'tab';
44
+ checkSpecialKeys(key: TimepickerSpecialKey): TimepickerSpecialKey;
45
45
  checkUnUsedKeys(key: string): boolean;
46
46
  checkOutOfRangeNumber(time: any): boolean;
47
47
  makeHourFull(): void;
@@ -55,5 +55,5 @@ export declare class EcabsTimepickerComponent extends EcabsElementBaseComponent
55
55
  show(): void;
56
56
  close(val?: any): void;
57
57
  static ɵfac: i0.ɵɵFactoryDeclaration<EcabsTimepickerComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<EcabsTimepickerComponent, "ecabs-timepicker", never, { "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "focusedFlag": { "alias": "focusedFlag"; "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; }; }, {}, never, ["mat-icon"], false, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsTimepickerComponent, "ecabs-timepicker", never, { "focusedFlag": { "alias": "focusedFlag"; "required": false; }; "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; }; }, {}, never, ["mat-icon"], false, never>;
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",