primeng 19.0.0-rc.1 → 19.0.0

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 (240) hide show
  1. package/accordion/accordion.d.ts +7 -7
  2. package/autocomplete/autocomplete.d.ts +21 -8
  3. package/badge/badge.d.ts +1 -3
  4. package/basecomponent/basecomponent.d.ts +2 -5
  5. package/blockui/blockui.d.ts +10 -5
  6. package/breadcrumb/breadcrumb.d.ts +9 -6
  7. package/button/button.d.ts +10 -4
  8. package/calendar/calendar.d.ts +29 -15
  9. package/card/card.d.ts +12 -5
  10. package/carousel/carousel.d.ts +10 -4
  11. package/cascadeselect/cascadeselect.d.ts +18 -8
  12. package/checkbox/checkbox.d.ts +8 -4
  13. package/chip/chip.d.ts +9 -7
  14. package/config/themeprovider.d.ts +6 -0
  15. package/confirmdialog/confirmdialog.d.ts +15 -5
  16. package/confirmpopup/confirmpopup.d.ts +11 -5
  17. package/contextmenu/contextmenu.d.ts +10 -6
  18. package/datepicker/datepicker.d.ts +25 -11
  19. package/dialog/dialog.d.ts +15 -4
  20. package/divider/divider.d.ts +1 -1
  21. package/dock/dock.d.ts +7 -4
  22. package/drawer/drawer.d.ts +18 -10
  23. package/dropdown/dropdown.d.ts +4 -3
  24. package/dynamicdialog/dynamicdialog.d.ts +3 -2
  25. package/editor/editor.d.ts +7 -3
  26. package/fesm2022/primeng-accordion.mjs +56 -41
  27. package/fesm2022/primeng-accordion.mjs.map +1 -1
  28. package/fesm2022/primeng-autocomplete.mjs +153 -92
  29. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  30. package/fesm2022/primeng-badge.mjs +39 -32
  31. package/fesm2022/primeng-badge.mjs.map +1 -1
  32. package/fesm2022/primeng-basecomponent.mjs +2 -25
  33. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  34. package/fesm2022/primeng-blockui.mjs +38 -18
  35. package/fesm2022/primeng-blockui.mjs.map +1 -1
  36. package/fesm2022/primeng-breadcrumb.mjs +49 -31
  37. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  38. package/fesm2022/primeng-button.mjs +55 -28
  39. package/fesm2022/primeng-button.mjs.map +1 -1
  40. package/fesm2022/primeng-calendar.mjs +199 -136
  41. package/fesm2022/primeng-calendar.mjs.map +1 -1
  42. package/fesm2022/primeng-card.mjs +95 -45
  43. package/fesm2022/primeng-card.mjs.map +1 -1
  44. package/fesm2022/primeng-carousel.mjs +74 -42
  45. package/fesm2022/primeng-carousel.mjs.map +1 -1
  46. package/fesm2022/primeng-cascadeselect.mjs +99 -61
  47. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  48. package/fesm2022/primeng-checkbox.mjs +31 -12
  49. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  50. package/fesm2022/primeng-chip.mjs +117 -96
  51. package/fesm2022/primeng-chip.mjs.map +1 -1
  52. package/fesm2022/primeng-config.mjs +13 -11
  53. package/fesm2022/primeng-config.mjs.map +1 -1
  54. package/fesm2022/primeng-confirmdialog.mjs +104 -60
  55. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  56. package/fesm2022/primeng-confirmpopup.mjs +57 -29
  57. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  58. package/fesm2022/primeng-contextmenu.mjs +52 -21
  59. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  60. package/fesm2022/primeng-datepicker.mjs +199 -158
  61. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +97 -50
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +2 -4
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +29 -10
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-drawer.mjs +112 -70
  69. package/fesm2022/primeng-drawer.mjs.map +1 -1
  70. package/fesm2022/primeng-dropdown.mjs +14 -6
  71. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  72. package/fesm2022/primeng-dynamicdialog.mjs +25 -21
  73. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  74. package/fesm2022/primeng-editor.mjs +26 -10
  75. package/fesm2022/primeng-editor.mjs.map +1 -1
  76. package/fesm2022/primeng-fieldset.mjs +61 -33
  77. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  78. package/fesm2022/primeng-fileupload.mjs +138 -87
  79. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  80. package/fesm2022/primeng-galleria.mjs +22 -13
  81. package/fesm2022/primeng-galleria.mjs.map +1 -1
  82. package/fesm2022/primeng-image.mjs +113 -66
  83. package/fesm2022/primeng-image.mjs.map +1 -1
  84. package/fesm2022/primeng-imagecompare.mjs +30 -10
  85. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  86. package/fesm2022/primeng-inplace.mjs +51 -26
  87. package/fesm2022/primeng-inplace.mjs.map +1 -1
  88. package/fesm2022/primeng-inputmask.mjs +31 -15
  89. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  90. package/fesm2022/primeng-inputnumber.mjs +54 -45
  91. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  92. package/fesm2022/primeng-inputotp.mjs +30 -11
  93. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  94. package/fesm2022/primeng-listbox.mjs +137 -78
  95. package/fesm2022/primeng-listbox.mjs.map +1 -1
  96. package/fesm2022/primeng-megamenu.mjs +105 -59
  97. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  98. package/fesm2022/primeng-menu.mjs +26 -26
  99. package/fesm2022/primeng-menu.mjs.map +1 -1
  100. package/fesm2022/primeng-menubar.mjs +69 -34
  101. package/fesm2022/primeng-menubar.mjs.map +1 -1
  102. package/fesm2022/primeng-message.mjs +49 -25
  103. package/fesm2022/primeng-message.mjs.map +1 -1
  104. package/fesm2022/primeng-messages.mjs +12 -3
  105. package/fesm2022/primeng-messages.mjs.map +1 -1
  106. package/fesm2022/primeng-metergroup.mjs +62 -30
  107. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  108. package/fesm2022/primeng-multiselect.mjs +246 -155
  109. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  110. package/fesm2022/primeng-orderlist.mjs +123 -68
  111. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  112. package/fesm2022/primeng-organizationchart.mjs +31 -15
  113. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  114. package/fesm2022/primeng-overlay.mjs +26 -6
  115. package/fesm2022/primeng-overlay.mjs.map +1 -1
  116. package/fesm2022/primeng-overlaypanel.mjs +29 -9
  117. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  118. package/fesm2022/primeng-paginator.mjs +92 -60
  119. package/fesm2022/primeng-paginator.mjs.map +1 -1
  120. package/fesm2022/primeng-panel.mjs +159 -98
  121. package/fesm2022/primeng-panel.mjs.map +1 -1
  122. package/fesm2022/primeng-panelmenu.mjs +55 -32
  123. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  124. package/fesm2022/primeng-password.mjs +88 -49
  125. package/fesm2022/primeng-password.mjs.map +1 -1
  126. package/fesm2022/primeng-picklist.mjs +360 -228
  127. package/fesm2022/primeng-picklist.mjs.map +1 -1
  128. package/fesm2022/primeng-popover.mjs +23 -7
  129. package/fesm2022/primeng-popover.mjs.map +1 -1
  130. package/fesm2022/primeng-progressbar.mjs +26 -8
  131. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  132. package/fesm2022/primeng-rating.mjs +44 -20
  133. package/fesm2022/primeng-rating.mjs.map +1 -1
  134. package/fesm2022/primeng-scroller.mjs +47 -37
  135. package/fesm2022/primeng-scroller.mjs.map +1 -1
  136. package/fesm2022/primeng-scrollpanel.mjs +28 -9
  137. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  138. package/fesm2022/primeng-scrolltop.mjs +16 -9
  139. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  140. package/fesm2022/primeng-select.mjs +198 -119
  141. package/fesm2022/primeng-select.mjs.map +1 -1
  142. package/fesm2022/primeng-selectbutton.mjs +25 -9
  143. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  144. package/fesm2022/primeng-sidebar.mjs +81 -58
  145. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  146. package/fesm2022/primeng-speeddial.mjs +54 -29
  147. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  148. package/fesm2022/primeng-splitbutton.mjs +41 -18
  149. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  150. package/fesm2022/primeng-splitter.mjs +4 -4
  151. package/fesm2022/primeng-splitter.mjs.map +1 -1
  152. package/fesm2022/primeng-stepper.mjs +33 -19
  153. package/fesm2022/primeng-stepper.mjs.map +1 -1
  154. package/fesm2022/primeng-table.mjs +115 -103
  155. package/fesm2022/primeng-table.mjs.map +1 -1
  156. package/fesm2022/primeng-tabmenu.mjs +54 -27
  157. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  158. package/fesm2022/primeng-tabs.mjs +27 -19
  159. package/fesm2022/primeng-tabs.mjs.map +1 -1
  160. package/fesm2022/primeng-tabview.mjs +106 -54
  161. package/fesm2022/primeng-tabview.mjs.map +1 -1
  162. package/fesm2022/primeng-tag.mjs +68 -44
  163. package/fesm2022/primeng-tag.mjs.map +1 -1
  164. package/fesm2022/primeng-tieredmenu.mjs +44 -21
  165. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  166. package/fesm2022/primeng-timeline.mjs +40 -16
  167. package/fesm2022/primeng-timeline.mjs.map +1 -1
  168. package/fesm2022/primeng-toast.mjs +30 -7
  169. package/fesm2022/primeng-toast.mjs.map +1 -1
  170. package/fesm2022/primeng-togglebutton.mjs +44 -28
  171. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  172. package/fesm2022/primeng-toggleswitch.mjs +28 -9
  173. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  174. package/fesm2022/primeng-toolbar.mjs +46 -20
  175. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  176. package/fesm2022/primeng-tooltip.mjs +32 -69
  177. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  178. package/fesm2022/primeng-tree.mjs +113 -96
  179. package/fesm2022/primeng-tree.mjs.map +1 -1
  180. package/fesm2022/primeng-treeselect.mjs +154 -85
  181. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  182. package/fesm2022/primeng-treetable.mjs +31 -14
  183. package/fesm2022/primeng-treetable.mjs.map +1 -1
  184. package/fesm2022/primeng-usestyle.mjs +1 -1
  185. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  186. package/fieldset/fieldset.d.ts +12 -6
  187. package/fileupload/fileupload.d.ts +19 -8
  188. package/galleria/galleria.d.ts +3 -2
  189. package/image/image.d.ts +18 -7
  190. package/imagecompare/imagecompare.d.ts +7 -2
  191. package/inplace/inplace.d.ts +12 -6
  192. package/inputmask/inputmask.d.ts +8 -4
  193. package/inputnumber/inputnumber.d.ts +11 -6
  194. package/inputotp/inputotp.d.ts +7 -2
  195. package/listbox/listbox.d.ts +17 -4
  196. package/megamenu/megamenu.d.ts +16 -7
  197. package/menu/menu.d.ts +6 -6
  198. package/menubar/menubar.d.ts +13 -6
  199. package/message/message.d.ts +10 -4
  200. package/messages/messages.d.ts +4 -3
  201. package/metergroup/metergroup.d.ts +11 -3
  202. package/multiselect/multiselect.d.ts +36 -17
  203. package/orderlist/orderlist.d.ts +23 -11
  204. package/organizationchart/organizationchart.d.ts +6 -4
  205. package/overlay/overlay.d.ts +6 -3
  206. package/overlaypanel/overlaypanel.d.ts +6 -3
  207. package/package.json +180 -180
  208. package/paginator/paginator.d.ts +15 -8
  209. package/panel/panel.d.ts +14 -5
  210. package/panelmenu/panelmenu.d.ts +8 -4
  211. package/password/password.d.ts +15 -7
  212. package/picklist/picklist.d.ts +23 -3
  213. package/popover/popover.d.ts +7 -4
  214. package/progressbar/progressbar.d.ts +7 -3
  215. package/rating/rating.d.ts +11 -5
  216. package/scroller/scroller.d.ts +9 -4
  217. package/scrollpanel/scrollpanel.d.ts +7 -3
  218. package/scrolltop/scrolltop.d.ts +7 -4
  219. package/select/select.d.ts +31 -13
  220. package/selectbutton/selectbutton.d.ts +7 -3
  221. package/sidebar/sidebar.d.ts +9 -2
  222. package/speeddial/speeddial.d.ts +9 -4
  223. package/splitbutton/splitbutton.d.ts +9 -5
  224. package/splitter/splitter.d.ts +4 -4
  225. package/stepper/stepper.d.ts +8 -3
  226. package/table/table.d.ts +2 -2
  227. package/tabmenu/tabmenu.d.ts +12 -7
  228. package/tabs/tablist.d.ts +6 -2
  229. package/tabview/tabview.d.ts +16 -7
  230. package/tag/tag.d.ts +8 -9
  231. package/tieredmenu/tieredmenu.d.ts +10 -6
  232. package/timeline/timeline.d.ts +7 -2
  233. package/toast/toast.d.ts +7 -3
  234. package/togglebutton/togglebutton.d.ts +8 -3
  235. package/toggleswitch/toggleswitch.d.ts +6 -2
  236. package/toolbar/toolbar.d.ts +9 -4
  237. package/tooltip/tooltip.d.ts +2 -1
  238. package/tree/tree.d.ts +23 -10
  239. package/treeselect/treeselect.d.ts +26 -12
  240. package/treetable/treetable.d.ts +6 -4
@@ -2,10 +2,10 @@ import { animation, style, animate, trigger, transition, useAnimation } from '@a
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, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, NgModule } from '@angular/core';
5
+ import { Injectable, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';
6
6
  import { uuid, findSingle, setAttribute } from '@primeuix/utils';
7
7
  import * as i1 from 'primeng/api';
8
- import { ConfirmEventType, TranslationKeys, Footer, SharedModule } from 'primeng/api';
8
+ import { ConfirmEventType, TranslationKeys, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
9
9
  import { BaseComponent } from 'primeng/basecomponent';
10
10
  import { Button } from 'primeng/button';
11
11
  import { Dialog } from 'primeng/dialog';
@@ -77,8 +77,8 @@ var ConfirmDialogClasses;
77
77
 
78
78
  const _c0 = ["header"];
79
79
  const _c1 = ["footer"];
80
- const _c2 = ["reject"];
81
- const _c3 = ["accept"];
80
+ const _c2 = ["rejecticon"];
81
+ const _c3 = ["accepticon"];
82
82
  const _c4 = ["message"];
83
83
  const _c5 = ["icon"];
84
84
  const _c6 = ["headless"];
@@ -93,7 +93,7 @@ function ConfirmDialog_Conditional_2_ng_template_0_Template(rf, ctx) { if (rf &
93
93
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_2_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 5);
94
94
  } if (rf & 2) {
95
95
  const ctx_r1 = i0.ɵɵnextContext(2);
96
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headlessTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c9, ctx_r1.confirmation, ctx_r1.onAccept.bind(ctx_r1), ctx_r1.onReject.bind(ctx_r1)));
96
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headlessTemplate || ctx_r1._headlessTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c9, ctx_r1.confirmation, ctx_r1.onAccept.bind(ctx_r1), ctx_r1.onReject.bind(ctx_r1)));
97
97
  } }
98
98
  function ConfirmDialog_Conditional_2_Template(rf, ctx) { if (rf & 1) {
99
99
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_2_ng_template_0_Template, 1, 6, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
@@ -109,7 +109,7 @@ function ConfirmDialog_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf &
109
109
  const ctx_r1 = i0.ɵɵnextContext(2);
110
110
  i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
111
111
  i0.ɵɵadvance();
112
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate);
112
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
113
113
  } }
114
114
  function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_ng_template_0_Template(rf, ctx) { }
115
115
  function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_Template(rf, ctx) { if (rf & 1) {
@@ -119,7 +119,7 @@ function ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_Template(rf, ct
119
119
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_0_Template, 1, 0, null, 7);
120
120
  } if (rf & 2) {
121
121
  const ctx_r1 = i0.ɵɵnextContext(3);
122
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.iconTemplate);
122
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.iconTemplate || ctx_r1._iconTemplate);
123
123
  } }
124
124
  function ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_i_0_Template(rf, ctx) { if (rf & 1) {
125
125
  i0.ɵɵelement(0, "i", 6);
@@ -142,7 +142,7 @@ function ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_Template(rf, ct
142
142
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_0_Template, 1, 0, null, 5);
143
143
  } if (rf & 2) {
144
144
  const ctx_r1 = i0.ɵɵnextContext(3);
145
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.messageTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c10, ctx_r1.confirmation));
145
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.messageTemplate || ctx_r1._messageTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c10, ctx_r1.confirmation));
146
146
  } }
147
147
  function ConfirmDialog_Conditional_3_ng_template_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
148
148
  i0.ɵɵelement(0, "span", 9);
@@ -154,15 +154,15 @@ function ConfirmDialog_Conditional_3_ng_template_1_Template(rf, ctx) { if (rf &
154
154
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_ng_template_1_Conditional_0_Template, 1, 1)(1, ConfirmDialog_Conditional_3_ng_template_1_Conditional_1_Template, 1, 1, "i", 8)(2, ConfirmDialog_Conditional_3_ng_template_1_Conditional_2_Template, 1, 4)(3, ConfirmDialog_Conditional_3_ng_template_1_Conditional_3_Template, 1, 2, "span", 9);
155
155
  } if (rf & 2) {
156
156
  const ctx_r1 = i0.ɵɵnextContext(2);
157
- i0.ɵɵconditional(ctx_r1.iconTemplate ? 0 : !ctx_r1.iconTemplate && !ctx_r1.messageTemplate ? 1 : -1);
157
+ i0.ɵɵconditional(ctx_r1.iconTemplate || ctx_r1._iconTemplate ? 0 : !ctx_r1.iconTemplate && !ctx_r1._iconTemplate && !ctx_r1._messageTemplate && !ctx_r1.messageTemplate ? 1 : -1);
158
158
  i0.ɵɵadvance(2);
159
- i0.ɵɵconditional(ctx_r1.messageTemplate ? 2 : 3);
159
+ i0.ɵɵconditional(ctx_r1.messageTemplate || ctx_r1._messageTemplate ? 2 : 3);
160
160
  } }
161
161
  function ConfirmDialog_Conditional_3_Template(rf, ctx) { if (rf & 1) {
162
162
  i0.ɵɵtemplate(0, ConfirmDialog_Conditional_3_Conditional_0_Template, 2, 2, "div", 6)(1, ConfirmDialog_Conditional_3_ng_template_1_Template, 4, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
163
163
  } if (rf & 2) {
164
164
  const ctx_r1 = i0.ɵɵnextContext();
165
- i0.ɵɵconditional(ctx_r1.headerTemplate ? 0 : -1);
165
+ i0.ɵɵconditional(ctx_r1.headerTemplate || ctx_r1._headerTemplate ? 0 : -1);
166
166
  } }
167
167
  function ConfirmDialog_ng_template_4_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
168
168
  i0.ɵɵelementContainer(0);
@@ -173,7 +173,7 @@ function ConfirmDialog_ng_template_4_Conditional_0_Template(rf, ctx) { if (rf &
173
173
  } if (rf & 2) {
174
174
  const ctx_r1 = i0.ɵɵnextContext(2);
175
175
  i0.ɵɵadvance();
176
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate);
176
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
177
177
  } }
178
178
  function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Conditional_1_i_0_Template(rf, ctx) { if (rf & 1) {
179
179
  i0.ɵɵelement(0, "i");
@@ -201,9 +201,9 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template(rf, ctx)
201
201
  const ctx_r1 = i0.ɵɵnextContext(3);
202
202
  i0.ɵɵproperty("label", ctx_r1.rejectButtonLabel)("styleClass", ctx_r1.getButtonStyleClass("pcRejectButton", "rejectButtonStyleClass"))("ariaLabel", ctx_r1.option("rejectButtonProps", "ariaLabel"))("buttonProps", ctx_r1.getRejectButtonProps());
203
203
  i0.ɵɵadvance();
204
- i0.ɵɵconditional(ctx_r1.rejectIcon ? 1 : -1);
204
+ i0.ɵɵconditional(ctx_r1.rejectIcon && !ctx_r1.rejectIconTemplate && !ctx_r1._rejectIconTemplate ? 1 : -1);
205
205
  i0.ɵɵadvance();
206
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.rejecticon);
206
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.rejectIconTemplate || ctx_r1._rejectIconTemplate);
207
207
  } }
208
208
  function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Conditional_1_i_0_Template(rf, ctx) { if (rf & 1) {
209
209
  i0.ɵɵelement(0, "i");
@@ -231,9 +231,9 @@ function ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template(rf, ctx)
231
231
  const ctx_r1 = i0.ɵɵnextContext(3);
232
232
  i0.ɵɵproperty("label", ctx_r1.acceptButtonLabel)("styleClass", ctx_r1.getButtonStyleClass("pcAcceptButton", "acceptButtonStyleClass"))("ariaLabel", ctx_r1.option("acceptButtonProps", "ariaLabel"))("buttonProps", ctx_r1.getAcceptButtonProps());
233
233
  i0.ɵɵadvance();
234
- i0.ɵɵconditional(ctx_r1.acceptIcon ? 1 : -1);
234
+ i0.ɵɵconditional(ctx_r1.acceptIcon && !ctx_r1._acceptIconTemplate && !ctx_r1.acceptIconTemplate ? 1 : -1);
235
235
  i0.ɵɵadvance();
236
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.accepticon);
236
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.acceptIconTemplate || ctx_r1._acceptIconTemplate);
237
237
  } }
238
238
  function ConfirmDialog_ng_template_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
239
239
  i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_1_p_button_0_Template, 3, 6, "p-button", 11)(1, ConfirmDialog_ng_template_4_Conditional_1_p_button_1_Template, 3, 6, "p-button", 11);
@@ -247,10 +247,9 @@ function ConfirmDialog_ng_template_4_Template(rf, ctx) { if (rf & 1) {
247
247
  i0.ɵɵtemplate(0, ConfirmDialog_ng_template_4_Conditional_0_Template, 2, 1)(1, ConfirmDialog_ng_template_4_Conditional_1_Template, 2, 2);
248
248
  } if (rf & 2) {
249
249
  const ctx_r1 = i0.ɵɵnextContext();
250
- const footer_r5 = i0.ɵɵreference(5);
251
- i0.ɵɵconditional(footer_r5 || ctx_r1.footerTemplate ? 0 : -1);
250
+ i0.ɵɵconditional(ctx_r1.footerTemplate || ctx_r1._footerTemplate ? 0 : -1);
252
251
  i0.ɵɵadvance();
253
- i0.ɵɵconditional(!footer_r5 || !ctx_r1.footerTemplate ? 1 : -1);
252
+ i0.ɵɵconditional(!ctx_r1.footerTemplate && !ctx_r1._footerTemplate ? 1 : -1);
254
253
  } }
255
254
  const showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}', style({ transform: 'none', opacity: 1 }))]);
256
255
  const hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);
@@ -472,11 +471,19 @@ class ConfirmDialog extends BaseComponent {
472
471
  _componentStyle = inject(ConfirmDialogStyle);
473
472
  headerTemplate;
474
473
  footerTemplate;
475
- rejecticon;
476
- accepticon;
474
+ rejectIconTemplate;
475
+ acceptIconTemplate;
477
476
  messageTemplate;
478
477
  iconTemplate;
479
478
  headlessTemplate;
479
+ templates;
480
+ _headerTemplate;
481
+ _footerTemplate;
482
+ _rejectIconTemplate;
483
+ _acceptIconTemplate;
484
+ _messageTemplate;
485
+ _iconTemplate;
486
+ _headlessTemplate;
480
487
  confirmation;
481
488
  _visible;
482
489
  _style;
@@ -492,6 +499,9 @@ class ConfirmDialog extends BaseComponent {
492
499
  id = uuid('pn_id_');
493
500
  ariaLabelledBy = this.getAriaLabelledBy();
494
501
  translationSubscription;
502
+ get containerClass() {
503
+ return this.cx('root') + ' ' + this.styleClass || ' ';
504
+ }
495
505
  constructor(confirmationService, zone) {
496
506
  super();
497
507
  this.confirmationService = confirmationService;
@@ -530,6 +540,33 @@ class ConfirmDialog extends BaseComponent {
530
540
  }
531
541
  });
532
542
  }
543
+ ngAfterContentInit() {
544
+ this.templates?.forEach((item) => {
545
+ switch (item.getType()) {
546
+ case 'header':
547
+ this._headerTemplate = item.template;
548
+ break;
549
+ case 'footer':
550
+ this._footerTemplate = item.template;
551
+ break;
552
+ case 'message':
553
+ this._messageTemplate = item.template;
554
+ break;
555
+ case 'icon':
556
+ this._iconTemplate = item.template;
557
+ break;
558
+ case 'rejecticon':
559
+ this._rejectIconTemplate = item.template;
560
+ break;
561
+ case 'accepticon':
562
+ this._acceptIconTemplate = item.template;
563
+ break;
564
+ case 'headless':
565
+ this._headlessTemplate = item.template;
566
+ break;
567
+ }
568
+ });
569
+ }
533
570
  getAriaLabelledBy() {
534
571
  return this.header !== null ? uuid('pn_id_') + '_header' : null;
535
572
  }
@@ -635,24 +672,26 @@ class ConfirmDialog extends BaseComponent {
635
672
  static ɵfac = function ConfirmDialog_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmDialog)(i0.ɵɵdirectiveInject(i1.ConfirmationService), i0.ɵɵdirectiveInject(i0.NgZone)); };
636
673
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmDialog, selectors: [["p-confirmDialog"], ["p-confirmdialog"], ["p-confirm-dialog"]], contentQueries: function ConfirmDialog_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
637
674
  i0.ɵɵcontentQuery(dirIndex, Footer, 5);
638
- i0.ɵɵcontentQuery(dirIndex, _c0, 5);
639
- i0.ɵɵcontentQuery(dirIndex, _c1, 5);
640
- i0.ɵɵcontentQuery(dirIndex, _c2, 5);
641
- i0.ɵɵcontentQuery(dirIndex, _c3, 5);
642
- i0.ɵɵcontentQuery(dirIndex, _c4, 5);
643
- i0.ɵɵcontentQuery(dirIndex, _c5, 5);
644
- i0.ɵɵcontentQuery(dirIndex, _c6, 5);
675
+ i0.ɵɵcontentQuery(dirIndex, _c0, 4);
676
+ i0.ɵɵcontentQuery(dirIndex, _c1, 4);
677
+ i0.ɵɵcontentQuery(dirIndex, _c2, 4);
678
+ i0.ɵɵcontentQuery(dirIndex, _c3, 4);
679
+ i0.ɵɵcontentQuery(dirIndex, _c4, 4);
680
+ i0.ɵɵcontentQuery(dirIndex, _c5, 4);
681
+ i0.ɵɵcontentQuery(dirIndex, _c6, 4);
682
+ i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
645
683
  } if (rf & 2) {
646
684
  let _t;
647
685
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footer = _t.first);
648
686
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
649
687
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
650
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rejecticon = _t.first);
651
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.accepticon = _t.first);
688
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rejectIconTemplate = _t.first);
689
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.acceptIconTemplate = _t.first);
652
690
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messageTemplate = _t.first);
653
691
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconTemplate = _t.first);
654
692
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headlessTemplate = _t.first);
655
- } }, inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: [2, "acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: [2, "rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position" }, outputs: { onHide: "onHide" }, features: [i0.ɵɵProvidersFeature([ConfirmDialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c8, decls: 6, vars: 10, consts: [["dialog", ""], ["footer", ""], ["headless", ""], ["content", ""], ["role", "alertdialog", 3, "visibleChange", "visible", "closable", "styleClass", "modal", "header", "closeOnEscape", "blockScroll", "appendTo", "position"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass", "class"], [3, "ngClass", "innerHTML"], [3, "ngClass", "class", 4, "ngIf"], [3, "label", "styleClass", "ariaLabel", "buttonProps", "onClick", 4, "ngIf"], [3, "onClick", "label", "styleClass", "ariaLabel", "buttonProps"], [3, "class"], [3, "class", 4, "ngIf"]], template: function ConfirmDialog_Template(rf, ctx) { if (rf & 1) {
693
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
694
+ } }, inputs: { header: "header", icon: "icon", message: "message", style: "style", styleClass: "styleClass", maskStyleClass: "maskStyleClass", acceptIcon: "acceptIcon", acceptLabel: "acceptLabel", closeAriaLabel: "closeAriaLabel", acceptAriaLabel: "acceptAriaLabel", acceptVisible: [2, "acceptVisible", "acceptVisible", booleanAttribute], rejectIcon: "rejectIcon", rejectLabel: "rejectLabel", rejectAriaLabel: "rejectAriaLabel", rejectVisible: [2, "rejectVisible", "rejectVisible", booleanAttribute], acceptButtonStyleClass: "acceptButtonStyleClass", rejectButtonStyleClass: "rejectButtonStyleClass", closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], dismissableMask: [2, "dismissableMask", "dismissableMask", booleanAttribute], blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], rtl: [2, "rtl", "rtl", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], appendTo: "appendTo", key: "key", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], transitionOptions: "transitionOptions", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], defaultFocus: "defaultFocus", breakpoints: "breakpoints", visible: "visible", position: "position" }, outputs: { onHide: "onHide" }, features: [i0.ɵɵProvidersFeature([ConfirmDialogStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c8, decls: 6, vars: 12, consts: [["dialog", ""], ["footer", ""], ["headless", ""], ["content", ""], ["role", "alertdialog", 3, "visibleChange", "visible", "closable", "styleClass", "modal", "header", "closeOnEscape", "blockScroll", "appendTo", "position"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass", "class"], [3, "ngClass", "innerHTML"], [3, "ngClass", "class", 4, "ngIf"], [3, "label", "styleClass", "ariaLabel", "buttonProps", "onClick", 4, "ngIf"], [3, "onClick", "label", "styleClass", "ariaLabel", "buttonProps"], [3, "class"], [3, "class", 4, "ngIf"]], template: function ConfirmDialog_Template(rf, ctx) { if (rf & 1) {
656
695
  const _r1 = i0.ɵɵgetCurrentView();
657
696
  i0.ɵɵprojectionDef(_c7);
658
697
  i0.ɵɵelementStart(0, "p-dialog", 4, 0);
@@ -660,10 +699,11 @@ class ConfirmDialog extends BaseComponent {
660
699
  i0.ɵɵtemplate(2, ConfirmDialog_Conditional_2_Template, 2, 0)(3, ConfirmDialog_Conditional_3_Template, 3, 1)(4, ConfirmDialog_ng_template_4_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
661
700
  i0.ɵɵelementEnd();
662
701
  } if (rf & 2) {
702
+ i0.ɵɵstyleMap(ctx.style);
663
703
  i0.ɵɵtwoWayProperty("visible", ctx.visible);
664
- i0.ɵɵproperty("closable", ctx.option("closable"))("styleClass", ctx.cx("root"))("modal", true)("header", ctx.option("header"))("closeOnEscape", ctx.option("closeOnEscape"))("blockScroll", ctx.option("blockScroll"))("appendTo", ctx.option("appendTo"))("position", ctx.position);
704
+ i0.ɵɵproperty("closable", ctx.option("closable"))("styleClass", ctx.containerClass)("modal", true)("header", ctx.option("header"))("closeOnEscape", ctx.option("closeOnEscape"))("blockScroll", ctx.option("blockScroll"))("appendTo", ctx.option("appendTo"))("position", ctx.position);
665
705
  i0.ɵɵadvance(2);
666
- i0.ɵɵconditional(ctx.headlessTemplate ? 2 : 3);
706
+ i0.ɵɵconditional(ctx.headlessTemplate || ctx._headlessTemplate ? 2 : 3);
667
707
  } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, i2.NgTemplateOutlet, Button, Dialog, SharedModule], encapsulation: 2, data: { animation: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])] }, changeDetection: 0 });
668
708
  }
669
709
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialog, [{
@@ -678,19 +718,20 @@ class ConfirmDialog extends BaseComponent {
678
718
  [(visible)]="visible"
679
719
  role="alertdialog"
680
720
  [closable]="option('closable')"
681
- [styleClass]="cx('root')"
721
+ [styleClass]="containerClass"
682
722
  [modal]="true"
683
723
  [header]="option('header')"
684
724
  [closeOnEscape]="option('closeOnEscape')"
685
725
  [blockScroll]="option('blockScroll')"
686
726
  [appendTo]="option('appendTo')"
687
727
  [position]="position"
728
+ [style]="style"
688
729
  >
689
- @if (headlessTemplate) {
730
+ @if (headlessTemplate || _headlessTemplate) {
690
731
  <ng-template #headless>
691
732
  <ng-container
692
733
  *ngTemplateOutlet="
693
- headlessTemplate;
734
+ headlessTemplate || _headlessTemplate;
694
735
  context: {
695
736
  $implicit: confirmation,
696
737
  onAccept: onAccept.bind(this),
@@ -700,31 +741,31 @@ class ConfirmDialog extends BaseComponent {
700
741
  ></ng-container>
701
742
  </ng-template>
702
743
  } @else {
703
- @if (headerTemplate) {
744
+ @if (headerTemplate || _headerTemplate) {
704
745
  <div [ngClass]="cx('header')">
705
- <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
746
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
706
747
  </div>
707
748
  }
708
749
 
709
750
  <ng-template #content>
710
- @if (iconTemplate) {
711
- <ng-template *ngTemplateOutlet="iconTemplate"></ng-template>
712
- } @else if (!iconTemplate && !messageTemplate) {
751
+ @if (iconTemplate || _iconTemplate) {
752
+ <ng-template *ngTemplateOutlet="iconTemplate || _iconTemplate"></ng-template>
753
+ } @else if (!iconTemplate && !_iconTemplate && !_messageTemplate && !messageTemplate) {
713
754
  <i [ngClass]="cx('icon')" [class]="option('icon')" *ngIf="option('icon')"></i>
714
755
  }
715
- @if (messageTemplate) {
716
- <ng-template *ngTemplateOutlet="messageTemplate; context: { $implicit: confirmation }"></ng-template>
756
+ @if (messageTemplate || _messageTemplate) {
757
+ <ng-template *ngTemplateOutlet="messageTemplate || _messageTemplate; context: { $implicit: confirmation }"></ng-template>
717
758
  } @else {
718
759
  <span [ngClass]="cx('message')" [innerHTML]="option('message')"> </span>
719
760
  }
720
761
  </ng-template>
721
762
  }
722
763
  <ng-template #footer>
723
- @if (footer || footerTemplate) {
764
+ @if (footerTemplate || _footerTemplate) {
724
765
  <ng-content select="p-footer"></ng-content>
725
- <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
766
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
726
767
  }
727
- @if (!footer || !footerTemplate) {
768
+ @if (!footerTemplate && !_footerTemplate) {
728
769
  <p-button
729
770
  *ngIf="option('rejectVisible')"
730
771
  [label]="rejectButtonLabel"
@@ -733,10 +774,10 @@ class ConfirmDialog extends BaseComponent {
733
774
  [ariaLabel]="option('rejectButtonProps', 'ariaLabel')"
734
775
  [buttonProps]="getRejectButtonProps()"
735
776
  >
736
- @if (rejectIcon) {
777
+ @if (rejectIcon && !rejectIconTemplate && !_rejectIconTemplate) {
737
778
  <i *ngIf="option('rejectIcon')" [class]="option('rejectIcon')"></i>
738
779
  }
739
- <ng-template *ngTemplateOutlet="rejecticon"></ng-template>
780
+ <ng-template *ngTemplateOutlet="rejectIconTemplate || _rejectIconTemplate"></ng-template>
740
781
  </p-button>
741
782
  <p-button
742
783
  [label]="acceptButtonLabel"
@@ -746,10 +787,10 @@ class ConfirmDialog extends BaseComponent {
746
787
  [ariaLabel]="option('acceptButtonProps', 'ariaLabel')"
747
788
  [buttonProps]="getAcceptButtonProps()"
748
789
  >
749
- @if (acceptIcon) {
790
+ @if (acceptIcon && !_acceptIconTemplate && !acceptIconTemplate) {
750
791
  <i *ngIf="option('acceptIcon')" [class]="option('acceptIcon')"></i>
751
792
  }
752
- <ng-template *ngTemplateOutlet="accepticon"></ng-template>
793
+ <ng-template *ngTemplateOutlet="acceptIconTemplate || _acceptIconTemplate"></ng-template>
753
794
  </p-button>
754
795
  }
755
796
  </ng-template>
@@ -841,27 +882,30 @@ class ConfirmDialog extends BaseComponent {
841
882
  args: [Footer]
842
883
  }], headerTemplate: [{
843
884
  type: ContentChild,
844
- args: ['header']
885
+ args: ['header', { descendants: false }]
845
886
  }], footerTemplate: [{
846
887
  type: ContentChild,
847
- args: ['footer']
848
- }], rejecticon: [{
888
+ args: ['footer', { descendants: false }]
889
+ }], rejectIconTemplate: [{
849
890
  type: ContentChild,
850
- args: ['reject']
851
- }], accepticon: [{
891
+ args: ['rejecticon', { descendants: false }]
892
+ }], acceptIconTemplate: [{
852
893
  type: ContentChild,
853
- args: ['accept']
894
+ args: ['accepticon', { descendants: false }]
854
895
  }], messageTemplate: [{
855
896
  type: ContentChild,
856
- args: ['message']
897
+ args: ['message', { descendants: false }]
857
898
  }], iconTemplate: [{
858
899
  type: ContentChild,
859
- args: ['icon']
900
+ args: ['icon', { descendants: false }]
860
901
  }], headlessTemplate: [{
861
902
  type: ContentChild,
862
- args: ['headless']
903
+ args: ['headless', { descendants: false }]
904
+ }], templates: [{
905
+ type: ContentChildren,
906
+ args: [PrimeTemplate]
863
907
  }] }); })();
864
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmDialog, { className: "ConfirmDialog", filePath: "confirmdialog.ts", lineNumber: 112 }); })();
908
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmDialog, { className: "ConfirmDialog", filePath: "confirmdialog.ts", lineNumber: 132 }); })();
865
909
  class ConfirmDialogModule {
866
910
  static ɵfac = function ConfirmDialogModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmDialogModule)(); };
867
911
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ConfirmDialogModule });
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/primeng-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: ${dt('confirmdialog.content.gap')};\n}\n\n.p-confirmdialog-icon {\n color: ${dt('confirmdialog.icon.color')};\n font-size: ${dt('confirmdialog.icon.size')};\n width: ${dt('confirmdialog.icon.size')};\n height: ${dt('confirmdialog.icon.size')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * [Live Demo](https://www.primeng.org/confirmdialog)\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, NgZone, numberAttribute, OnDestroy, OnInit, Output, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@primeuix/utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, Footer, SharedModule, TranslationKeys } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { Dialog } from 'primeng/dialog';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}', style({ transform: 'none', opacity: 1 }))]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'p-confirmDialog, p-confirmdialog, p-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Dialog, SharedModule],\n template: `\n <p-dialog\n #dialog\n [(visible)]=\"visible\"\n role=\"alertdialog\"\n [closable]=\"option('closable')\"\n [styleClass]=\"cx('root')\"\n [modal]=\"true\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"option('appendTo')\"\n [position]=\"position\"\n >\n @if (headlessTemplate) {\n <ng-template #headless>\n <ng-container\n *ngTemplateOutlet=\"\n headlessTemplate;\n context: {\n $implicit: confirmation,\n onAccept: onAccept.bind(this),\n onReject: onReject.bind(this)\n }\n \"\n ></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate) {\n <div [ngClass]=\"cx('header')\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </div>\n }\n\n <ng-template #content>\n @if (iconTemplate) {\n <ng-template *ngTemplateOutlet=\"iconTemplate\"></ng-template>\n } @else if (!iconTemplate && !messageTemplate) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate) {\n <ng-template *ngTemplateOutlet=\"messageTemplate; context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [ngClass]=\"cx('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footer || footerTemplate) {\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n }\n @if (!footer || !footerTemplate) {\n <p-button\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n >\n @if (rejectIcon) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejecticon\"></ng-template>\n </p-button>\n <p-button\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n >\n @if (acceptIcon) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"accepticon\"></ng-template>\n </p-button>\n }\n </ng-template>\n </p-dialog>\n `,\n animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle]\n})\nexport class ConfirmDialog extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * Target element to attach the dialog, 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 = 'body';\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\n * @group Props\n */\n @Input() key: string | 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 * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n\n switch (value) {\n case 'topleft':\n case 'bottomleft':\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\n case 'topright':\n case 'bottomright':\n case 'right':\n this.transformOptions = 'translate3d(100%, 0px, 0px)';\n break;\n case 'bottom':\n this.transformOptions = 'translate3d(0px, 100%, 0px)';\n break;\n case 'top':\n this.transformOptions = 'translate3d(0px, -100%, 0px)';\n break;\n default:\n this.transformOptions = 'scale(0.7)';\n break;\n }\n }\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n @ContentChild(Footer) footer: Nullable<TemplateRef<any>>;\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n @ContentChild('header') headerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('footer') footerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('reject') rejecticon: Nullable<TemplateRef<any>>;\n\n @ContentChild('accept') accepticon: Nullable<TemplateRef<any>>;\n\n @ContentChild('message') messageTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('icon') iconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('headless') headlessTemplate: Nullable<TemplateRef<any>>;\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n _position: string = 'center';\n\n transformOptions: any = 'scale(0.7)';\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this || this;\n if (source.hasOwnProperty(name)) {\n if (k) {\n return source[k];\n }\n return source[name];\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close(event: Event) {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n event.preventDefault();\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n this.confirmation = null;\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n super.ngOnDestroy();\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({\n imports: [ConfirmDialog, SharedModule],\n exports: [ConfirmDialog, SharedModule]\n})\nexport class ConfirmDialog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,EAAA,SAAA,EAAA,eAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,UAAA,EAAA,GAAA,EAAA,CAAA,CAAA,EAAA,GAAA;MAybb,mBAAmB,CAAA;6GAAnB,mBAAmB,GAAA,CAAA,EAAA;4DAAnB,mBAAmB,EAAA,CAAA;gEAHlB,aAAa,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;iFAE5B,mBAAmB,EAAA,CAAA;cAJ/B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACN,gBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC;AACtC,gBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,YAAY;AACxC,aAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,mBAAmB,cAzbnB,aAAa,EAsbG,YAAY,CAtb5B,EAAA,OAAA,EAAA,CAAA,aAAa,EAubG,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACtiBzC;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-confirmdialog.mjs","sources":["../../src/confirmdialog/style/confirmdialogstyle.ts","../../src/confirmdialog/confirmdialog.ts","../../src/confirmdialog/primeng-confirmdialog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-confirmdialog .p-dialog-content {\n display: flex;\n align-items: center;\n gap: ${dt('confirmdialog.content.gap')};\n}\n\n.p-confirmdialog-icon {\n color: ${dt('confirmdialog.icon.color')};\n font-size: ${dt('confirmdialog.icon.size')};\n width: ${dt('confirmdialog.icon.size')};\n height: ${dt('confirmdialog.icon.size')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmdialog',\n icon: 'p-confirmdialog-icon',\n message: 'p-confirmdialog-message',\n pcRejectButton: 'p-confirmdialog-reject-button',\n pcAcceptButton: 'p-confirmdialog-accept-button'\n};\n\n@Injectable()\nexport class ConfirmDialogStyle extends BaseStyle {\n name = 'confirmdialog';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * ConfirmDialog uses a Dialog UI with confirmDialog method or <ConfirmDialog> tag.\n *\n * [Live Demo](https://www.primeng.org/confirmdialog)\n *\n * @module confirmdialogstyle\n *\n */\nexport enum ConfirmDialogClasses {\n /**\n * Class name of the root element\n */\n root = 'p-confirmdialog',\n /**\n * Class name of the icon element\n */\n icon = 'p-confirmdialog-icon',\n /**\n * Class name of the message element\n */\n message = 'p-confirmdialog-message',\n /**\n * Class name of the reject button element\n */\n pcRejectButton = 'p-confirmdialog-reject-button',\n /**\n * Class name of the accept button element\n */\n pcAcceptButton = 'p-confirmdialog-accept-button'\n}\n\nexport interface ConfirmDialogStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgModule,\n NgZone,\n numberAttribute,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { findSingle, setAttribute, uuid } from '@primeuix/utils';\nimport { Confirmation, ConfirmationService, ConfirmEventType, Footer, PrimeTemplate, SharedModule, TranslationKeys } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button } from 'primeng/button';\nimport { Dialog } from 'primeng/dialog';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { Subscription } from 'rxjs';\nimport { ConfirmDialogStyle } from './style/confirmdialogstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}', style({ transform: 'none', opacity: 1 }))]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.\n * @group Components\n */\n@Component({\n selector: 'p-confirmDialog, p-confirmdialog, p-confirm-dialog',\n standalone: true,\n imports: [CommonModule, Button, Dialog, SharedModule],\n template: `\n <p-dialog\n #dialog\n [(visible)]=\"visible\"\n role=\"alertdialog\"\n [closable]=\"option('closable')\"\n [styleClass]=\"containerClass\"\n [modal]=\"true\"\n [header]=\"option('header')\"\n [closeOnEscape]=\"option('closeOnEscape')\"\n [blockScroll]=\"option('blockScroll')\"\n [appendTo]=\"option('appendTo')\"\n [position]=\"position\"\n [style]=\"style\"\n >\n @if (headlessTemplate || _headlessTemplate) {\n <ng-template #headless>\n <ng-container\n *ngTemplateOutlet=\"\n headlessTemplate || _headlessTemplate;\n context: {\n $implicit: confirmation,\n onAccept: onAccept.bind(this),\n onReject: onReject.bind(this)\n }\n \"\n ></ng-container>\n </ng-template>\n } @else {\n @if (headerTemplate || _headerTemplate) {\n <div [ngClass]=\"cx('header')\">\n <ng-container *ngTemplateOutlet=\"headerTemplate || _headerTemplate\"></ng-container>\n </div>\n }\n\n <ng-template #content>\n @if (iconTemplate || _iconTemplate) {\n <ng-template *ngTemplateOutlet=\"iconTemplate || _iconTemplate\"></ng-template>\n } @else if (!iconTemplate && !_iconTemplate && !_messageTemplate && !messageTemplate) {\n <i [ngClass]=\"cx('icon')\" [class]=\"option('icon')\" *ngIf=\"option('icon')\"></i>\n }\n @if (messageTemplate || _messageTemplate) {\n <ng-template *ngTemplateOutlet=\"messageTemplate || _messageTemplate; context: { $implicit: confirmation }\"></ng-template>\n } @else {\n <span [ngClass]=\"cx('message')\" [innerHTML]=\"option('message')\"> </span>\n }\n </ng-template>\n }\n <ng-template #footer>\n @if (footerTemplate || _footerTemplate) {\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate || _footerTemplate\"></ng-container>\n }\n @if (!footerTemplate && !_footerTemplate) {\n <p-button\n *ngIf=\"option('rejectVisible')\"\n [label]=\"rejectButtonLabel\"\n (onClick)=\"onReject()\"\n [styleClass]=\"getButtonStyleClass('pcRejectButton', 'rejectButtonStyleClass')\"\n [ariaLabel]=\"option('rejectButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getRejectButtonProps()\"\n >\n @if (rejectIcon && !rejectIconTemplate && !_rejectIconTemplate) {\n <i *ngIf=\"option('rejectIcon')\" [class]=\"option('rejectIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"rejectIconTemplate || _rejectIconTemplate\"></ng-template>\n </p-button>\n <p-button\n [label]=\"acceptButtonLabel\"\n (onClick)=\"onAccept()\"\n [styleClass]=\"getButtonStyleClass('pcAcceptButton', 'acceptButtonStyleClass')\"\n *ngIf=\"option('acceptVisible')\"\n [ariaLabel]=\"option('acceptButtonProps', 'ariaLabel')\"\n [buttonProps]=\"getAcceptButtonProps()\"\n >\n @if (acceptIcon && !_acceptIconTemplate && !acceptIconTemplate) {\n <i *ngIf=\"option('acceptIcon')\" [class]=\"option('acceptIcon')\"></i>\n }\n <ng-template *ngTemplateOutlet=\"acceptIconTemplate || _acceptIconTemplate\"></ng-template>\n </p-button>\n }\n </ng-template>\n </p-dialog>\n `,\n animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ConfirmDialogStyle]\n})\nexport class ConfirmDialog extends BaseComponent implements OnInit, OnDestroy {\n /**\n * Title text of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Icon to display next to message.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Message of the confirmation.\n * @group Props\n */\n @Input() message: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() get style(): { [klass: string]: any } | null | undefined {\n return this._style;\n }\n set style(value: { [klass: string]: any } | null | undefined) {\n this._style = value;\n this.cd.markForCheck();\n }\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Specify the CSS class(es) for styling the mask element\n * @group Props\n */\n @Input() maskStyleClass: string | undefined;\n /**\n * Icon of the accept button.\n * @group Props\n */\n @Input() acceptIcon: string | undefined;\n /**\n * Label of the accept button.\n * @group Props\n */\n @Input() acceptLabel: string | undefined;\n /**\n * Defines a string that labels the close button for accessibility.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Defines a string that labels the accept button for accessibility.\n * @group Props\n */\n @Input() acceptAriaLabel: string | undefined;\n /**\n * Visibility of the accept button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) acceptVisible: boolean = true;\n /**\n * Icon of the reject button.\n * @group Props\n */\n @Input() rejectIcon: string | undefined;\n /**\n * Label of the reject button.\n * @group Props\n */\n @Input() rejectLabel: string | undefined;\n /**\n * Defines a string that labels the reject button for accessibility.\n * @group Props\n */\n @Input() rejectAriaLabel: string | undefined;\n /**\n * Visibility of the reject button.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rejectVisible: boolean = true;\n /**\n * Style class of the accept button.\n * @group Props\n */\n @Input() acceptButtonStyleClass: string | undefined;\n /**\n * Style class of the reject button.\n * @group Props\n */\n @Input() rejectButtonStyleClass: string | undefined;\n /**\n * Specifies if pressing escape key should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\n /**\n * Specifies if clicking the modal background should hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissableMask: boolean | undefined;\n /**\n * Determines whether scrolling behavior should be blocked within the component.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = true;\n /**\n * When enabled dialog is displayed in RTL direction.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) rtl: boolean = false;\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * Target element to attach the dialog, 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 = 'body';\n /**\n * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs.\n * @group Props\n */\n @Input() key: string | 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 * Transition options of the animation.\n * @group Props\n */\n @Input() transitionOptions: string = '150ms cubic-bezier(0, 0, 0.2, 1)';\n /**\n * When enabled, can only focus on elements inside the confirm dialog.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) focusTrap: boolean = true;\n /**\n * Element to receive the focus when the dialog gets visible.\n * @group Props\n */\n @Input() defaultFocus: 'accept' | 'reject' | 'close' | 'none' = 'accept';\n /**\n * Object literal to define widths per screen size.\n * @group Props\n */\n @Input() breakpoints: any;\n /**\n * Current visible state as a boolean.\n * @group Props\n */\n @Input() get visible(): any {\n return this._visible;\n }\n\n set visible(value: any) {\n this._visible = value;\n\n if (this._visible && !this.maskVisible) {\n this.maskVisible = true;\n }\n\n this.cd.markForCheck();\n }\n /**\n * Allows getting the position of the component.\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n\n switch (value) {\n case 'topleft':\n case 'bottomleft':\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\n case 'topright':\n case 'bottomright':\n case 'right':\n this.transformOptions = 'translate3d(100%, 0px, 0px)';\n break;\n case 'bottom':\n this.transformOptions = 'translate3d(0px, 100%, 0px)';\n break;\n case 'top':\n this.transformOptions = 'translate3d(0px, -100%, 0px)';\n break;\n default:\n this.transformOptions = 'scale(0.7)';\n break;\n }\n }\n /**\n * Callback to invoke when dialog is hidden.\n * @param {ConfirmEventType} enum - Custom confirm event.\n * @group Emits\n */\n @Output() onHide: EventEmitter<ConfirmEventType> = new EventEmitter<ConfirmEventType>();\n\n @ContentChild(Footer) footer: Nullable<TemplateRef<any>>;\n\n _componentStyle = inject(ConfirmDialogStyle);\n\n @ContentChild('header', { descendants: false }) headerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('footer', { descendants: false }) footerTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('rejecticon', { descendants: false }) rejectIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('accepticon', { descendants: false }) acceptIconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('message', { descendants: false }) messageTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('icon', { descendants: false }) iconTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChild('headless', { descendants: false }) headlessTemplate: Nullable<TemplateRef<any>>;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _headerTemplate: TemplateRef<any> | undefined;\n\n _footerTemplate: TemplateRef<any> | undefined;\n\n _rejectIconTemplate: TemplateRef<any> | undefined;\n\n _acceptIconTemplate: TemplateRef<any> | undefined;\n\n _messageTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _headlessTemplate: TemplateRef<any> | undefined;\n\n confirmation: Nullable<Confirmation>;\n\n _visible: boolean | undefined;\n\n _style: { [klass: string]: any } | null | undefined;\n\n maskVisible: boolean | undefined;\n\n dialog: Nullable<Dialog>;\n\n wrapper: Nullable<HTMLElement>;\n\n contentContainer: Nullable<HTMLDivElement>;\n\n subscription: Subscription;\n\n preWidth: number | undefined;\n\n _position: string = 'center';\n\n transformOptions: any = 'scale(0.7)';\n\n styleElement: any;\n\n id = uuid('pn_id_');\n\n ariaLabelledBy: string = this.getAriaLabelledBy();\n\n translationSubscription: Subscription | undefined;\n\n get containerClass(): string {\n return this.cx('root') + ' ' + this.styleClass || ' ';\n }\n\n constructor(\n private confirmationService: ConfirmationService,\n public zone: NgZone\n ) {\n super();\n this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {\n if (!confirmation) {\n this.hide();\n return;\n }\n if (confirmation.key === this.key) {\n this.confirmation = confirmation;\n\n const keys = Object.keys(confirmation);\n\n keys.forEach((key) => {\n this[key] = confirmation[key];\n });\n\n if (this.confirmation.accept) {\n this.confirmation.acceptEvent = new EventEmitter();\n this.confirmation.acceptEvent.subscribe(this.confirmation.accept);\n }\n\n if (this.confirmation.reject) {\n this.confirmation.rejectEvent = new EventEmitter();\n this.confirmation.rejectEvent.subscribe(this.confirmation.reject);\n }\n\n this.visible = true;\n }\n });\n }\n\n ngOnInit() {\n super.ngOnInit();\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.translationSubscription = this.config.translationObserver.subscribe(() => {\n if (this.visible) {\n this.cd.markForCheck();\n }\n });\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'header':\n this._headerTemplate = item.template;\n break;\n\n case 'footer':\n this._footerTemplate = item.template;\n break;\n\n case 'message':\n this._messageTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'rejecticon':\n this._rejectIconTemplate = item.template;\n break;\n\n case 'accepticon':\n this._acceptIconTemplate = item.template;\n break;\n\n case 'headless':\n this._headlessTemplate = item.template;\n break;\n }\n });\n }\n\n getAriaLabelledBy() {\n return this.header !== null ? uuid('pn_id_') + '_header' : null;\n }\n\n option(name: string, k?: string) {\n const source: { [key: string]: any } = this || this;\n if (source.hasOwnProperty(name)) {\n if (k) {\n return source[k];\n }\n return source[name];\n }\n\n return undefined;\n }\n\n getButtonStyleClass(cx: string, opt: string): string {\n const cxClass = this.cx(cx);\n const optionClass = this.option(opt);\n\n return [cxClass, optionClass].filter(Boolean).join(' ');\n }\n\n getElementToFocus() {\n switch (this.option('defaultFocus')) {\n case 'accept':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n\n case 'reject':\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-reject');\n\n case 'close':\n return findSingle(this.dialog.el.nativeElement, '.p-dialog-header-close');\n\n case 'none':\n return null;\n\n //backward compatibility\n default:\n return findSingle(this.dialog.el.nativeElement, '.p-confirm-dialog-accept');\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.document.createElement('style');\n this.styleElement.type = 'text/css';\n this.document.head.appendChild(this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[breakpoint]} !important;\n }\n }\n `;\n }\n\n this.styleElement.innerHTML = innerHTML;\n setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);\n }\n }\n\n close(event: Event) {\n if (this.confirmation?.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.CANCEL);\n }\n\n this.hide(ConfirmEventType.CANCEL);\n event.preventDefault();\n }\n\n hide(type?: ConfirmEventType) {\n this.onHide.emit(type);\n this.visible = false;\n this.confirmation = null;\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.document.head.removeChild(this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n\n if (this.translationSubscription) {\n this.translationSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n super.ngOnDestroy();\n }\n\n onAccept() {\n if (this.confirmation && this.confirmation.acceptEvent) {\n this.confirmation.acceptEvent.emit();\n }\n this.hide(ConfirmEventType.ACCEPT);\n }\n\n onReject() {\n if (this.confirmation && this.confirmation.rejectEvent) {\n this.confirmation.rejectEvent.emit(ConfirmEventType.REJECT);\n }\n\n this.hide(ConfirmEventType.REJECT);\n }\n\n get acceptButtonLabel(): string {\n return this.option('acceptLabel') || this.config.getTranslation(TranslationKeys.ACCEPT);\n }\n\n get rejectButtonLabel(): string {\n return this.option('rejectLabel') || this.config.getTranslation(TranslationKeys.REJECT);\n }\n\n getAcceptButtonProps() {\n return this.option('acceptButtonProps');\n }\n\n getRejectButtonProps() {\n return this.option('rejectButtonProps');\n }\n}\n\n@NgModule({\n imports: [ConfirmDialog, SharedModule],\n exports: [ConfirmDialog, SharedModule]\n})\nexport class ConfirmDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;YAId,EAAE,CAAC,2BAA2B,CAAC,CAAA;;;;aAI9B,EAAE,CAAC,0BAA0B,CAAC,CAAA;iBAC1B,EAAE,CAAC,yBAAyB,CAAC,CAAA;aACjC,EAAE,CAAC,yBAAyB,CAAC,CAAA;cAC5B,EAAE,CAAC,yBAAyB,CAAC,CAAA;;CAE1C;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,sBAAsB;AAC5B,IAAA,OAAO,EAAE,yBAAyB;AAClC,IAAA,cAAc,EAAE,+BAA+B;AAC/C,IAAA,cAAc,EAAE;CACnB;AAGK,MAAO,kBAAmB,SAAQ,SAAS,CAAA;IAC7C,IAAI,GAAG,eAAe;IAEtB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;AALR,IAAA,OAAA,IAAA,iBAAA,CAAA,MAAA,EAAA,IAAA,+BAAA,CAAA,CAAA,OAAA,SAAA,0BAAA,CAAA,iBAAA,EAAA,EAAA,OAAA,CAAA,+BAAA,KAAA,+BAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,kBAAkB,yBAAlB,kBAAkB,CAAA,CAAA,EAAA,CAAA,EAAA,GAAA;AAAlB,IAAA,OAAA,KAAA,iBAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,KAAA,EAAA,kBAAkB,WAAlB,kBAAkB,CAAA,IAAA,EAAA,CAAA;;iFAAlB,kBAAkB,EAAA,CAAA;cAD9B;;AASD;;;;;;;;AAQG;IACS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