primeng 19.0.0-rc.1 → 19.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +202 -137
  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 +198 -156
  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 +117 -98
  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 +157 -157
  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,9 +2,9 @@ import { animation, style, animate, trigger, transition, useAnimation } from '@a
2
2
  import * as i1 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, ViewChild, ContentChild, NgModule } from '@angular/core';
5
+ import { Injectable, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
6
6
  import { setAttribute, addClass, blockBodyScroll, unblockBodyScroll, appendChild } from '@primeuix/utils';
7
- import { SharedModule } from 'primeng/api';
7
+ import { PrimeTemplate, SharedModule } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
9
9
  import { Button } from 'primeng/button';
10
10
  import { TimesIcon } from 'primeng/icons';
@@ -303,13 +303,19 @@ const _c8 = ["*"];
303
303
  const _c9 = (a0, a1, a2, a3, a4, a5) => ({ "p-drawer": true, "p-drawer-active": a0, "p-drawer-left": a1, "p-drawer-right": a2, "p-drawer-top": a3, "p-drawer-bottom": a4, "p-drawer-full": a5 });
304
304
  const _c10 = (a0, a1) => ({ transform: a0, transition: a1 });
305
305
  const _c11 = a0 => ({ value: "visible", params: a0 });
306
- function Drawer_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
306
+ function Drawer_div_0_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
307
307
  i0.ɵɵelementContainer(0);
308
308
  } }
309
- function Drawer_div_0_ng_template_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
309
+ function Drawer_div_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
310
+ i0.ɵɵtemplate(0, Drawer_div_0_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 4);
311
+ } if (rf & 2) {
312
+ const ctx_r1 = i0.ɵɵnextContext(2);
313
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headlessTemplate || ctx_r1._headlessTemplate);
314
+ } }
315
+ function Drawer_div_0_Conditional_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
310
316
  i0.ɵɵelementContainer(0);
311
317
  } }
312
- function Drawer_div_0_ng_template_3_div_2_Template(rf, ctx) { if (rf & 1) {
318
+ function Drawer_div_0_Conditional_3_div_2_Template(rf, ctx) { if (rf & 1) {
313
319
  i0.ɵɵelementStart(0, "div");
314
320
  i0.ɵɵtext(1);
315
321
  i0.ɵɵelementEnd();
@@ -319,44 +325,44 @@ function Drawer_div_0_ng_template_3_div_2_Template(rf, ctx) { if (rf & 1) {
319
325
  i0.ɵɵadvance();
320
326
  i0.ɵɵtextInterpolate(ctx_r1.header);
321
327
  } }
322
- function Drawer_div_0_ng_template_3_p_button_3_ng_template_1_TimesIcon_0_Template(rf, ctx) { if (rf & 1) {
328
+ function Drawer_div_0_Conditional_3_p_button_3_ng_template_1_TimesIcon_0_Template(rf, ctx) { if (rf & 1) {
323
329
  i0.ɵɵelement(0, "TimesIcon");
324
330
  } if (rf & 2) {
325
331
  i0.ɵɵattribute("data-pc-section", "closeicon");
326
332
  } }
327
- function Drawer_div_0_ng_template_3_p_button_3_ng_template_1_1_ng_template_0_Template(rf, ctx) { }
328
- function Drawer_div_0_ng_template_3_p_button_3_ng_template_1_1_Template(rf, ctx) { if (rf & 1) {
329
- i0.ɵɵtemplate(0, Drawer_div_0_ng_template_3_p_button_3_ng_template_1_1_ng_template_0_Template, 0, 0, "ng-template");
333
+ function Drawer_div_0_Conditional_3_p_button_3_ng_template_1_1_ng_template_0_Template(rf, ctx) { }
334
+ function Drawer_div_0_Conditional_3_p_button_3_ng_template_1_1_Template(rf, ctx) { if (rf & 1) {
335
+ i0.ɵɵtemplate(0, Drawer_div_0_Conditional_3_p_button_3_ng_template_1_1_ng_template_0_Template, 0, 0, "ng-template");
330
336
  } }
331
- function Drawer_div_0_ng_template_3_p_button_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
332
- i0.ɵɵtemplate(0, Drawer_div_0_ng_template_3_p_button_3_ng_template_1_TimesIcon_0_Template, 1, 1, "TimesIcon", 9)(1, Drawer_div_0_ng_template_3_p_button_3_ng_template_1_1_Template, 1, 0, null, 5);
337
+ function Drawer_div_0_Conditional_3_p_button_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
338
+ i0.ɵɵtemplate(0, Drawer_div_0_Conditional_3_p_button_3_ng_template_1_TimesIcon_0_Template, 1, 1, "TimesIcon", 8)(1, Drawer_div_0_Conditional_3_p_button_3_ng_template_1_1_Template, 1, 0, null, 4);
333
339
  } if (rf & 2) {
334
340
  const ctx_r1 = i0.ɵɵnextContext(4);
335
- i0.ɵɵproperty("ngIf", !ctx_r1.closeiconTemplate);
341
+ i0.ɵɵproperty("ngIf", !ctx_r1.closeIconTemplate && !ctx_r1._closeIconTemplate);
336
342
  i0.ɵɵadvance();
337
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.closeiconTemplate);
343
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.closeIconTemplate || ctx_r1._closeIconTemplate);
338
344
  } }
339
- function Drawer_div_0_ng_template_3_p_button_3_Template(rf, ctx) { if (rf & 1) {
345
+ function Drawer_div_0_Conditional_3_p_button_3_Template(rf, ctx) { if (rf & 1) {
340
346
  const _r3 = i0.ɵɵgetCurrentView();
341
- i0.ɵɵelementStart(0, "p-button", 10);
342
- i0.ɵɵlistener("onClick", function Drawer_div_0_ng_template_3_p_button_3_Template_p_button_onClick_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.close($event)); })("keydown.enter", function Drawer_div_0_ng_template_3_p_button_3_Template_p_button_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.close($event)); });
343
- i0.ɵɵtemplate(1, Drawer_div_0_ng_template_3_p_button_3_ng_template_1_Template, 2, 2, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
347
+ i0.ɵɵelementStart(0, "p-button", 9);
348
+ i0.ɵɵlistener("onClick", function Drawer_div_0_Conditional_3_p_button_3_Template_p_button_onClick_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.close($event)); })("keydown.enter", function Drawer_div_0_Conditional_3_p_button_3_Template_p_button_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.close($event)); });
349
+ i0.ɵɵtemplate(1, Drawer_div_0_Conditional_3_p_button_3_ng_template_1_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
344
350
  i0.ɵɵelementEnd();
345
351
  } if (rf & 2) {
346
352
  const ctx_r1 = i0.ɵɵnextContext(3);
347
353
  i0.ɵɵproperty("ngClass", ctx_r1.cx("closeButton"))("buttonProps", ctx_r1.closeButtonProps)("ariaLabel", ctx_r1.ariaCloseLabel);
348
354
  i0.ɵɵattribute("data-pc-section", "closebutton")("data-pc-group-section", "iconcontainer");
349
355
  } }
350
- function Drawer_div_0_ng_template_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
356
+ function Drawer_div_0_Conditional_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
351
357
  i0.ɵɵelementContainer(0);
352
358
  } }
353
- function Drawer_div_0_ng_template_3_ng_container_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
359
+ function Drawer_div_0_Conditional_3_ng_container_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
354
360
  i0.ɵɵelementContainer(0);
355
361
  } }
356
- function Drawer_div_0_ng_template_3_ng_container_7_Template(rf, ctx) { if (rf & 1) {
362
+ function Drawer_div_0_Conditional_3_ng_container_7_Template(rf, ctx) { if (rf & 1) {
357
363
  i0.ɵɵelementContainerStart(0);
358
- i0.ɵɵelementStart(1, "div", 6);
359
- i0.ɵɵtemplate(2, Drawer_div_0_ng_template_3_ng_container_7_ng_container_2_Template, 1, 0, "ng-container", 5);
364
+ i0.ɵɵelementStart(1, "div", 5);
365
+ i0.ɵɵtemplate(2, Drawer_div_0_Conditional_3_ng_container_7_ng_container_2_Template, 1, 0, "ng-container", 4);
360
366
  i0.ɵɵelementEnd();
361
367
  i0.ɵɵelementContainerEnd();
362
368
  } if (rf & 2) {
@@ -365,23 +371,23 @@ function Drawer_div_0_ng_template_3_ng_container_7_Template(rf, ctx) { if (rf &
365
371
  i0.ɵɵproperty("ngClass", ctx_r1.cx("footer"));
366
372
  i0.ɵɵattribute("data-pc-section", "footer");
367
373
  i0.ɵɵadvance();
368
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate);
374
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
369
375
  } }
370
- function Drawer_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
371
- i0.ɵɵelementStart(0, "div", 6);
372
- i0.ɵɵtemplate(1, Drawer_div_0_ng_template_3_ng_container_1_Template, 1, 0, "ng-container", 5)(2, Drawer_div_0_ng_template_3_div_2_Template, 2, 3, "div", 7)(3, Drawer_div_0_ng_template_3_p_button_3_Template, 3, 5, "p-button", 8);
376
+ function Drawer_div_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
377
+ i0.ɵɵelementStart(0, "div", 5);
378
+ i0.ɵɵtemplate(1, Drawer_div_0_Conditional_3_ng_container_1_Template, 1, 0, "ng-container", 4)(2, Drawer_div_0_Conditional_3_div_2_Template, 2, 3, "div", 6)(3, Drawer_div_0_Conditional_3_p_button_3_Template, 3, 5, "p-button", 7);
373
379
  i0.ɵɵelementEnd();
374
- i0.ɵɵelementStart(4, "div", 6);
380
+ i0.ɵɵelementStart(4, "div", 5);
375
381
  i0.ɵɵprojection(5);
376
- i0.ɵɵtemplate(6, Drawer_div_0_ng_template_3_ng_container_6_Template, 1, 0, "ng-container", 5);
382
+ i0.ɵɵtemplate(6, Drawer_div_0_Conditional_3_ng_container_6_Template, 1, 0, "ng-container", 4);
377
383
  i0.ɵɵelementEnd();
378
- i0.ɵɵtemplate(7, Drawer_div_0_ng_template_3_ng_container_7_Template, 3, 3, "ng-container", 9);
384
+ i0.ɵɵtemplate(7, Drawer_div_0_Conditional_3_ng_container_7_Template, 3, 3, "ng-container", 8);
379
385
  } if (rf & 2) {
380
386
  const ctx_r1 = i0.ɵɵnextContext(2);
381
387
  i0.ɵɵproperty("ngClass", ctx_r1.cx("header"));
382
388
  i0.ɵɵattribute("data-pc-section", "header");
383
389
  i0.ɵɵadvance();
384
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate);
390
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
385
391
  i0.ɵɵadvance();
386
392
  i0.ɵɵproperty("ngIf", ctx_r1.header);
387
393
  i0.ɵɵadvance();
@@ -390,25 +396,24 @@ function Drawer_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
390
396
  i0.ɵɵproperty("ngClass", ctx_r1.cx("content"));
391
397
  i0.ɵɵattribute("data-pc-section", "content");
392
398
  i0.ɵɵadvance(2);
393
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.contentTemplate);
399
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.contentTemplate || ctx_r1._contentTemplate);
394
400
  i0.ɵɵadvance();
395
- i0.ɵɵproperty("ngIf", ctx_r1.footerTemplate);
401
+ i0.ɵɵproperty("ngIf", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
396
402
  } }
397
403
  function Drawer_div_0_Template(rf, ctx) { if (rf & 1) {
398
404
  const _r1 = i0.ɵɵgetCurrentView();
399
- i0.ɵɵelementStart(0, "div", 4, 0);
405
+ i0.ɵɵelementStart(0, "div", 3, 0);
400
406
  i0.ɵɵlistener("@panelState.start", function Drawer_div_0_Template_div_animation_panelState_start_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onAnimationStart($event)); })("@panelState.done", function Drawer_div_0_Template_div_animation_panelState_done_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event)); })("keydown", function Drawer_div_0_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onKeyDown($event)); });
401
- i0.ɵɵtemplate(2, Drawer_div_0_ng_container_2_Template, 1, 0, "ng-container", 5)(3, Drawer_div_0_ng_template_3_Template, 8, 9, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
407
+ i0.ɵɵtemplate(2, Drawer_div_0_Conditional_2_Template, 1, 1, "ng-container")(3, Drawer_div_0_Conditional_3_Template, 8, 9);
402
408
  i0.ɵɵelementEnd();
403
409
  } if (rf & 2) {
404
- const notHeadless_r4 = i0.ɵɵreference(4);
405
410
  const ctx_r1 = i0.ɵɵnextContext();
406
411
  i0.ɵɵstyleMap(ctx_r1.style);
407
412
  i0.ɵɵclassMap(ctx_r1.styleClass);
408
413
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction6(9, _c9, ctx_r1.visible, ctx_r1.position === "left" && !ctx_r1.fullScreen, ctx_r1.position === "right" && !ctx_r1.fullScreen, ctx_r1.position === "top" && !ctx_r1.fullScreen, ctx_r1.position === "bottom" && !ctx_r1.fullScreen, ctx_r1.fullScreen || ctx_r1.position === "full"))("@panelState", i0.ɵɵpureFunction1(19, _c11, i0.ɵɵpureFunction2(16, _c10, ctx_r1.transformOptions, ctx_r1.transitionOptions)));
409
414
  i0.ɵɵattribute("data-pc-name", "sidebar")("data-pc-section", "root");
410
415
  i0.ɵɵadvance(2);
411
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headlessTemplate || notHeadless_r4);
416
+ i0.ɵɵconditional(ctx_r1.headlessTemplate || ctx_r1._headlessTemplate ? 2 : 3);
412
417
  } }
413
418
  const showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}')]);
414
419
  const hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);
@@ -543,6 +548,12 @@ class Drawer extends BaseComponent {
543
548
  * @group Props
544
549
  */
545
550
  maskStyle;
551
+ /**
552
+ * Whether to display close button.
553
+ * @group Props
554
+ * @defaultValue true
555
+ */
556
+ closable = true;
546
557
  /**
547
558
  * Callback to invoke when dialog is shown.
548
559
  * @group Emits
@@ -596,18 +607,42 @@ class Drawer extends BaseComponent {
596
607
  * Close icon template for the close icon of the drawer.
597
608
  * @group Templates
598
609
  */
599
- closeiconTemplate;
610
+ closeIconTemplate;
600
611
  /**
601
612
  * Headless template for the headless drawer.
602
613
  * @group Templates
603
614
  */
604
615
  headlessTemplate;
605
- /**
606
- * Whether to display close button.
607
- * @group Props
608
- * @defaultValue true
609
- */
610
- closable = true;
616
+ _headerTemplate;
617
+ _footerTemplate;
618
+ _contentTemplate;
619
+ _closeIconTemplate;
620
+ _headlessTemplate;
621
+ templates;
622
+ ngAfterContentInit() {
623
+ this.templates?.forEach((item) => {
624
+ switch (item.getType()) {
625
+ case 'content':
626
+ this._contentTemplate = item.template;
627
+ break;
628
+ case 'header':
629
+ this._headerTemplate = item.template;
630
+ break;
631
+ case 'footer':
632
+ this._footerTemplate = item.template;
633
+ break;
634
+ case 'closeicon':
635
+ this._closeIconTemplate = item.template;
636
+ break;
637
+ case 'headless':
638
+ this._headlessTemplate = item.template;
639
+ break;
640
+ default:
641
+ this._contentTemplate = item.template;
642
+ break;
643
+ }
644
+ });
645
+ }
611
646
  onKeyDown(event) {
612
647
  if (event.code === 'Escape') {
613
648
  this.hide(false);
@@ -640,6 +675,7 @@ class Drawer extends BaseComponent {
640
675
  const activeDrawers = this.document.querySelectorAll('.p-drawer-active');
641
676
  const activeDrawersLength = activeDrawers.length;
642
677
  const zIndex = activeDrawersLength == 1 ? String(parseInt(this.container.style.zIndex) - 1) : String(parseInt(activeDrawers[0].style.zIndex) - 1);
678
+ this.container.setAttribute(this.attrSelector, '');
643
679
  if (!this.mask) {
644
680
  this.mask = this.renderer.createElement('div');
645
681
  this.renderer.setStyle(this.mask, 'zIndex', zIndex);
@@ -753,18 +789,20 @@ class Drawer extends BaseComponent {
753
789
  }
754
790
  static ɵfac = /*@__PURE__*/ (() => { let ɵDrawer_BaseFactory; return function Drawer_Factory(__ngFactoryType__) { return (ɵDrawer_BaseFactory || (ɵDrawer_BaseFactory = i0.ɵɵgetInheritedFactory(Drawer)))(__ngFactoryType__ || Drawer); }; })();
755
791
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Drawer, selectors: [["p-drawer"]], contentQueries: function Drawer_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
756
- i0.ɵɵcontentQuery(dirIndex, _c0, 5);
757
- i0.ɵɵcontentQuery(dirIndex, _c1, 5);
758
- i0.ɵɵcontentQuery(dirIndex, _c2, 5);
759
- i0.ɵɵcontentQuery(dirIndex, _c3, 5);
760
- i0.ɵɵcontentQuery(dirIndex, _c4, 5);
792
+ i0.ɵɵcontentQuery(dirIndex, _c0, 4);
793
+ i0.ɵɵcontentQuery(dirIndex, _c1, 4);
794
+ i0.ɵɵcontentQuery(dirIndex, _c2, 4);
795
+ i0.ɵɵcontentQuery(dirIndex, _c3, 4);
796
+ i0.ɵɵcontentQuery(dirIndex, _c4, 4);
797
+ i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
761
798
  } if (rf & 2) {
762
799
  let _t;
763
800
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
764
801
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
765
802
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
766
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.closeiconTemplate = _t.first);
803
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.closeIconTemplate = _t.first);
767
804
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headlessTemplate = _t.first);
805
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
768
806
  } }, viewQuery: function Drawer_Query(rf, ctx) { if (rf & 1) {
769
807
  i0.ɵɵviewQuery(_c5, 5);
770
808
  i0.ɵɵviewQuery(_c6, 5);
@@ -774,9 +812,9 @@ class Drawer extends BaseComponent {
774
812
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.maskRef = _t.first);
775
813
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
776
814
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.closeButtonViewChild = _t.first);
777
- } }, inputs: { appendTo: "appendTo", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], style: "style", styleClass: "styleClass", ariaCloseLabel: "ariaCloseLabel", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], modal: [2, "modal", "modal", booleanAttribute], closeButtonProps: "closeButtonProps", dismissible: [2, "dismissible", "dismissible", booleanAttribute], showCloseIcon: [2, "showCloseIcon", "showCloseIcon", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], transitionOptions: "transitionOptions", visible: "visible", position: "position", fullScreen: "fullScreen", header: "header", maskStyle: "maskStyle", closable: [2, "closable", "closable", booleanAttribute] }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange" }, features: [i0.ɵɵProvidersFeature([DrawerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c8, decls: 1, vars: 1, consts: [["container", ""], ["notHeadless", ""], ["icon", ""], ["role", "complementary", 3, "ngClass", "style", "class", "keydown", 4, "ngIf"], ["role", "complementary", 3, "keydown", "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass"], [3, "class", 4, "ngIf"], [3, "ngClass", "buttonProps", "ariaLabel", "onClick", "keydown.enter", 4, "ngIf"], [4, "ngIf"], [3, "onClick", "keydown.enter", "ngClass", "buttonProps", "ariaLabel"]], template: function Drawer_Template(rf, ctx) { if (rf & 1) {
815
+ } }, inputs: { appendTo: "appendTo", blockScroll: [2, "blockScroll", "blockScroll", booleanAttribute], style: "style", styleClass: "styleClass", ariaCloseLabel: "ariaCloseLabel", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], modal: [2, "modal", "modal", booleanAttribute], closeButtonProps: "closeButtonProps", dismissible: [2, "dismissible", "dismissible", booleanAttribute], showCloseIcon: [2, "showCloseIcon", "showCloseIcon", booleanAttribute], closeOnEscape: [2, "closeOnEscape", "closeOnEscape", booleanAttribute], transitionOptions: "transitionOptions", visible: "visible", position: "position", fullScreen: "fullScreen", header: "header", maskStyle: "maskStyle", closable: [2, "closable", "closable", booleanAttribute] }, outputs: { onShow: "onShow", onHide: "onHide", visibleChange: "visibleChange" }, features: [i0.ɵɵProvidersFeature([DrawerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c8, decls: 1, vars: 1, consts: [["container", ""], ["icon", ""], ["role", "complementary", 3, "ngClass", "style", "class", "keydown", 4, "ngIf"], ["role", "complementary", 3, "keydown", "ngClass"], [4, "ngTemplateOutlet"], [3, "ngClass"], [3, "class", 4, "ngIf"], [3, "ngClass", "buttonProps", "ariaLabel", "onClick", "keydown.enter", 4, "ngIf"], [4, "ngIf"], [3, "onClick", "keydown.enter", "ngClass", "buttonProps", "ariaLabel"]], template: function Drawer_Template(rf, ctx) { if (rf & 1) {
778
816
  i0.ɵɵprojectionDef();
779
- i0.ɵɵtemplate(0, Drawer_div_0_Template, 5, 21, "div", 3);
817
+ i0.ɵɵtemplate(0, Drawer_div_0_Template, 4, 21, "div", 2);
780
818
  } if (rf & 2) {
781
819
  i0.ɵɵproperty("ngIf", ctx.visible);
782
820
  } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, Button, TimesIcon, SharedModule], encapsulation: 2, data: { animation: [trigger('panelState', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])] }, changeDetection: 0 });
@@ -810,10 +848,11 @@ class Drawer extends BaseComponent {
810
848
  [attr.data-pc-section]="'root'"
811
849
  (keydown)="onKeyDown($event)"
812
850
  >
813
- <ng-container *ngTemplateOutlet="headlessTemplate || notHeadless"></ng-container>
814
- <ng-template #notHeadless>
851
+ @if (headlessTemplate || _headlessTemplate) {
852
+ <ng-container *ngTemplateOutlet="headlessTemplate || _headlessTemplate"></ng-container>
853
+ } @else {
815
854
  <div [ngClass]="cx('header')" [attr.data-pc-section]="'header'">
816
- <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
855
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
817
856
  <div *ngIf="header" [class]="cx('title')">{{ header }}</div>
818
857
  <p-button
819
858
  *ngIf="showCloseIcon && closable"
@@ -826,23 +865,23 @@ class Drawer extends BaseComponent {
826
865
  [attr.data-pc-group-section]="'iconcontainer'"
827
866
  >
828
867
  <ng-template #icon>
829
- <TimesIcon *ngIf="!closeiconTemplate" [attr.data-pc-section]="'closeicon'" />
830
- <ng-template *ngTemplateOutlet="closeiconTemplate"></ng-template>
868
+ <TimesIcon *ngIf="!closeIconTemplate && !_closeIconTemplate" [attr.data-pc-section]="'closeicon'" />
869
+ <ng-template *ngTemplateOutlet="closeIconTemplate || _closeIconTemplate"></ng-template>
831
870
  </ng-template>
832
871
  </p-button>
833
872
  </div>
834
873
 
835
874
  <div [ngClass]="cx('content')" [attr.data-pc-section]="'content'">
836
875
  <ng-content></ng-content>
837
- <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
876
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
838
877
  </div>
839
878
 
840
- <ng-container *ngIf="footerTemplate">
879
+ <ng-container *ngIf="footerTemplate || _footerTemplate">
841
880
  <div [ngClass]="cx('footer')" [attr.data-pc-section]="'footer'">
842
- <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
881
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
843
882
  </div>
844
883
  </ng-container>
845
- </ng-template>
884
+ }
846
885
  </div>
847
886
  `,
848
887
  animations: [trigger('panelState', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],
@@ -893,6 +932,9 @@ class Drawer extends BaseComponent {
893
932
  type: Input
894
933
  }], maskStyle: [{
895
934
  type: Input
935
+ }], closable: [{
936
+ type: Input,
937
+ args: [{ transform: booleanAttribute }]
896
938
  }], onShow: [{
897
939
  type: Output
898
940
  }], onHide: [{
@@ -910,24 +952,24 @@ class Drawer extends BaseComponent {
910
952
  args: ['closeButton']
911
953
  }], headerTemplate: [{
912
954
  type: ContentChild,
913
- args: ['header']
955
+ args: ['header', { descendants: false }]
914
956
  }], footerTemplate: [{
915
957
  type: ContentChild,
916
- args: ['footer']
958
+ args: ['footer', { descendants: false }]
917
959
  }], contentTemplate: [{
918
960
  type: ContentChild,
919
- args: ['content']
920
- }], closeiconTemplate: [{
961
+ args: ['content', { descendants: false }]
962
+ }], closeIconTemplate: [{
921
963
  type: ContentChild,
922
- args: ['closeicon']
964
+ args: ['closeicon', { descendants: false }]
923
965
  }], headlessTemplate: [{
924
966
  type: ContentChild,
925
- args: ['headless']
926
- }], closable: [{
927
- type: Input,
928
- args: [{ transform: booleanAttribute }]
967
+ args: ['headless', { descendants: false }]
968
+ }], templates: [{
969
+ type: ContentChildren,
970
+ args: [PrimeTemplate]
929
971
  }] }); })();
930
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Drawer, { className: "Drawer", filePath: "drawer.ts", lineNumber: 87 }); })();
972
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Drawer, { className: "Drawer", filePath: "drawer.ts", lineNumber: 108 }); })();
931
973
  class DrawerModule {
932
974
  static ɵfac = function DrawerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DrawerModule)(); };
933
975
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DrawerModule });
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-drawer.mjs","sources":["../../src/drawer/style/drawerstyle.ts","../../src/drawer/drawer.ts","../../src/drawer/primeng-drawer.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-drawer {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n transform: translate3d(0px, 0px, 0px);\n position: fixed;\n transition: transform 0.3s;\n background: ${dt('drawer.background')};\n color: ${dt('drawer.color')};\n border: 1px solid ${dt('drawer.border.color')};\n box-shadow: ${dt('drawer.shadow')};\n}\n\n.p-drawer-content {\n overflow-y: auto;\n flex-grow: 1;\n padding: ${dt('drawer.content.padding')};\n}\n\n.p-drawer-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: ${dt('drawer.header.padding')};\n}\n\n.p-drawer-footer {\n padding: ${dt('drawer.header.padding')};\n}\n\n.p-drawer-title {\n font-weight: ${dt('drawer.title.font.weight')};\n font-size: ${dt('drawer.title.font.size')};\n}\n\n.p-drawer-full .p-drawer {\n transition: none;\n transform: none;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px !important;\n left: 0px !important;\n border-width: 1px;\n}\n\n.p-drawer-left .p-drawer {\n align-self: start;\n width: 20rem;\n height: 100%;\n border-right-width: 1px;\n}\n\n.p-drawer-right .p-drawer {\n align-self: end;\n width: 20rem;\n height: 100%;\n border-left-width: 1px;\n}\n\n.p-drawer-top .p-drawer {\n height: 10rem;\n width: 100%;\n border-bottom-width: 1px;\n}\n\n.p-drawer-bottom .p-drawer {\n height: 10rem;\n width: 100%;\n border-top-width: 1px;\n}\n\n.p-drawer-left .p-drawer-content,\n.p-drawer-right .p-drawer-content,\n.p-drawer-top .p-drawer-content,\n.p-drawer-bottom .p-drawer-content {\n width: 100%;\n height: 100%;\n}\n\n.p-drawer-open {\n display: flex;\n}\n\n.p-drawer-top {\n justify-content: flex-start;\n}\n\n.p-drawer-bottom {\n justify-content: flex-end;\n}\n\n.p-drawer {\n position: fixed;\n transition: transform 0.3s;\n display: flex;\n flex-direction: column;\n}\n\n.p-drawer-content {\n position: relative;\n overflow-y: auto;\n flex-grow: 1;\n}\n\n.p-drawer-header {\n display: flex;\n align-items: center;\n}\n\n.p-drawer-footer {\n margin-top: auto;\n}\n\n.p-drawer-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: auto;\n}\n\n.p-drawer-left {\n top: 0;\n left: 0;\n width: 20rem;\n height: 100%;\n}\n\n.p-drawer-right {\n top: 0;\n right: 0;\n width: 20rem;\n height: 100%;\n}\n\n.p-drawer-top {\n top: 0;\n left: 0;\n width: 100%;\n height: 10rem;\n}\n\n.p-drawer-bottom {\n bottom: 0;\n left: 0;\n width: 100%;\n height: 10rem;\n}\n\n.p-drawer-full {\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n -webkit-transition: none;\n transition: none;\n}\n\n.p-drawer-mask {\n background-color: rgba(0, 0, 0, 0.4);\n transition-duration: 0.2s;\n}\n\n.p-overlay-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-mask:dir(rtl) {\n flex-direction: row-reverse;\n}\n\n.p-overlay-mask-enter {\n animation: p-overlay-mask-enter-animation 150ms forwards;\n}\n\n.p-overlay-mask-leave {\n animation: p-overlay-mask-leave-animation 150ms forwards;\n}\n\n@keyframes p-overlay-mask-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: rgba(0, 0, 0, 0.4);\n }\n}\n@keyframes p-overlay-mask-leave-animation {\n from {\n background-color: rgba(0, 0, 0, 0.4);\n }\n to {\n background-color: transparent;\n }\n}\n`;\n\nconst inlineStyles = {\n mask: ({ instance }) => ({\n position: 'fixed',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: instance.position === 'top' ? 'flex-start' : instance.position === 'bottom' ? 'flex-end' : 'center'\n })\n};\n\nconst classes = {\n mask: ({ instance }) => ({\n 'p-drawer-mask': true,\n 'p-overlay-mask p-overlay-mask-enter': instance.modal,\n 'p-drawer-open': instance.containerVisible,\n 'p-drawer-full': instance.fullScreen,\n [`p-drawer-${instance.position}`]: !!instance.position\n }),\n root: ({ instance }) => ({\n 'p-drawer p-component': true,\n 'p-drawer-full': instance.fullScreen\n }),\n header: 'p-drawer-header',\n title: 'p-drawer-title',\n pcCloseButton: 'p-drawer-close-button',\n content: 'p-drawer-content',\n footer: 'p-drawer-footer'\n};\n\n@Injectable()\nexport class DrawerStyle extends BaseStyle {\n name = 'drawer';\n\n theme = theme;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Drawer is a panel component displayed as an overlay at the edges of the screen.\n *\n * [Live Demo](https://www.primeng.org/drawer)\n *\n * @module drawerstyle\n *\n */\nexport enum DrawerClasses {\n /**\n * Class name of the mask element\n */\n mask = 'p-drawer-mask',\n /**\n * Class name of the root element\n */\n root = 'p-drawer',\n /**\n * Class name of the header element\n */\n header = 'p-drawer-header',\n /**\n * Class name of the title element\n */\n title = 'p-drawer-title',\n /**\n * Class name of the close button element\n */\n pcCloseButton = 'p-drawer-close-button',\n /**\n * Class name of the content element\n */\n content = 'p-drawer-content'\n}\n\nexport interface DrawerStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { addClass, appendChild, blockBodyScroll, setAttribute, unblockBodyScroll } from '@primeuix/utils';\nimport { SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button, ButtonProps } from 'primeng/button';\nimport { TimesIcon } from 'primeng/icons';\nimport { Nullable, VoidListener } from 'primeng/ts-helpers';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { DrawerStyle } from './style/drawerstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}')]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * Sidebar is a panel component displayed as an overlay at the edges of the screen.\n * @group Components\n */\n@Component({\n selector: 'p-drawer',\n standalone: true,\n imports: [CommonModule, Button, TimesIcon, SharedModule],\n template: `\n <div\n #container\n [ngClass]=\"{\n 'p-drawer': true,\n 'p-drawer-active': visible,\n 'p-drawer-left': position === 'left' && !fullScreen,\n 'p-drawer-right': position === 'right' && !fullScreen,\n 'p-drawer-top': position === 'top' && !fullScreen,\n 'p-drawer-bottom': position === 'bottom' && !fullScreen,\n 'p-drawer-full': fullScreen || position === 'full'\n }\"\n *ngIf=\"visible\"\n [@panelState]=\"{ value: 'visible', params: { transform: transformOptions, transition: transitionOptions } }\"\n (@panelState.start)=\"onAnimationStart($event)\"\n (@panelState.done)=\"onAnimationEnd($event)\"\n [style]=\"style\"\n [class]=\"styleClass\"\n role=\"complementary\"\n [attr.data-pc-name]=\"'sidebar'\"\n [attr.data-pc-section]=\"'root'\"\n (keydown)=\"onKeyDown($event)\"\n >\n <ng-container *ngTemplateOutlet=\"headlessTemplate || notHeadless\"></ng-container>\n <ng-template #notHeadless>\n <div [ngClass]=\"cx('header')\" [attr.data-pc-section]=\"'header'\">\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n <div *ngIf=\"header\" [class]=\"cx('title')\">{{ header }}</div>\n <p-button\n *ngIf=\"showCloseIcon && closable\"\n [ngClass]=\"cx('closeButton')\"\n (onClick)=\"close($event)\"\n (keydown.enter)=\"close($event)\"\n [buttonProps]=\"closeButtonProps\"\n [ariaLabel]=\"ariaCloseLabel\"\n [attr.data-pc-section]=\"'closebutton'\"\n [attr.data-pc-group-section]=\"'iconcontainer'\"\n >\n <ng-template #icon>\n <TimesIcon *ngIf=\"!closeiconTemplate\" [attr.data-pc-section]=\"'closeicon'\" />\n <ng-template *ngTemplateOutlet=\"closeiconTemplate\"></ng-template>\n </ng-template>\n </p-button>\n </div>\n\n <div [ngClass]=\"cx('content')\" [attr.data-pc-section]=\"'content'\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </div>\n\n <ng-container *ngIf=\"footerTemplate\">\n <div [ngClass]=\"cx('footer')\" [attr.data-pc-section]=\"'footer'\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </ng-container>\n </ng-template>\n </div>\n `,\n animations: [trigger('panelState', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DrawerStyle]\n})\nexport class Drawer extends BaseComponent implements AfterViewInit, OnDestroy {\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 * Whether to block scrolling of the document when drawer is active.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = false;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Aria label of the close icon.\n * @group Props\n */\n @Input() ariaCloseLabel: 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 * Whether an overlay mask is displayed behind the drawer.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) modal: boolean = true;\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n @Input() closeButtonProps: ButtonProps = { severity: 'secondary', text: true, rounded: true };\n /**\n * Whether to dismiss drawer on click of the mask.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissible: boolean = true;\n /**\n * Whether to display the close icon.\n * @group Props\n * @deprecated use 'closable' instead.\n */\n @Input({ transform: booleanAttribute }) showCloseIcon: boolean = true;\n /**\n * Specifies if pressing escape key should hide the drawer.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\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 * Specifies the visibility of the dialog.\n * @group Props\n */\n @Input() get visible(): boolean {\n return this._visible as boolean;\n }\n set visible(val: boolean) {\n this._visible = val;\n }\n /**\n * Specifies the position of the drawer, valid values are \"left\", \"right\", \"bottom\" and \"top\".\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n if (value === 'full') {\n this.transformOptions = 'none';\n return;\n }\n switch (value) {\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\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 }\n }\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input() get fullScreen(): boolean {\n return this._fullScreen;\n }\n set fullScreen(value: boolean) {\n this._fullScreen = value;\n\n if (value) this.transformOptions = 'none';\n }\n /**\n * Title content of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Style of the mask.\n * @group Props\n */\n @Input() maskStyle: { [klass: string]: any } | null | undefined;\n /**\n * Callback to invoke when dialog is shown.\n * @group Emits\n */\n @Output() onShow: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when dialog is hidden.\n * @group Emits\n */\n @Output() onHide: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when dialog visibility is changed.\n * @param {boolean} value - Visible value.\n * @group Emits\n */\n @Output() visibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n @ViewChild('maskRef') maskRef: ElementRef | undefined;\n\n @ViewChild('container') containerViewChild: ElementRef | undefined;\n\n @ViewChild('closeButton') closeButtonViewChild: ElementRef | undefined;\n\n initialized: boolean | undefined;\n\n _visible: boolean | undefined;\n\n _position: string = 'left';\n\n _fullScreen: boolean = false;\n\n container: Nullable<HTMLDivElement>;\n\n transformOptions: any = 'translate3d(-100%, 0px, 0px)';\n\n mask: Nullable<HTMLDivElement>;\n\n maskClickListener: VoidListener;\n\n documentEscapeListener: VoidListener;\n\n animationEndListener: VoidListener;\n\n _componentStyle = inject(DrawerStyle);\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.initialized = true;\n }\n /**\n * Content template for the content of the drawer.\n * @group Templates\n */\n @ContentChild('header') headerTemplate: TemplateRef<any> | undefined;\n /**\n * Header template for the header of the drawer.\n * @group Templates\n */\n @ContentChild('footer') footerTemplate: TemplateRef<any> | undefined;\n /**\n * Content template for the footer of the drawer.\n * @group Templates\n */\n @ContentChild('content') contentTemplate: TemplateRef<any> | undefined;\n /**\n * Close icon template for the close icon of the drawer.\n * @group Templates\n */\n @ContentChild('closeicon') closeiconTemplate: TemplateRef<any> | undefined;\n /**\n * Headless template for the headless drawer.\n * @group Templates\n */\n @ContentChild('headless') headlessTemplate: TemplateRef<any> | undefined;\n /**\n * Whether to display close button.\n * @group Props\n * @defaultValue true\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n\n onKeyDown(event: KeyboardEvent) {\n if (event.code === 'Escape') {\n this.hide(false);\n }\n }\n\n show() {\n if (this.autoZIndex) {\n ZIndexUtils.set('modal', this.container, this.baseZIndex || this.config.zIndex.modal);\n }\n\n if (this.modal) {\n this.enableModality();\n }\n\n this.onShow.emit({});\n this.visibleChange.emit(true);\n }\n\n hide(emit: boolean = true) {\n if (emit) {\n this.onHide.emit({});\n }\n\n if (this.modal) {\n this.disableModality();\n }\n }\n\n close(event: Event) {\n this.hide();\n this.visibleChange.emit(false);\n event.preventDefault();\n }\n\n enableModality() {\n const activeDrawers = this.document.querySelectorAll('.p-drawer-active');\n const activeDrawersLength = activeDrawers.length;\n const zIndex = activeDrawersLength == 1 ? String(parseInt((this.container as HTMLDivElement).style.zIndex) - 1) : String(parseInt((activeDrawers[0] as HTMLElement).style.zIndex) - 1);\n\n if (!this.mask) {\n this.mask = this.renderer.createElement('div');\n this.renderer.setStyle(this.mask, 'zIndex', zIndex);\n setAttribute(this.mask, 'style', this.maskStyle);\n addClass(this.mask, 'p-overlay-mask p-drawer-mask p-overlay-mask-enter');\n\n if (this.dismissible) {\n this.maskClickListener = this.renderer.listen(this.mask, 'click', (event: any) => {\n if (this.dismissible) {\n this.close(event);\n }\n });\n }\n\n this.renderer.appendChild(this.document.body, this.mask);\n if (this.blockScroll) {\n blockBodyScroll();\n }\n }\n }\n\n disableModality() {\n if (this.mask) {\n addClass(this.mask, 'p-overlay-mask-leave');\n this.animationEndListener = this.renderer.listen(this.mask, 'animationend', this.destroyModal.bind(this));\n }\n }\n\n destroyModal() {\n this.unbindMaskClickListener();\n\n if (this.mask) {\n this.renderer.removeChild(this.document.body, this.mask);\n }\n\n if (this.blockScroll) {\n unblockBodyScroll();\n }\n\n this.unbindAnimationEndListener();\n this.mask = null;\n }\n\n onAnimationStart(event: any) {\n switch (event.toState) {\n case 'visible':\n this.container = event.element;\n this.appendContainer();\n this.show();\n\n if (this.closeOnEscape) {\n this.bindDocumentEscapeListener();\n }\n break;\n }\n }\n\n onAnimationEnd(event: any) {\n switch (event.toState) {\n case 'void':\n this.hide(false);\n ZIndexUtils.clear(this.container);\n this.unbindGlobalListeners();\n break;\n }\n }\n\n appendContainer() {\n if (this.appendTo) {\n if (this.appendTo === 'body') this.renderer.appendChild(this.document.body, this.container);\n else appendChild(this.appendTo, this.container);\n }\n }\n\n bindDocumentEscapeListener() {\n const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : this.document;\n\n this.documentEscapeListener = this.renderer.listen(documentTarget, 'keydown', (event) => {\n if (event.which == 27) {\n if (parseInt((this.container as HTMLDivElement).style.zIndex) === ZIndexUtils.get(this.container)) {\n this.close(event);\n }\n }\n });\n }\n\n unbindDocumentEscapeListener() {\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n this.documentEscapeListener = null;\n }\n }\n\n unbindMaskClickListener() {\n if (this.maskClickListener) {\n this.maskClickListener();\n this.maskClickListener = null;\n }\n }\n\n unbindGlobalListeners() {\n this.unbindMaskClickListener();\n this.unbindDocumentEscapeListener();\n }\n\n unbindAnimationEndListener() {\n if (this.animationEndListener && this.mask) {\n this.animationEndListener();\n this.animationEndListener = null;\n }\n }\n\n ngOnDestroy() {\n this.initialized = false;\n\n if (this.visible && this.modal) {\n this.destroyModal();\n }\n\n if (this.appendTo && this.container) {\n this.renderer.appendChild(this.el.nativeElement, this.container);\n }\n\n if (this.container && this.autoZIndex) {\n ZIndexUtils.clear(this.container);\n }\n\n this.container = null;\n this.unbindGlobalListeners();\n this.unbindAnimationEndListener();\n }\n}\n\n@NgModule({\n imports: [Drawer, SharedModule],\n exports: [Drawer, SharedModule]\n})\nexport class DrawerModule {}\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;;;;;;;;kBAQR,EAAE,CAAC,mBAAmB,CAAC,CAAA;aAC5B,EAAE,CAAC,cAAc,CAAC,CAAA;wBACP,EAAE,CAAC,qBAAqB,CAAC,CAAA;kBAC/B,EAAE,CAAC,eAAe,CAAC,CAAA;;;;;;eAMtB,EAAE,CAAC,wBAAwB,CAAC,CAAA;;;;;;;;eAQ5B,EAAE,CAAC,uBAAuB,CAAC,CAAA;;;;eAI3B,EAAE,CAAC,uBAAuB,CAAC,CAAA;;;;mBAIvB,EA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ACrdlC;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-drawer.mjs","sources":["../../src/drawer/style/drawerstyle.ts","../../src/drawer/drawer.ts","../../src/drawer/primeng-drawer.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-drawer {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n transform: translate3d(0px, 0px, 0px);\n position: fixed;\n transition: transform 0.3s;\n background: ${dt('drawer.background')};\n color: ${dt('drawer.color')};\n border: 1px solid ${dt('drawer.border.color')};\n box-shadow: ${dt('drawer.shadow')};\n}\n\n.p-drawer-content {\n overflow-y: auto;\n flex-grow: 1;\n padding: ${dt('drawer.content.padding')};\n}\n\n.p-drawer-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n padding: ${dt('drawer.header.padding')};\n}\n\n.p-drawer-footer {\n padding: ${dt('drawer.header.padding')};\n}\n\n.p-drawer-title {\n font-weight: ${dt('drawer.title.font.weight')};\n font-size: ${dt('drawer.title.font.size')};\n}\n\n.p-drawer-full .p-drawer {\n transition: none;\n transform: none;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px !important;\n left: 0px !important;\n border-width: 1px;\n}\n\n.p-drawer-left .p-drawer {\n align-self: start;\n width: 20rem;\n height: 100%;\n border-right-width: 1px;\n}\n\n.p-drawer-right .p-drawer {\n align-self: end;\n width: 20rem;\n height: 100%;\n border-left-width: 1px;\n}\n\n.p-drawer-top .p-drawer {\n height: 10rem;\n width: 100%;\n border-bottom-width: 1px;\n}\n\n.p-drawer-bottom .p-drawer {\n height: 10rem;\n width: 100%;\n border-top-width: 1px;\n}\n\n.p-drawer-left .p-drawer-content,\n.p-drawer-right .p-drawer-content,\n.p-drawer-top .p-drawer-content,\n.p-drawer-bottom .p-drawer-content {\n width: 100%;\n height: 100%;\n}\n\n.p-drawer-open {\n display: flex;\n}\n\n.p-drawer-top {\n justify-content: flex-start;\n}\n\n.p-drawer-bottom {\n justify-content: flex-end;\n}\n\n.p-drawer {\n position: fixed;\n transition: transform 0.3s;\n display: flex;\n flex-direction: column;\n}\n\n.p-drawer-content {\n position: relative;\n overflow-y: auto;\n flex-grow: 1;\n}\n\n.p-drawer-header {\n display: flex;\n align-items: center;\n}\n\n.p-drawer-footer {\n margin-top: auto;\n}\n\n.p-drawer-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: auto;\n}\n\n.p-drawer-left {\n top: 0;\n left: 0;\n width: 20rem;\n height: 100%;\n}\n\n.p-drawer-right {\n top: 0;\n right: 0;\n width: 20rem;\n height: 100%;\n}\n\n.p-drawer-top {\n top: 0;\n left: 0;\n width: 100%;\n height: 10rem;\n}\n\n.p-drawer-bottom {\n bottom: 0;\n left: 0;\n width: 100%;\n height: 10rem;\n}\n\n.p-drawer-full {\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n -webkit-transition: none;\n transition: none;\n}\n\n.p-drawer-mask {\n background-color: rgba(0, 0, 0, 0.4);\n transition-duration: 0.2s;\n}\n\n.p-overlay-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-mask:dir(rtl) {\n flex-direction: row-reverse;\n}\n\n.p-overlay-mask-enter {\n animation: p-overlay-mask-enter-animation 150ms forwards;\n}\n\n.p-overlay-mask-leave {\n animation: p-overlay-mask-leave-animation 150ms forwards;\n}\n\n@keyframes p-overlay-mask-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: rgba(0, 0, 0, 0.4);\n }\n}\n@keyframes p-overlay-mask-leave-animation {\n from {\n background-color: rgba(0, 0, 0, 0.4);\n }\n to {\n background-color: transparent;\n }\n}\n`;\n\nconst inlineStyles = {\n mask: ({ instance }) => ({\n position: 'fixed',\n height: '100%',\n width: '100%',\n left: 0,\n top: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: instance.position === 'top' ? 'flex-start' : instance.position === 'bottom' ? 'flex-end' : 'center'\n })\n};\n\nconst classes = {\n mask: ({ instance }) => ({\n 'p-drawer-mask': true,\n 'p-overlay-mask p-overlay-mask-enter': instance.modal,\n 'p-drawer-open': instance.containerVisible,\n 'p-drawer-full': instance.fullScreen,\n [`p-drawer-${instance.position}`]: !!instance.position\n }),\n root: ({ instance }) => ({\n 'p-drawer p-component': true,\n 'p-drawer-full': instance.fullScreen\n }),\n header: 'p-drawer-header',\n title: 'p-drawer-title',\n pcCloseButton: 'p-drawer-close-button',\n content: 'p-drawer-content',\n footer: 'p-drawer-footer'\n};\n\n@Injectable()\nexport class DrawerStyle extends BaseStyle {\n name = 'drawer';\n\n theme = theme;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Drawer is a panel component displayed as an overlay at the edges of the screen.\n *\n * [Live Demo](https://www.primeng.org/drawer)\n *\n * @module drawerstyle\n *\n */\nexport enum DrawerClasses {\n /**\n * Class name of the mask element\n */\n mask = 'p-drawer-mask',\n /**\n * Class name of the root element\n */\n root = 'p-drawer',\n /**\n * Class name of the header element\n */\n header = 'p-drawer-header',\n /**\n * Class name of the title element\n */\n title = 'p-drawer-title',\n /**\n * Class name of the close button element\n */\n pcCloseButton = 'p-drawer-close-button',\n /**\n * Class name of the content element\n */\n content = 'p-drawer-content'\n}\n\nexport interface DrawerStyle extends BaseStyle {}\n","import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n inject,\n Input,\n NgModule,\n numberAttribute,\n OnDestroy,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { addClass, appendChild, blockBodyScroll, setAttribute, unblockBodyScroll } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { Button, ButtonProps } from 'primeng/button';\nimport { TimesIcon } from 'primeng/icons';\nimport { Nullable, VoidListener } from 'primeng/ts-helpers';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { DrawerStyle } from './style/drawerstyle';\n\nconst showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}')]);\n\nconst hideAnimation = animation([animate('{{transition}}', style({ transform: '{{transform}}', opacity: 0 }))]);\n/**\n * Sidebar is a panel component displayed as an overlay at the edges of the screen.\n * @group Components\n */\n@Component({\n selector: 'p-drawer',\n standalone: true,\n imports: [CommonModule, Button, TimesIcon, SharedModule],\n template: `\n <div\n #container\n [ngClass]=\"{\n 'p-drawer': true,\n 'p-drawer-active': visible,\n 'p-drawer-left': position === 'left' && !fullScreen,\n 'p-drawer-right': position === 'right' && !fullScreen,\n 'p-drawer-top': position === 'top' && !fullScreen,\n 'p-drawer-bottom': position === 'bottom' && !fullScreen,\n 'p-drawer-full': fullScreen || position === 'full'\n }\"\n *ngIf=\"visible\"\n [@panelState]=\"{ value: 'visible', params: { transform: transformOptions, transition: transitionOptions } }\"\n (@panelState.start)=\"onAnimationStart($event)\"\n (@panelState.done)=\"onAnimationEnd($event)\"\n [style]=\"style\"\n [class]=\"styleClass\"\n role=\"complementary\"\n [attr.data-pc-name]=\"'sidebar'\"\n [attr.data-pc-section]=\"'root'\"\n (keydown)=\"onKeyDown($event)\"\n >\n @if (headlessTemplate || _headlessTemplate) {\n <ng-container *ngTemplateOutlet=\"headlessTemplate || _headlessTemplate\"></ng-container>\n } @else {\n <div [ngClass]=\"cx('header')\" [attr.data-pc-section]=\"'header'\">\n <ng-container *ngTemplateOutlet=\"headerTemplate || _headerTemplate\"></ng-container>\n <div *ngIf=\"header\" [class]=\"cx('title')\">{{ header }}</div>\n <p-button\n *ngIf=\"showCloseIcon && closable\"\n [ngClass]=\"cx('closeButton')\"\n (onClick)=\"close($event)\"\n (keydown.enter)=\"close($event)\"\n [buttonProps]=\"closeButtonProps\"\n [ariaLabel]=\"ariaCloseLabel\"\n [attr.data-pc-section]=\"'closebutton'\"\n [attr.data-pc-group-section]=\"'iconcontainer'\"\n >\n <ng-template #icon>\n <TimesIcon *ngIf=\"!closeIconTemplate && !_closeIconTemplate\" [attr.data-pc-section]=\"'closeicon'\" />\n <ng-template *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-template>\n </ng-template>\n </p-button>\n </div>\n\n <div [ngClass]=\"cx('content')\" [attr.data-pc-section]=\"'content'\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate || _contentTemplate\"></ng-container>\n </div>\n\n <ng-container *ngIf=\"footerTemplate || _footerTemplate\">\n <div [ngClass]=\"cx('footer')\" [attr.data-pc-section]=\"'footer'\">\n <ng-container *ngTemplateOutlet=\"footerTemplate || _footerTemplate\"></ng-container>\n </div>\n </ng-container>\n }\n </div>\n `,\n animations: [trigger('panelState', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DrawerStyle]\n})\nexport class Drawer extends BaseComponent implements AfterViewInit, AfterContentInit, OnDestroy {\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 * Whether to block scrolling of the document when drawer is active.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) blockScroll: boolean = false;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Aria label of the close icon.\n * @group Props\n */\n @Input() ariaCloseLabel: 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 * Whether an overlay mask is displayed behind the drawer.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) modal: boolean = true;\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n @Input() closeButtonProps: ButtonProps = { severity: 'secondary', text: true, rounded: true };\n /**\n * Whether to dismiss drawer on click of the mask.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) dismissible: boolean = true;\n /**\n * Whether to display the close icon.\n * @group Props\n * @deprecated use 'closable' instead.\n */\n @Input({ transform: booleanAttribute }) showCloseIcon: boolean = true;\n /**\n * Specifies if pressing escape key should hide the drawer.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closeOnEscape: boolean = true;\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 * Specifies the visibility of the dialog.\n * @group Props\n */\n @Input() get visible(): boolean {\n return this._visible as boolean;\n }\n set visible(val: boolean) {\n this._visible = val;\n }\n /**\n * Specifies the position of the drawer, valid values are \"left\", \"right\", \"bottom\" and \"top\".\n * @group Props\n */\n @Input() get position(): string {\n return this._position;\n }\n set position(value: string) {\n this._position = value;\n if (value === 'full') {\n this.transformOptions = 'none';\n return;\n }\n switch (value) {\n case 'left':\n this.transformOptions = 'translate3d(-100%, 0px, 0px)';\n break;\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 }\n }\n /**\n * Adds a close icon to the header to hide the dialog.\n * @group Props\n */\n @Input() get fullScreen(): boolean {\n return this._fullScreen;\n }\n set fullScreen(value: boolean) {\n this._fullScreen = value;\n\n if (value) this.transformOptions = 'none';\n }\n /**\n * Title content of the dialog.\n * @group Props\n */\n @Input() header: string | undefined;\n /**\n * Style of the mask.\n * @group Props\n */\n @Input() maskStyle: { [klass: string]: any } | null | undefined;\n /**\n * Whether to display close button.\n * @group Props\n * @defaultValue true\n */\n @Input({ transform: booleanAttribute }) closable: boolean = true;\n /**\n * Callback to invoke when dialog is shown.\n * @group Emits\n */\n @Output() onShow: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when dialog is hidden.\n * @group Emits\n */\n @Output() onHide: EventEmitter<any> = new EventEmitter<any>();\n /**\n * Callback to invoke when dialog visibility is changed.\n * @param {boolean} value - Visible value.\n * @group Emits\n */\n @Output() visibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n @ViewChild('maskRef') maskRef: ElementRef | undefined;\n\n @ViewChild('container') containerViewChild: ElementRef | undefined;\n\n @ViewChild('closeButton') closeButtonViewChild: ElementRef | undefined;\n\n initialized: boolean | undefined;\n\n _visible: boolean | undefined;\n\n _position: string = 'left';\n\n _fullScreen: boolean = false;\n\n container: Nullable<HTMLDivElement>;\n\n transformOptions: any = 'translate3d(-100%, 0px, 0px)';\n\n mask: Nullable<HTMLDivElement>;\n\n maskClickListener: VoidListener;\n\n documentEscapeListener: VoidListener;\n\n animationEndListener: VoidListener;\n\n _componentStyle = inject(DrawerStyle);\n\n ngAfterViewInit() {\n super.ngAfterViewInit();\n this.initialized = true;\n }\n /**\n * Content template for the content of the drawer.\n * @group Templates\n */\n @ContentChild('header', { descendants: false }) headerTemplate: TemplateRef<any> | undefined;\n /**\n * Header template for the header of the drawer.\n * @group Templates\n */\n @ContentChild('footer', { descendants: false }) footerTemplate: TemplateRef<any> | undefined;\n /**\n * Content template for the footer of the drawer.\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: TemplateRef<any> | undefined;\n /**\n * Close icon template for the close icon of the drawer.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n /**\n * Headless template for the headless drawer.\n * @group Templates\n */\n @ContentChild('headless', { descendants: false }) headlessTemplate: TemplateRef<any> | undefined;\n\n _headerTemplate: TemplateRef<any> | undefined;\n\n _footerTemplate: TemplateRef<any> | undefined;\n\n _contentTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n _headlessTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n case 'header':\n this._headerTemplate = item.template;\n break;\n case 'footer':\n this._footerTemplate = item.template;\n break;\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n case 'headless':\n this._headlessTemplate = item.template;\n break;\n\n default:\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n\n onKeyDown(event: KeyboardEvent) {\n if (event.code === 'Escape') {\n this.hide(false);\n }\n }\n\n show() {\n if (this.autoZIndex) {\n ZIndexUtils.set('modal', this.container, this.baseZIndex || this.config.zIndex.modal);\n }\n\n if (this.modal) {\n this.enableModality();\n }\n\n this.onShow.emit({});\n this.visibleChange.emit(true);\n }\n\n hide(emit: boolean = true) {\n if (emit) {\n this.onHide.emit({});\n }\n\n if (this.modal) {\n this.disableModality();\n }\n }\n\n close(event: Event) {\n this.hide();\n this.visibleChange.emit(false);\n event.preventDefault();\n }\n\n enableModality() {\n const activeDrawers = this.document.querySelectorAll('.p-drawer-active');\n const activeDrawersLength = activeDrawers.length;\n const zIndex = activeDrawersLength == 1 ? String(parseInt((this.container as HTMLDivElement).style.zIndex) - 1) : String(parseInt((activeDrawers[0] as HTMLElement).style.zIndex) - 1);\n this.container.setAttribute(this.attrSelector, '');\n\n if (!this.mask) {\n this.mask = this.renderer.createElement('div');\n this.renderer.setStyle(this.mask, 'zIndex', zIndex);\n setAttribute(this.mask, 'style', this.maskStyle);\n addClass(this.mask, 'p-overlay-mask p-drawer-mask p-overlay-mask-enter');\n\n if (this.dismissible) {\n this.maskClickListener = this.renderer.listen(this.mask, 'click', (event: any) => {\n if (this.dismissible) {\n this.close(event);\n }\n });\n }\n\n this.renderer.appendChild(this.document.body, this.mask);\n if (this.blockScroll) {\n blockBodyScroll();\n }\n }\n }\n\n disableModality() {\n if (this.mask) {\n addClass(this.mask, 'p-overlay-mask-leave');\n this.animationEndListener = this.renderer.listen(this.mask, 'animationend', this.destroyModal.bind(this));\n }\n }\n\n destroyModal() {\n this.unbindMaskClickListener();\n\n if (this.mask) {\n this.renderer.removeChild(this.document.body, this.mask);\n }\n\n if (this.blockScroll) {\n unblockBodyScroll();\n }\n\n this.unbindAnimationEndListener();\n this.mask = null;\n }\n\n onAnimationStart(event: any) {\n switch (event.toState) {\n case 'visible':\n this.container = event.element;\n this.appendContainer();\n this.show();\n\n if (this.closeOnEscape) {\n this.bindDocumentEscapeListener();\n }\n break;\n }\n }\n\n onAnimationEnd(event: any) {\n switch (event.toState) {\n case 'void':\n this.hide(false);\n ZIndexUtils.clear(this.container);\n this.unbindGlobalListeners();\n break;\n }\n }\n\n appendContainer() {\n if (this.appendTo) {\n if (this.appendTo === 'body') this.renderer.appendChild(this.document.body, this.container);\n else appendChild(this.appendTo, this.container);\n }\n }\n\n bindDocumentEscapeListener() {\n const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : this.document;\n\n this.documentEscapeListener = this.renderer.listen(documentTarget, 'keydown', (event) => {\n if (event.which == 27) {\n if (parseInt((this.container as HTMLDivElement).style.zIndex) === ZIndexUtils.get(this.container)) {\n this.close(event);\n }\n }\n });\n }\n\n unbindDocumentEscapeListener() {\n if (this.documentEscapeListener) {\n this.documentEscapeListener();\n this.documentEscapeListener = null;\n }\n }\n\n unbindMaskClickListener() {\n if (this.maskClickListener) {\n this.maskClickListener();\n this.maskClickListener = null;\n }\n }\n\n unbindGlobalListeners() {\n this.unbindMaskClickListener();\n this.unbindDocumentEscapeListener();\n }\n\n unbindAnimationEndListener() {\n if (this.animationEndListener && this.mask) {\n this.animationEndListener();\n this.animationEndListener = null;\n }\n }\n\n ngOnDestroy() {\n this.initialized = false;\n\n if (this.visible && this.modal) {\n this.destroyModal();\n }\n\n if (this.appendTo && this.container) {\n this.renderer.appendChild(this.el.nativeElement, this.container);\n }\n\n if (this.container && this.autoZIndex) {\n ZIndexUtils.clear(this.container);\n }\n\n this.container = null;\n this.unbindGlobalListeners();\n this.unbindAnimationEndListener();\n }\n}\n\n@NgModule({\n imports: [Drawer, SharedModule],\n exports: [Drawer, SharedModule]\n})\nexport class DrawerModule {}\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;;;;;;;;kBAQR,EAAE,CAAC,mBAAmB,CAAC,CAAA;aAC5B,EAAE,CAAC,cAAc,CAAC,CAAA;wBACP,EAAE,CAAC,qBAAqB,CAAC,CAAA;kBAC/B,EAAE,CAAC,eAAe,CAAC,CAAA;;;;;;eAMtB,EAAE,CAAC,wBAAwB,CAAC,CAAA;;;;;;;;eAQ5B,EAAE,CAAC,uBAAuB,CAAC,CAAA;;;;eAI3B,EAAE,CAAC,uBAAuB,CAAC,CAAA;;;;mBAIvB,EAAE,CAAC,0BAA0B,CAAC,CAAA;iBAChC,EAAE,CAAC,wBAAwB,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuK5C;AAED,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM;AACrB,QAAA,QAAQ,EAAE,OAAO;AACjB,QAAA,MAAM,EAAE,MAAM;AACd,QAAA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