UNPKG

ngx-gem-spaas

Version:

This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.

22 lines (21 loc) 1.2 kB
import { DateTime } from 'luxon'; import { FormControl, FormGroup } from "@angular/forms"; import { BaseComponent } from "ngx-gem-spaas"; import * as i0 from "@angular/core"; export declare class DateRangePickerComponent extends BaseComponent { /** The label to be displayed in the form field (optional) */ label: string; /** Your formgroup with 2 formcontrols: "start" (type DateTime) and "end" (type DateTime). * Will be updated directly by the date picker */ fgDateRange: FormGroup<{ start: FormControl<DateTime>; end: FormControl<DateTime>; }>; /** Minimum date in luxon DateTime */ minDate: DateTime | null; /** Maximum date in luxon DateTime */ maxDate: DateTime | null; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "spaas-date-range-picker", never, { "label": { "alias": "label"; "required": false; }; "fgDateRange": { "alias": "fgDateRange"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, {}, never, never, false, never>; }