primeng 18.0.3-lts → 18.0.5-lts

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 (153) hide show
  1. package/datepicker/datepicker.d.ts +1 -1
  2. package/esm2022/api/licensemanager.mjs +2 -2
  3. package/esm2022/autocomplete/style/autocompletestyle.mjs +19 -6
  4. package/esm2022/button/button.mjs +11 -43
  5. package/esm2022/calendar/calendar.mjs +4 -4
  6. package/esm2022/confirmdialog/confirmdialog.mjs +34 -41
  7. package/esm2022/dataview/dataview.mjs +10 -35
  8. package/esm2022/datepicker/datepicker.mjs +60 -44
  9. package/esm2022/datepicker/style/datepickerstyle.mjs +14 -1
  10. package/esm2022/dialog/dialog.mjs +98 -108
  11. package/esm2022/drawer/drawer.mjs +2 -2
  12. package/esm2022/fieldset/style/fieldsetstyle.mjs +2 -1
  13. package/esm2022/iftalabel/style/iftalabelstyle.mjs +10 -4
  14. package/esm2022/inputnumber/style/inputnumberstyle.mjs +10 -1
  15. package/esm2022/multiselect/multiselect.mjs +20 -75
  16. package/esm2022/password/style/passwordstyle.mjs +2 -1
  17. package/esm2022/picklist/picklist.mjs +3 -1
  18. package/esm2022/splitter/splitter.mjs +3 -3
  19. package/esm2022/stepper/stepper.mjs +29 -57
  20. package/esm2022/table/table.interface.mjs +1 -1
  21. package/esm2022/table/table.mjs +81 -450
  22. package/esm2022/tree/tree.mjs +18 -88
  23. package/fesm2022/primeng-accordion.mjs +2 -2
  24. package/fesm2022/primeng-animateonscroll.mjs +1 -1
  25. package/fesm2022/primeng-api.mjs +2 -2
  26. package/fesm2022/primeng-api.mjs.map +1 -1
  27. package/fesm2022/primeng-autocomplete.mjs +20 -7
  28. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  29. package/fesm2022/primeng-avatar.mjs +1 -1
  30. package/fesm2022/primeng-avatargroup.mjs +1 -1
  31. package/fesm2022/primeng-badge.mjs +2 -2
  32. package/fesm2022/primeng-blockui.mjs +2 -2
  33. package/fesm2022/primeng-breadcrumb.mjs +2 -2
  34. package/fesm2022/primeng-button.mjs +12 -44
  35. package/fesm2022/primeng-button.mjs.map +1 -1
  36. package/fesm2022/primeng-buttongroup.mjs +1 -1
  37. package/fesm2022/primeng-calendar.mjs +6 -6
  38. package/fesm2022/primeng-calendar.mjs.map +1 -1
  39. package/fesm2022/primeng-card.mjs +2 -2
  40. package/fesm2022/primeng-carousel.mjs +2 -2
  41. package/fesm2022/primeng-cascadeselect.mjs +1 -1
  42. package/fesm2022/primeng-chart.mjs +1 -1
  43. package/fesm2022/primeng-checkbox.mjs +2 -2
  44. package/fesm2022/primeng-chip.mjs +2 -2
  45. package/fesm2022/primeng-colorpicker.mjs +1 -1
  46. package/fesm2022/primeng-confirmdialog.mjs +35 -42
  47. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  48. package/fesm2022/primeng-confirmpopup.mjs +3 -3
  49. package/fesm2022/primeng-contextmenu.mjs +1 -1
  50. package/fesm2022/primeng-dataview.mjs +11 -36
  51. package/fesm2022/primeng-dataview.mjs.map +1 -1
  52. package/fesm2022/primeng-datepicker.mjs +75 -46
  53. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  54. package/fesm2022/primeng-defer.mjs +1 -1
  55. package/fesm2022/primeng-dialog.mjs +99 -109
  56. package/fesm2022/primeng-dialog.mjs.map +1 -1
  57. package/fesm2022/primeng-divider.mjs +1 -1
  58. package/fesm2022/primeng-dock.mjs +2 -2
  59. package/fesm2022/primeng-dragdrop.mjs +1 -1
  60. package/fesm2022/primeng-drawer.mjs +3 -3
  61. package/fesm2022/primeng-drawer.mjs.map +1 -1
  62. package/fesm2022/primeng-dropdown.mjs +1 -1
  63. package/fesm2022/primeng-dynamicdialog.mjs +1 -1
  64. package/fesm2022/primeng-editor.mjs +2 -2
  65. package/fesm2022/primeng-fieldset.mjs +4 -3
  66. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  67. package/fesm2022/primeng-fileupload.mjs +2 -2
  68. package/fesm2022/primeng-floatlabel.mjs +1 -1
  69. package/fesm2022/primeng-fluid.mjs +1 -1
  70. package/fesm2022/primeng-galleria.mjs +1 -1
  71. package/fesm2022/primeng-iconfield.mjs +1 -1
  72. package/fesm2022/primeng-icons-baseicon.mjs +1 -1
  73. package/fesm2022/primeng-iftalabel.mjs +10 -4
  74. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  75. package/fesm2022/primeng-image.mjs +2 -2
  76. package/fesm2022/primeng-imagecompare.mjs +2 -2
  77. package/fesm2022/primeng-inplace.mjs +2 -2
  78. package/fesm2022/primeng-inputgroupaddon.mjs +1 -1
  79. package/fesm2022/primeng-inputicon.mjs +1 -1
  80. package/fesm2022/primeng-inputmask.mjs +2 -2
  81. package/fesm2022/primeng-inputnumber.mjs +11 -2
  82. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  83. package/fesm2022/primeng-inputotp.mjs +2 -2
  84. package/fesm2022/primeng-inputswitch.mjs +1 -1
  85. package/fesm2022/primeng-inputtext.mjs +1 -1
  86. package/fesm2022/primeng-inputtextarea.mjs +1 -1
  87. package/fesm2022/primeng-keyfilter.mjs +1 -1
  88. package/fesm2022/primeng-knob.mjs +1 -1
  89. package/fesm2022/primeng-listbox.mjs +2 -2
  90. package/fesm2022/primeng-megamenu.mjs +1 -1
  91. package/fesm2022/primeng-menu.mjs +1 -1
  92. package/fesm2022/primeng-menubar.mjs +1 -1
  93. package/fesm2022/primeng-message.mjs +2 -2
  94. package/fesm2022/primeng-messages.mjs +1 -1
  95. package/fesm2022/primeng-metergroup.mjs +1 -1
  96. package/fesm2022/primeng-multiselect.mjs +20 -75
  97. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  98. package/fesm2022/primeng-orderlist.mjs +2 -2
  99. package/fesm2022/primeng-organizationchart.mjs +2 -2
  100. package/fesm2022/primeng-overlay.mjs +2 -2
  101. package/fesm2022/primeng-overlaybadge.mjs +1 -1
  102. package/fesm2022/primeng-overlaypanel.mjs +2 -2
  103. package/fesm2022/primeng-paginator.mjs +2 -2
  104. package/fesm2022/primeng-panel.mjs +3 -3
  105. package/fesm2022/primeng-panelmenu.mjs +2 -2
  106. package/fesm2022/primeng-password.mjs +3 -2
  107. package/fesm2022/primeng-password.mjs.map +1 -1
  108. package/fesm2022/primeng-picklist.mjs +4 -2
  109. package/fesm2022/primeng-picklist.mjs.map +1 -1
  110. package/fesm2022/primeng-popover.mjs +3 -3
  111. package/fesm2022/primeng-progressbar.mjs +2 -2
  112. package/fesm2022/primeng-progressspinner.mjs +1 -1
  113. package/fesm2022/primeng-radiobutton.mjs +1 -1
  114. package/fesm2022/primeng-rating.mjs +2 -2
  115. package/fesm2022/primeng-scroller.mjs +2 -2
  116. package/fesm2022/primeng-scrollpanel.mjs +2 -2
  117. package/fesm2022/primeng-scrolltop.mjs +3 -3
  118. package/fesm2022/primeng-select.mjs +1 -1
  119. package/fesm2022/primeng-selectbutton.mjs +2 -2
  120. package/fesm2022/primeng-sidebar.mjs +2 -2
  121. package/fesm2022/primeng-skeleton.mjs +1 -1
  122. package/fesm2022/primeng-slider.mjs +1 -1
  123. package/fesm2022/primeng-speeddial.mjs +2 -2
  124. package/fesm2022/primeng-splitbutton.mjs +2 -2
  125. package/fesm2022/primeng-splitter.mjs +3 -3
  126. package/fesm2022/primeng-splitter.mjs.map +1 -1
  127. package/fesm2022/primeng-stepper.mjs +32 -60
  128. package/fesm2022/primeng-stepper.mjs.map +1 -1
  129. package/fesm2022/primeng-steps.mjs +1 -1
  130. package/fesm2022/primeng-styleclass.mjs +1 -1
  131. package/fesm2022/primeng-table.mjs +81 -450
  132. package/fesm2022/primeng-table.mjs.map +1 -1
  133. package/fesm2022/primeng-tabmenu.mjs +2 -2
  134. package/fesm2022/primeng-tabs.mjs +2 -2
  135. package/fesm2022/primeng-tabview.mjs +2 -2
  136. package/fesm2022/primeng-tag.mjs +2 -2
  137. package/fesm2022/primeng-terminal.mjs +1 -1
  138. package/fesm2022/primeng-textarea.mjs +1 -1
  139. package/fesm2022/primeng-tieredmenu.mjs +1 -1
  140. package/fesm2022/primeng-timeline.mjs +2 -2
  141. package/fesm2022/primeng-toast.mjs +2 -2
  142. package/fesm2022/primeng-togglebutton.mjs +2 -2
  143. package/fesm2022/primeng-toggleswitch.mjs +2 -2
  144. package/fesm2022/primeng-toolbar.mjs +2 -2
  145. package/fesm2022/primeng-tree.mjs +18 -88
  146. package/fesm2022/primeng-tree.mjs.map +1 -1
  147. package/fesm2022/primeng-treeselect.mjs +2 -2
  148. package/fesm2022/primeng-treetable.mjs +1 -1
  149. package/package.json +315 -315
  150. package/splitter/splitter.d.ts +2 -2
  151. package/stepper/stepper.d.ts +4 -3
  152. package/table/table.d.ts +11 -11
  153. package/table/table.interface.d.ts +13 -13
@@ -1,6 +1,6 @@
1
1
  import { isPlatformBrowser } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { EventEmitter, inject, ViewContainerRef, TemplateRef, Directive, Output, ContentChild, NgModule } from '@angular/core';
3
+ import { EventEmitter, inject, ViewContainerRef, TemplateRef, Directive, ContentChild, Output, NgModule } from '@angular/core';
4
4
  import { BaseComponent } from 'primeng/basecomponent';
5
5
 
6
6
  /**
@@ -2,9 +2,9 @@ import { animation, style, animate, trigger, transition, useAnimation } from '@a
2
2
  import * as i1 from '@angular/common';
3
3
  import { isPlatformBrowser, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, EventEmitter, inject, NgZone, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
5
+ import { Injectable, EventEmitter, inject, NgZone, booleanAttribute, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Input, ViewChild, Output, NgModule } from '@angular/core';
6
6
  import { uuid, blockBodyScroll, unblockBodyScroll, setAttribute, hasClass, addClass, getOuterWidth, getOuterHeight, getViewport, removeClass, appendChild } from '@primeuix/utils';
7
- import { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';
7
+ import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
9
9
  import { Button } from 'primeng/button';
10
10
  import { DomHandler } from 'primeng/dom';
@@ -321,84 +321,84 @@ function Dialog_div_0_div_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
321
321
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headlessTemplate || ctx_r1.headlessTemplate || ctx_r1.headlessT);
322
322
  } }
323
323
  function Dialog_div_0_div_1_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
324
- const _r4 = i0.ɵɵgetCurrentView();
325
- i0.ɵɵelementStart(0, "div", 19);
326
- i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_0_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.initResize($event)); });
324
+ const _r3 = i0.ɵɵgetCurrentView();
325
+ i0.ɵɵelementStart(0, "div", 15);
326
+ i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_0_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.initResize($event)); });
327
327
  i0.ɵɵelementEnd();
328
328
  } if (rf & 2) {
329
329
  const ctx_r1 = i0.ɵɵnextContext(4);
330
330
  i0.ɵɵproperty("ngClass", ctx_r1.cx("resizeHandle"));
331
331
  } }
332
- function Dialog_div_0_div_1_ng_template_3_span_3_Template(rf, ctx) { if (rf & 1) {
333
- i0.ɵɵelementStart(0, "span", 20);
332
+ function Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template(rf, ctx) { if (rf & 1) {
333
+ i0.ɵɵelementStart(0, "span", 21);
334
334
  i0.ɵɵtext(1);
335
335
  i0.ɵɵelementEnd();
336
336
  } if (rf & 2) {
337
- const ctx_r1 = i0.ɵɵnextContext(4);
337
+ const ctx_r1 = i0.ɵɵnextContext(5);
338
338
  i0.ɵɵproperty("id", ctx_r1.ariaLabelledBy)("ngClass", ctx_r1.cx("title"));
339
339
  i0.ɵɵadvance();
340
340
  i0.ɵɵtextInterpolate(ctx_r1.header);
341
341
  } }
342
- function Dialog_div_0_div_1_ng_template_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
342
+ function Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
343
343
  i0.ɵɵelementContainer(0);
344
344
  } }
345
- function Dialog_div_0_div_1_ng_template_3_p_button_6_span_1_Template(rf, ctx) { if (rf & 1) {
346
- i0.ɵɵelement(0, "span", 15);
345
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template(rf, ctx) { if (rf & 1) {
346
+ i0.ɵɵelement(0, "span", 18);
347
347
  } if (rf & 2) {
348
- const ctx_r1 = i0.ɵɵnextContext(5);
348
+ const ctx_r1 = i0.ɵɵnextContext(6);
349
349
  i0.ɵɵproperty("ngClass", ctx_r1.maximized ? ctx_r1.minimizeIcon : ctx_r1.maximizeIcon);
350
350
  } }
351
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_WindowMaximizeIcon_1_Template(rf, ctx) { if (rf & 1) {
351
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template(rf, ctx) { if (rf & 1) {
352
352
  i0.ɵɵelement(0, "WindowMaximizeIcon");
353
353
  } }
354
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_WindowMinimizeIcon_2_Template(rf, ctx) { if (rf & 1) {
354
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template(rf, ctx) { if (rf & 1) {
355
355
  i0.ɵɵelement(0, "WindowMinimizeIcon");
356
356
  } }
357
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
357
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
358
358
  i0.ɵɵelementContainerStart(0);
359
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_WindowMaximizeIcon_1_Template, 1, 0, "WindowMaximizeIcon", 22)(2, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_WindowMinimizeIcon_2_Template, 1, 0, "WindowMinimizeIcon", 22);
359
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMaximizeIcon_1_Template, 1, 0, "WindowMaximizeIcon", 23)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_WindowMinimizeIcon_2_Template, 1, 0, "WindowMinimizeIcon", 23);
360
360
  i0.ɵɵelementContainerEnd();
361
361
  } if (rf & 2) {
362
- const ctx_r1 = i0.ɵɵnextContext(5);
362
+ const ctx_r1 = i0.ɵɵnextContext(6);
363
363
  i0.ɵɵadvance();
364
364
  i0.ɵɵproperty("ngIf", !ctx_r1.maximized && !ctx_r1._maximizeiconTemplate && !ctx_r1.maximizeIconTemplate && !ctx_r1.maximizeIconT);
365
365
  i0.ɵɵadvance();
366
366
  i0.ɵɵproperty("ngIf", ctx_r1.maximized && !ctx_r1._minimizeiconTemplate && !ctx_r1.minimizeIconTemplate && !ctx_r1.minimizeIconT);
367
367
  } }
368
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_1_ng_template_0_Template(rf, ctx) { }
369
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_1_Template(rf, ctx) { if (rf & 1) {
370
- i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_1_ng_template_0_Template, 0, 0, "ng-template");
368
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template(rf, ctx) { }
369
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template(rf, ctx) { if (rf & 1) {
370
+ i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_ng_template_0_Template, 0, 0, "ng-template");
371
371
  } }
372
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
372
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
373
373
  i0.ɵɵelementContainerStart(0);
374
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_1_Template, 1, 0, null, 11);
374
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_1_Template, 1, 0, null, 11);
375
375
  i0.ɵɵelementContainerEnd();
376
376
  } if (rf & 2) {
377
- const ctx_r1 = i0.ɵɵnextContext(5);
377
+ const ctx_r1 = i0.ɵɵnextContext(6);
378
378
  i0.ɵɵadvance();
379
379
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._maximizeiconTemplate || ctx_r1.maximizeIconTemplate || ctx_r1.maximizeIconT);
380
380
  } }
381
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_1_ng_template_0_Template(rf, ctx) { }
382
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_1_Template(rf, ctx) { if (rf & 1) {
383
- i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_1_ng_template_0_Template, 0, 0, "ng-template");
381
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template(rf, ctx) { }
382
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template(rf, ctx) { if (rf & 1) {
383
+ i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_ng_template_0_Template, 0, 0, "ng-template");
384
384
  } }
385
- function Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
385
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template(rf, ctx) { if (rf & 1) {
386
386
  i0.ɵɵelementContainerStart(0);
387
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_1_Template, 1, 0, null, 11);
387
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_1_Template, 1, 0, null, 11);
388
388
  i0.ɵɵelementContainerEnd();
389
389
  } if (rf & 2) {
390
- const ctx_r1 = i0.ɵɵnextContext(5);
390
+ const ctx_r1 = i0.ɵɵnextContext(6);
391
391
  i0.ɵɵadvance();
392
392
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._minimizeiconTemplate || ctx_r1.minimizeIconTemplate || ctx_r1.minimizeIconT);
393
393
  } }
394
- function Dialog_div_0_div_1_ng_template_3_p_button_6_Template(rf, ctx) { if (rf & 1) {
394
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template(rf, ctx) { if (rf & 1) {
395
395
  const _r5 = i0.ɵɵgetCurrentView();
396
- i0.ɵɵelementStart(0, "p-button", 21);
397
- i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_p_button_6_Template_p_button_onClick_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.maximize()); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_p_button_6_Template_p_button_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.maximize()); });
398
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_6_span_1_Template, 1, 1, "span", 18)(2, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_2_Template, 3, 2, "ng-container", 22)(3, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_3_Template, 2, 1, "ng-container", 22)(4, Dialog_div_0_div_1_ng_template_3_p_button_6_ng_container_4_Template, 2, 1, "ng-container", 22);
396
+ i0.ɵɵelementStart(0, "p-button", 22);
397
+ i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_onClick_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.maximize()); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template_p_button_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.maximize()); });
398
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_span_1_Template, 1, 1, "span", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_2_Template, 3, 2, "ng-container", 23)(3, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_3_Template, 2, 1, "ng-container", 23)(4, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_ng_container_4_Template, 2, 1, "ng-container", 23);
399
399
  i0.ɵɵelementEnd();
400
400
  } if (rf & 2) {
401
- const ctx_r1 = i0.ɵɵnextContext(4);
401
+ const ctx_r1 = i0.ɵɵnextContext(5);
402
402
  i0.ɵɵproperty("styleClass", ctx_r1.cx("pcMaximizeButton"))("tabindex", ctx_r1.maximizable ? "0" : "-1")("ariaLabel", ctx_r1.maximizeLabel)("buttonProps", ctx_r1.maximizeButtonProps);
403
403
  i0.ɵɵadvance();
404
404
  i0.ɵɵproperty("ngIf", ctx_r1.maximizeIcon && !ctx_r1._maximizeiconTemplate && !ctx_r1._minimizeiconTemplate);
@@ -409,67 +409,89 @@ function Dialog_div_0_div_1_ng_template_3_p_button_6_Template(rf, ctx) { if (rf
409
409
  i0.ɵɵadvance();
410
410
  i0.ɵɵproperty("ngIf", ctx_r1.maximized);
411
411
  } }
412
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
413
- i0.ɵɵelement(0, "span", 15);
412
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
413
+ i0.ɵɵelement(0, "span", 18);
414
414
  } if (rf & 2) {
415
- const ctx_r1 = i0.ɵɵnextContext(7);
415
+ const ctx_r1 = i0.ɵɵnextContext(8);
416
416
  i0.ɵɵproperty("ngClass", ctx_r1.closeIcon);
417
417
  } }
418
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_TimesIcon_2_Template(rf, ctx) { if (rf & 1) {
418
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template(rf, ctx) { if (rf & 1) {
419
419
  i0.ɵɵelement(0, "TimesIcon");
420
420
  } }
421
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
421
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
422
422
  i0.ɵɵelementContainerStart(0);
423
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_span_1_Template, 1, 1, "span", 18)(2, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_TimesIcon_2_Template, 1, 0, "TimesIcon", 22);
423
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_span_1_Template, 1, 1, "span", 14)(2, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_TimesIcon_2_Template, 1, 0, "TimesIcon", 23);
424
424
  i0.ɵɵelementContainerEnd();
425
425
  } if (rf & 2) {
426
- const ctx_r1 = i0.ɵɵnextContext(6);
426
+ const ctx_r1 = i0.ɵɵnextContext(7);
427
427
  i0.ɵɵadvance();
428
428
  i0.ɵɵproperty("ngIf", ctx_r1.closeIcon);
429
429
  i0.ɵɵadvance();
430
430
  i0.ɵɵproperty("ngIf", !ctx_r1.closeIcon);
431
431
  } }
432
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_1_ng_template_0_Template(rf, ctx) { }
433
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_1_Template(rf, ctx) { if (rf & 1) {
434
- i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
432
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template(rf, ctx) { }
433
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template(rf, ctx) { if (rf & 1) {
434
+ i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
435
435
  } }
436
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_Template(rf, ctx) { if (rf & 1) {
436
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template(rf, ctx) { if (rf & 1) {
437
437
  i0.ɵɵelementStart(0, "span");
438
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_1_Template, 1, 0, null, 11);
438
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_1_Template, 1, 0, null, 11);
439
439
  i0.ɵɵelementEnd();
440
440
  } if (rf & 2) {
441
- const ctx_r1 = i0.ɵɵnextContext(6);
441
+ const ctx_r1 = i0.ɵɵnextContext(7);
442
442
  i0.ɵɵadvance();
443
443
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);
444
444
  } }
445
- function Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_Template(rf, ctx) { if (rf & 1) {
446
- i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_ng_container_0_Template, 3, 2, "ng-container", 22)(1, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_span_1_Template, 2, 1, "span", 22);
445
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template(rf, ctx) { if (rf & 1) {
446
+ i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_ng_container_0_Template, 3, 2, "ng-container", 23)(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_span_1_Template, 2, 1, "span", 23);
447
447
  } if (rf & 2) {
448
- const ctx_r1 = i0.ɵɵnextContext(5);
448
+ const ctx_r1 = i0.ɵɵnextContext(6);
449
449
  i0.ɵɵproperty("ngIf", !ctx_r1._closeiconTemplate && !ctx_r1.closeIconTemplate && !ctx_r1.closeIconT && !(ctx_r1.closeButtonProps == null ? null : ctx_r1.closeButtonProps.icon));
450
450
  i0.ɵɵadvance();
451
451
  i0.ɵɵproperty("ngIf", ctx_r1._closeiconTemplate || ctx_r1.closeIconTemplate || ctx_r1.closeIconT);
452
452
  } }
453
- function Dialog_div_0_div_1_ng_template_3_p_button_7_Template(rf, ctx) { if (rf & 1) {
453
+ function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template(rf, ctx) { if (rf & 1) {
454
454
  const _r6 = i0.ɵɵgetCurrentView();
455
- i0.ɵɵelementStart(0, "p-button", 23);
456
- i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_p_button_7_Template_p_button_onClick_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.close($event)); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_p_button_7_Template_p_button_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.close($event)); });
457
- i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_p_button_7_ng_template_1_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
455
+ i0.ɵɵelementStart(0, "p-button", 24);
456
+ i0.ɵɵlistener("onClick", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_onClick_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.close($event)); })("keydown.enter", function Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template_p_button_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(5); return i0.ɵɵresetView(ctx_r1.close($event)); });
457
+ i0.ɵɵtemplate(1, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_ng_template_1_Template, 2, 2, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
458
458
  i0.ɵɵelementEnd();
459
459
  } if (rf & 2) {
460
- const ctx_r1 = i0.ɵɵnextContext(4);
460
+ const ctx_r1 = i0.ɵɵnextContext(5);
461
461
  i0.ɵɵproperty("styleClass", ctx_r1.cx("pcCloseButton"))("ariaLabel", ctx_r1.closeAriaLabel)("tabindex", ctx_r1.closeTabindex)("buttonProps", ctx_r1.closeButtonProps);
462
462
  } }
463
- function Dialog_div_0_div_1_ng_template_3_ng_container_11_Template(rf, ctx) { if (rf & 1) {
463
+ function Dialog_div_0_div_1_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
464
+ const _r4 = i0.ɵɵgetCurrentView();
465
+ i0.ɵɵelementStart(0, "div", 16, 3);
466
+ i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_div_1_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.initDrag($event)); });
467
+ i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_template_3_div_1_span_2_Template, 2, 3, "span", 17)(3, Dialog_div_0_div_1_ng_template_3_div_1_ng_container_3_Template, 1, 0, "ng-container", 11);
468
+ i0.ɵɵelementStart(4, "div", 18);
469
+ i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_div_1_p_button_5_Template, 5, 8, "p-button", 19)(6, Dialog_div_0_div_1_ng_template_3_div_1_p_button_6_Template, 3, 4, "p-button", 20);
470
+ i0.ɵɵelementEnd()();
471
+ } if (rf & 2) {
472
+ const ctx_r1 = i0.ɵɵnextContext(4);
473
+ i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
474
+ i0.ɵɵadvance(2);
475
+ i0.ɵɵproperty("ngIf", !ctx_r1._headerTemplate && !ctx_r1.headerTemplate && !ctx_r1.headerT);
476
+ i0.ɵɵadvance();
477
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headerTemplate || ctx_r1.headerTemplate || ctx_r1.headerT);
478
+ i0.ɵɵadvance();
479
+ i0.ɵɵproperty("ngClass", ctx_r1.cx("headerActions"));
480
+ i0.ɵɵadvance();
481
+ i0.ɵɵproperty("ngIf", ctx_r1.maximizable);
482
+ i0.ɵɵadvance();
483
+ i0.ɵɵproperty("ngIf", ctx_r1.closable);
484
+ } }
485
+ function Dialog_div_0_div_1_ng_template_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
464
486
  i0.ɵɵelementContainer(0);
465
487
  } }
466
- function Dialog_div_0_div_1_ng_template_3_div_12_ng_container_3_Template(rf, ctx) { if (rf & 1) {
488
+ function Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
467
489
  i0.ɵɵelementContainer(0);
468
490
  } }
469
- function Dialog_div_0_div_1_ng_template_3_div_12_Template(rf, ctx) { if (rf & 1) {
470
- i0.ɵɵelementStart(0, "div", 15, 5);
491
+ function Dialog_div_0_div_1_ng_template_3_div_6_Template(rf, ctx) { if (rf & 1) {
492
+ i0.ɵɵelementStart(0, "div", 18, 5);
471
493
  i0.ɵɵprojection(2, 1);
472
- i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_div_12_ng_container_3_Template, 1, 0, "ng-container", 11);
494
+ i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_div_6_ng_container_3_Template, 1, 0, "ng-container", 11);
473
495
  i0.ɵɵelementEnd();
474
496
  } if (rf & 2) {
475
497
  const ctx_r1 = i0.ɵɵnextContext(4);
@@ -478,34 +500,17 @@ function Dialog_div_0_div_1_ng_template_3_div_12_Template(rf, ctx) { if (rf & 1)
478
500
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._footerTemplate || ctx_r1.footerTemplate || ctx_r1.footerT);
479
501
  } }
480
502
  function Dialog_div_0_div_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
481
- const _r3 = i0.ɵɵgetCurrentView();
482
- i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_0_Template, 1, 1, "div", 12);
483
- i0.ɵɵelementStart(1, "div", 13, 2);
484
- i0.ɵɵlistener("mousedown", function Dialog_div_0_div_1_ng_template_3_Template_div_mousedown_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.initDrag($event)); });
485
- i0.ɵɵtemplate(3, Dialog_div_0_div_1_ng_template_3_span_3_Template, 2, 3, "span", 14)(4, Dialog_div_0_div_1_ng_template_3_ng_container_4_Template, 1, 0, "ng-container", 11);
486
- i0.ɵɵelementStart(5, "div", 15);
487
- i0.ɵɵtemplate(6, Dialog_div_0_div_1_ng_template_3_p_button_6_Template, 5, 8, "p-button", 16)(7, Dialog_div_0_div_1_ng_template_3_p_button_7_Template, 3, 4, "p-button", 17);
488
- i0.ɵɵelementEnd()();
489
- i0.ɵɵelementStart(8, "div", 7, 3);
490
- i0.ɵɵprojection(10);
491
- i0.ɵɵtemplate(11, Dialog_div_0_div_1_ng_template_3_ng_container_11_Template, 1, 0, "ng-container", 11);
503
+ i0.ɵɵtemplate(0, Dialog_div_0_div_1_ng_template_3_div_0_Template, 1, 1, "div", 12)(1, Dialog_div_0_div_1_ng_template_3_div_1_Template, 7, 6, "div", 13);
504
+ i0.ɵɵelementStart(2, "div", 7, 2);
505
+ i0.ɵɵprojection(4);
506
+ i0.ɵɵtemplate(5, Dialog_div_0_div_1_ng_template_3_ng_container_5_Template, 1, 0, "ng-container", 11);
492
507
  i0.ɵɵelementEnd();
493
- i0.ɵɵtemplate(12, Dialog_div_0_div_1_ng_template_3_div_12_Template, 4, 2, "div", 18);
508
+ i0.ɵɵtemplate(6, Dialog_div_0_div_1_ng_template_3_div_6_Template, 4, 2, "div", 14);
494
509
  } if (rf & 2) {
495
510
  const ctx_r1 = i0.ɵɵnextContext(3);
496
511
  i0.ɵɵproperty("ngIf", ctx_r1.resizable);
497
512
  i0.ɵɵadvance();
498
- i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
499
- i0.ɵɵadvance(2);
500
- i0.ɵɵproperty("ngIf", !ctx_r1._headerTemplate && !ctx_r1.headerTemplate && !ctx_r1.headerT);
501
- i0.ɵɵadvance();
502
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1._headerTemplate || ctx_r1.headerTemplate || ctx_r1.headerT);
503
- i0.ɵɵadvance();
504
- i0.ɵɵproperty("ngClass", ctx_r1.cx("headerActions"));
505
- i0.ɵɵadvance();
506
- i0.ɵɵproperty("ngIf", ctx_r1.maximizable);
507
- i0.ɵɵadvance();
508
- i0.ɵɵproperty("ngIf", ctx_r1.closable);
513
+ i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
509
514
  i0.ɵɵadvance();
510
515
  i0.ɵɵclassMap(ctx_r1.contentStyleClass);
511
516
  i0.ɵɵproperty("ngClass", ctx_r1.cx("content"))("ngStyle", ctx_r1.contentStyle);
@@ -519,7 +524,7 @@ function Dialog_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
519
524
  const _r1 = i0.ɵɵgetCurrentView();
520
525
  i0.ɵɵelementStart(0, "div", 9, 0);
521
526
  i0.ɵɵlistener("@animation.start", function Dialog_div_0_div_1_Template_div_animation_animation_start_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAnimationStart($event)); })("@animation.done", function Dialog_div_0_div_1_Template_div_animation_animation_done_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event)); });
522
- i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_container_2_Template, 2, 1, "ng-container", 10)(3, Dialog_div_0_div_1_ng_template_3_Template, 13, 14, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
527
+ i0.ɵɵtemplate(2, Dialog_div_0_div_1_ng_container_2_Template, 2, 1, "ng-container", 10)(3, Dialog_div_0_div_1_ng_template_3_Template, 7, 9, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
523
528
  i0.ɵɵelementEnd();
524
529
  } if (rf & 2) {
525
530
  const notHeadless_r7 = i0.ɵɵreference(4);
@@ -753,20 +758,12 @@ class Dialog extends BaseComponent {
753
758
  * Used to pass all properties of the ButtonProps to the Button component.
754
759
  * @group Props
755
760
  */
756
- closeButtonProps = {
757
- severity: 'secondary',
758
- text: true,
759
- rounded: true
760
- };
761
+ closeButtonProps = { severity: 'secondary', text: true, rounded: true };
761
762
  /**
762
763
  * Used to pass all properties of the ButtonProps to the Button component.
763
764
  * @group Props
764
765
  */
765
- maximizeButtonProps = {
766
- severity: 'secondary',
767
- text: true,
768
- rounded: true
769
- };
766
+ maximizeButtonProps = { severity: 'secondary', text: true, rounded: true };
770
767
  /**
771
768
  * Specifies the visibility of the dialog.
772
769
  * @group Props
@@ -957,11 +954,7 @@ class Dialog extends BaseComponent {
957
954
  get maskClass() {
958
955
  const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
959
956
  const pos = positions.find((item) => item === this.position);
960
- return {
961
- 'p-dialog-mask': true,
962
- 'p-overlay-mask p-overlay-mask-enter': this.modal || this.dismissableMask,
963
- [`p-dialog-${pos}`]: pos
964
- };
957
+ return { 'p-dialog-mask': true, 'p-overlay-mask p-overlay-mask-enter': this.modal || this.dismissableMask, [`p-dialog-${pos}`]: pos };
965
958
  }
966
959
  ngOnInit() {
967
960
  super.ngOnInit();
@@ -1355,6 +1348,9 @@ class Dialog extends BaseComponent {
1355
1348
  this.onContainerDestroy();
1356
1349
  this.onHide.emit({});
1357
1350
  this.cd.markForCheck();
1351
+ if (this.maskVisible !== this.visible) {
1352
+ this.maskVisible = this.visible;
1353
+ }
1358
1354
  break;
1359
1355
  case 'visible':
1360
1356
  this.onShow.emit({});
@@ -1429,7 +1425,7 @@ class Dialog extends BaseComponent {
1429
1425
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerViewChild = _t.first);
1430
1426
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentViewChild = _t.first);
1431
1427
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerViewChild = _t.first);
1432
- } }, inputs: { header: "header", draggable: [2, "draggable", "draggable", booleanAttribute], resizable: [2, "resizable", "resizable", booleanAttribute], positionLeft: "positionLeft", positionTop: "positionTop", contentStyle: "contentStyle", contentStyleClass: "contentStyleClass", modal: [2, "modal", "modal", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], responsive: "responsive", appendTo: "appendTo", breakpoints: "breakpoints", styleClass: "styleClass", maskStyleClass: "maskStyleClass", maskStyle: "maskStyle", showHeader: [2, "showHeader", "showHeader", booleanAttribute], breakpoint: "breakpoint", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], minX: [2, "minX", "minX", numberAttribute], minY: [2, "minY", "minY", numberAttribute], focusOnShow: [2, "focusOnShow", "focusOnShow", booleanAttribute], maximizable: [2, "maximizable", "maximizable", booleanAttribute], keepInViewport: [2, "keepInViewport", "keepInViewport", booleanAttribute], focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], transitionOptions: "transitionOptions", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel", closeTabindex: "closeTabindex", minimizeIcon: "minimizeIcon", maximizeIcon: "maximizeIcon", closeButtonProps: "closeButtonProps", maximizeButtonProps: "maximizeButtonProps", visible: "visible", style: "style", position: "position", role: "role", headerTemplate: [0, "content", "headerTemplate"], contentTemplate: "contentTemplate", footerTemplate: "footerTemplate", closeIconTemplate: "closeIconTemplate", maximizeIconTemplate: "maximizeIconTemplate", minimizeIconTemplate: "minimizeIconTemplate", headlessTemplate: "headlessTemplate" }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange", onResizeInit: "onResizeInit", onResizeEnd: "onResizeEnd", onDragEnd: "onDragEnd", onMaximize: "onMaximize" }, standalone: true, features: [i0.ɵɵProvidersFeature([DialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c9, decls: 1, vars: 1, consts: [["container", ""], ["notHeadless", ""], ["titlebar", ""], ["content", ""], ["icon", ""], ["footer", ""], [3, "ngClass", "class", "ngStyle", "style", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["pFocusTrap", "", 3, "class", "ngClass", "ngStyle", "style", "pFocusTrapDisabled", 4, "ngIf"], ["pFocusTrap", "", 3, "ngClass", "ngStyle", "pFocusTrapDisabled"], [4, "ngIf", "ngIfElse"], [4, "ngTemplateOutlet"], ["style", "z-index: 90;", 3, "ngClass", "mousedown", 4, "ngIf"], [3, "mousedown", "ngClass"], [3, "id", "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "styleClass", "tabindex", "ariaLabel", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "styleClass", "ariaLabel", "tabindex", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], [2, "z-index", "90", 3, "mousedown", "ngClass"], [3, "id", "ngClass"], [3, "onClick", "keydown.enter", "styleClass", "tabindex", "ariaLabel", "buttonProps"], [4, "ngIf"], [3, "onClick", "keydown.enter", "styleClass", "ariaLabel", "tabindex", "buttonProps"]], template: function Dialog_Template(rf, ctx) { if (rf & 1) {
1428
+ } }, inputs: { header: "header", draggable: [2, "draggable", "draggable", booleanAttribute], resizable: [2, "resizable", "resizable", booleanAttribute], positionLeft: "positionLeft", positionTop: "positionTop", contentStyle: "contentStyle", contentStyleClass: "contentStyleClass", modal: [2, "modal", "modal", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], responsive: "responsive", appendTo: "appendTo", breakpoints: "breakpoints", styleClass: "styleClass", maskStyleClass: "maskStyleClass", maskStyle: "maskStyle", showHeader: [2, "showHeader", "showHeader", booleanAttribute], breakpoint: "breakpoint", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], minX: [2, "minX", "minX", numberAttribute], minY: [2, "minY", "minY", numberAttribute], focusOnShow: [2, "focusOnShow", "focusOnShow", booleanAttribute], maximizable: [2, "maximizable", "maximizable", booleanAttribute], keepInViewport: [2, "keepInViewport", "keepInViewport", booleanAttribute], focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], transitionOptions: "transitionOptions", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel", closeTabindex: "closeTabindex", minimizeIcon: "minimizeIcon", maximizeIcon: "maximizeIcon", closeButtonProps: "closeButtonProps", maximizeButtonProps: "maximizeButtonProps", visible: "visible", style: "style", position: "position", role: "role", headerTemplate: [0, "content", "headerTemplate"], contentTemplate: "contentTemplate", footerTemplate: "footerTemplate", closeIconTemplate: "closeIconTemplate", maximizeIconTemplate: "maximizeIconTemplate", minimizeIconTemplate: "minimizeIconTemplate", headlessTemplate: "headlessTemplate" }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange", onResizeInit: "onResizeInit", onResizeEnd: "onResizeEnd", onDragEnd: "onDragEnd", onMaximize: "onMaximize" }, standalone: true, features: [i0.ɵɵProvidersFeature([DialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c9, decls: 1, vars: 1, consts: [["container", ""], ["notHeadless", ""], ["content", ""], ["titlebar", ""], ["icon", ""], ["footer", ""], [3, "ngClass", "class", "ngStyle", "style", 4, "ngIf"], [3, "ngClass", "ngStyle"], ["pFocusTrap", "", 3, "class", "ngClass", "ngStyle", "style", "pFocusTrapDisabled", 4, "ngIf"], ["pFocusTrap", "", 3, "ngClass", "ngStyle", "pFocusTrapDisabled"], [4, "ngIf", "ngIfElse"], [4, "ngTemplateOutlet"], ["style", "z-index: 90;", 3, "ngClass", "mousedown", 4, "ngIf"], [3, "ngClass", "mousedown", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], [2, "z-index", "90", 3, "mousedown", "ngClass"], [3, "mousedown", "ngClass"], [3, "id", "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "styleClass", "tabindex", "ariaLabel", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "styleClass", "ariaLabel", "tabindex", "buttonProps", "onClick", "keydown.enter", 4, "ngIf"], [3, "id", "ngClass"], [3, "onClick", "keydown.enter", "styleClass", "tabindex", "ariaLabel", "buttonProps"], [4, "ngIf"], [3, "onClick", "keydown.enter", "styleClass", "ariaLabel", "tabindex", "buttonProps"]], template: function Dialog_Template(rf, ctx) { if (rf & 1) {
1433
1429
  i0.ɵɵprojectionDef(_c8);
1434
1430
  i0.ɵɵtemplate(0, Dialog_div_0_Template, 2, 11, "div", 6);
1435
1431
  } if (rf & 2) {
@@ -1469,10 +1465,7 @@ class Dialog extends BaseComponent {
1469
1465
  [style]="style"
1470
1466
  pFocusTrap
1471
1467
  [pFocusTrapDisabled]="focusTrap === false"
1472
- [@animation]="{
1473
- value: 'visible',
1474
- params: { transform: transformOptions, transition: transitionOptions }
1475
- }"
1468
+ [@animation]="{ value: 'visible', params: { transform: transformOptions, transition: transitionOptions } }"
1476
1469
  (@animation.start)="onAnimationStart($event)"
1477
1470
  (@animation.done)="onAnimationEnd($event)"
1478
1471
  [attr.role]="role"
@@ -1485,7 +1478,7 @@ class Dialog extends BaseComponent {
1485
1478
 
1486
1479
  <ng-template #notHeadless>
1487
1480
  <div *ngIf="resizable" [ngClass]="cx('resizeHandle')" style="z-index: 90;" (mousedown)="initResize($event)"></div>
1488
- <div #titlebar [ngClass]="cx('header')" (mousedown)="initDrag($event)">
1481
+ <div #titlebar [ngClass]="cx('header')" (mousedown)="initDrag($event)" *ngIf="showHeader">
1489
1482
  <span [id]="ariaLabelledBy" [ngClass]="cx('title')" *ngIf="!_headerTemplate && !headerTemplate && !headerT">{{ header }}</span>
1490
1483
  <ng-container *ngTemplateOutlet="_headerTemplate || headerTemplate || headerT"></ng-container>
1491
1484
  <div [ngClass]="cx('headerActions')">
@@ -1702,10 +1695,7 @@ class DialogModule {
1702
1695
  }
1703
1696
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DialogModule, [{
1704
1697
  type: NgModule,
1705
- args: [{
1706
- imports: [Dialog, SharedModule],
1707
- exports: [Dialog, SharedModule]
1708
- }]
1698
+ args: [{ imports: [Dialog, SharedModule], exports: [Dialog, SharedModule] }]
1709
1699
  }], null, null); })();
1710
1700
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DialogModule, { imports: [Dialog, SharedModule], exports: [Dialog, SharedModule] }); })();
1711
1701