@exhaustive-ui/core 3.0.0-alpha.1 → 22.0.0-alpha.1

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 (387) hide show
  1. package/README.md +3 -3
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs +1 -1
  3. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  4. package/fesm2022/exhaustive-ui-core-api.mjs +4 -4
  5. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  6. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +433 -377
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  8. package/fesm2022/exhaustive-ui-core-avatar.mjs +1 -1
  9. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  10. package/fesm2022/exhaustive-ui-core-avatargroup.mjs +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-badge.mjs +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-blockui.mjs +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-button.mjs +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-buttongroup.mjs +1 -1
  21. package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-card.mjs +1 -1
  23. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-carousel.mjs +241 -207
  25. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +1 -1
  27. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-chart.mjs +1 -1
  29. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
  31. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-chip.mjs +1 -1
  33. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +1 -1
  35. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +80 -72
  37. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +110 -98
  39. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +302 -324
  41. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-dataview.mjs +1 -1
  43. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-datepicker.mjs +944 -794
  45. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-dialog.mjs +168 -128
  47. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-divider.mjs +1 -1
  49. package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
  51. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-drawer.mjs +1 -1
  53. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +1 -1
  55. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-editor.mjs +1 -1
  57. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-fieldset.mjs +1 -1
  59. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -402
  61. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +1 -1
  63. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-fluid.mjs +1 -1
  65. package/fesm2022/exhaustive-ui-core-fluid.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-galleria.mjs +1 -1
  67. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-iconfield.mjs +1 -1
  69. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
  71. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
  73. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
  75. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
  77. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
  79. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
  81. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
  83. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
  85. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
  87. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
  88. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
  89. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
  90. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
  91. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
  92. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
  93. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
  94. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
  95. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
  96. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
  97. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
  98. package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
  99. package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
  100. package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
  101. package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
  102. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +1 -1
  103. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  104. package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
  105. package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
  106. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
  107. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
  108. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
  109. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
  110. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
  111. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
  112. package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
  113. package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
  114. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
  115. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
  116. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
  117. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
  118. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
  119. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
  120. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
  121. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
  122. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
  123. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
  124. package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
  125. package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
  126. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
  127. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
  128. package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
  129. package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
  130. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
  131. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
  132. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
  133. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
  134. package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
  135. package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
  136. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
  137. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
  138. package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
  139. package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
  140. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
  141. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
  142. package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
  143. package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
  144. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
  145. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
  146. package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
  147. package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
  148. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
  149. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
  150. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
  151. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
  152. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
  153. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
  154. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
  155. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
  156. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
  157. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
  158. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
  159. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
  160. package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
  161. package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
  162. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
  163. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
  164. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
  165. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
  166. package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
  167. package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
  168. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
  169. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
  170. package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
  171. package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
  172. package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
  173. package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
  174. package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
  175. package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
  176. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
  177. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
  178. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
  179. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
  180. package/fesm2022/exhaustive-ui-core-iftalabel.mjs +1 -1
  181. package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
  182. package/fesm2022/exhaustive-ui-core-image.mjs +1 -1
  183. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  184. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +1 -1
  185. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  186. package/fesm2022/exhaustive-ui-core-inplace.mjs +5 -5
  187. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  188. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +1 -1
  189. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  190. package/fesm2022/exhaustive-ui-core-inputmask.mjs +1 -1
  191. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  192. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +1 -1
  193. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  194. package/fesm2022/exhaustive-ui-core-inputotp.mjs +1 -1
  195. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  196. package/fesm2022/exhaustive-ui-core-inputtext.mjs +1 -1
  197. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  198. package/fesm2022/exhaustive-ui-core-knob.mjs +1 -1
  199. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  200. package/fesm2022/exhaustive-ui-core-listbox.mjs +304 -260
  201. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  202. package/fesm2022/exhaustive-ui-core-megamenu.mjs +7 -7
  203. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  204. package/fesm2022/exhaustive-ui-core-menu.mjs +1 -1
  205. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  206. package/fesm2022/exhaustive-ui-core-menubar.mjs +3 -3
  207. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  208. package/fesm2022/exhaustive-ui-core-message.mjs +1 -1
  209. package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
  210. package/fesm2022/exhaustive-ui-core-metergroup.mjs +1 -1
  211. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  212. package/fesm2022/exhaustive-ui-core-motion.mjs +3 -3
  213. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  214. package/fesm2022/exhaustive-ui-core-multiselect.mjs +422 -334
  215. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  216. package/fesm2022/exhaustive-ui-core-orderlist.mjs +1 -1
  217. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  218. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +1 -1
  219. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  220. package/fesm2022/exhaustive-ui-core-paginator.mjs +1 -1
  221. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  222. package/fesm2022/exhaustive-ui-core-panel.mjs +1 -1
  223. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  224. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +5 -5
  225. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  226. package/fesm2022/exhaustive-ui-core-password.mjs +1 -1
  227. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  228. package/fesm2022/exhaustive-ui-core-picklist.mjs +427 -347
  229. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  230. package/fesm2022/exhaustive-ui-core-progressbar.mjs +1 -1
  231. package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
  232. package/fesm2022/exhaustive-ui-core-progressspinner.mjs +1 -1
  233. package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
  234. package/fesm2022/exhaustive-ui-core-radiobutton.mjs +1 -1
  235. package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
  236. package/fesm2022/exhaustive-ui-core-rating.mjs +1 -1
  237. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  238. package/fesm2022/exhaustive-ui-core-ripple.mjs +1 -1
  239. package/fesm2022/exhaustive-ui-core-ripple.mjs.map +1 -1
  240. package/fesm2022/exhaustive-ui-core-scroller.mjs +1 -1
  241. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  242. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +1 -1
  243. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  244. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +1 -1
  245. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  246. package/fesm2022/exhaustive-ui-core-select.mjs +392 -338
  247. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  248. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +1 -1
  249. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  250. package/fesm2022/exhaustive-ui-core-skeleton.mjs +1 -1
  251. package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
  252. package/fesm2022/exhaustive-ui-core-slider.mjs +1 -1
  253. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  254. package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
  255. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  256. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +1 -1
  257. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  258. package/fesm2022/exhaustive-ui-core-splitter.mjs +1 -1
  259. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  260. package/fesm2022/exhaustive-ui-core-stepper.mjs +6 -6
  261. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  262. package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
  263. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  264. package/fesm2022/exhaustive-ui-core-table.mjs +338 -294
  265. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  266. package/fesm2022/exhaustive-ui-core-tabs.mjs +5 -5
  267. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  268. package/fesm2022/exhaustive-ui-core-tag.mjs +1 -1
  269. package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
  270. package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
  271. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  272. package/fesm2022/exhaustive-ui-core-textarea.mjs +1 -1
  273. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  274. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +316 -326
  275. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  276. package/fesm2022/exhaustive-ui-core-timeline.mjs +1 -1
  277. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  278. package/fesm2022/exhaustive-ui-core-toast.mjs +1 -1
  279. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  280. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +1 -1
  281. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  282. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +1 -1
  283. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  284. package/fesm2022/exhaustive-ui-core-toolbar.mjs +1 -1
  285. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  286. package/fesm2022/exhaustive-ui-core-tooltip.mjs +1 -1
  287. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  288. package/fesm2022/exhaustive-ui-core-tree.mjs +1 -1
  289. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  290. package/fesm2022/exhaustive-ui-core-treeselect.mjs +12 -8
  291. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  292. package/fesm2022/exhaustive-ui-core-treetable.mjs +1 -1
  293. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  294. package/package.json +12 -12
  295. package/schematics/migrate-from-primeng/index.js +1 -1
  296. package/schematics/migrations.json +5 -5
  297. package/schematics/utils/versions.json +8 -8
  298. package/types/exhaustive-ui-core-accordion.d.ts +1 -1
  299. package/types/exhaustive-ui-core-autocomplete.d.ts +1 -1
  300. package/types/exhaustive-ui-core-avatar.d.ts +1 -1
  301. package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
  302. package/types/exhaustive-ui-core-badge.d.ts +1 -1
  303. package/types/exhaustive-ui-core-blockui.d.ts +1 -1
  304. package/types/exhaustive-ui-core-breadcrumb.d.ts +1 -1
  305. package/types/exhaustive-ui-core-button.d.ts +1 -1
  306. package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
  307. package/types/exhaustive-ui-core-card.d.ts +1 -1
  308. package/types/exhaustive-ui-core-carousel.d.ts +1 -1
  309. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  310. package/types/exhaustive-ui-core-chart.d.ts +1 -1
  311. package/types/exhaustive-ui-core-checkbox.d.ts +1 -1
  312. package/types/exhaustive-ui-core-chip.d.ts +1 -1
  313. package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
  314. package/types/exhaustive-ui-core-confirmdialog.d.ts +1 -1
  315. package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
  316. package/types/exhaustive-ui-core-contextmenu.d.ts +1 -1
  317. package/types/exhaustive-ui-core-dataview.d.ts +1 -1
  318. package/types/exhaustive-ui-core-datepicker.d.ts +1 -1
  319. package/types/exhaustive-ui-core-dialog.d.ts +1 -1
  320. package/types/exhaustive-ui-core-divider.d.ts +1 -1
  321. package/types/exhaustive-ui-core-dock.d.ts +1 -1
  322. package/types/exhaustive-ui-core-drawer.d.ts +1 -1
  323. package/types/exhaustive-ui-core-dynamicdialog.d.ts +1 -1
  324. package/types/exhaustive-ui-core-editor.d.ts +1 -1
  325. package/types/exhaustive-ui-core-fieldset.d.ts +1 -1
  326. package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
  327. package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
  328. package/types/exhaustive-ui-core-fluid.d.ts +1 -1
  329. package/types/exhaustive-ui-core-galleria.d.ts +1 -1
  330. package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
  331. package/types/exhaustive-ui-core-icons-baseicon.d.ts +1 -1
  332. package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
  333. package/types/exhaustive-ui-core-image.d.ts +1 -1
  334. package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
  335. package/types/exhaustive-ui-core-inplace.d.ts +1 -1
  336. package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
  337. package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
  338. package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
  339. package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
  340. package/types/exhaustive-ui-core-inputtext.d.ts +1 -1
  341. package/types/exhaustive-ui-core-knob.d.ts +1 -1
  342. package/types/exhaustive-ui-core-listbox.d.ts +1 -1
  343. package/types/exhaustive-ui-core-megamenu.d.ts +1 -1
  344. package/types/exhaustive-ui-core-menu.d.ts +1 -1
  345. package/types/exhaustive-ui-core-menubar.d.ts +1 -1
  346. package/types/exhaustive-ui-core-message.d.ts +1 -1
  347. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  348. package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
  349. package/types/exhaustive-ui-core-orderlist.d.ts +1 -1
  350. package/types/exhaustive-ui-core-organizationchart.d.ts +1 -1
  351. package/types/exhaustive-ui-core-paginator.d.ts +1 -1
  352. package/types/exhaustive-ui-core-panel.d.ts +1 -1
  353. package/types/exhaustive-ui-core-panelmenu.d.ts +1 -1
  354. package/types/exhaustive-ui-core-password.d.ts +1 -1
  355. package/types/exhaustive-ui-core-picklist.d.ts +1 -1
  356. package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
  357. package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
  358. package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
  359. package/types/exhaustive-ui-core-rating.d.ts +1 -1
  360. package/types/exhaustive-ui-core-ripple.d.ts +1 -1
  361. package/types/exhaustive-ui-core-scroller.d.ts +1 -1
  362. package/types/exhaustive-ui-core-scrollpanel.d.ts +1 -1
  363. package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
  364. package/types/exhaustive-ui-core-select.d.ts +1 -1
  365. package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
  366. package/types/exhaustive-ui-core-skeleton.d.ts +1 -1
  367. package/types/exhaustive-ui-core-slider.d.ts +1 -1
  368. package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
  369. package/types/exhaustive-ui-core-splitbutton.d.ts +1 -1
  370. package/types/exhaustive-ui-core-splitter.d.ts +1 -1
  371. package/types/exhaustive-ui-core-stepper.d.ts +1 -1
  372. package/types/exhaustive-ui-core-steps.d.ts +1 -1
  373. package/types/exhaustive-ui-core-table.d.ts +1 -1
  374. package/types/exhaustive-ui-core-tabs.d.ts +1 -1
  375. package/types/exhaustive-ui-core-tag.d.ts +1 -1
  376. package/types/exhaustive-ui-core-terminal.d.ts +1 -1
  377. package/types/exhaustive-ui-core-textarea.d.ts +1 -1
  378. package/types/exhaustive-ui-core-tieredmenu.d.ts +1 -1
  379. package/types/exhaustive-ui-core-timeline.d.ts +1 -1
  380. package/types/exhaustive-ui-core-toast.d.ts +1 -1
  381. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
  382. package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
  383. package/types/exhaustive-ui-core-toolbar.d.ts +1 -1
  384. package/types/exhaustive-ui-core-tooltip.d.ts +1 -1
  385. package/types/exhaustive-ui-core-tree.d.ts +1 -1
  386. package/types/exhaustive-ui-core-treeselect.d.ts +1 -1
  387. package/types/exhaustive-ui-core-treetable.d.ts +1 -1
@@ -65,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
65
65
  * ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
66
66
  * Refer to documentation of the individual documentation of the with context menu support.
67
67
  *
68
- * [Live Demo](https://exhaustive-ui.e-xiste.com/contextmenu/)
68
+ * [Live Demo](https://exhaustive-ui.com/contextmenu/)
69
69
  *
70
70
  * @module contextmenustyle
71
71
  *
@@ -269,171 +269,160 @@ class ContextMenuSub extends BaseComponent {
269
269
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
270
270
  (pMotionOnAfterLeave)="onAfterLeave()"
271
271
  >
272
- <ng-template ngFor let-processedItem [ngForOf]="items()" let-index="index">
273
- <li
274
- *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
275
- [attr.id]="getItemId(processedItem)"
276
- [style]="getItemProp(processedItem, 'style')"
277
- [class]="cn(cx('separator'), getItemProp(processedItem, 'styleClass'))"
278
- role="separator"
279
- [pBind]="_ptm('separator')"
280
- ></li>
281
- <li
282
- #listItem
283
- *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
284
- role="menuitem"
285
- [attr.id]="getItemId(processedItem)"
286
- [attr.data-p-highlight]="isItemActive(processedItem)"
287
- [attr.data-p-focused]="isItemFocused(processedItem)"
288
- [attr.data-p-disabled]="isItemDisabled(processedItem)"
289
- [attr.aria-label]="getItemLabel(processedItem)"
290
- [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
291
- [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
292
- [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
293
- [attr.aria-level]="level() + 1"
294
- [attr.aria-setsize]="getAriaSetSize()"
295
- [attr.aria-posinset]="getAriaPosInset(index)"
296
- [style]="getItemProp(processedItem, 'style')"
297
- [class]="cn(cx('item', { instance: this, processedItem }), getItemProp(processedItem, 'styleClass'))"
298
- [pBind]="getPTOptions(processedItem, index, 'item')"
299
- pTooltip
300
- [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
301
- [pTooltipUnstyled]="unstyled()"
302
- >
303
- <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
304
- <ng-container *ngIf="!itemTemplate()">
305
- <a
306
- *ngIf="!getItemProp(processedItem, 'routerLink')"
307
- [attr.href]="getItemProp(processedItem, 'url')"
308
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
309
- [attr.title]="getItemProp(processedItem, 'title')"
310
- [target]="getItemProp(processedItem, 'target')"
311
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
312
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
313
- [attr.tabindex]="-1"
314
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
315
- pRipple
316
- >
317
- <span
318
- *ngIf="getItemProp(processedItem, 'icon')"
319
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
320
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
321
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
322
- [attr.aria-hidden]="true"
323
- [attr.tabindex]="-1"
324
- >
325
- </span>
326
- <span
327
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
328
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
329
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
330
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
331
- >
332
- {{ getItemLabel(processedItem) }}
333
- </span>
334
- <ng-template #htmlLabel>
335
- <span
336
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
337
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
338
- [innerHTML]="getItemLabel(processedItem)"
339
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
340
- ></span>
341
- </ng-template>
342
- <p-badge *ngIf="getItemProp(processedItem, 'badge')" [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
343
- <ng-container *ngIf="isItemGroup(processedItem)">
344
- <svg
345
- data-p-icon="angle-right"
346
- *ngIf="!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()"
347
- [class]="cx('submenuIcon')"
348
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
349
- [attr.aria-hidden]="true"
350
- />
351
- <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
352
- </ng-container>
353
- </a>
354
- <a
355
- *ngIf="getItemProp(processedItem, 'routerLink')"
356
- [routerLink]="getItemProp(processedItem, 'routerLink')"
357
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
358
- [attr.title]="getItemProp(processedItem, 'title')"
359
- [attr.tabindex]="-1"
360
- [queryParams]="getItemProp(processedItem, 'queryParams')"
361
- [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
362
- [target]="getItemProp(processedItem, 'target')"
363
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
364
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
365
- [fragment]="getItemProp(processedItem, 'fragment')"
366
- [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
367
- [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
368
- [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
369
- [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
370
- [state]="getItemProp(processedItem, 'state')"
371
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
372
- pRipple
373
- >
374
- <span
375
- *ngIf="getItemProp(processedItem, 'icon')"
376
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
377
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
378
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
379
- [attr.aria-hidden]="true"
380
- [attr.tabindex]="-1"
381
- >
382
- </span>
383
- <span
384
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
385
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
386
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
387
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
388
- >
389
- {{ getItemLabel(processedItem) }}
390
- </span>
391
- <ng-template #htmlLabel>
392
- <span
393
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
394
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
395
- [innerHTML]="getItemLabel(processedItem)"
396
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
397
- ></span>
398
- </ng-template>
399
- <p-badge *ngIf="getItemProp(processedItem, 'badge')" [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
400
- <ng-container *ngIf="isItemGroup(processedItem)">
401
- <svg
402
- data-p-icon="angle-right"
403
- *ngIf="!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()"
404
- [class]="cx('submenuIcon')"
405
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
406
- [attr.aria-hidden]="true"
407
- />
408
- <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
409
- </ng-container>
410
- </a>
411
- </ng-container>
412
- <ng-container *ngIf="itemTemplate()">
413
- <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item }"></ng-template>
414
- </ng-container>
415
- </div>
272
+ @for (processedItem of items(); track processedItem.key; let index = $index) {
273
+ @if (isItemVisible(processedItem) && getItemProp(processedItem, 'separator')) {
274
+ <li [attr.id]="getItemId(processedItem)" [style]="getItemProp(processedItem, 'style')" [class]="cn(cx('separator'), getItemProp(processedItem, 'styleClass'))" role="separator" [pBind]="_ptm('separator')"></li>
275
+ }
276
+ @if (isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')) {
277
+ <li
278
+ #listItem
279
+ role="menuitem"
280
+ [attr.id]="getItemId(processedItem)"
281
+ [attr.data-p-highlight]="isItemActive(processedItem)"
282
+ [attr.data-p-focused]="isItemFocused(processedItem)"
283
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
284
+ [attr.aria-label]="getItemLabel(processedItem)"
285
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
286
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
287
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
288
+ [attr.aria-level]="level() + 1"
289
+ [attr.aria-setsize]="getAriaSetSize()"
290
+ [attr.aria-posinset]="getAriaPosInset(index)"
291
+ [style]="getItemProp(processedItem, 'style')"
292
+ [class]="cn(cx('item', { instance: this, processedItem }), getItemProp(processedItem, 'styleClass'))"
293
+ [pBind]="getPTOptions(processedItem, index, 'item')"
294
+ pTooltip
295
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
296
+ [pTooltipUnstyled]="unstyled()"
297
+ >
298
+ <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
299
+ @if (!itemTemplate()) {
300
+ @if (!getItemProp(processedItem, 'routerLink')) {
301
+ <a
302
+ [attr.href]="getItemProp(processedItem, 'url')"
303
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
304
+ [attr.title]="getItemProp(processedItem, 'title')"
305
+ [target]="getItemProp(processedItem, 'target')"
306
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
307
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
308
+ [attr.tabindex]="-1"
309
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
310
+ pRipple
311
+ >
312
+ @if (getItemProp(processedItem, 'icon')) {
313
+ <span
314
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
315
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
316
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
317
+ [attr.aria-hidden]="true"
318
+ [attr.tabindex]="-1"
319
+ >
320
+ </span>
321
+ }
322
+ @if (getItemProp(processedItem, 'escape')) {
323
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
324
+ {{ getItemLabel(processedItem) }}
325
+ </span>
326
+ } @else {
327
+ <span
328
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
329
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
330
+ [innerHTML]="getItemLabel(processedItem)"
331
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
332
+ ></span>
333
+ }
334
+ @if (getItemProp(processedItem, 'badge')) {
335
+ <p-badge [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
336
+ }
337
+ @if (isItemGroup(processedItem)) {
338
+ @if (!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()) {
339
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
340
+ }
341
+ <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
342
+ }
343
+ </a>
344
+ }
345
+ @if (getItemProp(processedItem, 'routerLink')) {
346
+ <a
347
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
348
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
349
+ [attr.title]="getItemProp(processedItem, 'title')"
350
+ [attr.tabindex]="-1"
351
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
352
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
353
+ [target]="getItemProp(processedItem, 'target')"
354
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
355
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
356
+ [fragment]="getItemProp(processedItem, 'fragment')"
357
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
358
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
359
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
360
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
361
+ [state]="getItemProp(processedItem, 'state')"
362
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
363
+ pRipple
364
+ >
365
+ @if (getItemProp(processedItem, 'icon')) {
366
+ <span
367
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
368
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
369
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
370
+ [attr.aria-hidden]="true"
371
+ [attr.tabindex]="-1"
372
+ >
373
+ </span>
374
+ }
375
+ @if (getItemProp(processedItem, 'escape')) {
376
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
377
+ {{ getItemLabel(processedItem) }}
378
+ </span>
379
+ } @else {
380
+ <span
381
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
382
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
383
+ [innerHTML]="getItemLabel(processedItem)"
384
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
385
+ ></span>
386
+ }
387
+ @if (getItemProp(processedItem, 'badge')) {
388
+ <p-badge [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
389
+ }
390
+ @if (isItemGroup(processedItem)) {
391
+ @if (!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()) {
392
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
393
+ }
394
+ <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
395
+ }
396
+ </a>
397
+ }
398
+ }
399
+ @if (itemTemplate()) {
400
+ <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item }"></ng-template>
401
+ }
402
+ </div>
416
403
 
417
- <p-contextmenu-sub
418
- *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)"
419
- [items]="processedItem.items"
420
- [itemTemplate]="itemTemplate()"
421
- [menuId]="menuId()"
422
- [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
423
- [activeItemPath]="activeItemPath()"
424
- [focusedItemId]="focusedItemId()"
425
- [level]="level() + 1"
426
- (itemClick)="itemClick.emit($event)"
427
- (itemMouseEnter)="onItemMouseEnter($event)"
428
- [pt]="pt()"
429
- [motionOptions]="motionOptions()"
430
- [unstyled]="unstyled()"
431
- />
432
- </li>
433
- </ng-template>
404
+ @if (isItemVisible(processedItem) && isItemGroup(processedItem)) {
405
+ <p-contextmenu-sub
406
+ [items]="processedItem.items"
407
+ [itemTemplate]="itemTemplate()"
408
+ [menuId]="menuId()"
409
+ [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
410
+ [activeItemPath]="activeItemPath()"
411
+ [focusedItemId]="focusedItemId()"
412
+ [level]="level() + 1"
413
+ (itemClick)="itemClick.emit($event)"
414
+ (itemMouseEnter)="onItemMouseEnter($event)"
415
+ [pt]="pt()"
416
+ [motionOptions]="motionOptions()"
417
+ [unstyled]="unstyled()"
418
+ />
419
+ }
420
+ </li>
421
+ }
422
+ }
434
423
  </ul>
435
424
  }
436
- `, isInline: true, dependencies: [{ kind: "component", type: ContextMenuSub, selector: "p-contextMenuSub, p-contextmenu-sub", inputs: ["visible", "items", "itemTemplate", "root", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "motionOptions", "tabindex"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i4.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i5.Badge, selector: "p-badge", inputs: ["badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i6.MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
425
+ `, isInline: true, dependencies: [{ kind: "component", type: ContextMenuSub, selector: "p-contextMenuSub, p-contextmenu-sub", inputs: ["visible", "items", "itemTemplate", "root", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "motionOptions", "tabindex"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i4.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i5.Badge, selector: "p-badge", inputs: ["badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i6.MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
437
426
  }
438
427
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ContextMenuSub, decorators: [{
439
428
  type: Component,
@@ -464,168 +453,157 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
464
453
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
465
454
  (pMotionOnAfterLeave)="onAfterLeave()"
466
455
  >
467
- <ng-template ngFor let-processedItem [ngForOf]="items()" let-index="index">
468
- <li
469
- *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
470
- [attr.id]="getItemId(processedItem)"
471
- [style]="getItemProp(processedItem, 'style')"
472
- [class]="cn(cx('separator'), getItemProp(processedItem, 'styleClass'))"
473
- role="separator"
474
- [pBind]="_ptm('separator')"
475
- ></li>
476
- <li
477
- #listItem
478
- *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
479
- role="menuitem"
480
- [attr.id]="getItemId(processedItem)"
481
- [attr.data-p-highlight]="isItemActive(processedItem)"
482
- [attr.data-p-focused]="isItemFocused(processedItem)"
483
- [attr.data-p-disabled]="isItemDisabled(processedItem)"
484
- [attr.aria-label]="getItemLabel(processedItem)"
485
- [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
486
- [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
487
- [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
488
- [attr.aria-level]="level() + 1"
489
- [attr.aria-setsize]="getAriaSetSize()"
490
- [attr.aria-posinset]="getAriaPosInset(index)"
491
- [style]="getItemProp(processedItem, 'style')"
492
- [class]="cn(cx('item', { instance: this, processedItem }), getItemProp(processedItem, 'styleClass'))"
493
- [pBind]="getPTOptions(processedItem, index, 'item')"
494
- pTooltip
495
- [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
496
- [pTooltipUnstyled]="unstyled()"
497
- >
498
- <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
499
- <ng-container *ngIf="!itemTemplate()">
500
- <a
501
- *ngIf="!getItemProp(processedItem, 'routerLink')"
502
- [attr.href]="getItemProp(processedItem, 'url')"
503
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
504
- [attr.title]="getItemProp(processedItem, 'title')"
505
- [target]="getItemProp(processedItem, 'target')"
506
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
507
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
508
- [attr.tabindex]="-1"
509
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
510
- pRipple
511
- >
512
- <span
513
- *ngIf="getItemProp(processedItem, 'icon')"
514
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
515
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
516
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
517
- [attr.aria-hidden]="true"
518
- [attr.tabindex]="-1"
519
- >
520
- </span>
521
- <span
522
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
523
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
524
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
525
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
526
- >
527
- {{ getItemLabel(processedItem) }}
528
- </span>
529
- <ng-template #htmlLabel>
530
- <span
531
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
532
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
533
- [innerHTML]="getItemLabel(processedItem)"
534
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
535
- ></span>
536
- </ng-template>
537
- <p-badge *ngIf="getItemProp(processedItem, 'badge')" [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
538
- <ng-container *ngIf="isItemGroup(processedItem)">
539
- <svg
540
- data-p-icon="angle-right"
541
- *ngIf="!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()"
542
- [class]="cx('submenuIcon')"
543
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
544
- [attr.aria-hidden]="true"
545
- />
546
- <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
547
- </ng-container>
548
- </a>
549
- <a
550
- *ngIf="getItemProp(processedItem, 'routerLink')"
551
- [routerLink]="getItemProp(processedItem, 'routerLink')"
552
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
553
- [attr.title]="getItemProp(processedItem, 'title')"
554
- [attr.tabindex]="-1"
555
- [queryParams]="getItemProp(processedItem, 'queryParams')"
556
- [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
557
- [target]="getItemProp(processedItem, 'target')"
558
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
559
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
560
- [fragment]="getItemProp(processedItem, 'fragment')"
561
- [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
562
- [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
563
- [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
564
- [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
565
- [state]="getItemProp(processedItem, 'state')"
566
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
567
- pRipple
568
- >
569
- <span
570
- *ngIf="getItemProp(processedItem, 'icon')"
571
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
572
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
573
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
574
- [attr.aria-hidden]="true"
575
- [attr.tabindex]="-1"
576
- >
577
- </span>
578
- <span
579
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
580
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
581
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
582
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
583
- >
584
- {{ getItemLabel(processedItem) }}
585
- </span>
586
- <ng-template #htmlLabel>
587
- <span
588
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
589
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
590
- [innerHTML]="getItemLabel(processedItem)"
591
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
592
- ></span>
593
- </ng-template>
594
- <p-badge *ngIf="getItemProp(processedItem, 'badge')" [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
595
- <ng-container *ngIf="isItemGroup(processedItem)">
596
- <svg
597
- data-p-icon="angle-right"
598
- *ngIf="!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()"
599
- [class]="cx('submenuIcon')"
600
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
601
- [attr.aria-hidden]="true"
602
- />
603
- <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
604
- </ng-container>
605
- </a>
606
- </ng-container>
607
- <ng-container *ngIf="itemTemplate()">
608
- <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item }"></ng-template>
609
- </ng-container>
610
- </div>
456
+ @for (processedItem of items(); track processedItem.key; let index = $index) {
457
+ @if (isItemVisible(processedItem) && getItemProp(processedItem, 'separator')) {
458
+ <li [attr.id]="getItemId(processedItem)" [style]="getItemProp(processedItem, 'style')" [class]="cn(cx('separator'), getItemProp(processedItem, 'styleClass'))" role="separator" [pBind]="_ptm('separator')"></li>
459
+ }
460
+ @if (isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')) {
461
+ <li
462
+ #listItem
463
+ role="menuitem"
464
+ [attr.id]="getItemId(processedItem)"
465
+ [attr.data-p-highlight]="isItemActive(processedItem)"
466
+ [attr.data-p-focused]="isItemFocused(processedItem)"
467
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
468
+ [attr.aria-label]="getItemLabel(processedItem)"
469
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
470
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
471
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
472
+ [attr.aria-level]="level() + 1"
473
+ [attr.aria-setsize]="getAriaSetSize()"
474
+ [attr.aria-posinset]="getAriaPosInset(index)"
475
+ [style]="getItemProp(processedItem, 'style')"
476
+ [class]="cn(cx('item', { instance: this, processedItem }), getItemProp(processedItem, 'styleClass'))"
477
+ [pBind]="getPTOptions(processedItem, index, 'item')"
478
+ pTooltip
479
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
480
+ [pTooltipUnstyled]="unstyled()"
481
+ >
482
+ <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
483
+ @if (!itemTemplate()) {
484
+ @if (!getItemProp(processedItem, 'routerLink')) {
485
+ <a
486
+ [attr.href]="getItemProp(processedItem, 'url')"
487
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
488
+ [attr.title]="getItemProp(processedItem, 'title')"
489
+ [target]="getItemProp(processedItem, 'target')"
490
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
491
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
492
+ [attr.tabindex]="-1"
493
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
494
+ pRipple
495
+ >
496
+ @if (getItemProp(processedItem, 'icon')) {
497
+ <span
498
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
499
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
500
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
501
+ [attr.aria-hidden]="true"
502
+ [attr.tabindex]="-1"
503
+ >
504
+ </span>
505
+ }
506
+ @if (getItemProp(processedItem, 'escape')) {
507
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
508
+ {{ getItemLabel(processedItem) }}
509
+ </span>
510
+ } @else {
511
+ <span
512
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
513
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
514
+ [innerHTML]="getItemLabel(processedItem)"
515
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
516
+ ></span>
517
+ }
518
+ @if (getItemProp(processedItem, 'badge')) {
519
+ <p-badge [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
520
+ }
521
+ @if (isItemGroup(processedItem)) {
522
+ @if (!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()) {
523
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
524
+ }
525
+ <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
526
+ }
527
+ </a>
528
+ }
529
+ @if (getItemProp(processedItem, 'routerLink')) {
530
+ <a
531
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
532
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
533
+ [attr.title]="getItemProp(processedItem, 'title')"
534
+ [attr.tabindex]="-1"
535
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
536
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
537
+ [target]="getItemProp(processedItem, 'target')"
538
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
539
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
540
+ [fragment]="getItemProp(processedItem, 'fragment')"
541
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
542
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
543
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
544
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
545
+ [state]="getItemProp(processedItem, 'state')"
546
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
547
+ pRipple
548
+ >
549
+ @if (getItemProp(processedItem, 'icon')) {
550
+ <span
551
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
552
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
553
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
554
+ [attr.aria-hidden]="true"
555
+ [attr.tabindex]="-1"
556
+ >
557
+ </span>
558
+ }
559
+ @if (getItemProp(processedItem, 'escape')) {
560
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
561
+ {{ getItemLabel(processedItem) }}
562
+ </span>
563
+ } @else {
564
+ <span
565
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
566
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
567
+ [innerHTML]="getItemLabel(processedItem)"
568
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
569
+ ></span>
570
+ }
571
+ @if (getItemProp(processedItem, 'badge')) {
572
+ <p-badge [class]="getItemProp(processedItem, 'badgeStyleClass')" [value]="getItemProp(processedItem, 'badge')" [unstyled]="unstyled()" />
573
+ }
574
+ @if (isItemGroup(processedItem)) {
575
+ @if (!contextMenu.submenuIconTemplate() && !contextMenu._submenuIconTemplate()) {
576
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
577
+ }
578
+ <ng-template *ngTemplateOutlet="contextMenu.submenuIconTemplate() || contextMenu._submenuIconTemplate(); context: { class: 'p-contextmenu-submenu-icon' }" [attr.aria-hidden]="true"></ng-template>
579
+ }
580
+ </a>
581
+ }
582
+ }
583
+ @if (itemTemplate()) {
584
+ <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item }"></ng-template>
585
+ }
586
+ </div>
611
587
 
612
- <p-contextmenu-sub
613
- *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)"
614
- [items]="processedItem.items"
615
- [itemTemplate]="itemTemplate()"
616
- [menuId]="menuId()"
617
- [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
618
- [activeItemPath]="activeItemPath()"
619
- [focusedItemId]="focusedItemId()"
620
- [level]="level() + 1"
621
- (itemClick)="itemClick.emit($event)"
622
- (itemMouseEnter)="onItemMouseEnter($event)"
623
- [pt]="pt()"
624
- [motionOptions]="motionOptions()"
625
- [unstyled]="unstyled()"
626
- />
627
- </li>
628
- </ng-template>
588
+ @if (isItemVisible(processedItem) && isItemGroup(processedItem)) {
589
+ <p-contextmenu-sub
590
+ [items]="processedItem.items"
591
+ [itemTemplate]="itemTemplate()"
592
+ [menuId]="menuId()"
593
+ [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
594
+ [activeItemPath]="activeItemPath()"
595
+ [focusedItemId]="focusedItemId()"
596
+ [level]="level() + 1"
597
+ (itemClick)="itemClick.emit($event)"
598
+ (itemMouseEnter)="onItemMouseEnter($event)"
599
+ [pt]="pt()"
600
+ [motionOptions]="motionOptions()"
601
+ [unstyled]="unstyled()"
602
+ />
603
+ }
604
+ </li>
605
+ }
606
+ }
629
607
  </ul>
630
608
  }
631
609
  `,