primeng 18.0.1 → 18.0.2-patch.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.
Files changed (127) hide show
  1. package/chips/chips.d.ts +237 -0
  2. package/chips/chips.interface.d.ts +66 -0
  3. package/chips/index.d.ts +5 -0
  4. package/chips/public_api.d.ts +2 -0
  5. package/chips/style/chipsstyle.d.ts +69 -0
  6. package/datepicker/datepicker.d.ts +88 -22
  7. package/esm2022/calendar/calendar.mjs +9 -8
  8. package/esm2022/chips/chips.interface.mjs +2 -0
  9. package/esm2022/chips/chips.mjs +827 -0
  10. package/esm2022/chips/primeng-chips.mjs +5 -0
  11. package/esm2022/chips/public_api.mjs +3 -0
  12. package/esm2022/chips/style/chipsstyle.mjs +175 -0
  13. package/esm2022/datepicker/datepicker.mjs +9 -8
  14. package/esm2022/tree/tree.mjs +5 -3
  15. package/fesm2022/primeng-accordion.mjs +2 -2
  16. package/fesm2022/primeng-animateonscroll.mjs +1 -1
  17. package/fesm2022/primeng-api.mjs +1 -1
  18. package/fesm2022/primeng-autocomplete.mjs +2 -2
  19. package/fesm2022/primeng-avatar.mjs +1 -1
  20. package/fesm2022/primeng-avatargroup.mjs +1 -1
  21. package/fesm2022/primeng-badge.mjs +2 -2
  22. package/fesm2022/primeng-blockui.mjs +2 -2
  23. package/fesm2022/primeng-breadcrumb.mjs +2 -2
  24. package/fesm2022/primeng-button.mjs +2 -2
  25. package/fesm2022/primeng-buttongroup.mjs +1 -1
  26. package/fesm2022/primeng-calendar.mjs +11 -10
  27. package/fesm2022/primeng-calendar.mjs.map +1 -1
  28. package/fesm2022/primeng-card.mjs +2 -2
  29. package/fesm2022/primeng-carousel.mjs +2 -2
  30. package/fesm2022/primeng-cascadeselect.mjs +1 -1
  31. package/fesm2022/primeng-chart.mjs +1 -1
  32. package/fesm2022/primeng-checkbox.mjs +2 -2
  33. package/fesm2022/primeng-chip.mjs +2 -2
  34. package/fesm2022/primeng-chips.mjs +1006 -0
  35. package/fesm2022/primeng-chips.mjs.map +1 -0
  36. package/fesm2022/primeng-colorpicker.mjs +1 -1
  37. package/fesm2022/primeng-confirmdialog.mjs +2 -2
  38. package/fesm2022/primeng-confirmpopup.mjs +3 -3
  39. package/fesm2022/primeng-contextmenu.mjs +1 -1
  40. package/fesm2022/primeng-dataview.mjs +2 -2
  41. package/fesm2022/primeng-datepicker.mjs +11 -10
  42. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  43. package/fesm2022/primeng-defer.mjs +1 -1
  44. package/fesm2022/primeng-dialog.mjs +2 -2
  45. package/fesm2022/primeng-divider.mjs +1 -1
  46. package/fesm2022/primeng-dock.mjs +2 -2
  47. package/fesm2022/primeng-dragdrop.mjs +1 -1
  48. package/fesm2022/primeng-drawer.mjs +2 -2
  49. package/fesm2022/primeng-dropdown.mjs +1 -1
  50. package/fesm2022/primeng-dynamicdialog.mjs +1 -1
  51. package/fesm2022/primeng-editor.mjs +2 -2
  52. package/fesm2022/primeng-fieldset.mjs +3 -3
  53. package/fesm2022/primeng-fileupload.mjs +2 -2
  54. package/fesm2022/primeng-floatlabel.mjs +1 -1
  55. package/fesm2022/primeng-fluid.mjs +1 -1
  56. package/fesm2022/primeng-galleria.mjs +1 -1
  57. package/fesm2022/primeng-iconfield.mjs +1 -1
  58. package/fesm2022/primeng-icons-baseicon.mjs +1 -1
  59. package/fesm2022/primeng-iftalabel.mjs +1 -1
  60. package/fesm2022/primeng-image.mjs +2 -2
  61. package/fesm2022/primeng-imagecompare.mjs +2 -2
  62. package/fesm2022/primeng-inplace.mjs +2 -2
  63. package/fesm2022/primeng-inputgroupaddon.mjs +1 -1
  64. package/fesm2022/primeng-inputicon.mjs +1 -1
  65. package/fesm2022/primeng-inputmask.mjs +2 -2
  66. package/fesm2022/primeng-inputnumber.mjs +2 -2
  67. package/fesm2022/primeng-inputotp.mjs +2 -2
  68. package/fesm2022/primeng-inputswitch.mjs +1 -1
  69. package/fesm2022/primeng-inputtext.mjs +1 -1
  70. package/fesm2022/primeng-inputtextarea.mjs +1 -1
  71. package/fesm2022/primeng-keyfilter.mjs +1 -1
  72. package/fesm2022/primeng-knob.mjs +1 -1
  73. package/fesm2022/primeng-listbox.mjs +2 -2
  74. package/fesm2022/primeng-megamenu.mjs +1 -1
  75. package/fesm2022/primeng-menu.mjs +1 -1
  76. package/fesm2022/primeng-menubar.mjs +1 -1
  77. package/fesm2022/primeng-message.mjs +2 -2
  78. package/fesm2022/primeng-messages.mjs +1 -1
  79. package/fesm2022/primeng-metergroup.mjs +1 -1
  80. package/fesm2022/primeng-multiselect.mjs +1 -1
  81. package/fesm2022/primeng-orderlist.mjs +2 -2
  82. package/fesm2022/primeng-organizationchart.mjs +2 -2
  83. package/fesm2022/primeng-overlay.mjs +2 -2
  84. package/fesm2022/primeng-overlaybadge.mjs +1 -1
  85. package/fesm2022/primeng-overlaypanel.mjs +2 -2
  86. package/fesm2022/primeng-paginator.mjs +2 -2
  87. package/fesm2022/primeng-panel.mjs +3 -3
  88. package/fesm2022/primeng-panelmenu.mjs +2 -2
  89. package/fesm2022/primeng-password.mjs +2 -2
  90. package/fesm2022/primeng-picklist.mjs +2 -2
  91. package/fesm2022/primeng-popover.mjs +3 -3
  92. package/fesm2022/primeng-progressbar.mjs +2 -2
  93. package/fesm2022/primeng-progressspinner.mjs +1 -1
  94. package/fesm2022/primeng-radiobutton.mjs +1 -1
  95. package/fesm2022/primeng-rating.mjs +2 -2
  96. package/fesm2022/primeng-scroller.mjs +2 -2
  97. package/fesm2022/primeng-scrollpanel.mjs +2 -2
  98. package/fesm2022/primeng-scrolltop.mjs +3 -3
  99. package/fesm2022/primeng-select.mjs +1 -1
  100. package/fesm2022/primeng-selectbutton.mjs +2 -2
  101. package/fesm2022/primeng-sidebar.mjs +2 -2
  102. package/fesm2022/primeng-skeleton.mjs +1 -1
  103. package/fesm2022/primeng-slider.mjs +1 -1
  104. package/fesm2022/primeng-speeddial.mjs +2 -2
  105. package/fesm2022/primeng-splitbutton.mjs +2 -2
  106. package/fesm2022/primeng-splitter.mjs +2 -2
  107. package/fesm2022/primeng-stepper.mjs +3 -3
  108. package/fesm2022/primeng-steps.mjs +1 -1
  109. package/fesm2022/primeng-styleclass.mjs +1 -1
  110. package/fesm2022/primeng-table.mjs +1 -1
  111. package/fesm2022/primeng-tabmenu.mjs +2 -2
  112. package/fesm2022/primeng-tabs.mjs +2 -2
  113. package/fesm2022/primeng-tabview.mjs +2 -2
  114. package/fesm2022/primeng-tag.mjs +2 -2
  115. package/fesm2022/primeng-terminal.mjs +1 -1
  116. package/fesm2022/primeng-textarea.mjs +1 -1
  117. package/fesm2022/primeng-tieredmenu.mjs +1 -1
  118. package/fesm2022/primeng-timeline.mjs +2 -2
  119. package/fesm2022/primeng-toast.mjs +2 -2
  120. package/fesm2022/primeng-togglebutton.mjs +2 -2
  121. package/fesm2022/primeng-toggleswitch.mjs +2 -2
  122. package/fesm2022/primeng-toolbar.mjs +2 -2
  123. package/fesm2022/primeng-tree.mjs +5 -3
  124. package/fesm2022/primeng-tree.mjs.map +1 -1
  125. package/fesm2022/primeng-treeselect.mjs +2 -2
  126. package/fesm2022/primeng-treetable.mjs +1 -1
  127. package/package.json +205 -199
@@ -1,8 +1,8 @@
1
- import { trigger, state, style, transition, animate } from '@angular/animations';
1
+ import { trigger, state, transition, style, animate } from '@angular/animations';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, inject, forwardRef, model, input, computed, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, HostListener, EventEmitter, booleanAttribute, numberAttribute, HostBinding, Input, Output, ContentChildren, signal, NgModule } from '@angular/core';
5
+ import { Injectable, inject, forwardRef, model, input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, HostListener, ContentChild, EventEmitter, numberAttribute, booleanAttribute, ContentChildren, Output, Input, HostBinding, signal, NgModule } from '@angular/core';
6
6
  import { findSingle, getAttribute, focus, uuid } from '@primeuix/utils';
7
7
  import { Header, PrimeTemplate, SharedModule } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
@@ -1,6 +1,6 @@
1
1
  import { isPlatformBrowser } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { numberAttribute, booleanAttribute, Directive, Input, NgModule } from '@angular/core';
3
+ import { booleanAttribute, numberAttribute, Directive, Input, NgModule } from '@angular/core';
4
4
  import { removeClass, addClass } from '@primeuix/utils';
5
5
  import { BaseComponent } from 'primeng/basecomponent';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, Component, Directive, Input, NgModule } from '@angular/core';
3
3
  import { Subject } from 'rxjs';
4
- import { resolveFieldData, removeAccents, equals } from '@primeuix/utils';
4
+ import { resolveFieldData, equals, removeAccents } from '@primeuix/utils';
5
5
  import { CommonModule } from '@angular/common';
6
6
 
7
7
  /**
@@ -1,11 +1,11 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, forwardRef, EventEmitter, inject, signal, computed, effect, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, forwardRef, EventEmitter, inject, signal, computed, effect, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, ViewChild, Output, Input, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import { resolveFieldData, isNotEmpty, uuid, findLastIndex, equals, focus, isEmpty, findSingle } from '@primeuix/utils';
7
7
  import * as i1 from 'primeng/api';
8
- import { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';
8
+ import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
9
9
  import { AutoFocus } from 'primeng/autofocus';
10
10
  import { BaseComponent } from 'primeng/basecomponent';
11
11
  import { Chip } from 'primeng/chip';
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, EventEmitter, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, HostBinding, NgModule } from '@angular/core';
4
+ import { Injectable, EventEmitter, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, HostBinding, Output, Input, NgModule } from '@angular/core';
5
5
  import { SharedModule } from 'primeng/api';
6
6
  import { BaseComponent } from 'primeng/basecomponent';
7
7
  import { BaseStyle } from 'primeng/base';
@@ -1,6 +1,6 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, NgModule } from '@angular/core';
3
+ import { Injectable, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, HostBinding, Input, NgModule } from '@angular/core';
4
4
  import { SharedModule } from 'primeng/api';
5
5
  import { BaseComponent } from 'primeng/basecomponent';
6
6
  import { BaseStyle } from 'primeng/base';
@@ -1,7 +1,7 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, inject, Directive, Input, input, booleanAttribute, computed, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
4
- import { isNotEmpty, isEmpty, uuid, hasClass, removeClass, addClass } from '@primeuix/utils';
3
+ import { Injectable, inject, Directive, Input, input, booleanAttribute, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
+ import { isEmpty, isNotEmpty, uuid, hasClass, removeClass, addClass } from '@primeuix/utils';
5
5
  import { SharedModule } from 'primeng/api';
6
6
  import { BaseComponent } from 'primeng/basecomponent';
7
7
  import { BaseStyle } from 'primeng/base';
@@ -1,9 +1,9 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { isPlatformBrowser, CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ContentChild, ViewChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, inject, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ViewChild, ContentChild, Input, NgModule } from '@angular/core';
5
5
  import { blockBodyScroll, unblockBodyScroll } from '@primeuix/utils';
6
- import { PrimeTemplate, SharedModule } from 'primeng/api';
6
+ import { SharedModule, PrimeTemplate } from 'primeng/api';
7
7
  import { BaseComponent } from 'primeng/basecomponent';
8
8
  import { ZIndexUtils } from 'primeng/utils';
9
9
  import { BaseStyle } from 'primeng/base';
@@ -1,10 +1,10 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, EventEmitter, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, EventEmitter, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Output, Input, NgModule } from '@angular/core';
5
5
  import * as i1 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
- import { PrimeTemplate, SharedModule } from 'primeng/api';
7
+ import { SharedModule, PrimeTemplate } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
9
9
  import { ChevronRightIcon, HomeIcon } from 'primeng/icons';
10
10
  import * as i3 from 'primeng/tooltip';
@@ -1,9 +1,9 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, inject, Directive, contentChild, computed, booleanAttribute, Input, EventEmitter, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, inject, Directive, contentChild, computed, booleanAttribute, Input, EventEmitter, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Output, NgModule } from '@angular/core';
5
5
  import { addClass, isEmpty, findSingle } from '@primeuix/utils';
6
- import { PrimeTemplate, SharedModule } from 'primeng/api';
6
+ import { SharedModule, PrimeTemplate } from 'primeng/api';
7
7
  import { AutoFocus } from 'primeng/autofocus';
8
8
  import * as i2 from 'primeng/badge';
9
9
  import { BadgeModule } from 'primeng/badge';
@@ -1,6 +1,6 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, inject, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
3
+ import { Injectable, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
4
  import { BaseComponent } from 'primeng/basecomponent';
5
5
  import { BaseStyle } from 'primeng/base';
6
6
 
@@ -1,12 +1,12 @@
1
- import { trigger, state, style, transition, animate } from '@angular/animations';
1
+ import { trigger, state, transition, style, animate } from '@angular/animations';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ViewChild, ContentChildren, NgModule } from '@angular/core';
5
+ import { Injectable, forwardRef, EventEmitter, inject, numberAttribute, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ViewChild, ContentChild, Output, Input, 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
- import { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';
9
+ import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
10
10
  import { AutoFocus } from 'primeng/autofocus';
11
11
  import { BaseComponent } from 'primeng/basecomponent';
12
12
  import { Button } from 'primeng/button';
@@ -512,7 +512,6 @@ const _c22 = a0 => ({ $implicit: a0 });
512
512
  const _c23 = (a0, a1) => ({ "p-datepicker-day-cell": true, "p-datepicker-other-month": a0, "p-datepicker-today": a1 });
513
513
  const _c24 = (a0, a1) => ({ "p-datepicker-month": true, "p-datepicker-month-selected": a0, "p-disabled": a1 });
514
514
  const _c25 = (a0, a1) => ({ "p-datepicker-year": true, "p-datepicker-year-selected": a0, "p-disabled": a1 });
515
- const _c26 = a0 => [a0];
516
515
  function Calendar_ng_template_2_ng_container_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
517
516
  const _r3 = i0.ɵɵgetCurrentView();
518
517
  i0.ɵɵelementStart(0, "TimesIcon", 11);
@@ -1228,9 +1227,9 @@ function Calendar_div_3_div_6_Template(rf, ctx) { if (rf & 1) {
1228
1227
  } if (rf & 2) {
1229
1228
  const ctx_r1 = i0.ɵɵnextContext(2);
1230
1229
  i0.ɵɵadvance();
1231
- i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass", i0.ɵɵpureFunction1(4, _c26, ctx_r1.todayButtonStyleClass));
1230
+ i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass", ctx_r1.todayButtonStyleClass);
1232
1231
  i0.ɵɵadvance();
1233
- i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass", i0.ɵɵpureFunction1(6, _c26, ctx_r1.clearButtonStyleClass));
1232
+ i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass", ctx_r1.clearButtonStyleClass);
1234
1233
  } }
1235
1234
  function Calendar_div_3_ng_container_8_Template(rf, ctx) { if (rf & 1) {
1236
1235
  i0.ɵɵelementContainer(0);
@@ -1240,7 +1239,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
1240
1239
  i0.ɵɵelementStart(0, "div", 21, 2);
1241
1240
  i0.ɵɵlistener("@overlayAnimation.start", function Calendar_div_3_Template_div_animation_overlayAnimation_start_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationStart($event)); })("@overlayAnimation.done", function Calendar_div_3_Template_div_animation_overlayAnimation_done_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationDone($event)); })("click", function Calendar_div_3_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayClick($event)); });
1242
1241
  i0.ɵɵprojection(2);
1243
- i0.ɵɵtemplate(3, Calendar_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, Calendar_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, Calendar_div_3_div_5_Template, 28, 21, "div", 22)(6, Calendar_div_3_div_6_Template, 3, 8, "div", 23);
1242
+ i0.ɵɵtemplate(3, Calendar_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, Calendar_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, Calendar_div_3_div_5_Template, 28, 21, "div", 22)(6, Calendar_div_3_div_6_Template, 3, 4, "div", 23);
1244
1243
  i0.ɵɵprojection(7, 1);
1245
1244
  i0.ɵɵtemplate(8, Calendar_div_3_ng_container_8_Template, 1, 0, "ng-container", 13);
1246
1245
  i0.ɵɵelementEnd();
@@ -3668,6 +3667,8 @@ class Calendar extends BaseComponent {
3668
3667
  if (!this.inline) {
3669
3668
  this.overlay = event.element;
3670
3669
  this.overlay?.setAttribute(this.attributeSelector, '');
3670
+ const styles = !this.inline ? { position: 'absolute', top: '0', left: '0' } : undefined;
3671
+ addStyle(this.overlay, styles);
3671
3672
  this.appendOverlay();
3672
3673
  this.updateFocus();
3673
3674
  if (this.autoZIndex) {
@@ -4752,8 +4753,8 @@ class Calendar extends BaseComponent {
4752
4753
  </div>
4753
4754
  </div>
4754
4755
  <div class="p-datepicker-buttonbar" *ngIf="showButtonBar">
4755
- <p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="[todayButtonStyleClass]" />
4756
- <p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="[clearButtonStyleClass]" />
4756
+ <p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="todayButtonStyleClass" />
4757
+ <p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="clearButtonStyleClass" />
4757
4758
  </div>
4758
4759
  <ng-content select="p-footer"></ng-content>
4759
4760
  <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>