primeng 16.4.0 → 16.4.2

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 (334) hide show
  1. package/contextmenu/contextmenu.d.ts +2 -1
  2. package/dock/dock.d.ts +2 -2
  3. package/dropdown/dropdown.d.ts +1 -0
  4. package/esm2022/accordion/accordion.mjs +10 -10
  5. package/esm2022/animate/animate.mjs +7 -7
  6. package/esm2022/api/confirmationservice.mjs +3 -3
  7. package/esm2022/api/contextmenuservice.mjs +3 -3
  8. package/esm2022/api/filterservice.mjs +3 -3
  9. package/esm2022/api/messageservice.mjs +3 -3
  10. package/esm2022/api/overlayservice.mjs +3 -3
  11. package/esm2022/api/primengconfig.mjs +3 -3
  12. package/esm2022/api/shared.mjs +13 -13
  13. package/esm2022/api/treedragdropservice.mjs +3 -3
  14. package/esm2022/autocomplete/autocomplete.mjs +7 -7
  15. package/esm2022/autofocus/autofocus.mjs +7 -7
  16. package/esm2022/avatar/avatar.mjs +7 -7
  17. package/esm2022/avatargroup/avatargroup.mjs +7 -7
  18. package/esm2022/badge/badge.mjs +10 -10
  19. package/esm2022/baseicon/baseicon.mjs +3 -3
  20. package/esm2022/blockui/blockui.mjs +7 -7
  21. package/esm2022/breadcrumb/breadcrumb.mjs +38 -28
  22. package/esm2022/button/button.mjs +10 -10
  23. package/esm2022/calendar/calendar.mjs +7 -7
  24. package/esm2022/card/card.mjs +7 -7
  25. package/esm2022/carousel/carousel.mjs +7 -7
  26. package/esm2022/cascadeselect/cascadeselect.mjs +10 -10
  27. package/esm2022/chart/chart.mjs +7 -7
  28. package/esm2022/checkbox/checkbox.mjs +7 -7
  29. package/esm2022/chip/chip.mjs +7 -7
  30. package/esm2022/chips/chips.mjs +7 -7
  31. package/esm2022/colorpicker/colorpicker.mjs +7 -7
  32. package/esm2022/confirmdialog/confirmdialog.mjs +7 -7
  33. package/esm2022/confirmpopup/confirmpopup.mjs +11 -8
  34. package/esm2022/contextmenu/contextmenu.mjs +31 -24
  35. package/esm2022/dataview/dataview.mjs +10 -10
  36. package/esm2022/defer/defer.mjs +7 -7
  37. package/esm2022/dialog/dialog.mjs +7 -7
  38. package/esm2022/divider/divider.mjs +7 -7
  39. package/esm2022/dock/dock.mjs +18 -22
  40. package/esm2022/dragdrop/dragdrop.mjs +10 -10
  41. package/esm2022/dropdown/dropdown.mjs +27 -27
  42. package/esm2022/dynamicdialog/dialogservice.mjs +3 -3
  43. package/esm2022/dynamicdialog/dynamicdialog.mjs +7 -7
  44. package/esm2022/dynamicdialog/dynamicdialogcontent.mjs +3 -3
  45. package/esm2022/editor/editor.mjs +7 -7
  46. package/esm2022/fieldset/fieldset.mjs +7 -7
  47. package/esm2022/fileupload/fileupload.mjs +7 -7
  48. package/esm2022/focustrap/focustrap.mjs +7 -7
  49. package/esm2022/galleria/galleria.mjs +19 -19
  50. package/esm2022/icons/angledoubledown/angledoubledown.mjs +3 -3
  51. package/esm2022/icons/angledoubleleft/angledoubleleft.mjs +3 -3
  52. package/esm2022/icons/angledoubleright/angledoubleright.mjs +3 -3
  53. package/esm2022/icons/angledoubleup/angledoubleup.mjs +3 -3
  54. package/esm2022/icons/angledown/angledown.mjs +3 -3
  55. package/esm2022/icons/angleleft/angleleft.mjs +3 -3
  56. package/esm2022/icons/angleright/angleright.mjs +3 -3
  57. package/esm2022/icons/angleup/angleup.mjs +3 -3
  58. package/esm2022/icons/arrowdown/arrowdown.mjs +3 -3
  59. package/esm2022/icons/arrowdownleft/arrowdownleft.mjs +3 -3
  60. package/esm2022/icons/arrowdownright/arrowdownright.mjs +3 -3
  61. package/esm2022/icons/arrowleft/arrowleft.mjs +3 -3
  62. package/esm2022/icons/arrowright/arrowright.mjs +3 -3
  63. package/esm2022/icons/arrowup/arrowup.mjs +3 -3
  64. package/esm2022/icons/ban/ban.mjs +3 -3
  65. package/esm2022/icons/bars/bars.mjs +3 -3
  66. package/esm2022/icons/calendar/calendar.mjs +3 -3
  67. package/esm2022/icons/caretleft/caretleft.mjs +3 -3
  68. package/esm2022/icons/caretright/caretright.mjs +3 -3
  69. package/esm2022/icons/check/check.mjs +3 -3
  70. package/esm2022/icons/chevrondown/chevrondown.mjs +3 -3
  71. package/esm2022/icons/chevronleft/chevronleft.mjs +3 -3
  72. package/esm2022/icons/chevronright/chevronright.mjs +3 -3
  73. package/esm2022/icons/chevronup/chevronup.mjs +3 -3
  74. package/esm2022/icons/exclamationtriangle/exclamationtriangle.mjs +3 -3
  75. package/esm2022/icons/eye/eye.mjs +3 -3
  76. package/esm2022/icons/eyeslash/eyeslash.mjs +3 -3
  77. package/esm2022/icons/filter/filter.mjs +3 -3
  78. package/esm2022/icons/filterslash/filterslash.mjs +3 -3
  79. package/esm2022/icons/home/home.mjs +3 -3
  80. package/esm2022/icons/infocircle/infocircle.mjs +3 -3
  81. package/esm2022/icons/minus/minus.mjs +3 -3
  82. package/esm2022/icons/pencil/pencil.mjs +3 -3
  83. package/esm2022/icons/plus/plus.mjs +3 -3
  84. package/esm2022/icons/refresh/refresh.mjs +3 -3
  85. package/esm2022/icons/search/search.mjs +3 -3
  86. package/esm2022/icons/searchminus/searchminus.mjs +3 -3
  87. package/esm2022/icons/searchplus/searchplus.mjs +3 -3
  88. package/esm2022/icons/sortalt/sortalt.mjs +3 -3
  89. package/esm2022/icons/sortamountdown/sortamountdown.mjs +3 -3
  90. package/esm2022/icons/sortamountupalt/sortamountupalt.mjs +3 -3
  91. package/esm2022/icons/spinner/spinner.mjs +3 -3
  92. package/esm2022/icons/star/star.mjs +3 -3
  93. package/esm2022/icons/starfill/starfill.mjs +3 -3
  94. package/esm2022/icons/thlarge/thlarge.mjs +3 -3
  95. package/esm2022/icons/times/times.mjs +3 -3
  96. package/esm2022/icons/timescircle/timescircle.mjs +3 -3
  97. package/esm2022/icons/trash/trash.mjs +3 -3
  98. package/esm2022/icons/undo/undo.mjs +3 -3
  99. package/esm2022/icons/upload/upload.mjs +3 -3
  100. package/esm2022/icons/windowmaximize/windowmaximize.mjs +3 -3
  101. package/esm2022/icons/windowminimize/windowminimize.mjs +3 -3
  102. package/esm2022/image/image.mjs +7 -7
  103. package/esm2022/inplace/inplace.mjs +13 -13
  104. package/esm2022/inputmask/inputmask.mjs +7 -7
  105. package/esm2022/inputnumber/inputnumber.mjs +7 -7
  106. package/esm2022/inputswitch/inputswitch.mjs +7 -7
  107. package/esm2022/inputtext/inputtext.mjs +7 -7
  108. package/esm2022/inputtextarea/inputtextarea.mjs +7 -7
  109. package/esm2022/keyfilter/keyfilter.mjs +7 -7
  110. package/esm2022/knob/knob.mjs +7 -7
  111. package/esm2022/listbox/listbox.mjs +7 -7
  112. package/esm2022/megamenu/megamenu.mjs +37 -30
  113. package/esm2022/menu/menu.mjs +13 -13
  114. package/esm2022/menubar/menubar.mjs +37 -30
  115. package/esm2022/message/message.mjs +7 -7
  116. package/esm2022/messages/messages.mjs +7 -7
  117. package/esm2022/multiselect/multiselect.mjs +10 -10
  118. package/esm2022/orderlist/orderlist.mjs +7 -7
  119. package/esm2022/organizationchart/organizationchart.mjs +10 -10
  120. package/esm2022/overlay/overlay.mjs +7 -7
  121. package/esm2022/overlaypanel/overlaypanel.mjs +7 -7
  122. package/esm2022/paginator/paginator.mjs +7 -7
  123. package/esm2022/panel/panel.mjs +7 -7
  124. package/esm2022/panelmenu/panelmenu.mjs +34 -36
  125. package/esm2022/password/password.mjs +13 -13
  126. package/esm2022/picklist/picklist.mjs +7 -7
  127. package/esm2022/progressbar/progressbar.mjs +7 -7
  128. package/esm2022/progressspinner/progressspinner.mjs +7 -7
  129. package/esm2022/radiobutton/radiobutton.mjs +10 -10
  130. package/esm2022/rating/rating.mjs +7 -7
  131. package/esm2022/ripple/ripple.mjs +7 -7
  132. package/esm2022/scroller/scroller.mjs +7 -7
  133. package/esm2022/scrollpanel/scrollpanel.mjs +7 -7
  134. package/esm2022/scrolltop/scrolltop.mjs +7 -7
  135. package/esm2022/selectbutton/selectbutton.mjs +7 -7
  136. package/esm2022/sidebar/sidebar.mjs +7 -7
  137. package/esm2022/skeleton/skeleton.mjs +7 -7
  138. package/esm2022/slidemenu/slidemenu.mjs +39 -25
  139. package/esm2022/slider/slider.mjs +7 -7
  140. package/esm2022/speeddial/speeddial.mjs +7 -7
  141. package/esm2022/spinner/spinner.mjs +7 -7
  142. package/esm2022/splitbutton/splitbutton.mjs +7 -7
  143. package/esm2022/splitter/splitter.mjs +7 -7
  144. package/esm2022/steps/steps.mjs +10 -12
  145. package/esm2022/styleclass/styleclass.mjs +7 -7
  146. package/esm2022/table/table.mjs +93 -88
  147. package/esm2022/tabmenu/tabmenu.mjs +7 -7
  148. package/esm2022/tabview/tabview.mjs +10 -10
  149. package/esm2022/tag/tag.mjs +7 -7
  150. package/esm2022/terminal/terminal.mjs +7 -7
  151. package/esm2022/terminal/terminalservice.mjs +3 -3
  152. package/esm2022/tieredmenu/tieredmenu.mjs +26 -24
  153. package/esm2022/timeline/timeline.mjs +9 -9
  154. package/esm2022/toast/toast.mjs +10 -10
  155. package/esm2022/togglebutton/togglebutton.mjs +7 -7
  156. package/esm2022/toolbar/toolbar.mjs +7 -7
  157. package/esm2022/tooltip/tooltip.mjs +7 -7
  158. package/esm2022/tree/tree.mjs +12 -12
  159. package/esm2022/treeselect/treeselect.mjs +7 -7
  160. package/esm2022/treetable/treetable.mjs +76 -80
  161. package/esm2022/tristatecheckbox/tristatecheckbox.mjs +7 -7
  162. package/esm2022/virtualscroller/virtualscroller.mjs +7 -7
  163. package/fesm2022/primeng-accordion.mjs +10 -10
  164. package/fesm2022/primeng-animate.mjs +7 -7
  165. package/fesm2022/primeng-api.mjs +34 -34
  166. package/fesm2022/primeng-autocomplete.mjs +7 -7
  167. package/fesm2022/primeng-autofocus.mjs +7 -7
  168. package/fesm2022/primeng-avatar.mjs +7 -7
  169. package/fesm2022/primeng-avatargroup.mjs +7 -7
  170. package/fesm2022/primeng-badge.mjs +10 -10
  171. package/fesm2022/primeng-baseicon.mjs +3 -3
  172. package/fesm2022/primeng-blockui.mjs +7 -7
  173. package/fesm2022/primeng-breadcrumb.mjs +37 -27
  174. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  175. package/fesm2022/primeng-button.mjs +10 -10
  176. package/fesm2022/primeng-calendar.mjs +7 -7
  177. package/fesm2022/primeng-card.mjs +7 -7
  178. package/fesm2022/primeng-carousel.mjs +7 -7
  179. package/fesm2022/primeng-cascadeselect.mjs +10 -10
  180. package/fesm2022/primeng-chart.mjs +7 -7
  181. package/fesm2022/primeng-checkbox.mjs +7 -7
  182. package/fesm2022/primeng-chip.mjs +7 -7
  183. package/fesm2022/primeng-chips.mjs +7 -7
  184. package/fesm2022/primeng-colorpicker.mjs +7 -7
  185. package/fesm2022/primeng-confirmdialog.mjs +7 -7
  186. package/fesm2022/primeng-confirmpopup.mjs +10 -7
  187. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  188. package/fesm2022/primeng-contextmenu.mjs +30 -23
  189. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  190. package/fesm2022/primeng-dataview.mjs +10 -10
  191. package/fesm2022/primeng-defer.mjs +7 -7
  192. package/fesm2022/primeng-dialog.mjs +7 -7
  193. package/fesm2022/primeng-divider.mjs +7 -7
  194. package/fesm2022/primeng-dock.mjs +17 -21
  195. package/fesm2022/primeng-dock.mjs.map +1 -1
  196. package/fesm2022/primeng-dragdrop.mjs +10 -10
  197. package/fesm2022/primeng-dropdown.mjs +26 -26
  198. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  199. package/fesm2022/primeng-dynamicdialog.mjs +13 -13
  200. package/fesm2022/primeng-editor.mjs +7 -7
  201. package/fesm2022/primeng-fieldset.mjs +7 -7
  202. package/fesm2022/primeng-fileupload.mjs +7 -7
  203. package/fesm2022/primeng-focustrap.mjs +7 -7
  204. package/fesm2022/primeng-galleria.mjs +19 -19
  205. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  206. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  207. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  208. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  209. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  210. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  211. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  212. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  213. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  214. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  215. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  216. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  217. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  218. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  219. package/fesm2022/primeng-icons-ban.mjs +3 -3
  220. package/fesm2022/primeng-icons-bars.mjs +3 -3
  221. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  222. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  223. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  224. package/fesm2022/primeng-icons-check.mjs +3 -3
  225. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  226. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  227. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  228. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  229. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  230. package/fesm2022/primeng-icons-eye.mjs +3 -3
  231. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  232. package/fesm2022/primeng-icons-filter.mjs +3 -3
  233. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  234. package/fesm2022/primeng-icons-home.mjs +3 -3
  235. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  236. package/fesm2022/primeng-icons-minus.mjs +3 -3
  237. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  238. package/fesm2022/primeng-icons-plus.mjs +3 -3
  239. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  240. package/fesm2022/primeng-icons-search.mjs +3 -3
  241. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  242. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  243. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  244. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  245. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  246. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  247. package/fesm2022/primeng-icons-star.mjs +3 -3
  248. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  249. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  250. package/fesm2022/primeng-icons-times.mjs +3 -3
  251. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  252. package/fesm2022/primeng-icons-trash.mjs +3 -3
  253. package/fesm2022/primeng-icons-undo.mjs +3 -3
  254. package/fesm2022/primeng-icons-upload.mjs +3 -3
  255. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  256. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  257. package/fesm2022/primeng-image.mjs +7 -7
  258. package/fesm2022/primeng-inplace.mjs +13 -13
  259. package/fesm2022/primeng-inputmask.mjs +7 -7
  260. package/fesm2022/primeng-inputnumber.mjs +7 -7
  261. package/fesm2022/primeng-inputswitch.mjs +7 -7
  262. package/fesm2022/primeng-inputtext.mjs +7 -7
  263. package/fesm2022/primeng-inputtextarea.mjs +7 -7
  264. package/fesm2022/primeng-keyfilter.mjs +7 -7
  265. package/fesm2022/primeng-knob.mjs +7 -7
  266. package/fesm2022/primeng-listbox.mjs +7 -7
  267. package/fesm2022/primeng-megamenu.mjs +36 -29
  268. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  269. package/fesm2022/primeng-menu.mjs +13 -13
  270. package/fesm2022/primeng-menubar.mjs +36 -29
  271. package/fesm2022/primeng-menubar.mjs.map +1 -1
  272. package/fesm2022/primeng-message.mjs +7 -7
  273. package/fesm2022/primeng-messages.mjs +7 -7
  274. package/fesm2022/primeng-multiselect.mjs +10 -10
  275. package/fesm2022/primeng-orderlist.mjs +7 -7
  276. package/fesm2022/primeng-organizationchart.mjs +10 -10
  277. package/fesm2022/primeng-overlay.mjs +7 -7
  278. package/fesm2022/primeng-overlaypanel.mjs +7 -7
  279. package/fesm2022/primeng-paginator.mjs +7 -7
  280. package/fesm2022/primeng-panel.mjs +7 -7
  281. package/fesm2022/primeng-panelmenu.mjs +33 -35
  282. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  283. package/fesm2022/primeng-password.mjs +13 -13
  284. package/fesm2022/primeng-picklist.mjs +7 -7
  285. package/fesm2022/primeng-progressbar.mjs +7 -7
  286. package/fesm2022/primeng-progressspinner.mjs +7 -7
  287. package/fesm2022/primeng-radiobutton.mjs +10 -10
  288. package/fesm2022/primeng-rating.mjs +7 -7
  289. package/fesm2022/primeng-ripple.mjs +7 -7
  290. package/fesm2022/primeng-scroller.mjs +7 -7
  291. package/fesm2022/primeng-scrollpanel.mjs +7 -7
  292. package/fesm2022/primeng-scrolltop.mjs +7 -7
  293. package/fesm2022/primeng-selectbutton.mjs +7 -7
  294. package/fesm2022/primeng-sidebar.mjs +7 -7
  295. package/fesm2022/primeng-skeleton.mjs +7 -7
  296. package/fesm2022/primeng-slidemenu.mjs +38 -24
  297. package/fesm2022/primeng-slidemenu.mjs.map +1 -1
  298. package/fesm2022/primeng-slider.mjs +7 -7
  299. package/fesm2022/primeng-speeddial.mjs +7 -7
  300. package/fesm2022/primeng-spinner.mjs +7 -7
  301. package/fesm2022/primeng-splitbutton.mjs +7 -7
  302. package/fesm2022/primeng-splitter.mjs +7 -7
  303. package/fesm2022/primeng-steps.mjs +9 -11
  304. package/fesm2022/primeng-steps.mjs.map +1 -1
  305. package/fesm2022/primeng-styleclass.mjs +7 -7
  306. package/fesm2022/primeng-table.mjs +92 -87
  307. package/fesm2022/primeng-table.mjs.map +1 -1
  308. package/fesm2022/primeng-tabmenu.mjs +7 -7
  309. package/fesm2022/primeng-tabview.mjs +10 -10
  310. package/fesm2022/primeng-tag.mjs +7 -7
  311. package/fesm2022/primeng-terminal.mjs +10 -10
  312. package/fesm2022/primeng-tieredmenu.mjs +25 -23
  313. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  314. package/fesm2022/primeng-timeline.mjs +9 -9
  315. package/fesm2022/primeng-timeline.mjs.map +1 -1
  316. package/fesm2022/primeng-toast.mjs +10 -10
  317. package/fesm2022/primeng-togglebutton.mjs +7 -7
  318. package/fesm2022/primeng-toolbar.mjs +7 -7
  319. package/fesm2022/primeng-tooltip.mjs +7 -7
  320. package/fesm2022/primeng-tree.mjs +11 -11
  321. package/fesm2022/primeng-tree.mjs.map +1 -1
  322. package/fesm2022/primeng-treeselect.mjs +7 -7
  323. package/fesm2022/primeng-treetable.mjs +78 -82
  324. package/fesm2022/primeng-treetable.mjs.map +1 -1
  325. package/fesm2022/primeng-tristatecheckbox.mjs +7 -7
  326. package/fesm2022/primeng-virtualscroller.mjs +7 -7
  327. package/megamenu/megamenu.d.ts +1 -1
  328. package/menubar/menubar.d.ts +2 -1
  329. package/package.json +120 -120
  330. package/panelmenu/panelmenu.d.ts +6 -7
  331. package/slidemenu/slidemenu.d.ts +2 -1
  332. package/table/table.d.ts +3 -1
  333. package/tieredmenu/tieredmenu.d.ts +1 -1
  334. package/treetable/treetable.d.ts +4 -5
@@ -83,10 +83,10 @@ class InputTextarea {
83
83
  this.ngControlSubscription.unsubscribe();
84
84
  }
85
85
  }
86
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: InputTextarea, deps: [{ token: i0.ElementRef }, { token: i1.NgModel, optional: true }, { token: i1.NgControl, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
87
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.0", type: InputTextarea, selector: "[pInputTextarea]", inputs: { autoResize: "autoResize" }, outputs: { onResize: "onResize" }, host: { listeners: { "input": "onInput($event)" }, properties: { "class.p-filled": "filled", "class.p-inputtextarea-resizable": "autoResize" }, classAttribute: "p-inputtextarea p-inputtext p-component p-element" }, ngImport: i0 });
86
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputTextarea, deps: [{ token: i0.ElementRef }, { token: i1.NgModel, optional: true }, { token: i1.NgControl, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
87
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: InputTextarea, selector: "[pInputTextarea]", inputs: { autoResize: "autoResize" }, outputs: { onResize: "onResize" }, host: { listeners: { "input": "onInput($event)" }, properties: { "class.p-filled": "filled", "class.p-inputtextarea-resizable": "autoResize" }, classAttribute: "p-inputtextarea p-inputtext p-component p-element" }, ngImport: i0 });
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: InputTextarea, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputTextarea, decorators: [{
90
90
  type: Directive,
91
91
  args: [{
92
92
  selector: '[pInputTextarea]',
@@ -109,11 +109,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
109
109
  args: ['input', ['$event']]
110
110
  }] } });
111
111
  class InputTextareaModule {
112
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: InputTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
113
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: InputTextareaModule, declarations: [InputTextarea], imports: [CommonModule], exports: [InputTextarea] });
114
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: InputTextareaModule, imports: [CommonModule] });
112
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
113
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: InputTextareaModule, declarations: [InputTextarea], imports: [CommonModule], exports: [InputTextarea] });
114
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputTextareaModule, imports: [CommonModule] });
115
115
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: InputTextareaModule, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputTextareaModule, decorators: [{
117
117
  type: NgModule,
118
118
  args: [{
119
119
  imports: [CommonModule],
@@ -201,10 +201,10 @@ class KeyFilter {
201
201
  }
202
202
  }
203
203
  }
204
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KeyFilter, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
205
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.0", type: KeyFilter, selector: "[pKeyFilter]", inputs: { pValidateOnly: "pValidateOnly", pattern: ["pKeyFilter", "pattern"] }, outputs: { ngModelChange: "ngModelChange" }, host: { listeners: { "input": "onInput($event)", "keypress": "onKeyPress($event)", "paste": "onPaste($event)" }, classAttribute: "p-element" }, providers: [KEYFILTER_VALIDATOR], ngImport: i0 });
204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyFilter, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
205
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: KeyFilter, selector: "[pKeyFilter]", inputs: { pValidateOnly: "pValidateOnly", pattern: ["pKeyFilter", "pattern"] }, outputs: { ngModelChange: "ngModelChange" }, host: { listeners: { "input": "onInput($event)", "keypress": "onKeyPress($event)", "paste": "onPaste($event)" }, classAttribute: "p-element" }, providers: [KEYFILTER_VALIDATOR], ngImport: i0 });
206
206
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KeyFilter, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyFilter, decorators: [{
208
208
  type: Directive,
209
209
  args: [{
210
210
  selector: '[pKeyFilter]',
@@ -237,11 +237,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
237
237
  args: ['paste', ['$event']]
238
238
  }] } });
239
239
  class KeyFilterModule {
240
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KeyFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
241
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: KeyFilterModule, declarations: [KeyFilter], imports: [CommonModule], exports: [KeyFilter] });
242
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KeyFilterModule, imports: [CommonModule] });
240
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
241
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: KeyFilterModule, declarations: [KeyFilter], imports: [CommonModule], exports: [KeyFilter] });
242
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyFilterModule, imports: [CommonModule] });
243
243
  }
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KeyFilterModule, decorators: [{
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KeyFilterModule, decorators: [{
245
245
  type: NgModule,
246
246
  args: [{
247
247
  imports: [CommonModule],
@@ -275,8 +275,8 @@ class Knob {
275
275
  get _value() {
276
276
  return this.value != null ? this.value : this.min;
277
277
  }
278
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: Knob, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
279
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.0", type: Knob, selector: "p-knob", inputs: { styleClass: "styleClass", style: "style", valueColor: "valueColor", rangeColor: "rangeColor", textColor: "textColor", valueTemplate: "valueTemplate", name: "name", size: "size", step: "step", min: "min", max: "max", strokeWidth: "strokeWidth", disabled: "disabled", showValue: "showValue", readonly: "readonly" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [KNOB_VALUE_ACCESSOR], ngImport: i0, template: `
278
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Knob, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
279
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: Knob, selector: "p-knob", inputs: { styleClass: "styleClass", style: "style", valueColor: "valueColor", rangeColor: "rangeColor", textColor: "textColor", valueTemplate: "valueTemplate", name: "name", size: "size", step: "step", min: "min", max: "max", strokeWidth: "strokeWidth", disabled: "disabled", showValue: "showValue", readonly: "readonly" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [KNOB_VALUE_ACCESSOR], ngImport: i0, template: `
280
280
  <div [ngClass]="containerClass()" [class]="styleClass" [ngStyle]="style">
281
281
  <svg
282
282
  viewBox="0 0 100 100"
@@ -295,7 +295,7 @@ class Knob {
295
295
  </div>
296
296
  `, isInline: true, styles: ["@keyframes dash-frame{to{stroke-dashoffset:0}}@layer primeng{.p-knob-range{fill:none;transition:stroke .1s ease-in}.p-knob-value{animation-name:dash-frame;animation-fill-mode:forwards;fill:none}.p-knob-text{font-size:1.3rem;text-align:center}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
297
297
  }
298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: Knob, decorators: [{
298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Knob, decorators: [{
299
299
  type: Component,
300
300
  args: [{ selector: 'p-knob', template: `
301
301
  <div [ngClass]="containerClass()" [class]="styleClass" [ngStyle]="style">
@@ -354,11 +354,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
354
354
  type: Output
355
355
  }] } });
356
356
  class KnobModule {
357
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KnobModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
358
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: KnobModule, declarations: [Knob], imports: [CommonModule], exports: [Knob] });
359
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KnobModule, imports: [CommonModule] });
357
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KnobModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
358
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: KnobModule, declarations: [Knob], imports: [CommonModule], exports: [Knob] });
359
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KnobModule, imports: [CommonModule] });
360
360
  }
361
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: KnobModule, decorators: [{
361
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: KnobModule, decorators: [{
362
362
  type: NgModule,
363
363
  args: [{
364
364
  imports: [CommonModule],
@@ -669,8 +669,8 @@ class Listbox {
669
669
  this.translationSubscription.unsubscribe();
670
670
  }
671
671
  }
672
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: Listbox, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FilterService }, { token: i1.PrimeNGConfig }], target: i0.ɵɵFactoryTarget.Component });
673
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.0", type: Listbox, selector: "p-listbox", inputs: { multiple: "multiple", style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: "readonly", disabled: "disabled", checkbox: "checkbox", filter: "filter", filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: "metaKeySelection", dataKey: "dataKey", showToggleAll: "showToggleAll", optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: "group", options: "options", filterValue: "filterValue" }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick" }, host: { classAttribute: "p-element" }, providers: [LISTBOX_VALUE_ACCESSOR], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }], ngImport: i0, template: `
672
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Listbox, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FilterService }, { token: i1.PrimeNGConfig }], target: i0.ɵɵFactoryTarget.Component });
673
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: Listbox, selector: "p-listbox", inputs: { multiple: "multiple", style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: "readonly", disabled: "disabled", checkbox: "checkbox", filter: "filter", filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: "metaKeySelection", dataKey: "dataKey", showToggleAll: "showToggleAll", optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: "group", options: "options", filterValue: "filterValue" }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick" }, host: { classAttribute: "p-element" }, providers: [LISTBOX_VALUE_ACCESSOR], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }], ngImport: i0, template: `
674
674
  <div [ngClass]="{ 'p-listbox p-component': true, 'p-disabled': disabled }" [ngStyle]="style" [class]="styleClass">
675
675
  <div class="p-listbox-header" *ngIf="headerFacet || headerTemplate">
676
676
  <ng-content select="p-header"></ng-content>
@@ -775,7 +775,7 @@ class Listbox {
775
775
  </div>
776
776
  `, isInline: true, styles: ["@layer primeng{.p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;position:relative;overflow:hidden;display:flex;align-items:center;-webkit-user-select:none;user-select:none}.p-listbox-header{display:flex;align-items:center}.p-listbox-filter-container{position:relative;flex:1 1 auto}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i2.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgTemplateOutlet; }), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(function () { return i3.Ripple; }), selector: "[pRipple]" }, { kind: "component", type: i0.forwardRef(function () { return SearchIcon; }), selector: "SearchIcon" }, { kind: "component", type: i0.forwardRef(function () { return CheckIcon; }), selector: "CheckIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
777
777
  }
778
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: Listbox, decorators: [{
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: Listbox, decorators: [{
779
779
  type: Component,
780
780
  args: [{ selector: 'p-listbox', template: `
781
781
  <div [ngClass]="{ 'p-listbox p-component': true, 'p-disabled': disabled }" [ngStyle]="style" [class]="styleClass">
@@ -960,11 +960,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
960
960
  args: [PrimeTemplate]
961
961
  }] } });
962
962
  class ListboxModule {
963
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
964
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: ListboxModule, declarations: [Listbox], imports: [CommonModule, SharedModule, RippleModule, SearchIcon, CheckIcon], exports: [Listbox, SharedModule] });
965
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ListboxModule, imports: [CommonModule, SharedModule, RippleModule, SearchIcon, CheckIcon, SharedModule] });
963
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
964
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ListboxModule, declarations: [Listbox], imports: [CommonModule, SharedModule, RippleModule, SearchIcon, CheckIcon], exports: [Listbox, SharedModule] });
965
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ListboxModule, imports: [CommonModule, SharedModule, RippleModule, SearchIcon, CheckIcon, SharedModule] });
966
966
  }
967
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: ListboxModule, decorators: [{
967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ListboxModule, decorators: [{
968
968
  type: NgModule,
969
969
  args: [{
970
970
  imports: [CommonModule, SharedModule, RippleModule, SearchIcon, CheckIcon],
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { isPlatformBrowser, DOCUMENT, CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, Component, ViewEncapsulation, Input, Output, ViewChild, signal, effect, PLATFORM_ID, ChangeDetectionStrategy, Inject, ContentChildren, NgModule } from '@angular/core';
4
+ import { EventEmitter, forwardRef, Component, ViewEncapsulation, Inject, Input, Output, ViewChild, signal, effect, PLATFORM_ID, ChangeDetectionStrategy, ContentChildren, NgModule } from '@angular/core';
5
5
  import * as i2 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
7
  import * as i5 from 'primeng/api';
@@ -49,7 +49,7 @@ class MegaMenuSub {
49
49
  return processedItem && processedItem.item ? ObjectUtils.getItemValue(processedItem.item[name], params) : undefined;
50
50
  }
51
51
  getItemId(processedItem) {
52
- return `${this.menuId}_${processedItem.key}`;
52
+ return processedItem.item && processedItem.item?.id ? processedItem.item.id : `${this.menuId}_${processedItem.key}`;
53
53
  }
54
54
  getSubListId(processedItem) {
55
55
  return `${this.getItemId(processedItem)}_list`;
@@ -126,8 +126,8 @@ class MegaMenuSub {
126
126
  const { event, processedItem } = param;
127
127
  this.itemMouseEnter.emit({ originalEvent: event, processedItem });
128
128
  }
129
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuSub, deps: [{ token: i0.ElementRef }, { token: MegaMenu }], target: i0.ɵɵFactoryTarget.Component });
130
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.0", type: MegaMenuSub, selector: "p-megaMenuSub", inputs: { id: "id", items: "items", menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: "level", focusedItemId: "focusedItemId", disabled: "disabled", orientation: "orientation", activeItem: "activeItem", submenu: "submenu", tabindex: "tabindex", root: "root" }, outputs: { itemClick: "itemClick", itemMouseEnter: "itemMouseEnter", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeydown: "menuKeydown" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "menubarViewChild", first: true, predicate: ["menubar"], descendants: true, static: true }], ngImport: i0, template: `
129
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuSub, deps: [{ token: i0.ElementRef }, { token: forwardRef(() => MegaMenu) }], target: i0.ɵɵFactoryTarget.Component });
130
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: MegaMenuSub, selector: "p-megaMenuSub", inputs: { id: "id", items: "items", menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: "level", focusedItemId: "focusedItemId", disabled: "disabled", orientation: "orientation", activeItem: "activeItem", submenu: "submenu", tabindex: "tabindex", root: "root" }, outputs: { itemClick: "itemClick", itemMouseEnter: "itemMouseEnter", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeydown: "menuKeydown" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "menubarViewChild", first: true, predicate: ["menubar"], descendants: true, static: true }], ngImport: i0, template: `
131
131
  <ul
132
132
  #menubar
133
133
  [ngClass]="{ 'p-megamenu-root-list': root, 'p-submenu-list p-megamenu-submenu': !root }"
@@ -276,7 +276,7 @@ class MegaMenuSub {
276
276
  </ul>
277
277
  `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgTemplateOutlet; }), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.RouterLink; }), selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.RouterLinkActive; }), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(function () { return i3.Ripple; }), selector: "[pRipple]" }, { kind: "directive", type: i0.forwardRef(function () { return i4.Tooltip; }), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i0.forwardRef(function () { return AngleDownIcon; }), selector: "AngleDownIcon" }, { kind: "component", type: i0.forwardRef(function () { return AngleRightIcon; }), selector: "AngleRightIcon" }, { kind: "component", type: i0.forwardRef(function () { return MegaMenuSub; }), selector: "p-megaMenuSub", inputs: ["id", "items", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "disabled", "orientation", "activeItem", "submenu", "tabindex", "root"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }], encapsulation: i0.ViewEncapsulation.None });
278
278
  }
279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuSub, decorators: [{
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuSub, decorators: [{
280
280
  type: Component,
281
281
  args: [{
282
282
  selector: 'p-megaMenuSub',
@@ -433,7 +433,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
433
433
  class: 'p-element'
434
434
  }
435
435
  }]
436
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MegaMenu }]; }, propDecorators: { id: [{
436
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: MegaMenu, decorators: [{
437
+ type: Inject,
438
+ args: [forwardRef(() => MegaMenu)]
439
+ }] }]; }, propDecorators: { id: [{
437
440
  type: Input
438
441
  }], items: [{
439
442
  type: Input
@@ -547,7 +550,7 @@ class MegaMenu {
547
550
  dirty = false;
548
551
  focused = false;
549
552
  activeItem = signal(null);
550
- focusedItemInfo = signal({ index: -1, level: 0, parentKey: '' });
553
+ focusedItemInfo = signal({ index: -1, level: 0, parentKey: '', item: null });
551
554
  searchValue = '';
552
555
  searchTimeout;
553
556
  _processedItems;
@@ -572,7 +575,8 @@ class MegaMenu {
572
575
  return this._processedItems;
573
576
  }
574
577
  get focusedItemId() {
575
- return ObjectUtils.isNotEmpty(this.focusedItemInfo().key) ? `${this.id}_${this.focusedItemInfo().key}` : null;
578
+ const focusedItem = this.focusedItemInfo();
579
+ return focusedItem?.item && focusedItem.item?.id ? focusedItem.item.id : ObjectUtils.isNotEmpty(focusedItem.key) ? `${this.id}_${focusedItem.key}` : null;
576
580
  }
577
581
  constructor(document, platformId, el, renderer, config, cd) {
578
582
  this.document = document;
@@ -643,9 +647,9 @@ class MegaMenu {
643
647
  const root = ObjectUtils.isEmpty(processedItem.parent);
644
648
  const selected = this.isSelected(processedItem);
645
649
  if (selected) {
646
- const { index, key, parentKey } = processedItem;
650
+ const { index, key, parentKey, item } = processedItem;
647
651
  this.activeItem.set(null);
648
- this.focusedItemInfo.set({ index, key, parentKey });
652
+ this.focusedItemInfo.set({ index, key, parentKey, item });
649
653
  this.dirty = !root;
650
654
  DomHandler.focus(this.rootmenu.menubarViewChild.nativeElement);
651
655
  }
@@ -679,18 +683,18 @@ class MegaMenu {
679
683
  const { processedItem, isFocus } = event;
680
684
  if (ObjectUtils.isEmpty(processedItem))
681
685
  return;
682
- const { index, key, parentKey, items } = processedItem;
686
+ const { index, key, parentKey, items, item } = processedItem;
683
687
  const grouped = ObjectUtils.isNotEmpty(items);
684
688
  if (grouped) {
685
689
  this.activeItem.set(processedItem);
686
690
  }
687
- this.focusedItemInfo.set({ index, key, parentKey });
691
+ this.focusedItemInfo.set({ index, key, parentKey, item });
688
692
  grouped && (this.dirty = true);
689
693
  isFocus && DomHandler.focus(this.rootmenu.menubarViewChild.nativeElement);
690
694
  }
691
695
  hide(event, isFocus) {
692
696
  this.activeItem.set(null);
693
- this.focusedItemInfo.set({ index: -1, key: '', parentKey: '' });
697
+ this.focusedItemInfo.set({ index: -1, key: '', parentKey: '', item: null });
694
698
  isFocus && DomHandler.focus(this.rootmenu.menubarViewChild.nativeElement);
695
699
  this.dirty = false;
696
700
  }
@@ -699,12 +703,12 @@ class MegaMenu {
699
703
  if (this.focusedItemInfo().index === -1) {
700
704
  const index = this.findFirstFocusedItemIndex();
701
705
  const processedItem = this.findVisibleItem(index);
702
- this.focusedItemInfo.set({ index, key: processedItem.key, parentKey: processedItem.parentKey });
706
+ this.focusedItemInfo.set({ index, key: processedItem.key, parentKey: processedItem.parentKey, item: processedItem.item });
703
707
  }
704
708
  }
705
709
  onMenuBlur(event) {
706
710
  this.focused = false;
707
- this.focusedItemInfo.set({ index: -1, level: 0, parentKey: '' });
711
+ this.focusedItemInfo.set({ index: -1, level: 0, parentKey: '', item: null });
708
712
  this.searchValue = '';
709
713
  this.dirty = false;
710
714
  }
@@ -829,20 +833,23 @@ class MegaMenu {
829
833
  this.focusedItemInfo.mutate((value) => {
830
834
  value.index = index;
831
835
  value.key = ObjectUtils.isNotEmpty(processedItem) ? processedItem.key : '';
836
+ value.item = processedItem.item;
832
837
  });
833
838
  this.scrollInView();
834
839
  }
835
840
  onArrowDownKey(event) {
836
841
  if (this.orientation === 'horizontal') {
837
842
  if (ObjectUtils.isNotEmpty(this.activeItem()) && this.activeItem().key === this.focusedItemInfo().key) {
838
- this.focusedItemInfo.set({ index: -1, key: '', parentKey: this.activeItem().key });
843
+ const { key, item } = this.activeItem();
844
+ this.focusedItemInfo.set({ index: -1, key: '', parentKey: key, item });
839
845
  }
840
846
  else {
841
847
  const processedItem = this.findVisibleItem(this.focusedItemInfo().index);
842
848
  const grouped = this.isProccessedItemGroup(processedItem);
843
849
  if (grouped) {
850
+ const { parentKey, key, item } = processedItem;
844
851
  this.onItemChange({ originalEvent: event, processedItem });
845
- this.focusedItemInfo.set({ index: -1, key: processedItem.key, parentKey: processedItem.parentKey });
852
+ this.focusedItemInfo.set({ index: -1, key: key, parentKey: parentKey, item: item });
846
853
  this.searchValue = '';
847
854
  }
848
855
  }
@@ -857,14 +864,14 @@ class MegaMenu {
857
864
  if (grouped) {
858
865
  if (this.orientation === 'vertical') {
859
866
  if (ObjectUtils.isNotEmpty(this.activeItem()) && this.activeItem().key === processedItem.key) {
860
- this.focusedItemInfo.set({ index: -1, key: '', parentKey: this.activeItem().key });
867
+ this.focusedItemInfo.set({ index: -1, key: '', parentKey: this.activeItem().key, item: processedItem.item });
861
868
  }
862
869
  else {
863
870
  const processedItem = this.findVisibleItem(this.focusedItemInfo().index);
864
871
  const grouped = this.isProccessedItemGroup(processedItem);
865
872
  if (grouped) {
866
873
  this.onItemChange({ originalEvent: event, processedItem });
867
- this.focusedItemInfo.set({ index: -1, key: processedItem.key, parentKey: processedItem.parentKey });
874
+ this.focusedItemInfo.set({ index: -1, key: processedItem.key, parentKey: processedItem.parentKey, item: processedItem.item });
868
875
  this.searchValue = '';
869
876
  }
870
877
  }
@@ -886,7 +893,7 @@ class MegaMenu {
886
893
  const grouped = this.isProccessedItemGroup(processedItem);
887
894
  if (!grouped && ObjectUtils.isNotEmpty(this.activeItem)) {
888
895
  if (this.focusedItemInfo().index === 0) {
889
- this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key, parentKey: this.activeItem().parentKey });
896
+ this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key, parentKey: this.activeItem().parentKey, item: processedItem.item });
890
897
  this.activeItem.set(null);
891
898
  }
892
899
  else {
@@ -914,7 +921,7 @@ class MegaMenu {
914
921
  else {
915
922
  if (this.orientation === 'vertical' && ObjectUtils.isNotEmpty(this.activeItem())) {
916
923
  if (processedItem.columnIndex === 0) {
917
- this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key, parentKey: this.activeItem().parentKey });
924
+ this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key, parentKey: this.activeItem().parentKey, item: processedItem.item });
918
925
  this.activeItem.set(null);
919
926
  }
920
927
  }
@@ -937,7 +944,7 @@ class MegaMenu {
937
944
  }
938
945
  onEscapeKey(event) {
939
946
  if (ObjectUtils.isNotEmpty(this.activeItem())) {
940
- this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key });
947
+ this.focusedItemInfo.set({ index: this.activeItem().index, key: this.activeItem().key, item: this.activeItem().item });
941
948
  this.activeItem.set(null);
942
949
  }
943
950
  event.preventDefault();
@@ -1016,8 +1023,8 @@ class MegaMenu {
1016
1023
  this.unbindOutsideClickListener();
1017
1024
  this.unbindResizeListener();
1018
1025
  }
1019
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenu, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i5.PrimeNGConfig }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1020
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.0", type: MegaMenu, selector: "p-megaMenu", inputs: { model: "model", style: "style", styleClass: "styleClass", orientation: "orientation", id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", disabled: "disabled", tabindex: "tabindex" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "menubutton", first: true, predicate: ["menubutton"], descendants: true }, { propertyName: "rootmenu", first: true, predicate: ["rootmenu"], descendants: true }], ngImport: i0, template: `
1026
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenu, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i5.PrimeNGConfig }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1027
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: MegaMenu, selector: "p-megaMenu", inputs: { model: "model", style: "style", styleClass: "styleClass", orientation: "orientation", id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", disabled: "disabled", tabindex: "tabindex" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "menubutton", first: true, predicate: ["menubutton"], descendants: true }, { propertyName: "rootmenu", first: true, predicate: ["rootmenu"], descendants: true }], ngImport: i0, template: `
1021
1028
  <div
1022
1029
  [ngClass]="{ 'p-megamenu p-component': true, 'p-megamenu-horizontal': orientation == 'horizontal', 'p-megamenu-vertical': orientation == 'vertical' }"
1023
1030
  [class]="styleClass"
@@ -1060,7 +1067,7 @@ class MegaMenu {
1060
1067
  </div>
1061
1068
  `, isInline: true, styles: ["@layer primeng{.p-megamenu-root-list{margin:0;padding:0;list-style:none}.p-megamenu-root-list>.p-menuitem{position:relative}.p-megamenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-megamenu .p-menuitem-text{line-height:1}.p-megamenu-panel{display:none;position:absolute;width:auto;z-index:1}.p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{display:block}.p-megamenu-submenu{margin:0;padding:0;list-style:none}.p-megamenu-horizontal{align-items:center}.p-megamenu-horizontal .p-megamenu-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-megamenu-horizontal .p-megamenu-end{margin-left:auto;align-self:center}.p-megamenu-vertical .p-megamenu-root-list{flex-direction:column}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{left:100%;top:0}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-content>.p-menuitem-link>.p-submenu-icon:not(svg){margin-left:auto}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-content>.p-menuitem-link>.p-icon-wrapper{margin-left:auto}.p-megamenu-grid{display:flex}.p-megamenu-col-2,.p-megamenu-col-3,.p-megamenu-col-4,.p-megamenu-col-6,.p-megamenu-col-12{flex:0 0 auto;padding:.5rem}.p-megamenu-col-2{width:16.6667%}.p-megamenu-col-3{width:25%}.p-megamenu-col-4{width:33.3333%}.p-megamenu-col-6{width:50%}.p-megamenu-col-12{width:100%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MegaMenuSub, selector: "p-megaMenuSub", inputs: ["id", "items", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "disabled", "orientation", "activeItem", "submenu", "tabindex", "root"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1062
1069
  }
1063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenu, decorators: [{
1070
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenu, decorators: [{
1064
1071
  type: Component,
1065
1072
  args: [{ selector: 'p-megaMenu', template: `
1066
1073
  <div
@@ -1141,11 +1148,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImpor
1141
1148
  args: ['rootmenu']
1142
1149
  }] } });
1143
1150
  class MegaMenuModule {
1144
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1145
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuModule, declarations: [MegaMenu, MegaMenuSub], imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule, AngleDownIcon, AngleRightIcon], exports: [MegaMenu, RouterModule, TooltipModule, SharedModule] });
1146
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuModule, imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule, AngleDownIcon, AngleRightIcon, RouterModule, TooltipModule, SharedModule] });
1151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1152
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuModule, declarations: [MegaMenu, MegaMenuSub], imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule, AngleDownIcon, AngleRightIcon], exports: [MegaMenu, RouterModule, TooltipModule, SharedModule] });
1153
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuModule, imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule, AngleDownIcon, AngleRightIcon, RouterModule, TooltipModule, SharedModule] });
1147
1154
  }
1148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.0", ngImport: i0, type: MegaMenuModule, decorators: [{
1155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MegaMenuModule, decorators: [{
1149
1156
  type: NgModule,
1150
1157
  args: [{
1151
1158
  imports: [CommonModule, RouterModule, RippleModule, TooltipModule, SharedModule, AngleDownIcon, AngleRightIcon],