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
@@ -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.