Refactor #3965, Improve build and Added *Base models

This commit is contained in:
mertsincan 2023-07-03 23:20:35 +01:00
parent f4ba20b222
commit 9247620421
134 changed files with 4230 additions and 1729 deletions

View file

@ -200,13 +200,10 @@ const classes = {
weekLabelContainer: 'p-disabled',
day: ({ date }) => [{ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }],
dayLabel: ({ instance, date }) => [{ 'p-highlight': instance.isSelected(date), 'p-disabled': !date.selectable }],
hiddenSelectedDay: 'p-hidden-accessible',
monthPicker: 'p-monthpicker',
month: ({ instance, month, index }) => ['p-monthpicker-month', { 'p-highlight': instance.isMonthSelected(index), 'p-disabled': !month.selectable }],
hiddenMonth: 'p-hidden-accessible',
yearPicker: 'p-yearpicker',
year: ({ instance, year }) => ['p-yearpicker-year', { 'p-highlight': instance.isYearSelected(year.value), 'p-disabled': !year.selectable }],
hiddenYear: 'p-hidden-accessible',
timePicker: 'p-timepicker',
hourPicker: 'p-hour-picker',
incrementButton: 'p-link',
@ -222,7 +219,7 @@ const classes = {
clearButton: 'p-button-text'
};
const { load: loadStyle } = useStyle(styles, { id: 'primevue_calendar_style', manual: true });
const { load: loadStyle } = useStyle(styles, { name: 'calendar', manual: true });
export default {
name: 'BaseCalendar',