1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /**
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
- */
- import { TemplateRef } from '@angular/core';
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
- export interface PanelSelector {
- className: string;
- title?: string;
- label: string;
- onClick(): void;
- }
- export interface DateCell {
- trackByIndex: NzSafeAny;
- value: Date;
- content: TemplateRef<Date> | string;
- onClick(): void;
- onMouseEnter(): void;
- isDisabled: boolean;
- isSelected: boolean;
- label?: string;
- title?: string;
- cellRender?: TemplateRef<Date> | string;
- fullCellRender?: TemplateRef<Date> | string;
- isToday?: boolean;
- classMap?: object;
- isStartSingle?: boolean;
- isEndSingle?: boolean;
- isSelectedStart?: boolean;
- isSelectedEnd?: boolean;
- isHoverStart?: boolean;
- isHoverEnd?: boolean;
- isInHoverRange?: boolean;
- isInSelectedRange?: boolean;
- isRangeStartNearHover?: boolean;
- isRangeEndNearHover?: boolean;
- isFirstCellInPanel?: boolean;
- isLastCellInPanel?: boolean;
- }
- export interface DateBodyRow {
- trackByIndex: NzSafeAny;
- dateCells: DateCell[];
- isActive?: boolean;
- weekNum?: number;
- classMap?: object;
- }
- export interface DecadeCell extends DateCell {
- isBiggerThanEnd?: boolean;
- isLowerThanStart?: boolean;
- }
- export interface YearCell extends DateCell {
- isSameDecade?: boolean;
- }
|