primeng 19.0.0 → 19.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
5
  import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ViewChild, ContentChildren, NgModule } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
7
+ import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, addStyle, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
8
8
  import * as i1 from 'primeng/api';
9
9
  import { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';
10
10
  import { AutoFocus } from 'primeng/autofocus';
@@ -3668,6 +3668,8 @@ class Calendar extends BaseComponent {
3668
3668
  if (!this.inline) {
3669
3669
  this.overlay = event.element;
3670
3670
  this.overlay?.setAttribute(this.attributeSelector, '');
3671
+ const styles = !this.inline ? { position: 'absolute', top: '0', left: '0' } : undefined;
3672
+ addStyle(this.overlay, styles);
3671
3673
  this.appendOverlay();
3672
3674
  this.updateFocus();
3673
3675
  if (this.autoZIndex) {
@@ -5020,7 +5022,7 @@ class Calendar extends BaseComponent {
5020
5022
  type: ContentChildren,
5021
5023
  args: [PrimeTemplate]
5022
5024
  }] }); })();
5023
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Calendar, { className: "Calendar", filePath: "calendar.ts", lineNumber: 527 }); })();
5025
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Calendar, { className: "Calendar", filePath: "calendar.ts", lineNumber: 528 }); })();
5024
5026
  class CalendarModule {
5025
5027
  static ɵfac = function CalendarModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CalendarModule)(); };
5026
5028
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CalendarModule });