UNPKG

sb-element

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]

29 lines (28 loc) 1.52 kB
import { ControlValueAccessor } from "@angular/forms"; import { SbDoubleInput } from "../../input"; import { MarkedDates } from "../../../calendar"; import * as i0 from "@angular/core"; declare const SbDateRangeInputCore: import("../../../core").Constructor<import("../../../core").CanDisable> & import("../../../core").AbstractConstructor<import("../../../core").CanDisable> & import("../../../core").Constructor<import("../../../core").CanFocus> & import("../../../core").AbstractConstructor<import("../../../core").CanFocus> & { new (): {}; }; export declare class SbDateRangeInputComponent extends SbDateRangeInputCore implements ControlValueAccessor { color: string; size: string; format: string; markedDates: MarkedDates; private pickerMarkedDates; doubleInputDates: SbDoubleInput<string>; private onChange; private onTouch; handlePickerSelect(date: Date): void; handleInput(dates: SbDoubleInput<string>): void; private updateInput; writeValue(dates: MarkedDates): void; private doUpdate; registerOnChange(fn: (dates: MarkedDates) => void): void; registerOnTouched(fn: any): void; protected onBlur(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SbDateRangeInputComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SbDateRangeInputComponent, "sb-input[type=date-range]", never, { "disabled": "disabled"; "color": "color"; "size": "size"; "format": "format"; }, { "focus": "focus"; "blur": "blur"; }, never, never>; } export {};