primeng 19.0.6 → 19.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/dataview/dataview.interface.d.ts +9 -19
  2. package/dragdrop/dragdrop.d.ts +3 -2
  3. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  4. package/fesm2022/primeng-accordion.mjs +347 -560
  5. package/fesm2022/primeng-accordion.mjs.map +1 -1
  6. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  7. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  8. package/fesm2022/primeng-api.mjs +79 -89
  9. package/fesm2022/primeng-api.mjs.map +1 -1
  10. package/fesm2022/primeng-autocomplete.mjs +505 -786
  11. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  12. package/fesm2022/primeng-autofocus.mjs +26 -27
  13. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  14. package/fesm2022/primeng-avatar.mjs +70 -120
  15. package/fesm2022/primeng-avatar.mjs.map +1 -1
  16. package/fesm2022/primeng-avatargroup.mjs +44 -54
  17. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  18. package/fesm2022/primeng-badge.mjs +62 -71
  19. package/fesm2022/primeng-badge.mjs.map +1 -1
  20. package/fesm2022/primeng-base.mjs +6 -6
  21. package/fesm2022/primeng-base.mjs.map +1 -1
  22. package/fesm2022/primeng-basecomponent.mjs +15 -15
  23. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  24. package/fesm2022/primeng-blockui.mjs +66 -87
  25. package/fesm2022/primeng-blockui.mjs.map +1 -1
  26. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +223 -328
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +36 -40
  31. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  32. package/fesm2022/primeng-calendar.mjs +727 -1127
  33. package/fesm2022/primeng-calendar.mjs.map +1 -1
  34. package/fesm2022/primeng-card.mjs +88 -192
  35. package/fesm2022/primeng-card.mjs.map +1 -1
  36. package/fesm2022/primeng-carousel.mjs +218 -405
  37. package/fesm2022/primeng-carousel.mjs.map +1 -1
  38. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  39. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  40. package/fesm2022/primeng-chart.mjs +57 -63
  41. package/fesm2022/primeng-chart.mjs.map +1 -1
  42. package/fesm2022/primeng-checkbox.mjs +131 -183
  43. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  44. package/fesm2022/primeng-chip.mjs +92 -188
  45. package/fesm2022/primeng-chip.mjs.map +1 -1
  46. package/fesm2022/primeng-colorpicker.mjs +142 -167
  47. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  48. package/fesm2022/primeng-config.mjs +12 -12
  49. package/fesm2022/primeng-config.mjs.map +1 -1
  50. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  51. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  52. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  53. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  54. package/fesm2022/primeng-contextmenu.mjs +336 -450
  55. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  56. package/fesm2022/primeng-dataview.mjs +249 -352
  57. package/fesm2022/primeng-dataview.mjs.map +1 -1
  58. package/fesm2022/primeng-datepicker.mjs +740 -1136
  59. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  60. package/fesm2022/primeng-defer.mjs +25 -31
  61. package/fesm2022/primeng-defer.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +277 -478
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +68 -77
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +138 -167
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-dragdrop.mjs +85 -79
  69. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  70. package/fesm2022/primeng-drawer.mjs +171 -268
  71. package/fesm2022/primeng-drawer.mjs.map +1 -1
  72. package/fesm2022/primeng-dropdown.mjs +529 -867
  73. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  74. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  75. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  76. package/fesm2022/primeng-editor.mjs +118 -156
  77. package/fesm2022/primeng-editor.mjs.map +1 -1
  78. package/fesm2022/primeng-fieldset.mjs +153 -247
  79. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  80. package/fesm2022/primeng-fileupload.mjs +370 -687
  81. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  82. package/fesm2022/primeng-floatlabel.mjs +38 -46
  83. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  84. package/fesm2022/primeng-fluid.mjs +33 -41
  85. package/fesm2022/primeng-fluid.mjs.map +1 -1
  86. package/fesm2022/primeng-focustrap.mjs +23 -24
  87. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  88. package/fesm2022/primeng-galleria.mjs +529 -761
  89. package/fesm2022/primeng-galleria.mjs.map +1 -1
  90. package/fesm2022/primeng-iconfield.mjs +42 -51
  91. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  92. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  93. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  94. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  95. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  96. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  97. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  101. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  103. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  105. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  107. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  109. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  111. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  113. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  117. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  119. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-ban.mjs +24 -26
  121. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-bars.mjs +19 -19
  123. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  125. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-blank.mjs +14 -16
  127. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  129. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  131. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  133. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-check.mjs +17 -19
  135. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  137. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  139. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  141. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  145. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-eye.mjs +19 -19
  147. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  149. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-filter.mjs +24 -26
  151. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  153. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-home.mjs +26 -26
  155. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  157. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-minus.mjs +17 -19
  159. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  161. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-plus.mjs +24 -26
  163. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  165. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-search.mjs +26 -26
  167. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  169. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  171. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  173. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  175. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  177. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  179. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-star.mjs +24 -26
  181. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  183. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  185. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-times.mjs +17 -19
  187. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  189. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-trash.mjs +26 -26
  191. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-undo.mjs +26 -26
  193. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-upload.mjs +26 -26
  195. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  197. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  199. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  200. package/fesm2022/primeng-iftalabel.mjs +32 -38
  201. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  202. package/fesm2022/primeng-image.mjs +189 -370
  203. package/fesm2022/primeng-image.mjs.map +1 -1
  204. package/fesm2022/primeng-imagecompare.mjs +57 -86
  205. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  206. package/fesm2022/primeng-inplace.mjs +108 -206
  207. package/fesm2022/primeng-inplace.mjs.map +1 -1
  208. package/fesm2022/primeng-inputgroup.mjs +40 -50
  209. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  210. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  211. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  212. package/fesm2022/primeng-inputicon.mjs +39 -48
  213. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  214. package/fesm2022/primeng-inputmask.mjs +156 -181
  215. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  216. package/fesm2022/primeng-inputnumber.mjs +299 -416
  217. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  218. package/fesm2022/primeng-inputotp.mjs +97 -121
  219. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  220. package/fesm2022/primeng-inputswitch.mjs +87 -92
  221. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  222. package/fesm2022/primeng-inputtext.mjs +51 -57
  223. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  224. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  225. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  226. package/fesm2022/primeng-keyfilter.mjs +44 -47
  227. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  228. package/fesm2022/primeng-knob.mjs +105 -111
  229. package/fesm2022/primeng-knob.mjs.map +1 -1
  230. package/fesm2022/primeng-listbox.mjs +473 -790
  231. package/fesm2022/primeng-listbox.mjs.map +1 -1
  232. package/fesm2022/primeng-megamenu.mjs +377 -611
  233. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  234. package/fesm2022/primeng-menu.mjs +289 -460
  235. package/fesm2022/primeng-menu.mjs.map +1 -1
  236. package/fesm2022/primeng-menubar.mjs +357 -549
  237. package/fesm2022/primeng-menubar.mjs.map +1 -1
  238. package/fesm2022/primeng-message.mjs +156 -244
  239. package/fesm2022/primeng-message.mjs.map +1 -1
  240. package/fesm2022/primeng-messages.mjs +162 -278
  241. package/fesm2022/primeng-messages.mjs.map +1 -1
  242. package/fesm2022/primeng-metergroup.mjs +135 -264
  243. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  244. package/fesm2022/primeng-multiselect.mjs +655 -1132
  245. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  246. package/fesm2022/primeng-orderlist.mjs +228 -330
  247. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  248. package/fesm2022/primeng-organizationchart.mjs +161 -311
  249. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  250. package/fesm2022/primeng-overlay.mjs +135 -147
  251. package/fesm2022/primeng-overlay.mjs.map +1 -1
  252. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  253. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  254. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  255. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  256. package/fesm2022/primeng-paginator.mjs +212 -447
  257. package/fesm2022/primeng-paginator.mjs.map +1 -1
  258. package/fesm2022/primeng-panel.mjs +219 -317
  259. package/fesm2022/primeng-panel.mjs.map +1 -1
  260. package/fesm2022/primeng-panelmenu.mjs +439 -783
  261. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  262. package/fesm2022/primeng-password.mjs +268 -408
  263. package/fesm2022/primeng-password.mjs.map +1 -1
  264. package/fesm2022/primeng-picklist.mjs +560 -856
  265. package/fesm2022/primeng-picklist.mjs.map +1 -1
  266. package/fesm2022/primeng-popover.mjs +129 -148
  267. package/fesm2022/primeng-popover.mjs.map +1 -1
  268. package/fesm2022/primeng-progressbar.mjs +81 -121
  269. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  270. package/fesm2022/primeng-progressspinner.mjs +48 -58
  271. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  272. package/fesm2022/primeng-radiobutton.mjs +115 -106
  273. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  274. package/fesm2022/primeng-rating.mjs +120 -208
  275. package/fesm2022/primeng-rating.mjs.map +1 -1
  276. package/fesm2022/primeng-ripple.mjs +28 -29
  277. package/fesm2022/primeng-ripple.mjs.map +1 -1
  278. package/fesm2022/primeng-scroller.mjs +167 -295
  279. package/fesm2022/primeng-scroller.mjs.map +1 -1
  280. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  281. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  282. package/fesm2022/primeng-scrolltop.mjs +106 -150
  283. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  284. package/fesm2022/primeng-select.mjs +579 -955
  285. package/fesm2022/primeng-select.mjs.map +1 -1
  286. package/fesm2022/primeng-selectbutton.mjs +106 -133
  287. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  288. package/fesm2022/primeng-sidebar.mjs +151 -239
  289. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  290. package/fesm2022/primeng-skeleton.mjs +46 -54
  291. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  292. package/fesm2022/primeng-slider.mjs +186 -182
  293. package/fesm2022/primeng-slider.mjs.map +1 -1
  294. package/fesm2022/primeng-speeddial.mjs +192 -254
  295. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  296. package/fesm2022/primeng-splitbutton.mjs +211 -231
  297. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  298. package/fesm2022/primeng-splitter.mjs +126 -159
  299. package/fesm2022/primeng-splitter.mjs.map +1 -1
  300. package/fesm2022/primeng-stepper.mjs +227 -342
  301. package/fesm2022/primeng-stepper.mjs.map +1 -1
  302. package/fesm2022/primeng-steps.mjs +117 -170
  303. package/fesm2022/primeng-steps.mjs.map +1 -1
  304. package/fesm2022/primeng-styleclass.mjs +50 -53
  305. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  306. package/fesm2022/primeng-table.mjs +1808 -2584
  307. package/fesm2022/primeng-table.mjs.map +1 -1
  308. package/fesm2022/primeng-tabmenu.mjs +173 -319
  309. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  310. package/fesm2022/primeng-tabs.mjs +185 -300
  311. package/fesm2022/primeng-tabs.mjs.map +1 -1
  312. package/fesm2022/primeng-tabview.mjs +263 -435
  313. package/fesm2022/primeng-tabview.mjs.map +1 -1
  314. package/fesm2022/primeng-tag.mjs +63 -110
  315. package/fesm2022/primeng-tag.mjs.map +1 -1
  316. package/fesm2022/primeng-terminal.mjs +60 -104
  317. package/fesm2022/primeng-terminal.mjs.map +1 -1
  318. package/fesm2022/primeng-textarea.mjs +56 -61
  319. package/fesm2022/primeng-textarea.mjs.map +1 -1
  320. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  321. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  322. package/fesm2022/primeng-timeline.mjs +90 -156
  323. package/fesm2022/primeng-timeline.mjs.map +1 -1
  324. package/fesm2022/primeng-toast.mjs +251 -358
  325. package/fesm2022/primeng-toast.mjs.map +1 -1
  326. package/fesm2022/primeng-togglebutton.mjs +113 -150
  327. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  328. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  329. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  330. package/fesm2022/primeng-toolbar.mjs +62 -121
  331. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  332. package/fesm2022/primeng-tooltip.mjs +73 -74
  333. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  334. package/fesm2022/primeng-tree.mjs +441 -730
  335. package/fesm2022/primeng-tree.mjs.map +1 -1
  336. package/fesm2022/primeng-treeselect.mjs +342 -531
  337. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  338. package/fesm2022/primeng-treetable.mjs +1026 -1583
  339. package/fesm2022/primeng-treetable.mjs.map +1 -1
  340. package/fesm2022/primeng-usestyle.mjs +6 -6
  341. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  342. package/listbox/listbox.d.ts +2 -2
  343. package/package.json +178 -179
  344. package/password/password.d.ts +7 -1
  345. package/picklist/picklist.d.ts +11 -1
@@ -1,7 +1,7 @@
1
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule, isPlatformBrowser, DOCUMENT } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, ViewChild, signal, effect, PLATFORM_ID, ChangeDetectionStrategy, Inject, ContentChild, ContentChildren, NgModule } from '@angular/core';
4
+ import { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, ViewChild, Output, Input, ViewEncapsulation, Component, signal, effect, PLATFORM_ID, ContentChildren, ContentChild, Inject, 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, isTouchDevice, findSingle, isPrintableCharacter, findLastIndex } from '@primeuix/utils';
@@ -319,12 +319,12 @@ class MenuBarStyle extends BaseStyle {
319
319
  name = 'menubar';
320
320
  theme = theme;
321
321
  classes = classes;
322
- static ɵfac = /*@__PURE__*/ (() => { let ɵMenuBarStyle_BaseFactory; return function MenuBarStyle_Factory(__ngFactoryType__) { return (ɵMenuBarStyle_BaseFactory || (ɵMenuBarStyle_BaseFactory = i0.ɵɵgetInheritedFactory(MenuBarStyle)))(__ngFactoryType__ || MenuBarStyle); }; })();
323
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MenuBarStyle, factory: MenuBarStyle.ɵfac });
322
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuBarStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
323
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuBarStyle });
324
324
  }
325
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuBarStyle, [{
326
- type: Injectable
327
- }], null, null); })();
325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuBarStyle, decorators: [{
326
+ type: Injectable
327
+ }] });
328
328
  /**
329
329
  *
330
330
  * Menubar is a horizontal menu component.
@@ -390,343 +390,17 @@ var MenubarClasses;
390
390
  MenubarClasses["end"] = "p-menubar-end";
391
391
  })(MenubarClasses || (MenubarClasses = {}));
392
392
 
393
- const _c0 = ["menubar"];
394
- const _c1 = (a0, a1) => ({ "p-menubar-submenu": a0, "p-menubar-root-list": a1 });
395
- const _c2 = a0 => ({ "p-menubar-item-link": true, "p-disabled": a0 });
396
- const _c3 = () => ({ exact: false });
397
- const _c4 = (a0, a1) => ({ $implicit: a0, root: a1 });
398
- const _c5 = a0 => ({ display: a0 });
399
- function MenubarSub_ng_template_2_li_0_Template(rf, ctx) { if (rf & 1) {
400
- i0.ɵɵelement(0, "li", 8);
401
- } if (rf & 2) {
402
- const processedItem_r2 = i0.ɵɵnextContext().$implicit;
403
- const ctx_r2 = i0.ɵɵnextContext();
404
- i0.ɵɵstyleMap(ctx_r2.getItemProp(processedItem_r2, "style"));
405
- i0.ɵɵproperty("ngClass", ctx_r2.getSeparatorItemClass(processedItem_r2));
406
- i0.ɵɵattribute("id", ctx_r2.getItemId(processedItem_r2))("data-pc-section", "separator");
407
- } }
408
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_span_1_Template(rf, ctx) { if (rf & 1) {
409
- i0.ɵɵelement(0, "span", 19);
410
- } if (rf & 2) {
411
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
412
- const ctx_r2 = i0.ɵɵnextContext();
413
- i0.ɵɵproperty("ngClass", ctx_r2.getItemProp(processedItem_r2, "icon"))("ngStyle", ctx_r2.getItemProp(processedItem_r2, "iconStyle"));
414
- i0.ɵɵattribute("data-pc-section", "icon")("tabindex", -1);
415
- } }
416
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
417
- i0.ɵɵelementStart(0, "span", 20);
418
- i0.ɵɵtext(1);
419
- i0.ɵɵelementEnd();
420
- } if (rf & 2) {
421
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
422
- const ctx_r2 = i0.ɵɵnextContext();
423
- i0.ɵɵproperty("id", ctx_r2.getItemLabelId(processedItem_r2));
424
- i0.ɵɵattribute("data-pc-section", "label");
425
- i0.ɵɵadvance();
426
- i0.ɵɵtextInterpolate1(" ", ctx_r2.getItemLabel(processedItem_r2), " ");
427
- } }
428
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
429
- i0.ɵɵelement(0, "span", 21);
430
- } if (rf & 2) {
431
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
432
- const ctx_r2 = i0.ɵɵnextContext();
433
- i0.ɵɵproperty("innerHTML", ctx_r2.getItemLabel(processedItem_r2), i0.ɵɵsanitizeHtml)("id", ctx_r2.getItemLabelId(processedItem_r2));
434
- i0.ɵɵattribute("data-pc-section", "label");
435
- } }
436
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_p_badge_5_Template(rf, ctx) { if (rf & 1) {
437
- i0.ɵɵelement(0, "p-badge", 22);
438
- } if (rf & 2) {
439
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
440
- const ctx_r2 = i0.ɵɵnextContext();
441
- i0.ɵɵproperty("styleClass", ctx_r2.getItemProp(processedItem_r2, "badgeStyleClass"))("value", ctx_r2.getItemProp(processedItem_r2, "badge"));
442
- } }
443
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_AngleDownIcon_1_Template(rf, ctx) { if (rf & 1) {
444
- i0.ɵɵelement(0, "AngleDownIcon", 25);
445
- } if (rf & 2) {
446
- i0.ɵɵattribute("data-pc-section", "submenuicon");
447
- } }
448
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_AngleRightIcon_2_Template(rf, ctx) { if (rf & 1) {
449
- i0.ɵɵelement(0, "AngleRightIcon", 25);
450
- } if (rf & 2) {
451
- i0.ɵɵattribute("data-pc-section", "submenuicon");
452
- } }
453
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
454
- i0.ɵɵelementContainerStart(0);
455
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_AngleDownIcon_1_Template, 1, 1, "AngleDownIcon", 24)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_AngleRightIcon_2_Template, 1, 1, "AngleRightIcon", 24);
456
- i0.ɵɵelementContainerEnd();
457
- } if (rf & 2) {
458
- const ctx_r2 = i0.ɵɵnextContext(6);
459
- i0.ɵɵadvance();
460
- i0.ɵɵproperty("ngIf", ctx_r2.root);
461
- i0.ɵɵadvance();
462
- i0.ɵɵproperty("ngIf", !ctx_r2.root);
463
- } }
464
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_2_ng_template_0_Template(rf, ctx) { }
465
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_2_Template(rf, ctx) { if (rf & 1) {
466
- i0.ɵɵtemplate(0, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_2_ng_template_0_Template, 0, 0, "ng-template", 26);
467
- } if (rf & 2) {
468
- i0.ɵɵproperty("data-pc-section", "submenuicon");
469
- } }
470
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_Template(rf, ctx) { if (rf & 1) {
471
- i0.ɵɵelementContainerStart(0);
472
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_ng_container_1_Template, 3, 2, "ng-container", 11)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_2_Template, 1, 1, null, 23);
473
- i0.ɵɵelementContainerEnd();
474
- } if (rf & 2) {
475
- const ctx_r2 = i0.ɵɵnextContext(5);
476
- i0.ɵɵadvance();
477
- i0.ɵɵproperty("ngIf", !ctx_r2.submenuiconTemplate);
478
- i0.ɵɵadvance();
479
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.submenuiconTemplate);
480
- } }
481
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_1_Template(rf, ctx) { if (rf & 1) {
482
- i0.ɵɵelementStart(0, "a", 15);
483
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_span_1_Template, 1, 4, "span", 16)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_span_2_Template, 2, 3, "span", 17)(3, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_template_3_Template, 1, 3, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(5, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_p_badge_5_Template, 1, 2, "p-badge", 18)(6, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_ng_container_6_Template, 3, 2, "ng-container", 11);
484
- i0.ɵɵelementEnd();
485
- } if (rf & 2) {
486
- const htmlLabel_r5 = i0.ɵɵreference(4);
487
- const processedItem_r2 = i0.ɵɵnextContext(3).$implicit;
488
- const ctx_r2 = i0.ɵɵnextContext();
489
- i0.ɵɵproperty("target", ctx_r2.getItemProp(processedItem_r2, "target"))("ngClass", i0.ɵɵpureFunction1(11, _c2, ctx_r2.getItemProp(processedItem_r2, "disabled")));
490
- i0.ɵɵattribute("href", ctx_r2.getItemProp(processedItem_r2, "url"), i0.ɵɵsanitizeUrl)("data-automationid", ctx_r2.getItemProp(processedItem_r2, "automationId"))("data-pc-section", "action")("tabindex", -1);
491
- i0.ɵɵadvance();
492
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "icon"));
493
- i0.ɵɵadvance();
494
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "escape"))("ngIfElse", htmlLabel_r5);
495
- i0.ɵɵadvance(3);
496
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "badge"));
497
- i0.ɵɵadvance();
498
- i0.ɵɵproperty("ngIf", ctx_r2.isItemGroup(processedItem_r2));
499
- } }
500
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_span_1_Template(rf, ctx) { if (rf & 1) {
501
- i0.ɵɵelement(0, "span", 19);
502
- } if (rf & 2) {
503
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
504
- const ctx_r2 = i0.ɵɵnextContext();
505
- i0.ɵɵproperty("ngClass", ctx_r2.getItemProp(processedItem_r2, "icon"))("ngStyle", ctx_r2.getItemProp(processedItem_r2, "iconStyle"));
506
- i0.ɵɵattribute("data-pc-section", "icon")("tabindex", -1);
507
- } }
508
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_span_2_Template(rf, ctx) { if (rf & 1) {
509
- i0.ɵɵelementStart(0, "span", 29);
510
- i0.ɵɵtext(1);
511
- i0.ɵɵelementEnd();
512
- } if (rf & 2) {
513
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
514
- const ctx_r2 = i0.ɵɵnextContext();
515
- i0.ɵɵadvance();
516
- i0.ɵɵtextInterpolate(ctx_r2.getItemLabel(processedItem_r2));
517
- } }
518
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_template_3_Template(rf, ctx) { if (rf & 1) {
519
- i0.ɵɵelement(0, "span", 30);
520
- } if (rf & 2) {
521
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
522
- const ctx_r2 = i0.ɵɵnextContext();
523
- i0.ɵɵproperty("innerHTML", ctx_r2.getItemLabel(processedItem_r2), i0.ɵɵsanitizeHtml);
524
- i0.ɵɵattribute("data-pc-section", "label");
525
- } }
526
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_p_badge_5_Template(rf, ctx) { if (rf & 1) {
527
- i0.ɵɵelement(0, "p-badge", 22);
528
- } if (rf & 2) {
529
- const processedItem_r2 = i0.ɵɵnextContext(4).$implicit;
530
- const ctx_r2 = i0.ɵɵnextContext();
531
- i0.ɵɵproperty("styleClass", ctx_r2.getItemProp(processedItem_r2, "badgeStyleClass"))("value", ctx_r2.getItemProp(processedItem_r2, "badge"));
532
- } }
533
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleDownIcon_1_Template(rf, ctx) { if (rf & 1) {
534
- i0.ɵɵelement(0, "AngleDownIcon", 25);
535
- } if (rf & 2) {
536
- i0.ɵɵattribute("data-pc-section", "submenuicon");
537
- } }
538
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleRightIcon_2_Template(rf, ctx) { if (rf & 1) {
539
- i0.ɵɵelement(0, "AngleRightIcon", 25);
540
- } if (rf & 2) {
541
- i0.ɵɵattribute("data-pc-section", "submenuicon");
542
- } }
543
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
544
- i0.ɵɵelementContainerStart(0);
545
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleDownIcon_1_Template, 1, 1, "AngleDownIcon", 24)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_AngleRightIcon_2_Template, 1, 1, "AngleRightIcon", 24);
546
- i0.ɵɵelementContainerEnd();
547
- } if (rf & 2) {
548
- const ctx_r2 = i0.ɵɵnextContext(6);
549
- i0.ɵɵadvance();
550
- i0.ɵɵproperty("ngIf", ctx_r2.root);
551
- i0.ɵɵadvance();
552
- i0.ɵɵproperty("ngIf", !ctx_r2.root);
553
- } }
554
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_2_ng_template_0_Template(rf, ctx) { }
555
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_2_Template(rf, ctx) { if (rf & 1) {
556
- i0.ɵɵtemplate(0, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_2_ng_template_0_Template, 0, 0, "ng-template", 26);
557
- } if (rf & 2) {
558
- i0.ɵɵproperty("data-pc-section", "submenuicon");
559
- } }
560
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
561
- i0.ɵɵelementContainerStart(0);
562
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_ng_container_1_Template, 3, 2, "ng-container", 11)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_2_Template, 1, 1, null, 23);
563
- i0.ɵɵelementContainerEnd();
564
- } if (rf & 2) {
565
- const ctx_r2 = i0.ɵɵnextContext(5);
566
- i0.ɵɵadvance();
567
- i0.ɵɵproperty("ngIf", !ctx_r2.submenuiconTemplate);
568
- i0.ɵɵadvance();
569
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.submenuiconTemplate);
570
- } }
571
- function MenubarSub_ng_template_2_li_1_ng_container_3_a_2_Template(rf, ctx) { if (rf & 1) {
572
- i0.ɵɵelementStart(0, "a", 27);
573
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_span_1_Template, 1, 4, "span", 16)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_span_2_Template, 2, 1, "span", 28)(3, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_template_3_Template, 1, 2, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(5, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_p_badge_5_Template, 1, 2, "p-badge", 18)(6, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_ng_container_6_Template, 3, 2, "ng-container", 11);
574
- i0.ɵɵelementEnd();
575
- } if (rf & 2) {
576
- const htmlRouteLabel_r6 = i0.ɵɵreference(4);
577
- const processedItem_r2 = i0.ɵɵnextContext(3).$implicit;
578
- const ctx_r2 = i0.ɵɵnextContext();
579
- i0.ɵɵproperty("routerLink", ctx_r2.getItemProp(processedItem_r2, "routerLink"))("queryParams", ctx_r2.getItemProp(processedItem_r2, "queryParams"))("routerLinkActive", "p-menubar-item-link-active")("routerLinkActiveOptions", ctx_r2.getItemProp(processedItem_r2, "routerLinkActiveOptions") || i0.ɵɵpureFunction0(20, _c3))("target", ctx_r2.getItemProp(processedItem_r2, "target"))("ngClass", i0.ɵɵpureFunction1(21, _c2, ctx_r2.getItemProp(processedItem_r2, "disabled")))("fragment", ctx_r2.getItemProp(processedItem_r2, "fragment"))("queryParamsHandling", ctx_r2.getItemProp(processedItem_r2, "queryParamsHandling"))("preserveFragment", ctx_r2.getItemProp(processedItem_r2, "preserveFragment"))("skipLocationChange", ctx_r2.getItemProp(processedItem_r2, "skipLocationChange"))("replaceUrl", ctx_r2.getItemProp(processedItem_r2, "replaceUrl"))("state", ctx_r2.getItemProp(processedItem_r2, "state"));
580
- i0.ɵɵattribute("data-automationid", ctx_r2.getItemProp(processedItem_r2, "automationId"))("tabindex", -1)("data-pc-section", "action");
581
- i0.ɵɵadvance();
582
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "icon"));
583
- i0.ɵɵadvance();
584
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "escape"))("ngIfElse", htmlRouteLabel_r6);
585
- i0.ɵɵadvance(3);
586
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "badge"));
587
- i0.ɵɵadvance();
588
- i0.ɵɵproperty("ngIf", ctx_r2.isItemGroup(processedItem_r2));
589
- } }
590
- function MenubarSub_ng_template_2_li_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
591
- i0.ɵɵelementContainerStart(0);
592
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_3_a_1_Template, 7, 13, "a", 13)(2, MenubarSub_ng_template_2_li_1_ng_container_3_a_2_Template, 7, 23, "a", 14);
593
- i0.ɵɵelementContainerEnd();
594
- } if (rf & 2) {
595
- const processedItem_r2 = i0.ɵɵnextContext(2).$implicit;
596
- const ctx_r2 = i0.ɵɵnextContext();
597
- i0.ɵɵadvance();
598
- i0.ɵɵproperty("ngIf", !ctx_r2.getItemProp(processedItem_r2, "routerLink"));
599
- i0.ɵɵadvance();
600
- i0.ɵɵproperty("ngIf", ctx_r2.getItemProp(processedItem_r2, "routerLink"));
601
- } }
602
- function MenubarSub_ng_template_2_li_1_ng_container_4_1_ng_template_0_Template(rf, ctx) { }
603
- function MenubarSub_ng_template_2_li_1_ng_container_4_1_Template(rf, ctx) { if (rf & 1) {
604
- i0.ɵɵtemplate(0, MenubarSub_ng_template_2_li_1_ng_container_4_1_ng_template_0_Template, 0, 0, "ng-template");
605
- } }
606
- function MenubarSub_ng_template_2_li_1_ng_container_4_Template(rf, ctx) { if (rf & 1) {
607
- i0.ɵɵelementContainerStart(0);
608
- i0.ɵɵtemplate(1, MenubarSub_ng_template_2_li_1_ng_container_4_1_Template, 1, 0, null, 31);
609
- i0.ɵɵelementContainerEnd();
610
- } if (rf & 2) {
611
- const processedItem_r2 = i0.ɵɵnextContext(2).$implicit;
612
- const ctx_r2 = i0.ɵɵnextContext();
613
- i0.ɵɵadvance();
614
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c4, processedItem_r2.item, ctx_r2.root));
615
- } }
616
- function MenubarSub_ng_template_2_li_1_p_menubarSub_5_Template(rf, ctx) { if (rf & 1) {
617
- const _r7 = i0.ɵɵgetCurrentView();
618
- i0.ɵɵelementStart(0, "p-menubarSub", 32);
619
- i0.ɵɵlistener("itemClick", function MenubarSub_ng_template_2_li_1_p_menubarSub_5_Template_p_menubarSub_itemClick_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.itemClick.emit($event)); })("itemMouseEnter", function MenubarSub_ng_template_2_li_1_p_menubarSub_5_Template_p_menubarSub_itemMouseEnter_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onItemMouseEnter($event)); });
620
- i0.ɵɵelementEnd();
621
- } if (rf & 2) {
622
- const processedItem_r2 = i0.ɵɵnextContext(2).$implicit;
623
- const ctx_r2 = i0.ɵɵnextContext();
624
- i0.ɵɵproperty("itemTemplate", ctx_r2.itemTemplate)("items", processedItem_r2.items)("mobileActive", ctx_r2.mobileActive)("autoDisplay", ctx_r2.autoDisplay)("menuId", ctx_r2.menuId)("activeItemPath", ctx_r2.activeItemPath)("focusedItemId", ctx_r2.focusedItemId)("level", ctx_r2.level + 1)("ariaLabelledBy", ctx_r2.getItemLabelId(processedItem_r2))("inlineStyles", i0.ɵɵpureFunction1(10, _c5, ctx_r2.isItemActive(processedItem_r2) ? "flex" : "none"));
625
- } }
626
- function MenubarSub_ng_template_2_li_1_Template(rf, ctx) { if (rf & 1) {
627
- const _r4 = i0.ɵɵgetCurrentView();
628
- i0.ɵɵelementStart(0, "li", 9, 1)(2, "div", 10);
629
- i0.ɵɵlistener("click", function MenubarSub_ng_template_2_li_1_Template_div_click_2_listener($event) { i0.ɵɵrestoreView(_r4); const processedItem_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onItemClick($event, processedItem_r2)); })("mouseenter", function MenubarSub_ng_template_2_li_1_Template_div_mouseenter_2_listener($event) { i0.ɵɵrestoreView(_r4); const processedItem_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onItemMouseEnter({ $event: $event, processedItem: processedItem_r2 })); });
630
- i0.ɵɵtemplate(3, MenubarSub_ng_template_2_li_1_ng_container_3_Template, 3, 2, "ng-container", 11)(4, MenubarSub_ng_template_2_li_1_ng_container_4_Template, 2, 5, "ng-container", 11);
631
- i0.ɵɵelementEnd();
632
- i0.ɵɵtemplate(5, MenubarSub_ng_template_2_li_1_p_menubarSub_5_Template, 1, 12, "p-menubarSub", 12);
633
- i0.ɵɵelementEnd();
634
- } if (rf & 2) {
635
- const ctx_r7 = i0.ɵɵnextContext();
636
- const processedItem_r2 = ctx_r7.$implicit;
637
- const index_r9 = ctx_r7.index;
638
- const ctx_r2 = i0.ɵɵnextContext();
639
- i0.ɵɵclassMap(ctx_r2.getItemProp(processedItem_r2, "styleClass"));
640
- i0.ɵɵproperty("ngStyle", ctx_r2.getItemProp(processedItem_r2, "style"))("ngClass", ctx_r2.getItemClass(processedItem_r2))("tooltipOptions", ctx_r2.getItemProp(processedItem_r2, "tooltipOptions"));
641
- i0.ɵɵattribute("id", ctx_r2.getItemId(processedItem_r2))("data-pc-section", "menuitem")("data-p-highlight", ctx_r2.isItemActive(processedItem_r2))("data-p-focused", ctx_r2.isItemFocused(processedItem_r2))("data-p-disabled", ctx_r2.isItemDisabled(processedItem_r2))("aria-label", ctx_r2.getItemLabel(processedItem_r2))("aria-disabled", ctx_r2.isItemDisabled(processedItem_r2) || undefined)("aria-haspopup", ctx_r2.isItemGroup(processedItem_r2) && !ctx_r2.getItemProp(processedItem_r2, "to") ? "menu" : undefined)("aria-expanded", ctx_r2.isItemGroup(processedItem_r2) ? ctx_r2.isItemActive(processedItem_r2) : undefined)("aria-level", ctx_r2.level + 1)("aria-setsize", ctx_r2.getAriaSetSize())("aria-posinset", ctx_r2.getAriaPosInset(index_r9));
642
- i0.ɵɵadvance(2);
643
- i0.ɵɵattribute("data-pc-section", "content");
644
- i0.ɵɵadvance();
645
- i0.ɵɵproperty("ngIf", !ctx_r2.itemTemplate);
646
- i0.ɵɵadvance();
647
- i0.ɵɵproperty("ngIf", ctx_r2.itemTemplate);
648
- i0.ɵɵadvance();
649
- i0.ɵɵproperty("ngIf", ctx_r2.isItemVisible(processedItem_r2) && ctx_r2.isItemGroup(processedItem_r2));
650
- } }
651
- function MenubarSub_ng_template_2_Template(rf, ctx) { if (rf & 1) {
652
- i0.ɵɵtemplate(0, MenubarSub_ng_template_2_li_0_Template, 1, 5, "li", 6)(1, MenubarSub_ng_template_2_li_1_Template, 6, 21, "li", 7);
653
- } if (rf & 2) {
654
- const processedItem_r2 = ctx.$implicit;
655
- const ctx_r2 = i0.ɵɵnextContext();
656
- i0.ɵɵproperty("ngIf", ctx_r2.isItemVisible(processedItem_r2) && ctx_r2.getItemProp(processedItem_r2, "separator"));
657
- i0.ɵɵadvance();
658
- i0.ɵɵproperty("ngIf", ctx_r2.isItemVisible(processedItem_r2) && !ctx_r2.getItemProp(processedItem_r2, "separator"));
659
- } }
660
- const _c6 = ["start"];
661
- const _c7 = ["end"];
662
- const _c8 = ["item"];
663
- const _c9 = ["menuicon"];
664
- const _c10 = ["submenuicon"];
665
- const _c11 = ["menubutton"];
666
- const _c12 = ["rootmenu"];
667
- const _c13 = ["*"];
668
- const _c14 = (a0, a1) => ({ "p-menubar p-component": true, "p-menubar-mobile": a0, "p-menubar-mobile-active": a1 });
669
- function Menubar_div_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
670
- i0.ɵɵelementContainer(0);
671
- } }
672
- function Menubar_div_1_Template(rf, ctx) { if (rf & 1) {
673
- i0.ɵɵelementStart(0, "div", 8);
674
- i0.ɵɵtemplate(1, Menubar_div_1_ng_container_1_Template, 1, 0, "ng-container", 9);
675
- i0.ɵɵelementEnd();
676
- } if (rf & 2) {
677
- const ctx_r1 = i0.ɵɵnextContext();
678
- i0.ɵɵadvance();
679
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.startTemplate || ctx_r1._startTemplate);
680
- } }
681
- function Menubar_a_2_BarsIcon_2_Template(rf, ctx) { if (rf & 1) {
682
- i0.ɵɵelement(0, "BarsIcon");
683
- } }
684
- function Menubar_a_2_3_ng_template_0_Template(rf, ctx) { }
685
- function Menubar_a_2_3_Template(rf, ctx) { if (rf & 1) {
686
- i0.ɵɵtemplate(0, Menubar_a_2_3_ng_template_0_Template, 0, 0, "ng-template");
687
- } }
688
- function Menubar_a_2_Template(rf, ctx) { if (rf & 1) {
689
- const _r3 = i0.ɵɵgetCurrentView();
690
- i0.ɵɵelementStart(0, "a", 10, 2);
691
- i0.ɵɵlistener("click", function Menubar_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.menuButtonClick($event)); })("keydown", function Menubar_a_2_Template_a_keydown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.menuButtonKeydown($event)); });
692
- i0.ɵɵtemplate(2, Menubar_a_2_BarsIcon_2_Template, 1, 0, "BarsIcon", 11)(3, Menubar_a_2_3_Template, 1, 0, null, 9);
693
- i0.ɵɵelementEnd();
694
- } if (rf & 2) {
695
- const ctx_r1 = i0.ɵɵnextContext();
696
- 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)("data-pc-section", "button");
697
- i0.ɵɵadvance(2);
698
- i0.ɵɵproperty("ngIf", !ctx_r1.menuIconTemplate && !ctx_r1._menuIconTemplate);
699
- i0.ɵɵadvance();
700
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.menuIconTemplate || ctx_r1._menuIconTemplate);
701
- } }
702
- function Menubar_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
703
- i0.ɵɵelementContainer(0);
704
- } }
705
- function Menubar_div_5_Template(rf, ctx) { if (rf & 1) {
706
- i0.ɵɵelementStart(0, "div", 12);
707
- i0.ɵɵtemplate(1, Menubar_div_5_ng_container_1_Template, 1, 0, "ng-container", 9);
708
- i0.ɵɵelementEnd();
709
- } if (rf & 2) {
710
- const ctx_r1 = i0.ɵɵnextContext();
711
- i0.ɵɵadvance();
712
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.endTemplate || ctx_r1._endTemplate);
713
- } }
714
- function Menubar_ng_template_6_Template(rf, ctx) { if (rf & 1) {
715
- i0.ɵɵelementStart(0, "div", 12);
716
- i0.ɵɵprojection(1);
717
- i0.ɵɵelementEnd();
718
- } }
719
393
  class MenubarService {
720
394
  autoHide;
721
395
  autoHideDelay;
722
396
  mouseLeaves = new Subject();
723
397
  mouseLeft$ = this.mouseLeaves.pipe(debounce(() => interval(this.autoHideDelay)), filter((mouseLeft) => this.autoHide && mouseLeft));
724
- static ɵfac = function MenubarService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenubarService)(); };
725
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MenubarService, factory: MenubarService.ɵfac });
398
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
399
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarService });
726
400
  }
727
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenubarService, [{
728
- type: Injectable
729
- }], null, null); })();
401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarService, decorators: [{
402
+ type: Injectable
403
+ }] });
730
404
  class MenubarSub extends BaseComponent {
731
405
  items;
732
406
  itemTemplate;
@@ -828,32 +502,162 @@ class MenubarSub extends BaseComponent {
828
502
  this.mouseLeaveSubscriber?.unsubscribe();
829
503
  super.ngOnDestroy();
830
504
  }
831
- static ɵfac = /*@__PURE__*/ (() => { let ɵMenubarSub_BaseFactory; return function MenubarSub_Factory(__ngFactoryType__) { return (ɵMenubarSub_BaseFactory || (ɵMenubarSub_BaseFactory = i0.ɵɵgetInheritedFactory(MenubarSub)))(__ngFactoryType__ || MenubarSub); }; })();
832
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenubarSub, selectors: [["p-menubarSub"], ["p-menubarsub"]], viewQuery: function MenubarSub_Query(rf, ctx) { if (rf & 1) {
833
- i0.ɵɵviewQuery(_c0, 7);
834
- } if (rf & 2) {
835
- let _t;
836
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menubarViewChild = _t.first);
837
- } }, inputs: { items: "items", itemTemplate: "itemTemplate", root: [2, "root", "root", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], mobileActive: [2, "mobileActive", "mobileActive", booleanAttribute], autoDisplay: [2, "autoDisplay", "autoDisplay", booleanAttribute], menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: [2, "level", "level", numberAttribute], focusedItemId: "focusedItemId", activeItemPath: "activeItemPath", inlineStyles: "inlineStyles", submenuiconTemplate: "submenuiconTemplate" }, outputs: { itemClick: "itemClick", itemMouseEnter: "itemMouseEnter", menuFocus: "menuFocus", menuBlur: "menuBlur", menuKeydown: "menuKeydown" }, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 12, consts: [["menubar", ""], ["listItem", ""], ["htmlLabel", ""], ["htmlRouteLabel", ""], ["role", "menubar", 3, "focus", "blur", "keydown", "ngClass", "tabindex", "ngStyle"], ["ngFor", "", 3, "ngForOf"], ["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-menubar-item-content", 3, "click", "mouseenter"], [4, "ngIf"], [3, "itemTemplate", "items", "mobileActive", "autoDisplay", "menuId", "activeItemPath", "focusedItemId", "level", "ariaLabelledBy", "inlineStyles", "itemClick", "itemMouseEnter", 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-menubar-item-icon", 3, "ngClass", "ngStyle", 4, "ngIf"], ["class", "p-menubar-item-label", 3, "id", 4, "ngIf", "ngIfElse"], [3, "styleClass", "value", 4, "ngIf"], [1, "p-menubar-item-icon", 3, "ngClass", "ngStyle"], [1, "p-menubar-item-label", 3, "id"], [1, "p-menubar-item-label", 3, "innerHTML", "id"], [3, "styleClass", "value"], [4, "ngTemplateOutlet"], ["class", "p-menubar-submenu-icon", 4, "ngIf"], [1, "p-menubar-submenu-icon"], [3, "data-pc-section"], ["pRipple", "", 3, "routerLink", "queryParams", "routerLinkActive", "routerLinkActiveOptions", "target", "ngClass", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state"], ["class", "p-menubar-item-label", 4, "ngIf", "ngIfElse"], [1, "p-menubar-item-label"], [1, "p-menubar-item-label", 3, "innerHTML"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "itemClick", "itemMouseEnter", "itemTemplate", "items", "mobileActive", "autoDisplay", "menuId", "activeItemPath", "focusedItemId", "level", "ariaLabelledBy", "inlineStyles"]], template: function MenubarSub_Template(rf, ctx) { if (rf & 1) {
838
- const _r1 = i0.ɵɵgetCurrentView();
839
- i0.ɵɵelementStart(0, "ul", 4, 0);
840
- i0.ɵɵlistener("focus", function MenubarSub_Template_ul_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.menuFocus.emit($event)); })("blur", function MenubarSub_Template_ul_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.menuBlur.emit($event)); })("keydown", function MenubarSub_Template_ul_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.menuKeydown.emit($event)); });
841
- i0.ɵɵtemplate(2, MenubarSub_ng_template_2_Template, 2, 2, "ng-template", 5);
842
- i0.ɵɵelementEnd();
843
- } if (rf & 2) {
844
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(9, _c1, !ctx.root, ctx.root))("tabindex", 0)("ngStyle", ctx.inlineStyles);
845
- i0.ɵɵattribute("data-pc-section", "menu")("aria-label", ctx.ariaLabel)("aria-labelledBy", ctx.ariaLabelledBy)("id", ctx.root ? ctx.menuId : null)("aria-activedescendant", ctx.focusedItemId);
846
- i0.ɵɵadvance(2);
847
- i0.ɵɵproperty("ngForOf", ctx.items);
848
- } }, dependencies: [MenubarSub, 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 });
505
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarSub, deps: null, target: i0.ɵɵFactoryTarget.Component });
506
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: MenubarSub, isStandalone: true, selector: "p-menubarSub, p-menubarsub", inputs: { items: "items", itemTemplate: "itemTemplate", root: ["root", "root", booleanAttribute], autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], mobileActive: ["mobileActive", "mobileActive", booleanAttribute], autoDisplay: ["autoDisplay", "autoDisplay", booleanAttribute], menuId: "menuId", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", level: ["level", "level", numberAttribute], focusedItemId: "focusedItemId", activeItemPath: "activeItemPath", inlineStyles: "inlineStyles", submenuiconTemplate: "submenuiconTemplate" }, 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: `
507
+ <ul
508
+ #menubar
509
+ [ngClass]="{ 'p-menubar-submenu': !root, 'p-menubar-root-list': root }"
510
+ [attr.data-pc-section]="'menu'"
511
+ role="menubar"
512
+ (focus)="menuFocus.emit($event)"
513
+ (blur)="menuBlur.emit($event)"
514
+ [tabindex]="0"
515
+ [attr.aria-label]="ariaLabel"
516
+ [attr.aria-labelledBy]="ariaLabelledBy"
517
+ (keydown)="menuKeydown.emit($event)"
518
+ [attr.id]="root ? menuId : null"
519
+ [attr.aria-activedescendant]="focusedItemId"
520
+ [ngStyle]="inlineStyles"
521
+ >
522
+ <ng-template ngFor let-processedItem [ngForOf]="items" let-index="index">
523
+ <li
524
+ *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
525
+ [attr.id]="getItemId(processedItem)"
526
+ [style]="getItemProp(processedItem, 'style')"
527
+ [ngClass]="getSeparatorItemClass(processedItem)"
528
+ role="separator"
529
+ [attr.data-pc-section]="'separator'"
530
+ ></li>
531
+ <li
532
+ #listItem
533
+ *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
534
+ role="menuitem"
535
+ [attr.id]="getItemId(processedItem)"
536
+ [attr.data-pc-section]="'menuitem'"
537
+ [attr.data-p-highlight]="isItemActive(processedItem)"
538
+ [attr.data-p-focused]="isItemFocused(processedItem)"
539
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
540
+ [attr.aria-label]="getItemLabel(processedItem)"
541
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
542
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
543
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
544
+ [attr.aria-level]="level + 1"
545
+ [attr.aria-setsize]="getAriaSetSize()"
546
+ [attr.aria-posinset]="getAriaPosInset(index)"
547
+ [ngStyle]="getItemProp(processedItem, 'style')"
548
+ [ngClass]="getItemClass(processedItem)"
549
+ [class]="getItemProp(processedItem, 'styleClass')"
550
+ pTooltip
551
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
552
+ >
553
+ <div class="p-menubar-item-content" [attr.data-pc-section]="'content'" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
554
+ <ng-container *ngIf="!itemTemplate">
555
+ <a
556
+ *ngIf="!getItemProp(processedItem, 'routerLink')"
557
+ [attr.href]="getItemProp(processedItem, 'url')"
558
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
559
+ [attr.data-pc-section]="'action'"
560
+ [target]="getItemProp(processedItem, 'target')"
561
+ [ngClass]="{ 'p-menubar-item-link': true, 'p-disabled': getItemProp(processedItem, 'disabled') }"
562
+ [attr.tabindex]="-1"
563
+ pRipple
564
+ >
565
+ <span
566
+ *ngIf="getItemProp(processedItem, 'icon')"
567
+ class="p-menubar-item-icon"
568
+ [ngClass]="getItemProp(processedItem, 'icon')"
569
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
570
+ [attr.data-pc-section]="'icon'"
571
+ [attr.tabindex]="-1"
572
+ >
573
+ </span>
574
+ <span *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel" class="p-menubar-item-label" [attr.data-pc-section]="'label'" [id]="getItemLabelId(processedItem)">
575
+ {{ getItemLabel(processedItem) }}
576
+ </span>
577
+ <ng-template #htmlLabel>
578
+ <span class="p-menubar-item-label" [innerHTML]="getItemLabel(processedItem)" [attr.data-pc-section]="'label'" [id]="getItemLabelId(processedItem)"></span>
579
+ </ng-template>
580
+ <p-badge *ngIf="getItemProp(processedItem, 'badge')" [styleClass]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" />
581
+
582
+ <ng-container *ngIf="isItemGroup(processedItem)">
583
+ <ng-container *ngIf="!submenuiconTemplate">
584
+ <AngleDownIcon class="p-menubar-submenu-icon" *ngIf="root" [attr.data-pc-section]="'submenuicon'" />
585
+ <AngleRightIcon class="p-menubar-submenu-icon" *ngIf="!root" [attr.data-pc-section]="'submenuicon'" />
586
+ </ng-container>
587
+ <ng-template *ngTemplateOutlet="submenuiconTemplate" [attr.data-pc-section]="'submenuicon'"></ng-template>
588
+ </ng-container>
589
+ </a>
590
+ <a
591
+ *ngIf="getItemProp(processedItem, 'routerLink')"
592
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
593
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
594
+ [attr.tabindex]="-1"
595
+ [attr.data-pc-section]="'action'"
596
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
597
+ [routerLinkActive]="'p-menubar-item-link-active'"
598
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
599
+ [target]="getItemProp(processedItem, 'target')"
600
+ [ngClass]="{ 'p-menubar-item-link': true, 'p-disabled': getItemProp(processedItem, 'disabled') }"
601
+ [fragment]="getItemProp(processedItem, 'fragment')"
602
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
603
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
604
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
605
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
606
+ [state]="getItemProp(processedItem, 'state')"
607
+ pRipple
608
+ >
609
+ <span
610
+ class="p-menubar-item-icon"
611
+ *ngIf="getItemProp(processedItem, 'icon')"
612
+ [ngClass]="getItemProp(processedItem, 'icon')"
613
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
614
+ [attr.data-pc-section]="'icon'"
615
+ [attr.tabindex]="-1"
616
+ ></span>
617
+ <span class="p-menubar-item-label" *ngIf="getItemProp(processedItem, 'escape'); else htmlRouteLabel">{{ getItemLabel(processedItem) }}</span>
618
+ <ng-template #htmlRouteLabel><span class="p-menubar-item-label" [innerHTML]="getItemLabel(processedItem)" [attr.data-pc-section]="'label'"></span></ng-template>
619
+ <p-badge *ngIf="getItemProp(processedItem, 'badge')" [styleClass]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" />
620
+ <ng-container *ngIf="isItemGroup(processedItem)">
621
+ <ng-container *ngIf="!submenuiconTemplate">
622
+ <AngleDownIcon class="p-menubar-submenu-icon" [attr.data-pc-section]="'submenuicon'" *ngIf="root" />
623
+ <AngleRightIcon class="p-menubar-submenu-icon" [attr.data-pc-section]="'submenuicon'" *ngIf="!root" />
624
+ </ng-container>
625
+ <ng-template *ngTemplateOutlet="submenuiconTemplate" [attr.data-pc-section]="'submenuicon'"></ng-template>
626
+ </ng-container>
627
+ </a>
628
+ </ng-container>
629
+ <ng-container *ngIf="itemTemplate">
630
+ <ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: processedItem.item, root: root }"></ng-template>
631
+ </ng-container>
632
+ </div>
633
+ <p-menubarSub
634
+ *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)"
635
+ [itemTemplate]="itemTemplate"
636
+ [items]="processedItem.items"
637
+ [mobileActive]="mobileActive"
638
+ [autoDisplay]="autoDisplay"
639
+ [menuId]="menuId"
640
+ [activeItemPath]="activeItemPath"
641
+ [focusedItemId]="focusedItemId"
642
+ [level]="level + 1"
643
+ [ariaLabelledBy]="getItemLabelId(processedItem)"
644
+ (itemClick)="itemClick.emit($event)"
645
+ (itemMouseEnter)="onItemMouseEnter($event)"
646
+ [inlineStyles]="{ display: isItemActive(processedItem) ? 'flex' : 'none' }"
647
+ >
648
+ </p-menubarSub>
649
+ </li>
650
+ </ng-template>
651
+ </ul>
652
+ `, isInline: true, dependencies: [{ kind: "component", type: MenubarSub, selector: "p-menubarSub, p-menubarsub", inputs: ["items", "itemTemplate", "root", "autoZIndex", "baseZIndex", "mobileActive", "autoDisplay", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "inlineStyles", "submenuiconTemplate"], 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 });
849
653
  }
850
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenubarSub, [{
851
- type: Component,
852
- args: [{
853
- selector: 'p-menubarSub, p-menubarsub',
854
- standalone: true,
855
- imports: [CommonModule, RouterModule, Ripple, TooltipModule, AngleDownIcon, AngleRightIcon, BadgeModule, SharedModule],
856
- template: `
654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarSub, decorators: [{
655
+ type: Component,
656
+ args: [{
657
+ selector: 'p-menubarSub, p-menubarsub',
658
+ standalone: true,
659
+ imports: [CommonModule, RouterModule, Ripple, TooltipModule, AngleDownIcon, AngleRightIcon, BadgeModule, SharedModule],
660
+ template: `
857
661
  <ul
858
662
  #menubar
859
663
  [ngClass]="{ 'p-menubar-submenu': !root, 'p-menubar-root-list': root }"
@@ -1000,59 +804,58 @@ class MenubarSub extends BaseComponent {
1000
804
  </ng-template>
1001
805
  </ul>
1002
806
  `,
1003
- encapsulation: ViewEncapsulation.None
1004
- }]
1005
- }], null, { items: [{
1006
- type: Input
1007
- }], itemTemplate: [{
1008
- type: Input
1009
- }], root: [{
1010
- type: Input,
1011
- args: [{ transform: booleanAttribute }]
1012
- }], autoZIndex: [{
1013
- type: Input,
1014
- args: [{ transform: booleanAttribute }]
1015
- }], baseZIndex: [{
1016
- type: Input,
1017
- args: [{ transform: numberAttribute }]
1018
- }], mobileActive: [{
1019
- type: Input,
1020
- args: [{ transform: booleanAttribute }]
1021
- }], autoDisplay: [{
1022
- type: Input,
1023
- args: [{ transform: booleanAttribute }]
1024
- }], menuId: [{
1025
- type: Input
1026
- }], ariaLabel: [{
1027
- type: Input
1028
- }], ariaLabelledBy: [{
1029
- type: Input
1030
- }], level: [{
1031
- type: Input,
1032
- args: [{ transform: numberAttribute }]
1033
- }], focusedItemId: [{
1034
- type: Input
1035
- }], activeItemPath: [{
1036
- type: Input
1037
- }], inlineStyles: [{
1038
- type: Input
1039
- }], submenuiconTemplate: [{
1040
- type: Input
1041
- }], itemClick: [{
1042
- type: Output
1043
- }], itemMouseEnter: [{
1044
- type: Output
1045
- }], menuFocus: [{
1046
- type: Output
1047
- }], menuBlur: [{
1048
- type: Output
1049
- }], menuKeydown: [{
1050
- type: Output
1051
- }], menubarViewChild: [{
1052
- type: ViewChild,
1053
- args: ['menubar', { static: true }]
1054
- }] }); })();
1055
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenubarSub, { className: "MenubarSub", filePath: "menubar.ts", lineNumber: 211 }); })();
807
+ encapsulation: ViewEncapsulation.None
808
+ }]
809
+ }], propDecorators: { items: [{
810
+ type: Input
811
+ }], itemTemplate: [{
812
+ type: Input
813
+ }], root: [{
814
+ type: Input,
815
+ args: [{ transform: booleanAttribute }]
816
+ }], autoZIndex: [{
817
+ type: Input,
818
+ args: [{ transform: booleanAttribute }]
819
+ }], baseZIndex: [{
820
+ type: Input,
821
+ args: [{ transform: numberAttribute }]
822
+ }], mobileActive: [{
823
+ type: Input,
824
+ args: [{ transform: booleanAttribute }]
825
+ }], autoDisplay: [{
826
+ type: Input,
827
+ args: [{ transform: booleanAttribute }]
828
+ }], menuId: [{
829
+ type: Input
830
+ }], ariaLabel: [{
831
+ type: Input
832
+ }], ariaLabelledBy: [{
833
+ type: Input
834
+ }], level: [{
835
+ type: Input,
836
+ args: [{ transform: numberAttribute }]
837
+ }], focusedItemId: [{
838
+ type: Input
839
+ }], activeItemPath: [{
840
+ type: Input
841
+ }], inlineStyles: [{
842
+ type: Input
843
+ }], submenuiconTemplate: [{
844
+ type: Input
845
+ }], itemClick: [{
846
+ type: Output
847
+ }], itemMouseEnter: [{
848
+ type: Output
849
+ }], menuFocus: [{
850
+ type: Output
851
+ }], menuBlur: [{
852
+ type: Output
853
+ }], menuKeydown: [{
854
+ type: Output
855
+ }], menubarViewChild: [{
856
+ type: ViewChild,
857
+ args: ['menubar', { static: true }]
858
+ }] } });
1056
859
  /**
1057
860
  * Menubar is a horizontal menu component.
1058
861
  * @group Components
@@ -1700,61 +1503,68 @@ class Menubar extends BaseComponent {
1700
1503
  this.unbindMatchMediaListener();
1701
1504
  super.ngOnDestroy();
1702
1505
  }
1703
- static ɵfac = function Menubar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Menubar)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(MenubarService)); };
1704
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Menubar, selectors: [["p-menubar"]], contentQueries: function Menubar_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1705
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1706
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1707
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1708
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
1709
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
1710
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1711
- } if (rf & 2) {
1712
- let _t;
1713
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startTemplate = _t.first);
1714
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.endTemplate = _t.first);
1715
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
1716
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuIconTemplate = _t.first);
1717
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.submenuIconTemplate = _t.first);
1718
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1719
- } }, viewQuery: function Menubar_Query(rf, ctx) { if (rf & 1) {
1720
- i0.ɵɵviewQuery(_c11, 5);
1721
- i0.ɵɵviewQuery(_c12, 5);
1722
- } if (rf & 2) {
1723
- let _t;
1724
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menubutton = _t.first);
1725
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rootmenu = _t.first);
1726
- } }, inputs: { model: "model", style: "style", styleClass: "styleClass", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], autoDisplay: [2, "autoDisplay", "autoDisplay", booleanAttribute], autoHide: [2, "autoHide", "autoHide", booleanAttribute], breakpoint: "breakpoint", autoHideDelay: [2, "autoHideDelay", "autoHideDelay", numberAttribute], id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy" }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, features: [i0.ɵɵProvidersFeature([MenubarService, MenuBarStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c13, decls: 8, vars: 26, consts: [["rootmenu", ""], ["legacy", ""], ["menubutton", ""], [3, "ngClass", "ngStyle"], ["class", "p-menubar-start", 4, "ngIf"], ["tabindex", "0", "role", "button", "class", "p-menubar-button", 3, "click", "keydown", 4, "ngIf"], [3, "itemClick", "menuFocus", "menuBlur", "menuKeydown", "itemMouseEnter", "items", "itemTemplate", "menuId", "root", "baseZIndex", "autoZIndex", "mobileActive", "autoDisplay", "ariaLabel", "ariaLabelledBy", "focusedItemId", "submenuiconTemplate", "activeItemPath"], ["class", "p-menubar-end", 4, "ngIf", "ngIfElse"], [1, "p-menubar-start"], [4, "ngTemplateOutlet"], ["tabindex", "0", "role", "button", 1, "p-menubar-button", 3, "click", "keydown"], [4, "ngIf"], [1, "p-menubar-end"]], template: function Menubar_Template(rf, ctx) { if (rf & 1) {
1727
- const _r1 = i0.ɵɵgetCurrentView();
1728
- i0.ɵɵprojectionDef();
1729
- i0.ɵɵelementStart(0, "div", 3);
1730
- i0.ɵɵtemplate(1, Menubar_div_1_Template, 2, 1, "div", 4)(2, Menubar_a_2_Template, 4, 7, "a", 5);
1731
- i0.ɵɵelementStart(3, "p-menubarSub", 6, 0);
1732
- i0.ɵɵlistener("itemClick", function Menubar_Template_p_menubarSub_itemClick_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemClick($event)); })("menuFocus", function Menubar_Template_p_menubarSub_menuFocus_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMenuFocus($event)); })("menuBlur", function Menubar_Template_p_menubarSub_menuBlur_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMenuBlur($event)); })("menuKeydown", function Menubar_Template_p_menubarSub_menuKeydown_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); })("itemMouseEnter", function Menubar_Template_p_menubarSub_itemMouseEnter_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemMouseEnter($event)); });
1733
- i0.ɵɵelementEnd();
1734
- i0.ɵɵtemplate(5, Menubar_div_5_Template, 2, 1, "div", 7)(6, Menubar_ng_template_6_Template, 2, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
1735
- i0.ɵɵelementEnd();
1736
- } if (rf & 2) {
1737
- const legacy_r4 = i0.ɵɵreference(7);
1738
- i0.ɵɵclassMap(ctx.styleClass);
1739
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(23, _c14, ctx.queryMatches, ctx.mobileActive))("ngStyle", ctx.style);
1740
- i0.ɵɵattribute("data-pc-section", "root")("data-pc-name", "menubar");
1741
- i0.ɵɵadvance();
1742
- i0.ɵɵproperty("ngIf", ctx.startTemplate || ctx._startTemplate);
1743
- i0.ɵɵadvance();
1744
- i0.ɵɵproperty("ngIf", ctx.model && ctx.model.length > 0);
1745
- i0.ɵɵadvance();
1746
- i0.ɵɵproperty("items", ctx.processedItems)("itemTemplate", ctx.itemTemplate)("menuId", ctx.id)("root", true)("baseZIndex", ctx.baseZIndex)("autoZIndex", ctx.autoZIndex)("mobileActive", ctx.mobileActive)("autoDisplay", ctx.autoDisplay)("ariaLabel", ctx.ariaLabel)("ariaLabelledBy", ctx.ariaLabelledBy)("focusedItemId", ctx.focused ? ctx.focusedItemId : undefined)("submenuiconTemplate", ctx.submenuIconTemplate || ctx._submenuIconTemplate)("activeItemPath", ctx.activeItemPath());
1747
- i0.ɵɵadvance(2);
1748
- i0.ɵɵproperty("ngIf", ctx.endTemplate || ctx._endTemplate)("ngIfElse", legacy_r4);
1749
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, RouterModule, MenubarSub, TooltipModule, BarsIcon, BadgeModule, SharedModule], encapsulation: 2, changeDetection: 0 });
1506
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Menubar, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: MenubarService }], target: i0.ɵɵFactoryTarget.Component });
1507
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: Menubar, isStandalone: true, selector: "p-menubar", inputs: { model: "model", style: "style", styleClass: "styleClass", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], autoDisplay: ["autoDisplay", "autoDisplay", booleanAttribute], autoHide: ["autoHide", "autoHide", booleanAttribute], breakpoint: "breakpoint", autoHideDelay: ["autoHideDelay", "autoHideDelay", numberAttribute], id: "id", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy" }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, providers: [MenubarService, MenuBarStyle], queries: [{ propertyName: "startTemplate", first: true, predicate: ["start"] }, { propertyName: "endTemplate", first: true, predicate: ["end"] }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "menuIconTemplate", first: true, predicate: ["menuicon"] }, { propertyName: "submenuIconTemplate", first: true, predicate: ["submenuicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "menubutton", first: true, predicate: ["menubutton"], descendants: true }, { propertyName: "rootmenu", first: true, predicate: ["rootmenu"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1508
+ <div [ngClass]="{ 'p-menubar p-component': true, 'p-menubar-mobile': queryMatches, 'p-menubar-mobile-active': mobileActive }" [class]="styleClass" [ngStyle]="style" [attr.data-pc-section]="'root'" [attr.data-pc-name]="'menubar'">
1509
+ <div class="p-menubar-start" *ngIf="startTemplate || _startTemplate">
1510
+ <ng-container *ngTemplateOutlet="startTemplate || _startTemplate"></ng-container>
1511
+ </div>
1512
+ <a
1513
+ #menubutton
1514
+ tabindex="0"
1515
+ role="button"
1516
+ [attr.aria-haspopup]="model.length && model.length > 0 ? true : false"
1517
+ [attr.aria-expanded]="mobileActive"
1518
+ [attr.aria-controls]="id"
1519
+ [attr.aria-label]="config.translation.aria.navigation"
1520
+ [attr.data-pc-section]="'button'"
1521
+ *ngIf="model && model.length > 0"
1522
+ class="p-menubar-button"
1523
+ (click)="menuButtonClick($event)"
1524
+ (keydown)="menuButtonKeydown($event)"
1525
+ >
1526
+ <BarsIcon *ngIf="!menuIconTemplate && !_menuIconTemplate" />
1527
+ <ng-template *ngTemplateOutlet="menuIconTemplate || _menuIconTemplate"></ng-template>
1528
+ </a>
1529
+ <p-menubarSub
1530
+ #rootmenu
1531
+ [items]="processedItems"
1532
+ [itemTemplate]="itemTemplate"
1533
+ [menuId]="id"
1534
+ [root]="true"
1535
+ [baseZIndex]="baseZIndex"
1536
+ [autoZIndex]="autoZIndex"
1537
+ [mobileActive]="mobileActive"
1538
+ [autoDisplay]="autoDisplay"
1539
+ [ariaLabel]="ariaLabel"
1540
+ [ariaLabelledBy]="ariaLabelledBy"
1541
+ [focusedItemId]="focused ? focusedItemId : undefined"
1542
+ [submenuiconTemplate]="submenuIconTemplate || _submenuIconTemplate"
1543
+ [activeItemPath]="activeItemPath()"
1544
+ (itemClick)="onItemClick($event)"
1545
+ (menuFocus)="onMenuFocus($event)"
1546
+ (menuBlur)="onMenuBlur($event)"
1547
+ (menuKeydown)="onKeyDown($event)"
1548
+ (itemMouseEnter)="onItemMouseEnter($event)"
1549
+ ></p-menubarSub>
1550
+ <div class="p-menubar-end" *ngIf="endTemplate || _endTemplate; else legacy">
1551
+ <ng-container *ngTemplateOutlet="endTemplate || _endTemplate"></ng-container>
1552
+ </div>
1553
+ <ng-template #legacy>
1554
+ <div class="p-menubar-end">
1555
+ <ng-content></ng-content>
1556
+ </div>
1557
+ </ng-template>
1558
+ </div>
1559
+ `, 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: MenubarSub, selector: "p-menubarSub, p-menubarsub", inputs: ["items", "itemTemplate", "root", "autoZIndex", "baseZIndex", "mobileActive", "autoDisplay", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "inlineStyles", "submenuiconTemplate"], 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 });
1750
1560
  }
1751
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Menubar, [{
1752
- type: Component,
1753
- args: [{
1754
- selector: 'p-menubar',
1755
- standalone: true,
1756
- imports: [CommonModule, RouterModule, MenubarSub, TooltipModule, BarsIcon, BadgeModule, SharedModule],
1757
- template: `
1561
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Menubar, decorators: [{
1562
+ type: Component,
1563
+ args: [{
1564
+ selector: 'p-menubar',
1565
+ standalone: true,
1566
+ imports: [CommonModule, RouterModule, MenubarSub, TooltipModule, BarsIcon, BadgeModule, SharedModule],
1567
+ template: `
1758
1568
  <div [ngClass]="{ 'p-menubar p-component': true, 'p-menubar-mobile': queryMatches, 'p-menubar-mobile-active': mobileActive }" [class]="styleClass" [ngStyle]="style" [attr.data-pc-section]="'root'" [attr.data-pc-name]="'menubar'">
1759
1569
  <div class="p-menubar-start" *ngIf="startTemplate || _startTemplate">
1760
1570
  <ng-container *ngTemplateOutlet="startTemplate || _startTemplate"></ng-container>
@@ -1807,88 +1617,86 @@ class Menubar extends BaseComponent {
1807
1617
  </ng-template>
1808
1618
  </div>
1809
1619
  `,
1810
- changeDetection: ChangeDetectionStrategy.OnPush,
1811
- encapsulation: ViewEncapsulation.None,
1812
- providers: [MenubarService, MenuBarStyle]
1813
- }]
1814
- }], () => [{ type: Document, decorators: [{
1815
- type: Inject,
1816
- args: [DOCUMENT]
1817
- }] }, { type: undefined, decorators: [{
1818
- type: Inject,
1819
- args: [PLATFORM_ID]
1820
- }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenubarService }], { model: [{
1821
- type: Input
1822
- }], style: [{
1823
- type: Input
1824
- }], styleClass: [{
1825
- type: Input
1826
- }], autoZIndex: [{
1827
- type: Input,
1828
- args: [{ transform: booleanAttribute }]
1829
- }], baseZIndex: [{
1830
- type: Input,
1831
- args: [{ transform: numberAttribute }]
1832
- }], autoDisplay: [{
1833
- type: Input,
1834
- args: [{ transform: booleanAttribute }]
1835
- }], autoHide: [{
1836
- type: Input,
1837
- args: [{ transform: booleanAttribute }]
1838
- }], breakpoint: [{
1839
- type: Input
1840
- }], autoHideDelay: [{
1841
- type: Input,
1842
- args: [{ transform: numberAttribute }]
1843
- }], id: [{
1844
- type: Input
1845
- }], ariaLabel: [{
1846
- type: Input
1847
- }], ariaLabelledBy: [{
1848
- type: Input
1849
- }], onFocus: [{
1850
- type: Output
1851
- }], onBlur: [{
1852
- type: Output
1853
- }], menubutton: [{
1854
- type: ViewChild,
1855
- args: ['menubutton']
1856
- }], rootmenu: [{
1857
- type: ViewChild,
1858
- args: ['rootmenu']
1859
- }], startTemplate: [{
1860
- type: ContentChild,
1861
- args: ['start', { descendants: false }]
1862
- }], endTemplate: [{
1863
- type: ContentChild,
1864
- args: ['end', { descendants: false }]
1865
- }], itemTemplate: [{
1866
- type: ContentChild,
1867
- args: ['item', { descendants: false }]
1868
- }], menuIconTemplate: [{
1869
- type: ContentChild,
1870
- args: ['menuicon', { descendants: false }]
1871
- }], submenuIconTemplate: [{
1872
- type: ContentChild,
1873
- args: ['submenuicon', { descendants: false }]
1874
- }], templates: [{
1875
- type: ContentChildren,
1876
- args: [PrimeTemplate]
1877
- }] }); })();
1878
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Menubar, { className: "Menubar", filePath: "menubar.ts", lineNumber: 419 }); })();
1620
+ changeDetection: ChangeDetectionStrategy.OnPush,
1621
+ encapsulation: ViewEncapsulation.None,
1622
+ providers: [MenubarService, MenuBarStyle]
1623
+ }]
1624
+ }], ctorParameters: () => [{ type: Document, decorators: [{
1625
+ type: Inject,
1626
+ args: [DOCUMENT]
1627
+ }] }, { type: undefined, decorators: [{
1628
+ type: Inject,
1629
+ args: [PLATFORM_ID]
1630
+ }] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: MenubarService }], propDecorators: { model: [{
1631
+ type: Input
1632
+ }], style: [{
1633
+ type: Input
1634
+ }], styleClass: [{
1635
+ type: Input
1636
+ }], autoZIndex: [{
1637
+ type: Input,
1638
+ args: [{ transform: booleanAttribute }]
1639
+ }], baseZIndex: [{
1640
+ type: Input,
1641
+ args: [{ transform: numberAttribute }]
1642
+ }], autoDisplay: [{
1643
+ type: Input,
1644
+ args: [{ transform: booleanAttribute }]
1645
+ }], autoHide: [{
1646
+ type: Input,
1647
+ args: [{ transform: booleanAttribute }]
1648
+ }], breakpoint: [{
1649
+ type: Input
1650
+ }], autoHideDelay: [{
1651
+ type: Input,
1652
+ args: [{ transform: numberAttribute }]
1653
+ }], id: [{
1654
+ type: Input
1655
+ }], ariaLabel: [{
1656
+ type: Input
1657
+ }], ariaLabelledBy: [{
1658
+ type: Input
1659
+ }], onFocus: [{
1660
+ type: Output
1661
+ }], onBlur: [{
1662
+ type: Output
1663
+ }], menubutton: [{
1664
+ type: ViewChild,
1665
+ args: ['menubutton']
1666
+ }], rootmenu: [{
1667
+ type: ViewChild,
1668
+ args: ['rootmenu']
1669
+ }], startTemplate: [{
1670
+ type: ContentChild,
1671
+ args: ['start', { descendants: false }]
1672
+ }], endTemplate: [{
1673
+ type: ContentChild,
1674
+ args: ['end', { descendants: false }]
1675
+ }], itemTemplate: [{
1676
+ type: ContentChild,
1677
+ args: ['item', { descendants: false }]
1678
+ }], menuIconTemplate: [{
1679
+ type: ContentChild,
1680
+ args: ['menuicon', { descendants: false }]
1681
+ }], submenuIconTemplate: [{
1682
+ type: ContentChild,
1683
+ args: ['submenuicon', { descendants: false }]
1684
+ }], templates: [{
1685
+ type: ContentChildren,
1686
+ args: [PrimeTemplate]
1687
+ }] } });
1879
1688
  class MenubarModule {
1880
- static ɵfac = function MenubarModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenubarModule)(); };
1881
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MenubarModule });
1882
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Menubar, SharedModule, SharedModule] });
1689
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1690
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MenubarModule, imports: [Menubar, SharedModule], exports: [Menubar, SharedModule] });
1691
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarModule, imports: [Menubar, SharedModule, SharedModule] });
1883
1692
  }
1884
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenubarModule, [{
1885
- type: NgModule,
1886
- args: [{
1887
- imports: [Menubar, SharedModule],
1888
- exports: [Menubar, SharedModule]
1889
- }]
1890
- }], null, null); })();
1891
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MenubarModule, { imports: [Menubar, SharedModule], exports: [Menubar, SharedModule] }); })();
1693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenubarModule, decorators: [{
1694
+ type: NgModule,
1695
+ args: [{
1696
+ imports: [Menubar, SharedModule],
1697
+ exports: [Menubar, SharedModule]
1698
+ }]
1699
+ }] });
1892
1700
 
1893
1701
  /**
1894
1702
  * Generated bundle index. Do not edit.