@libs-ui/components-datetime-picker 0.2.356-9 → 0.2.357-1

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.
@@ -12,6 +12,8 @@ import { ICalendarFunctionControlEvent } from '../../interfaces/function-control
12
12
  import { LocalizationConfig } from '../../interfaces/picker.interface';
13
13
  import { ITimepickerItemValue, ITimepickerVariables } from '../../interfaces/time-variables.interface';
14
14
  import * as i0 from "@angular/core";
15
+ type T_calendarDateInput = Dayjs | string | undefined;
16
+ type T_timepickerSide = 'lefthour' | 'leftminute' | 'righthour' | 'rightminute';
15
17
  export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent implements OnInit, OnDestroy {
16
18
  /** PROPERTY */
17
19
  protected readonly sideEnum: typeof SideEnum;
@@ -57,18 +59,18 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent
57
59
  protected computedDisplayTimeRightInputHour: import("@angular/core").Signal<string | number>;
58
60
  protected computedDisplayTimeRightInputMinute: import("@angular/core").Signal<string | number>;
59
61
  protected timepickerValueItem: WritableSignal<ITimepickerItemValue>;
60
- private functionControls;
61
- private pickingDate;
62
- private isShown;
63
- private nowHoveredDate;
64
- private timePickerIncrement;
65
- private selectedLabel;
66
- private keyCodeBackspace;
67
- private checkBackspaceFocus;
68
- private isZero;
69
- private oldDate;
70
- private isSelectedData;
71
- private splitPickerDate;
62
+ private readonly functionControls;
63
+ private readonly pickingDate;
64
+ private readonly isShown;
65
+ private readonly nowHoveredDate;
66
+ private readonly timePickerIncrement;
67
+ private readonly selectedLabel;
68
+ private readonly keyCodeBackspace;
69
+ private readonly checkBackspaceFocus;
70
+ private readonly isZero;
71
+ private readonly oldDate;
72
+ private readonly isSelectedData;
73
+ private readonly splitPickerDate;
72
74
  /** INPUT */
73
75
  readonly quickRangesArray: import("@angular/core").InputSignal<IDateRange[]>;
74
76
  readonly zIndex: import("@angular/core").InputSignalWithTransform<number, number>;
@@ -83,8 +85,8 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent
83
85
  readonly showRangeLabelOnInput: import("@angular/core").InputSignal<boolean | undefined>;
84
86
  readonly startDate: import("@angular/core").ModelSignal<dayjs.Dayjs | undefined>;
85
87
  readonly endDate: import("@angular/core").ModelSignal<dayjs.Dayjs | undefined>;
86
- readonly minDate: import("@angular/core").InputSignalWithTransform<string | dayjs.Dayjs | undefined, string | dayjs.Dayjs | undefined>;
87
- readonly maxDate: import("@angular/core").InputSignalWithTransform<string | dayjs.Dayjs | undefined, string | dayjs.Dayjs | undefined>;
88
+ readonly minDate: import("@angular/core").InputSignalWithTransform<T_calendarDateInput, T_calendarDateInput>;
89
+ readonly maxDate: import("@angular/core").InputSignalWithTransform<T_calendarDateInput, T_calendarDateInput>;
88
90
  readonly listYearHiddenInputSearch: import("@angular/core").InputSignalWithTransform<boolean, boolean | undefined>;
89
91
  /** OUTPUT */
90
92
  readonly outChangStageFlagMouse: import("@angular/core").OutputEmitterRef<IFlagMouse>;
@@ -93,7 +95,7 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent
93
95
  readonly outUpdateWidth: import("@angular/core").OutputEmitterRef<number>;
94
96
  readonly outFunctionsControl: import("@angular/core").OutputEmitterRef<ICalendarFunctionControlEvent>;
95
97
  /** INJECTION */
96
- private translate;
98
+ private readonly translate;
97
99
  readonly pickerContainer: import("@angular/core").Signal<ElementRef<any> | undefined>;
98
100
  readonly inputTimeHours: import("@angular/core").Signal<readonly LibsUiComponentsInputsInputComponent[]>;
99
101
  constructor();
@@ -118,9 +120,9 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent
118
120
  private updateMonthSelect;
119
121
  private updateYearSelect;
120
122
  private monthOrYearChanged;
121
- protected handlerInputEvent(event: IEvent, type: `lefthour` | `leftminute` | `righthour` | `rightminute`): void;
122
- protected handlerFocusAndBlurTime(event: IFocusAndBlurEvent, type: `lefthour` | `leftminute` | `righthour` | `rightminute`): void;
123
- protected handlerChangeTimeValue(event: string | number, type: `lefthour` | `leftminute` | `righthour` | `rightminute`): void;
123
+ protected handlerInputEvent(event: IEvent, type: T_timepickerSide): void;
124
+ protected handlerFocusAndBlurTime(event: IFocusAndBlurEvent, type: T_timepickerSide): void;
125
+ protected handlerChangeTimeValue(event: string | number, type: T_timepickerSide): void;
124
126
  protected handlerShowListDropdown(event: boolean, type: string): void;
125
127
  protected convertItemMonth: (item: any) => any;
126
128
  protected convertItemYear: (item: any) => any;
@@ -140,3 +142,4 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesCalendarComponent
140
142
  static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsDatetimePickerCustomRangesCalendarComponent, never>;
141
143
  static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsDatetimePickerCustomRangesCalendarComponent, "libs_ui-components-datetime-picker-custom_ranges-calendar", never, { "quickRangesArray": { "alias": "quickRangesArray"; "required": false; "isSignal": true; }; "zIndex": { "alias": "zIndex"; "required": false; "isSignal": true; }; "classInclude": { "alias": "classInclude"; "required": false; "isSignal": true; }; "isSingle": { "alias": "isSingle"; "required": false; "isSignal": true; }; "showDropdownsSelect": { "alias": "showDropdownsSelect"; "required": false; "isSignal": true; }; "hasTimePicker": { "alias": "hasTimePicker"; "required": false; "isSignal": true; }; "flagMouse": { "alias": "flagMouse"; "required": false; "isSignal": true; }; "dateOptions": { "alias": "dateOptions"; "required": false; "isSignal": true; }; "autoApply": { "alias": "autoApply"; "required": false; "isSignal": true; }; "hasSecondPicker": { "alias": "hasSecondPicker"; "required": false; "isSignal": true; }; "showRangeLabelOnInput": { "alias": "showRangeLabelOnInput"; "required": false; "isSignal": true; }; "startDate": { "alias": "startDate"; "required": false; "isSignal": true; }; "endDate": { "alias": "endDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "listYearHiddenInputSearch": { "alias": "listYearHiddenInputSearch"; "required": false; "isSignal": true; }; }, { "startDate": "startDateChange"; "endDate": "endDateChange"; "outChangStageFlagMouse": "outChangStageFlagMouse"; "outPickerDate": "outPickerDate"; "outCancel": "outCancel"; "outUpdateWidth": "outUpdateWidth"; "outFunctionsControl": "outFunctionsControl"; }, never, never, true, never>;
142
144
  }
145
+ export {};
@@ -13,11 +13,11 @@ export declare class LibsUiComponentsDatetimePickerCustomRangesComponent impleme
13
13
  protected quickRangesArray: import("@angular/core").WritableSignal<IDateRange[]>;
14
14
  protected selectedQuickRange: import("@angular/core").WritableSignal<string>;
15
15
  protected chosenQuickRange: import("@angular/core").WritableSignal<string | undefined>;
16
- private calendarShowing;
17
- private timeouts;
18
- private calendarFunctionControlEvent;
19
- private chosenSingleDate;
20
- private chosenDateRange;
16
+ private readonly calendarShowing;
17
+ private readonly timeouts;
18
+ private readonly calendarFunctionControlEvent;
19
+ private readonly chosenSingleDate;
20
+ private readonly chosenDateRange;
21
21
  /** INPUT */
22
22
  readonly zIndex: import("@angular/core").InputSignalWithTransform<number, number>;
23
23
  readonly classInclude: import("@angular/core").InputSignal<string>;