primeng 19.0.6 → 19.0.7

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 (345) hide show
  1. package/dataview/dataview.interface.d.ts +9 -19
  2. package/dragdrop/dragdrop.d.ts +3 -2
  3. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  4. package/fesm2022/primeng-accordion.mjs +347 -560
  5. package/fesm2022/primeng-accordion.mjs.map +1 -1
  6. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  7. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  8. package/fesm2022/primeng-api.mjs +79 -89
  9. package/fesm2022/primeng-api.mjs.map +1 -1
  10. package/fesm2022/primeng-autocomplete.mjs +505 -786
  11. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  12. package/fesm2022/primeng-autofocus.mjs +26 -27
  13. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  14. package/fesm2022/primeng-avatar.mjs +70 -120
  15. package/fesm2022/primeng-avatar.mjs.map +1 -1
  16. package/fesm2022/primeng-avatargroup.mjs +44 -54
  17. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  18. package/fesm2022/primeng-badge.mjs +62 -71
  19. package/fesm2022/primeng-badge.mjs.map +1 -1
  20. package/fesm2022/primeng-base.mjs +6 -6
  21. package/fesm2022/primeng-base.mjs.map +1 -1
  22. package/fesm2022/primeng-basecomponent.mjs +15 -15
  23. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  24. package/fesm2022/primeng-blockui.mjs +66 -87
  25. package/fesm2022/primeng-blockui.mjs.map +1 -1
  26. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +223 -328
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +36 -40
  31. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  32. package/fesm2022/primeng-calendar.mjs +727 -1127
  33. package/fesm2022/primeng-calendar.mjs.map +1 -1
  34. package/fesm2022/primeng-card.mjs +88 -192
  35. package/fesm2022/primeng-card.mjs.map +1 -1
  36. package/fesm2022/primeng-carousel.mjs +218 -405
  37. package/fesm2022/primeng-carousel.mjs.map +1 -1
  38. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  39. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  40. package/fesm2022/primeng-chart.mjs +57 -63
  41. package/fesm2022/primeng-chart.mjs.map +1 -1
  42. package/fesm2022/primeng-checkbox.mjs +131 -183
  43. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  44. package/fesm2022/primeng-chip.mjs +92 -188
  45. package/fesm2022/primeng-chip.mjs.map +1 -1
  46. package/fesm2022/primeng-colorpicker.mjs +142 -167
  47. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  48. package/fesm2022/primeng-config.mjs +12 -12
  49. package/fesm2022/primeng-config.mjs.map +1 -1
  50. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  51. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  52. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  53. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  54. package/fesm2022/primeng-contextmenu.mjs +336 -450
  55. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  56. package/fesm2022/primeng-dataview.mjs +249 -352
  57. package/fesm2022/primeng-dataview.mjs.map +1 -1
  58. package/fesm2022/primeng-datepicker.mjs +740 -1136
  59. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  60. package/fesm2022/primeng-defer.mjs +25 -31
  61. package/fesm2022/primeng-defer.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +277 -478
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +68 -77
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +138 -167
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-dragdrop.mjs +85 -79
  69. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  70. package/fesm2022/primeng-drawer.mjs +171 -268
  71. package/fesm2022/primeng-drawer.mjs.map +1 -1
  72. package/fesm2022/primeng-dropdown.mjs +529 -867
  73. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  74. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  75. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  76. package/fesm2022/primeng-editor.mjs +118 -156
  77. package/fesm2022/primeng-editor.mjs.map +1 -1
  78. package/fesm2022/primeng-fieldset.mjs +153 -247
  79. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  80. package/fesm2022/primeng-fileupload.mjs +370 -687
  81. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  82. package/fesm2022/primeng-floatlabel.mjs +38 -46
  83. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  84. package/fesm2022/primeng-fluid.mjs +33 -41
  85. package/fesm2022/primeng-fluid.mjs.map +1 -1
  86. package/fesm2022/primeng-focustrap.mjs +23 -24
  87. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  88. package/fesm2022/primeng-galleria.mjs +529 -761
  89. package/fesm2022/primeng-galleria.mjs.map +1 -1
  90. package/fesm2022/primeng-iconfield.mjs +42 -51
  91. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  92. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  93. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  94. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  95. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  96. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  97. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  101. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  103. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  105. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  107. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  109. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  111. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  113. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  117. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  119. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-ban.mjs +24 -26
  121. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-bars.mjs +19 -19
  123. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  125. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-blank.mjs +14 -16
  127. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  129. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  131. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  133. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-check.mjs +17 -19
  135. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  137. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  139. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  141. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  145. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-eye.mjs +19 -19
  147. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  149. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-filter.mjs +24 -26
  151. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  153. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-home.mjs +26 -26
  155. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  157. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-minus.mjs +17 -19
  159. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  161. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-plus.mjs +24 -26
  163. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  165. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-search.mjs +26 -26
  167. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  169. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  171. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  173. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  175. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  177. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  179. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-star.mjs +24 -26
  181. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  183. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  185. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-times.mjs +17 -19
  187. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  189. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-trash.mjs +26 -26
  191. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-undo.mjs +26 -26
  193. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-upload.mjs +26 -26
  195. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  197. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  199. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  200. package/fesm2022/primeng-iftalabel.mjs +32 -38
  201. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  202. package/fesm2022/primeng-image.mjs +189 -370
  203. package/fesm2022/primeng-image.mjs.map +1 -1
  204. package/fesm2022/primeng-imagecompare.mjs +57 -86
  205. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  206. package/fesm2022/primeng-inplace.mjs +108 -206
  207. package/fesm2022/primeng-inplace.mjs.map +1 -1
  208. package/fesm2022/primeng-inputgroup.mjs +40 -50
  209. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  210. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  211. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  212. package/fesm2022/primeng-inputicon.mjs +39 -48
  213. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  214. package/fesm2022/primeng-inputmask.mjs +156 -181
  215. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  216. package/fesm2022/primeng-inputnumber.mjs +299 -416
  217. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  218. package/fesm2022/primeng-inputotp.mjs +97 -121
  219. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  220. package/fesm2022/primeng-inputswitch.mjs +87 -92
  221. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  222. package/fesm2022/primeng-inputtext.mjs +51 -57
  223. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  224. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  225. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  226. package/fesm2022/primeng-keyfilter.mjs +44 -47
  227. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  228. package/fesm2022/primeng-knob.mjs +105 -111
  229. package/fesm2022/primeng-knob.mjs.map +1 -1
  230. package/fesm2022/primeng-listbox.mjs +473 -790
  231. package/fesm2022/primeng-listbox.mjs.map +1 -1
  232. package/fesm2022/primeng-megamenu.mjs +377 -611
  233. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  234. package/fesm2022/primeng-menu.mjs +289 -460
  235. package/fesm2022/primeng-menu.mjs.map +1 -1
  236. package/fesm2022/primeng-menubar.mjs +357 -549
  237. package/fesm2022/primeng-menubar.mjs.map +1 -1
  238. package/fesm2022/primeng-message.mjs +156 -244
  239. package/fesm2022/primeng-message.mjs.map +1 -1
  240. package/fesm2022/primeng-messages.mjs +162 -278
  241. package/fesm2022/primeng-messages.mjs.map +1 -1
  242. package/fesm2022/primeng-metergroup.mjs +135 -264
  243. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  244. package/fesm2022/primeng-multiselect.mjs +655 -1132
  245. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  246. package/fesm2022/primeng-orderlist.mjs +228 -330
  247. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  248. package/fesm2022/primeng-organizationchart.mjs +161 -311
  249. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  250. package/fesm2022/primeng-overlay.mjs +135 -147
  251. package/fesm2022/primeng-overlay.mjs.map +1 -1
  252. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  253. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  254. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  255. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  256. package/fesm2022/primeng-paginator.mjs +212 -447
  257. package/fesm2022/primeng-paginator.mjs.map +1 -1
  258. package/fesm2022/primeng-panel.mjs +219 -317
  259. package/fesm2022/primeng-panel.mjs.map +1 -1
  260. package/fesm2022/primeng-panelmenu.mjs +439 -783
  261. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  262. package/fesm2022/primeng-password.mjs +268 -408
  263. package/fesm2022/primeng-password.mjs.map +1 -1
  264. package/fesm2022/primeng-picklist.mjs +560 -856
  265. package/fesm2022/primeng-picklist.mjs.map +1 -1
  266. package/fesm2022/primeng-popover.mjs +129 -148
  267. package/fesm2022/primeng-popover.mjs.map +1 -1
  268. package/fesm2022/primeng-progressbar.mjs +81 -121
  269. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  270. package/fesm2022/primeng-progressspinner.mjs +48 -58
  271. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  272. package/fesm2022/primeng-radiobutton.mjs +115 -106
  273. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  274. package/fesm2022/primeng-rating.mjs +120 -208
  275. package/fesm2022/primeng-rating.mjs.map +1 -1
  276. package/fesm2022/primeng-ripple.mjs +28 -29
  277. package/fesm2022/primeng-ripple.mjs.map +1 -1
  278. package/fesm2022/primeng-scroller.mjs +167 -295
  279. package/fesm2022/primeng-scroller.mjs.map +1 -1
  280. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  281. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  282. package/fesm2022/primeng-scrolltop.mjs +106 -150
  283. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  284. package/fesm2022/primeng-select.mjs +579 -955
  285. package/fesm2022/primeng-select.mjs.map +1 -1
  286. package/fesm2022/primeng-selectbutton.mjs +106 -133
  287. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  288. package/fesm2022/primeng-sidebar.mjs +151 -239
  289. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  290. package/fesm2022/primeng-skeleton.mjs +46 -54
  291. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  292. package/fesm2022/primeng-slider.mjs +186 -182
  293. package/fesm2022/primeng-slider.mjs.map +1 -1
  294. package/fesm2022/primeng-speeddial.mjs +192 -254
  295. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  296. package/fesm2022/primeng-splitbutton.mjs +211 -231
  297. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  298. package/fesm2022/primeng-splitter.mjs +126 -159
  299. package/fesm2022/primeng-splitter.mjs.map +1 -1
  300. package/fesm2022/primeng-stepper.mjs +227 -342
  301. package/fesm2022/primeng-stepper.mjs.map +1 -1
  302. package/fesm2022/primeng-steps.mjs +117 -170
  303. package/fesm2022/primeng-steps.mjs.map +1 -1
  304. package/fesm2022/primeng-styleclass.mjs +50 -53
  305. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  306. package/fesm2022/primeng-table.mjs +1808 -2584
  307. package/fesm2022/primeng-table.mjs.map +1 -1
  308. package/fesm2022/primeng-tabmenu.mjs +173 -319
  309. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  310. package/fesm2022/primeng-tabs.mjs +185 -300
  311. package/fesm2022/primeng-tabs.mjs.map +1 -1
  312. package/fesm2022/primeng-tabview.mjs +263 -435
  313. package/fesm2022/primeng-tabview.mjs.map +1 -1
  314. package/fesm2022/primeng-tag.mjs +63 -110
  315. package/fesm2022/primeng-tag.mjs.map +1 -1
  316. package/fesm2022/primeng-terminal.mjs +60 -104
  317. package/fesm2022/primeng-terminal.mjs.map +1 -1
  318. package/fesm2022/primeng-textarea.mjs +56 -61
  319. package/fesm2022/primeng-textarea.mjs.map +1 -1
  320. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  321. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  322. package/fesm2022/primeng-timeline.mjs +90 -156
  323. package/fesm2022/primeng-timeline.mjs.map +1 -1
  324. package/fesm2022/primeng-toast.mjs +251 -358
  325. package/fesm2022/primeng-toast.mjs.map +1 -1
  326. package/fesm2022/primeng-togglebutton.mjs +113 -150
  327. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  328. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  329. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  330. package/fesm2022/primeng-toolbar.mjs +62 -121
  331. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  332. package/fesm2022/primeng-tooltip.mjs +73 -74
  333. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  334. package/fesm2022/primeng-tree.mjs +441 -730
  335. package/fesm2022/primeng-tree.mjs.map +1 -1
  336. package/fesm2022/primeng-treeselect.mjs +342 -531
  337. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  338. package/fesm2022/primeng-treetable.mjs +1026 -1583
  339. package/fesm2022/primeng-treetable.mjs.map +1 -1
  340. package/fesm2022/primeng-usestyle.mjs +6 -6
  341. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  342. package/listbox/listbox.d.ts +2 -2
  343. package/package.json +178 -179
  344. package/password/password.d.ts +7 -1
  345. 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
@@ -517,34 +320,30 @@ class AccordionHeader extends BaseComponent {
517
320
  this.changeActiveValue();
518
321
  event.preventDefault();
519
322
  }
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 });
323
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionHeader, deps: null, target: i0.ɵɵFactoryTarget.Component });
324
+ 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: `
325
+ <ng-content />
326
+ @if (toggleicon) {
327
+ <ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
328
+ } @else {
329
+ <ng-container *ngIf="active()">
330
+ <span *ngIf="pcAccordion.collapseIcon" [class]="pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true"></span>
331
+ <ChevronDownIcon *ngIf="!pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
332
+ </ng-container>
333
+ <ng-container *ngIf="!active()">
334
+ <span *ngIf="pcAccordion.expandIcon" [class]="pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true"></span>
335
+ <ChevronUpIcon *ngIf="!pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
336
+ </ng-container>
337
+ }
338
+ `, 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
339
  }
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: `
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionHeader, decorators: [{
341
+ type: Component,
342
+ args: [{
343
+ selector: 'p-accordion-header, p-accordionheader',
344
+ imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
345
+ standalone: true,
346
+ template: `
548
347
  <ng-content />
549
348
  @if (toggleicon) {
550
349
  <ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
@@ -559,106 +358,97 @@ class AccordionHeader extends BaseComponent {
559
358
  </ng-container>
560
359
  }
561
360
  `,
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 }); })();
361
+ changeDetection: ChangeDetectionStrategy.OnPush,
362
+ encapsulation: ViewEncapsulation.None,
363
+ host: {
364
+ '[class.p-accordionheader]': 'true',
365
+ '[attr.id]': 'id()',
366
+ '[attr.aria-expanded]': 'active()',
367
+ '[attr.aria-controls]': 'ariaControls()',
368
+ '[attr.role]': '"button"',
369
+ '[attr.tabindex]': '"0"',
370
+ '[attr.data-p-active]': 'active()',
371
+ '[attr.data-p-disabled]': 'disabled()',
372
+ '[attr.data-pc-name]': '"accordionheader"',
373
+ '[style.user-select]': '"none"'
374
+ },
375
+ hostDirectives: [Ripple]
376
+ }]
377
+ }], propDecorators: { toggleicon: [{
378
+ type: ContentChild,
379
+ args: ['toggleicon']
380
+ }], onClick: [{
381
+ type: HostListener,
382
+ args: ['click', ['$event']]
383
+ }], onFocus: [{
384
+ type: HostListener,
385
+ args: ['focus', ['$event']]
386
+ }], onKeydown: [{
387
+ type: HostListener,
388
+ args: ['keydown', ['$event']]
389
+ }] } });
592
390
  class AccordionContent extends BaseComponent {
593
391
  pcAccordion = inject(forwardRef(() => Accordion));
594
392
  pcAccordionPanel = inject(forwardRef(() => AccordionPanel));
595
393
  active = computed(() => this.pcAccordionPanel.active());
596
394
  ariaLabelledby = computed(() => `${this.pcAccordion.id()}_accordionheader_${this.pcAccordionPanel.value()}`);
597
395
  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 });
396
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
397
+ 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">
398
+ <ng-content />
399
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], animations: [
400
+ trigger('content', [
401
+ state('hidden', style({
402
+ height: '0',
403
+ visibility: 'hidden'
404
+ })),
405
+ state('visible', style({
406
+ height: '*',
407
+ visibility: 'visible'
408
+ })),
409
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
410
+ transition('void => *', animate(0))
411
+ ])
412
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
622
413
  }
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">
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionContent, decorators: [{
415
+ type: Component,
416
+ args: [{
417
+ selector: 'p-accordion-content, p-accordioncontent',
418
+ imports: [CommonModule],
419
+ standalone: true,
420
+ template: ` <div class="p-accordioncontent-content">
630
421
  <ng-content />
631
422
  </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()
423
+ changeDetection: ChangeDetectionStrategy.OnPush,
424
+ encapsulation: ViewEncapsulation.None,
425
+ host: {
426
+ '[class.p-accordioncontent]': 'true',
427
+ '[attr.id]': 'id()',
428
+ '[attr.role]': '"region"',
429
+ '[attr.data-pc-name]': '"accordioncontent"',
430
+ '[attr.data-p-active]': 'active()',
431
+ '[attr.aria-labelledby]': 'ariaLabelledby()',
432
+ '[@content]': `active()
642
433
  ? { value: 'visible', params: { transitionParams: pcAccordion.transitionOptions } }
643
434
  : { 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 }); })();
435
+ },
436
+ animations: [
437
+ trigger('content', [
438
+ state('hidden', style({
439
+ height: '0',
440
+ visibility: 'hidden'
441
+ })),
442
+ state('visible', style({
443
+ height: '*',
444
+ visibility: 'visible'
445
+ })),
446
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
447
+ transition('void => *', animate(0))
448
+ ])
449
+ ]
450
+ }]
451
+ }] });
662
452
  /**
663
453
  * AccordionTab is a helper component for Accordion.
664
454
  * @deprecated Use AccordionPanel, AccordionHeader, AccordionContent instead.
@@ -871,72 +661,86 @@ class AccordionTab extends BaseComponent {
871
661
  this.accordion.tabs.splice(this.findTabIndex(), 1);
872
662
  super.ngOnDestroy();
873
663
  }
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 });
664
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
665
+ 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: `
666
+ <button
667
+ class="p-accordionheader"
668
+ type="button"
669
+ [disabled]="disabled"
670
+ [attr.aria-expanded]="selected"
671
+ [attr.aria-level]="headerAriaLevel"
672
+ [class.p-disabled]="disabled"
673
+ [attr.data-p-disabled]="disabled"
674
+ [attr.data-pc-section]="'accordionheader'"
675
+ (click)="toggle($event)"
676
+ (keydown)="onKeydown($event)"
677
+ [ngClass]="headerStyleClass"
678
+ [ngStyle]="headerStyle"
679
+ [attr.tabindex]="disabled ? null : 0"
680
+ [attr.id]="getTabHeaderActionId(id)"
681
+ [attr.aria-controls]="getTabContentId(id)"
682
+ >
683
+ @if (!headerTemplate && !_headerTemplate) {
684
+ {{ header }}
685
+ } @else {
686
+ @if (headerTemplate || _headerTemplate) {
687
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
688
+ }
689
+ @if (headerFacet) {
690
+ <ng-content select="p-header" />
691
+ }
692
+ }
693
+ @if (iconTemplate || _iconTemplate) {
694
+ <ng-template *ngTemplateOutlet="iconTemplate || _iconTemplate; context: { $implicit: selected }"></ng-template>
695
+ } @else {
696
+ <ng-container *ngIf="selected">
697
+ <span *ngIf="accordion.collapseIcon" [class]="accordion.collapseIcon" [ngClass]="iconClass" [attr.aria-hidden]="true"></span>
698
+ <ChevronDownIcon *ngIf="!accordion.collapseIcon" [ngClass]="iconClass" [attr.aria-hidden]="true" />
699
+ </ng-container>
700
+ <ng-container *ngIf="!selected">
701
+ <span *ngIf="accordion.expandIcon" [class]="accordion.expandIcon" [ngClass]="iconClass" [attr.aria-hidden]="true"></span>
702
+ <ChevronUpIcon *ngIf="!accordion.expandIcon" [ngClass]="iconClass" [attr.aria-hidden]="true" />
703
+ </ng-container>
704
+ }
705
+ </button>
706
+ <div
707
+ [attr.id]="getTabContentId(id)"
708
+ class="p-accordioncontent"
709
+ [@tabContent]="selected ? { value: 'visible', params: { transitionParams: transitionOptions } } : { value: 'hidden', params: { transitionParams: transitionOptions } }"
710
+ role="region"
711
+ [attr.aria-hidden]="!selected"
712
+ [attr.aria-labelledby]="getTabHeaderActionId(id)"
713
+ [attr.data-pc-section]="'toggleablecontent'"
714
+ >
715
+ <div class="p-accordioncontent-content" [ngClass]="contentStyleClass" [ngStyle]="contentStyle">
716
+ <ng-content />
717
+ <ng-container *ngIf="(contentTemplate || _contentTemplate) && (cache ? loaded : selected)">
718
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
719
+ </ng-container>
720
+ </div>
721
+ </div>
722
+ `, 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: [
723
+ trigger('tabContent', [
724
+ state('hidden', style({
725
+ height: '0',
726
+ visibility: 'hidden'
727
+ })),
728
+ state('visible', style({
729
+ height: '*',
730
+ visibility: 'visible'
731
+ })),
732
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
733
+ transition('void => *', animate(0))
734
+ ])
735
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
932
736
  }
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: `
737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionTab, decorators: [{
738
+ type: Component,
739
+ args: [{
740
+ selector: 'p-accordionTab, p-accordion-tab, p-accordiontab',
741
+ standalone: true,
742
+ imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
743
+ template: `
940
744
  <button
941
745
  class="p-accordionheader"
942
746
  type="button"
@@ -994,85 +798,84 @@ class AccordionTab extends BaseComponent {
994
798
  </div>
995
799
  </div>
996
800
  `,
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 }); })();
801
+ animations: [
802
+ trigger('tabContent', [
803
+ state('hidden', style({
804
+ height: '0',
805
+ visibility: 'hidden'
806
+ })),
807
+ state('visible', style({
808
+ height: '*',
809
+ visibility: 'visible'
810
+ })),
811
+ transition('visible <=> hidden', [animate('{{transitionParams}}')]),
812
+ transition('void => *', animate(0))
813
+ ])
814
+ ],
815
+ host: {
816
+ '[class.p-accordionpanel]': 'true',
817
+ '[class.p-accordionpanel-active]': 'selected',
818
+ '[attr.data-pc-name]': '"accordiontab"'
819
+ },
820
+ providers: [AccordionStyle],
821
+ changeDetection: ChangeDetectionStrategy.OnPush,
822
+ encapsulation: ViewEncapsulation.None
823
+ }]
824
+ }], propDecorators: { hostClass: [{
825
+ type: HostBinding,
826
+ args: ['class']
827
+ }], hostStyle: [{
828
+ type: HostBinding,
829
+ args: ['style']
830
+ }], id: [{
831
+ type: Input
832
+ }], header: [{
833
+ type: Input
834
+ }], headerStyle: [{
835
+ type: Input
836
+ }], tabStyle: [{
837
+ type: Input
838
+ }], contentStyle: [{
839
+ type: Input
840
+ }], tabStyleClass: [{
841
+ type: Input
842
+ }], headerStyleClass: [{
843
+ type: Input
844
+ }], contentStyleClass: [{
845
+ type: Input
846
+ }], disabled: [{
847
+ type: Input,
848
+ args: [{ transform: booleanAttribute }]
849
+ }], cache: [{
850
+ type: Input,
851
+ args: [{ transform: booleanAttribute }]
852
+ }], transitionOptions: [{
853
+ type: Input
854
+ }], iconPos: [{
855
+ type: Input
856
+ }], selected: [{
857
+ type: Input
858
+ }], headerAriaLevel: [{
859
+ type: Input,
860
+ args: [{ transform: numberAttribute }]
861
+ }], selectedChange: [{
862
+ type: Output
863
+ }], headerFacet: [{
864
+ type: ContentChildren,
865
+ args: [Header]
866
+ }], headerTemplate: [{
867
+ type: ContentChild,
868
+ args: ['header', { descendants: false }]
869
+ }], iconTemplate: [{
870
+ type: ContentChild,
871
+ args: ['icon', { descendants: false }]
872
+ }], contentTemplate: [{
873
+ type: ContentChild,
874
+ args: ['content', { descendants: false }]
875
+ }], templates: [{
876
+ type: ContentChildren,
877
+ args: [PrimeTemplate]
878
+ }] } });
1076
879
  /**
1077
880
  * Accordion groups a collection of contents in tabs.
1078
881
  * @group Components
@@ -1361,84 +1164,68 @@ class Accordion extends BaseComponent {
1361
1164
  }
1362
1165
  super.ngOnDestroy();
1363
1166
  }
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 });
1167
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Accordion, deps: null, target: i0.ɵɵFactoryTarget.Component });
1168
+ 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
1169
  }
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 }); })();
1170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Accordion, decorators: [{
1171
+ type: Component,
1172
+ args: [{
1173
+ selector: 'p-accordion',
1174
+ standalone: true,
1175
+ imports: [CommonModule, SharedModule],
1176
+ template: ` <ng-content /> `,
1177
+ host: {
1178
+ '[class.p-accordion]': 'true',
1179
+ '[class.p-component]': 'true'
1180
+ },
1181
+ changeDetection: ChangeDetectionStrategy.OnPush,
1182
+ providers: [AccordionStyle]
1183
+ }]
1184
+ }], propDecorators: { hostClass: [{
1185
+ type: HostBinding,
1186
+ args: ['class']
1187
+ }], hostStyle: [{
1188
+ type: HostBinding,
1189
+ args: ['style']
1190
+ }], style: [{
1191
+ type: Input
1192
+ }], styleClass: [{
1193
+ type: Input
1194
+ }], expandIcon: [{
1195
+ type: Input
1196
+ }], collapseIcon: [{
1197
+ type: Input
1198
+ }], transitionOptions: [{
1199
+ type: Input
1200
+ }], activeIndexChange: [{
1201
+ type: Output
1202
+ }], onClose: [{
1203
+ type: Output
1204
+ }], onOpen: [{
1205
+ type: Output
1206
+ }], tabList: [{
1207
+ type: ContentChildren,
1208
+ args: [AccordionTab, { descendants: true }]
1209
+ }], activeIndex: [{
1210
+ type: Input
1211
+ }], headerAriaLevel: [{
1212
+ type: Input
1213
+ }], onKeydown: [{
1214
+ type: HostListener,
1215
+ args: ['keydown', ['$event']]
1216
+ }] } });
1429
1217
  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] });
1218
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1219
+ 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] });
1220
+ 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
1221
  }
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] }); })();
1222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: AccordionModule, decorators: [{
1223
+ type: NgModule,
1224
+ args: [{
1225
+ imports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent],
1226
+ exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent]
1227
+ }]
1228
+ }] });
1442
1229
 
1443
1230
  /**
1444
1231
  * Generated bundle index. Do not edit.