primeng 19.0.6 → 19.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/accordion/accordion.d.ts +1 -1
  2. package/basecomponent/basecomponent.d.ts +1 -0
  3. package/confirmdialog/confirmdialog.d.ts +2 -1
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/dragdrop/dragdrop.d.ts +3 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  7. package/fesm2022/primeng-accordion.mjs +358 -561
  8. package/fesm2022/primeng-accordion.mjs.map +1 -1
  9. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  10. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  11. package/fesm2022/primeng-api.mjs +79 -89
  12. package/fesm2022/primeng-api.mjs.map +1 -1
  13. package/fesm2022/primeng-autocomplete.mjs +505 -786
  14. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  15. package/fesm2022/primeng-autofocus.mjs +26 -27
  16. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  17. package/fesm2022/primeng-avatar.mjs +70 -120
  18. package/fesm2022/primeng-avatar.mjs.map +1 -1
  19. package/fesm2022/primeng-avatargroup.mjs +44 -54
  20. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  21. package/fesm2022/primeng-badge.mjs +62 -71
  22. package/fesm2022/primeng-badge.mjs.map +1 -1
  23. package/fesm2022/primeng-base.mjs +6 -6
  24. package/fesm2022/primeng-base.mjs.map +1 -1
  25. package/fesm2022/primeng-basecomponent.mjs +19 -16
  26. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  27. package/fesm2022/primeng-blockui.mjs +66 -87
  28. package/fesm2022/primeng-blockui.mjs.map +1 -1
  29. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  30. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  31. package/fesm2022/primeng-button.mjs +223 -328
  32. package/fesm2022/primeng-button.mjs.map +1 -1
  33. package/fesm2022/primeng-buttongroup.mjs +36 -40
  34. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  35. package/fesm2022/primeng-calendar.mjs +727 -1127
  36. package/fesm2022/primeng-calendar.mjs.map +1 -1
  37. package/fesm2022/primeng-card.mjs +88 -192
  38. package/fesm2022/primeng-card.mjs.map +1 -1
  39. package/fesm2022/primeng-carousel.mjs +218 -405
  40. package/fesm2022/primeng-carousel.mjs.map +1 -1
  41. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  42. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/primeng-chart.mjs +57 -63
  44. package/fesm2022/primeng-chart.mjs.map +1 -1
  45. package/fesm2022/primeng-checkbox.mjs +131 -183
  46. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  47. package/fesm2022/primeng-chip.mjs +92 -188
  48. package/fesm2022/primeng-chip.mjs.map +1 -1
  49. package/fesm2022/primeng-colorpicker.mjs +142 -167
  50. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  51. package/fesm2022/primeng-config.mjs +12 -12
  52. package/fesm2022/primeng-config.mjs.map +1 -1
  53. package/fesm2022/primeng-confirmdialog.mjs +232 -350
  54. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  55. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  56. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  57. package/fesm2022/primeng-contextmenu.mjs +336 -450
  58. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  59. package/fesm2022/primeng-dataview.mjs +249 -352
  60. package/fesm2022/primeng-dataview.mjs.map +1 -1
  61. package/fesm2022/primeng-datepicker.mjs +740 -1136
  62. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  63. package/fesm2022/primeng-defer.mjs +25 -31
  64. package/fesm2022/primeng-defer.mjs.map +1 -1
  65. package/fesm2022/primeng-dialog.mjs +277 -478
  66. package/fesm2022/primeng-dialog.mjs.map +1 -1
  67. package/fesm2022/primeng-divider.mjs +68 -77
  68. package/fesm2022/primeng-divider.mjs.map +1 -1
  69. package/fesm2022/primeng-dock.mjs +138 -167
  70. package/fesm2022/primeng-dock.mjs.map +1 -1
  71. package/fesm2022/primeng-dragdrop.mjs +85 -79
  72. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  73. package/fesm2022/primeng-drawer.mjs +171 -268
  74. package/fesm2022/primeng-drawer.mjs.map +1 -1
  75. package/fesm2022/primeng-dropdown.mjs +529 -867
  76. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  77. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  78. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  79. package/fesm2022/primeng-editor.mjs +118 -156
  80. package/fesm2022/primeng-editor.mjs.map +1 -1
  81. package/fesm2022/primeng-fieldset.mjs +153 -247
  82. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  83. package/fesm2022/primeng-fileupload.mjs +370 -687
  84. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  85. package/fesm2022/primeng-floatlabel.mjs +38 -46
  86. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  87. package/fesm2022/primeng-fluid.mjs +33 -41
  88. package/fesm2022/primeng-fluid.mjs.map +1 -1
  89. package/fesm2022/primeng-focustrap.mjs +23 -24
  90. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  91. package/fesm2022/primeng-galleria.mjs +529 -761
  92. package/fesm2022/primeng-galleria.mjs.map +1 -1
  93. package/fesm2022/primeng-iconfield.mjs +42 -51
  94. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  95. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  96. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  97. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  98. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  99. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  100. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  101. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  102. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  103. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  104. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  105. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  106. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  107. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  108. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  109. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  110. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  111. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  112. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  113. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  114. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  116. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  117. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  118. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  119. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  120. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  121. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  122. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  123. package/fesm2022/primeng-icons-ban.mjs +24 -26
  124. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  125. package/fesm2022/primeng-icons-bars.mjs +19 -19
  126. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  127. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  128. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  129. package/fesm2022/primeng-icons-blank.mjs +14 -16
  130. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  131. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  132. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  133. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  134. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  135. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  136. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  137. package/fesm2022/primeng-icons-check.mjs +17 -19
  138. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  139. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  140. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  141. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  142. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  143. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  144. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  145. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  146. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  147. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  148. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  149. package/fesm2022/primeng-icons-eye.mjs +19 -19
  150. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  151. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  152. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  153. package/fesm2022/primeng-icons-filter.mjs +24 -26
  154. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  155. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  156. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  157. package/fesm2022/primeng-icons-home.mjs +26 -26
  158. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  159. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  160. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  161. package/fesm2022/primeng-icons-minus.mjs +17 -19
  162. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  163. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  164. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  165. package/fesm2022/primeng-icons-plus.mjs +24 -26
  166. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  167. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  168. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  169. package/fesm2022/primeng-icons-search.mjs +26 -26
  170. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  171. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  172. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  173. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  174. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  175. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  176. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  177. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  178. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  179. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  180. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  181. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  182. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  183. package/fesm2022/primeng-icons-star.mjs +24 -26
  184. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  185. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  186. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  187. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  188. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  189. package/fesm2022/primeng-icons-times.mjs +17 -19
  190. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  191. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  192. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  193. package/fesm2022/primeng-icons-trash.mjs +26 -26
  194. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  195. package/fesm2022/primeng-icons-undo.mjs +26 -26
  196. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  197. package/fesm2022/primeng-icons-upload.mjs +26 -26
  198. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  199. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  200. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  201. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  202. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  203. package/fesm2022/primeng-iftalabel.mjs +34 -40
  204. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  205. package/fesm2022/primeng-image.mjs +189 -370
  206. package/fesm2022/primeng-image.mjs.map +1 -1
  207. package/fesm2022/primeng-imagecompare.mjs +57 -86
  208. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  209. package/fesm2022/primeng-inplace.mjs +108 -206
  210. package/fesm2022/primeng-inplace.mjs.map +1 -1
  211. package/fesm2022/primeng-inputgroup.mjs +40 -50
  212. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  213. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  214. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  215. package/fesm2022/primeng-inputicon.mjs +39 -48
  216. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  217. package/fesm2022/primeng-inputmask.mjs +156 -181
  218. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  219. package/fesm2022/primeng-inputnumber.mjs +299 -416
  220. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  221. package/fesm2022/primeng-inputotp.mjs +97 -121
  222. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  223. package/fesm2022/primeng-inputswitch.mjs +87 -92
  224. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  225. package/fesm2022/primeng-inputtext.mjs +51 -57
  226. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  227. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  228. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  229. package/fesm2022/primeng-keyfilter.mjs +44 -47
  230. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  231. package/fesm2022/primeng-knob.mjs +105 -111
  232. package/fesm2022/primeng-knob.mjs.map +1 -1
  233. package/fesm2022/primeng-listbox.mjs +473 -790
  234. package/fesm2022/primeng-listbox.mjs.map +1 -1
  235. package/fesm2022/primeng-megamenu.mjs +377 -611
  236. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  237. package/fesm2022/primeng-menu.mjs +289 -460
  238. package/fesm2022/primeng-menu.mjs.map +1 -1
  239. package/fesm2022/primeng-menubar.mjs +357 -549
  240. package/fesm2022/primeng-menubar.mjs.map +1 -1
  241. package/fesm2022/primeng-message.mjs +158 -244
  242. package/fesm2022/primeng-message.mjs.map +1 -1
  243. package/fesm2022/primeng-messages.mjs +163 -279
  244. package/fesm2022/primeng-messages.mjs.map +1 -1
  245. package/fesm2022/primeng-metergroup.mjs +135 -264
  246. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  247. package/fesm2022/primeng-multiselect.mjs +687 -1162
  248. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  249. package/fesm2022/primeng-orderlist.mjs +228 -330
  250. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  251. package/fesm2022/primeng-organizationchart.mjs +161 -311
  252. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  253. package/fesm2022/primeng-overlay.mjs +135 -147
  254. package/fesm2022/primeng-overlay.mjs.map +1 -1
  255. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  256. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  257. package/fesm2022/primeng-overlaypanel.mjs +138 -156
  258. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  259. package/fesm2022/primeng-paginator.mjs +212 -447
  260. package/fesm2022/primeng-paginator.mjs.map +1 -1
  261. package/fesm2022/primeng-panel.mjs +219 -317
  262. package/fesm2022/primeng-panel.mjs.map +1 -1
  263. package/fesm2022/primeng-panelmenu.mjs +439 -783
  264. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  265. package/fesm2022/primeng-password.mjs +268 -408
  266. package/fesm2022/primeng-password.mjs.map +1 -1
  267. package/fesm2022/primeng-picklist.mjs +560 -856
  268. package/fesm2022/primeng-picklist.mjs.map +1 -1
  269. package/fesm2022/primeng-popover.mjs +133 -150
  270. package/fesm2022/primeng-popover.mjs.map +1 -1
  271. package/fesm2022/primeng-progressbar.mjs +83 -121
  272. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  273. package/fesm2022/primeng-progressspinner.mjs +48 -58
  274. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  275. package/fesm2022/primeng-radiobutton.mjs +115 -106
  276. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  277. package/fesm2022/primeng-rating.mjs +120 -208
  278. package/fesm2022/primeng-rating.mjs.map +1 -1
  279. package/fesm2022/primeng-ripple.mjs +28 -29
  280. package/fesm2022/primeng-ripple.mjs.map +1 -1
  281. package/fesm2022/primeng-scroller.mjs +167 -295
  282. package/fesm2022/primeng-scroller.mjs.map +1 -1
  283. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  284. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  285. package/fesm2022/primeng-scrolltop.mjs +106 -150
  286. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  287. package/fesm2022/primeng-select.mjs +580 -955
  288. package/fesm2022/primeng-select.mjs.map +1 -1
  289. package/fesm2022/primeng-selectbutton.mjs +106 -133
  290. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  291. package/fesm2022/primeng-sidebar.mjs +151 -239
  292. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  293. package/fesm2022/primeng-skeleton.mjs +46 -54
  294. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  295. package/fesm2022/primeng-slider.mjs +186 -182
  296. package/fesm2022/primeng-slider.mjs.map +1 -1
  297. package/fesm2022/primeng-speeddial.mjs +192 -254
  298. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  299. package/fesm2022/primeng-splitbutton.mjs +211 -231
  300. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  301. package/fesm2022/primeng-splitter.mjs +126 -159
  302. package/fesm2022/primeng-splitter.mjs.map +1 -1
  303. package/fesm2022/primeng-stepper.mjs +227 -342
  304. package/fesm2022/primeng-stepper.mjs.map +1 -1
  305. package/fesm2022/primeng-steps.mjs +117 -170
  306. package/fesm2022/primeng-steps.mjs.map +1 -1
  307. package/fesm2022/primeng-styleclass.mjs +50 -53
  308. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  309. package/fesm2022/primeng-table.mjs +1808 -2584
  310. package/fesm2022/primeng-table.mjs.map +1 -1
  311. package/fesm2022/primeng-tabmenu.mjs +173 -319
  312. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  313. package/fesm2022/primeng-tabs.mjs +185 -300
  314. package/fesm2022/primeng-tabs.mjs.map +1 -1
  315. package/fesm2022/primeng-tabview.mjs +263 -435
  316. package/fesm2022/primeng-tabview.mjs.map +1 -1
  317. package/fesm2022/primeng-tag.mjs +63 -110
  318. package/fesm2022/primeng-tag.mjs.map +1 -1
  319. package/fesm2022/primeng-terminal.mjs +60 -104
  320. package/fesm2022/primeng-terminal.mjs.map +1 -1
  321. package/fesm2022/primeng-textarea.mjs +56 -61
  322. package/fesm2022/primeng-textarea.mjs.map +1 -1
  323. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  324. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  325. package/fesm2022/primeng-timeline.mjs +90 -156
  326. package/fesm2022/primeng-timeline.mjs.map +1 -1
  327. package/fesm2022/primeng-toast.mjs +251 -358
  328. package/fesm2022/primeng-toast.mjs.map +1 -1
  329. package/fesm2022/primeng-togglebutton.mjs +113 -150
  330. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  331. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  332. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  333. package/fesm2022/primeng-toolbar.mjs +62 -121
  334. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  335. package/fesm2022/primeng-tooltip.mjs +73 -74
  336. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  337. package/fesm2022/primeng-tree.mjs +441 -730
  338. package/fesm2022/primeng-tree.mjs.map +1 -1
  339. package/fesm2022/primeng-treeselect.mjs +342 -531
  340. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  341. package/fesm2022/primeng-treetable.mjs +1026 -1583
  342. package/fesm2022/primeng-treetable.mjs.map +1 -1
  343. package/fesm2022/primeng-usestyle.mjs +6 -6
  344. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  345. package/listbox/listbox.d.ts +2 -2
  346. package/multiselect/multiselect.d.ts +4 -2
  347. package/package.json +139 -140
  348. package/password/password.d.ts +7 -1
  349. package/picklist/picklist.d.ts +11 -1
@@ -2,7 +2,7 @@ import { trigger, transition, style, animate } from '@angular/animations';
2
2
  import * as i2 from '@angular/common';
3
3
  import { isPlatformBrowser, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, PLATFORM_ID, Pipe, Inject, EventEmitter, forwardRef, Component, ViewEncapsulation, Input, Output, computed, signal, inject, booleanAttribute, numberAttribute, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
5
+ import { Injectable, PLATFORM_ID, Inject, Pipe, EventEmitter, forwardRef, Output, Input, ViewEncapsulation, Component, computed, signal, inject, numberAttribute, booleanAttribute, ContentChildren, ContentChild, ViewChild, ChangeDetectionStrategy, NgModule } from '@angular/core';
6
6
  import * as i3 from '@angular/router';
7
7
  import { RouterModule } from '@angular/router';
8
8
  import { uuid, focus, relativePosition, absolutePosition, appendChild, isTouchDevice, find, findSingle } from '@primeuix/utils';
@@ -132,12 +132,12 @@ class MenuStyle extends BaseStyle {
132
132
  name = 'menu';
133
133
  theme = theme;
134
134
  classes = classes;
135
- static ɵfac = /*@__PURE__*/ (() => { let ɵMenuStyle_BaseFactory; return function MenuStyle_Factory(__ngFactoryType__) { return (ɵMenuStyle_BaseFactory || (ɵMenuStyle_BaseFactory = i0.ɵɵgetInheritedFactory(MenuStyle)))(__ngFactoryType__ || MenuStyle); }; })();
136
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MenuStyle, factory: MenuStyle.ɵfac });
135
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
136
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuStyle });
137
137
  }
138
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuStyle, [{
139
- type: Injectable
140
- }], null, null); })();
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuStyle, decorators: [{
139
+ type: Injectable
140
+ }] });
141
141
  /**
142
142
  *
143
143
  * Menu is a navigation / command component that supports dynamic and static positioning.
@@ -195,298 +195,6 @@ var MenuClasses;
195
195
  MenuClasses["itemLabel"] = "p-menu-item-label";
196
196
  })(MenuClasses || (MenuClasses = {}));
197
197
 
198
- const _c0 = ["pMenuItemContent", ""];
199
- const _c1 = a0 => ({ "p-disabled": a0 });
200
- const _c2 = a0 => ({ $implicit: a0 });
201
- const _c3 = () => ({ exact: false });
202
- function MenuItemContent_ng_container_1_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
203
- i0.ɵɵelementContainer(0);
204
- } }
205
- function MenuItemContent_ng_container_1_a_1_Template(rf, ctx) { if (rf & 1) {
206
- i0.ɵɵelementStart(0, "a", 6);
207
- i0.ɵɵtemplate(1, MenuItemContent_ng_container_1_a_1_ng_container_1_Template, 1, 0, "ng-container", 7);
208
- i0.ɵɵelementEnd();
209
- } if (rf & 2) {
210
- const ctx_r1 = i0.ɵɵnextContext(2);
211
- const itemContent_r3 = i0.ɵɵreference(4);
212
- i0.ɵɵproperty("target", ctx_r1.item.target)("ngClass", i0.ɵɵpureFunction1(9, _c1, ctx_r1.item.disabled));
213
- i0.ɵɵattribute("title", ctx_r1.item.title)("href", ctx_r1.item.url || null, i0.ɵɵsanitizeUrl)("data-automationid", ctx_r1.item.automationId)("tabindex", -1)("data-pc-section", "action");
214
- i0.ɵɵadvance();
215
- i0.ɵɵproperty("ngTemplateOutlet", itemContent_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(11, _c2, ctx_r1.item));
216
- } }
217
- function MenuItemContent_ng_container_1_a_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
218
- i0.ɵɵelementContainer(0);
219
- } }
220
- function MenuItemContent_ng_container_1_a_2_Template(rf, ctx) { if (rf & 1) {
221
- i0.ɵɵelementStart(0, "a", 8);
222
- i0.ɵɵtemplate(1, MenuItemContent_ng_container_1_a_2_ng_container_1_Template, 1, 0, "ng-container", 7);
223
- i0.ɵɵelementEnd();
224
- } if (rf & 2) {
225
- const ctx_r1 = i0.ɵɵnextContext(2);
226
- const itemContent_r3 = i0.ɵɵreference(4);
227
- i0.ɵɵproperty("routerLink", ctx_r1.item.routerLink)("queryParams", ctx_r1.item.queryParams)("routerLinkActiveOptions", ctx_r1.item.routerLinkActiveOptions || i0.ɵɵpureFunction0(17, _c3))("target", ctx_r1.item.target)("ngClass", i0.ɵɵpureFunction1(18, _c1, ctx_r1.item.disabled))("fragment", ctx_r1.item.fragment)("queryParamsHandling", ctx_r1.item.queryParamsHandling)("preserveFragment", ctx_r1.item.preserveFragment)("skipLocationChange", ctx_r1.item.skipLocationChange)("replaceUrl", ctx_r1.item.replaceUrl)("state", ctx_r1.item.state);
228
- i0.ɵɵattribute("data-automationid", ctx_r1.item.automationId)("tabindex", -1)("data-pc-section", "action")("title", ctx_r1.item.title);
229
- i0.ɵɵadvance();
230
- i0.ɵɵproperty("ngTemplateOutlet", itemContent_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(20, _c2, ctx_r1.item));
231
- } }
232
- function MenuItemContent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
233
- i0.ɵɵelementContainerStart(0);
234
- i0.ɵɵtemplate(1, MenuItemContent_ng_container_1_a_1_Template, 2, 13, "a", 4)(2, MenuItemContent_ng_container_1_a_2_Template, 2, 22, "a", 5);
235
- i0.ɵɵelementContainerEnd();
236
- } if (rf & 2) {
237
- const ctx_r1 = i0.ɵɵnextContext();
238
- i0.ɵɵadvance();
239
- i0.ɵɵproperty("ngIf", !(ctx_r1.item == null ? null : ctx_r1.item.routerLink));
240
- i0.ɵɵadvance();
241
- i0.ɵɵproperty("ngIf", ctx_r1.item == null ? null : ctx_r1.item.routerLink);
242
- } }
243
- function MenuItemContent_ng_container_2_1_ng_template_0_Template(rf, ctx) { }
244
- function MenuItemContent_ng_container_2_1_Template(rf, ctx) { if (rf & 1) {
245
- i0.ɵɵtemplate(0, MenuItemContent_ng_container_2_1_ng_template_0_Template, 0, 0, "ng-template");
246
- } }
247
- function MenuItemContent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
248
- i0.ɵɵelementContainerStart(0);
249
- i0.ɵɵtemplate(1, MenuItemContent_ng_container_2_1_Template, 1, 0, null, 7);
250
- i0.ɵɵelementContainerEnd();
251
- } if (rf & 2) {
252
- const ctx_r1 = i0.ɵɵnextContext();
253
- i0.ɵɵadvance();
254
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r1.item));
255
- } }
256
- function MenuItemContent_ng_template_3_span_0_Template(rf, ctx) { if (rf & 1) {
257
- i0.ɵɵelement(0, "span", 12);
258
- } if (rf & 2) {
259
- const ctx_r1 = i0.ɵɵnextContext(2);
260
- i0.ɵɵclassMap(ctx_r1.item.iconClass);
261
- i0.ɵɵproperty("ngClass", ctx_r1.item.icon)("ngStyle", ctx_r1.item.iconStyle);
262
- } }
263
- function MenuItemContent_ng_template_3_span_1_Template(rf, ctx) { if (rf & 1) {
264
- i0.ɵɵelementStart(0, "span", 13);
265
- i0.ɵɵtext(1);
266
- i0.ɵɵelementEnd();
267
- } if (rf & 2) {
268
- const ctx_r1 = i0.ɵɵnextContext(2);
269
- i0.ɵɵadvance();
270
- i0.ɵɵtextInterpolate(ctx_r1.item.label);
271
- } }
272
- function MenuItemContent_ng_template_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
273
- i0.ɵɵelement(0, "span", 14);
274
- i0.ɵɵpipe(1, "safeHtml");
275
- } if (rf & 2) {
276
- const ctx_r1 = i0.ɵɵnextContext(2);
277
- i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(1, 1, ctx_r1.item.label), i0.ɵɵsanitizeHtml);
278
- } }
279
- function MenuItemContent_ng_template_3_p_badge_4_Template(rf, ctx) { if (rf & 1) {
280
- i0.ɵɵelement(0, "p-badge", 15);
281
- } if (rf & 2) {
282
- const ctx_r1 = i0.ɵɵnextContext(2);
283
- i0.ɵɵproperty("styleClass", ctx_r1.item.badgeStyleClass)("value", ctx_r1.item.badge);
284
- } }
285
- function MenuItemContent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
286
- i0.ɵɵtemplate(0, MenuItemContent_ng_template_3_span_0_Template, 1, 4, "span", 9)(1, MenuItemContent_ng_template_3_span_1_Template, 2, 1, "span", 10)(2, MenuItemContent_ng_template_3_ng_template_2_Template, 2, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(4, MenuItemContent_ng_template_3_p_badge_4_Template, 1, 2, "p-badge", 11);
287
- } if (rf & 2) {
288
- const htmlLabel_r4 = i0.ɵɵreference(3);
289
- const ctx_r1 = i0.ɵɵnextContext();
290
- i0.ɵɵproperty("ngIf", ctx_r1.item.icon);
291
- i0.ɵɵadvance();
292
- i0.ɵɵproperty("ngIf", ctx_r1.item.escape !== false)("ngIfElse", htmlLabel_r4);
293
- i0.ɵɵadvance(3);
294
- i0.ɵɵproperty("ngIf", ctx_r1.item.badge);
295
- } }
296
- const _c4 = ["start"];
297
- const _c5 = ["end"];
298
- const _c6 = ["header"];
299
- const _c7 = ["item"];
300
- const _c8 = ["submenuheader"];
301
- const _c9 = ["list"];
302
- const _c10 = ["container"];
303
- const _c11 = a0 => ({ "p-menu p-component": true, "p-menu-overlay": a0 });
304
- const _c12 = (a0, a1) => ({ showTransitionParams: a0, hideTransitionParams: a1 });
305
- const _c13 = a0 => ({ value: "visible", params: a0 });
306
- const _c14 = (a0, a1) => ({ "p-hidden": a0, flex: a1 });
307
- const _c15 = (a0, a1) => ({ "p-focus": a0, "p-disabled": a1 });
308
- function Menu_div_0_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
309
- i0.ɵɵelementContainer(0);
310
- } }
311
- function Menu_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
312
- i0.ɵɵelementStart(0, "div", 9);
313
- i0.ɵɵtemplate(1, Menu_div_0_div_2_ng_container_1_Template, 1, 0, "ng-container", 10);
314
- i0.ɵɵelementEnd();
315
- } if (rf & 2) {
316
- let tmp_5_0;
317
- const ctx_r1 = i0.ɵɵnextContext(2);
318
- i0.ɵɵattribute("data-pc-section", "start");
319
- i0.ɵɵadvance();
320
- i0.ɵɵproperty("ngTemplateOutlet", (tmp_5_0 = ctx_r1.startTemplate) !== null && tmp_5_0 !== undefined ? tmp_5_0 : ctx_r1._startTemplate);
321
- } }
322
- function Menu_div_0_5_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
323
- i0.ɵɵelement(0, "li", 14);
324
- } }
325
- function Menu_div_0_5_ng_template_0_li_1_ng_container_1_span_1_Template(rf, ctx) { if (rf & 1) {
326
- i0.ɵɵelementStart(0, "span");
327
- i0.ɵɵtext(1);
328
- i0.ɵɵelementEnd();
329
- } if (rf & 2) {
330
- const submenu_r3 = i0.ɵɵnextContext(3).$implicit;
331
- i0.ɵɵadvance();
332
- i0.ɵɵtextInterpolate(submenu_r3.label);
333
- } }
334
- function Menu_div_0_5_ng_template_0_li_1_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
335
- i0.ɵɵelement(0, "span", 18);
336
- i0.ɵɵpipe(1, "safeHtml");
337
- } if (rf & 2) {
338
- const submenu_r3 = i0.ɵɵnextContext(3).$implicit;
339
- i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(1, 1, submenu_r3.label), i0.ɵɵsanitizeHtml);
340
- } }
341
- function Menu_div_0_5_ng_template_0_li_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
342
- i0.ɵɵelementContainerStart(0);
343
- i0.ɵɵtemplate(1, Menu_div_0_5_ng_template_0_li_1_ng_container_1_span_1_Template, 2, 1, "span", 17)(2, Menu_div_0_5_ng_template_0_li_1_ng_container_1_ng_template_2_Template, 2, 3, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
344
- i0.ɵɵelementContainerEnd();
345
- } if (rf & 2) {
346
- const htmlSubmenuLabel_r4 = i0.ɵɵreference(3);
347
- const submenu_r3 = i0.ɵɵnextContext(2).$implicit;
348
- i0.ɵɵadvance();
349
- i0.ɵɵproperty("ngIf", submenu_r3.escape !== false)("ngIfElse", htmlSubmenuLabel_r4);
350
- } }
351
- function Menu_div_0_5_ng_template_0_li_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
352
- i0.ɵɵelementContainer(0);
353
- } }
354
- function Menu_div_0_5_ng_template_0_li_1_Template(rf, ctx) { if (rf & 1) {
355
- i0.ɵɵelementStart(0, "li", 15);
356
- i0.ɵɵtemplate(1, Menu_div_0_5_ng_template_0_li_1_ng_container_1_Template, 4, 2, "ng-container", 7)(2, Menu_div_0_5_ng_template_0_li_1_ng_container_2_Template, 1, 0, "ng-container", 16);
357
- i0.ɵɵelementEnd();
358
- } if (rf & 2) {
359
- let tmp_13_0;
360
- const ctx_r4 = i0.ɵɵnextContext();
361
- const submenu_r3 = ctx_r4.$implicit;
362
- const i_r6 = ctx_r4.index;
363
- const ctx_r1 = i0.ɵɵnextContext(3);
364
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c14, submenu_r3.visible === false, submenu_r3.visible))("tooltipOptions", submenu_r3.tooltipOptions);
365
- i0.ɵɵattribute("data-automationid", submenu_r3.automationId)("id", ctx_r1.menuitemId(submenu_r3, ctx_r1.id, i_r6));
366
- i0.ɵɵadvance();
367
- i0.ɵɵproperty("ngIf", !ctx_r1.submenuHeaderTemplate && !ctx_r1._submenuHeaderTemplate);
368
- i0.ɵɵadvance();
369
- i0.ɵɵproperty("ngTemplateOutlet", (tmp_13_0 = ctx_r1.submenuHeaderTemplate) !== null && tmp_13_0 !== undefined ? tmp_13_0 : ctx_r1._submenuHeaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c2, submenu_r3));
370
- } }
371
- function Menu_div_0_5_ng_template_0_ng_template_2_li_0_Template(rf, ctx) { if (rf & 1) {
372
- i0.ɵɵelement(0, "li", 14);
373
- } }
374
- function Menu_div_0_5_ng_template_0_ng_template_2_li_1_Template(rf, ctx) { if (rf & 1) {
375
- const _r7 = i0.ɵɵgetCurrentView();
376
- i0.ɵɵelementStart(0, "li", 20);
377
- i0.ɵɵlistener("onMenuItemClick", function Menu_div_0_5_ng_template_0_ng_template_2_li_1_Template_li_onMenuItemClick_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r7 = i0.ɵɵnextContext(); const item_r9 = ctx_r7.$implicit; const j_r10 = ctx_r7.index; const i_r6 = i0.ɵɵnextContext().index; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.itemClick($event, ctx_r1.menuitemId(item_r9, ctx_r1.id, i_r6, j_r10))); });
378
- i0.ɵɵelementEnd();
379
- } if (rf & 2) {
380
- let tmp_13_0;
381
- const ctx_r7 = i0.ɵɵnextContext();
382
- const item_r9 = ctx_r7.$implicit;
383
- const j_r10 = ctx_r7.index;
384
- const i_r6 = i0.ɵɵnextContext().index;
385
- const ctx_r1 = i0.ɵɵnextContext(3);
386
- i0.ɵɵclassMap(item_r9.styleClass);
387
- i0.ɵɵproperty("pMenuItemContent", item_r9)("itemTemplate", (tmp_13_0 = ctx_r1.itemTemplate) !== null && tmp_13_0 !== undefined ? tmp_13_0 : ctx_r1._itemTemplate)("ngClass", i0.ɵɵpureFunction2(13, _c15, ctx_r1.focusedOptionId() && ctx_r1.menuitemId(item_r9, ctx_r1.id, i_r6, j_r10) === ctx_r1.focusedOptionId(), ctx_r1.disabled(item_r9.disabled)))("ngStyle", item_r9.style)("tooltipOptions", item_r9.tooltipOptions);
388
- i0.ɵɵattribute("data-pc-section", "menuitem")("aria-label", ctx_r1.label(item_r9.label))("data-p-focused", ctx_r1.isItemFocused(ctx_r1.menuitemId(item_r9, ctx_r1.id, i_r6, j_r10)))("data-p-disabled", ctx_r1.disabled(item_r9.disabled))("aria-disabled", ctx_r1.disabled(item_r9.disabled))("id", ctx_r1.menuitemId(item_r9, ctx_r1.id, i_r6, j_r10));
389
- } }
390
- function Menu_div_0_5_ng_template_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
391
- i0.ɵɵtemplate(0, Menu_div_0_5_ng_template_0_ng_template_2_li_0_Template, 1, 0, "li", 12)(1, Menu_div_0_5_ng_template_0_ng_template_2_li_1_Template, 1, 16, "li", 19);
392
- } if (rf & 2) {
393
- const item_r9 = ctx.$implicit;
394
- const submenu_r3 = i0.ɵɵnextContext().$implicit;
395
- i0.ɵɵproperty("ngIf", item_r9.separator && (item_r9.visible !== false || submenu_r3.visible !== false));
396
- i0.ɵɵadvance();
397
- i0.ɵɵproperty("ngIf", !item_r9.separator && item_r9.visible !== false && (item_r9.visible !== undefined || submenu_r3.visible !== false));
398
- } }
399
- function Menu_div_0_5_ng_template_0_Template(rf, ctx) { if (rf & 1) {
400
- i0.ɵɵtemplate(0, Menu_div_0_5_ng_template_0_li_0_Template, 1, 0, "li", 12)(1, Menu_div_0_5_ng_template_0_li_1_Template, 3, 12, "li", 13)(2, Menu_div_0_5_ng_template_0_ng_template_2_Template, 2, 2, "ng-template", 11);
401
- } if (rf & 2) {
402
- const submenu_r3 = ctx.$implicit;
403
- i0.ɵɵproperty("ngIf", submenu_r3.separator && submenu_r3.visible !== false);
404
- i0.ɵɵadvance();
405
- i0.ɵɵproperty("ngIf", !submenu_r3.separator);
406
- i0.ɵɵadvance();
407
- i0.ɵɵproperty("ngForOf", submenu_r3.items);
408
- } }
409
- function Menu_div_0_5_Template(rf, ctx) { if (rf & 1) {
410
- i0.ɵɵtemplate(0, Menu_div_0_5_ng_template_0_Template, 3, 3, "ng-template", 11);
411
- } if (rf & 2) {
412
- const ctx_r1 = i0.ɵɵnextContext(2);
413
- i0.ɵɵproperty("ngForOf", ctx_r1.model);
414
- } }
415
- function Menu_div_0_6_ng_template_0_li_0_Template(rf, ctx) { if (rf & 1) {
416
- i0.ɵɵelement(0, "li", 14);
417
- } }
418
- function Menu_div_0_6_ng_template_0_li_1_Template(rf, ctx) { if (rf & 1) {
419
- const _r11 = i0.ɵɵgetCurrentView();
420
- i0.ɵɵelementStart(0, "li", 20);
421
- i0.ɵɵlistener("onMenuItemClick", function Menu_div_0_6_ng_template_0_li_1_Template_li_onMenuItemClick_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r11 = i0.ɵɵnextContext(); const item_r13 = ctx_r11.$implicit; const i_r14 = ctx_r11.index; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.itemClick($event, ctx_r1.menuitemId(item_r13, ctx_r1.id, i_r14))); });
422
- i0.ɵɵelementEnd();
423
- } if (rf & 2) {
424
- let tmp_10_0;
425
- const ctx_r11 = i0.ɵɵnextContext();
426
- const item_r13 = ctx_r11.$implicit;
427
- const i_r14 = ctx_r11.index;
428
- const ctx_r1 = i0.ɵɵnextContext(3);
429
- i0.ɵɵclassMap(item_r13.styleClass);
430
- i0.ɵɵproperty("pMenuItemContent", item_r13)("itemTemplate", (tmp_10_0 = ctx_r1.itemTemplate) !== null && tmp_10_0 !== undefined ? tmp_10_0 : ctx_r1._itemTemplate)("ngClass", i0.ɵɵpureFunction2(13, _c15, ctx_r1.focusedOptionId() && ctx_r1.menuitemId(item_r13, ctx_r1.id, i_r14) === ctx_r1.focusedOptionId(), ctx_r1.disabled(item_r13.disabled)))("ngStyle", item_r13.style)("tooltipOptions", item_r13.tooltipOptions);
431
- i0.ɵɵattribute("data-pc-section", "menuitem")("aria-label", ctx_r1.label(item_r13.label))("data-p-focused", ctx_r1.isItemFocused(ctx_r1.menuitemId(item_r13, ctx_r1.id, i_r14)))("data-p-disabled", ctx_r1.disabled(item_r13.disabled))("aria-disabled", ctx_r1.disabled(item_r13.disabled))("id", ctx_r1.menuitemId(item_r13, ctx_r1.id, i_r14));
432
- } }
433
- function Menu_div_0_6_ng_template_0_Template(rf, ctx) { if (rf & 1) {
434
- i0.ɵɵtemplate(0, Menu_div_0_6_ng_template_0_li_0_Template, 1, 0, "li", 12)(1, Menu_div_0_6_ng_template_0_li_1_Template, 1, 16, "li", 19);
435
- } if (rf & 2) {
436
- const item_r13 = ctx.$implicit;
437
- i0.ɵɵproperty("ngIf", item_r13.separator && item_r13.visible !== false);
438
- i0.ɵɵadvance();
439
- i0.ɵɵproperty("ngIf", !item_r13.separator && item_r13.visible !== false);
440
- } }
441
- function Menu_div_0_6_Template(rf, ctx) { if (rf & 1) {
442
- i0.ɵɵtemplate(0, Menu_div_0_6_ng_template_0_Template, 2, 2, "ng-template", 11);
443
- } if (rf & 2) {
444
- const ctx_r1 = i0.ɵɵnextContext(2);
445
- i0.ɵɵproperty("ngForOf", ctx_r1.model);
446
- } }
447
- function Menu_div_0_div_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
448
- i0.ɵɵelementContainer(0);
449
- } }
450
- function Menu_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
451
- i0.ɵɵelementStart(0, "div", 21);
452
- i0.ɵɵtemplate(1, Menu_div_0_div_7_ng_container_1_Template, 1, 0, "ng-container", 10);
453
- i0.ɵɵelementEnd();
454
- } if (rf & 2) {
455
- let tmp_5_0;
456
- const ctx_r1 = i0.ɵɵnextContext(2);
457
- i0.ɵɵattribute("data-pc-section", "end");
458
- i0.ɵɵadvance();
459
- i0.ɵɵproperty("ngTemplateOutlet", (tmp_5_0 = ctx_r1.endTemplate) !== null && tmp_5_0 !== undefined ? tmp_5_0 : ctx_r1._endTemplate);
460
- } }
461
- function Menu_div_0_Template(rf, ctx) { if (rf & 1) {
462
- const _r1 = i0.ɵɵgetCurrentView();
463
- i0.ɵɵelementStart(0, "div", 4, 0);
464
- i0.ɵɵlistener("click", function Menu_div_0_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayClick($event)); })("@overlayAnimation.start", function Menu_div_0_Template_div_animation_overlayAnimation_start_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationStart($event)); })("@overlayAnimation.done", function Menu_div_0_Template_div_animation_overlayAnimation_done_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationEnd($event)); });
465
- i0.ɵɵtemplate(2, Menu_div_0_div_2_Template, 2, 2, "div", 5);
466
- i0.ɵɵelementStart(3, "ul", 6, 1);
467
- i0.ɵɵlistener("focus", function Menu_div_0_Template_ul_focus_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListFocus($event)); })("blur", function Menu_div_0_Template_ul_blur_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListBlur($event)); })("keydown", function Menu_div_0_Template_ul_keydown_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListKeyDown($event)); });
468
- i0.ɵɵtemplate(5, Menu_div_0_5_Template, 1, 1, null, 7)(6, Menu_div_0_6_Template, 1, 1, null, 7);
469
- i0.ɵɵelementEnd();
470
- i0.ɵɵtemplate(7, Menu_div_0_div_7_Template, 2, 2, "div", 8);
471
- i0.ɵɵelementEnd();
472
- } if (rf & 2) {
473
- let tmp_10_0;
474
- let tmp_19_0;
475
- const ctx_r1 = i0.ɵɵnextContext();
476
- i0.ɵɵclassMap(ctx_r1.styleClass);
477
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(18, _c11, ctx_r1.popup))("ngStyle", ctx_r1.style)("@overlayAnimation", i0.ɵɵpureFunction1(23, _c13, i0.ɵɵpureFunction2(20, _c12, ctx_r1.showTransitionOptions, ctx_r1.hideTransitionOptions)))("@.disabled", ctx_r1.popup !== true);
478
- i0.ɵɵattribute("data-pc-name", "menu")("id", ctx_r1.id);
479
- i0.ɵɵadvance(2);
480
- i0.ɵɵproperty("ngIf", (tmp_10_0 = ctx_r1.startTemplate) !== null && tmp_10_0 !== undefined ? tmp_10_0 : ctx_r1._startTemplate);
481
- i0.ɵɵadvance();
482
- i0.ɵɵattribute("id", ctx_r1.id + "_list")("tabindex", ctx_r1.getTabIndexValue())("data-pc-section", "menu")("aria-activedescendant", ctx_r1.activedescendant())("aria-label", ctx_r1.ariaLabel)("aria-labelledBy", ctx_r1.ariaLabelledBy);
483
- i0.ɵɵadvance(2);
484
- i0.ɵɵproperty("ngIf", ctx_r1.hasSubMenu());
485
- i0.ɵɵadvance();
486
- i0.ɵɵproperty("ngIf", !ctx_r1.hasSubMenu());
487
- i0.ɵɵadvance();
488
- i0.ɵɵproperty("ngIf", (tmp_19_0 = ctx_r1.endTemplate) !== null && tmp_19_0 !== undefined ? tmp_19_0 : ctx_r1._endTemplate);
489
- } }
490
198
  class SafeHtmlPipe {
491
199
  platformId;
492
200
  sanitizer;
@@ -500,19 +208,19 @@ class SafeHtmlPipe {
500
208
  }
501
209
  return this.sanitizer.bypassSecurityTrustHtml(value);
502
210
  }
503
- static ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(PLATFORM_ID, 16), i0.ɵɵdirectiveInject(i1.DomSanitizer, 16)); };
504
- static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safeHtml", type: SafeHtmlPipe, pure: true });
211
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: PLATFORM_ID }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
212
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" });
505
213
  }
506
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
507
- type: Pipe,
508
- args: [{
509
- name: 'safeHtml',
510
- standalone: true
511
- }]
512
- }], () => [{ type: undefined, decorators: [{
513
- type: Inject,
514
- args: [PLATFORM_ID]
515
- }] }, { type: i1.DomSanitizer }], null); })();
214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SafeHtmlPipe, decorators: [{
215
+ type: Pipe,
216
+ args: [{
217
+ name: 'safeHtml',
218
+ standalone: true
219
+ }]
220
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
221
+ type: Inject,
222
+ args: [PLATFORM_ID]
223
+ }] }, { type: i1.DomSanitizer }] });
516
224
  class MenuItemContent {
517
225
  item;
518
226
  itemTemplate;
@@ -524,28 +232,69 @@ class MenuItemContent {
524
232
  onItemClick(event, item) {
525
233
  this.onMenuItemClick.emit({ originalEvent: event, item });
526
234
  }
527
- static ɵfac = function MenuItemContent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuItemContent)(i0.ɵɵdirectiveInject(forwardRef(() => Menu))); };
528
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemContent, selectors: [["", "pMenuItemContent", ""]], inputs: { item: [0, "pMenuItemContent", "item"], itemTemplate: "itemTemplate" }, outputs: { onMenuItemClick: "onMenuItemClick" }, attrs: _c0, decls: 5, vars: 3, consts: [["itemContent", ""], ["htmlLabel", ""], [1, "p-menu-item-content", 3, "click"], [4, "ngIf"], ["class", "p-menu-item-link", "pRipple", "", 3, "target", "ngClass", 4, "ngIf"], ["routerLinkActive", "p-menu-item-link-active", "class", "p-menu-item-link", "pRipple", "", 3, "routerLink", "queryParams", "routerLinkActiveOptions", "target", "ngClass", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", 4, "ngIf"], ["pRipple", "", 1, "p-menu-item-link", 3, "target", "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["routerLinkActive", "p-menu-item-link-active", "pRipple", "", 1, "p-menu-item-link", 3, "routerLink", "queryParams", "routerLinkActiveOptions", "target", "ngClass", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state"], ["class", "p-menu-item-icon", 3, "ngClass", "class", "ngStyle", 4, "ngIf"], ["class", "p-menu-item-label", 4, "ngIf", "ngIfElse"], [3, "styleClass", "value", 4, "ngIf"], [1, "p-menu-item-icon", 3, "ngClass", "ngStyle"], [1, "p-menu-item-label"], [1, "p-menu-item-label", 3, "innerHTML"], [3, "styleClass", "value"]], template: function MenuItemContent_Template(rf, ctx) { if (rf & 1) {
529
- const _r1 = i0.ɵɵgetCurrentView();
530
- i0.ɵɵelementStart(0, "div", 2);
531
- i0.ɵɵlistener("click", function MenuItemContent_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemClick($event, ctx.item)); });
532
- i0.ɵɵtemplate(1, MenuItemContent_ng_container_1_Template, 3, 2, "ng-container", 3)(2, MenuItemContent_ng_container_2_Template, 2, 4, "ng-container", 3)(3, MenuItemContent_ng_template_3_Template, 5, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
533
- i0.ɵɵelementEnd();
534
- } if (rf & 2) {
535
- i0.ɵɵattribute("data-pc-section", "content");
536
- i0.ɵɵadvance();
537
- i0.ɵɵproperty("ngIf", !ctx.itemTemplate);
538
- i0.ɵɵadvance();
539
- i0.ɵɵproperty("ngIf", ctx.itemTemplate);
540
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, RouterModule, i3.RouterLink, i3.RouterLinkActive, Ripple, TooltipModule, BadgeModule, i4.Badge, SharedModule, SafeHtmlPipe], encapsulation: 2 });
235
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuItemContent, deps: [{ token: forwardRef(() => Menu) }], target: i0.ɵɵFactoryTarget.Component });
236
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: MenuItemContent, isStandalone: true, selector: "[pMenuItemContent]", inputs: { item: ["pMenuItemContent", "item"], itemTemplate: "itemTemplate" }, outputs: { onMenuItemClick: "onMenuItemClick" }, ngImport: i0, template: `
237
+ <div [attr.data-pc-section]="'content'" class="p-menu-item-content" (click)="onItemClick($event, item)">
238
+ <ng-container *ngIf="!itemTemplate">
239
+ <a
240
+ *ngIf="!item?.routerLink"
241
+ [attr.title]="item.title"
242
+ [attr.href]="item.url || null"
243
+ [attr.data-automationid]="item.automationId"
244
+ [attr.tabindex]="-1"
245
+ [attr.data-pc-section]="'action'"
246
+ class="p-menu-item-link"
247
+ [target]="item.target"
248
+ [ngClass]="{ 'p-disabled': item.disabled }"
249
+ pRipple
250
+ >
251
+ <ng-container *ngTemplateOutlet="itemContent; context: { $implicit: item }"></ng-container>
252
+ </a>
253
+ <a
254
+ *ngIf="item?.routerLink"
255
+ [routerLink]="item.routerLink"
256
+ [attr.data-automationid]="item.automationId"
257
+ [attr.tabindex]="-1"
258
+ [attr.data-pc-section]="'action'"
259
+ [attr.title]="item.title"
260
+ [queryParams]="item.queryParams"
261
+ routerLinkActive="p-menu-item-link-active"
262
+ [routerLinkActiveOptions]="item.routerLinkActiveOptions || { exact: false }"
263
+ class="p-menu-item-link"
264
+ [target]="item.target"
265
+ [ngClass]="{ 'p-disabled': item.disabled }"
266
+ [fragment]="item.fragment"
267
+ [queryParamsHandling]="item.queryParamsHandling"
268
+ [preserveFragment]="item.preserveFragment"
269
+ [skipLocationChange]="item.skipLocationChange"
270
+ [replaceUrl]="item.replaceUrl"
271
+ [state]="item.state"
272
+ pRipple
273
+ >
274
+ <ng-container *ngTemplateOutlet="itemContent; context: { $implicit: item }"></ng-container>
275
+ </a>
276
+ </ng-container>
277
+
278
+ <ng-container *ngIf="itemTemplate">
279
+ <ng-template *ngTemplateOutlet="itemTemplate; context: { $implicit: item }"></ng-template>
280
+ </ng-container>
281
+
282
+ <ng-template #itemContent>
283
+ <span class="p-menu-item-icon" *ngIf="item.icon" [ngClass]="item.icon" [class]="item.iconClass" [ngStyle]="item.iconStyle"></span>
284
+ <span class="p-menu-item-label" *ngIf="item.escape !== false; else htmlLabel">{{ item.label }}</span>
285
+ <ng-template #htmlLabel><span class="p-menu-item-label" [innerHTML]="item.label | safeHtml"></span></ng-template>
286
+ <p-badge *ngIf="item.badge" [styleClass]="item.badgeStyleClass" [value]="item.badge" />
287
+ </ng-template>
288
+ </div>
289
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i4.Badge, selector: "p-badge", inputs: ["styleClass", "style", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], encapsulation: i0.ViewEncapsulation.None });
541
290
  }
542
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuItemContent, [{
543
- type: Component,
544
- args: [{
545
- selector: '[pMenuItemContent]',
546
- standalone: true,
547
- imports: [CommonModule, RouterModule, Ripple, TooltipModule, BadgeModule, SharedModule, SafeHtmlPipe],
548
- template: `
291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuItemContent, decorators: [{
292
+ type: Component,
293
+ args: [{
294
+ selector: '[pMenuItemContent]',
295
+ standalone: true,
296
+ imports: [CommonModule, RouterModule, Ripple, TooltipModule, BadgeModule, SharedModule, SafeHtmlPipe],
297
+ template: `
549
298
  <div [attr.data-pc-section]="'content'" class="p-menu-item-content" (click)="onItemClick($event, item)">
550
299
  <ng-container *ngIf="!itemTemplate">
551
300
  <a
@@ -599,20 +348,19 @@ class MenuItemContent {
599
348
  </ng-template>
600
349
  </div>
601
350
  `,
602
- encapsulation: ViewEncapsulation.None
603
- }]
604
- }], () => [{ type: Menu, decorators: [{
605
- type: Inject,
606
- args: [forwardRef(() => Menu)]
607
- }] }], { item: [{
608
- type: Input,
609
- args: ['pMenuItemContent']
610
- }], itemTemplate: [{
611
- type: Input
612
- }], onMenuItemClick: [{
613
- type: Output
614
- }] }); })();
615
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemContent, { className: "MenuItemContent", filePath: "menu.ts", lineNumber: 123 }); })();
351
+ encapsulation: ViewEncapsulation.None
352
+ }]
353
+ }], ctorParameters: () => [{ type: Menu, decorators: [{
354
+ type: Inject,
355
+ args: [forwardRef(() => Menu)]
356
+ }] }], propDecorators: { item: [{
357
+ type: Input,
358
+ args: ['pMenuItemContent']
359
+ }], itemTemplate: [{
360
+ type: Input
361
+ }], onMenuItemClick: [{
362
+ type: Output
363
+ }] } });
616
364
  /**
617
365
  * Menu is a navigation / command component that supports dynamic and static positioning.
618
366
  * @group Components
@@ -1119,42 +867,125 @@ class Menu extends BaseComponent {
1119
867
  }
1120
868
  return item.visible === false;
1121
869
  }
1122
- static ɵfac = function Menu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Menu)(i0.ɵɵdirectiveInject(i5.OverlayService)); };
1123
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Menu, selectors: [["p-menu"]], contentQueries: function Menu_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1124
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
1125
- i0.ɵɵcontentQuery(dirIndex, _c5, 4);
1126
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1127
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1128
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1129
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1130
- } if (rf & 2) {
1131
- let _t;
1132
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.startTemplate = _t.first);
1133
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.endTemplate = _t.first);
1134
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
1135
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
1136
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.submenuHeaderTemplate = _t.first);
1137
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1138
- } }, viewQuery: function Menu_Query(rf, ctx) { if (rf & 1) {
1139
- i0.ɵɵviewQuery(_c9, 5);
1140
- i0.ɵɵviewQuery(_c10, 5);
1141
- } if (rf & 2) {
1142
- let _t;
1143
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewChild = _t.first);
1144
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
1145
- } }, inputs: { model: "model", popup: [2, "popup", "popup", booleanAttribute], style: "style", styleClass: "styleClass", appendTo: "appendTo", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", id: "id", tabindex: [2, "tabindex", "tabindex", numberAttribute] }, outputs: { onShow: "onShow", onHide: "onHide", onBlur: "onBlur", onFocus: "onFocus" }, features: [i0.ɵɵProvidersFeature([MenuStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["container", ""], ["list", ""], ["htmlSubmenuLabel", ""], [3, "ngClass", "class", "ngStyle", "click", 4, "ngIf"], [3, "click", "ngClass", "ngStyle"], ["class", "p-menu-start", 4, "ngIf"], ["role", "menu", 1, "p-menu-list", "p-reset", 3, "focus", "blur", "keydown"], [4, "ngIf"], ["class", "p-menu-end", 4, "ngIf"], [1, "p-menu-start"], [4, "ngTemplateOutlet"], ["ngFor", "", 3, "ngForOf"], ["class", "p-menu-separator", "role", "separator", 4, "ngIf"], ["class", "p-menu-submenu-label", "pTooltip", "", "role", "none", 3, "ngClass", "tooltipOptions", 4, "ngIf"], ["role", "separator", 1, "p-menu-separator"], ["pTooltip", "", "role", "none", 1, "p-menu-submenu-label", 3, "ngClass", "tooltipOptions"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngIf", "ngIfElse"], [3, "innerHTML"], ["class", "p-menu-item", "pTooltip", "", "role", "menuitem", 3, "pMenuItemContent", "itemTemplate", "ngClass", "ngStyle", "class", "tooltipOptions", "onMenuItemClick", 4, "ngIf"], ["pTooltip", "", "role", "menuitem", 1, "p-menu-item", 3, "onMenuItemClick", "pMenuItemContent", "itemTemplate", "ngClass", "ngStyle", "tooltipOptions"], [1, "p-menu-end"]], template: function Menu_Template(rf, ctx) { if (rf & 1) {
1146
- i0.ɵɵtemplate(0, Menu_div_0_Template, 8, 25, "div", 3);
1147
- } if (rf & 2) {
1148
- i0.ɵɵproperty("ngIf", !ctx.popup || ctx.visible);
1149
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, RouterModule, MenuItemContent, TooltipModule, i6.Tooltip, BadgeModule, SharedModule, SafeHtmlPipe], encapsulation: 2, data: { animation: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])] }, changeDetection: 0 });
870
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Menu, deps: [{ token: i5.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
871
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: Menu, isStandalone: true, selector: "p-menu", inputs: { model: "model", popup: ["popup", "popup", booleanAttribute], style: "style", styleClass: "styleClass", appendTo: "appendTo", autoZIndex: ["autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", id: "id", tabindex: ["tabindex", "tabindex", numberAttribute] }, outputs: { onShow: "onShow", onHide: "onHide", onBlur: "onBlur", onFocus: "onFocus" }, providers: [MenuStyle], queries: [{ propertyName: "startTemplate", first: true, predicate: ["start"] }, { propertyName: "endTemplate", first: true, predicate: ["end"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "submenuHeaderTemplate", first: true, predicate: ["submenuheader"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
872
+ <div
873
+ #container
874
+ [ngClass]="{ 'p-menu p-component': true, 'p-menu-overlay': popup }"
875
+ [class]="styleClass"
876
+ [ngStyle]="style"
877
+ *ngIf="!popup || visible"
878
+ (click)="onOverlayClick($event)"
879
+ [@overlayAnimation]="{
880
+ value: 'visible',
881
+ params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }
882
+ }"
883
+ [@.disabled]="popup !== true"
884
+ (@overlayAnimation.start)="onOverlayAnimationStart($event)"
885
+ (@overlayAnimation.done)="onOverlayAnimationEnd($event)"
886
+ [attr.data-pc-name]="'menu'"
887
+ [attr.id]="id"
888
+ >
889
+ <div *ngIf="startTemplate ?? _startTemplate" class="p-menu-start" [attr.data-pc-section]="'start'">
890
+ <ng-container *ngTemplateOutlet="startTemplate ?? _startTemplate"></ng-container>
891
+ </div>
892
+ <ul
893
+ #list
894
+ class="p-menu-list p-reset"
895
+ role="menu"
896
+ [attr.id]="id + '_list'"
897
+ [attr.tabindex]="getTabIndexValue()"
898
+ [attr.data-pc-section]="'menu'"
899
+ [attr.aria-activedescendant]="activedescendant()"
900
+ [attr.aria-label]="ariaLabel"
901
+ [attr.aria-labelledBy]="ariaLabelledBy"
902
+ (focus)="onListFocus($event)"
903
+ (blur)="onListBlur($event)"
904
+ (keydown)="onListKeyDown($event)"
905
+ >
906
+ <ng-template ngFor let-submenu let-i="index" [ngForOf]="model" *ngIf="hasSubMenu()">
907
+ <li class="p-menu-separator" *ngIf="submenu.separator && submenu.visible !== false" role="separator"></li>
908
+ <li
909
+ class="p-menu-submenu-label"
910
+ [attr.data-automationid]="submenu.automationId"
911
+ *ngIf="!submenu.separator"
912
+ [ngClass]="{ 'p-hidden': submenu.visible === false, flex: submenu.visible }"
913
+ pTooltip
914
+ [tooltipOptions]="submenu.tooltipOptions"
915
+ role="none"
916
+ [attr.id]="menuitemId(submenu, id, i)"
917
+ >
918
+ <ng-container *ngIf="!submenuHeaderTemplate && !_submenuHeaderTemplate">
919
+ <span *ngIf="submenu.escape !== false; else htmlSubmenuLabel">{{ submenu.label }}</span>
920
+ <ng-template #htmlSubmenuLabel><span [innerHTML]="submenu.label | safeHtml"></span></ng-template>
921
+ </ng-container>
922
+ <ng-container *ngTemplateOutlet="submenuHeaderTemplate ?? _submenuHeaderTemplate; context: { $implicit: submenu }"></ng-container>
923
+ </li>
924
+ <ng-template ngFor let-item let-j="index" [ngForOf]="submenu.items">
925
+ <li class="p-menu-separator" *ngIf="item.separator && (item.visible !== false || submenu.visible !== false)" role="separator"></li>
926
+ <li
927
+ class="p-menu-item"
928
+ *ngIf="!item.separator && item.visible !== false && (item.visible !== undefined || submenu.visible !== false)"
929
+ [pMenuItemContent]="item"
930
+ [itemTemplate]="itemTemplate ?? _itemTemplate"
931
+ [ngClass]="{
932
+ 'p-focus': focusedOptionId() && menuitemId(item, id, i, j) === focusedOptionId(),
933
+ 'p-disabled': disabled(item.disabled)
934
+ }"
935
+ [ngStyle]="item.style"
936
+ [class]="item.styleClass"
937
+ (onMenuItemClick)="itemClick($event, menuitemId(item, id, i, j))"
938
+ pTooltip
939
+ [tooltipOptions]="item.tooltipOptions"
940
+ role="menuitem"
941
+ [attr.data-pc-section]="'menuitem'"
942
+ [attr.aria-label]="label(item.label)"
943
+ [attr.data-p-focused]="isItemFocused(menuitemId(item, id, i, j))"
944
+ [attr.data-p-disabled]="disabled(item.disabled)"
945
+ [attr.aria-disabled]="disabled(item.disabled)"
946
+ [attr.id]="menuitemId(item, id, i, j)"
947
+ ></li>
948
+ </ng-template>
949
+ </ng-template>
950
+ <ng-template ngFor let-item let-i="index" [ngForOf]="model" *ngIf="!hasSubMenu()">
951
+ <li class="p-menu-separator" *ngIf="item.separator && item.visible !== false" role="separator"></li>
952
+ <li
953
+ class="p-menu-item"
954
+ *ngIf="!item.separator && item.visible !== false"
955
+ [pMenuItemContent]="item"
956
+ [itemTemplate]="itemTemplate ?? _itemTemplate"
957
+ [ngClass]="{
958
+ 'p-focus': focusedOptionId() && menuitemId(item, id, i) === focusedOptionId(),
959
+ 'p-disabled': disabled(item.disabled)
960
+ }"
961
+ [ngStyle]="item.style"
962
+ [class]="item.styleClass"
963
+ (onMenuItemClick)="itemClick($event, menuitemId(item, id, i))"
964
+ pTooltip
965
+ [tooltipOptions]="item.tooltipOptions"
966
+ role="menuitem"
967
+ [attr.data-pc-section]="'menuitem'"
968
+ [attr.aria-label]="label(item.label)"
969
+ [attr.data-p-focused]="isItemFocused(menuitemId(item, id, i))"
970
+ [attr.data-p-disabled]="disabled(item.disabled)"
971
+ [attr.aria-disabled]="disabled(item.disabled)"
972
+ [attr.id]="menuitemId(item, id, i)"
973
+ ></li>
974
+ </ng-template>
975
+ </ul>
976
+ <div *ngIf="endTemplate ?? _endTemplate" class="p-menu-end" [attr.data-pc-section]="'end'">
977
+ <ng-container *ngTemplateOutlet="endTemplate ?? _endTemplate"></ng-container>
978
+ </div>
979
+ </div>
980
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "component", type: MenuItemContent, selector: "[pMenuItemContent]", inputs: ["pMenuItemContent", "itemTemplate"], outputs: ["onMenuItemClick"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i6.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: SharedModule }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1150
981
  }
1151
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Menu, [{
1152
- type: Component,
1153
- args: [{
1154
- selector: 'p-menu',
1155
- standalone: true,
1156
- imports: [CommonModule, RouterModule, MenuItemContent, TooltipModule, BadgeModule, SharedModule, SafeHtmlPipe],
1157
- template: `
982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Menu, decorators: [{
983
+ type: Component,
984
+ args: [{
985
+ selector: 'p-menu',
986
+ standalone: true,
987
+ imports: [CommonModule, RouterModule, MenuItemContent, TooltipModule, BadgeModule, SharedModule, SafeHtmlPipe],
988
+ template: `
1158
989
  <div
1159
990
  #container
1160
991
  [ngClass]="{ 'p-menu p-component': true, 'p-menu-overlay': popup }"
@@ -1264,88 +1095,86 @@ class Menu extends BaseComponent {
1264
1095
  </div>
1265
1096
  </div>
1266
1097
  `,
1267
- animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])],
1268
- changeDetection: ChangeDetectionStrategy.OnPush,
1269
- encapsulation: ViewEncapsulation.None,
1270
- providers: [MenuStyle]
1271
- }]
1272
- }], () => [{ type: i5.OverlayService }], { model: [{
1273
- type: Input
1274
- }], popup: [{
1275
- type: Input,
1276
- args: [{ transform: booleanAttribute }]
1277
- }], style: [{
1278
- type: Input
1279
- }], styleClass: [{
1280
- type: Input
1281
- }], appendTo: [{
1282
- type: Input
1283
- }], autoZIndex: [{
1284
- type: Input,
1285
- args: [{ transform: booleanAttribute }]
1286
- }], baseZIndex: [{
1287
- type: Input,
1288
- args: [{ transform: numberAttribute }]
1289
- }], showTransitionOptions: [{
1290
- type: Input
1291
- }], hideTransitionOptions: [{
1292
- type: Input
1293
- }], ariaLabel: [{
1294
- type: Input
1295
- }], ariaLabelledBy: [{
1296
- type: Input
1297
- }], id: [{
1298
- type: Input
1299
- }], tabindex: [{
1300
- type: Input,
1301
- args: [{ transform: numberAttribute }]
1302
- }], onShow: [{
1303
- type: Output
1304
- }], onHide: [{
1305
- type: Output
1306
- }], onBlur: [{
1307
- type: Output
1308
- }], onFocus: [{
1309
- type: Output
1310
- }], listViewChild: [{
1311
- type: ViewChild,
1312
- args: ['list']
1313
- }], containerViewChild: [{
1314
- type: ViewChild,
1315
- args: ['container']
1316
- }], startTemplate: [{
1317
- type: ContentChild,
1318
- args: ['start', { descendants: false }]
1319
- }], endTemplate: [{
1320
- type: ContentChild,
1321
- args: ['end', { descendants: false }]
1322
- }], headerTemplate: [{
1323
- type: ContentChild,
1324
- args: ['header', { descendants: false }]
1325
- }], itemTemplate: [{
1326
- type: ContentChild,
1327
- args: ['item', { descendants: false }]
1328
- }], submenuHeaderTemplate: [{
1329
- type: ContentChild,
1330
- args: ['submenuheader', { descendants: false }]
1331
- }], templates: [{
1332
- type: ContentChildren,
1333
- args: [PrimeTemplate]
1334
- }] }); })();
1335
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Menu, { className: "Menu", filePath: "menu.ts", lineNumber: 263 }); })();
1098
+ animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])],
1099
+ changeDetection: ChangeDetectionStrategy.OnPush,
1100
+ encapsulation: ViewEncapsulation.None,
1101
+ providers: [MenuStyle]
1102
+ }]
1103
+ }], ctorParameters: () => [{ type: i5.OverlayService }], propDecorators: { model: [{
1104
+ type: Input
1105
+ }], popup: [{
1106
+ type: Input,
1107
+ args: [{ transform: booleanAttribute }]
1108
+ }], style: [{
1109
+ type: Input
1110
+ }], styleClass: [{
1111
+ type: Input
1112
+ }], appendTo: [{
1113
+ type: Input
1114
+ }], autoZIndex: [{
1115
+ type: Input,
1116
+ args: [{ transform: booleanAttribute }]
1117
+ }], baseZIndex: [{
1118
+ type: Input,
1119
+ args: [{ transform: numberAttribute }]
1120
+ }], showTransitionOptions: [{
1121
+ type: Input
1122
+ }], hideTransitionOptions: [{
1123
+ type: Input
1124
+ }], ariaLabel: [{
1125
+ type: Input
1126
+ }], ariaLabelledBy: [{
1127
+ type: Input
1128
+ }], id: [{
1129
+ type: Input
1130
+ }], tabindex: [{
1131
+ type: Input,
1132
+ args: [{ transform: numberAttribute }]
1133
+ }], onShow: [{
1134
+ type: Output
1135
+ }], onHide: [{
1136
+ type: Output
1137
+ }], onBlur: [{
1138
+ type: Output
1139
+ }], onFocus: [{
1140
+ type: Output
1141
+ }], listViewChild: [{
1142
+ type: ViewChild,
1143
+ args: ['list']
1144
+ }], containerViewChild: [{
1145
+ type: ViewChild,
1146
+ args: ['container']
1147
+ }], startTemplate: [{
1148
+ type: ContentChild,
1149
+ args: ['start', { descendants: false }]
1150
+ }], endTemplate: [{
1151
+ type: ContentChild,
1152
+ args: ['end', { descendants: false }]
1153
+ }], headerTemplate: [{
1154
+ type: ContentChild,
1155
+ args: ['header', { descendants: false }]
1156
+ }], itemTemplate: [{
1157
+ type: ContentChild,
1158
+ args: ['item', { descendants: false }]
1159
+ }], submenuHeaderTemplate: [{
1160
+ type: ContentChild,
1161
+ args: ['submenuheader', { descendants: false }]
1162
+ }], templates: [{
1163
+ type: ContentChildren,
1164
+ args: [PrimeTemplate]
1165
+ }] } });
1336
1166
  class MenuModule {
1337
- static ɵfac = function MenuModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuModule)(); };
1338
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MenuModule });
1339
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Menu, SharedModule, SharedModule] });
1167
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1168
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MenuModule, imports: [Menu, SharedModule, SafeHtmlPipe], exports: [Menu, SharedModule, SafeHtmlPipe] });
1169
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuModule, imports: [Menu, SharedModule, SharedModule] });
1340
1170
  }
1341
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuModule, [{
1342
- type: NgModule,
1343
- args: [{
1344
- imports: [Menu, SharedModule, SafeHtmlPipe],
1345
- exports: [Menu, SharedModule, SafeHtmlPipe]
1346
- }]
1347
- }], null, null); })();
1348
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MenuModule, { imports: [Menu, SharedModule, SafeHtmlPipe], exports: [Menu, SharedModule, SafeHtmlPipe] }); })();
1171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MenuModule, decorators: [{
1172
+ type: NgModule,
1173
+ args: [{
1174
+ imports: [Menu, SharedModule, SafeHtmlPipe],
1175
+ exports: [Menu, SharedModule, SafeHtmlPipe]
1176
+ }]
1177
+ }] });
1349
1178
 
1350
1179
  /**
1351
1180
  * Generated bundle index. Do not edit.