Icard/angular-clarity-master(work.../node_modules/primeng/fesm2022/primeng-calendar.mjs.map

1 line
246 KiB
Plaintext

{"version":3,"file":"primeng-calendar.mjs","sources":["../../src/app/components/calendar/calendar.ts","../../src/app/components/calendar/primeng-calendar.ts"],"sourcesContent":["import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations';\nimport { CommonModule, DOCUMENT } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n Renderer2,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { OverlayService, PrimeNGConfig, PrimeTemplate, SharedModule, TranslationKeys } from 'primeng/api';\nimport { ButtonModule } from 'primeng/button';\nimport { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom';\nimport { RippleModule } from 'primeng/ripple';\nimport { ObjectUtils, UniqueComponentId, ZIndexUtils } from 'primeng/utils';\nimport { Subscription } from 'rxjs';\nimport { ChevronLeftIcon } from 'primeng/icons/chevronleft';\nimport { ChevronRightIcon } from 'primeng/icons/chevronright';\nimport { ChevronUpIcon } from 'primeng/icons/chevronup';\nimport { ChevronDownIcon } from 'primeng/icons/chevrondown';\nimport { TimesIcon } from 'primeng/icons/times';\nimport { CalendarIcon } from 'primeng/icons/calendar';\nimport { Nullable, VoidListener } from 'primeng/ts-helpers';\nimport { NavigationState, CalendarResponsiveOptions, CalendarTypeView, LocaleSettings, Month, CalendarMonthChangeEvent, CalendarYearChangeEvent } from './calendar.interface';\nimport { AutoFocusModule } from 'primeng/autofocus';\n\nexport const CALENDAR_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Calendar),\n multi: true\n};\n/**\n * Calendar also known as DatePicker, is a form component to work with dates.\n * @group Components\n */\n@Component({\n selector: 'p-calendar',\n template: `\n <span\n #container\n [ngClass]=\"{\n 'p-calendar': true,\n 'p-input-icon-right': showIcon && iconDisplay === 'input',\n 'p-calendar-w-btn': showIcon && iconDisplay === 'button',\n 'p-calendar-timeonly': timeOnly,\n 'p-calendar-disabled': disabled,\n 'p-focus': focus || overlayVisible\n }\"\n [ngStyle]=\"style\"\n [class]=\"styleClass\"\n >\n <ng-template [ngIf]=\"!inline\">\n <input\n #inputfield\n type=\"text\"\n role=\"combobox\"\n [attr.id]=\"inputId\"\n [attr.name]=\"name\"\n [attr.required]=\"required\"\n [attr.aria-required]=\"required\"\n aria-autocomplete=\"none\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? panelId : null\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [value]=\"inputFieldValue\"\n (focus)=\"onInputFocus($event)\"\n (keydown)=\"onInputKeydown($event)\"\n (click)=\"onInputClick()\"\n (blur)=\"onInputBlur($event)\"\n [readonly]=\"readonlyInput\"\n (input)=\"onUserInput($event)\"\n [ngStyle]=\"inputStyle\"\n [class]=\"inputStyleClass\"\n [placeholder]=\"placeholder || ''\"\n [disabled]=\"disabled\"\n [attr.tabindex]=\"tabindex\"\n [attr.inputmode]=\"touchUI ? 'off' : null\"\n [ngClass]=\"inputClass\"\n autocomplete=\"off\"\n pAutoFocus\n [autofocus]=\"autofocus\"\n />\n <ng-container *ngIf=\"showClear && !disabled && value != null\">\n <TimesIcon *ngIf=\"!clearIconTemplate\" [styleClass]=\"'p-calendar-clear-icon'\" (click)=\"clear()\" />\n <span *ngIf=\"clearIconTemplate\" class=\"p-calendar-clear-icon\" (click)=\"clear()\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate\"></ng-template>\n </span>\n </ng-container>\n <button\n type=\"button\"\n [attr.aria-label]=\"iconButtonAriaLabel\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"overlayVisible ?? false\"\n [attr.aria-controls]=\"overlayVisible ? panelId : null\"\n pButton\n pRipple\n *ngIf=\"showIcon && iconDisplay === 'button'\"\n (click)=\"onButtonClick($event, inputfield)\"\n class=\"p-datepicker-trigger p-button-icon-only\"\n [disabled]=\"disabled\"\n tabindex=\"0\"\n >\n <span *ngIf=\"icon\" [ngClass]=\"icon\"></span>\n <ng-container *ngIf=\"!icon\">\n <CalendarIcon *ngIf=\"!triggerIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"triggerIconTemplate\"></ng-template>\n </ng-container>\n </button>\n <ng-container *ngIf=\"iconDisplay === 'input' && showIcon\">\n <CalendarIcon\n (click)=\"onButtonClick($event)\"\n *ngIf=\"!inputIconTemplate\"\n [ngClass]=\"{\n 'p-datepicker-icon': showOnFocus\n }\"\n />\n <ng-container *ngTemplateOutlet=\"inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }\"></ng-container>\n </ng-container>\n </ng-template>\n <div\n #contentWrapper\n [attr.id]=\"panelId\"\n [class]=\"panelStyleClass\"\n [ngStyle]=\"panelStyle\"\n [ngClass]=\"{\n 'p-datepicker p-component': true,\n 'p-datepicker-inline': inline,\n 'p-disabled': disabled,\n 'p-datepicker-timeonly': timeOnly,\n 'p-datepicker-multiple-month': this.numberOfMonths > 1,\n 'p-datepicker-monthpicker': view === 'month',\n 'p-datepicker-touch-ui': touchUI\n }\"\n [@overlayAnimation]=\"\n touchUI\n ? { value: 'visibleTouchUI', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }\n : { value: 'visible', params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }\n \"\n [attr.aria-label]=\"getTranslation('chooseDate')\"\n [attr.role]=\"inline ? null : 'dialog'\"\n [attr.aria-modal]=\"inline ? null : 'true'\"\n [@.disabled]=\"inline === true\"\n (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\"\n (@overlayAnimation.done)=\"onOverlayAnimationDone($event)\"\n (click)=\"onOverlayClick($event)\"\n *ngIf=\"inline || overlayVisible\"\n >\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n <ng-container *ngIf=\"!timeOnly\">\n <div class=\"p-datepicker-group-container\">\n <div class=\"p-datepicker-group\" *ngFor=\"let month of months; let i = index\">\n <div class=\"p-datepicker-header\">\n <button (keydown)=\"onContainerButtonKeydown($event)\" class=\"p-datepicker-prev p-link\" (click)=\"onPrevButtonClick($event)\" *ngIf=\"i === 0\" type=\"button\" [attr.aria-label]=\"prevIconAriaLabel\" pRipple>\n <ChevronLeftIcon [styleClass]=\"'p-datepicker-prev-icon'\" *ngIf=\"!previousIconTemplate\" />\n <span *ngIf=\"previousIconTemplate\" class=\"p-datepicker-prev-icon\">\n <ng-template *ngTemplateOutlet=\"previousIconTemplate\"></ng-template>\n </span>\n </button>\n <div class=\"p-datepicker-title\">\n <button\n type=\"button\"\n (click)=\"switchToMonthView($event)\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n *ngIf=\"currentView === 'date'\"\n class=\"p-datepicker-month p-link\"\n [disabled]=\"switchViewButtonDisabled()\"\n [attr.aria-label]=\"this.getTranslation('chooseMonth')\"\n >\n {{ getMonthName(month.month) }}\n </button>\n <button\n type=\"button\"\n (click)=\"switchToYearView($event)\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n *ngIf=\"currentView !== 'year'\"\n class=\"p-datepicker-year p-link\"\n [disabled]=\"switchViewButtonDisabled()\"\n [attr.aria-label]=\"getTranslation('chooseYear')\"\n >\n {{ getYear(month) }}\n </button>\n <span class=\"p-datepicker-decade\" *ngIf=\"currentView === 'year'\">\n <ng-container *ngIf=\"!decadeTemplate\">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>\n <ng-container *ngTemplateOutlet=\"decadeTemplate; context: { $implicit: yearPickerValues }\"></ng-container>\n </span>\n </div>\n <button\n (keydown)=\"onContainerButtonKeydown($event)\"\n class=\"p-datepicker-next p-link\"\n (click)=\"onNextButtonClick($event)\"\n [style.display]=\"numberOfMonths === 1 ? 'inline-flex' : i === numberOfMonths - 1 ? 'inline-flex' : 'none'\"\n type=\"button\"\n [attr.aria-label]=\"nextIconAriaLabel\"\n pRipple\n >\n <ChevronRightIcon [styleClass]=\"'p-datepicker-next-icon'\" *ngIf=\"!nextIconTemplate\" />\n <span *ngIf=\"nextIconTemplate\" class=\"p-datepicker-next-icon\">\n <ng-template *ngTemplateOutlet=\"nextIconTemplate\"></ng-template>\n </span>\n </button>\n </div>\n <div class=\"p-datepicker-calendar-container\" *ngIf=\"currentView === 'date'\">\n <table class=\"p-datepicker-calendar\" role=\"grid\">\n <thead>\n <tr>\n <th *ngIf=\"showWeek\" class=\"p-datepicker-weekheader p-disabled\">\n <span>{{ getTranslation('weekHeader') }}</span>\n </th>\n <th scope=\"col\" *ngFor=\"let weekDay of weekDays; let begin = first; let end = last\">\n <span>{{ weekDay }}</span>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let week of month.dates; let j = index\">\n <td *ngIf=\"showWeek\" class=\"p-datepicker-weeknumber\">\n <span class=\"p-disabled\">\n {{ month.weekNumbers[j] }}\n </span>\n </td>\n <td *ngFor=\"let date of week\" [attr.aria-label]=\"date.day\" [ngClass]=\"{ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }\">\n <ng-container *ngIf=\"date.otherMonth ? showOtherMonths : true\">\n <span\n [ngClass]=\"{ 'p-highlight': isSelected(date) && date.selectable, 'p-disabled': !date.selectable }\"\n (click)=\"onDateSelect($event, date)\"\n draggable=\"false\"\n [attr.data-date]=\"formatDateKey(formatDateMetaToDate(date))\"\n (keydown)=\"onDateCellKeydown($event, date, i)\"\n pRipple\n >\n <ng-container *ngIf=\"!dateTemplate && (date.selectable || !disabledDateTemplate)\">{{ date.day }}</ng-container>\n <ng-container *ngIf=\"date.selectable || !disabledDateTemplate\">\n <ng-container *ngTemplateOutlet=\"dateTemplate; context: { $implicit: date }\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"!date.selectable\">\n <ng-container *ngTemplateOutlet=\"disabledDateTemplate; context: { $implicit: date }\"></ng-container>\n </ng-container>\n </span>\n <div *ngIf=\"isSelected(date)\" class=\"p-hidden-accessible\" aria-live=\"polite\">\n {{ date.day }}\n </div>\n </ng-container>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <div class=\"p-monthpicker\" *ngIf=\"currentView === 'month'\">\n <span\n *ngFor=\"let m of monthPickerValues(); let i = index\"\n (click)=\"onMonthSelect($event, i)\"\n (keydown)=\"onMonthCellKeydown($event, i)\"\n class=\"p-monthpicker-month\"\n [ngClass]=\"{ 'p-highlight': isMonthSelected(i), 'p-disabled': isMonthDisabled(i) }\"\n pRipple\n >\n {{ m }}\n <div *ngIf=\"isMonthSelected(i)\" class=\"p-hidden-accessible\" aria-live=\"polite\">\n {{ m }}\n </div>\n </span>\n </div>\n <div class=\"p-yearpicker\" *ngIf=\"currentView === 'year'\">\n <span\n *ngFor=\"let y of yearPickerValues()\"\n (click)=\"onYearSelect($event, y)\"\n (keydown)=\"onYearCellKeydown($event, y)\"\n class=\"p-yearpicker-year\"\n [ngClass]=\"{ 'p-highlight': isYearSelected(y), 'p-disabled': isYearDisabled(y) }\"\n pRipple\n >\n {{ y }}\n <div *ngIf=\"isYearSelected(y)\" class=\"p-hidden-accessible\" aria-live=\"polite\">\n {{ y }}\n </div>\n </span>\n </div>\n </ng-container>\n <div class=\"p-timepicker\" *ngIf=\"(showTime || timeOnly) && currentView === 'date'\">\n <div class=\"p-hour-picker\">\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"incrementHour($event)\"\n (keydown.space)=\"incrementHour($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 0, 1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('nextHour')\"\n pRipple\n >\n <ChevronUpIcon *ngIf=\"!incrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"incrementIconTemplate\"></ng-template>\n </button>\n <span><ng-container *ngIf=\"currentHour < 10\">0</ng-container>{{ currentHour }}</span>\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"decrementHour($event)\"\n (keydown.space)=\"decrementHour($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 0, -1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('prevHour')\"\n pRipple\n >\n <ChevronDownIcon *ngIf=\"!decrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"decrementIconTemplate\"></ng-template>\n </button>\n </div>\n <div class=\"p-separator\">\n <span>{{ timeSeparator }}</span>\n </div>\n <div class=\"p-minute-picker\">\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"incrementMinute($event)\"\n (keydown.space)=\"incrementMinute($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 1, 1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('nextMinute')\"\n pRipple\n >\n <ChevronUpIcon *ngIf=\"!incrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"incrementIconTemplate\"></ng-template>\n </button>\n <span><ng-container *ngIf=\"currentMinute < 10\">0</ng-container>{{ currentMinute }}</span>\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"decrementMinute($event)\"\n (keydown.space)=\"decrementMinute($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 1, -1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('prevMinute')\"\n pRipple\n >\n <ChevronDownIcon *ngIf=\"!decrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"decrementIconTemplate\"></ng-template>\n </button>\n </div>\n <div class=\"p-separator\" *ngIf=\"showSeconds\">\n <span>{{ timeSeparator }}</span>\n </div>\n <div class=\"p-second-picker\" *ngIf=\"showSeconds\">\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"incrementSecond($event)\"\n (keydown.space)=\"incrementSecond($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 2, 1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('nextSecond')\"\n pRipple\n >\n <ChevronUpIcon *ngIf=\"!incrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"incrementIconTemplate\"></ng-template>\n </button>\n <span><ng-container *ngIf=\"currentSecond < 10\">0</ng-container>{{ currentSecond }}</span>\n <button\n class=\"p-link\"\n type=\"button\"\n (keydown)=\"onContainerButtonKeydown($event)\"\n (keydown.enter)=\"decrementSecond($event)\"\n (keydown.space)=\"decrementSecond($event)\"\n (mousedown)=\"onTimePickerElementMouseDown($event, 2, -1)\"\n (mouseup)=\"onTimePickerElementMouseUp($event)\"\n (keyup.enter)=\"onTimePickerElementMouseUp($event)\"\n (keyup.space)=\"onTimePickerElementMouseUp($event)\"\n (mouseleave)=\"onTimePickerElementMouseLeave()\"\n [attr.aria-label]=\"getTranslation('prevSecond')\"\n pRipple\n >\n <ChevronDownIcon *ngIf=\"!decrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"decrementIconTemplate\"></ng-template>\n </button>\n </div>\n <div class=\"p-ampm-picker\" *ngIf=\"hourFormat == '12'\">\n <button class=\"p-link\" type=\"button\" (keydown)=\"onContainerButtonKeydown($event)\" (click)=\"toggleAMPM($event)\" (keydown.enter)=\"toggleAMPM($event)\" [attr.aria-label]=\"getTranslation('am')\" pRipple>\n <ChevronUpIcon *ngIf=\"!incrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"incrementIconTemplate\"></ng-template>\n </button>\n <span>{{ pm ? 'PM' : 'AM' }}</span>\n <button class=\"p-link\" type=\"button\" (keydown)=\"onContainerButtonKeydown($event)\" (click)=\"toggleAMPM($event)\" (keydown.enter)=\"toggleAMPM($event)\" [attr.aria-label]=\"getTranslation('pm')\" pRipple>\n <ChevronDownIcon *ngIf=\"!decrementIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"decrementIconTemplate\"></ng-template>\n </button>\n </div>\n </div>\n <div class=\"p-datepicker-buttonbar\" *ngIf=\"showButtonBar\">\n <button type=\"button\" [label]=\"getTranslation('today')\" (keydown)=\"onContainerButtonKeydown($event)\" (click)=\"onTodayButtonClick($event)\" pButton pRipple [ngClass]=\"[todayButtonStyleClass]\"></button>\n <button type=\"button\" [label]=\"getTranslation('clear')\" (keydown)=\"onContainerButtonKeydown($event)\" (click)=\"onClearButtonClick($event)\" pButton pRipple [ngClass]=\"[clearButtonStyleClass]\"></button>\n </div>\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </span>\n `,\n animations: [\n trigger('overlayAnimation', [\n state(\n 'visibleTouchUI',\n style({\n transform: 'translate(-50%,-50%)',\n opacity: 1\n })\n ),\n transition('void => visible', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}', style({ opacity: 1, transform: '*' }))]),\n transition('visible => void', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))]),\n transition('void => visibleTouchUI', [style({ opacity: 0, transform: 'translate3d(-50%, -40%, 0) scale(0.9)' }), animate('{{showTransitionParams}}')]),\n transition('visibleTouchUI => void', [\n animate(\n '{{hideTransitionParams}}',\n style({\n opacity: 0,\n transform: 'translate3d(-50%, -40%, 0) scale(0.9)'\n })\n )\n ])\n ])\n ],\n host: {\n class: 'p-element p-inputwrapper',\n '[class.p-inputwrapper-filled]': 'filled',\n '[class.p-inputwrapper-focus]': 'focus',\n '[class.p-calendar-clearable]': 'showClear && !disabled'\n },\n providers: [CALENDAR_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./calendar.css']\n})\nexport class Calendar implements OnInit, OnDestroy, ControlValueAccessor {\n @Input() iconDisplay: 'input' | 'button' = 'button';\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Inline style of the input field.\n * @group Props\n */\n @Input() inputStyle: { [klass: string]: any } | null | undefined;\n /**\n * Identifier of the focus input to match a label defined for the component.\n * @group Props\n */\n @Input() inputId: string | undefined;\n /**\n * Name of the input element.\n * @group Props\n */\n @Input() name: string | undefined;\n /**\n * Style class of the input field.\n * @group Props\n */\n @Input() inputStyleClass: string | undefined;\n /**\n * Placeholder text for the input.\n * @group Props\n */\n @Input() placeholder: string | undefined;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n\n /**\n * Defines a string that labels the icon button for accessibility.\n * @group Props\n */\n @Input() iconAriaLabel: string | undefined;\n /**\n * When specified, disables the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined;\n /**\n * Format of the date which can also be defined at locale settings.\n * @group Props\n */\n @Input() dateFormat: string | undefined;\n /**\n * Separator for multiple selection mode.\n * @group Props\n */\n @Input() multipleSeparator: string = ',';\n /**\n * Separator for joining start and end dates on range selection mode.\n * @group Props\n */\n @Input() rangeSeparator: string = '-';\n /**\n * When enabled, displays the calendar as inline. Default is false for popup mode.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) inline: boolean = false;\n /**\n * Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showOtherMonths: boolean = true;\n /**\n * Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) selectOtherMonths: boolean | undefined;\n /**\n * When enabled, displays a button with icon next to input.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showIcon: boolean | undefined;\n /**\n * Icon of the calendar button.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having#mydiv as variable name).\n * @group Props\n */\n @Input() appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any;\n /**\n * When specified, prevents entering the date manually with keyboard.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonlyInput: boolean | undefined;\n /**\n * The cutoff year for determining the century for a date.\n * @group Props\n */\n @Input() shortYearCutoff: any = '+10';\n /**\n * Whether the month should be rendered as a dropdown instead of text.\n * @group Props\n * @deprecated Navigator is always on.\n */\n @Input({ transform: booleanAttribute }) monthNavigator: boolean | undefined;\n /**\n * Whether the year should be rendered as a dropdown instead of text.\n * @group Props\n * @deprecated Navigator is always on.\n */\n @Input({ transform: booleanAttribute }) yearNavigator: boolean | undefined;\n /**\n * Specifies 12 or 24 hour format.\n * @group Props\n */\n @Input() hourFormat: string = '24';\n /**\n * Whether to display timepicker only.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) timeOnly: boolean | undefined;\n /**\n * Hours to change per step.\n * @group Props\n */\n @Input({ transform: numberAttribute }) stepHour: number = 1;\n /**\n * Minutes to change per step.\n * @group Props\n */\n @Input({ transform: numberAttribute }) stepMinute: number = 1;\n /**\n * Seconds to change per step.\n * @group Props\n */\n @Input({ transform: numberAttribute }) stepSecond: number = 1;\n /**\n * Whether to show the seconds in time picker.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showSeconds: boolean = false;\n /**\n * When present, it specifies that an input field must be filled out before submitting the form.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) required: boolean | undefined;\n /**\n * When disabled, datepicker will not be visible with input focus.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showOnFocus: boolean = true;\n /**\n * When enabled, calendar will show week numbers.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showWeek: boolean = false;\n /**\n * When enabled, calendar will start week numbers from first day of the year.\n * @group Props\n */\n @Input() startWeekFromFirstDayOfYear: boolean = false;\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showClear: boolean = false;\n /**\n * Type of the value to write back to ngModel, default is date and alternative is string.\n * @group Props\n */\n @Input() dataType: string = 'date';\n /**\n * Defines the quantity of the selection, valid values are \"single\", \"multiple\" and \"range\".\n * @group Props\n */\n @Input() selectionMode: 'single' | 'multiple' | 'range' | undefined = 'single';\n /**\n * Maximum number of selectable dates in multiple mode.\n * @group Props\n */\n @Input({ transform: numberAttribute }) maxDateCount: number | undefined;\n /**\n * Whether to display today and clear buttons at the footer\n * @group Props\n */\n @Input({ transform: booleanAttribute }) showButtonBar: boolean | undefined;\n /**\n * Style class of the today button.\n * @group Props\n */\n @Input() todayButtonStyleClass: string = 'p-button-text';\n /**\n * Style class of the clear button.\n * @group Props\n */\n @Input() clearButtonStyleClass: string = 'p-button-text';\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Whether to automatically manage layering.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autoZIndex: boolean = true;\n /**\n * Base zIndex value to use in layering.\n * @group Props\n */\n @Input({ transform: numberAttribute }) baseZIndex: number = 0;\n /**\n * Style class of the datetimepicker container element.\n * @group Props\n */\n @Input() panelStyleClass: string | undefined;\n /**\n * Inline style of the datetimepicker container element.\n * @group Props\n */\n @Input() panelStyle: any;\n /**\n * Keep invalid value when input blur.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) keepInvalid: boolean = false;\n /**\n * Whether to hide the overlay on date selection.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) hideOnDateTimeSelect: boolean = true;\n /**\n * When enabled, calendar overlay is displayed as optimized for touch devices.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) touchUI: boolean | undefined;\n /**\n * Separator of time selector.\n * @group Props\n */\n @Input() timeSeparator: string = ':';\n /**\n * When enabled, can only focus on elements inside the calendar.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Transition options of the show animation.\n * @group Props\n */\n @Input() showTransitionOptions: string = '.12s cubic-bezier(0, 0, 0.2, 1)';\n /**\n * Transition options of the hide animation.\n * @group Props\n */\n @Input() hideTransitionOptions: string = '.1s linear';\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'filled' | 'outlined' = 'outlined';\n /**\n * The minimum selectable date.\n * @group Props\n */\n @Input() get minDate(): Date | undefined | null {\n return this._minDate;\n }\n set minDate(date: Date | undefined | null) {\n this._minDate = date;\n\n if (this.currentMonth != undefined && this.currentMonth != null && this.currentYear) {\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n /**\n * The maximum selectable date.\n * @group Props\n */\n @Input() get maxDate(): Date | undefined | null {\n return this._maxDate;\n }\n set maxDate(date: Date | undefined | null) {\n this._maxDate = date;\n\n if (this.currentMonth != undefined && this.currentMonth != null && this.currentYear) {\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n /**\n * Array with dates that should be disabled (not selectable).\n * @group Props\n */\n @Input() get disabledDates(): Date[] {\n return this._disabledDates;\n }\n set disabledDates(disabledDates: Date[]) {\n this._disabledDates = disabledDates;\n if (this.currentMonth != undefined && this.currentMonth != null && this.currentYear) {\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n /**\n * Array with weekday numbers that should be disabled (not selectable).\n * @group Props\n */\n @Input() get disabledDays(): number[] {\n return this._disabledDays;\n }\n set disabledDays(disabledDays: number[]) {\n this._disabledDays = disabledDays;\n\n if (this.currentMonth != undefined && this.currentMonth != null && this.currentYear) {\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n /**\n * The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020).\n * @group Props\n * @deprecated Years are based on decades by default.\n */\n @Input() get yearRange(): string {\n return this._yearRange;\n }\n set yearRange(yearRange: string) {\n this._yearRange = yearRange;\n\n if (yearRange) {\n const years = yearRange.split(':');\n const yearStart = parseInt(years[0]);\n const yearEnd = parseInt(years[1]);\n\n this.populateYearOptions(yearStart, yearEnd);\n }\n }\n /**\n * Whether to display timepicker.\n * @group Props\n */\n @Input() get showTime(): boolean {\n return this._showTime;\n }\n set showTime(showTime: boolean) {\n this._showTime = showTime;\n\n if (this.currentHour === undefined) {\n this.initTime(this.value || new Date());\n }\n this.updateInputfield();\n }\n /**\n * An array of options for responsive design.\n * @group Props\n */\n @Input() get responsiveOptions(): CalendarResponsiveOptions[] {\n return this._responsiveOptions;\n }\n set responsiveOptions(responsiveOptions: CalendarResponsiveOptions[]) {\n this._responsiveOptions = responsiveOptions;\n\n this.destroyResponsiveStyleElement();\n this.createResponsiveStyle();\n }\n /**\n * Number of months to display.\n * @group Props\n */\n @Input() get numberOfMonths(): number {\n return this._numberOfMonths;\n }\n set numberOfMonths(numberOfMonths: number) {\n this._numberOfMonths = numberOfMonths;\n\n this.destroyResponsiveStyleElement();\n this.createResponsiveStyle();\n }\n /**\n * Defines the first of the week for various date calculations.\n * @group Props\n */\n @Input() get firstDayOfWeek(): number {\n return this._firstDayOfWeek;\n }\n set firstDayOfWeek(firstDayOfWeek: number) {\n this._firstDayOfWeek = firstDayOfWeek;\n\n this.createWeekDays();\n }\n /**\n * Option to set calendar locale.\n * @group Props\n * @deprecated Locale property has no effect, use new i18n API instead.\n */\n @Input() set locale(newLocale: LocaleSettings) {\n console.warn('Locale property has no effect, use new i18n API instead.');\n }\n /**\n * Type of view to display, valid values are \"date\" for datepicker and \"month\" for month picker.\n * @group Props\n */\n @Input() get view(): CalendarTypeView {\n return this._view;\n }\n set view(view: CalendarTypeView) {\n this._view = view;\n this.currentView = this._view;\n }\n /**\n * Set the date to highlight on first opening if the field is blank.\n * @group Props\n */\n @Input() get defaultDate(): Date {\n return this._defaultDate;\n }\n set defaultDate(defaultDate: Date) {\n this._defaultDate = defaultDate;\n\n if (this.initialized) {\n const date = defaultDate || new Date();\n this.currentMonth = date.getMonth();\n this.currentYear = date.getFullYear();\n this.initTime(date);\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n get inputClass() {\n return {\n 'p-inputtext p-component': true,\n 'p-variant-filled': this.variant === 'filled' || this.config.inputStyle() === 'filled'\n };\n }\n\n /**\n * Callback to invoke on focus of input field.\n * @param {Event} event - browser event.\n * @group Emits\n */\n @Output() onFocus: EventEmitter<Event> = new EventEmitter<Event>();\n /**\n * Callback to invoke on blur of input field.\n * @param {Event} event - browser event.\n * @group Emits\n */\n @Output() onBlur: EventEmitter<Event> = new EventEmitter<Event>();\n /**\n * Callback to invoke when date panel closed.\n * @param {Event} event - Mouse event\n * @group Emits\n */\n @Output() onClose: EventEmitter<AnimationEvent> = new EventEmitter<AnimationEvent>();\n /**\n * Callback to invoke on date select.\n * @param {Date} date - date value.\n * @group Emits\n */\n @Output() onSelect: EventEmitter<Date> = new EventEmitter<Date>();\n /**\n * Callback to invoke when input field cleared.\n * @group Emits\n */\n @Output() onClear: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when input field is being typed.\n * @param {Event} event - browser event\n * @group Emits\n */\n @Output() onInput: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when today button is clicked.\n * @param {Date} date - today as a date instance.\n * @group Emits\n */\n @Output() onTodayClick: EventEmitter<Date> = new EventEmitter<Date>();\n /**\n * Callback to invoke when clear button is clicked.\n * @param {Event} event - browser event.\n * @group Emits\n */\n @Output() onClearClick: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when a month is changed using the navigators.\n * @param {CalendarMonthChangeEvent} event - custom month change event.\n * @group Emits\n */\n @Output() onMonthChange: EventEmitter<CalendarMonthChangeEvent> = new EventEmitter<CalendarMonthChangeEvent>();\n /**\n * Callback to invoke when a year is changed using the navigators.\n * @param {CalendarYearChangeEvent} event - custom year change event.\n * @group Emits\n */\n @Output() onYearChange: EventEmitter<CalendarYearChangeEvent> = new EventEmitter<CalendarYearChangeEvent>();\n /**\n * Callback to invoke when clicked outside of the date panel.\n * @group Emits\n */\n @Output() onClickOutside: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when datepicker panel is shown.\n * @group Emits\n */\n @Output() onShow: EventEmitter<any> = new EventEmitter<any>();\n\n @ContentChildren(PrimeTemplate) templates!: QueryList<PrimeTemplate>;\n\n @ViewChild('container', { static: false }) containerViewChild: Nullable<ElementRef>;\n\n @ViewChild('inputfield', { static: false }) inputfieldViewChild: Nullable<ElementRef>;\n\n @ViewChild('contentWrapper', { static: false }) set content(content: ElementRef) {\n this.contentViewChild = content;\n\n if (this.contentViewChild) {\n if (this.isMonthNavigate) {\n Promise.resolve(null).then(() => this.updateFocus());\n this.isMonthNavigate = false;\n } else {\n if (!this.focus && !this.inline) {\n this.initFocusableCell();\n }\n }\n }\n }\n\n contentViewChild!: ElementRef;\n\n value: any;\n\n dates: Nullable<Date[]>;\n\n months!: Month[];\n\n weekDays: Nullable<string[]>;\n\n currentMonth!: number;\n\n currentYear!: number;\n\n currentHour: Nullable<number>;\n\n currentMinute: Nullable<number>;\n\n currentSecond: Nullable<number>;\n\n pm: Nullable<boolean>;\n\n mask: Nullable<HTMLDivElement>;\n\n maskClickListener: VoidListener;\n\n overlay: Nullable<HTMLDivElement>;\n\n responsiveStyleElement: HTMLStyleElement | undefined | null;\n\n overlayVisible: Nullable<boolean>;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n calendarElement: Nullable<HTMLElement | ElementRef>;\n\n timePickerTimer: any;\n\n documentClickListener: VoidListener;\n\n animationEndListener: VoidListener;\n\n ticksTo1970: Nullable<number>;\n\n yearOptions: Nullable<number[]>;\n\n focus: Nullable<boolean>;\n\n isKeydown: Nullable<boolean>;\n\n filled: Nullable<boolean>;\n\n inputFieldValue: Nullable<string> = null;\n\n _minDate?: Date | null;\n\n _maxDate?: Date | null;\n\n _showTime!: boolean;\n\n _yearRange!: string;\n\n preventDocumentListener: Nullable<boolean>;\n\n dateTemplate: Nullable<TemplateRef<any>>;\n\n headerTemplate: Nullable<TemplateRef<any>>;\n\n footerTemplate: Nullable<TemplateRef<any>>;\n\n disabledDateTemplate: Nullable<TemplateRef<any>>;\n\n decadeTemplate: Nullable<TemplateRef<any>>;\n\n previousIconTemplate: Nullable<TemplateRef<any>>;\n\n nextIconTemplate: Nullable<TemplateRef<any>>;\n\n triggerIconTemplate: Nullable<TemplateRef<any>>;\n\n clearIconTemplate: Nullable<TemplateRef<any>>;\n\n decrementIconTemplate: Nullable<TemplateRef<any>>;\n\n incrementIconTemplate: Nullable<TemplateRef<any>>;\n\n inputIconTemplate: Nullable<TemplateRef<any>>;\n\n _disabledDates!: Array<Date>;\n\n _disabledDays!: Array<number>;\n\n selectElement: Nullable;\n\n todayElement: Nullable;\n\n focusElement: Nullable;\n\n scrollHandler: Nullable<ConnectedOverlayScrollHandler>;\n\n documentResizeListener: VoidListener;\n\n navigationState: Nullable<NavigationState> = null;\n\n isMonthNavigate: Nullable<boolean>;\n\n initialized: Nullable<boolean>;\n\n translationSubscription: Nullable<Subscription>;\n\n _locale!: LocaleSettings;\n\n _responsiveOptions!: CalendarResponsiveOptions[];\n\n currentView: Nullable<string>;\n\n attributeSelector: Nullable<string>;\n\n panelId: Nullable<string>;\n\n _numberOfMonths: number = 1;\n\n _firstDayOfWeek!: number;\n\n _view: CalendarTypeView = 'date';\n\n preventFocus: Nullable<boolean>;\n\n _defaultDate!: Date;\n\n _focusKey: Nullable<string> = null;\n\n private window: Window;\n\n get locale() {\n return this._locale;\n }\n\n get iconButtonAriaLabel() {\n return this.iconAriaLabel ? this.iconAriaLabel : this.getTranslation('chooseDate');\n }\n\n get prevIconAriaLabel() {\n return this.currentView === 'year' ? this.getTranslation('prevDecade') : this.currentView === 'month' ? this.getTranslation('prevYear') : this.getTranslation('prevMonth');\n }\n\n get nextIconAriaLabel() {\n return this.currentView === 'year' ? this.getTranslation('nextDecade') : this.currentView === 'month' ? this.getTranslation('nextYear') : this.getTranslation('nextMonth');\n }\n\n constructor(@Inject(DOCUMENT) private document: Document, public el: ElementRef, public renderer: Renderer2, public cd: ChangeDetectorRef, private zone: NgZone, private config: PrimeNGConfig, public overlayService: OverlayService) {\n this.window = this.document.defaultView as Window;\n }\n\n ngOnInit() {\n this.attributeSelector = UniqueComponentId();\n this.panelId = this.attributeSelector + '_panel';\n const date = this.defaultDate || new Date();\n this.createResponsiveStyle();\n this.currentMonth = date.getMonth();\n this.currentYear = date.getFullYear();\n this.yearOptions = [];\n this.currentView = this.view;\n\n if (this.view === 'date') {\n this.createWeekDays();\n this.initTime(date);\n this.createMonths(this.currentMonth, this.currentYear);\n this.ticksTo1970 = ((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000;\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n this.createWeekDays();\n this.cd.markForCheck();\n });\n\n this.initialized = true;\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'date':\n this.dateTemplate = item.template;\n break;\n\n case 'decade':\n this.decadeTemplate = item.template;\n break;\n\n case 'disabledDate':\n this.disabledDateTemplate = item.template;\n break;\n\n case 'header':\n this.headerTemplate = item.template;\n break;\n\n case 'inputicon':\n this.inputIconTemplate = item.template;\n break;\n\n case 'previousicon':\n this.previousIconTemplate = item.template;\n break;\n\n case 'nexticon':\n this.nextIconTemplate = item.template;\n break;\n\n case 'triggericon':\n this.triggerIconTemplate = item.template;\n break;\n\n case 'clearicon':\n this.clearIconTemplate = item.template;\n break;\n\n case 'decrementicon':\n this.decrementIconTemplate = item.template;\n break;\n\n case 'incrementicon':\n this.incrementIconTemplate = item.template;\n break;\n\n case 'footer':\n this.footerTemplate = item.template;\n break;\n\n default:\n this.dateTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n if (this.inline) {\n this.contentViewChild && this.contentViewChild.nativeElement.setAttribute(this.attributeSelector, '');\n\n if (!this.disabled && !this.inline) {\n this.initFocusableCell();\n if (this.numberOfMonths === 1) {\n if (this.contentViewChild && this.contentViewChild.nativeElement) {\n this.contentViewChild.nativeElement.style.width = DomHandler.getOuterWidth(this.containerViewChild?.nativeElement) + 'px';\n }\n }\n }\n }\n }\n\n getTranslation(option: string) {\n return this.config.getTranslation(option);\n }\n\n populateYearOptions(start: number, end: number) {\n this.yearOptions = [];\n\n for (let i = start; i <= end; i++) {\n this.yearOptions.push(i);\n }\n }\n\n createWeekDays() {\n this.weekDays = [];\n let dayIndex = this.getFirstDateOfWeek();\n let dayLabels = this.getTranslation(TranslationKeys.DAY_NAMES_MIN);\n for (let i = 0; i < 7; i++) {\n this.weekDays.push(dayLabels[dayIndex]);\n dayIndex = dayIndex == 6 ? 0 : ++dayIndex;\n }\n }\n\n monthPickerValues() {\n let monthPickerValues = [];\n for (let i = 0; i <= 11; i++) {\n monthPickerValues.push(this.config.getTranslation('monthNamesShort')[i]);\n }\n\n return monthPickerValues;\n }\n\n yearPickerValues() {\n let yearPickerValues = [];\n let base = <number>this.currentYear - (<number>this.currentYear % 10);\n for (let i = 0; i < 10; i++) {\n yearPickerValues.push(base + i);\n }\n\n return yearPickerValues;\n }\n\n createMonths(month: number, year: number) {\n this.months = this.months = [];\n for (let i = 0; i < this.numberOfMonths; i++) {\n let m = month + i;\n let y = year;\n if (m > 11) {\n m = (m % 11) - 1;\n y = year + 1;\n }\n\n this.months.push(this.createMonth(m, y));\n }\n }\n\n getWeekNumber(date: Date) {\n let checkDate = new Date(date.getTime());\n if (this.startWeekFromFirstDayOfYear) {\n let firstDayOfWeek: number = +this.getFirstDateOfWeek();\n checkDate.setDate(checkDate.getDate() + 6 + firstDayOfWeek - checkDate.getDay());\n } else {\n checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));\n }\n let time = checkDate.getTime();\n checkDate.setMonth(0);\n checkDate.setDate(1);\n return Math.floor(Math.round((time - checkDate.getTime()) / 86400000) / 7) + 1;\n }\n\n createMonth(month: number, year: number): Month {\n let dates = [];\n let firstDay = this.getFirstDayOfMonthIndex(month, year);\n let daysLength = this.getDaysCountInMonth(month, year);\n let prevMonthDaysLength = this.getDaysCountInPrevMonth(month, year);\n let dayNo = 1;\n let today = new Date();\n let weekNumbers = [];\n let monthRows = Math.ceil((daysLength + firstDay) / 7);\n\n for (let i = 0; i < monthRows; i++) {\n let week = [];\n\n if (i == 0) {\n for (let j = prevMonthDaysLength - firstDay + 1; j <= prevMonthDaysLength; j++) {\n let prev = this.getPreviousMonthAndYear(month, year);\n week.push({ day: j, month: prev.month, year: prev.year, otherMonth: true, today: this.isToday(today, j, prev.month, prev.year), selectable: this.isSelectable(j, prev.month, prev.year, true) });\n }\n\n let remainingDaysLength = 7 - week.length;\n for (let j = 0; j < remainingDaysLength; j++) {\n week.push({ day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year), selectable: this.isSelectable(dayNo, month, year, false) });\n dayNo++;\n }\n } else {\n for (let j = 0; j < 7; j++) {\n if (dayNo > daysLength) {\n let next = this.getNextMonthAndYear(month, year);\n week.push({\n day: dayNo - daysLength,\n month: next.month,\n year: next.year,\n otherMonth: true,\n today: this.isToday(today, dayNo - daysLength, next.month, next.year),\n selectable: this.isSelectable(dayNo - daysLength, next.month, next.year, true)\n });\n } else {\n week.push({ day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year), selectable: this.isSelectable(dayNo, month, year, false) });\n }\n\n dayNo++;\n }\n }\n\n if (this.showWeek) {\n weekNumbers.push(this.getWeekNumber(new Date(week[0].year, week[0].month, week[0].day)));\n }\n\n dates.push(week);\n }\n\n return {\n month: month,\n year: year,\n dates: <any>dates,\n weekNumbers: weekNumbers\n };\n }\n\n initTime(date: Date) {\n this.pm = date.getHours() > 11;\n\n if (this.showTime) {\n this.currentMinute = date.getMinutes();\n this.currentSecond = date.getSeconds();\n this.setCurrentHourPM(date.getHours());\n } else if (this.timeOnly) {\n this.currentMinute = 0;\n this.currentHour = 0;\n this.currentSecond = 0;\n }\n }\n\n navBackward(event: any) {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n\n this.isMonthNavigate = true;\n\n if (this.currentView === 'month') {\n this.decrementYear();\n setTimeout(() => {\n this.updateFocus();\n }, 1);\n } else if (this.currentView === 'year') {\n this.decrementDecade();\n setTimeout(() => {\n this.updateFocus();\n }, 1);\n } else {\n if (this.currentMonth === 0) {\n this.currentMonth = 11;\n this.decrementYear();\n } else {\n this.currentMonth--;\n }\n\n this.onMonthChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n\n navForward(event: any) {\n if (this.disabled) {\n event.preventDefault();\n return;\n }\n\n this.isMonthNavigate = true;\n\n if (this.currentView === 'month') {\n this.incrementYear();\n setTimeout(() => {\n this.updateFocus();\n }, 1);\n } else if (this.currentView === 'year') {\n this.incrementDecade();\n setTimeout(() => {\n this.updateFocus();\n }, 1);\n } else {\n if (this.currentMonth === 11) {\n this.currentMonth = 0;\n this.incrementYear();\n } else {\n this.currentMonth++;\n }\n\n this.onMonthChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n this.createMonths(this.currentMonth, this.currentYear);\n }\n }\n\n decrementYear() {\n this.currentYear--;\n let _yearOptions = <number[]>this.yearOptions;\n\n if (this.yearNavigator && this.currentYear < _yearOptions[0]) {\n let difference = _yearOptions[_yearOptions.length - 1] - _yearOptions[0];\n this.populateYearOptions(_yearOptions[0] - difference, _yearOptions[_yearOptions.length - 1] - difference);\n }\n }\n\n decrementDecade() {\n this.currentYear = this.currentYear - 10;\n }\n\n incrementDecade() {\n this.currentYear = this.currentYear + 10;\n }\n\n incrementYear() {\n this.currentYear++;\n let _yearOptions = <number[]>this.yearOptions;\n\n if (this.yearNavigator && this.currentYear > _yearOptions[_yearOptions.length - 1]) {\n let difference = _yearOptions[_yearOptions.length - 1] - _yearOptions[0];\n this.populateYearOptions(_yearOptions[0] + difference, _yearOptions[_yearOptions.length - 1] + difference);\n }\n }\n\n switchToMonthView(event: Event) {\n this.setCurrentView('month');\n event.preventDefault();\n }\n\n switchToYearView(event: Event) {\n this.setCurrentView('year');\n event.preventDefault();\n }\n\n onDateSelect(event: Event, dateMeta: any) {\n if (this.disabled || !dateMeta.selectable) {\n event.preventDefault();\n return;\n }\n\n if (this.isMultipleSelection() && this.isSelected(dateMeta)) {\n this.value = this.value.filter((date: Date, i: number) => {\n return !this.isDateEquals(date, dateMeta);\n });\n if (this.value.length === 0) {\n this.value = null;\n }\n this.updateModel(this.value);\n } else {\n if (this.shouldSelectDate(dateMeta)) {\n this.selectDate(dateMeta);\n }\n }\n\n if ((this.isSingleSelection() && this.hideOnDateTimeSelect) || (this.isRangeSelection() && this.value[1])) {\n setTimeout(() => {\n event.preventDefault();\n this.hideOverlay();\n\n if (this.mask) {\n this.disableModality();\n }\n\n this.cd.markForCheck();\n }, 150);\n }\n\n this.updateInputfield();\n event.preventDefault();\n }\n\n shouldSelectDate(dateMeta: any) {\n if (this.isMultipleSelection()) return this.maxDateCount != null ? this.maxDateCount > (this.value ? this.value.length : 0) : true;\n else return true;\n }\n\n onMonthSelect(event: Event, index: number) {\n if (this.view === 'month') {\n this.onDateSelect(event, { year: this.currentYear, month: index, day: 1, selectable: true });\n } else {\n this.currentMonth = index;\n this.createMonths(this.currentMonth, this.currentYear);\n this.setCurrentView('date');\n this.onMonthChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n }\n }\n\n onYearSelect(event: Event, year: number) {\n if (this.view === 'year') {\n this.onDateSelect(event, { year: year, month: 0, day: 1, selectable: true });\n } else {\n this.currentYear = year;\n this.setCurrentView('month');\n this.onYearChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n }\n }\n\n updateInputfield() {\n let formattedValue = '';\n\n if (this.value) {\n if (this.isSingleSelection()) {\n formattedValue = this.formatDateTime(this.value);\n } else if (this.isMultipleSelection()) {\n for (let i = 0; i < this.value.length; i++) {\n let dateAsString = this.formatDateTime(this.value[i]);\n formattedValue += dateAsString;\n if (i !== this.value.length - 1) {\n formattedValue += this.multipleSeparator + ' ';\n }\n }\n } else if (this.isRangeSelection()) {\n if (this.value && this.value.length) {\n let startDate = this.value[0];\n let endDate = this.value[1];\n\n formattedValue = this.formatDateTime(startDate);\n if (endDate) {\n formattedValue += ' ' + this.rangeSeparator + ' ' + this.formatDateTime(endDate);\n }\n }\n }\n }\n\n this.inputFieldValue = formattedValue;\n this.updateFilledState();\n if (this.inputfieldViewChild && this.inputfieldViewChild.nativeElement) {\n this.inputfieldViewChild.nativeElement.value = this.inputFieldValue;\n }\n }\n\n formatDateTime(date: any) {\n let formattedValue = this.keepInvalid ? date : null;\n const isDateValid = this.isValidDateForTimeConstraints(date);\n\n if (this.isValidDate(date)) {\n if (this.timeOnly) {\n formattedValue = this.formatTime(date);\n } else {\n formattedValue = this.formatDate(date, this.getDateFormat());\n if (this.showTime) {\n formattedValue += ' ' + this.formatTime(date);\n }\n }\n } else if (this.dataType === 'string') {\n formattedValue = date;\n }\n formattedValue = isDateValid ? formattedValue : '';\n return formattedValue;\n }\n\n formatDateMetaToDate(dateMeta: any): Date {\n return new Date(dateMeta.year, dateMeta.month, dateMeta.day);\n }\n\n formatDateKey(date: Date): string {\n return `${date.getFullYear()}-${date.getMonth()}-${date.getDate()}`;\n }\n\n setCurrentHourPM(hours: number) {\n if (this.hourFormat == '12') {\n this.pm = hours > 11;\n if (hours >= 12) {\n this.currentHour = hours == 12 ? 12 : hours - 12;\n } else {\n this.currentHour = hours == 0 ? 12 : hours;\n }\n } else {\n this.currentHour = hours;\n }\n }\n\n setCurrentView(currentView: CalendarTypeView) {\n this.currentView = currentView;\n this.cd.detectChanges();\n this.alignOverlay();\n }\n\n selectDate(dateMeta: any) {\n let date = this.formatDateMetaToDate(dateMeta);\n\n if (this.showTime) {\n if (this.hourFormat == '12') {\n if (this.currentHour === 12) date.setHours(this.pm ? 12 : 0);\n else date.setHours(this.pm ? <number>this.currentHour + 12 : <number>this.currentHour);\n } else {\n date.setHours(<number>this.currentHour);\n }\n\n date.setMinutes(<number>this.currentMinute);\n date.setSeconds(<number>this.currentSecond);\n }\n\n if (this.minDate && this.minDate > date) {\n date = this.minDate;\n this.setCurrentHourPM(date.getHours());\n this.currentMinute = date.getMinutes();\n this.currentSecond = date.getSeconds();\n }\n\n if (this.maxDate && this.maxDate < date) {\n date = this.maxDate;\n this.setCurrentHourPM(date.getHours());\n this.currentMinute = date.getMinutes();\n this.currentSecond = date.getSeconds();\n }\n\n if (this.isSingleSelection()) {\n this.updateModel(date);\n } else if (this.isMultipleSelection()) {\n this.updateModel(this.value ? [...this.value, date] : [date]);\n } else if (this.isRangeSelection()) {\n if (this.value && this.value.length) {\n let startDate = this.value[0];\n let endDate = this.value[1];\n\n if (!endDate && date.getTime() >= startDate.getTime()) {\n endDate = date;\n } else {\n startDate = date;\n endDate = null;\n }\n\n this.updateModel([startDate, endDate]);\n } else {\n this.updateModel([date, null]);\n }\n }\n\n this.onSelect.emit(date);\n }\n\n updateModel(value: any) {\n this.value = value;\n\n if (this.dataType == 'date') {\n this.onModelChange(this.value);\n } else if (this.dataType == 'string') {\n if (this.isSingleSelection()) {\n this.onModelChange(this.formatDateTime(this.value));\n } else {\n let stringArrValue = null;\n if (Array.isArray(this.value)) {\n stringArrValue = this.value.map((date: Date) => this.formatDateTime(date));\n }\n this.onModelChange(stringArrValue);\n }\n }\n }\n\n getFirstDayOfMonthIndex(month: number, year: number) {\n let day = new Date();\n day.setDate(1);\n day.setMonth(month);\n day.setFullYear(year);\n\n let dayIndex = day.getDay() + this.getSundayIndex();\n return dayIndex >= 7 ? dayIndex - 7 : dayIndex;\n }\n\n getDaysCountInMonth(month: number, year: number) {\n return 32 - this.daylightSavingAdjust(new Date(year, month, 32)).getDate();\n }\n\n getDaysCountInPrevMonth(month: number, year: number) {\n let prev = this.getPreviousMonthAndYear(month, year);\n return this.getDaysCountInMonth(prev.month, prev.year);\n }\n\n getPreviousMonthAndYear(month: number, year: number) {\n let m, y;\n\n if (month === 0) {\n m = 11;\n y = year - 1;\n } else {\n m = month - 1;\n y = year;\n }\n\n return { month: m, year: y };\n }\n\n getNextMonthAndYear(month: number, year: number) {\n let m, y;\n\n if (month === 11) {\n m = 0;\n y = year + 1;\n } else {\n m = month + 1;\n y = year;\n }\n\n return { month: m, year: y };\n }\n\n getSundayIndex() {\n let firstDayOfWeek = this.getFirstDateOfWeek();\n\n return firstDayOfWeek > 0 ? 7 - firstDayOfWeek : 0;\n }\n\n isSelected(dateMeta: any): boolean | undefined {\n if (this.value) {\n if (this.isSingleSelection()) {\n return this.isDateEquals(this.value, dateMeta);\n } else if (this.isMultipleSelection()) {\n let selected = false;\n for (let date of this.value) {\n selected = this.isDateEquals(date, dateMeta);\n if (selected) {\n break;\n }\n }\n\n return selected;\n } else if (this.isRangeSelection()) {\n if (this.value[1]) return this.isDateEquals(this.value[0], dateMeta) || this.isDateEquals(this.value[1], dateMeta) || this.isDateBetween(this.value[0], this.value[1], dateMeta);\n else return this.isDateEquals(this.value[0], dateMeta);\n }\n } else {\n return false;\n }\n }\n\n isComparable() {\n return this.value != null && typeof this.value !== 'string';\n }\n\n isMonthSelected(month: number) {\n if (this.isComparable() && !this.isMultipleSelection()) {\n const [start, end] = this.isRangeSelection() ? this.value : [this.value, this.value];\n const selected = new Date(this.currentYear, month, 1);\n return selected >= start && selected <= (end ?? start);\n }\n return false;\n }\n\n isMonthDisabled(month: number, year?: number) {\n const yearToCheck = year ?? this.currentYear;\n\n for (let day = 1; day < this.getDaysCountInMonth(month, yearToCheck) + 1; day++) {\n if (this.isSelectable(day, month, yearToCheck, false)) {\n return false;\n }\n }\n return true;\n }\n\n isYearDisabled(year: number) {\n return Array(12)\n .fill(0)\n .every((v, month) => this.isMonthDisabled(month, year));\n }\n\n isYearSelected(year: number) {\n if (this.isComparable()) {\n let value = this.isRangeSelection() ? this.value[0] : this.value;\n\n return !this.isMultipleSelection() ? value.getFullYear() === year : false;\n }\n\n return false;\n }\n\n isDateEquals(value: any, dateMeta: any) {\n if (value && ObjectUtils.isDate(value)) return value.getDate() === dateMeta.day && value.getMonth() === dateMeta.month && value.getFullYear() === dateMeta.year;\n else return false;\n }\n\n isDateBetween(start: Date, end: Date, dateMeta: any) {\n let between: boolean = false;\n if (ObjectUtils.isDate(start) && ObjectUtils.isDate(end)) {\n let date: Date = this.formatDateMetaToDate(dateMeta);\n return start.getTime() <= date.getTime() && end.getTime() >= date.getTime();\n }\n\n return between;\n }\n\n isSingleSelection(): boolean {\n return this.selectionMode === 'single';\n }\n\n isRangeSelection(): boolean {\n return this.selectionMode === 'range';\n }\n\n isMultipleSelection(): boolean {\n return this.selectionMode === 'multiple';\n }\n\n isToday(today: Date, day: number, month: number, year: number): boolean {\n return today.getDate() === day && today.getMonth() === month && today.getFullYear() === year;\n }\n\n isSelectable(day: any, month: any, year: any, otherMonth: any): boolean {\n let validMin = true;\n let validMax = true;\n let validDate = true;\n let validDay = true;\n\n if (otherMonth && !this.selectOtherMonths) {\n return false;\n }\n\n if (this.minDate) {\n if (this.minDate.getFullYear() > year) {\n validMin = false;\n } else if (this.minDate.getFullYear() === year && this.currentView != 'year') {\n if (this.minDate.getMonth() > month) {\n validMin = false;\n } else if (this.minDate.getMonth() === month) {\n if (this.minDate.getDate() > day) {\n validMin = false;\n }\n }\n }\n }\n\n if (this.maxDate) {\n if (this.maxDate.getFullYear() < year) {\n validMax = false;\n } else if (this.maxDate.getFullYear() === year) {\n if (this.maxDate.getMonth() < month) {\n validMax = false;\n } else if (this.maxDate.getMonth() === month) {\n if (this.maxDate.getDate() < day) {\n validMax = false;\n }\n }\n }\n }\n\n if (this.disabledDates) {\n validDate = !this.isDateDisabled(day, month, year);\n }\n\n if (this.disabledDays) {\n validDay = !this.isDayDisabled(day, month, year);\n }\n\n return validMin && validMax && validDate && validDay;\n }\n\n isDateDisabled(day: number, month: number, year: number): boolean {\n if (this.disabledDates) {\n for (let disabledDate of this.disabledDates) {\n if (disabledDate.getFullYear() === year && disabledDate.getMonth() === month && disabledDate.getDate() === day) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n isDayDisabled(day: number, month: number, year: number): boolean {\n if (this.disabledDays) {\n let weekday = new Date(year, month, day);\n let weekdayNumber = weekday.getDay();\n return this.disabledDays.indexOf(weekdayNumber) !== -1;\n }\n return false;\n }\n\n onInputFocus(event: Event) {\n this.focus = true;\n if (this.showOnFocus) {\n this.showOverlay();\n }\n this.onFocus.emit(event);\n }\n\n onInputClick() {\n if (this.showOnFocus && !this.overlayVisible) {\n this.showOverlay();\n }\n }\n\n onInputBlur(event: Event) {\n this.focus = false;\n this.onBlur.emit(event);\n if (!this.keepInvalid) {\n this.updateInputfield();\n }\n this.onModelTouched();\n }\n\n onButtonClick(event: Event, inputfield: any = this.inputfieldViewChild?.nativeElement) {\n if (!this.overlayVisible) {\n inputfield.focus();\n this.showOverlay();\n } else {\n this.hideOverlay();\n }\n }\n\n clear() {\n this.inputFieldValue = null;\n this.value = null;\n this.onModelChange(this.value);\n this.onClear.emit();\n }\n\n onOverlayClick(event: Event) {\n this.overlayService.add({\n originalEvent: event,\n target: this.el.nativeElement\n });\n }\n\n getMonthName(index: number) {\n return this.config.getTranslation('monthNames')[index];\n }\n\n getYear(month: any) {\n return this.currentView === 'month' ? this.currentYear : month.year;\n }\n\n switchViewButtonDisabled() {\n return this.numberOfMonths > 1 || this.disabled;\n }\n\n onPrevButtonClick(event: Event) {\n this.navigationState = { backward: true, button: true };\n this.navBackward(event);\n }\n\n onNextButtonClick(event: Event) {\n this.navigationState = { backward: false, button: true };\n this.navForward(event);\n }\n\n onContainerButtonKeydown(event: KeyboardEvent) {\n switch (event.which) {\n //tab\n case 9:\n if (!this.inline) {\n this.trapFocus(event);\n }\n if (this.inline) {\n const headerElements = DomHandler.findSingle(this.containerViewChild?.nativeElement, '.p-datepicker-header');\n const element = event.target;\n if (this.timeOnly) {\n return;\n } else {\n if (element == headerElements.children[headerElements?.children?.length - 1]) {\n this.initFocusableCell();\n }\n }\n }\n break;\n\n //escape\n case 27:\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n event.preventDefault();\n break;\n\n default:\n //Noop\n break;\n }\n }\n\n onInputKeydown(event: any) {\n this.isKeydown = true;\n if (event.keyCode === 40 && this.contentViewChild) {\n this.trapFocus(event);\n } else if (event.keyCode === 27) {\n if (this.overlayVisible) {\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n event.preventDefault();\n }\n } else if (event.keyCode === 13) {\n if (this.overlayVisible) {\n this.overlayVisible = false;\n event.preventDefault();\n }\n } else if (event.keyCode === 9 && this.contentViewChild) {\n DomHandler.getFocusableElements(this.contentViewChild.nativeElement).forEach((el) => (el.tabIndex = '-1'));\n if (this.overlayVisible) {\n this.overlayVisible = false;\n }\n }\n }\n\n onDateCellKeydown(event: any, dateMeta: any, groupIndex: number) {\n const cellContent = event.currentTarget;\n const cell = cellContent.parentElement;\n const currentDate = this.formatDateMetaToDate(dateMeta);\n switch (event.which) {\n //down arrow\n case 40: {\n cellContent.tabIndex = '-1';\n let cellIndex = DomHandler.index(cell);\n let nextRow = cell.parentElement.nextElementSibling;\n if (nextRow) {\n let focusCell = nextRow.children[cellIndex].children[0];\n if (DomHandler.hasClass(focusCell, 'p-disabled')) {\n this.navigationState = { backward: false };\n this.navForward(event);\n } else {\n nextRow.children[cellIndex].children[0].tabIndex = '0';\n nextRow.children[cellIndex].children[0].focus();\n }\n } else {\n this.navigationState = { backward: false };\n this.navForward(event);\n }\n event.preventDefault();\n break;\n }\n\n //up arrow\n case 38: {\n cellContent.tabIndex = '-1';\n let cellIndex = DomHandler.index(cell);\n let prevRow = cell.parentElement.previousElementSibling;\n if (prevRow) {\n let focusCell = prevRow.children[cellIndex].children[0];\n if (DomHandler.hasClass(focusCell, 'p-disabled')) {\n this.navigationState = { backward: true };\n this.navBackward(event);\n } else {\n focusCell.tabIndex = '0';\n focusCell.focus();\n }\n } else {\n this.navigationState = { backward: true };\n this.navBackward(event);\n }\n event.preventDefault();\n break;\n }\n\n //left arrow\n case 37: {\n cellContent.tabIndex = '-1';\n let prevCell = cell.previousElementSibling;\n if (prevCell) {\n let focusCell = prevCell.children[0];\n if (DomHandler.hasClass(focusCell, 'p-disabled') || DomHandler.hasClass(focusCell.parentElement, 'p-datepicker-weeknumber')) {\n this.navigateToMonth(true, groupIndex);\n } else {\n focusCell.tabIndex = '0';\n focusCell.focus();\n }\n } else {\n this.navigateToMonth(true, groupIndex);\n }\n event.preventDefault();\n break;\n }\n\n //right arrow\n case 39: {\n cellContent.tabIndex = '-1';\n let nextCell = cell.nextElementSibling;\n if (nextCell) {\n let focusCell = nextCell.children[0];\n if (DomHandler.hasClass(focusCell, 'p-disabled')) {\n this.navigateToMonth(false, groupIndex);\n } else {\n focusCell.tabIndex = '0';\n focusCell.focus();\n }\n } else {\n this.navigateToMonth(false, groupIndex);\n }\n event.preventDefault();\n break;\n }\n\n //enter\n //space\n case 13:\n case 32: {\n this.onDateSelect(event, dateMeta);\n event.preventDefault();\n break;\n }\n\n //escape\n case 27: {\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n event.preventDefault();\n break;\n }\n\n //tab\n case 9: {\n if (!this.inline) {\n this.trapFocus(event);\n }\n break;\n }\n\n // page up\n case 33: {\n cellContent.tabIndex = '-1';\n const dateToFocus = new Date(currentDate.getFullYear(), currentDate.getMonth() - 1, currentDate.getDate());\n const focusKey = this.formatDateKey(dateToFocus);\n this.navigateToMonth(true, groupIndex, `span[data-date='${focusKey}']:not(.p-disabled):not(.p-ink)`);\n event.preventDefault();\n break;\n }\n\n // page down\n case 34: {\n cellContent.tabIndex = '-1';\n const dateToFocus = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, currentDate.getDate());\n const focusKey = this.formatDateKey(dateToFocus);\n this.navigateToMonth(false, groupIndex, `span[data-date='${focusKey}']:not(.p-disabled):not(.p-ink)`);\n event.preventDefault();\n break;\n }\n\n //home\n case 36:\n cellContent.tabIndex = '-1';\n const firstDayDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), 1);\n const firstDayDateKey = this.formatDateKey(firstDayDate);\n const firstDayCell = DomHandler.findSingle(cellContent.offsetParent, `span[data-date='${firstDayDateKey}']:not(.p-disabled):not(.p-ink)`);\n if (firstDayCell) {\n firstDayCell.tabIndex = '0';\n firstDayCell.focus();\n }\n event.preventDefault();\n break;\n\n //end\n case 35:\n cellContent.tabIndex = '-1';\n const lastDayDate = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0);\n const lastDayDateKey = this.formatDateKey(lastDayDate);\n const lastDayCell = DomHandler.findSingle(cellContent.offsetParent, `span[data-date='${lastDayDateKey}']:not(.p-disabled):not(.p-ink)`);\n if (lastDayDate) {\n lastDayCell.tabIndex = '0';\n lastDayCell.focus();\n }\n event.preventDefault();\n break;\n\n default:\n //no op\n break;\n }\n }\n\n onMonthCellKeydown(event: any, index: number) {\n const cell = event.currentTarget;\n switch (event.which) {\n //arrows\n case 38:\n case 40: {\n cell.tabIndex = '-1';\n var cells = cell.parentElement.children;\n var cellIndex = DomHandler.index(cell);\n let nextCell = cells[event.which === 40 ? cellIndex + 3 : cellIndex - 3];\n if (nextCell) {\n nextCell.tabIndex = '0';\n nextCell.focus();\n }\n event.preventDefault();\n break;\n }\n\n //left arrow\n case 37: {\n cell.tabIndex = '-1';\n let prevCell = cell.previousElementSibling;\n if (prevCell) {\n prevCell.tabIndex = '0';\n prevCell.focus();\n } else {\n this.navigationState = { backward: true };\n this.navBackward(event);\n }\n\n event.preventDefault();\n break;\n }\n\n //right arrow\n case 39: {\n cell.tabIndex = '-1';\n let nextCell = cell.nextElementSibling;\n if (nextCell) {\n nextCell.tabIndex = '0';\n nextCell.focus();\n } else {\n this.navigationState = { backward: false };\n this.navForward(event);\n }\n\n event.preventDefault();\n break;\n }\n\n //enter\n //space\n case 13:\n case 32: {\n this.onMonthSelect(event, index);\n event.preventDefault();\n break;\n }\n\n //escape\n case 27: {\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n event.preventDefault();\n break;\n }\n\n //tab\n case 9: {\n if (!this.inline) {\n this.trapFocus(event);\n }\n break;\n }\n\n default:\n //no op\n break;\n }\n }\n\n onYearCellKeydown(event: any, index: number) {\n const cell = event.currentTarget;\n\n switch (event.which) {\n //arrows\n case 38:\n case 40: {\n cell.tabIndex = '-1';\n var cells = cell.parentElement.children;\n var cellIndex = DomHandler.index(cell);\n let nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];\n if (nextCell) {\n nextCell.tabIndex = '0';\n nextCell.focus();\n }\n event.preventDefault();\n break;\n }\n\n //left arrow\n case 37: {\n cell.tabIndex = '-1';\n let prevCell = cell.previousElementSibling;\n if (prevCell) {\n prevCell.tabIndex = '0';\n prevCell.focus();\n } else {\n this.navigationState = { backward: true };\n this.navBackward(event);\n }\n\n event.preventDefault();\n break;\n }\n\n //right arrow\n case 39: {\n cell.tabIndex = '-1';\n let nextCell = cell.nextElementSibling;\n if (nextCell) {\n nextCell.tabIndex = '0';\n nextCell.focus();\n } else {\n this.navigationState = { backward: false };\n this.navForward(event);\n }\n\n event.preventDefault();\n break;\n }\n\n //enter\n //space\n case 13:\n case 32: {\n this.onYearSelect(event, index);\n event.preventDefault();\n break;\n }\n\n //escape\n case 27: {\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n event.preventDefault();\n break;\n }\n\n //tab\n case 9: {\n this.trapFocus(event);\n break;\n }\n\n default:\n //no op\n break;\n }\n }\n\n navigateToMonth(prev: boolean, groupIndex: number, focusKey?: string) {\n if (prev) {\n if (this.numberOfMonths === 1 || groupIndex === 0) {\n this.navigationState = { backward: true };\n this._focusKey = focusKey;\n this.navBackward(event);\n } else {\n let prevMonthContainer = this.contentViewChild.nativeElement.children[groupIndex - 1];\n if (focusKey) {\n const firstDayCell = DomHandler.findSingle(prevMonthContainer, focusKey);\n firstDayCell.tabIndex = '0';\n firstDayCell.focus();\n } else {\n let cells = DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');\n let focusCell = cells[cells.length - 1];\n focusCell.tabIndex = '0';\n focusCell.focus();\n }\n }\n } else {\n if (this.numberOfMonths === 1 || groupIndex === this.numberOfMonths - 1) {\n this.navigationState = { backward: false };\n this._focusKey = focusKey;\n this.navForward(event);\n } else {\n let nextMonthContainer = this.contentViewChild.nativeElement.children[groupIndex + 1];\n if (focusKey) {\n const firstDayCell = DomHandler.findSingle(nextMonthContainer, focusKey);\n firstDayCell.tabIndex = '0';\n firstDayCell.focus();\n } else {\n let focusCell = DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');\n focusCell.tabIndex = '0';\n focusCell.focus();\n }\n }\n }\n }\n\n updateFocus() {\n let cell;\n\n if (this.navigationState) {\n if (this.navigationState.button) {\n this.initFocusableCell();\n\n if (this.navigationState.backward) DomHandler.findSingle(this.contentViewChild.nativeElement, '.p-datepicker-prev').focus();\n else DomHandler.findSingle(this.contentViewChild.nativeElement, '.p-datepicker-next').focus();\n } else {\n if (this.navigationState.backward) {\n let cells;\n\n if (this.currentView === 'month') {\n cells = DomHandler.find(this.contentViewChild.nativeElement, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');\n } else if (this.currentView === 'year') {\n cells = DomHandler.find(this.contentViewChild.nativeElement, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');\n } else {\n cells = DomHandler.find(this.contentViewChild.nativeElement, this._focusKey || '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');\n }\n\n if (cells && cells.length > 0) {\n cell = cells[cells.length - 1];\n }\n } else {\n if (this.currentView === 'month') {\n cell = DomHandler.findSingle(this.contentViewChild.nativeElement, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');\n } else if (this.currentView === 'year') {\n cell = DomHandler.findSingle(this.contentViewChild.nativeElement, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');\n } else {\n cell = DomHandler.findSingle(this.contentViewChild.nativeElement, this._focusKey || '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');\n }\n }\n\n if (cell) {\n cell.tabIndex = '0';\n cell.focus();\n }\n }\n\n this.navigationState = null;\n this._focusKey = null;\n } else {\n this.initFocusableCell();\n }\n }\n\n initFocusableCell() {\n const contentEl = this.contentViewChild?.nativeElement;\n let cell!: any;\n\n if (this.currentView === 'month') {\n let cells = DomHandler.find(contentEl, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');\n let selectedCell = DomHandler.findSingle(contentEl, '.p-monthpicker .p-monthpicker-month.p-highlight');\n cells.forEach((cell) => (cell.tabIndex = -1));\n cell = selectedCell || cells[0];\n\n if (cells.length === 0) {\n let disabledCells = DomHandler.find(contentEl, '.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = \"0\"]');\n disabledCells.forEach((cell) => (cell.tabIndex = -1));\n }\n } else if (this.currentView === 'year') {\n let cells = DomHandler.find(contentEl, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');\n let selectedCell = DomHandler.findSingle(contentEl, '.p-yearpicker .p-yearpicker-year.p-highlight');\n cells.forEach((cell) => (cell.tabIndex = -1));\n cell = selectedCell || cells[0];\n\n if (cells.length === 0) {\n let disabledCells = DomHandler.find(contentEl, '.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = \"0\"]');\n disabledCells.forEach((cell) => (cell.tabIndex = -1));\n }\n } else {\n cell = DomHandler.findSingle(contentEl, 'span.p-highlight');\n if (!cell) {\n let todayCell = DomHandler.findSingle(contentEl, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink)');\n if (todayCell) cell = todayCell;\n else cell = DomHandler.findSingle(contentEl, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');\n }\n }\n\n if (cell) {\n cell.tabIndex = '0';\n\n if (!this.preventFocus && (!this.navigationState || !this.navigationState.button)) {\n setTimeout(() => {\n if (!this.disabled) {\n cell.focus();\n }\n }, 1);\n }\n\n this.preventFocus = false;\n }\n }\n\n trapFocus(event: any) {\n let focusableElements = DomHandler.getFocusableElements(this.contentViewChild.nativeElement);\n\n if (focusableElements && focusableElements.length > 0) {\n if (!focusableElements[0].ownerDocument.activeElement) {\n focusableElements[0].focus();\n } else {\n let focusedIndex = focusableElements.indexOf(focusableElements[0].ownerDocument.activeElement);\n\n if (event.shiftKey) {\n if (focusedIndex == -1 || focusedIndex === 0) {\n if (this.focusTrap) {\n focusableElements[focusableElements.length - 1].focus();\n } else {\n if (focusedIndex === -1) return this.hideOverlay();\n else if (focusedIndex === 0) return;\n }\n } else {\n focusableElements[focusedIndex - 1].focus();\n }\n } else {\n if (focusedIndex == -1) {\n if (this.timeOnly) {\n focusableElements[0].focus();\n } else {\n let spanIndex = 0;\n\n for (let i = 0; i < focusableElements.length; i++) {\n if (focusableElements[i].tagName === 'SPAN') spanIndex = i;\n }\n\n focusableElements[spanIndex].focus();\n }\n } else if (focusedIndex === focusableElements.length - 1) {\n if (!this.focusTrap && focusedIndex != -1) return this.hideOverlay();\n\n focusableElements[0].focus();\n } else {\n focusableElements[focusedIndex + 1].focus();\n }\n }\n }\n }\n\n event.preventDefault();\n }\n\n onMonthDropdownChange(m: string) {\n this.currentMonth = parseInt(m);\n this.onMonthChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n this.createMonths(this.currentMonth, this.currentYear);\n }\n\n onYearDropdownChange(y: string) {\n this.currentYear = parseInt(y);\n this.onYearChange.emit({ month: this.currentMonth + 1, year: this.currentYear });\n this.createMonths(this.currentMonth, this.currentYear);\n }\n\n convertTo24Hour(hours: number, pm: boolean) {\n //@ts-ignore\n if (this.hourFormat == '12') {\n if (hours === 12) {\n return pm ? 12 : 0;\n } else {\n return pm ? hours + 12 : hours;\n }\n }\n return hours;\n }\n\n constrainTime(hour: number, minute: number, second: number, pm: boolean) {\n let returnTimeTriple: number[] = [hour, minute, second];\n let minHoursExceeds12: boolean;\n let value = this.value;\n const convertedHour = this.convertTo24Hour(hour, pm);\n const isRange = this.isRangeSelection(),\n isMultiple = this.isMultipleSelection(),\n isMultiValue = isRange || isMultiple;\n\n if (isMultiValue) {\n if (!this.value) {\n this.value = [new Date(), new Date()];\n }\n if (isRange) {\n value = this.value[1] || this.value[0];\n }\n if (isMultiple) {\n value = this.value[this.value.length - 1];\n }\n }\n const valueDateString = value ? value.toDateString() : null;\n let isMinDate = this.minDate && valueDateString && this.minDate.toDateString() === valueDateString;\n let isMaxDate = this.maxDate && valueDateString && this.maxDate.toDateString() === valueDateString;\n\n if (isMinDate) {\n minHoursExceeds12 = this.minDate.getHours() >= 12;\n }\n\n switch (\n true // intentional fall through\n ) {\n case isMinDate && minHoursExceeds12 && this.minDate.getHours() === 12 && this.minDate.getHours() > convertedHour:\n returnTimeTriple[0] = 11;\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() > minute:\n returnTimeTriple[1] = this.minDate.getMinutes();\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() === minute && this.minDate.getSeconds() > second:\n returnTimeTriple[2] = this.minDate.getSeconds();\n break;\n case isMinDate && !minHoursExceeds12 && this.minDate.getHours() - 1 === convertedHour && this.minDate.getHours() > convertedHour:\n returnTimeTriple[0] = 11;\n this.pm = true;\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() > minute:\n returnTimeTriple[1] = this.minDate.getMinutes();\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() === minute && this.minDate.getSeconds() > second:\n returnTimeTriple[2] = this.minDate.getSeconds();\n break;\n\n case isMinDate && minHoursExceeds12 && this.minDate.getHours() > convertedHour && convertedHour !== 12:\n this.setCurrentHourPM(this.minDate.getHours());\n returnTimeTriple[0] = this.currentHour;\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() > minute:\n returnTimeTriple[1] = this.minDate.getMinutes();\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() === minute && this.minDate.getSeconds() > second:\n returnTimeTriple[2] = this.minDate.getSeconds();\n break;\n case isMinDate && this.minDate.getHours() > convertedHour:\n returnTimeTriple[0] = this.minDate.getHours();\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() > minute:\n returnTimeTriple[1] = this.minDate.getMinutes();\n case isMinDate && this.minDate.getHours() === convertedHour && this.minDate.getMinutes() === minute && this.minDate.getSeconds() > second:\n returnTimeTriple[2] = this.minDate.getSeconds();\n break;\n case isMaxDate && this.maxDate.getHours() < convertedHour:\n returnTimeTriple[0] = this.maxDate.getHours();\n case isMaxDate && this.maxDate.getHours() === convertedHour && this.maxDate.getMinutes() < minute:\n returnTimeTriple[1] = this.maxDate.getMinutes();\n case isMaxDate && this.maxDate.getHours() === convertedHour && this.maxDate.getMinutes() === minute && this.maxDate.getSeconds() < second:\n returnTimeTriple[2] = this.maxDate.getSeconds();\n break;\n }\n\n return returnTimeTriple;\n }\n\n incrementHour(event: any) {\n const prevHour = this.currentHour ?? 0;\n let newHour = (this.currentHour ?? 0) + this.stepHour;\n let newPM = this.pm;\n if (this.hourFormat == '24') newHour = newHour >= 24 ? newHour - 24 : newHour;\n else if (this.hourFormat == '12') {\n // Before the AM/PM break, now after\n if (prevHour < 12 && newHour > 11) {\n newPM = !this.pm;\n }\n newHour = newHour >= 13 ? newHour - 12 : newHour;\n }\n this.toggleAMPMIfNotMinDate(newPM);\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(newHour, this.currentMinute!, this.currentSecond!, newPM!);\n event.preventDefault();\n }\n\n toggleAMPMIfNotMinDate(newPM: boolean) {\n let value = this.value;\n const valueDateString = value ? value.toDateString() : null;\n let isMinDate = this.minDate && valueDateString && this.minDate.toDateString() === valueDateString;\n if (isMinDate && this.minDate.getHours() >= 12) {\n this.pm = true;\n } else {\n this.pm = newPM;\n }\n }\n\n onTimePickerElementMouseDown(event: Event, type: number, direction: number) {\n if (!this.disabled) {\n this.repeat(event, null, type, direction);\n event.preventDefault();\n }\n }\n\n onTimePickerElementMouseUp(event: Event) {\n if (!this.disabled) {\n this.clearTimePickerTimer();\n this.updateTime();\n }\n }\n\n onTimePickerElementMouseLeave() {\n if (!this.disabled && this.timePickerTimer) {\n this.clearTimePickerTimer();\n this.updateTime();\n }\n }\n\n repeat(event: Event | null, interval: number | null, type: number | null, direction: number | null) {\n let i = interval || 500;\n\n this.clearTimePickerTimer();\n this.timePickerTimer = setTimeout(() => {\n this.repeat(event, 100, type, direction);\n this.cd.markForCheck();\n }, i);\n\n switch (type) {\n case 0:\n if (direction === 1) this.incrementHour(event);\n else this.decrementHour(event);\n break;\n\n case 1:\n if (direction === 1) this.incrementMinute(event);\n else this.decrementMinute(event);\n break;\n\n case 2:\n if (direction === 1) this.incrementSecond(event);\n else this.decrementSecond(event);\n break;\n }\n\n this.updateInputfield();\n }\n\n clearTimePickerTimer() {\n if (this.timePickerTimer) {\n clearTimeout(this.timePickerTimer);\n this.timePickerTimer = null;\n }\n }\n\n decrementHour(event: any) {\n let newHour = (this.currentHour ?? 0) - this.stepHour;\n let newPM = this.pm;\n if (this.hourFormat == '24') newHour = newHour < 0 ? 24 + newHour : newHour;\n else if (this.hourFormat == '12') {\n // If we were at noon/midnight, then switch\n if (this.currentHour === 12) {\n newPM = !this.pm;\n }\n newHour = newHour <= 0 ? 12 + newHour : newHour;\n }\n this.toggleAMPMIfNotMinDate(newPM);\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(newHour, this.currentMinute!, this.currentSecond!, newPM!);\n event.preventDefault();\n }\n\n incrementMinute(event: any) {\n let newMinute = (this.currentMinute ?? 0) + this.stepMinute;\n newMinute = newMinute > 59 ? newMinute - 60 : newMinute;\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(this.currentHour, newMinute, this.currentSecond!, this.pm!);\n event.preventDefault();\n }\n\n decrementMinute(event: any) {\n let newMinute = (this.currentMinute ?? 0) - this.stepMinute;\n newMinute = newMinute < 0 ? 60 + newMinute : newMinute;\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(this.currentHour, newMinute, this.currentSecond, this.pm);\n event.preventDefault();\n }\n\n incrementSecond(event: any) {\n let newSecond = <any>this.currentSecond + this.stepSecond;\n newSecond = newSecond > 59 ? newSecond - 60 : newSecond;\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(this.currentHour, this.currentMinute, newSecond, this.pm);\n event.preventDefault();\n }\n\n decrementSecond(event: any) {\n let newSecond = <any>this.currentSecond - this.stepSecond;\n newSecond = newSecond < 0 ? 60 + newSecond : newSecond;\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(this.currentHour, this.currentMinute, newSecond, this.pm);\n event.preventDefault();\n }\n\n updateTime() {\n let value = this.value;\n if (this.isRangeSelection()) {\n value = this.value[1] || this.value[0];\n }\n if (this.isMultipleSelection()) {\n value = this.value[this.value.length - 1];\n }\n value = value ? new Date(value.getTime()) : new Date();\n\n if (this.hourFormat == '12') {\n if (this.currentHour === 12) value.setHours(this.pm ? 12 : 0);\n else value.setHours(this.pm ? <number>this.currentHour + 12 : this.currentHour);\n } else {\n value.setHours(this.currentHour);\n }\n\n value.setMinutes(this.currentMinute);\n value.setSeconds(this.currentSecond);\n if (this.isRangeSelection()) {\n if (this.value[1]) value = [this.value[0], value];\n else value = [value, null];\n }\n\n if (this.isMultipleSelection()) {\n value = [...this.value.slice(0, -1), value];\n }\n\n this.updateModel(value);\n this.onSelect.emit(value);\n this.updateInputfield();\n }\n\n toggleAMPM(event: any) {\n const newPM = !this.pm;\n this.pm = newPM;\n [this.currentHour, this.currentMinute, this.currentSecond] = this.constrainTime(this.currentHour, this.currentMinute, this.currentSecond, newPM);\n this.updateTime();\n event.preventDefault();\n }\n\n onUserInput(event: KeyboardEvent | any) {\n // IE 11 Workaround for input placeholder : https://github.com/primefaces/primeng/issues/2026\n if (!this.isKeydown) {\n return;\n }\n this.isKeydown = false;\n\n let val = (<HTMLInputElement>event.target).value;\n try {\n let value = this.parseValueFromString(val);\n if (this.isValidSelection(value)) {\n this.updateModel(value);\n this.updateUI();\n } else if (this.keepInvalid) {\n this.updateModel(value);\n }\n } catch (err) {\n //invalid date\n let value = this.keepInvalid ? val : null;\n this.updateModel(value);\n }\n\n this.filled = (val != null && val.length) as any;\n this.onInput.emit(event);\n }\n\n isValidSelection(value: any): boolean {\n if (this.isSingleSelection()) {\n return this.isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false);\n }\n let isValid = value.every((v: any) => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false));\n if (isValid && this.isRangeSelection()) {\n isValid = value.length === 1 || (value.length > 1 && value[1] >= value[0]);\n }\n return isValid;\n }\n\n parseValueFromString(text: string): Date | Date[] | null {\n if (!text || text.trim().length === 0) {\n return null;\n }\n\n let value: any;\n\n if (this.isSingleSelection()) {\n value = this.parseDateTime(text);\n } else if (this.isMultipleSelection()) {\n let tokens = text.split(this.multipleSeparator);\n value = [];\n for (let token of tokens) {\n value.push(this.parseDateTime(token.trim()));\n }\n } else if (this.isRangeSelection()) {\n let tokens = text.split(' ' + this.rangeSeparator + ' ');\n value = [];\n for (let i = 0; i < tokens.length; i++) {\n value[i] = this.parseDateTime(tokens[i].trim());\n }\n }\n\n return value;\n }\n\n parseDateTime(text: any): Date {\n let date: Date;\n let parts: string[] = text.split(' ');\n\n if (this.timeOnly) {\n date = new Date();\n this.populateTime(date, parts[0], parts[1]);\n } else {\n const dateFormat = this.getDateFormat();\n if (this.showTime) {\n let ampm = this.hourFormat == '12' ? parts.pop() : null;\n let timeString = parts.pop();\n\n date = this.parseDate(parts.join(' '), dateFormat);\n this.populateTime(date, timeString, ampm);\n } else {\n date = this.parseDate(text, dateFormat);\n }\n }\n\n return date;\n }\n\n populateTime(value: any, timeString: any, ampm: any) {\n if (this.hourFormat == '12' && !ampm) {\n throw 'Invalid Time';\n }\n\n this.pm = ampm === 'PM' || ampm === 'pm';\n let time = this.parseTime(timeString);\n value.setHours(time.hour);\n value.setMinutes(time.minute);\n value.setSeconds(time.second);\n }\n\n isValidDate(date: any) {\n return ObjectUtils.isDate(date) && ObjectUtils.isNotEmpty(date);\n }\n\n updateUI() {\n let propValue = this.value;\n if (Array.isArray(propValue)) {\n propValue = propValue.length === 2 ? propValue[1] : propValue[0];\n }\n\n let val = this.defaultDate && this.isValidDate(this.defaultDate) && !this.value ? this.defaultDate : propValue && this.isValidDate(propValue) ? propValue : new Date();\n\n this.currentMonth = val.getMonth();\n this.currentYear = val.getFullYear();\n this.createMonths(this.currentMonth, this.currentYear);\n\n if (this.showTime || this.timeOnly) {\n this.setCurrentHourPM(val.getHours());\n this.currentMinute = val.getMinutes();\n this.currentSecond = val.getSeconds();\n }\n }\n\n showOverlay() {\n if (!this.overlayVisible) {\n this.updateUI();\n\n if (!this.touchUI) {\n this.preventFocus = true;\n }\n\n this.overlayVisible = true;\n }\n }\n\n hideOverlay() {\n this.inputfieldViewChild?.nativeElement.focus();\n this.overlayVisible = false;\n this.clearTimePickerTimer();\n\n if (this.touchUI) {\n this.disableModality();\n }\n\n this.cd.markForCheck();\n }\n\n toggle() {\n if (!this.inline) {\n if (!this.overlayVisible) {\n this.showOverlay();\n this.inputfieldViewChild?.nativeElement.focus();\n } else {\n this.hideOverlay();\n }\n }\n }\n\n onOverlayAnimationStart(event: AnimationEvent) {\n switch (event.toState) {\n case 'visible':\n case 'visibleTouchUI':\n if (!this.inline) {\n this.overlay = event.element;\n this.overlay?.setAttribute(this.attributeSelector as string, '');\n this.appendOverlay();\n this.updateFocus();\n if (this.autoZIndex) {\n if (this.touchUI) ZIndexUtils.set('modal', this.overlay, this.baseZIndex || this.config.zIndex.modal);\n else ZIndexUtils.set('overlay', this.overlay, this.baseZIndex || this.config.zIndex.overlay);\n }\n\n this.alignOverlay();\n this.onShow.emit(event);\n }\n break;\n\n case 'void':\n this.onOverlayHide();\n this.onClose.emit(event);\n break;\n }\n }\n\n onOverlayAnimationDone(event: AnimationEvent) {\n switch (event.toState) {\n case 'visible':\n case 'visibleTouchUI':\n if (!this.inline) {\n this.bindDocumentClickListener();\n this.bindDocumentResizeListener();\n this.bindScrollListener();\n }\n break;\n\n case 'void':\n if (this.autoZIndex) {\n ZIndexUtils.clear(event.element);\n }\n break;\n }\n }\n\n appendOverlay() {\n if (this.appendTo) {\n if (this.appendTo === 'body') this.document.body.appendChild(<HTMLElement>this.overlay);\n else DomHandler.appendChild(this.overlay, this.appendTo);\n }\n }\n\n restoreOverlayAppend() {\n if (this.overlay && this.appendTo) {\n this.el.nativeElement.appendChild(this.overlay);\n }\n }\n\n alignOverlay() {\n if (this.touchUI) {\n this.enableModality(this.overlay);\n } else if (this.overlay) {\n if (this.appendTo) {\n if (this.view === 'date') {\n this.overlay.style.width = DomHandler.getOuterWidth(this.overlay) + 'px';\n this.overlay.style.minWidth = DomHandler.getOuterWidth(this.inputfieldViewChild?.nativeElement) + 'px';\n } else {\n this.overlay.style.width = DomHandler.getOuterWidth(this.inputfieldViewChild?.nativeElement) + 'px';\n }\n\n DomHandler.absolutePosition(this.overlay, this.inputfieldViewChild?.nativeElement);\n } else {\n DomHandler.relativePosition(this.overlay, this.inputfieldViewChild?.nativeElement);\n }\n }\n }\n\n enableModality(element: any) {\n if (!this.mask && this.touchUI) {\n this.mask = this.renderer.createElement('div');\n this.renderer.setStyle(this.mask, 'zIndex', String(parseInt(element.style.zIndex) - 1));\n let maskStyleClass = 'p-component-overlay p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter';\n DomHandler.addMultipleClasses(this.mask, maskStyleClass);\n\n this.maskClickListener = this.renderer.listen(this.mask, 'click', (event: any) => {\n this.disableModality();\n this.overlayVisible = false;\n });\n this.renderer.appendChild(this.document.body, this.mask);\n DomHandler.blockBodyScroll();\n }\n }\n\n disableModality() {\n if (this.mask) {\n DomHandler.addClass(this.mask, 'p-component-overlay-leave');\n if (!this.animationEndListener) {\n this.animationEndListener = this.renderer.listen(this.mask, 'animationend', this.destroyMask.bind(this));\n }\n }\n }\n\n destroyMask() {\n if (!this.mask) {\n return;\n }\n this.renderer.removeChild(this.document.body, this.mask);\n let bodyChildren = this.document.body.children;\n let hasBlockerMasks!: boolean;\n for (let i = 0; i < bodyChildren.length; i++) {\n let bodyChild = bodyChildren[i];\n if (DomHandler.hasClass(bodyChild, 'p-datepicker-mask-scrollblocker')) {\n hasBlockerMasks = true;\n break;\n }\n }\n\n if (!hasBlockerMasks) {\n DomHandler.unblockBodyScroll();\n }\n\n this.unbindAnimationEndListener();\n this.unbindMaskClickListener();\n this.mask = null;\n }\n\n unbindMaskClickListener() {\n if (this.maskClickListener) {\n this.maskClickListener();\n this.maskClickListener = null;\n }\n }\n\n unbindAnimationEndListener() {\n if (this.animationEndListener && this.mask) {\n this.animationEndListener();\n this.animationEndListener = null;\n }\n }\n\n writeValue(value: any): void {\n this.value = value;\n if (this.value && typeof this.value === 'string') {\n try {\n this.value = this.parseValueFromString(this.value);\n } catch {\n if (this.keepInvalid) {\n this.value = value;\n }\n }\n }\n\n this.updateInputfield();\n this.updateUI();\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n setDisabledState(val: boolean): void {\n this.disabled = val;\n this.cd.markForCheck();\n }\n\n getDateFormat() {\n return this.dateFormat || this.getTranslation('dateFormat');\n }\n\n getFirstDateOfWeek() {\n return this._firstDayOfWeek || this.getTranslation(TranslationKeys.FIRST_DAY_OF_WEEK);\n }\n\n // Ported from jquery-ui datepicker formatDate\n formatDate(date: any, format: any) {\n if (!date) {\n return '';\n }\n\n let iFormat!: any;\n const lookAhead = (match: string) => {\n const matches = iFormat + 1 < format.length && format.charAt(iFormat + 1) === match;\n if (matches) {\n iFormat++;\n }\n return matches;\n },\n formatNumber = (match: string, value: any, len: any) => {\n let num = '' + value;\n if (lookAhead(match)) {\n while (num.length < len) {\n num = '0' + num;\n }\n }\n return num;\n },\n formatName = (match: string, value: any, shortNames: any, longNames: any) => {\n return lookAhead(match) ? longNames[value] : shortNames[value];\n };\n let output = '';\n let literal = false;\n\n if (date) {\n for (iFormat = 0; iFormat < format.length; iFormat++) {\n if (literal) {\n if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n literal = false;\n } else {\n output += format.charAt(iFormat);\n }\n } else {\n switch (format.charAt(iFormat)) {\n case 'd':\n output += formatNumber('d', date.getDate(), 2);\n break;\n case 'D':\n output += formatName('D', date.getDay(), this.getTranslation(TranslationKeys.DAY_NAMES_SHORT), this.getTranslation(TranslationKeys.DAY_NAMES));\n break;\n case 'o':\n output += formatNumber('o', Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);\n break;\n case 'm':\n output += formatNumber('m', date.getMonth() + 1, 2);\n break;\n case 'M':\n output += formatName('M', date.getMonth(), this.getTranslation(TranslationKeys.MONTH_NAMES_SHORT), this.getTranslation(TranslationKeys.MONTH_NAMES));\n break;\n case 'y':\n output += lookAhead('y') ? date.getFullYear() : (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);\n break;\n case '@':\n output += date.getTime();\n break;\n case '!':\n output += date.getTime() * 10000 + <number>this.ticksTo1970;\n break;\n case \"'\":\n if (lookAhead(\"'\")) {\n output += \"'\";\n } else {\n literal = true;\n }\n break;\n default:\n output += format.charAt(iFormat);\n }\n }\n }\n }\n return output;\n }\n\n formatTime(date: any) {\n if (!date) {\n return '';\n }\n\n let output = '';\n let hours = date.getHours();\n let minutes = date.getMinutes();\n let seconds = date.getSeconds();\n\n if (this.hourFormat == '12' && hours > 11 && hours != 12) {\n hours -= 12;\n }\n\n if (this.hourFormat == '12') {\n output += hours === 0 ? 12 : hours < 10 ? '0' + hours : hours;\n } else {\n output += hours < 10 ? '0' + hours : hours;\n }\n output += ':';\n output += minutes < 10 ? '0' + minutes : minutes;\n\n if (this.showSeconds) {\n output += ':';\n output += seconds < 10 ? '0' + seconds : seconds;\n }\n\n if (this.hourFormat == '12') {\n output += date.getHours() > 11 ? ' PM' : ' AM';\n }\n\n return output;\n }\n\n parseTime(value: any) {\n let tokens: string[] = value.split(':');\n let validTokenLength = this.showSeconds ? 3 : 2;\n\n if (tokens.length !== validTokenLength) {\n throw 'Invalid time';\n }\n\n let h = parseInt(tokens[0]);\n let m = parseInt(tokens[1]);\n let s = this.showSeconds ? parseInt(tokens[2]) : null;\n\n if (isNaN(h) || isNaN(m) || h > 23 || m > 59 || (this.hourFormat == '12' && h > 12) || (this.showSeconds && (isNaN(<any>s) || <any>s > 59))) {\n throw 'Invalid time';\n } else {\n if (this.hourFormat == '12') {\n if (h !== 12 && this.pm) {\n h += 12;\n } else if (!this.pm && h === 12) {\n h -= 12;\n }\n }\n\n return { hour: h, minute: m, second: s };\n }\n }\n\n // Ported from jquery-ui datepicker parseDate\n parseDate(value: any, format: any) {\n if (format == null || value == null) {\n throw 'Invalid arguments';\n }\n\n value = typeof value === 'object' ? value.toString() : value + '';\n if (value === '') {\n return null;\n }\n\n let iFormat!: any,\n dim,\n extra,\n iValue = 0,\n shortYearCutoff = typeof this.shortYearCutoff !== 'string' ? this.shortYearCutoff : (new Date().getFullYear() % 100) + parseInt(this.shortYearCutoff, 10),\n year = -1,\n month = -1,\n day = -1,\n doy = -1,\n literal = false,\n date,\n lookAhead = (match: any) => {\n let matches = iFormat + 1 < format.length && format.charAt(iFormat + 1) === match;\n if (matches) {\n iFormat++;\n }\n return matches;\n },\n getNumber = (match: any) => {\n let isDoubled = lookAhead(match),\n size = match === '@' ? 14 : match === '!' ? 20 : match === 'y' && isDoubled ? 4 : match === 'o' ? 3 : 2,\n minSize = match === 'y' ? size : 1,\n digits = new RegExp('^\\\\d{' + minSize + ',' + size + '}'),\n num = value.substring(iValue).match(digits);\n if (!num) {\n throw 'Missing number at position ' + iValue;\n }\n iValue += num[0].length;\n return parseInt(num[0], 10);\n },\n getName = (match: any, shortNames: any, longNames: any) => {\n let index = -1;\n let arr = lookAhead(match) ? longNames : shortNames;\n let names = [];\n\n for (let i = 0; i < arr.length; i++) {\n names.push([i, arr[i]]);\n }\n names.sort((a, b) => {\n return -(a[1].length - b[1].length);\n });\n\n for (let i = 0; i < names.length; i++) {\n let name = names[i][1];\n if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {\n index = names[i][0];\n iValue += name.length;\n break;\n }\n }\n\n if (index !== -1) {\n return index + 1;\n } else {\n throw 'Unknown name at position ' + iValue;\n }\n },\n checkLiteral = () => {\n if (value.charAt(iValue) !== format.charAt(iFormat)) {\n throw 'Unexpected literal at position ' + iValue;\n }\n iValue++;\n };\n\n if (this.view === 'month') {\n day = 1;\n }\n\n for (iFormat = 0; iFormat < format.length; iFormat++) {\n if (literal) {\n if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n literal = false;\n } else {\n checkLiteral();\n }\n } else {\n switch (format.charAt(iFormat)) {\n case 'd':\n day = getNumber('d');\n break;\n case 'D':\n getName('D', this.getTranslation(TranslationKeys.DAY_NAMES_SHORT), this.getTranslation(TranslationKeys.DAY_NAMES));\n break;\n case 'o':\n doy = getNumber('o');\n break;\n case 'm':\n month = getNumber('m');\n break;\n case 'M':\n month = getName('M', this.getTranslation(TranslationKeys.MONTH_NAMES_SHORT), this.getTranslation(TranslationKeys.MONTH_NAMES));\n break;\n case 'y':\n year = getNumber('y');\n break;\n case '@':\n date = new Date(getNumber('@'));\n year = date.getFullYear();\n month = date.getMonth() + 1;\n day = date.getDate();\n break;\n case '!':\n date = new Date((getNumber('!') - <number>this.ticksTo1970) / 10000);\n year = date.getFullYear();\n month = date.getMonth() + 1;\n day = date.getDate();\n break;\n case \"'\":\n if (lookAhead(\"'\")) {\n checkLiteral();\n } else {\n literal = true;\n }\n break;\n default:\n checkLiteral();\n }\n }\n }\n\n if (iValue < value.length) {\n extra = value.substr(iValue);\n if (!/^\\s+/.test(extra)) {\n throw 'Extra/unparsed characters found in date: ' + extra;\n }\n }\n\n if (year === -1) {\n year = new Date().getFullYear();\n } else if (year < 100) {\n year += new Date().getFullYear() - (new Date().getFullYear() % 100) + (year <= shortYearCutoff ? 0 : -100);\n }\n\n if (doy > -1) {\n month = 1;\n day = doy;\n do {\n dim = this.getDaysCountInMonth(year, month - 1);\n if (day <= dim) {\n break;\n }\n month++;\n day -= dim;\n } while (true);\n }\n\n if (this.view === 'year') {\n month = month === -1 ? 1 : month;\n day = day === -1 ? 1 : day;\n }\n\n date = this.daylightSavingAdjust(new Date(year, month - 1, day));\n\n if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {\n throw 'Invalid date'; // E.g. 31/02/00\n }\n\n return date;\n }\n\n daylightSavingAdjust(date: any) {\n if (!date) {\n return null;\n }\n\n date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);\n\n return date;\n }\n\n updateFilledState() {\n this.filled = (this.inputFieldValue && this.inputFieldValue != '') as boolean;\n }\n\n isValidDateForTimeConstraints(selectedDate: Date) {\n if (this.keepInvalid) {\n return true; // If we are keeping invalid dates, we don't need to check for time constraints\n }\n return (!this.minDate || selectedDate >= this.minDate) && (!this.maxDate || selectedDate <= this.maxDate);\n }\n\n onTodayButtonClick(event: any) {\n const date: Date = new Date();\n const dateMeta = { day: date.getDate(), month: date.getMonth(), year: date.getFullYear(), otherMonth: date.getMonth() !== this.currentMonth || date.getFullYear() !== this.currentYear, today: true, selectable: true };\n\n this.createMonths(date.getMonth(), date.getFullYear());\n this.onDateSelect(event, dateMeta);\n this.onTodayClick.emit(date);\n }\n\n onClearButtonClick(event: any) {\n this.updateModel(null);\n this.updateInputfield();\n this.hideOverlay();\n this.onClearClick.emit(event);\n }\n\n createResponsiveStyle() {\n if (this.numberOfMonths > 1 && this.responsiveOptions) {\n if (!this.responsiveStyleElement) {\n this.responsiveStyleElement = this.renderer.createElement('style');\n (<HTMLStyleElement>this.responsiveStyleElement).type = 'text/css';\n this.renderer.appendChild(this.document.body, this.responsiveStyleElement);\n }\n\n let innerHTML = '';\n if (this.responsiveOptions) {\n let responsiveOptions = [...this.responsiveOptions].filter((o) => !!(o.breakpoint && o.numMonths)).sort((o1: any, o2: any) => -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, { numeric: true }));\n\n for (let i = 0; i < responsiveOptions.length; i++) {\n let { breakpoint, numMonths } = responsiveOptions[i];\n let styles = `\n .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next {\n display: inline-flex !important;\n }\n `;\n\n for (let j: number = <number>numMonths; j < this.numberOfMonths; j++) {\n styles += `\n .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) {\n display: none !important;\n }\n `;\n }\n\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n ${styles}\n }\n `;\n }\n }\n\n (<HTMLStyleElement>this.responsiveStyleElement).innerHTML = innerHTML;\n }\n }\n\n destroyResponsiveStyleElement() {\n if (this.responsiveStyleElement) {\n this.responsiveStyleElement.remove();\n this.responsiveStyleElement = null;\n }\n }\n\n bindDocumentClickListener() {\n if (!this.documentClickListener) {\n this.zone.runOutsideAngular(() => {\n const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : this.document;\n\n this.documentClickListener = this.renderer.listen(documentTarget, 'mousedown', (event) => {\n if (this.isOutsideClicked(event) && this.overlayVisible) {\n this.zone.run(() => {\n this.hideOverlay();\n this.onClickOutside.emit(event);\n\n this.cd.markForCheck();\n });\n }\n });\n });\n }\n }\n\n unbindDocumentClickListener() {\n if (this.documentClickListener) {\n this.documentClickListener();\n this.documentClickListener = null;\n }\n }\n\n bindDocumentResizeListener() {\n if (!this.documentResizeListener && !this.touchUI) {\n this.documentResizeListener = this.renderer.listen(this.window, 'resize', this.onWindowResize.bind(this));\n }\n }\n\n unbindDocumentResizeListener() {\n if (this.documentResizeListener) {\n this.documentResizeListener();\n this.documentResizeListener = null;\n }\n }\n\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.containerViewChild?.nativeElement, () => {\n if (this.overlayVisible) {\n this.hideOverlay();\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n }\n\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n }\n\n isOutsideClicked(event: Event) {\n return !(this.el.nativeElement.isSameNode(event.target) || this.isNavIconClicked(event) || this.el.nativeElement.contains(event.target) || (this.overlay && this.overlay.contains(<Node>event.target)));\n }\n\n isNavIconClicked(event: Event) {\n return (\n DomHandler.hasClass(event.target, 'p-datepicker-prev') || DomHandler.hasClass(event.target, 'p-datepicker-prev-icon') || DomHandler.hasClass(event.target, 'p-datepicker-next') || DomHandler.hasClass(event.target, 'p-datepicker-next-icon')\n );\n }\n\n onWindowResize() {\n if (this.overlayVisible && !DomHandler.isTouchDevice()) {\n this.hideOverlay();\n }\n }\n\n onOverlayHide() {\n this.currentView = this.view;\n\n if (this.mask) {\n this.destroyMask();\n }\n\n this.unbindDocumentClickListener();\n this.unbindDocumentResizeListener();\n this.unbindScrollListener();\n this.overlay = null;\n }\n\n ngOnDestroy() {\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n if (this.overlay && this.autoZIndex) {\n ZIndexUtils.clear(this.overlay);\n }\n\n this.destroyResponsiveStyleElement();\n this.clearTimePickerTimer();\n this.restoreOverlayAppend();\n this.onOverlayHide();\n }\n}\n\n@NgModule({\n imports: [CommonModule, ButtonModule, SharedModule, RippleModule, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, TimesIcon, CalendarIcon, AutoFocusModule],\n exports: [Calendar, ButtonModule, SharedModule],\n declarations: [Calendar]\n})\nexport class CalendarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0Ca,MAAA,uBAAuB,GAAQ;AACxC,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,QAAQ,CAAC;AACvC,IAAA,KAAK,EAAE,IAAI;EACb;AACF;;;AAGG;MAsaU,QAAQ,CAAA;AAsrBqB,IAAA,QAAA,CAAA;AAA2B,IAAA,EAAA,CAAA;AAAuB,IAAA,QAAA,CAAA;AAA4B,IAAA,EAAA,CAAA;AAA+B,IAAA,IAAA,CAAA;AAAsB,IAAA,MAAA,CAAA;AAA8B,IAAA,cAAA,CAAA;IArrB9L,WAAW,GAAuB,QAAQ,CAAC;AACpD;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