UNPKG

@cauca-911/material

Version:

Run `npm install @cauca-911/material --save` to add this library to your project

46 lines 1.9 kB
import { OnInit, WritableSignal } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { DialogDateTimePickerOptions, DialogDateTimePickerDataDisabled } from '../../models/dialog-date-time-picker-data'; import * as i0 from "@angular/core"; export declare class DialogDateTimePickerComponent implements OnInit { dialogRef: MatDialogRef<DialogDateTimePickerComponent>; options: DialogDateTimePickerOptions; selectedHour: number; selectedMinute: number; selectedSecond: number; initialDate: Date; selectedDate: Date; minimumDate: Date; maximumDate: Date; showSeconds: boolean; showClearButton: boolean; showButtonIcons: boolean; hours: number[]; minutes: number[]; seconds: number[]; showMobileUi: boolean; showTime: WritableSignal<boolean>; disabled: DialogDateTimePickerDataDisabled; private step; constructor(dialogRef: MatDialogRef<DialogDateTimePickerComponent>, options: DialogDateTimePickerOptions); ngOnInit(): void; onResize(event: any): void; dateChanged(date: Date): void; hourChanged(hour: number): void; minuteChanged(minute: number): void; secondChanged(second: number): void; clear(): void; cancel(): void; confirm(): void; private onWindowWithChange; private hourOfSelectedDateIsDisabled; private minuteOfSelectedDateIsDisabled; private secondOfSelectedDateIsDisabled; private initialEachComponentValue; private selectedDateIsTheMinimumDate; private selectedDateIsTheMaximumDate; private setListHoursMinutes; static ɵfac: i0.ɵɵFactoryDeclaration<DialogDateTimePickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DialogDateTimePickerComponent, "cauca-dialog-date-time-picker", never, {}, {}, never, never, true, never>; } //# sourceMappingURL=dialog-date-time-picker.component.d.ts.map