@delon/abc
Version:
Common business components of ng-alain.
31 lines (30 loc) • 1.47 kB
TypeScript
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
import { AlainConfigService, AlainDateRangePickerShortcut } from '@delon/util/config';
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
import * as i0 from "@angular/core";
export declare class RangePickerDirective implements OnDestroy, AfterViewInit {
static ngAcceptInputType_shortcut: AlainDateRangePickerShortcut | string | null;
private readonly dom;
private readonly vcr;
private readonly nativeComp;
private defaultShortcuts;
private _shortcut;
private shortcutFactory;
start: Date | null;
end: Date | null;
set shortcut(val: AlainDateRangePickerShortcut | null);
get shortcut(): AlainDateRangePickerShortcut | null;
ngModelEnd: NzSafeAny;
readonly ngModelEndChange: EventEmitter<any>;
private get dp();
private get srv();
constructor(configSrv: AlainConfigService);
private cd;
private overrideNative;
private refreshShortcut;
ngAfterViewInit(): void;
private destoryShortcut;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RangePickerDirective, "nz-range-picker[extend]", ["extendRangePicker"], { "shortcut": { "alias": "shortcut"; "required": false; }; "ngModelEnd": { "alias": "ngModelEnd"; "required": true; }; }, { "ngModelEndChange": "ngModelEndChange"; }, never, never, true, never>;
}