primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
101 lines (100 loc) • 2.92 kB
TypeScript
import { BaseStyle } from 'primeng/base';
import * as i0 from "@angular/core";
export declare class CalendarStyle extends BaseStyle {
name: string;
theme: ({ dt }: {
dt: any;
}) => string;
classes: {
root: ({ instance }: {
instance: any;
}) => {
'p-datepicker p-component p-inputwrapper': boolean;
'p-datepicker-fluid': any;
'p-inputwrapper-filled': any;
'p-inputwrapper-focus': any;
'p-focus': any;
};
pcInput: string;
dropdown: string;
inputIconContainer: string;
inputIcon: string;
panel: ({ instance }: {
instance: any;
}) => {
'p-datepicker-panel p-component': boolean;
'p-datepicker-panel-inline': any;
'p-disabled': any;
'p-datepicker-timeonly': any;
};
calendarContainer: string;
calendar: string;
header: string;
pcPrevButton: string;
title: string;
selectMonth: string;
selectYear: string;
decade: string;
pcNextButton: string;
dayView: string;
weekHeader: string;
weekNumber: string;
weekLabelContainer: string;
weekDayCell: string;
weekDay: string;
dayCell: ({ date }: {
date: any;
}) => (string | {
'p-datepicker-other-month': any;
'p-datepicker-today': any;
})[];
day: ({ instance, date }: {
instance: any;
date: any;
}) => {
[x: string]: any;
'p-datepicker-day': boolean;
'p-datepicker-day-selected': any;
'p-disabled': any;
};
monthView: string;
month: ({ instance, props, month, index }: {
instance: any;
props: any;
month: any;
index: any;
}) => (string | {
'p-datepicker-month-selected': any;
'p-disabled': any;
})[];
yearView: string;
year: ({ instance, props, year }: {
instance: any;
props: any;
year: any;
}) => (string | {
'p-datepicker-year-selected': any;
'p-disabled': any;
})[];
timePicker: string;
hourPicker: string;
pcIncrementButton: string;
pcDecrementButton: string;
separator: string;
minutePicker: string;
secondPicker: string;
ampmPicker: string;
buttonbar: string;
pcTodayButton: string;
pcClearButton: string;
};
inlineStyles: {
root: ({ props }: {
props: any;
}) => {
position: string;
};
};
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarStyle>;
}