primeng 19.0.6 → 19.0.8

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 (349) hide show
  1. package/accordion/accordion.d.ts +1 -1
  2. package/basecomponent/basecomponent.d.ts +1 -0
  3. package/confirmdialog/confirmdialog.d.ts +2 -1
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/dragdrop/dragdrop.d.ts +3 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  7. package/fesm2022/primeng-accordion.mjs +358 -561
  8. package/fesm2022/primeng-accordion.mjs.map +1 -1
  9. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  10. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  11. package/fesm2022/primeng-api.mjs +79 -89
  12. package/fesm2022/primeng-api.mjs.map +1 -1
  13. package/fesm2022/primeng-autocomplete.mjs +505 -786
  14. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  15. package/fesm2022/primeng-autofocus.mjs +26 -27
  16. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  17. package/fesm2022/primeng-avatar.mjs +70 -120
  18. package/fesm2022/primeng-avatar.mjs.map +1 -1
  19. package/fesm2022/primeng-avatargroup.mjs +44 -54
  20. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  21. package/fesm2022/primeng-badge.mjs +62 -71
  22. package/fesm2022/primeng-badge.mjs.map +1 -1
  23. package/fesm2022/primeng-base.mjs +6 -6
  24. package/fesm2022/primeng-base.mjs.map +1 -1
  25. package/fesm2022/primeng-basecomponent.mjs +19 -16
  26. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  27. package/fesm2022/primeng-blockui.mjs +66 -87
  28. package/fesm2022/primeng-blockui.mjs.map +1 -1
  29. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  30. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  31. package/fesm2022/primeng-button.mjs +223 -328
  32. package/fesm2022/primeng-button.mjs.map +1 -1
  33. package/fesm2022/primeng-buttongroup.mjs +36 -40
  34. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  35. package/fesm2022/primeng-calendar.mjs +727 -1127
  36. package/fesm2022/primeng-calendar.mjs.map +1 -1
  37. package/fesm2022/primeng-card.mjs +88 -192
  38. package/fesm2022/primeng-card.mjs.map +1 -1
  39. package/fesm2022/primeng-carousel.mjs +218 -405
  40. package/fesm2022/primeng-carousel.mjs.map +1 -1
  41. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  42. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/primeng-chart.mjs +57 -63
  44. package/fesm2022/primeng-chart.mjs.map +1 -1
  45. package/fesm2022/primeng-checkbox.mjs +131 -183
  46. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  47. package/fesm2022/primeng-chip.mjs +92 -188
  48. package/fesm2022/primeng-chip.mjs.map +1 -1
  49. package/fesm2022/primeng-colorpicker.mjs +142 -167
  50. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  51. package/fesm2022/primeng-config.mjs +12 -12
  52. package/fesm2022/primeng-config.mjs.map +1 -1
  53. package/fesm2022/primeng-confirmdialog.mjs +232 -350
  54. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  55. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  56. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  57. package/fesm2022/primeng-contextmenu.mjs +336 -450
  58. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  59. package/fesm2022/primeng-dataview.mjs +249 -352
  60. package/fesm2022/primeng-dataview.mjs.map +1 -1
  61. package/fesm2022/primeng-datepicker.mjs +740 -1136
  62. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  63. package/fesm2022/primeng-defer.mjs +25 -31
  64. package/fesm2022/primeng-defer.mjs.map +1 -1
  65. package/fesm2022/primeng-dialog.mjs +277 -478
  66. package/fesm2022/primeng-dialog.mjs.map +1 -1
  67. package/fesm2022/primeng-divider.mjs +68 -77
  68. package/fesm2022/primeng-divider.mjs.map +1 -1
  69. package/fesm2022/primeng-dock.mjs +138 -167
  70. package/fesm2022/primeng-dock.mjs.map +1 -1
  71. package/fesm2022/primeng-dragdrop.mjs +85 -79
  72. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  73. package/fesm2022/primeng-drawer.mjs +171 -268
  74. package/fesm2022/primeng-drawer.mjs.map +1 -1
  75. package/fesm2022/primeng-dropdown.mjs +529 -867
  76. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  77. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  78. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/primeng-editor.mjs +118 -156
  80. package/fesm2022/primeng-editor.mjs.map +1 -1
  81. package/fesm2022/primeng-fieldset.mjs +153 -247
  82. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  83. package/fesm2022/primeng-fileupload.mjs +370 -687
  84. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  85. package/fesm2022/primeng-floatlabel.mjs +38 -46
  86. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  87. package/fesm2022/primeng-fluid.mjs +33 -41
  88. package/fesm2022/primeng-fluid.mjs.map +1 -1
  89. package/fesm2022/primeng-focustrap.mjs +23 -24
  90. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  91. package/fesm2022/primeng-galleria.mjs +529 -761
  92. package/fesm2022/primeng-galleria.mjs.map +1 -1
  93. package/fesm2022/primeng-iconfield.mjs +42 -51
  94. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  95. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  96. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  97. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  98. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  99. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  100. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  101. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  102. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  103. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  104. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  105. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  106. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  107. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  108. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  109. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  110. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  111. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  112. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  113. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  114. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  116. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  117. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  118. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  119. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  120. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  121. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  122. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  123. package/fesm2022/primeng-icons-ban.mjs +24 -26
  124. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  125. package/fesm2022/primeng-icons-bars.mjs +19 -19
  126. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  127. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  128. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  129. package/fesm2022/primeng-icons-blank.mjs +14 -16
  130. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  131. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  132. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  133. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  134. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  135. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  136. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  137. package/fesm2022/primeng-icons-check.mjs +17 -19
  138. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  139. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  140. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  141. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  142. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  143. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  144. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  145. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  146. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  147. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  148. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  149. package/fesm2022/primeng-icons-eye.mjs +19 -19
  150. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  151. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  152. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  153. package/fesm2022/primeng-icons-filter.mjs +24 -26
  154. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  155. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  156. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  157. package/fesm2022/primeng-icons-home.mjs +26 -26
  158. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  159. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  160. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  161. package/fesm2022/primeng-icons-minus.mjs +17 -19
  162. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  163. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  164. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  165. package/fesm2022/primeng-icons-plus.mjs +24 -26
  166. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  167. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  168. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  169. package/fesm2022/primeng-icons-search.mjs +26 -26
  170. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  171. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  172. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  173. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  174. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  175. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  176. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  177. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  178. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  179. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  180. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  181. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  182. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  183. package/fesm2022/primeng-icons-star.mjs +24 -26
  184. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  185. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  186. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  187. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  188. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  189. package/fesm2022/primeng-icons-times.mjs +17 -19
  190. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  191. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  192. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  193. package/fesm2022/primeng-icons-trash.mjs +26 -26
  194. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  195. package/fesm2022/primeng-icons-undo.mjs +26 -26
  196. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  197. package/fesm2022/primeng-icons-upload.mjs +26 -26
  198. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  199. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  200. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  201. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  202. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  203. package/fesm2022/primeng-iftalabel.mjs +34 -40
  204. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  205. package/fesm2022/primeng-image.mjs +189 -370
  206. package/fesm2022/primeng-image.mjs.map +1 -1
  207. package/fesm2022/primeng-imagecompare.mjs +57 -86
  208. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  209. package/fesm2022/primeng-inplace.mjs +108 -206
  210. package/fesm2022/primeng-inplace.mjs.map +1 -1
  211. package/fesm2022/primeng-inputgroup.mjs +40 -50
  212. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  213. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  214. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  215. package/fesm2022/primeng-inputicon.mjs +39 -48
  216. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  217. package/fesm2022/primeng-inputmask.mjs +156 -181
  218. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  219. package/fesm2022/primeng-inputnumber.mjs +299 -416
  220. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  221. package/fesm2022/primeng-inputotp.mjs +97 -121
  222. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  223. package/fesm2022/primeng-inputswitch.mjs +87 -92
  224. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  225. package/fesm2022/primeng-inputtext.mjs +51 -57
  226. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  227. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  228. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  229. package/fesm2022/primeng-keyfilter.mjs +44 -47
  230. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  231. package/fesm2022/primeng-knob.mjs +105 -111
  232. package/fesm2022/primeng-knob.mjs.map +1 -1
  233. package/fesm2022/primeng-listbox.mjs +473 -790
  234. package/fesm2022/primeng-listbox.mjs.map +1 -1
  235. package/fesm2022/primeng-megamenu.mjs +377 -611
  236. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  237. package/fesm2022/primeng-menu.mjs +289 -460
  238. package/fesm2022/primeng-menu.mjs.map +1 -1
  239. package/fesm2022/primeng-menubar.mjs +357 -549
  240. package/fesm2022/primeng-menubar.mjs.map +1 -1
  241. package/fesm2022/primeng-message.mjs +158 -244
  242. package/fesm2022/primeng-message.mjs.map +1 -1
  243. package/fesm2022/primeng-messages.mjs +163 -279
  244. package/fesm2022/primeng-messages.mjs.map +1 -1
  245. package/fesm2022/primeng-metergroup.mjs +135 -264
  246. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  247. package/fesm2022/primeng-multiselect.mjs +687 -1162
  248. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  249. package/fesm2022/primeng-orderlist.mjs +228 -330
  250. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  251. package/fesm2022/primeng-organizationchart.mjs +161 -311
  252. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  253. package/fesm2022/primeng-overlay.mjs +135 -147
  254. package/fesm2022/primeng-overlay.mjs.map +1 -1
  255. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  256. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  257. package/fesm2022/primeng-overlaypanel.mjs +138 -156
  258. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  259. package/fesm2022/primeng-paginator.mjs +212 -447
  260. package/fesm2022/primeng-paginator.mjs.map +1 -1
  261. package/fesm2022/primeng-panel.mjs +219 -317
  262. package/fesm2022/primeng-panel.mjs.map +1 -1
  263. package/fesm2022/primeng-panelmenu.mjs +439 -783
  264. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  265. package/fesm2022/primeng-password.mjs +268 -408
  266. package/fesm2022/primeng-password.mjs.map +1 -1
  267. package/fesm2022/primeng-picklist.mjs +560 -856
  268. package/fesm2022/primeng-picklist.mjs.map +1 -1
  269. package/fesm2022/primeng-popover.mjs +133 -150
  270. package/fesm2022/primeng-popover.mjs.map +1 -1
  271. package/fesm2022/primeng-progressbar.mjs +83 -121
  272. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  273. package/fesm2022/primeng-progressspinner.mjs +48 -58
  274. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  275. package/fesm2022/primeng-radiobutton.mjs +115 -106
  276. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  277. package/fesm2022/primeng-rating.mjs +120 -208
  278. package/fesm2022/primeng-rating.mjs.map +1 -1
  279. package/fesm2022/primeng-ripple.mjs +28 -29
  280. package/fesm2022/primeng-ripple.mjs.map +1 -1
  281. package/fesm2022/primeng-scroller.mjs +167 -295
  282. package/fesm2022/primeng-scroller.mjs.map +1 -1
  283. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  284. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  285. package/fesm2022/primeng-scrolltop.mjs +106 -150
  286. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  287. package/fesm2022/primeng-select.mjs +580 -955
  288. package/fesm2022/primeng-select.mjs.map +1 -1
  289. package/fesm2022/primeng-selectbutton.mjs +106 -133
  290. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  291. package/fesm2022/primeng-sidebar.mjs +151 -239
  292. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  293. package/fesm2022/primeng-skeleton.mjs +46 -54
  294. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  295. package/fesm2022/primeng-slider.mjs +186 -182
  296. package/fesm2022/primeng-slider.mjs.map +1 -1
  297. package/fesm2022/primeng-speeddial.mjs +192 -254
  298. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  299. package/fesm2022/primeng-splitbutton.mjs +211 -231
  300. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  301. package/fesm2022/primeng-splitter.mjs +126 -159
  302. package/fesm2022/primeng-splitter.mjs.map +1 -1
  303. package/fesm2022/primeng-stepper.mjs +227 -342
  304. package/fesm2022/primeng-stepper.mjs.map +1 -1
  305. package/fesm2022/primeng-steps.mjs +117 -170
  306. package/fesm2022/primeng-steps.mjs.map +1 -1
  307. package/fesm2022/primeng-styleclass.mjs +50 -53
  308. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  309. package/fesm2022/primeng-table.mjs +1808 -2584
  310. package/fesm2022/primeng-table.mjs.map +1 -1
  311. package/fesm2022/primeng-tabmenu.mjs +173 -319
  312. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  313. package/fesm2022/primeng-tabs.mjs +185 -300
  314. package/fesm2022/primeng-tabs.mjs.map +1 -1
  315. package/fesm2022/primeng-tabview.mjs +263 -435
  316. package/fesm2022/primeng-tabview.mjs.map +1 -1
  317. package/fesm2022/primeng-tag.mjs +63 -110
  318. package/fesm2022/primeng-tag.mjs.map +1 -1
  319. package/fesm2022/primeng-terminal.mjs +60 -104
  320. package/fesm2022/primeng-terminal.mjs.map +1 -1
  321. package/fesm2022/primeng-textarea.mjs +56 -61
  322. package/fesm2022/primeng-textarea.mjs.map +1 -1
  323. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  324. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  325. package/fesm2022/primeng-timeline.mjs +90 -156
  326. package/fesm2022/primeng-timeline.mjs.map +1 -1
  327. package/fesm2022/primeng-toast.mjs +251 -358
  328. package/fesm2022/primeng-toast.mjs.map +1 -1
  329. package/fesm2022/primeng-togglebutton.mjs +113 -150
  330. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  331. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  332. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  333. package/fesm2022/primeng-toolbar.mjs +62 -121
  334. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  335. package/fesm2022/primeng-tooltip.mjs +73 -74
  336. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  337. package/fesm2022/primeng-tree.mjs +441 -730
  338. package/fesm2022/primeng-tree.mjs.map +1 -1
  339. package/fesm2022/primeng-treeselect.mjs +342 -531
  340. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  341. package/fesm2022/primeng-treetable.mjs +1026 -1583
  342. package/fesm2022/primeng-treetable.mjs.map +1 -1
  343. package/fesm2022/primeng-usestyle.mjs +6 -6
  344. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  345. package/listbox/listbox.d.ts +2 -2
  346. package/multiselect/multiselect.d.ts +4 -2
  347. package/package.json +139 -140
  348. package/password/password.d.ts +7 -1
  349. package/picklist/picklist.d.ts +11 -1
@@ -1,8 +1,8 @@
1
- import { trigger, state, style, transition, animate } from '@angular/animations';
1
+ import { trigger, state, transition, style, animate } from '@angular/animations';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, inject, forwardRef, model, input, computed, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, HostListener, EventEmitter, booleanAttribute, numberAttribute, HostBinding, Input, Output, ContentChildren, signal, NgModule } from '@angular/core';
5
+ import { Injectable, inject, forwardRef, model, input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, HostListener, ContentChild, EventEmitter, numberAttribute, booleanAttribute, ContentChildren, Output, Input, HostBinding, signal, NgModule } from '@angular/core';
6
6
  import { findSingle, getAttribute, focus, uuid } from '@primeuix/utils';
7
7
  import { Header, PrimeTemplate, SharedModule } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
@@ -129,12 +129,12 @@ class AccordionStyle extends BaseStyle {
129
129
  name = 'accordion';
130
130
  theme = theme;
131
131
  classes = classes;
132
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordionStyle_BaseFactory; return function AccordionStyle_Factory(__ngFactoryType__) { return (ɵAccordionStyle_BaseFactory || (ɵAccordionStyle_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionStyle)))(__ngFactoryType__ || AccordionStyle); }; })();
133
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AccordionStyle, factory: AccordionStyle.ɵfac });
132
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
133
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionStyle });
134
134
  }
135
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionStyle, [{
136
- type: Injectable
137
- }], null, null); })();
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionStyle, decorators: [{
136
+ type: Injectable
137
+ }] });
138
138
  /**
139
139
  *
140
140
  * Accordion groups a collection of contents in tabs.
@@ -172,196 +172,6 @@ var AccordionClasses;
172
172
  AccordionClasses["panel"] = "p-accordionpanel";
173
173
  })(AccordionClasses || (AccordionClasses = {}));
174
174
 
175
- const _c0 = ["*"];
176
- const _c1 = ["toggleicon"];
177
- const _c2 = a0 => ({ active: a0 });
178
- function AccordionHeader_Conditional_1_0_ng_template_0_Template(rf, ctx) { }
179
- function AccordionHeader_Conditional_1_0_Template(rf, ctx) { if (rf & 1) {
180
- i0.ɵɵtemplate(0, AccordionHeader_Conditional_1_0_ng_template_0_Template, 0, 0, "ng-template");
181
- } }
182
- function AccordionHeader_Conditional_1_Template(rf, ctx) { if (rf & 1) {
183
- i0.ɵɵtemplate(0, AccordionHeader_Conditional_1_0_Template, 1, 0, null, 0);
184
- } if (rf & 2) {
185
- const ctx_r0 = i0.ɵɵnextContext();
186
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.toggleicon)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r0.active()));
187
- } }
188
- function AccordionHeader_Conditional_2_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
189
- i0.ɵɵelement(0, "span", 4);
190
- } if (rf & 2) {
191
- const ctx_r0 = i0.ɵɵnextContext(3);
192
- i0.ɵɵclassMap(ctx_r0.pcAccordion.collapseIcon);
193
- i0.ɵɵproperty("ngClass", ctx_r0.pcAccordion.iconClass);
194
- i0.ɵɵattribute("aria-hidden", true);
195
- } }
196
- function AccordionHeader_Conditional_2_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
197
- i0.ɵɵelement(0, "ChevronDownIcon", 4);
198
- } if (rf & 2) {
199
- const ctx_r0 = i0.ɵɵnextContext(3);
200
- i0.ɵɵproperty("ngClass", ctx_r0.pcAccordion.iconClass);
201
- i0.ɵɵattribute("aria-hidden", true);
202
- } }
203
- function AccordionHeader_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
204
- i0.ɵɵelementContainerStart(0);
205
- i0.ɵɵtemplate(1, AccordionHeader_Conditional_2_ng_container_0_span_1_Template, 1, 4, "span", 2)(2, AccordionHeader_Conditional_2_ng_container_0_ChevronDownIcon_2_Template, 1, 2, "ChevronDownIcon", 3);
206
- i0.ɵɵelementContainerEnd();
207
- } if (rf & 2) {
208
- const ctx_r0 = i0.ɵɵnextContext(2);
209
- i0.ɵɵadvance();
210
- i0.ɵɵproperty("ngIf", ctx_r0.pcAccordion.collapseIcon);
211
- i0.ɵɵadvance();
212
- i0.ɵɵproperty("ngIf", !ctx_r0.pcAccordion.collapseIcon);
213
- } }
214
- function AccordionHeader_Conditional_2_ng_container_1_span_1_Template(rf, ctx) { if (rf & 1) {
215
- i0.ɵɵelement(0, "span", 4);
216
- } if (rf & 2) {
217
- const ctx_r0 = i0.ɵɵnextContext(3);
218
- i0.ɵɵclassMap(ctx_r0.pcAccordion.expandIcon);
219
- i0.ɵɵproperty("ngClass", ctx_r0.pcAccordion.iconClass);
220
- i0.ɵɵattribute("aria-hidden", true);
221
- } }
222
- function AccordionHeader_Conditional_2_ng_container_1_ChevronUpIcon_2_Template(rf, ctx) { if (rf & 1) {
223
- i0.ɵɵelement(0, "ChevronUpIcon", 4);
224
- } if (rf & 2) {
225
- const ctx_r0 = i0.ɵɵnextContext(3);
226
- i0.ɵɵproperty("ngClass", ctx_r0.pcAccordion.iconClass);
227
- i0.ɵɵattribute("aria-hidden", true);
228
- } }
229
- function AccordionHeader_Conditional_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
230
- i0.ɵɵelementContainerStart(0);
231
- i0.ɵɵtemplate(1, AccordionHeader_Conditional_2_ng_container_1_span_1_Template, 1, 4, "span", 2)(2, AccordionHeader_Conditional_2_ng_container_1_ChevronUpIcon_2_Template, 1, 2, "ChevronUpIcon", 3);
232
- i0.ɵɵelementContainerEnd();
233
- } if (rf & 2) {
234
- const ctx_r0 = i0.ɵɵnextContext(2);
235
- i0.ɵɵadvance();
236
- i0.ɵɵproperty("ngIf", ctx_r0.pcAccordion.expandIcon);
237
- i0.ɵɵadvance();
238
- i0.ɵɵproperty("ngIf", !ctx_r0.pcAccordion.expandIcon);
239
- } }
240
- function AccordionHeader_Conditional_2_Template(rf, ctx) { if (rf & 1) {
241
- i0.ɵɵtemplate(0, AccordionHeader_Conditional_2_ng_container_0_Template, 3, 2, "ng-container", 1)(1, AccordionHeader_Conditional_2_ng_container_1_Template, 3, 2, "ng-container", 1);
242
- } if (rf & 2) {
243
- const ctx_r0 = i0.ɵɵnextContext();
244
- i0.ɵɵproperty("ngIf", ctx_r0.active());
245
- i0.ɵɵadvance();
246
- i0.ɵɵproperty("ngIf", !ctx_r0.active());
247
- } }
248
- const _c3 = a0 => ({ transitionParams: a0 });
249
- const _c4 = a0 => ({ value: "visible", params: a0 });
250
- const _c5 = a0 => ({ value: "hidden", params: a0 });
251
- const _c6 = ["header"];
252
- const _c7 = ["icon"];
253
- const _c8 = ["content"];
254
- const _c9 = ["*", [["p-header"]]];
255
- const _c10 = ["*", "p-header"];
256
- const _c11 = a0 => ({ $implicit: a0 });
257
- function AccordionTab_Conditional_1_Template(rf, ctx) { if (rf & 1) {
258
- i0.ɵɵtext(0);
259
- } if (rf & 2) {
260
- const ctx_r0 = i0.ɵɵnextContext();
261
- i0.ɵɵtextInterpolate1(" ", ctx_r0.header, " ");
262
- } }
263
- function AccordionTab_Conditional_2_Conditional_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
264
- i0.ɵɵelementContainer(0);
265
- } }
266
- function AccordionTab_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
267
- i0.ɵɵtemplate(0, AccordionTab_Conditional_2_Conditional_0_ng_container_0_Template, 1, 0, "ng-container", 4);
268
- } if (rf & 2) {
269
- const ctx_r0 = i0.ɵɵnextContext(2);
270
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.headerTemplate || ctx_r0._headerTemplate);
271
- } }
272
- function AccordionTab_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
273
- i0.ɵɵprojection(0, 1);
274
- } }
275
- function AccordionTab_Conditional_2_Template(rf, ctx) { if (rf & 1) {
276
- i0.ɵɵtemplate(0, AccordionTab_Conditional_2_Conditional_0_Template, 1, 1, "ng-container")(1, AccordionTab_Conditional_2_Conditional_1_Template, 1, 0);
277
- } if (rf & 2) {
278
- const ctx_r0 = i0.ɵɵnextContext();
279
- i0.ɵɵconditional(ctx_r0.headerTemplate || ctx_r0._headerTemplate ? 0 : -1);
280
- i0.ɵɵadvance();
281
- i0.ɵɵconditional(ctx_r0.headerFacet ? 1 : -1);
282
- } }
283
- function AccordionTab_Conditional_3_0_ng_template_0_Template(rf, ctx) { }
284
- function AccordionTab_Conditional_3_0_Template(rf, ctx) { if (rf & 1) {
285
- i0.ɵɵtemplate(0, AccordionTab_Conditional_3_0_ng_template_0_Template, 0, 0, "ng-template");
286
- } }
287
- function AccordionTab_Conditional_3_Template(rf, ctx) { if (rf & 1) {
288
- i0.ɵɵtemplate(0, AccordionTab_Conditional_3_0_Template, 1, 0, null, 5);
289
- } if (rf & 2) {
290
- const ctx_r0 = i0.ɵɵnextContext();
291
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.iconTemplate || ctx_r0._iconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, ctx_r0.selected));
292
- } }
293
- function AccordionTab_Conditional_4_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
294
- i0.ɵɵelement(0, "span", 8);
295
- } if (rf & 2) {
296
- const ctx_r0 = i0.ɵɵnextContext(3);
297
- i0.ɵɵclassMap(ctx_r0.accordion.collapseIcon);
298
- i0.ɵɵproperty("ngClass", ctx_r0.iconClass);
299
- i0.ɵɵattribute("aria-hidden", true);
300
- } }
301
- function AccordionTab_Conditional_4_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
302
- i0.ɵɵelement(0, "ChevronDownIcon", 8);
303
- } if (rf & 2) {
304
- const ctx_r0 = i0.ɵɵnextContext(3);
305
- i0.ɵɵproperty("ngClass", ctx_r0.iconClass);
306
- i0.ɵɵattribute("aria-hidden", true);
307
- } }
308
- function AccordionTab_Conditional_4_ng_container_0_Template(rf, ctx) { if (rf & 1) {
309
- i0.ɵɵelementContainerStart(0);
310
- i0.ɵɵtemplate(1, AccordionTab_Conditional_4_ng_container_0_span_1_Template, 1, 4, "span", 6)(2, AccordionTab_Conditional_4_ng_container_0_ChevronDownIcon_2_Template, 1, 2, "ChevronDownIcon", 7);
311
- i0.ɵɵelementContainerEnd();
312
- } if (rf & 2) {
313
- const ctx_r0 = i0.ɵɵnextContext(2);
314
- i0.ɵɵadvance();
315
- i0.ɵɵproperty("ngIf", ctx_r0.accordion.collapseIcon);
316
- i0.ɵɵadvance();
317
- i0.ɵɵproperty("ngIf", !ctx_r0.accordion.collapseIcon);
318
- } }
319
- function AccordionTab_Conditional_4_ng_container_1_span_1_Template(rf, ctx) { if (rf & 1) {
320
- i0.ɵɵelement(0, "span", 8);
321
- } if (rf & 2) {
322
- const ctx_r0 = i0.ɵɵnextContext(3);
323
- i0.ɵɵclassMap(ctx_r0.accordion.expandIcon);
324
- i0.ɵɵproperty("ngClass", ctx_r0.iconClass);
325
- i0.ɵɵattribute("aria-hidden", true);
326
- } }
327
- function AccordionTab_Conditional_4_ng_container_1_ChevronUpIcon_2_Template(rf, ctx) { if (rf & 1) {
328
- i0.ɵɵelement(0, "ChevronUpIcon", 8);
329
- } if (rf & 2) {
330
- const ctx_r0 = i0.ɵɵnextContext(3);
331
- i0.ɵɵproperty("ngClass", ctx_r0.iconClass);
332
- i0.ɵɵattribute("aria-hidden", true);
333
- } }
334
- function AccordionTab_Conditional_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
335
- i0.ɵɵelementContainerStart(0);
336
- i0.ɵɵtemplate(1, AccordionTab_Conditional_4_ng_container_1_span_1_Template, 1, 4, "span", 6)(2, AccordionTab_Conditional_4_ng_container_1_ChevronUpIcon_2_Template, 1, 2, "ChevronUpIcon", 7);
337
- i0.ɵɵelementContainerEnd();
338
- } if (rf & 2) {
339
- const ctx_r0 = i0.ɵɵnextContext(2);
340
- i0.ɵɵadvance();
341
- i0.ɵɵproperty("ngIf", ctx_r0.accordion.expandIcon);
342
- i0.ɵɵadvance();
343
- i0.ɵɵproperty("ngIf", !ctx_r0.accordion.expandIcon);
344
- } }
345
- function AccordionTab_Conditional_4_Template(rf, ctx) { if (rf & 1) {
346
- i0.ɵɵtemplate(0, AccordionTab_Conditional_4_ng_container_0_Template, 3, 2, "ng-container", 3)(1, AccordionTab_Conditional_4_ng_container_1_Template, 3, 2, "ng-container", 3);
347
- } if (rf & 2) {
348
- const ctx_r0 = i0.ɵɵnextContext();
349
- i0.ɵɵproperty("ngIf", ctx_r0.selected);
350
- i0.ɵɵadvance();
351
- i0.ɵɵproperty("ngIf", !ctx_r0.selected);
352
- } }
353
- function AccordionTab_ng_container_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
354
- i0.ɵɵelementContainer(0);
355
- } }
356
- function AccordionTab_ng_container_8_Template(rf, ctx) { if (rf & 1) {
357
- i0.ɵɵelementContainerStart(0);
358
- i0.ɵɵtemplate(1, AccordionTab_ng_container_8_ng_container_1_Template, 1, 0, "ng-container", 4);
359
- i0.ɵɵelementContainerEnd();
360
- } if (rf & 2) {
361
- const ctx_r0 = i0.ɵɵnextContext();
362
- i0.ɵɵadvance();
363
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.contentTemplate || ctx_r0._contentTemplate);
364
- } }
365
175
  /**
366
176
  * AccordionPanel is a helper component for Accordion component.
367
177
  * @group Components
@@ -387,35 +197,28 @@ class AccordionPanel extends BaseComponent {
387
197
  }
388
198
  return currentValue === value;
389
199
  }
390
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordionPanel_BaseFactory; return function AccordionPanel_Factory(__ngFactoryType__) { return (ɵAccordionPanel_BaseFactory || (ɵAccordionPanel_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionPanel)))(__ngFactoryType__ || AccordionPanel); }; })();
391
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionPanel, selectors: [["p-accordion-panel"], ["p-accordionpanel"]], hostVars: 9, hostBindings: function AccordionPanel_HostBindings(rf, ctx) { if (rf & 2) {
392
- i0.ɵɵattribute("data-pc-name", "accordionpanel")("data-p-disabled", ctx.disabled())("data-p-active", ctx.active());
393
- i0.ɵɵclassProp("p-accordionpanel", true)("p-accordionpanel-active", ctx.active())("p-disabled", ctx.disabled());
394
- } }, inputs: { value: [1, "value"], disabled: [1, "disabled"] }, outputs: { value: "valueChange" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AccordionPanel_Template(rf, ctx) { if (rf & 1) {
395
- i0.ɵɵprojectionDef();
396
- i0.ɵɵprojection(0);
397
- } }, dependencies: [CommonModule], encapsulation: 2, changeDetection: 0 });
200
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionPanel, deps: null, target: i0.ɵɵFactoryTarget.Component });
201
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.7", type: AccordionPanel, isStandalone: true, selector: "p-accordion-panel, p-accordionpanel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class.p-accordionpanel": "true", "class.p-accordionpanel-active": "active()", "class.p-disabled": "disabled()", "attr.data-pc-name": "\"accordionpanel\"", "attr.data-p-disabled": "disabled()", "attr.data-p-active": "active()" } }, usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
398
202
  }
399
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionPanel, [{
400
- type: Component,
401
- args: [{
402
- selector: 'p-accordion-panel, p-accordionpanel',
403
- imports: [CommonModule],
404
- standalone: true,
405
- template: `<ng-content />`,
406
- changeDetection: ChangeDetectionStrategy.OnPush,
407
- encapsulation: ViewEncapsulation.None,
408
- host: {
409
- '[class.p-accordionpanel]': 'true',
410
- '[class.p-accordionpanel-active]': 'active()',
411
- '[class.p-disabled]': 'disabled()',
412
- '[attr.data-pc-name]': '"accordionpanel"',
413
- '[attr.data-p-disabled]': 'disabled()',
414
- '[attr.data-p-active]': 'active()'
415
- }
416
- }]
417
- }], null, null); })();
418
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionPanel, { className: "AccordionPanel", filePath: "accordion.ts", lineNumber: 93 }); })();
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionPanel, decorators: [{
204
+ type: Component,
205
+ args: [{
206
+ selector: 'p-accordion-panel, p-accordionpanel',
207
+ imports: [CommonModule],
208
+ standalone: true,
209
+ template: `<ng-content />`,
210
+ changeDetection: ChangeDetectionStrategy.OnPush,
211
+ encapsulation: ViewEncapsulation.None,
212
+ host: {
213
+ '[class.p-accordionpanel]': 'true',
214
+ '[class.p-accordionpanel-active]': 'active()',
215
+ '[class.p-disabled]': 'disabled()',
216
+ '[attr.data-pc-name]': '"accordionpanel"',
217
+ '[attr.data-p-disabled]': 'disabled()',
218
+ '[attr.data-p-active]': 'active()'
219
+ }
220
+ }]
221
+ }] });
419
222
  /**
420
223
  * AccordionHeader is a helper component for Accordion component.
421
224
  * @group Components
@@ -438,8 +241,18 @@ class AccordionHeader extends BaseComponent {
438
241
  * @group Templates
439
242
  */
440
243
  toggleicon;
441
- onClick() {
244
+ onClick(event) {
245
+ const wasActive = this.active();
442
246
  this.changeActiveValue();
247
+ const isActive = this.active();
248
+ const panels = this.pcAccordion.panelList ? this.pcAccordion.panelList.toArray() : [];
249
+ const index = panels.findIndex((panel) => panel === this.pcAccordionPanel);
250
+ if (!wasActive && isActive) {
251
+ this.pcAccordion.onOpen.emit({ originalEvent: event, index });
252
+ }
253
+ else if (wasActive && !isActive) {
254
+ this.pcAccordion.onClose.emit({ originalEvent: event, index });
255
+ }
443
256
  }
444
257
  onFocus() {
445
258
  this.pcAccordion.selectOnFocus() && this.changeActiveValue();
@@ -517,34 +330,30 @@ class AccordionHeader extends BaseComponent {
517
330
  this.changeActiveValue();
518
331
  event.preventDefault();
519
332
  }
520
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordionHeader_BaseFactory; return function AccordionHeader_Factory(__ngFactoryType__) { return (ɵAccordionHeader_BaseFactory || (ɵAccordionHeader_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionHeader)))(__ngFactoryType__ || AccordionHeader); }; })();
521
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionHeader, selectors: [["p-accordion-header"], ["p-accordionheader"]], contentQueries: function AccordionHeader_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
522
- i0.ɵɵcontentQuery(dirIndex, _c1, 5);
523
- } if (rf & 2) {
524
- let _t;
525
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toggleicon = _t.first);
526
- } }, hostVars: 12, hostBindings: function AccordionHeader_HostBindings(rf, ctx) { if (rf & 1) {
527
- i0.ɵɵlistener("click", function AccordionHeader_click_HostBindingHandler($event) { return ctx.onClick($event); })("focus", function AccordionHeader_focus_HostBindingHandler($event) { return ctx.onFocus($event); })("keydown", function AccordionHeader_keydown_HostBindingHandler($event) { return ctx.onKeydown($event); });
528
- } if (rf & 2) {
529
- i0.ɵɵattribute("id", ctx.id())("aria-expanded", ctx.active())("aria-controls", ctx.ariaControls())("role", "button")("tabindex", "0")("data-p-active", ctx.active())("data-p-disabled", ctx.disabled())("data-pc-name", "accordionheader");
530
- i0.ɵɵstyleProp("user-select", "none");
531
- i0.ɵɵclassProp("p-accordionheader", true);
532
- } }, features: [i0.ɵɵHostDirectivesFeature([i1.Ripple]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 3, vars: 1, consts: [[4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngIf"], [3, "class", "ngClass", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"]], template: function AccordionHeader_Template(rf, ctx) { if (rf & 1) {
533
- i0.ɵɵprojectionDef();
534
- i0.ɵɵprojection(0);
535
- i0.ɵɵtemplate(1, AccordionHeader_Conditional_1_Template, 1, 4)(2, AccordionHeader_Conditional_2_Template, 2, 2);
536
- } if (rf & 2) {
537
- i0.ɵɵadvance();
538
- i0.ɵɵconditional(ctx.toggleicon ? 1 : 2);
539
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, i2.NgTemplateOutlet, ChevronDownIcon, ChevronUpIcon], encapsulation: 2, changeDetection: 0 });
333
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionHeader, deps: null, target: i0.ɵɵFactoryTarget.Component });
334
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AccordionHeader, isStandalone: true, selector: "p-accordion-header, p-accordionheader", host: { listeners: { "click": "onClick($event)", "focus": "onFocus($event)", "keydown": "onKeydown($event)" }, properties: { "class.p-accordionheader": "true", "attr.id": "id()", "attr.aria-expanded": "active()", "attr.aria-controls": "ariaControls()", "attr.role": "\"button\"", "attr.tabindex": "\"0\"", "attr.data-p-active": "active()", "attr.data-p-disabled": "disabled()", "attr.data-pc-name": "\"accordionheader\"", "style.user-select": "\"none\"" } }, queries: [{ propertyName: "toggleicon", first: true, predicate: ["toggleicon"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Ripple }], ngImport: i0, template: `
335
+ <ng-content />
336
+ @if (toggleicon) {
337
+ <ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
338
+ } @else {
339
+ <ng-container *ngIf="active()">
340
+ <span *ngIf="pcAccordion.collapseIcon" [class]="pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true"></span>
341
+ <ChevronDownIcon *ngIf="!pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
342
+ </ng-container>
343
+ <ng-container *ngIf="!active()">
344
+ <span *ngIf="pcAccordion.expandIcon" [class]="pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true"></span>
345
+ <ChevronUpIcon *ngIf="!pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
346
+ </ng-container>
347
+ }
348
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
540
349
  }
541
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionHeader, [{
542
- type: Component,
543
- args: [{
544
- selector: 'p-accordion-header, p-accordionheader',
545
- imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
546
- standalone: true,
547
- template: `
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionHeader, decorators: [{
351
+ type: Component,
352
+ args: [{
353
+ selector: 'p-accordion-header, p-accordionheader',
354
+ imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
355
+ standalone: true,
356
+ template: `
548
357
  <ng-content />
549
358
  @if (toggleicon) {
550
359
  <ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
@@ -559,106 +368,97 @@ class AccordionHeader extends BaseComponent {
559
368
  </ng-container>
560
369
  }
561
370
  `,
562
- changeDetection: ChangeDetectionStrategy.OnPush,
563
- encapsulation: ViewEncapsulation.None,
564
- host: {
565
- '[class.p-accordionheader]': 'true',
566
- '[attr.id]': 'id()',
567
- '[attr.aria-expanded]': 'active()',
568
- '[attr.aria-controls]': 'ariaControls()',
569
- '[attr.role]': '"button"',
570
- '[attr.tabindex]': '"0"',
571
- '[attr.data-p-active]': 'active()',
572
- '[attr.data-p-disabled]': 'disabled()',
573
- '[attr.data-pc-name]': '"accordionheader"',
574
- '[style.user-select]': '"none"'
575
- },
576
- hostDirectives: [Ripple]
577
- }]
578
- }], null, { toggleicon: [{
579
- type: ContentChild,
580
- args: ['toggleicon']
581
- }], onClick: [{
582
- type: HostListener,
583
- args: ['click', ['$event']]
584
- }], onFocus: [{
585
- type: HostListener,
586
- args: ['focus', ['$event']]
587
- }], onKeydown: [{
588
- type: HostListener,
589
- args: ['keydown', ['$event']]
590
- }] }); })();
591
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionHeader, { className: "AccordionHeader", filePath: "accordion.ts", lineNumber: 156 }); })();
371
+ changeDetection: ChangeDetectionStrategy.OnPush,
372
+ encapsulation: ViewEncapsulation.None,
373
+ host: {
374
+ '[class.p-accordionheader]': 'true',
375
+ '[attr.id]': 'id()',
376
+ '[attr.aria-expanded]': 'active()',
377
+ '[attr.aria-controls]': 'ariaControls()',
378
+ '[attr.role]': '"button"',
379
+ '[attr.tabindex]': '"0"',
380
+ '[attr.data-p-active]': 'active()',
381
+ '[attr.data-p-disabled]': 'disabled()',
382
+ '[attr.data-pc-name]': '"accordionheader"',
383
+ '[style.user-select]': '"none"'
384
+ },
385
+ hostDirectives: [Ripple]
386
+ }]
387
+ }], propDecorators: { toggleicon: [{
388
+ type: ContentChild,
389
+ args: ['toggleicon']
390
+ }], onClick: [{
391
+ type: HostListener,
392
+ args: ['click', ['$event']]
393
+ }], onFocus: [{
394
+ type: HostListener,
395
+ args: ['focus', ['$event']]
396
+ }], onKeydown: [{
397
+ type: HostListener,
398
+ args: ['keydown', ['$event']]
399
+ }] } });
592
400
  class AccordionContent extends BaseComponent {
593
401
  pcAccordion = inject(forwardRef(() => Accordion));
594
402
  pcAccordionPanel = inject(forwardRef(() => AccordionPanel));
595
403
  active = computed(() => this.pcAccordionPanel.active());
596
404
  ariaLabelledby = computed(() => `${this.pcAccordion.id()}_accordionheader_${this.pcAccordionPanel.value()}`);
597
405
  id = computed(() => `${this.pcAccordion.id()}_accordioncontent_${this.pcAccordionPanel.value()}`);
598
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordionContent_BaseFactory; return function AccordionContent_Factory(__ngFactoryType__) { return (ɵAccordionContent_BaseFactory || (ɵAccordionContent_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionContent)))(__ngFactoryType__ || AccordionContent); }; })();
599
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionContent, selectors: [["p-accordion-content"], ["p-accordioncontent"]], hostVars: 16, hostBindings: function AccordionContent_HostBindings(rf, ctx) { if (rf & 2) {
600
- i0.ɵɵsyntheticHostProperty("@content", ctx.active() ? i0.ɵɵpureFunction1(10, _c4, i0.ɵɵpureFunction1(8, _c3, ctx.pcAccordion.transitionOptions)) : i0.ɵɵpureFunction1(14, _c5, i0.ɵɵpureFunction1(12, _c3, ctx.pcAccordion.transitionOptions)));
601
- i0.ɵɵattribute("id", ctx.id())("role", "region")("data-pc-name", "accordioncontent")("data-p-active", ctx.active())("aria-labelledby", ctx.ariaLabelledby());
602
- i0.ɵɵclassProp("p-accordioncontent", true);
603
- } }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 2, vars: 0, consts: [[1, "p-accordioncontent-content"]], template: function AccordionContent_Template(rf, ctx) { if (rf & 1) {
604
- i0.ɵɵprojectionDef();
605
- i0.ɵɵelementStart(0, "div", 0);
606
- i0.ɵɵprojection(1);
607
- i0.ɵɵelementEnd();
608
- } }, dependencies: [CommonModule], encapsulation: 2, data: { animation: [
609
- trigger('content', [
610
- state('hidden', style({
611
- height: '0',
612
- visibility: 'hidden'
613
- })),
614
- state('visible', style({
615
- height: '*',
616
- visibility: 'visible'
617
- })),
618
- transition('visible <=> hidden', [animate('{{transitionParams}}')]),
619
- transition('void => *', animate(0))
620
- ])
621
- ] }, changeDetection: 0 });
406
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
407
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: AccordionContent, isStandalone: true, selector: "p-accordion-content, p-accordioncontent", host: { properties: { "class.p-accordioncontent": "true", "attr.id": "id()", "attr.role": "\"region\"", "attr.data-pc-name": "\"accordioncontent\"", "attr.data-p-active": "active()", "attr.aria-labelledby": "ariaLabelledby()", "@content": "active()\n ? { value: 'visible', params: { transitionParams: pcAccordion.transitionOptions } }\n : { value: 'hidden', params: { transitionParams: pcAccordion.transitionOptions } }" } }, usesInheritance: true, ngImport: i0, template: ` <div class="p-accordioncontent-content">
408
+ <ng-content />
409
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], animations: [
410
+ trigger('content', [
411
+ state('hidden', style({
412
+ height: '0',
413
+ visibility: 'hidden'
414
+ })),
415
+ state('visible', style({
416
+ height: '*',
417
+ visibility: 'visible'
418
+ })),
419
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
420
+ transition('void => *', animate(0))
421
+ ])
422
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
622
423
  }
623
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionContent, [{
624
- type: Component,
625
- args: [{
626
- selector: 'p-accordion-content, p-accordioncontent',
627
- imports: [CommonModule],
628
- standalone: true,
629
- template: ` <div class="p-accordioncontent-content">
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionContent, decorators: [{
425
+ type: Component,
426
+ args: [{
427
+ selector: 'p-accordion-content, p-accordioncontent',
428
+ imports: [CommonModule],
429
+ standalone: true,
430
+ template: ` <div class="p-accordioncontent-content">
630
431
  <ng-content />
631
432
  </div>`,
632
- changeDetection: ChangeDetectionStrategy.OnPush,
633
- encapsulation: ViewEncapsulation.None,
634
- host: {
635
- '[class.p-accordioncontent]': 'true',
636
- '[attr.id]': 'id()',
637
- '[attr.role]': '"region"',
638
- '[attr.data-pc-name]': '"accordioncontent"',
639
- '[attr.data-p-active]': 'active()',
640
- '[attr.aria-labelledby]': 'ariaLabelledby()',
641
- '[@content]': `active()
433
+ changeDetection: ChangeDetectionStrategy.OnPush,
434
+ encapsulation: ViewEncapsulation.None,
435
+ host: {
436
+ '[class.p-accordioncontent]': 'true',
437
+ '[attr.id]': 'id()',
438
+ '[attr.role]': '"region"',
439
+ '[attr.data-pc-name]': '"accordioncontent"',
440
+ '[attr.data-p-active]': 'active()',
441
+ '[attr.aria-labelledby]': 'ariaLabelledby()',
442
+ '[@content]': `active()
642
443
  ? { value: 'visible', params: { transitionParams: pcAccordion.transitionOptions } }
643
444
  : { value: 'hidden', params: { transitionParams: pcAccordion.transitionOptions } }`
644
- },
645
- animations: [
646
- trigger('content', [
647
- state('hidden', style({
648
- height: '0',
649
- visibility: 'hidden'
650
- })),
651
- state('visible', style({
652
- height: '*',
653
- visibility: 'visible'
654
- })),
655
- transition('visible <=> hidden', [animate('{{transitionParams}}')]),
656
- transition('void => *', animate(0))
657
- ])
658
- ]
659
- }]
660
- }], null, null); })();
661
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionContent, { className: "AccordionContent", filePath: "accordion.ts", lineNumber: 322 }); })();
445
+ },
446
+ animations: [
447
+ trigger('content', [
448
+ state('hidden', style({
449
+ height: '0',
450
+ visibility: 'hidden'
451
+ })),
452
+ state('visible', style({
453
+ height: '*',
454
+ visibility: 'visible'
455
+ })),
456
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
457
+ transition('void => *', animate(0))
458
+ ])
459
+ ]
460
+ }]
461
+ }] });
662
462
  /**
663
463
  * AccordionTab is a helper component for Accordion.
664
464
  * @deprecated Use AccordionPanel, AccordionHeader, AccordionContent instead.
@@ -871,72 +671,86 @@ class AccordionTab extends BaseComponent {
871
671
  this.accordion.tabs.splice(this.findTabIndex(), 1);
872
672
  super.ngOnDestroy();
873
673
  }
874
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordionTab_BaseFactory; return function AccordionTab_Factory(__ngFactoryType__) { return (ɵAccordionTab_BaseFactory || (ɵAccordionTab_BaseFactory = i0.ɵɵgetInheritedFactory(AccordionTab)))(__ngFactoryType__ || AccordionTab); }; })();
875
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AccordionTab, selectors: [["p-accordionTab"], ["p-accordion-tab"], ["p-accordiontab"]], contentQueries: function AccordionTab_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
876
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
877
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
878
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
879
- i0.ɵɵcontentQuery(dirIndex, Header, 4);
880
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
881
- } if (rf & 2) {
882
- let _t;
883
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
884
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconTemplate = _t.first);
885
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
886
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t);
887
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
888
- } }, hostVars: 9, hostBindings: function AccordionTab_HostBindings(rf, ctx) { if (rf & 2) {
889
- i0.ɵɵattribute("data-pc-name", "accordiontab");
890
- i0.ɵɵstyleMap(ctx.hostStyle);
891
- i0.ɵɵclassMap(ctx.hostClass);
892
- i0.ɵɵclassProp("p-accordionpanel", true)("p-accordionpanel-active", ctx.selected);
893
- } }, inputs: { id: "id", header: "header", headerStyle: "headerStyle", tabStyle: "tabStyle", contentStyle: "contentStyle", tabStyleClass: "tabStyleClass", headerStyleClass: "headerStyleClass", contentStyleClass: "contentStyleClass", disabled: [2, "disabled", "disabled", booleanAttribute], cache: [2, "cache", "cache", booleanAttribute], transitionOptions: "transitionOptions", iconPos: "iconPos", selected: "selected", headerAriaLevel: [2, "headerAriaLevel", "headerAriaLevel", numberAttribute] }, outputs: { selectedChange: "selectedChange" }, features: [i0.ɵɵProvidersFeature([AccordionStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c10, decls: 9, vars: 30, consts: [["type", "button", 1, "p-accordionheader", 3, "click", "keydown", "disabled", "ngClass", "ngStyle"], ["role", "region", 1, "p-accordioncontent"], [1, "p-accordioncontent-content", 3, "ngClass", "ngStyle"], [4, "ngIf"], [4, "ngTemplateOutlet"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "class", "ngClass", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"]], template: function AccordionTab_Template(rf, ctx) { if (rf & 1) {
894
- i0.ɵɵprojectionDef(_c9);
895
- i0.ɵɵelementStart(0, "button", 0);
896
- i0.ɵɵlistener("click", function AccordionTab_Template_button_click_0_listener($event) { return ctx.toggle($event); })("keydown", function AccordionTab_Template_button_keydown_0_listener($event) { return ctx.onKeydown($event); });
897
- i0.ɵɵtemplate(1, AccordionTab_Conditional_1_Template, 1, 1)(2, AccordionTab_Conditional_2_Template, 2, 2)(3, AccordionTab_Conditional_3_Template, 1, 4)(4, AccordionTab_Conditional_4_Template, 2, 2);
898
- i0.ɵɵelementEnd();
899
- i0.ɵɵelementStart(5, "div", 1)(6, "div", 2);
900
- i0.ɵɵprojection(7);
901
- i0.ɵɵtemplate(8, AccordionTab_ng_container_8_Template, 2, 1, "ng-container", 3);
902
- i0.ɵɵelementEnd()();
903
- } if (rf & 2) {
904
- i0.ɵɵclassProp("p-disabled", ctx.disabled);
905
- i0.ɵɵproperty("disabled", ctx.disabled)("ngClass", ctx.headerStyleClass)("ngStyle", ctx.headerStyle);
906
- i0.ɵɵattribute("aria-expanded", ctx.selected)("aria-level", ctx.headerAriaLevel)("data-p-disabled", ctx.disabled)("data-pc-section", "accordionheader")("tabindex", ctx.disabled ? null : 0)("id", ctx.getTabHeaderActionId(ctx.id))("aria-controls", ctx.getTabContentId(ctx.id));
907
- i0.ɵɵadvance();
908
- i0.ɵɵconditional(!ctx.headerTemplate && !ctx._headerTemplate ? 1 : 2);
909
- i0.ɵɵadvance(2);
910
- i0.ɵɵconditional(ctx.iconTemplate || ctx._iconTemplate ? 3 : 4);
911
- i0.ɵɵadvance(2);
912
- i0.ɵɵproperty("@tabContent", ctx.selected ? i0.ɵɵpureFunction1(24, _c4, i0.ɵɵpureFunction1(22, _c3, ctx.transitionOptions)) : i0.ɵɵpureFunction1(28, _c5, i0.ɵɵpureFunction1(26, _c3, ctx.transitionOptions)));
913
- i0.ɵɵattribute("id", ctx.getTabContentId(ctx.id))("aria-hidden", !ctx.selected)("aria-labelledby", ctx.getTabHeaderActionId(ctx.id))("data-pc-section", "toggleablecontent");
914
- i0.ɵɵadvance();
915
- i0.ɵɵproperty("ngClass", ctx.contentStyleClass)("ngStyle", ctx.contentStyle);
916
- i0.ɵɵadvance(2);
917
- i0.ɵɵproperty("ngIf", (ctx.contentTemplate || ctx._contentTemplate) && (ctx.cache ? ctx.loaded : ctx.selected));
918
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, ChevronDownIcon, ChevronUpIcon], encapsulation: 2, data: { animation: [
919
- trigger('tabContent', [
920
- state('hidden', style({
921
- height: '0',
922
- visibility: 'hidden'
923
- })),
924
- state('visible', style({
925
- height: '*',
926
- visibility: 'visible'
927
- })),
928
- transition('visible <=> hidden', [animate('{{transitionParams}}')]),
929
- transition('void => *', animate(0))
930
- ])
931
- ] }, changeDetection: 0 });
674
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
675
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: AccordionTab, isStandalone: true, selector: "p-accordionTab, p-accordion-tab, p-accordiontab", inputs: { id: "id", header: "header", headerStyle: "headerStyle", tabStyle: "tabStyle", contentStyle: "contentStyle", tabStyleClass: "tabStyleClass", headerStyleClass: "headerStyleClass", contentStyleClass: "contentStyleClass", disabled: ["disabled", "disabled", booleanAttribute], cache: ["cache", "cache", booleanAttribute], transitionOptions: "transitionOptions", iconPos: "iconPos", selected: "selected", headerAriaLevel: ["headerAriaLevel", "headerAriaLevel", numberAttribute] }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class.p-accordionpanel": "true", "class.p-accordionpanel-active": "selected", "attr.data-pc-name": "\"accordiontab\"", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [AccordionStyle], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "iconTemplate", first: true, predicate: ["icon"] }, { propertyName: "contentTemplate", first: true, predicate: ["content"] }, { propertyName: "headerFacet", predicate: Header }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
676
+ <button
677
+ class="p-accordionheader"
678
+ type="button"
679
+ [disabled]="disabled"
680
+ [attr.aria-expanded]="selected"
681
+ [attr.aria-level]="headerAriaLevel"
682
+ [class.p-disabled]="disabled"
683
+ [attr.data-p-disabled]="disabled"
684
+ [attr.data-pc-section]="'accordionheader'"
685
+ (click)="toggle($event)"
686
+ (keydown)="onKeydown($event)"
687
+ [ngClass]="headerStyleClass"
688
+ [ngStyle]="headerStyle"
689
+ [attr.tabindex]="disabled ? null : 0"
690
+ [attr.id]="getTabHeaderActionId(id)"
691
+ [attr.aria-controls]="getTabContentId(id)"
692
+ >
693
+ @if (!headerTemplate && !_headerTemplate) {
694
+ {{ header }}
695
+ } @else {
696
+ @if (headerTemplate || _headerTemplate) {
697
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
698
+ }
699
+ @if (headerFacet) {
700
+ <ng-content select="p-header" />
701
+ }
702
+ }
703
+ @if (iconTemplate || _iconTemplate) {
704
+ <ng-template *ngTemplateOutlet="iconTemplate || _iconTemplate; context: { $implicit: selected }"></ng-template>
705
+ } @else {
706
+ <ng-container *ngIf="selected">
707
+ <span *ngIf="accordion.collapseIcon" [class]="accordion.collapseIcon" [ngClass]="iconClass" [attr.aria-hidden]="true"></span>
708
+ <ChevronDownIcon *ngIf="!accordion.collapseIcon" [ngClass]="iconClass" [attr.aria-hidden]="true" />
709
+ </ng-container>
710
+ <ng-container *ngIf="!selected">
711
+ <span *ngIf="accordion.expandIcon" [class]="accordion.expandIcon" [ngClass]="iconClass" [attr.aria-hidden]="true"></span>
712
+ <ChevronUpIcon *ngIf="!accordion.expandIcon" [ngClass]="iconClass" [attr.aria-hidden]="true" />
713
+ </ng-container>
714
+ }
715
+ </button>
716
+ <div
717
+ [attr.id]="getTabContentId(id)"
718
+ class="p-accordioncontent"
719
+ [@tabContent]="selected ? { value: 'visible', params: { transitionParams: transitionOptions } } : { value: 'hidden', params: { transitionParams: transitionOptions } }"
720
+ role="region"
721
+ [attr.aria-hidden]="!selected"
722
+ [attr.aria-labelledby]="getTabHeaderActionId(id)"
723
+ [attr.data-pc-section]="'toggleablecontent'"
724
+ >
725
+ <div class="p-accordioncontent-content" [ngClass]="contentStyleClass" [ngStyle]="contentStyle">
726
+ <ng-content />
727
+ <ng-container *ngIf="(contentTemplate || _contentTemplate) && (cache ? loaded : selected)">
728
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
729
+ </ng-container>
730
+ </div>
731
+ </div>
732
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }], animations: [
733
+ trigger('tabContent', [
734
+ state('hidden', style({
735
+ height: '0',
736
+ visibility: 'hidden'
737
+ })),
738
+ state('visible', style({
739
+ height: '*',
740
+ visibility: 'visible'
741
+ })),
742
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
743
+ transition('void => *', animate(0))
744
+ ])
745
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
932
746
  }
933
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionTab, [{
934
- type: Component,
935
- args: [{
936
- selector: 'p-accordionTab, p-accordion-tab, p-accordiontab',
937
- standalone: true,
938
- imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
939
- template: `
747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionTab, decorators: [{
748
+ type: Component,
749
+ args: [{
750
+ selector: 'p-accordionTab, p-accordion-tab, p-accordiontab',
751
+ standalone: true,
752
+ imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
753
+ template: `
940
754
  <button
941
755
  class="p-accordionheader"
942
756
  type="button"
@@ -994,85 +808,84 @@ class AccordionTab extends BaseComponent {
994
808
  </div>
995
809
  </div>
996
810
  `,
997
- animations: [
998
- trigger('tabContent', [
999
- state('hidden', style({
1000
- height: '0',
1001
- visibility: 'hidden'
1002
- })),
1003
- state('visible', style({
1004
- height: '*',
1005
- visibility: 'visible'
1006
- })),
1007
- transition('visible <=> hidden', [animate('{{transitionParams}}')]),
1008
- transition('void => *', animate(0))
1009
- ])
1010
- ],
1011
- host: {
1012
- '[class.p-accordionpanel]': 'true',
1013
- '[class.p-accordionpanel-active]': 'selected',
1014
- '[attr.data-pc-name]': '"accordiontab"'
1015
- },
1016
- providers: [AccordionStyle],
1017
- changeDetection: ChangeDetectionStrategy.OnPush,
1018
- encapsulation: ViewEncapsulation.None
1019
- }]
1020
- }], null, { hostClass: [{
1021
- type: HostBinding,
1022
- args: ['class']
1023
- }], hostStyle: [{
1024
- type: HostBinding,
1025
- args: ['style']
1026
- }], id: [{
1027
- type: Input
1028
- }], header: [{
1029
- type: Input
1030
- }], headerStyle: [{
1031
- type: Input
1032
- }], tabStyle: [{
1033
- type: Input
1034
- }], contentStyle: [{
1035
- type: Input
1036
- }], tabStyleClass: [{
1037
- type: Input
1038
- }], headerStyleClass: [{
1039
- type: Input
1040
- }], contentStyleClass: [{
1041
- type: Input
1042
- }], disabled: [{
1043
- type: Input,
1044
- args: [{ transform: booleanAttribute }]
1045
- }], cache: [{
1046
- type: Input,
1047
- args: [{ transform: booleanAttribute }]
1048
- }], transitionOptions: [{
1049
- type: Input
1050
- }], iconPos: [{
1051
- type: Input
1052
- }], selected: [{
1053
- type: Input
1054
- }], headerAriaLevel: [{
1055
- type: Input,
1056
- args: [{ transform: numberAttribute }]
1057
- }], selectedChange: [{
1058
- type: Output
1059
- }], headerFacet: [{
1060
- type: ContentChildren,
1061
- args: [Header]
1062
- }], headerTemplate: [{
1063
- type: ContentChild,
1064
- args: ['header', { descendants: false }]
1065
- }], iconTemplate: [{
1066
- type: ContentChild,
1067
- args: ['icon', { descendants: false }]
1068
- }], contentTemplate: [{
1069
- type: ContentChild,
1070
- args: ['content', { descendants: false }]
1071
- }], templates: [{
1072
- type: ContentChildren,
1073
- args: [PrimeTemplate]
1074
- }] }); })();
1075
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AccordionTab, { className: "AccordionTab", filePath: "accordion.ts", lineNumber: 430 }); })();
811
+ animations: [
812
+ trigger('tabContent', [
813
+ state('hidden', style({
814
+ height: '0',
815
+ visibility: 'hidden'
816
+ })),
817
+ state('visible', style({
818
+ height: '*',
819
+ visibility: 'visible'
820
+ })),
821
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
822
+ transition('void => *', animate(0))
823
+ ])
824
+ ],
825
+ host: {
826
+ '[class.p-accordionpanel]': 'true',
827
+ '[class.p-accordionpanel-active]': 'selected',
828
+ '[attr.data-pc-name]': '"accordiontab"'
829
+ },
830
+ providers: [AccordionStyle],
831
+ changeDetection: ChangeDetectionStrategy.OnPush,
832
+ encapsulation: ViewEncapsulation.None
833
+ }]
834
+ }], propDecorators: { hostClass: [{
835
+ type: HostBinding,
836
+ args: ['class']
837
+ }], hostStyle: [{
838
+ type: HostBinding,
839
+ args: ['style']
840
+ }], id: [{
841
+ type: Input
842
+ }], header: [{
843
+ type: Input
844
+ }], headerStyle: [{
845
+ type: Input
846
+ }], tabStyle: [{
847
+ type: Input
848
+ }], contentStyle: [{
849
+ type: Input
850
+ }], tabStyleClass: [{
851
+ type: Input
852
+ }], headerStyleClass: [{
853
+ type: Input
854
+ }], contentStyleClass: [{
855
+ type: Input
856
+ }], disabled: [{
857
+ type: Input,
858
+ args: [{ transform: booleanAttribute }]
859
+ }], cache: [{
860
+ type: Input,
861
+ args: [{ transform: booleanAttribute }]
862
+ }], transitionOptions: [{
863
+ type: Input
864
+ }], iconPos: [{
865
+ type: Input
866
+ }], selected: [{
867
+ type: Input
868
+ }], headerAriaLevel: [{
869
+ type: Input,
870
+ args: [{ transform: numberAttribute }]
871
+ }], selectedChange: [{
872
+ type: Output
873
+ }], headerFacet: [{
874
+ type: ContentChildren,
875
+ args: [Header]
876
+ }], headerTemplate: [{
877
+ type: ContentChild,
878
+ args: ['header', { descendants: false }]
879
+ }], iconTemplate: [{
880
+ type: ContentChild,
881
+ args: ['icon', { descendants: false }]
882
+ }], contentTemplate: [{
883
+ type: ContentChild,
884
+ args: ['content', { descendants: false }]
885
+ }], templates: [{
886
+ type: ContentChildren,
887
+ args: [PrimeTemplate]
888
+ }] } });
1076
889
  /**
1077
890
  * Accordion groups a collection of contents in tabs.
1078
891
  * @group Components
@@ -1361,84 +1174,68 @@ class Accordion extends BaseComponent {
1361
1174
  }
1362
1175
  super.ngOnDestroy();
1363
1176
  }
1364
- static ɵfac = /*@__PURE__*/ (() => { let ɵAccordion_BaseFactory; return function Accordion_Factory(__ngFactoryType__) { return (ɵAccordion_BaseFactory || (ɵAccordion_BaseFactory = i0.ɵɵgetInheritedFactory(Accordion)))(__ngFactoryType__ || Accordion); }; })();
1365
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Accordion, selectors: [["p-accordion"]], contentQueries: function Accordion_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1366
- i0.ɵɵcontentQuery(dirIndex, AccordionTab, 5);
1367
- } if (rf & 2) {
1368
- let _t;
1369
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabList = _t);
1370
- } }, hostVars: 8, hostBindings: function Accordion_HostBindings(rf, ctx) { if (rf & 1) {
1371
- i0.ɵɵlistener("keydown", function Accordion_keydown_HostBindingHandler($event) { return ctx.onKeydown($event); });
1372
- } if (rf & 2) {
1373
- i0.ɵɵstyleMap(ctx.hostStyle);
1374
- i0.ɵɵclassMap(ctx.hostClass);
1375
- i0.ɵɵclassProp("p-accordion", true)("p-component", true);
1376
- } }, inputs: { value: [1, "value"], multiple: [1, "multiple"], style: "style", styleClass: "styleClass", expandIcon: "expandIcon", collapseIcon: "collapseIcon", selectOnFocus: [1, "selectOnFocus"], transitionOptions: "transitionOptions", activeIndex: "activeIndex", headerAriaLevel: "headerAriaLevel" }, outputs: { value: "valueChange", activeIndexChange: "activeIndexChange", onClose: "onClose", onOpen: "onOpen" }, features: [i0.ɵɵProvidersFeature([AccordionStyle]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function Accordion_Template(rf, ctx) { if (rf & 1) {
1377
- i0.ɵɵprojectionDef();
1378
- i0.ɵɵprojection(0);
1379
- } }, dependencies: [CommonModule, SharedModule], encapsulation: 2, changeDetection: 0 });
1177
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Accordion, deps: null, target: i0.ɵɵFactoryTarget.Component });
1178
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.1.7", type: Accordion, isStandalone: true, selector: "p-accordion", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, expandIcon: { classPropertyName: "expandIcon", publicName: "expandIcon", isSignal: false, isRequired: false, transformFunction: null }, collapseIcon: { classPropertyName: "collapseIcon", publicName: "collapseIcon", isSignal: false, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, transitionOptions: { classPropertyName: "transitionOptions", publicName: "transitionOptions", isSignal: false, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: false, isRequired: false, transformFunction: null }, headerAriaLevel: { classPropertyName: "headerAriaLevel", publicName: "headerAriaLevel", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", activeIndexChange: "activeIndexChange", onClose: "onClose", onOpen: "onOpen" }, host: { listeners: { "keydown": "onKeydown($event)" }, properties: { "class.p-accordion": "true", "class.p-component": "true", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [AccordionStyle], queries: [{ propertyName: "tabList", predicate: AccordionTab, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-content /> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1380
1179
  }
1381
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Accordion, [{
1382
- type: Component,
1383
- args: [{
1384
- selector: 'p-accordion',
1385
- standalone: true,
1386
- imports: [CommonModule, SharedModule],
1387
- template: ` <ng-content /> `,
1388
- host: {
1389
- '[class.p-accordion]': 'true',
1390
- '[class.p-component]': 'true'
1391
- },
1392
- changeDetection: ChangeDetectionStrategy.OnPush,
1393
- providers: [AccordionStyle]
1394
- }]
1395
- }], null, { hostClass: [{
1396
- type: HostBinding,
1397
- args: ['class']
1398
- }], hostStyle: [{
1399
- type: HostBinding,
1400
- args: ['style']
1401
- }], style: [{
1402
- type: Input
1403
- }], styleClass: [{
1404
- type: Input
1405
- }], expandIcon: [{
1406
- type: Input
1407
- }], collapseIcon: [{
1408
- type: Input
1409
- }], transitionOptions: [{
1410
- type: Input
1411
- }], activeIndexChange: [{
1412
- type: Output
1413
- }], onClose: [{
1414
- type: Output
1415
- }], onOpen: [{
1416
- type: Output
1417
- }], tabList: [{
1418
- type: ContentChildren,
1419
- args: [AccordionTab, { descendants: true }]
1420
- }], activeIndex: [{
1421
- type: Input
1422
- }], headerAriaLevel: [{
1423
- type: Input
1424
- }], onKeydown: [{
1425
- type: HostListener,
1426
- args: ['keydown', ['$event']]
1427
- }] }); })();
1428
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Accordion, { className: "Accordion", filePath: "accordion.ts", lineNumber: 682 }); })();
1180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Accordion, decorators: [{
1181
+ type: Component,
1182
+ args: [{
1183
+ selector: 'p-accordion',
1184
+ standalone: true,
1185
+ imports: [CommonModule, SharedModule],
1186
+ template: ` <ng-content /> `,
1187
+ host: {
1188
+ '[class.p-accordion]': 'true',
1189
+ '[class.p-component]': 'true'
1190
+ },
1191
+ changeDetection: ChangeDetectionStrategy.OnPush,
1192
+ providers: [AccordionStyle]
1193
+ }]
1194
+ }], propDecorators: { hostClass: [{
1195
+ type: HostBinding,
1196
+ args: ['class']
1197
+ }], hostStyle: [{
1198
+ type: HostBinding,
1199
+ args: ['style']
1200
+ }], style: [{
1201
+ type: Input
1202
+ }], styleClass: [{
1203
+ type: Input
1204
+ }], expandIcon: [{
1205
+ type: Input
1206
+ }], collapseIcon: [{
1207
+ type: Input
1208
+ }], transitionOptions: [{
1209
+ type: Input
1210
+ }], activeIndexChange: [{
1211
+ type: Output
1212
+ }], onClose: [{
1213
+ type: Output
1214
+ }], onOpen: [{
1215
+ type: Output
1216
+ }], tabList: [{
1217
+ type: ContentChildren,
1218
+ args: [AccordionTab, { descendants: true }]
1219
+ }], activeIndex: [{
1220
+ type: Input
1221
+ }], headerAriaLevel: [{
1222
+ type: Input
1223
+ }], onKeydown: [{
1224
+ type: HostListener,
1225
+ args: ['keydown', ['$event']]
1226
+ }] } });
1429
1227
  class AccordionModule {
1430
- static ɵfac = function AccordionModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AccordionModule)(); };
1431
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AccordionModule });
1432
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent, SharedModule] });
1228
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1229
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent], exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent] });
1230
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent, SharedModule] });
1433
1231
  }
1434
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccordionModule, [{
1435
- type: NgModule,
1436
- args: [{
1437
- imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent],
1438
- exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent]
1439
- }]
1440
- }], null, null); })();
1441
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AccordionModule, { imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent], exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent] }); })();
1232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, decorators: [{
1233
+ type: NgModule,
1234
+ args: [{
1235
+ imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent],
1236
+ exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent]
1237
+ }]
1238
+ }] });
1442
1239
 
1443
1240
  /**
1444
1241
  * Generated bundle index. Do not edit.