primeng 19.0.5 → 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 (364) hide show
  1. package/badge/badge.d.ts +2 -2
  2. package/base/style/basestyle.d.ts +4 -6
  3. package/config/primeng.d.ts +3 -0
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/datepicker/datepicker.d.ts +1 -0
  6. package/datepicker/style/datepickerstyle.d.ts +1 -0
  7. package/dragdrop/dragdrop.d.ts +3 -2
  8. package/dynamicdialog/dynamicdialog-config.d.ts +1 -1
  9. package/dynamicdialog/dynamicdialog.d.ts +2 -1
  10. package/fesm2022/primeng-accordion.mjs +347 -560
  11. package/fesm2022/primeng-accordion.mjs.map +1 -1
  12. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  13. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  14. package/fesm2022/primeng-api.mjs +79 -89
  15. package/fesm2022/primeng-api.mjs.map +1 -1
  16. package/fesm2022/primeng-autocomplete.mjs +507 -788
  17. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  18. package/fesm2022/primeng-autofocus.mjs +26 -27
  19. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  20. package/fesm2022/primeng-avatar.mjs +72 -120
  21. package/fesm2022/primeng-avatar.mjs.map +1 -1
  22. package/fesm2022/primeng-avatargroup.mjs +44 -54
  23. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  24. package/fesm2022/primeng-badge.mjs +62 -71
  25. package/fesm2022/primeng-badge.mjs.map +1 -1
  26. package/fesm2022/primeng-base.mjs +14 -8
  27. package/fesm2022/primeng-base.mjs.map +1 -1
  28. package/fesm2022/primeng-basecomponent.mjs +17 -17
  29. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  30. package/fesm2022/primeng-blockui.mjs +66 -87
  31. package/fesm2022/primeng-blockui.mjs.map +1 -1
  32. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  33. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  34. package/fesm2022/primeng-button.mjs +223 -328
  35. package/fesm2022/primeng-button.mjs.map +1 -1
  36. package/fesm2022/primeng-buttongroup.mjs +36 -40
  37. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  38. package/fesm2022/primeng-calendar.mjs +727 -1127
  39. package/fesm2022/primeng-calendar.mjs.map +1 -1
  40. package/fesm2022/primeng-card.mjs +89 -193
  41. package/fesm2022/primeng-card.mjs.map +1 -1
  42. package/fesm2022/primeng-carousel.mjs +227 -410
  43. package/fesm2022/primeng-carousel.mjs.map +1 -1
  44. package/fesm2022/primeng-cascadeselect.mjs +393 -577
  45. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  46. package/fesm2022/primeng-chart.mjs +57 -63
  47. package/fesm2022/primeng-chart.mjs.map +1 -1
  48. package/fesm2022/primeng-checkbox.mjs +133 -185
  49. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  50. package/fesm2022/primeng-chip.mjs +92 -188
  51. package/fesm2022/primeng-chip.mjs.map +1 -1
  52. package/fesm2022/primeng-colorpicker.mjs +142 -167
  53. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  54. package/fesm2022/primeng-config.mjs +18 -16
  55. package/fesm2022/primeng-config.mjs.map +1 -1
  56. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  57. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  58. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  59. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  60. package/fesm2022/primeng-contextmenu.mjs +336 -450
  61. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  62. package/fesm2022/primeng-dataview.mjs +249 -352
  63. package/fesm2022/primeng-dataview.mjs.map +1 -1
  64. package/fesm2022/primeng-datepicker.mjs +751 -1144
  65. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  66. package/fesm2022/primeng-defer.mjs +25 -31
  67. package/fesm2022/primeng-defer.mjs.map +1 -1
  68. package/fesm2022/primeng-dialog.mjs +277 -478
  69. package/fesm2022/primeng-dialog.mjs.map +1 -1
  70. package/fesm2022/primeng-divider.mjs +68 -77
  71. package/fesm2022/primeng-divider.mjs.map +1 -1
  72. package/fesm2022/primeng-dock.mjs +138 -167
  73. package/fesm2022/primeng-dock.mjs.map +1 -1
  74. package/fesm2022/primeng-dragdrop.mjs +85 -79
  75. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  76. package/fesm2022/primeng-drawer.mjs +172 -269
  77. package/fesm2022/primeng-drawer.mjs.map +1 -1
  78. package/fesm2022/primeng-dropdown.mjs +531 -869
  79. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  80. package/fesm2022/primeng-dynamicdialog.mjs +163 -304
  81. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  82. package/fesm2022/primeng-editor.mjs +118 -156
  83. package/fesm2022/primeng-editor.mjs.map +1 -1
  84. package/fesm2022/primeng-fieldset.mjs +153 -247
  85. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  86. package/fesm2022/primeng-fileupload.mjs +370 -690
  87. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  88. package/fesm2022/primeng-floatlabel.mjs +38 -46
  89. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  90. package/fesm2022/primeng-fluid.mjs +33 -41
  91. package/fesm2022/primeng-fluid.mjs.map +1 -1
  92. package/fesm2022/primeng-focustrap.mjs +23 -24
  93. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  94. package/fesm2022/primeng-galleria.mjs +529 -761
  95. package/fesm2022/primeng-galleria.mjs.map +1 -1
  96. package/fesm2022/primeng-iconfield.mjs +42 -51
  97. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  101. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  103. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  105. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  107. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  109. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  111. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  113. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  117. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  119. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  121. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  123. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  125. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-ban.mjs +24 -26
  127. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-bars.mjs +19 -19
  129. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  131. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-blank.mjs +14 -16
  133. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  135. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  137. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  139. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-check.mjs +17 -19
  141. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  145. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  147. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  149. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  151. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-eye.mjs +19 -19
  153. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  155. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-filter.mjs +24 -26
  157. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  159. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-home.mjs +26 -26
  161. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  163. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-minus.mjs +17 -19
  165. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  167. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-plus.mjs +24 -26
  169. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  171. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-search.mjs +26 -26
  173. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  175. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  177. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  179. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  181. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  183. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  185. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-star.mjs +24 -26
  187. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  189. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  191. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-times.mjs +17 -19
  193. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  195. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-trash.mjs +26 -26
  197. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-undo.mjs +26 -26
  199. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  200. package/fesm2022/primeng-icons-upload.mjs +26 -26
  201. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  202. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  203. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  204. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  205. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  206. package/fesm2022/primeng-iftalabel.mjs +32 -38
  207. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  208. package/fesm2022/primeng-image.mjs +189 -370
  209. package/fesm2022/primeng-image.mjs.map +1 -1
  210. package/fesm2022/primeng-imagecompare.mjs +57 -86
  211. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  212. package/fesm2022/primeng-inplace.mjs +108 -206
  213. package/fesm2022/primeng-inplace.mjs.map +1 -1
  214. package/fesm2022/primeng-inputgroup.mjs +40 -50
  215. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  216. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  217. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  218. package/fesm2022/primeng-inputicon.mjs +39 -48
  219. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  220. package/fesm2022/primeng-inputmask.mjs +157 -182
  221. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  222. package/fesm2022/primeng-inputnumber.mjs +303 -420
  223. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  224. package/fesm2022/primeng-inputotp.mjs +99 -123
  225. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  226. package/fesm2022/primeng-inputswitch.mjs +87 -92
  227. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  228. package/fesm2022/primeng-inputtext.mjs +56 -57
  229. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  230. package/fesm2022/primeng-inputtextarea.mjs +51 -56
  231. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  232. package/fesm2022/primeng-keyfilter.mjs +44 -47
  233. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  234. package/fesm2022/primeng-knob.mjs +105 -111
  235. package/fesm2022/primeng-knob.mjs.map +1 -1
  236. package/fesm2022/primeng-listbox.mjs +511 -791
  237. package/fesm2022/primeng-listbox.mjs.map +1 -1
  238. package/fesm2022/primeng-megamenu.mjs +377 -611
  239. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  240. package/fesm2022/primeng-menu.mjs +291 -473
  241. package/fesm2022/primeng-menu.mjs.map +1 -1
  242. package/fesm2022/primeng-menubar.mjs +357 -549
  243. package/fesm2022/primeng-menubar.mjs.map +1 -1
  244. package/fesm2022/primeng-message.mjs +160 -244
  245. package/fesm2022/primeng-message.mjs.map +1 -1
  246. package/fesm2022/primeng-messages.mjs +162 -278
  247. package/fesm2022/primeng-messages.mjs.map +1 -1
  248. package/fesm2022/primeng-metergroup.mjs +135 -264
  249. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  250. package/fesm2022/primeng-multiselect.mjs +660 -1135
  251. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  252. package/fesm2022/primeng-orderlist.mjs +228 -330
  253. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  254. package/fesm2022/primeng-organizationchart.mjs +161 -311
  255. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  256. package/fesm2022/primeng-overlay.mjs +135 -147
  257. package/fesm2022/primeng-overlay.mjs.map +1 -1
  258. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  259. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  260. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  261. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  262. package/fesm2022/primeng-paginator.mjs +212 -447
  263. package/fesm2022/primeng-paginator.mjs.map +1 -1
  264. package/fesm2022/primeng-panel.mjs +219 -317
  265. package/fesm2022/primeng-panel.mjs.map +1 -1
  266. package/fesm2022/primeng-panelmenu.mjs +439 -783
  267. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  268. package/fesm2022/primeng-password.mjs +271 -410
  269. package/fesm2022/primeng-password.mjs.map +1 -1
  270. package/fesm2022/primeng-picklist.mjs +564 -856
  271. package/fesm2022/primeng-picklist.mjs.map +1 -1
  272. package/fesm2022/primeng-popover.mjs +129 -148
  273. package/fesm2022/primeng-popover.mjs.map +1 -1
  274. package/fesm2022/primeng-progressbar.mjs +81 -121
  275. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  276. package/fesm2022/primeng-progressspinner.mjs +48 -58
  277. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  278. package/fesm2022/primeng-radiobutton.mjs +117 -108
  279. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  280. package/fesm2022/primeng-rating.mjs +134 -218
  281. package/fesm2022/primeng-rating.mjs.map +1 -1
  282. package/fesm2022/primeng-ripple.mjs +28 -29
  283. package/fesm2022/primeng-ripple.mjs.map +1 -1
  284. package/fesm2022/primeng-scroller.mjs +167 -295
  285. package/fesm2022/primeng-scroller.mjs.map +1 -1
  286. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  287. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  288. package/fesm2022/primeng-scrolltop.mjs +106 -150
  289. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  290. package/fesm2022/primeng-select.mjs +581 -957
  291. package/fesm2022/primeng-select.mjs.map +1 -1
  292. package/fesm2022/primeng-selectbutton.mjs +106 -133
  293. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  294. package/fesm2022/primeng-sidebar.mjs +151 -239
  295. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  296. package/fesm2022/primeng-skeleton.mjs +46 -54
  297. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  298. package/fesm2022/primeng-slider.mjs +186 -182
  299. package/fesm2022/primeng-slider.mjs.map +1 -1
  300. package/fesm2022/primeng-speeddial.mjs +192 -254
  301. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  302. package/fesm2022/primeng-splitbutton.mjs +211 -231
  303. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  304. package/fesm2022/primeng-splitter.mjs +126 -159
  305. package/fesm2022/primeng-splitter.mjs.map +1 -1
  306. package/fesm2022/primeng-stepper.mjs +235 -341
  307. package/fesm2022/primeng-stepper.mjs.map +1 -1
  308. package/fesm2022/primeng-steps.mjs +117 -170
  309. package/fesm2022/primeng-steps.mjs.map +1 -1
  310. package/fesm2022/primeng-styleclass.mjs +50 -53
  311. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  312. package/fesm2022/primeng-table.mjs +1869 -2628
  313. package/fesm2022/primeng-table.mjs.map +1 -1
  314. package/fesm2022/primeng-tabmenu.mjs +173 -319
  315. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  316. package/fesm2022/primeng-tabs.mjs +193 -308
  317. package/fesm2022/primeng-tabs.mjs.map +1 -1
  318. package/fesm2022/primeng-tabview.mjs +263 -435
  319. package/fesm2022/primeng-tabview.mjs.map +1 -1
  320. package/fesm2022/primeng-tag.mjs +63 -110
  321. package/fesm2022/primeng-tag.mjs.map +1 -1
  322. package/fesm2022/primeng-terminal.mjs +60 -104
  323. package/fesm2022/primeng-terminal.mjs.map +1 -1
  324. package/fesm2022/primeng-textarea.mjs +59 -64
  325. package/fesm2022/primeng-textarea.mjs.map +1 -1
  326. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  327. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  328. package/fesm2022/primeng-timeline.mjs +90 -156
  329. package/fesm2022/primeng-timeline.mjs.map +1 -1
  330. package/fesm2022/primeng-toast.mjs +260 -365
  331. package/fesm2022/primeng-toast.mjs.map +1 -1
  332. package/fesm2022/primeng-togglebutton.mjs +117 -150
  333. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  334. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  335. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  336. package/fesm2022/primeng-toolbar.mjs +62 -121
  337. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  338. package/fesm2022/primeng-tooltip.mjs +74 -75
  339. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  340. package/fesm2022/primeng-tree.mjs +455 -729
  341. package/fesm2022/primeng-tree.mjs.map +1 -1
  342. package/fesm2022/primeng-treeselect.mjs +344 -533
  343. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  344. package/fesm2022/primeng-treetable.mjs +1027 -1584
  345. package/fesm2022/primeng-treetable.mjs.map +1 -1
  346. package/fesm2022/primeng-usestyle.mjs +6 -6
  347. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  348. package/fesm2022/primeng-utils.mjs +3 -1
  349. package/fesm2022/primeng-utils.mjs.map +1 -1
  350. package/listbox/listbox.d.ts +17 -3
  351. package/message/message.d.ts +1 -0
  352. package/overlaybadge/overlaybadge.d.ts +1 -1
  353. package/package.json +189 -190
  354. package/password/password.d.ts +8 -1
  355. package/password/style/passwordstyle.d.ts +1 -0
  356. package/picklist/picklist.d.ts +11 -1
  357. package/stepper/stepper.d.ts +2 -1
  358. package/table/table.d.ts +1 -1
  359. package/table/table.interface.d.ts +2 -2
  360. package/tabs/tablist.d.ts +1 -1
  361. package/toast/toast.d.ts +1 -1
  362. package/tree/tree.d.ts +10 -2
  363. package/tree/tree.interface.d.ts +8 -0
  364. package/utils/zindexutils.d.ts +2 -0
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule, isPlatformBrowser } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, EventEmitter, inject, forwardRef, numberAttribute, booleanAttribute, Component, ViewEncapsulation, Input, Output, ViewChild, signal, effect, ChangeDetectionStrategy, ContentChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, EventEmitter, inject, forwardRef, booleanAttribute, numberAttribute, ViewChild, Output, Input, ViewEncapsulation, Component, signal, effect, ContentChildren, ContentChild, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
5
  import * as i2 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
7
  import { resolve, isNotEmpty, uuid, isEmpty, focus, findSingle, isPrintableCharacter, findLastIndex, isTouchDevice } from '@primeuix/utils';
@@ -413,12 +413,12 @@ class MegaMenuStyle extends BaseStyle {
413
413
  name = 'megamenu';
414
414
  theme = theme;
415
415
  classes = classes;
416
- static ɵfac = /*@__PURE__*/ (() => { let ɵMegaMenuStyle_BaseFactory; return function MegaMenuStyle_Factory(__ngFactoryType__) { return (ɵMegaMenuStyle_BaseFactory || (ɵMegaMenuStyle_BaseFactory = i0.ɵɵgetInheritedFactory(MegaMenuStyle)))(__ngFactoryType__ || MegaMenuStyle); }; })();
417
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MegaMenuStyle, factory: MegaMenuStyle.ɵfac });
416
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
417
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuStyle });
418
418
  }
419
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MegaMenuStyle, [{
420
- type: Injectable
421
- }], null, null); })();
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuStyle, decorators: [{
420
+ type: Injectable
421
+ }] });
422
422
  /**
423
423
  *
424
424
  * MegaMenu is navigation component that displays submenus together.
@@ -500,400 +500,6 @@ var MegaMenuClasses;
500
500
  MegaMenuClasses["end"] = "p-megamenu-end";
501
501
  })(MegaMenuClasses || (MegaMenuClasses = {}));
502
502
 
503
- const _c0 = ["menubar"];
504
- const _c1 = a0 => ({ "max-height": a0, overflow: "auto" });
505
- const _c2 = (a0, a1) => ({ "p-megamenu-root-list": a0, "p-megamenu-submenu": a1 });
506
- const _c3 = a0 => ({ "p-megamenu-item-link": true, "p-disabled": a0 });
507
- const _c4 = () => ({ exact: false });
508
- const _c5 = a0 => ({ $implicit: a0 });
509
- function MegaMenuSub_ul_0_li_2_Template(rf, ctx) { if (rf & 1) {
510
- i0.ɵɵelementStart(0, "li", 8);
511
- i0.ɵɵtext(1);
512
- i0.ɵɵelementEnd();
513
- } if (rf & 2) {
514
- const ctx_r1 = i0.ɵɵnextContext(2);
515
- i0.ɵɵstyleMap(ctx_r1.getItemProp(ctx_r1.submenu, "style"));
516
- i0.ɵɵproperty("ngClass", ctx_r1.getSubmenuHeaderClass(ctx_r1.submenu));
517
- i0.ɵɵadvance();
518
- i0.ɵɵtextInterpolate1(" ", ctx_r1.getItemLabel(ctx_r1.submenu), " ");
519
- } }
520
- function MegaMenuSub_ul_0_ng_template_3_li_0_Template(rf, ctx) { if (rf & 1) {
521
- i0.ɵɵelement(0, "li", 11);
522
- } if (rf & 2) {
523
- const processedItem_r3 = i0.ɵɵnextContext().$implicit;
524
- const ctx_r1 = i0.ɵɵnextContext(2);
525
- i0.ɵɵstyleMap(ctx_r1.getItemProp(processedItem_r3, "style"));
526
- i0.ɵɵproperty("ngClass", ctx_r1.getSeparatorItemClass(processedItem_r3));
527
- i0.ɵɵattribute("id", ctx_r1.getItemId(processedItem_r3))("data-pc-section", "separator");
528
- } }
529
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_span_1_Template(rf, ctx) { if (rf & 1) {
530
- i0.ɵɵelement(0, "span", 22);
531
- } if (rf & 2) {
532
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
533
- const ctx_r1 = i0.ɵɵnextContext(2);
534
- i0.ɵɵproperty("ngClass", ctx_r1.getItemProp(processedItem_r3, "icon"))("ngStyle", ctx_r1.getItemProp(processedItem_r3, "iconStyle"));
535
- i0.ɵɵattribute("data-pc-section", "icon")("tabindex", -1);
536
- } }
537
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
538
- i0.ɵɵelementStart(0, "span", 23);
539
- i0.ɵɵtext(1);
540
- i0.ɵɵelementEnd();
541
- } if (rf & 2) {
542
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
543
- const ctx_r1 = i0.ɵɵnextContext(2);
544
- i0.ɵɵattribute("data-pc-section", "label");
545
- i0.ɵɵadvance();
546
- i0.ɵɵtextInterpolate1(" ", ctx_r1.getItemLabel(processedItem_r3), " ");
547
- } }
548
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
549
- i0.ɵɵelement(0, "span", 24);
550
- } if (rf & 2) {
551
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
552
- const ctx_r1 = i0.ɵɵnextContext(2);
553
- i0.ɵɵproperty("innerHTML", ctx_r1.getItemLabel(processedItem_r3), i0.ɵɵsanitizeHtml);
554
- i0.ɵɵattribute("data-pc-section", "label");
555
- } }
556
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_p_badge_5_Template(rf, ctx) { if (rf & 1) {
557
- i0.ɵɵelement(0, "p-badge", 25);
558
- } if (rf & 2) {
559
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
560
- const ctx_r1 = i0.ɵɵnextContext(2);
561
- i0.ɵɵproperty("styleClass", ctx_r1.getItemProp(processedItem_r3, "badgeStyleClass"))("value", ctx_r1.getItemProp(processedItem_r3, "badge"));
562
- } }
563
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
564
- i0.ɵɵelement(0, "AngleDownIcon", 27);
565
- } if (rf & 2) {
566
- i0.ɵɵproperty("ngClass", "p-megamenu-submenu-icon");
567
- i0.ɵɵattribute("data-pc-section", "submenuicon")("aria-hidden", true);
568
- } }
569
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_2_AngleRightIcon_0_Template(rf, ctx) { if (rf & 1) {
570
- i0.ɵɵelement(0, "AngleRightIcon", 27);
571
- } if (rf & 2) {
572
- i0.ɵɵproperty("ngClass", "p-megamenu-submenu-icon");
573
- i0.ɵɵattribute("data-pc-section", "submenuicon")("aria-hidden", true);
574
- } }
575
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
576
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_2_AngleRightIcon_0_Template, 1, 3, "AngleRightIcon", 28);
577
- } if (rf & 2) {
578
- const ctx_r1 = i0.ɵɵnextContext(8);
579
- i0.ɵɵproperty("ngIf", ctx_r1.orientation === "vertical");
580
- } }
581
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
582
- i0.ɵɵelementContainerStart(0);
583
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_1_Template, 1, 3, "AngleDownIcon", 27)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Conditional_2_Template, 1, 1, "AngleRightIcon", 27);
584
- i0.ɵɵelementContainerEnd();
585
- } if (rf & 2) {
586
- const ctx_r1 = i0.ɵɵnextContext(7);
587
- i0.ɵɵadvance();
588
- i0.ɵɵconditional(ctx_r1.orientation === "horizontal" || ctx_r1.mobileActive ? 1 : 2);
589
- } }
590
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_2_ng_template_0_Template(rf, ctx) { }
591
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_2_Template(rf, ctx) { if (rf & 1) {
592
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_2_ng_template_0_Template, 0, 0, "ng-template", 29);
593
- } if (rf & 2) {
594
- i0.ɵɵproperty("data-pc-section", "submenuicon")("aria-hidden", true);
595
- } }
596
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
597
- i0.ɵɵelementContainerStart(0);
598
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Template, 3, 1, "ng-container", 14)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_2_Template, 1, 2, null, 26);
599
- i0.ɵɵelementContainerEnd();
600
- } if (rf & 2) {
601
- const ctx_r1 = i0.ɵɵnextContext(6);
602
- i0.ɵɵadvance();
603
- i0.ɵɵproperty("ngIf", !ctx_r1.megaMenu.submenuIconTemplate && !ctx_r1.megaMenu._submenuIconTemplate);
604
- i0.ɵɵadvance();
605
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.megaMenu.submenuIconTemplate || ctx_r1.megaMenu._submenuIconTemplate);
606
- } }
607
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_Template(rf, ctx) { if (rf & 1) {
608
- i0.ɵɵelementStart(0, "a", 18);
609
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_span_1_Template, 1, 4, "span", 19)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_span_2_Template, 2, 2, "span", 20)(3, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_template_3_Template, 1, 2, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(5, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_p_badge_5_Template, 1, 2, "p-badge", 21)(6, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_ng_container_6_Template, 3, 2, "ng-container", 14);
610
- i0.ɵɵelementEnd();
611
- } if (rf & 2) {
612
- const htmlLabel_r5 = i0.ɵɵreference(4);
613
- const processedItem_r3 = i0.ɵɵnextContext(3).$implicit;
614
- const ctx_r1 = i0.ɵɵnextContext(2);
615
- i0.ɵɵproperty("target", ctx_r1.getItemProp(processedItem_r3, "target"))("ngClass", i0.ɵɵpureFunction1(11, _c3, ctx_r1.getItemProp(processedItem_r3, "disabled")));
616
- i0.ɵɵattribute("href", ctx_r1.getItemProp(processedItem_r3, "url"), i0.ɵɵsanitizeUrl)("data-automationid", ctx_r1.getItemProp(processedItem_r3, "automationId"))("data-pc-section", "action")("tabindex", -1);
617
- i0.ɵɵadvance();
618
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "icon"));
619
- i0.ɵɵadvance();
620
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "escape"))("ngIfElse", htmlLabel_r5);
621
- i0.ɵɵadvance(3);
622
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "badge"));
623
- i0.ɵɵadvance();
624
- i0.ɵɵproperty("ngIf", ctx_r1.isItemGroup(processedItem_r3));
625
- } }
626
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_span_1_Template(rf, ctx) { if (rf & 1) {
627
- i0.ɵɵelement(0, "span", 22);
628
- } if (rf & 2) {
629
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
630
- const ctx_r1 = i0.ɵɵnextContext(2);
631
- i0.ɵɵproperty("ngClass", ctx_r1.getItemProp(processedItem_r3, "icon"))("ngStyle", ctx_r1.getItemProp(processedItem_r3, "iconStyle"));
632
- i0.ɵɵattribute("data-pc-section", "icon")("aria-hidden", true)("tabindex", -1);
633
- } }
634
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_span_2_Template(rf, ctx) { if (rf & 1) {
635
- i0.ɵɵelementStart(0, "span", 23);
636
- i0.ɵɵtext(1);
637
- i0.ɵɵelementEnd();
638
- } if (rf & 2) {
639
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
640
- const ctx_r1 = i0.ɵɵnextContext(2);
641
- i0.ɵɵadvance();
642
- i0.ɵɵtextInterpolate(ctx_r1.getItemLabel(processedItem_r3));
643
- } }
644
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_template_3_Template(rf, ctx) { if (rf & 1) {
645
- i0.ɵɵelement(0, "span", 24);
646
- } if (rf & 2) {
647
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
648
- const ctx_r1 = i0.ɵɵnextContext(2);
649
- i0.ɵɵproperty("innerHTML", ctx_r1.getItemLabel(processedItem_r3), i0.ɵɵsanitizeHtml);
650
- i0.ɵɵattribute("data-pc-section", "label");
651
- } }
652
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_p_badge_5_Template(rf, ctx) { if (rf & 1) {
653
- i0.ɵɵelement(0, "p-badge", 25);
654
- } if (rf & 2) {
655
- const processedItem_r3 = i0.ɵɵnextContext(4).$implicit;
656
- const ctx_r1 = i0.ɵɵnextContext(2);
657
- i0.ɵɵproperty("styleClass", ctx_r1.getItemProp(processedItem_r3, "badgeStyleClass"))("value", ctx_r1.getItemProp(processedItem_r3, "badge"));
658
- } }
659
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleDownIcon_1_Template(rf, ctx) { if (rf & 1) {
660
- i0.ɵɵelement(0, "AngleDownIcon", 32);
661
- } if (rf & 2) {
662
- i0.ɵɵproperty("styleClass", "p-megamenu-submenu-icon");
663
- i0.ɵɵattribute("data-pc-section", "submenuicon")("aria-hidden", true);
664
- } }
665
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleRightIcon_2_Template(rf, ctx) { if (rf & 1) {
666
- i0.ɵɵelement(0, "AngleRightIcon", 32);
667
- } if (rf & 2) {
668
- i0.ɵɵproperty("styleClass", "p-megamenu-submenu-icon");
669
- i0.ɵɵattribute("data-pc-section", "submenuicon")("aria-hidden", true);
670
- } }
671
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
672
- i0.ɵɵelementContainerStart(0);
673
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleDownIcon_1_Template, 1, 3, "AngleDownIcon", 31)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleRightIcon_2_Template, 1, 3, "AngleRightIcon", 31);
674
- i0.ɵɵelementContainerEnd();
675
- } if (rf & 2) {
676
- const ctx_r1 = i0.ɵɵnextContext(7);
677
- i0.ɵɵadvance();
678
- i0.ɵɵproperty("ngIf", ctx_r1.orientation === "horizontal");
679
- i0.ɵɵadvance();
680
- i0.ɵɵproperty("ngIf", ctx_r1.orientation === "vertical");
681
- } }
682
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_2_ng_template_0_Template(rf, ctx) { }
683
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_2_Template(rf, ctx) { if (rf & 1) {
684
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_2_ng_template_0_Template, 0, 0, "ng-template", 29);
685
- } if (rf & 2) {
686
- i0.ɵɵproperty("data-pc-section", "submenuicon")("aria-hidden", true);
687
- } }
688
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
689
- i0.ɵɵelementContainerStart(0);
690
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_Template, 3, 2, "ng-container", 14)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_2_Template, 1, 2, null, 26);
691
- i0.ɵɵelementContainerEnd();
692
- } if (rf & 2) {
693
- const ctx_r1 = i0.ɵɵnextContext(6);
694
- i0.ɵɵadvance();
695
- i0.ɵɵproperty("ngIf", !ctx_r1.megaMenu.submenuIconTemplate && !ctx_r1.megaMenu._submenuIconTemplate);
696
- i0.ɵɵadvance();
697
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.megaMenu.submenuIconTemplate || ctx_r1.megaMenu._submenuIconTemplate);
698
- } }
699
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_Template(rf, ctx) { if (rf & 1) {
700
- i0.ɵɵelementStart(0, "a", 30);
701
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_span_1_Template, 1, 5, "span", 19)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_span_2_Template, 2, 1, "span", 20)(3, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_template_3_Template, 1, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(5, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_p_badge_5_Template, 1, 2, "p-badge", 21)(6, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_ng_container_6_Template, 3, 2, "ng-container", 14);
702
- i0.ɵɵelementEnd();
703
- } if (rf & 2) {
704
- const htmlRouteLabel_r6 = i0.ɵɵreference(4);
705
- const processedItem_r3 = i0.ɵɵnextContext(3).$implicit;
706
- const ctx_r1 = i0.ɵɵnextContext(2);
707
- i0.ɵɵproperty("routerLink", ctx_r1.getItemProp(processedItem_r3, "routerLink"))("queryParams", ctx_r1.getItemProp(processedItem_r3, "queryParams"))("routerLinkActive", "p-megamenu-item-link-active")("routerLinkActiveOptions", ctx_r1.getItemProp(processedItem_r3, "routerLinkActiveOptions") || i0.ɵɵpureFunction0(21, _c4))("target", ctx_r1.getItemProp(processedItem_r3, "target"))("ngClass", i0.ɵɵpureFunction1(22, _c3, ctx_r1.getItemProp(processedItem_r3, "disabled")))("fragment", ctx_r1.getItemProp(processedItem_r3, "fragment"))("queryParamsHandling", ctx_r1.getItemProp(processedItem_r3, "queryParamsHandling"))("preserveFragment", ctx_r1.getItemProp(processedItem_r3, "preserveFragment"))("skipLocationChange", ctx_r1.getItemProp(processedItem_r3, "skipLocationChange"))("replaceUrl", ctx_r1.getItemProp(processedItem_r3, "replaceUrl"))("state", ctx_r1.getItemProp(processedItem_r3, "state"));
708
- i0.ɵɵattribute("data-automationid", ctx_r1.getItemProp(processedItem_r3, "automationId"))("tabindex", -1)("aria-hidden", true)("data-pc-section", "action");
709
- i0.ɵɵadvance();
710
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "icon"));
711
- i0.ɵɵadvance();
712
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "escape"))("ngIfElse", htmlRouteLabel_r6);
713
- i0.ɵɵadvance(3);
714
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "badge"));
715
- i0.ɵɵadvance();
716
- i0.ɵɵproperty("ngIf", ctx_r1.isItemGroup(processedItem_r3));
717
- } }
718
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
719
- i0.ɵɵelementContainerStart(0);
720
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_1_Template, 7, 13, "a", 16)(2, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_a_2_Template, 7, 24, "a", 17);
721
- i0.ɵɵelementContainerEnd();
722
- } if (rf & 2) {
723
- const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
724
- const ctx_r1 = i0.ɵɵnextContext(2);
725
- i0.ɵɵadvance();
726
- i0.ɵɵproperty("ngIf", !ctx_r1.getItemProp(processedItem_r3, "routerLink"));
727
- i0.ɵɵadvance();
728
- i0.ɵɵproperty("ngIf", ctx_r1.getItemProp(processedItem_r3, "routerLink"));
729
- } }
730
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_1_ng_template_0_Template(rf, ctx) { }
731
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_1_Template(rf, ctx) { if (rf & 1) {
732
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_1_ng_template_0_Template, 0, 0, "ng-template");
733
- } }
734
- function MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
735
- i0.ɵɵelementContainerStart(0);
736
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_1_Template, 1, 0, null, 33);
737
- i0.ɵɵelementContainerEnd();
738
- } if (rf & 2) {
739
- const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
740
- const ctx_r1 = i0.ɵɵnextContext(2);
741
- i0.ɵɵadvance();
742
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c5, processedItem_r3.item));
743
- } }
744
- function MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_p_megamenu_sub_1_Template(rf, ctx) { if (rf & 1) {
745
- const _r7 = i0.ɵɵgetCurrentView();
746
- i0.ɵɵelementStart(0, "p-megamenu-sub", 38);
747
- i0.ɵɵlistener("itemClick", function MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_p_megamenu_sub_1_Template_p_megamenu_sub_itemClick_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.itemClick.emit($event)); })("itemMouseEnter", function MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_p_megamenu_sub_1_Template_p_megamenu_sub_itemMouseEnter_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(6); return i0.ɵɵresetView(ctx_r1.onItemMouseEnter($event)); });
748
- i0.ɵɵelementEnd();
749
- } if (rf & 2) {
750
- const submenu_r8 = ctx.$implicit;
751
- const ctx_r1 = i0.ɵɵnextContext(6);
752
- i0.ɵɵproperty("id", ctx_r1.getSubListId(submenu_r8))("submenu", submenu_r8)("items", submenu_r8.items)("itemTemplate", ctx_r1.itemTemplate)("mobileActive", ctx_r1.mobileActive)("menuId", ctx_r1.menuId)("focusedItemId", ctx_r1.focusedItemId)("level", ctx_r1.level + 1)("root", false);
753
- } }
754
- function MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_Template(rf, ctx) { if (rf & 1) {
755
- i0.ɵɵelementStart(0, "div", 27);
756
- i0.ɵɵtemplate(1, MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_p_megamenu_sub_1_Template, 1, 9, "p-megamenu-sub", 37);
757
- i0.ɵɵelementEnd();
758
- } if (rf & 2) {
759
- const col_r9 = ctx.$implicit;
760
- const processedItem_r3 = i0.ɵɵnextContext(3).$implicit;
761
- const ctx_r1 = i0.ɵɵnextContext(2);
762
- i0.ɵɵproperty("ngClass", ctx_r1.getColumnClass(processedItem_r3));
763
- i0.ɵɵadvance();
764
- i0.ɵɵproperty("ngForOf", col_r9);
765
- } }
766
- function MegaMenuSub_ul_0_ng_template_3_li_1_div_5_Template(rf, ctx) { if (rf & 1) {
767
- i0.ɵɵelementStart(0, "div", 34)(1, "div", 35);
768
- i0.ɵɵtemplate(2, MegaMenuSub_ul_0_ng_template_3_li_1_div_5_div_2_Template, 2, 2, "div", 36);
769
- i0.ɵɵelementEnd()();
770
- } if (rf & 2) {
771
- const processedItem_r3 = i0.ɵɵnextContext(2).$implicit;
772
- i0.ɵɵattribute("data-pc-section", "panel");
773
- i0.ɵɵadvance();
774
- i0.ɵɵattribute("data-pc-section", "grid");
775
- i0.ɵɵadvance();
776
- i0.ɵɵproperty("ngForOf", processedItem_r3.items);
777
- } }
778
- function MegaMenuSub_ul_0_ng_template_3_li_1_Template(rf, ctx) { if (rf & 1) {
779
- const _r4 = i0.ɵɵgetCurrentView();
780
- i0.ɵɵelementStart(0, "li", 12, 1)(2, "div", 13);
781
- i0.ɵɵlistener("click", function MegaMenuSub_ul_0_ng_template_3_li_1_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(_r4); const processedItem_r3 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onItemClick($event, processedItem_r3)); })("mouseenter", function MegaMenuSub_ul_0_ng_template_3_li_1_Template_div_mouseenter_2_listener($event) { i0.ɵɵrestoreView(_r4); const processedItem_r3 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onItemMouseEnter({ $event: $event, processedItem: processedItem_r3 })); });
782
- i0.ɵɵtemplate(3, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_3_Template, 3, 2, "ng-container", 14)(4, MegaMenuSub_ul_0_ng_template_3_li_1_ng_container_4_Template, 2, 4, "ng-container", 14);
783
- i0.ɵɵelementEnd();
784
- i0.ɵɵtemplate(5, MegaMenuSub_ul_0_ng_template_3_li_1_div_5_Template, 3, 3, "div", 15);
785
- i0.ɵɵelementEnd();
786
- } if (rf & 2) {
787
- const ctx_r9 = i0.ɵɵnextContext();
788
- const processedItem_r3 = ctx_r9.$implicit;
789
- const index_r11 = ctx_r9.index;
790
- const ctx_r1 = i0.ɵɵnextContext(2);
791
- i0.ɵɵclassMap(ctx_r1.getItemProp(processedItem_r3, "styleClass"));
792
- i0.ɵɵproperty("ngStyle", ctx_r1.getItemProp(processedItem_r3, "style"))("ngClass", ctx_r1.getItemClass(processedItem_r3))("tooltipOptions", ctx_r1.getItemProp(processedItem_r3, "tooltipOptions"));
793
- i0.ɵɵattribute("id", ctx_r1.getItemId(processedItem_r3))("data-pc-section", "menuitem")("data-p-highlight", ctx_r1.isItemActive(processedItem_r3))("data-p-focused", ctx_r1.isItemFocused(processedItem_r3))("data-p-disabled", ctx_r1.isItemDisabled(processedItem_r3))("aria-label", ctx_r1.getItemLabel(processedItem_r3))("aria-disabled", ctx_r1.isItemDisabled(processedItem_r3) || undefined)("aria-haspopup", ctx_r1.isItemGroup(processedItem_r3) && !ctx_r1.getItemProp(processedItem_r3, "to") ? "menu" : undefined)("aria-expanded", ctx_r1.isItemGroup(processedItem_r3) ? ctx_r1.isItemActive(processedItem_r3) : undefined)("aria-level", ctx_r1.level + 1)("aria-setsize", ctx_r1.getAriaSetSize())("aria-posinset", ctx_r1.getAriaPosInset(index_r11));
794
- i0.ɵɵadvance(2);
795
- i0.ɵɵattribute("data-pc-section", "content");
796
- i0.ɵɵadvance();
797
- i0.ɵɵproperty("ngIf", !ctx_r1.itemTemplate);
798
- i0.ɵɵadvance();
799
- i0.ɵɵproperty("ngIf", ctx_r1.itemTemplate);
800
- i0.ɵɵadvance();
801
- i0.ɵɵproperty("ngIf", ctx_r1.isItemVisible(processedItem_r3) && ctx_r1.isItemGroup(processedItem_r3));
802
- } }
803
- function MegaMenuSub_ul_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
804
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_ng_template_3_li_0_Template, 1, 5, "li", 9)(1, MegaMenuSub_ul_0_ng_template_3_li_1_Template, 6, 21, "li", 10);
805
- } if (rf & 2) {
806
- const processedItem_r3 = ctx.$implicit;
807
- const ctx_r1 = i0.ɵɵnextContext(2);
808
- i0.ɵɵproperty("ngIf", ctx_r1.isItemVisible(processedItem_r3) && ctx_r1.getItemProp(processedItem_r3, "separator"));
809
- i0.ɵɵadvance();
810
- i0.ɵɵproperty("ngIf", ctx_r1.isItemVisible(processedItem_r3) && !ctx_r1.getItemProp(processedItem_r3, "separator"));
811
- } }
812
- function MegaMenuSub_ul_0_Template(rf, ctx) { if (rf & 1) {
813
- const _r1 = i0.ɵɵgetCurrentView();
814
- i0.ɵɵelementStart(0, "ul", 5, 0);
815
- i0.ɵɵlistener("keydown", function MegaMenuSub_ul_0_Template_ul_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.menuKeydown.emit($event)); })("focus", function MegaMenuSub_ul_0_Template_ul_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.menuFocus.emit($event)); })("blur", function MegaMenuSub_ul_0_Template_ul_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.menuBlur.emit($event)); });
816
- i0.ɵɵtemplate(2, MegaMenuSub_ul_0_li_2_Template, 2, 4, "li", 6)(3, MegaMenuSub_ul_0_ng_template_3_Template, 2, 2, "ng-template", 7);
817
- i0.ɵɵelementEnd();
818
- } if (rf & 2) {
819
- const ctx_r1 = i0.ɵɵnextContext();
820
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(11, _c1, ctx_r1.scrollHeight));
821
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(13, _c2, ctx_r1.root, !ctx_r1.root))("tabindex", ctx_r1.tabindex);
822
- i0.ɵɵattribute("role", ctx_r1.root ? "menubar" : "menu")("id", ctx_r1.id)("aria-orientation", ctx_r1.orientation)("aria-activedescendant", ctx_r1.focusedItemId)("data-pc-section", ctx_r1.root ? "root" : "submenu");
823
- i0.ɵɵadvance(2);
824
- i0.ɵɵproperty("ngIf", ctx_r1.submenu);
825
- i0.ɵɵadvance();
826
- i0.ɵɵproperty("ngForOf", ctx_r1.items);
827
- } }
828
- const _c6 = ["start"];
829
- const _c7 = ["end"];
830
- const _c8 = ["menuicon"];
831
- const _c9 = ["submenuicon"];
832
- const _c10 = ["item"];
833
- const _c11 = ["button"];
834
- const _c12 = ["buttonicon"];
835
- const _c13 = ["menubutton"];
836
- const _c14 = ["rootmenu"];
837
- const _c15 = ["container"];
838
- const _c16 = a0 => ({ flexDirection: a0 });
839
- const _c17 = (a0, a1, a2, a3) => ({ "p-megamenu p-component": true, "p-megamenu-mobile": a0, "p-megamenu-mobile-active": a1, "p-megamenu-horizontal": a2, "p-megamenu-vertical": a3 });
840
- function MegaMenu_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
841
- i0.ɵɵelementContainer(0);
842
- } }
843
- function MegaMenu_div_2_Template(rf, ctx) { if (rf & 1) {
844
- i0.ɵɵelementStart(0, "div", 9);
845
- i0.ɵɵtemplate(1, MegaMenu_div_2_ng_container_1_Template, 1, 0, "ng-container", 6);
846
- i0.ɵɵelementEnd();
847
- } if (rf & 2) {
848
- const ctx_r1 = i0.ɵɵnextContext();
849
- i0.ɵɵadvance();
850
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.startTemplate || ctx_r1._startTemplate);
851
- } }
852
- function MegaMenu_ng_container_3_a_1_BarsIcon_2_Template(rf, ctx) { if (rf & 1) {
853
- i0.ɵɵelement(0, "BarsIcon");
854
- } }
855
- function MegaMenu_ng_container_3_a_1_3_ng_template_0_Template(rf, ctx) { }
856
- function MegaMenu_ng_container_3_a_1_3_Template(rf, ctx) { if (rf & 1) {
857
- i0.ɵɵtemplate(0, MegaMenu_ng_container_3_a_1_3_ng_template_0_Template, 0, 0, "ng-template");
858
- } }
859
- function MegaMenu_ng_container_3_a_1_Template(rf, ctx) { if (rf & 1) {
860
- const _r3 = i0.ɵɵgetCurrentView();
861
- i0.ɵɵelementStart(0, "a", 11, 2);
862
- i0.ɵɵlistener("click", function MegaMenu_ng_container_3_a_1_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.menuButtonClick($event)); })("keydown", function MegaMenu_ng_container_3_a_1_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.menuButtonKeydown($event)); });
863
- i0.ɵɵtemplate(2, MegaMenu_ng_container_3_a_1_BarsIcon_2_Template, 1, 0, "BarsIcon", 5)(3, MegaMenu_ng_container_3_a_1_3_Template, 1, 0, null, 6);
864
- i0.ɵɵelementEnd();
865
- } if (rf & 2) {
866
- const ctx_r1 = i0.ɵɵnextContext(2);
867
- i0.ɵɵattribute("aria-haspopup", ctx_r1.model.length && ctx_r1.model.length > 0 ? true : false)("aria-expanded", ctx_r1.mobileActive)("aria-controls", ctx_r1.id)("aria-label", ctx_r1.config.translation.aria.navigation);
868
- i0.ɵɵadvance(2);
869
- i0.ɵɵproperty("ngIf", !ctx_r1.buttonIconTemplate && !ctx_r1._buttonIconTemplate);
870
- i0.ɵɵadvance();
871
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.buttonIconTemplate || ctx_r1._buttonIconTemplate);
872
- } }
873
- function MegaMenu_ng_container_3_Template(rf, ctx) { if (rf & 1) {
874
- i0.ɵɵelementContainerStart(0);
875
- i0.ɵɵtemplate(1, MegaMenu_ng_container_3_a_1_Template, 4, 6, "a", 10);
876
- i0.ɵɵelementContainerEnd();
877
- } if (rf & 2) {
878
- const ctx_r1 = i0.ɵɵnextContext();
879
- i0.ɵɵadvance();
880
- i0.ɵɵproperty("ngIf", ctx_r1.model && ctx_r1.model.length > 0);
881
- } }
882
- function MegaMenu_ng_container_4_Template(rf, ctx) { if (rf & 1) {
883
- i0.ɵɵelementContainer(0);
884
- } }
885
- function MegaMenu_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
886
- i0.ɵɵelementContainer(0);
887
- } }
888
- function MegaMenu_div_7_Template(rf, ctx) { if (rf & 1) {
889
- i0.ɵɵelementStart(0, "div", 12);
890
- i0.ɵɵtemplate(1, MegaMenu_div_7_ng_container_1_Template, 1, 0, "ng-container", 6);
891
- i0.ɵɵelementEnd();
892
- } if (rf & 2) {
893
- const ctx_r1 = i0.ɵɵnextContext();
894
- i0.ɵɵadvance();
895
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.endTemplate || ctx_r1._endTemplate);
896
- } }
897
503
  class MegaMenuSub extends BaseComponent {
898
504
  id;
899
505
  items;
@@ -1016,25 +622,174 @@ class MegaMenuSub extends BaseComponent {
1016
622
  const { event, processedItem } = param;
1017
623
  this.itemMouseEnter.emit({ originalEvent: event, processedItem });
1018
624
  }
1019
- static ɵfac = /*@__PURE__*/ (() => { let ɵMegaMenuSub_BaseFactory; return function MegaMenuSub_Factory(__ngFactoryType__) { return (ɵMegaMenuSub_BaseFactory || (ɵMegaMenuSub_BaseFactory = i0.ɵɵgetInheritedFactory(MegaMenuSub)))(__ngFactoryType__ || MegaMenuSub); }; })();
1020
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MegaMenuSub, selectors: [["p-megaMenuSub"], ["p-megamenu-sub"]], viewQuery: function MegaMenuSub_Query(rf, ctx) { if (rf & 1) {
1021
- i0.ɵɵviewQuery(_c0, 7);
1022
- } if (rf & 2) {
1023
- let _t;
1024
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menubarViewChild = _t.first);
1025
- } }, inputs: { id: "id", items: "items", itemTemplate: "itemTemplate", menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: [2, "level", "level", numberAttribute], focusedItemId: "focusedItemId", disabled: [2, "disabled", "disabled", booleanAttribute], orientation: "orientation", activeItem: "activeItem", submenu: "submenu", queryMatches: [2, "queryMatches", "queryMatches", booleanAttribute], mobileActive: [2, "mobileActive", "mobileActive", booleanAttribute], scrollHeight: "scrollHeight", tabindex: [2, "tabindex", "tabindex", numberAttribute], root: [2, "root", "root", booleanAttribute] }, outputs: { itemClick: "itemClick", itemMouseEnter: "itemMouseEnter", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeydown: "menuKeydown" }, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["menubar", ""], ["listItem", ""], ["htmlLabel", ""], ["htmlRouteLabel", ""], [3, "ngClass", "style", "tabindex", "keydown", "focus", "blur", 4, "ngIf"], [3, "keydown", "focus", "blur", "ngClass", "tabindex"], ["role", "presentation", 3, "ngClass", "style", 4, "ngIf"], ["ngFor", "", 3, "ngForOf"], ["role", "presentation", 3, "ngClass"], ["role", "separator", 3, "style", "ngClass", 4, "ngIf"], ["role", "menuitem", "pTooltip", "", 3, "ngStyle", "ngClass", "class", "tooltipOptions", 4, "ngIf"], ["role", "separator", 3, "ngClass"], ["role", "menuitem", "pTooltip", "", 3, "ngStyle", "ngClass", "tooltipOptions"], [1, "p-megamenu-item-content", 3, "click", "mouseenter"], [4, "ngIf"], ["class", "p-megamenu-overlay", 4, "ngIf"], ["pRipple", "", 3, "target", "ngClass", 4, "ngIf"], ["pRipple", "", 3, "routerLink", "queryParams", "routerLinkActive", "routerLinkActiveOptions", "target", "ngClass", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", 4, "ngIf"], ["pRipple", "", 3, "target", "ngClass"], ["class", "p-megamenu-item-icon", 3, "ngClass", "ngStyle", 4, "ngIf"], ["class", "p-megamenu-item-label", 4, "ngIf", "ngIfElse"], [3, "styleClass", "value", 4, "ngIf"], [1, "p-megamenu-item-icon", 3, "ngClass", "ngStyle"], [1, "p-megamenu-item-label"], [1, "p-megamenu-item-label", 3, "innerHTML"], [3, "styleClass", "value"], [4, "ngTemplateOutlet"], [3, "ngClass"], [3, "ngClass", 4, "ngIf"], [3, "data-pc-section", "aria-hidden"], ["pRipple", "", 3, "routerLink", "queryParams", "routerLinkActive", "routerLinkActiveOptions", "target", "ngClass", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state"], [3, "styleClass", 4, "ngIf"], [3, "styleClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-megamenu-overlay"], [1, "p-megamenu-grid"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "id", "submenu", "items", "itemTemplate", "mobileActive", "menuId", "focusedItemId", "level", "root", "itemClick", "itemMouseEnter", 4, "ngFor", "ngForOf"], [3, "itemClick", "itemMouseEnter", "id", "submenu", "items", "itemTemplate", "mobileActive", "menuId", "focusedItemId", "level", "root"]], template: function MegaMenuSub_Template(rf, ctx) { if (rf & 1) {
1026
- i0.ɵɵtemplate(0, MegaMenuSub_ul_0_Template, 4, 16, "ul", 4);
1027
- } if (rf & 2) {
1028
- i0.ɵɵproperty("ngIf", ctx.isSubmenuVisible(ctx.submenu));
1029
- } }, dependencies: [MegaMenuSub, CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, RouterModule, i2.RouterLink, i2.RouterLinkActive, Ripple, TooltipModule, i3.Tooltip, AngleDownIcon, AngleRightIcon, BadgeModule, i4.Badge, SharedModule], encapsulation: 2 });
625
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuSub, deps: null, target: i0.ɵɵFactoryTarget.Component });
626
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: MegaMenuSub, isStandalone: true, selector: "p-megaMenuSub, p-megamenu-sub", inputs: { id: "id", items: "items", itemTemplate: "itemTemplate", menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: ["level", "level", numberAttribute], focusedItemId: "focusedItemId", disabled: ["disabled", "disabled", booleanAttribute], orientation: "orientation", activeItem: "activeItem", submenu: "submenu", queryMatches: ["queryMatches", "queryMatches", booleanAttribute], mobileActive: ["mobileActive", "mobileActive", booleanAttribute], scrollHeight: "scrollHeight", tabindex: ["tabindex", "tabindex", numberAttribute], root: ["root", "root", booleanAttribute] }, outputs: { itemClick: "itemClick", itemMouseEnter: "itemMouseEnter", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeydown: "menuKeydown" }, viewQueries: [{ propertyName: "menubarViewChild", first: true, predicate: ["menubar"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
627
+ <ul
628
+ *ngIf="isSubmenuVisible(submenu)"
629
+ #menubar
630
+ [ngClass]="{ 'p-megamenu-root-list': root, 'p-megamenu-submenu': !root }"
631
+ [style]="{ 'max-height': scrollHeight, overflow: 'auto' }"
632
+ [attr.role]="root ? 'menubar' : 'menu'"
633
+ [attr.id]="id"
634
+ [attr.aria-orientation]="orientation"
635
+ [tabindex]="tabindex"
636
+ [attr.aria-activedescendant]="focusedItemId"
637
+ [attr.data-pc-section]="root ? 'root' : 'submenu'"
638
+ (keydown)="menuKeydown.emit($event)"
639
+ (focus)="menuFocus.emit($event)"
640
+ (blur)="menuBlur.emit($event)"
641
+ >
642
+ <li *ngIf="submenu" [ngClass]="getSubmenuHeaderClass(submenu)" [style]="getItemProp(submenu, 'style')" role="presentation">
643
+ {{ getItemLabel(submenu) }}
644
+ </li>
645
+ <ng-template ngFor let-processedItem [ngForOf]="items" let-index="index">
646
+ <li
647
+ *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
648
+ [attr.id]="getItemId(processedItem)"
649
+ [style]="getItemProp(processedItem, 'style')"
650
+ [ngClass]="getSeparatorItemClass(processedItem)"
651
+ role="separator"
652
+ [attr.data-pc-section]="'separator'"
653
+ ></li>
654
+ <li
655
+ #listItem
656
+ *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
657
+ role="menuitem"
658
+ [attr.id]="getItemId(processedItem)"
659
+ [attr.data-pc-section]="'menuitem'"
660
+ [attr.data-p-highlight]="isItemActive(processedItem)"
661
+ [attr.data-p-focused]="isItemFocused(processedItem)"
662
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
663
+ [attr.aria-label]="getItemLabel(processedItem)"
664
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
665
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
666
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
667
+ [attr.aria-level]="level + 1"
668
+ [attr.aria-setsize]="getAriaSetSize()"
669
+ [attr.aria-posinset]="getAriaPosInset(index)"
670
+ [ngStyle]="getItemProp(processedItem, 'style')"
671
+ [ngClass]="getItemClass(processedItem)"
672
+ [class]="getItemProp(processedItem, 'styleClass')"
673
+ pTooltip
674
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
675
+ >
676
+ <div class="p-megamenu-item-content" [attr.data-pc-section]="'content'" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
677
+ <ng-container *ngIf="!itemTemplate">
678
+ <a
679
+ *ngIf="!getItemProp(processedItem, 'routerLink')"
680
+ [attr.href]="getItemProp(processedItem, 'url')"
681
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
682
+ [attr.data-pc-section]="'action'"
683
+ [target]="getItemProp(processedItem, 'target')"
684
+ [ngClass]="{ 'p-megamenu-item-link': true, 'p-disabled': getItemProp(processedItem, 'disabled') }"
685
+ [attr.tabindex]="-1"
686
+ pRipple
687
+ >
688
+ <span
689
+ *ngIf="getItemProp(processedItem, 'icon')"
690
+ class="p-megamenu-item-icon"
691
+ [ngClass]="getItemProp(processedItem, 'icon')"
692
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
693
+ [attr.data-pc-section]="'icon'"
694
+ [attr.tabindex]="-1"
695
+ >
696
+ </span>
697
+ <span *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel" class="p-megamenu-item-label" [attr.data-pc-section]="'label'">
698
+ {{ getItemLabel(processedItem) }}
699
+ </span>
700
+ <ng-template #htmlLabel>
701
+ <span class="p-megamenu-item-label" [innerHTML]="getItemLabel(processedItem)" [attr.data-pc-section]="'label'"></span>
702
+ </ng-template>
703
+ <p-badge *ngIf="getItemProp(processedItem, 'badge')" [styleClass]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" />
704
+ <ng-container *ngIf="isItemGroup(processedItem)">
705
+ <ng-container *ngIf="!megaMenu.submenuIconTemplate && !megaMenu._submenuIconTemplate">
706
+ @if (orientation === 'horizontal' || mobileActive) {
707
+ <AngleDownIcon [ngClass]="'p-megamenu-submenu-icon'" [attr.data-pc-section]="'submenuicon'" [attr.aria-hidden]="true" />
708
+ } @else {
709
+ <AngleRightIcon [ngClass]="'p-megamenu-submenu-icon'" [attr.data-pc-section]="'submenuicon'" *ngIf="orientation === 'vertical'" [attr.aria-hidden]="true" />
710
+ }
711
+ </ng-container>
712
+ <ng-template *ngTemplateOutlet="megaMenu.submenuIconTemplate || megaMenu._submenuIconTemplate" [attr.data-pc-section]="'submenuicon'" [attr.aria-hidden]="true"></ng-template>
713
+ </ng-container>
714
+ </a>
715
+ <a
716
+ *ngIf="getItemProp(processedItem, 'routerLink')"
717
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
718
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
719
+ [attr.tabindex]="-1"
720
+ [attr.aria-hidden]="true"
721
+ [attr.data-pc-section]="'action'"
722
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
723
+ [routerLinkActive]="'p-megamenu-item-link-active'"
724
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
725
+ [target]="getItemProp(processedItem, 'target')"
726
+ [ngClass]="{ 'p-megamenu-item-link': true, 'p-disabled': getItemProp(processedItem, 'disabled') }"
727
+ [fragment]="getItemProp(processedItem, 'fragment')"
728
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
729
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
730
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
731
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
732
+ [state]="getItemProp(processedItem, 'state')"
733
+ pRipple
734
+ >
735
+ <span
736
+ class="p-megamenu-item-icon"
737
+ *ngIf="getItemProp(processedItem, 'icon')"
738
+ [ngClass]="getItemProp(processedItem, 'icon')"
739
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
740
+ [attr.data-pc-section]="'icon'"
741
+ [attr.aria-hidden]="true"
742
+ [attr.tabindex]="-1"
743
+ ></span>
744
+ <span class="p-megamenu-item-label" *ngIf="getItemProp(processedItem, 'escape'); else htmlRouteLabel">{{ getItemLabel(processedItem) }}</span>
745
+ <ng-template #htmlRouteLabel><span class="p-megamenu-item-label" [innerHTML]="getItemLabel(processedItem)" [attr.data-pc-section]="'label'"></span></ng-template>
746
+ <p-badge *ngIf="getItemProp(processedItem, 'badge')" [styleClass]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" />
747
+ <ng-container *ngIf="isItemGroup(processedItem)">
748
+ <ng-container *ngIf="!megaMenu.submenuIconTemplate && !megaMenu._submenuIconTemplate">
749
+ <AngleDownIcon [styleClass]="'p-megamenu-submenu-icon'" [attr.data-pc-section]="'submenuicon'" *ngIf="orientation === 'horizontal'" [attr.aria-hidden]="true" />
750
+ <AngleRightIcon [styleClass]="'p-megamenu-submenu-icon'" [attr.data-pc-section]="'submenuicon'" *ngIf="orientation === 'vertical'" [attr.aria-hidden]="true" />
751
+ </ng-container>
752
+ <ng-template *ngTemplateOutlet="megaMenu.submenuIconTemplate || megaMenu._submenuIconTemplate" [attr.data-pc-section]="'submenuicon'" [attr.aria-hidden]="true"></ng-template>
753
+ </ng-container>
754
+ </a>
755
+ </ng-container>
756
+ <ng-container *ngIf="itemTemplate">
757
+ <ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: processedItem.item }"></ng-template>
758
+ </ng-container>
759
+ </div>
760
+ <div *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)" class="p-megamenu-overlay" [attr.data-pc-section]="'panel'">
761
+ <div class="p-megamenu-grid" [attr.data-pc-section]="'grid'">
762
+ <div *ngFor="let col of processedItem.items" [ngClass]="getColumnClass(processedItem)">
763
+ <p-megamenu-sub
764
+ *ngFor="let submenu of col"
765
+ [id]="getSubListId(submenu)"
766
+ [submenu]="submenu"
767
+ [items]="submenu.items"
768
+ [itemTemplate]="itemTemplate"
769
+ [mobileActive]="mobileActive"
770
+ [menuId]="menuId"
771
+ [focusedItemId]="focusedItemId"
772
+ [level]="level + 1"
773
+ [root]="false"
774
+ (itemClick)="itemClick.emit($event)"
775
+ (itemMouseEnter)="onItemMouseEnter($event)"
776
+ >
777
+ </p-megamenu-sub>
778
+ </div>
779
+ </div>
780
+ </div>
781
+ </li>
782
+ </ng-template>
783
+ </ul>
784
+ `, isInline: true, dependencies: [{ kind: "component", type: MegaMenuSub, selector: "p-megaMenuSub, p-megamenu-sub", inputs: ["id", "items", "itemTemplate", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "disabled", "orientation", "activeItem", "submenu", "queryMatches", "mobileActive", "scrollHeight", "tabindex", "root"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.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: AngleDownIcon, selector: "AngleDownIcon" }, { kind: "component", type: AngleRightIcon, selector: "AngleRightIcon" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i4.Badge, selector: "p-badge", inputs: ["styleClass", "style", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }], encapsulation: i0.ViewEncapsulation.None });
1030
785
  }
1031
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MegaMenuSub, [{
1032
- type: Component,
1033
- args: [{
1034
- selector: 'p-megaMenuSub, p-megamenu-sub',
1035
- standalone: true,
1036
- imports: [CommonModule, RouterModule, Ripple, TooltipModule, AngleDownIcon, AngleRightIcon, BadgeModule, SharedModule],
1037
- template: `
786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuSub, decorators: [{
787
+ type: Component,
788
+ args: [{
789
+ selector: 'p-megaMenuSub, p-megamenu-sub',
790
+ standalone: true,
791
+ imports: [CommonModule, RouterModule, Ripple, TooltipModule, AngleDownIcon, AngleRightIcon, BadgeModule, SharedModule],
792
+ template: `
1038
793
  <ul
1039
794
  *ngIf="isSubmenuVisible(submenu)"
1040
795
  #menubar
@@ -1193,63 +948,62 @@ class MegaMenuSub extends BaseComponent {
1193
948
  </ng-template>
1194
949
  </ul>
1195
950
  `,
1196
- encapsulation: ViewEncapsulation.None
1197
- }]
1198
- }], null, { id: [{
1199
- type: Input
1200
- }], items: [{
1201
- type: Input
1202
- }], itemTemplate: [{
1203
- type: Input
1204
- }], menuId: [{
1205
- type: Input
1206
- }], ariaLabel: [{
1207
- type: Input
1208
- }], ariaLabelledBy: [{
1209
- type: Input
1210
- }], level: [{
1211
- type: Input,
1212
- args: [{ transform: numberAttribute }]
1213
- }], focusedItemId: [{
1214
- type: Input
1215
- }], disabled: [{
1216
- type: Input,
1217
- args: [{ transform: booleanAttribute }]
1218
- }], orientation: [{
1219
- type: Input
1220
- }], activeItem: [{
1221
- type: Input
1222
- }], submenu: [{
1223
- type: Input
1224
- }], queryMatches: [{
1225
- type: Input,
1226
- args: [{ transform: booleanAttribute }]
1227
- }], mobileActive: [{
1228
- type: Input,
1229
- args: [{ transform: booleanAttribute }]
1230
- }], scrollHeight: [{
1231
- type: Input
1232
- }], tabindex: [{
1233
- type: Input,
1234
- args: [{ transform: numberAttribute }]
1235
- }], root: [{
1236
- type: Input,
1237
- args: [{ transform: booleanAttribute }]
1238
- }], itemClick: [{
1239
- type: Output
1240
- }], itemMouseEnter: [{
1241
- type: Output
1242
- }], menuFocus: [{
1243
- type: Output
1244
- }], menuBlur: [{
1245
- type: Output
1246
- }], menuKeydown: [{
1247
- type: Output
1248
- }], menubarViewChild: [{
1249
- type: ViewChild,
1250
- args: ['menubar', { static: true }]
1251
- }] }); })();
1252
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MegaMenuSub, { className: "MegaMenuSub", filePath: "megamenu.ts", lineNumber: 203 }); })();
951
+ encapsulation: ViewEncapsulation.None
952
+ }]
953
+ }], propDecorators: { id: [{
954
+ type: Input
955
+ }], items: [{
956
+ type: Input
957
+ }], itemTemplate: [{
958
+ type: Input
959
+ }], menuId: [{
960
+ type: Input
961
+ }], ariaLabel: [{
962
+ type: Input
963
+ }], ariaLabelledBy: [{
964
+ type: Input
965
+ }], level: [{
966
+ type: Input,
967
+ args: [{ transform: numberAttribute }]
968
+ }], focusedItemId: [{
969
+ type: Input
970
+ }], disabled: [{
971
+ type: Input,
972
+ args: [{ transform: booleanAttribute }]
973
+ }], orientation: [{
974
+ type: Input
975
+ }], activeItem: [{
976
+ type: Input
977
+ }], submenu: [{
978
+ type: Input
979
+ }], queryMatches: [{
980
+ type: Input,
981
+ args: [{ transform: booleanAttribute }]
982
+ }], mobileActive: [{
983
+ type: Input,
984
+ args: [{ transform: booleanAttribute }]
985
+ }], scrollHeight: [{
986
+ type: Input
987
+ }], tabindex: [{
988
+ type: Input,
989
+ args: [{ transform: numberAttribute }]
990
+ }], root: [{
991
+ type: Input,
992
+ args: [{ transform: booleanAttribute }]
993
+ }], itemClick: [{
994
+ type: Output
995
+ }], itemMouseEnter: [{
996
+ type: Output
997
+ }], menuFocus: [{
998
+ type: Output
999
+ }], menuBlur: [{
1000
+ type: Output
1001
+ }], menuKeydown: [{
1002
+ type: Output
1003
+ }], menubarViewChild: [{
1004
+ type: ViewChild,
1005
+ args: ['menubar', { static: true }]
1006
+ }] } });
1253
1007
  /**
1254
1008
  * MegaMenu is navigation component that displays submenus together.
1255
1009
  * @group Components
@@ -1929,69 +1683,83 @@ class MegaMenu extends BaseComponent {
1929
1683
  this.unbindMatchMediaListener();
1930
1684
  super.ngOnDestroy();
1931
1685
  }
1932
- static ɵfac = function MegaMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MegaMenu)(); };
1933
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MegaMenu, selectors: [["p-megaMenu"], ["p-megamenu"], ["p-mega-menu"]], contentQueries: function MegaMenu_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1934
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1935
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1936
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1937
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
1938
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
1939
- i0.ɵɵcontentQuery(dirIndex, _c11, 4);
1940
- i0.ɵɵcontentQuery(dirIndex, _c12, 4);
1941
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1942
- } if (rf & 2) {
1943
- let _t;
1944
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startTemplate = _t.first);
1945
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.endTemplate = _t.first);
1946
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuIconTemplate = _t.first);
1947
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.submenuIconTemplate = _t.first);
1948
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
1949
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonTemplate = _t.first);
1950
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonIconTemplate = _t.first);
1951
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1952
- } }, viewQuery: function MegaMenu_Query(rf, ctx) { if (rf & 1) {
1953
- i0.ɵɵviewQuery(_c13, 5);
1954
- i0.ɵɵviewQuery(_c14, 5);
1955
- i0.ɵɵviewQuery(_c15, 5);
1956
- } if (rf & 2) {
1957
- let _t;
1958
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menubuttonViewChild = _t.first);
1959
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rootmenu = _t.first);
1960
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
1961
- } }, inputs: { model: "model", style: "style", styleClass: "styleClass", orientation: "orientation", id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", breakpoint: "breakpoint", scrollHeight: "scrollHeight", disabled: [2, "disabled", "disabled", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute] }, features: [i0.ɵɵProvidersFeature([MegaMenuStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 36, consts: [["container", ""], ["rootmenu", ""], ["menubutton", ""], [3, "ngClass", "ngStyle"], ["class", "p-megamenu-start", 4, "ngIf"], [4, "ngIf"], [4, "ngTemplateOutlet"], [3, "itemClick", "menuFocus", "menuBlur", "menuKeydown", "itemMouseEnter", "itemTemplate", "items", "menuId", "root", "orientation", "ariaLabel", "disabled", "tabindex", "activeItem", "level", "ariaLabelledBy", "focusedItemId", "mobileActive", "queryMatches", "scrollHeight"], ["class", "p-megamenu-end", 4, "ngIf"], [1, "p-megamenu-start"], ["role", "button", "tabindex", "0", "class", "p-megamenu-button", 3, "click", "keydown", 4, "ngIf"], ["role", "button", "tabindex", "0", 1, "p-megamenu-button", 3, "click", "keydown"], [1, "p-megamenu-end"]], template: function MegaMenu_Template(rf, ctx) { if (rf & 1) {
1962
- const _r1 = i0.ɵɵgetCurrentView();
1963
- i0.ɵɵelementStart(0, "div", 3, 0);
1964
- i0.ɵɵtemplate(2, MegaMenu_div_2_Template, 2, 1, "div", 4)(3, MegaMenu_ng_container_3_Template, 2, 1, "ng-container", 5)(4, MegaMenu_ng_container_4_Template, 1, 0, "ng-container", 6);
1965
- i0.ɵɵelementStart(5, "p-megamenu-sub", 7, 1);
1966
- i0.ɵɵlistener("itemClick", function MegaMenu_Template_p_megamenu_sub_itemClick_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemClick($event)); })("menuFocus", function MegaMenu_Template_p_megamenu_sub_menuFocus_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMenuFocus($event)); })("menuBlur", function MegaMenu_Template_p_megamenu_sub_menuBlur_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMenuBlur($event)); })("menuKeydown", function MegaMenu_Template_p_megamenu_sub_menuKeydown_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); })("itemMouseEnter", function MegaMenu_Template_p_megamenu_sub_itemMouseEnter_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemMouseEnter($event)); });
1967
- i0.ɵɵelementEnd();
1968
- i0.ɵɵtemplate(7, MegaMenu_div_7_Template, 2, 1, "div", 8);
1969
- i0.ɵɵelementEnd();
1970
- } if (rf & 2) {
1971
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(29, _c16, ctx.orientation == "vertical" && ctx.queryMatches ? "row" : ""));
1972
- i0.ɵɵclassMap(ctx.styleClass);
1973
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(31, _c17, ctx.queryMatches, ctx.mobileActive, ctx.orientation == "horizontal", ctx.orientation == "vertical"))("ngStyle", ctx.style);
1974
- i0.ɵɵattribute("data-pc-section", "root")("data-pc-name", "megamenu")("id", ctx.id);
1975
- i0.ɵɵadvance(2);
1976
- i0.ɵɵproperty("ngIf", ctx.startTemplate || ctx._startTemplate);
1977
- i0.ɵɵadvance();
1978
- i0.ɵɵproperty("ngIf", !ctx.buttonTemplate && !ctx._buttonTemplate);
1979
- i0.ɵɵadvance();
1980
- i0.ɵɵproperty("ngTemplateOutlet", ctx.buttonTemplate || ctx._buttonTemplate);
1981
- i0.ɵɵadvance();
1982
- i0.ɵɵproperty("itemTemplate", ctx.itemTemplate || ctx._itemTemplate)("items", ctx.processedItems)("menuId", ctx.id)("root", true)("orientation", ctx.orientation)("ariaLabel", ctx.ariaLabel)("disabled", ctx.disabled)("tabindex", !ctx.disabled ? ctx.tabindex : -1)("activeItem", ctx.activeItem())("level", 0)("ariaLabelledBy", ctx.ariaLabelledBy)("focusedItemId", ctx.focused ? ctx.focusedItemId : undefined)("mobileActive", ctx.mobileActive)("queryMatches", ctx.queryMatches)("scrollHeight", ctx.scrollHeight);
1983
- i0.ɵɵattribute("id", ctx.id + "_list");
1984
- i0.ɵɵadvance(2);
1985
- i0.ɵɵproperty("ngIf", ctx.endTemplate || ctx._endTemplate);
1986
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, RouterModule, MegaMenuSub, TooltipModule, BarsIcon, BadgeModule, SharedModule], encapsulation: 2, changeDetection: 0 });
1686
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
1687
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: MegaMenu, isStandalone: true, selector: "p-megaMenu, p-megamenu, p-mega-menu", inputs: { model: "model", style: "style", styleClass: "styleClass", orientation: "orientation", id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", breakpoint: "breakpoint", scrollHeight: "scrollHeight", disabled: ["disabled", "disabled", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute] }, providers: [MegaMenuStyle], queries: [{ propertyName: "startTemplate", first: true, predicate: ["start"] }, { propertyName: "endTemplate", first: true, predicate: ["end"] }, { propertyName: "menuIconTemplate", first: true, predicate: ["menuicon"] }, { propertyName: "submenuIconTemplate", first: true, predicate: ["submenuicon"] }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "buttonTemplate", first: true, predicate: ["button"] }, { propertyName: "buttonIconTemplate", first: true, predicate: ["buttonicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "menubuttonViewChild", first: true, predicate: ["menubutton"], descendants: true }, { propertyName: "rootmenu", first: true, predicate: ["rootmenu"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1688
+ <div
1689
+ [ngClass]="{
1690
+ 'p-megamenu p-component': true,
1691
+ 'p-megamenu-mobile': queryMatches,
1692
+ 'p-megamenu-mobile-active': mobileActive,
1693
+ 'p-megamenu-horizontal': orientation == 'horizontal',
1694
+ 'p-megamenu-vertical': orientation == 'vertical'
1695
+ }"
1696
+ [class]="styleClass"
1697
+ [style]="{ flexDirection: orientation == 'vertical' && queryMatches ? 'row' : '' }"
1698
+ [ngStyle]="style"
1699
+ [attr.data-pc-section]="'root'"
1700
+ [attr.data-pc-name]="'megamenu'"
1701
+ [attr.id]="id"
1702
+ #container
1703
+ >
1704
+ <div class="p-megamenu-start" *ngIf="startTemplate || _startTemplate">
1705
+ <ng-container *ngTemplateOutlet="startTemplate || _startTemplate"></ng-container>
1706
+ </div>
1707
+ <ng-container *ngIf="!buttonTemplate && !_buttonTemplate">
1708
+ <a
1709
+ *ngIf="model && model.length > 0"
1710
+ #menubutton
1711
+ role="button"
1712
+ tabindex="0"
1713
+ class="p-megamenu-button"
1714
+ [attr.aria-haspopup]="model.length && model.length > 0 ? true : false"
1715
+ [attr.aria-expanded]="mobileActive"
1716
+ [attr.aria-controls]="id"
1717
+ [attr.aria-label]="config.translation.aria.navigation"
1718
+ (click)="menuButtonClick($event)"
1719
+ (keydown)="menuButtonKeydown($event)"
1720
+ >
1721
+ <BarsIcon *ngIf="!buttonIconTemplate && !_buttonIconTemplate" />
1722
+ <ng-template *ngTemplateOutlet="buttonIconTemplate || _buttonIconTemplate"></ng-template>
1723
+ </a>
1724
+ </ng-container>
1725
+ <ng-container *ngTemplateOutlet="buttonTemplate || _buttonTemplate"></ng-container>
1726
+ <p-megamenu-sub
1727
+ #rootmenu
1728
+ [itemTemplate]="itemTemplate || _itemTemplate"
1729
+ [items]="processedItems"
1730
+ [attr.id]="id + '_list'"
1731
+ [menuId]="id"
1732
+ [root]="true"
1733
+ [orientation]="orientation"
1734
+ [ariaLabel]="ariaLabel"
1735
+ [disabled]="disabled"
1736
+ [tabindex]="!disabled ? tabindex : -1"
1737
+ [activeItem]="activeItem()"
1738
+ [level]="0"
1739
+ [ariaLabelledBy]="ariaLabelledBy"
1740
+ [focusedItemId]="focused ? focusedItemId : undefined"
1741
+ [mobileActive]="mobileActive"
1742
+ (itemClick)="onItemClick($event)"
1743
+ (menuFocus)="onMenuFocus($event)"
1744
+ (menuBlur)="onMenuBlur($event)"
1745
+ (menuKeydown)="onKeyDown($event)"
1746
+ (itemMouseEnter)="onItemMouseEnter($event)"
1747
+ [queryMatches]="queryMatches"
1748
+ [scrollHeight]="scrollHeight"
1749
+ ></p-megamenu-sub>
1750
+ <div class="p-megamenu-end" *ngIf="endTemplate || _endTemplate">
1751
+ <ng-container *ngTemplateOutlet="endTemplate || _endTemplate"></ng-container>
1752
+ </div>
1753
+ </div>
1754
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "ngmodule", type: RouterModule }, { kind: "component", type: MegaMenuSub, selector: "p-megaMenuSub, p-megamenu-sub", inputs: ["id", "items", "itemTemplate", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "disabled", "orientation", "activeItem", "submenu", "queryMatches", "mobileActive", "scrollHeight", "tabindex", "root"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "component", type: BarsIcon, selector: "BarsIcon" }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1987
1755
  }
1988
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MegaMenu, [{
1989
- type: Component,
1990
- args: [{
1991
- selector: 'p-megaMenu, p-megamenu, p-mega-menu',
1992
- standalone: true,
1993
- imports: [CommonModule, RouterModule, MegaMenuSub, TooltipModule, BarsIcon, BadgeModule, SharedModule],
1994
- template: `
1756
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenu, decorators: [{
1757
+ type: Component,
1758
+ args: [{
1759
+ selector: 'p-megaMenu, p-megamenu, p-mega-menu',
1760
+ standalone: true,
1761
+ imports: [CommonModule, RouterModule, MegaMenuSub, TooltipModule, BarsIcon, BadgeModule, SharedModule],
1762
+ template: `
1995
1763
  <div
1996
1764
  [ngClass]="{
1997
1765
  'p-megamenu p-component': true,
@@ -2059,82 +1827,80 @@ class MegaMenu extends BaseComponent {
2059
1827
  </div>
2060
1828
  </div>
2061
1829
  `,
2062
- changeDetection: ChangeDetectionStrategy.OnPush,
2063
- encapsulation: ViewEncapsulation.None,
2064
- providers: [MegaMenuStyle]
2065
- }]
2066
- }], () => [], { model: [{
2067
- type: Input
2068
- }], style: [{
2069
- type: Input
2070
- }], styleClass: [{
2071
- type: Input
2072
- }], orientation: [{
2073
- type: Input
2074
- }], id: [{
2075
- type: Input
2076
- }], ariaLabel: [{
2077
- type: Input
2078
- }], ariaLabelledBy: [{
2079
- type: Input
2080
- }], breakpoint: [{
2081
- type: Input
2082
- }], scrollHeight: [{
2083
- type: Input
2084
- }], disabled: [{
2085
- type: Input,
2086
- args: [{ transform: booleanAttribute }]
2087
- }], tabindex: [{
2088
- type: Input,
2089
- args: [{ transform: numberAttribute }]
2090
- }], startTemplate: [{
2091
- type: ContentChild,
2092
- args: ['start', { descendants: false }]
2093
- }], endTemplate: [{
2094
- type: ContentChild,
2095
- args: ['end', { descendants: false }]
2096
- }], menuIconTemplate: [{
2097
- type: ContentChild,
2098
- args: ['menuicon', { descendants: false }]
2099
- }], submenuIconTemplate: [{
2100
- type: ContentChild,
2101
- args: ['submenuicon', { descendants: false }]
2102
- }], itemTemplate: [{
2103
- type: ContentChild,
2104
- args: ['item', { descendants: false }]
2105
- }], buttonTemplate: [{
2106
- type: ContentChild,
2107
- args: ['button', { descendants: false }]
2108
- }], buttonIconTemplate: [{
2109
- type: ContentChild,
2110
- args: ['buttonicon', { descendants: false }]
2111
- }], templates: [{
2112
- type: ContentChildren,
2113
- args: [PrimeTemplate]
2114
- }], menubuttonViewChild: [{
2115
- type: ViewChild,
2116
- args: ['menubutton']
2117
- }], rootmenu: [{
2118
- type: ViewChild,
2119
- args: ['rootmenu']
2120
- }], container: [{
2121
- type: ViewChild,
2122
- args: ['container']
2123
- }] }); })();
2124
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MegaMenu, { className: "MegaMenu", filePath: "megamenu.ts", lineNumber: 452 }); })();
1830
+ changeDetection: ChangeDetectionStrategy.OnPush,
1831
+ encapsulation: ViewEncapsulation.None,
1832
+ providers: [MegaMenuStyle]
1833
+ }]
1834
+ }], ctorParameters: () => [], propDecorators: { model: [{
1835
+ type: Input
1836
+ }], style: [{
1837
+ type: Input
1838
+ }], styleClass: [{
1839
+ type: Input
1840
+ }], orientation: [{
1841
+ type: Input
1842
+ }], id: [{
1843
+ type: Input
1844
+ }], ariaLabel: [{
1845
+ type: Input
1846
+ }], ariaLabelledBy: [{
1847
+ type: Input
1848
+ }], breakpoint: [{
1849
+ type: Input
1850
+ }], scrollHeight: [{
1851
+ type: Input
1852
+ }], disabled: [{
1853
+ type: Input,
1854
+ args: [{ transform: booleanAttribute }]
1855
+ }], tabindex: [{
1856
+ type: Input,
1857
+ args: [{ transform: numberAttribute }]
1858
+ }], startTemplate: [{
1859
+ type: ContentChild,
1860
+ args: ['start', { descendants: false }]
1861
+ }], endTemplate: [{
1862
+ type: ContentChild,
1863
+ args: ['end', { descendants: false }]
1864
+ }], menuIconTemplate: [{
1865
+ type: ContentChild,
1866
+ args: ['menuicon', { descendants: false }]
1867
+ }], submenuIconTemplate: [{
1868
+ type: ContentChild,
1869
+ args: ['submenuicon', { descendants: false }]
1870
+ }], itemTemplate: [{
1871
+ type: ContentChild,
1872
+ args: ['item', { descendants: false }]
1873
+ }], buttonTemplate: [{
1874
+ type: ContentChild,
1875
+ args: ['button', { descendants: false }]
1876
+ }], buttonIconTemplate: [{
1877
+ type: ContentChild,
1878
+ args: ['buttonicon', { descendants: false }]
1879
+ }], templates: [{
1880
+ type: ContentChildren,
1881
+ args: [PrimeTemplate]
1882
+ }], menubuttonViewChild: [{
1883
+ type: ViewChild,
1884
+ args: ['menubutton']
1885
+ }], rootmenu: [{
1886
+ type: ViewChild,
1887
+ args: ['rootmenu']
1888
+ }], container: [{
1889
+ type: ViewChild,
1890
+ args: ['container']
1891
+ }] } });
2125
1892
  class MegaMenuModule {
2126
- static ɵfac = function MegaMenuModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MegaMenuModule)(); };
2127
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MegaMenuModule });
2128
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MegaMenu, SharedModule, SharedModule] });
1893
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1894
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuModule, imports: [MegaMenu, SharedModule], exports: [MegaMenu, SharedModule] });
1895
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuModule, imports: [MegaMenu, SharedModule, SharedModule] });
2129
1896
  }
2130
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MegaMenuModule, [{
2131
- type: NgModule,
2132
- args: [{
2133
- imports: [MegaMenu, SharedModule],
2134
- exports: [MegaMenu, SharedModule]
2135
- }]
2136
- }], null, null); })();
2137
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MegaMenuModule, { imports: [MegaMenu, SharedModule], exports: [MegaMenu, SharedModule] }); })();
1897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MegaMenuModule, decorators: [{
1898
+ type: NgModule,
1899
+ args: [{
1900
+ imports: [MegaMenu, SharedModule],
1901
+ exports: [MegaMenu, SharedModule]
1902
+ }]
1903
+ }] });
2138
1904
 
2139
1905
  /**
2140
1906
  * Generated bundle index. Do not edit.