mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
parent
308ef169c0
commit
46ddebc0c0
11 changed files with 250 additions and 122 deletions
|
@ -351,7 +351,7 @@ const classes = {
|
|||
}
|
||||
],
|
||||
input: 'p-datepicker-input',
|
||||
dropdownButton: 'p-datepicker-dropdown',
|
||||
dropdown: 'p-datepicker-dropdown',
|
||||
inputIconContainer: 'p-datepicker-input-icon-container',
|
||||
inputIcon: 'p-datepicker-input-icon',
|
||||
panel: ({ instance, props }) => [
|
||||
|
@ -363,32 +363,32 @@ const classes = {
|
|||
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
||||
}
|
||||
],
|
||||
group: 'p-datepicker-calendar-container',
|
||||
calendarContainer: 'p-datepicker-calendar-container',
|
||||
calendar: 'p-datepicker-calendar',
|
||||
header: 'p-datepicker-header',
|
||||
previousButton: 'p-datepicker-prev-button',
|
||||
title: 'p-datepicker-title',
|
||||
monthTitle: 'p-datepicker-view-month p-link',
|
||||
yearTitle: 'p-datepicker-view-year p-link',
|
||||
decadeTitle: 'p-datepicker-decade',
|
||||
viewMonth: 'p-datepicker-view-month p-link',
|
||||
viewYear: 'p-datepicker-view-year p-link',
|
||||
decade: 'p-datepicker-decade',
|
||||
nextButton: 'p-datepicker-next-button',
|
||||
grid: 'p-datepicker-day-view',
|
||||
dayView: 'p-datepicker-day-view',
|
||||
weekHeader: 'p-datepicker-weekheader p-disabled',
|
||||
weekNumber: 'p-datepicker-weeknumber',
|
||||
weekLabelContainer: 'p-disabled',
|
||||
weekDay: 'p-datepicker-weekday-cell',
|
||||
weekDayLabel: 'p-date-picker-weekday',
|
||||
day: ({ date }) => ['p-datepicker-day-cell', { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
|
||||
dayLabel: ({ instance, props, date }) => ['p-datepicker-day', { 'p-datepicker-day-selected': instance.isSelected(date) && date.selectable, 'p-disabled': props.disabled || !date.selectable }],
|
||||
monthPicker: 'p-datepicker-month-view',
|
||||
weekLabelContainer: 'p-disabled', //TODO:
|
||||
weekDayCell: 'p-datepicker-weekday-cell',
|
||||
weekDay: 'p-date-picker-weekday',
|
||||
dayCell: ({ date }) => ['p-datepicker-day-cell', { 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
|
||||
day: ({ instance, props, date }) => ['p-datepicker-day', { 'p-datepicker-day-selected': instance.isSelected(date) && date.selectable, 'p-disabled': props.disabled || !date.selectable }],
|
||||
monthView: 'p-datepicker-month-view',
|
||||
month: ({ instance, props, month, index }) => ['p-datepicker-month', { 'p-datepicker-month-selected': instance.isMonthSelected(index), 'p-disabled': props.disabled || !month.selectable }],
|
||||
yearPicker: 'p-datepicker-year-view',
|
||||
yearView: 'p-datepicker-year-view',
|
||||
year: ({ instance, props, year }) => ['p-datepicker-year', { 'p-datepicker-year-selected': instance.isYearSelected(year.value), 'p-disabled': props.disabled || !year.selectable }],
|
||||
timePicker: 'p-datepicker-time-picker',
|
||||
hourPicker: 'p-datepicker-hour-picker',
|
||||
incrementButton: 'p-datepicker-increment-button',
|
||||
decrementButton: 'p-datepicker-decrement-button',
|
||||
separatorContainer: 'p-datepicker-separator',
|
||||
separator: 'p-datepicker-separator',
|
||||
minutePicker: 'p-minute-picker',
|
||||
secondPicker: 'p-second-picker',
|
||||
ampmPicker: 'p-ampm-picker',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue