@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
@@ -67,7 +67,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
67
67
  *
68
68
  * TieredMenu displays submenus in nested overlays.
69
69
  *
70
- * [Live Demo](https://exhaustive-ui.e-xiste.com/menu/)
70
+ * [Live Demo](https://exhaustive-ui.com/menu/)
71
71
  *
72
72
  * @module tieredmenustyle
73
73
  *
@@ -282,174 +282,169 @@ class TieredMenuSub extends BaseComponent {
282
282
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
283
283
  (pMotionOnAfterLeave)="onAfterLeave()"
284
284
  >
285
- <ng-template ngFor let-processedItem [ngForOf]="items()" let-index="index">
286
- <li
287
- *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
288
- [attr.id]="getItemId(processedItem)"
289
- [style]="getItemProp(processedItem, 'style')"
290
- [class]="cn(cx('separator'), getItemProp(processedItem, 'class'), getItemProp(processedItem, 'styleClass'))"
291
- role="separator"
292
- [pBind]="_ptm('separator')"
293
- ></li>
294
- <li
295
- #listItem
296
- *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
297
- role="menuitem"
298
- [attr.id]="getItemId(processedItem)"
299
- [attr.data-p-highlight]="isItemActive(processedItem)"
300
- [attr.data-p-focused]="isItemFocused(processedItem)"
301
- [attr.data-p-disabled]="isItemDisabled(processedItem)"
302
- [attr.aria-label]="getItemLabel(processedItem)"
303
- [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
304
- [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
305
- [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
306
- [attr.aria-setsize]="getAriaSetSize()"
307
- [attr.aria-posinset]="getAriaPosInset(index)"
308
- [ngStyle]="getItemProp(processedItem, 'style')"
309
- [class]="cn(cx('item', { processedItem }), getItemProp(processedItem, 'styleClass'))"
310
- [pBind]="getPTOptions(processedItem, index, 'item')"
311
- [pTooltip]="getItemProp(processedItem, 'tooltip')"
312
- [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
313
- [pTooltipUnstyled]="unstyled()"
314
- >
315
- <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
316
- <ng-container *ngIf="!itemTemplate()">
317
- <a
318
- *ngIf="!getItemProp(processedItem, 'routerLink')"
319
- [attr.href]="getItemProp(processedItem, 'url')"
320
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
321
- [attr.title]="getItemProp(processedItem, 'title')"
322
- [target]="getItemProp(processedItem, 'target')"
323
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
324
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
325
- [attr.tabindex]="-1"
326
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
327
- pRipple
328
- >
329
- <span
330
- *ngIf="getItemProp(processedItem, 'icon')"
331
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
332
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
333
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
334
- [attr.tabindex]="-1"
335
- >
336
- </span>
337
- <span
338
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
339
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
340
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
341
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
342
- >
343
- {{ getItemLabel(processedItem) }}
344
- </span>
345
- <ng-template #htmlLabel>
346
- <span
347
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
348
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
349
- [innerHTML]="getItemLabel(processedItem)"
350
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
351
- ></span>
352
- </ng-template>
353
- <span *ngIf="getItemProp(processedItem, 'badge')" [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
285
+ @for (processedItem of items(); track processedItem.key; let index = $index) {
286
+ @if (isItemVisible(processedItem) && getItemProp(processedItem, 'separator')) {
287
+ <li
288
+ [attr.id]="getItemId(processedItem)"
289
+ [style]="getItemProp(processedItem, 'style')"
290
+ [class]="cn(cx('separator'), getItemProp(processedItem, 'class'), getItemProp(processedItem, 'styleClass'))"
291
+ role="separator"
292
+ [pBind]="_ptm('separator')"
293
+ ></li>
294
+ }
295
+ @if (isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')) {
296
+ <li
297
+ #listItem
298
+ role="menuitem"
299
+ [attr.id]="getItemId(processedItem)"
300
+ [attr.data-p-highlight]="isItemActive(processedItem)"
301
+ [attr.data-p-focused]="isItemFocused(processedItem)"
302
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
303
+ [attr.aria-label]="getItemLabel(processedItem)"
304
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
305
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
306
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
307
+ [attr.aria-setsize]="getAriaSetSize()"
308
+ [attr.aria-posinset]="getAriaPosInset(index)"
309
+ [ngStyle]="getItemProp(processedItem, 'style')"
310
+ [class]="cn(cx('item', { processedItem }), getItemProp(processedItem, 'styleClass'))"
311
+ [pBind]="getPTOptions(processedItem, index, 'item')"
312
+ [pTooltip]="getItemProp(processedItem, 'tooltip')"
313
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
314
+ [pTooltipUnstyled]="unstyled()"
315
+ >
316
+ <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
317
+ @if (!itemTemplate()) {
318
+ @if (!getItemProp(processedItem, 'routerLink')) {
319
+ <a
320
+ [attr.href]="getItemProp(processedItem, 'url')"
321
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
322
+ [attr.title]="getItemProp(processedItem, 'title')"
323
+ [target]="getItemProp(processedItem, 'target')"
324
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
325
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
326
+ [attr.tabindex]="-1"
327
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
328
+ pRipple
329
+ >
330
+ @if (getItemProp(processedItem, 'icon')) {
331
+ <span
332
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
333
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
334
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
335
+ [attr.tabindex]="-1"
336
+ >
337
+ </span>
338
+ }
339
+ @if (getItemProp(processedItem, 'escape')) {
340
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
341
+ {{ getItemLabel(processedItem) }}
342
+ </span>
343
+ } @else {
344
+ <span
345
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
346
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
347
+ [innerHTML]="getItemLabel(processedItem)"
348
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
349
+ ></span>
350
+ }
351
+ @if (getItemProp(processedItem, 'badge')) {
352
+ <span [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
353
+ }
354
354
 
355
- <ng-container *ngIf="isItemGroup(processedItem)">
356
- <svg
357
- data-p-icon="angle-right"
358
- *ngIf="!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()"
359
- [class]="cx('submenuIcon')"
360
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
361
- [attr.aria-hidden]="true"
362
- />
363
- <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
364
- </ng-container>
365
- </a>
366
- <a
367
- *ngIf="getItemProp(processedItem, 'routerLink')"
368
- [routerLink]="getItemProp(processedItem, 'routerLink')"
369
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
370
- [attr.title]="getItemProp(processedItem, 'title')"
371
- [attr.tabindex]="-1"
372
- [queryParams]="getItemProp(processedItem, 'queryParams')"
373
- [routerLinkActive]="'p-tieredmenu-item-link-active'"
374
- [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
375
- [target]="getItemProp(processedItem, 'target')"
376
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
377
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
378
- [fragment]="getItemProp(processedItem, 'fragment')"
379
- [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
380
- [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
381
- [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
382
- [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
383
- [state]="getItemProp(processedItem, 'state')"
384
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
385
- pRipple
386
- >
387
- <span
388
- *ngIf="getItemProp(processedItem, 'icon')"
389
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
390
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
391
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
392
- [attr.aria-hidden]="true"
393
- [attr.tabindex]="-1"
394
- >
395
- </span>
396
- <span
397
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
398
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
399
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
400
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
401
- >
402
- {{ getItemLabel(processedItem) }}
403
- </span>
404
- <ng-template #htmlLabel>
405
- <span
406
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
407
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
408
- [innerHTML]="getItemLabel(processedItem)"
409
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
410
- ></span>
411
- </ng-template>
412
- <span *ngIf="getItemProp(processedItem, 'badge')" [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
355
+ @if (isItemGroup(processedItem)) {
356
+ @if (!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()) {
357
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
358
+ }
359
+ <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
360
+ }
361
+ </a>
362
+ }
363
+ @if (getItemProp(processedItem, 'routerLink')) {
364
+ <a
365
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
366
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
367
+ [attr.title]="getItemProp(processedItem, 'title')"
368
+ [attr.tabindex]="-1"
369
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
370
+ [routerLinkActive]="'p-tieredmenu-item-link-active'"
371
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
372
+ [target]="getItemProp(processedItem, 'target')"
373
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
374
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
375
+ [fragment]="getItemProp(processedItem, 'fragment')"
376
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
377
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
378
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
379
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
380
+ [state]="getItemProp(processedItem, 'state')"
381
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
382
+ pRipple
383
+ >
384
+ @if (getItemProp(processedItem, 'icon')) {
385
+ <span
386
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
387
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
388
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
389
+ [attr.aria-hidden]="true"
390
+ [attr.tabindex]="-1"
391
+ >
392
+ </span>
393
+ }
394
+ @if (getItemProp(processedItem, 'escape')) {
395
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
396
+ {{ getItemLabel(processedItem) }}
397
+ </span>
398
+ } @else {
399
+ <span
400
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
401
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
402
+ [innerHTML]="getItemLabel(processedItem)"
403
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
404
+ ></span>
405
+ }
406
+ @if (getItemProp(processedItem, 'badge')) {
407
+ <span [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
408
+ }
413
409
 
414
- <ng-container *ngIf="isItemGroup(processedItem)">
415
- <svg
416
- data-p-icon="angle-right"
417
- *ngIf="!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()"
418
- [class]="cx('submenuIcon')"
419
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
420
- [attr.aria-hidden]="true"
421
- />
422
- <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
423
- </ng-container>
424
- </a>
425
- </ng-container>
426
- <ng-container *ngIf="itemTemplate()">
427
- <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item, hasSubmenu: getItemProp(processedItem, 'items') }"></ng-template>
428
- </ng-container>
429
- </div>
410
+ @if (isItemGroup(processedItem)) {
411
+ @if (!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()) {
412
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
413
+ }
414
+ <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
415
+ }
416
+ </a>
417
+ }
418
+ }
419
+ @if (itemTemplate()) {
420
+ <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item, hasSubmenu: getItemProp(processedItem, 'items') }"></ng-template>
421
+ }
422
+ </div>
430
423
 
431
- <p-tieredmenusub
432
- *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)"
433
- [items]="processedItem.items"
434
- [itemTemplate]="itemTemplate()"
435
- [autoDisplay]="autoDisplay()"
436
- [menuId]="menuId()"
437
- [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
438
- [activeItemPath]="activeItemPath()"
439
- [focusedItemId]="focusedItemId()"
440
- [ariaLabelledBy]="getItemId(processedItem)"
441
- [level]="level() + 1"
442
- (itemClick)="itemClick.emit($event)"
443
- (itemMouseEnter)="onItemMouseEnter($event)"
444
- [pt]="pt()"
445
- [motionOptions]="motionOptions()"
446
- [unstyled]="unstyled()"
447
- ></p-tieredmenusub>
448
- </li>
449
- </ng-template>
424
+ @if (isItemVisible(processedItem) && isItemGroup(processedItem)) {
425
+ <p-tieredmenusub
426
+ [items]="processedItem.items"
427
+ [itemTemplate]="itemTemplate()"
428
+ [autoDisplay]="autoDisplay()"
429
+ [menuId]="menuId()"
430
+ [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
431
+ [activeItemPath]="activeItemPath()"
432
+ [focusedItemId]="focusedItemId()"
433
+ [ariaLabelledBy]="getItemId(processedItem)"
434
+ [level]="level() + 1"
435
+ (itemClick)="itemClick.emit($event)"
436
+ (itemMouseEnter)="onItemMouseEnter($event)"
437
+ [pt]="pt()"
438
+ [motionOptions]="motionOptions()"
439
+ [unstyled]="unstyled()"
440
+ ></p-tieredmenusub>
441
+ }
442
+ </li>
443
+ }
444
+ }
450
445
  </ul>
451
446
  }
452
- `, isInline: true, dependencies: [{ kind: "component", type: TieredMenuSub, selector: "p-tieredMenuSub, p-tieredmenusub", inputs: ["visible", "items", "itemTemplate", "root", "autoDisplay", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "motionOptions", "tabindex", "inlineStyles"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: CommonModule }, { 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: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "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: "directive", type: i4.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: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i5.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 });
447
+ `, isInline: true, dependencies: [{ kind: "component", type: TieredMenuSub, selector: "p-tieredMenuSub, p-tieredmenusub", inputs: ["visible", "items", "itemTemplate", "root", "autoDisplay", "menuId", "ariaLabel", "ariaLabelledBy", "level", "focusedItemId", "activeItemPath", "motionOptions", "tabindex", "inlineStyles"], outputs: ["itemClick", "itemMouseEnter", "menuFocus", "menuBlur", "menuKeydown"] }, { kind: "ngmodule", type: CommonModule }, { 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", "browserUrl", "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: "directive", type: i4.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: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i5.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 });
453
448
  }
454
449
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TieredMenuSub, decorators: [{
455
450
  type: Component,
@@ -482,171 +477,166 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
482
477
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
483
478
  (pMotionOnAfterLeave)="onAfterLeave()"
484
479
  >
485
- <ng-template ngFor let-processedItem [ngForOf]="items()" let-index="index">
486
- <li
487
- *ngIf="isItemVisible(processedItem) && getItemProp(processedItem, 'separator')"
488
- [attr.id]="getItemId(processedItem)"
489
- [style]="getItemProp(processedItem, 'style')"
490
- [class]="cn(cx('separator'), getItemProp(processedItem, 'class'), getItemProp(processedItem, 'styleClass'))"
491
- role="separator"
492
- [pBind]="_ptm('separator')"
493
- ></li>
494
- <li
495
- #listItem
496
- *ngIf="isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')"
497
- role="menuitem"
498
- [attr.id]="getItemId(processedItem)"
499
- [attr.data-p-highlight]="isItemActive(processedItem)"
500
- [attr.data-p-focused]="isItemFocused(processedItem)"
501
- [attr.data-p-disabled]="isItemDisabled(processedItem)"
502
- [attr.aria-label]="getItemLabel(processedItem)"
503
- [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
504
- [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
505
- [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
506
- [attr.aria-setsize]="getAriaSetSize()"
507
- [attr.aria-posinset]="getAriaPosInset(index)"
508
- [ngStyle]="getItemProp(processedItem, 'style')"
509
- [class]="cn(cx('item', { processedItem }), getItemProp(processedItem, 'styleClass'))"
510
- [pBind]="getPTOptions(processedItem, index, 'item')"
511
- [pTooltip]="getItemProp(processedItem, 'tooltip')"
512
- [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
513
- [pTooltipUnstyled]="unstyled()"
514
- >
515
- <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
516
- <ng-container *ngIf="!itemTemplate()">
517
- <a
518
- *ngIf="!getItemProp(processedItem, 'routerLink')"
519
- [attr.href]="getItemProp(processedItem, 'url')"
520
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
521
- [attr.title]="getItemProp(processedItem, 'title')"
522
- [target]="getItemProp(processedItem, 'target')"
523
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
524
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
525
- [attr.tabindex]="-1"
526
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
527
- pRipple
528
- >
529
- <span
530
- *ngIf="getItemProp(processedItem, 'icon')"
531
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
532
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
533
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
534
- [attr.tabindex]="-1"
535
- >
536
- </span>
537
- <span
538
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
539
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
540
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
541
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
542
- >
543
- {{ getItemLabel(processedItem) }}
544
- </span>
545
- <ng-template #htmlLabel>
546
- <span
547
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
548
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
549
- [innerHTML]="getItemLabel(processedItem)"
550
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
551
- ></span>
552
- </ng-template>
553
- <span *ngIf="getItemProp(processedItem, 'badge')" [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
480
+ @for (processedItem of items(); track processedItem.key; let index = $index) {
481
+ @if (isItemVisible(processedItem) && getItemProp(processedItem, 'separator')) {
482
+ <li
483
+ [attr.id]="getItemId(processedItem)"
484
+ [style]="getItemProp(processedItem, 'style')"
485
+ [class]="cn(cx('separator'), getItemProp(processedItem, 'class'), getItemProp(processedItem, 'styleClass'))"
486
+ role="separator"
487
+ [pBind]="_ptm('separator')"
488
+ ></li>
489
+ }
490
+ @if (isItemVisible(processedItem) && !getItemProp(processedItem, 'separator')) {
491
+ <li
492
+ #listItem
493
+ role="menuitem"
494
+ [attr.id]="getItemId(processedItem)"
495
+ [attr.data-p-highlight]="isItemActive(processedItem)"
496
+ [attr.data-p-focused]="isItemFocused(processedItem)"
497
+ [attr.data-p-disabled]="isItemDisabled(processedItem)"
498
+ [attr.aria-label]="getItemLabel(processedItem)"
499
+ [attr.aria-disabled]="isItemDisabled(processedItem) || undefined"
500
+ [attr.aria-haspopup]="isItemGroup(processedItem) && !getItemProp(processedItem, 'to') ? 'menu' : undefined"
501
+ [attr.aria-expanded]="isItemGroup(processedItem) ? isItemActive(processedItem) : undefined"
502
+ [attr.aria-setsize]="getAriaSetSize()"
503
+ [attr.aria-posinset]="getAriaPosInset(index)"
504
+ [ngStyle]="getItemProp(processedItem, 'style')"
505
+ [class]="cn(cx('item', { processedItem }), getItemProp(processedItem, 'styleClass'))"
506
+ [pBind]="getPTOptions(processedItem, index, 'item')"
507
+ [pTooltip]="getItemProp(processedItem, 'tooltip')"
508
+ [tooltipOptions]="getItemProp(processedItem, 'tooltipOptions')"
509
+ [pTooltipUnstyled]="unstyled()"
510
+ >
511
+ <div [class]="cx('itemContent')" [pBind]="getPTOptions(processedItem, index, 'itemContent')" (click)="onItemClick($event, processedItem)" (mouseenter)="onItemMouseEnter({ $event, processedItem })">
512
+ @if (!itemTemplate()) {
513
+ @if (!getItemProp(processedItem, 'routerLink')) {
514
+ <a
515
+ [attr.href]="getItemProp(processedItem, 'url')"
516
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
517
+ [attr.title]="getItemProp(processedItem, 'title')"
518
+ [target]="getItemProp(processedItem, 'target')"
519
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
520
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
521
+ [attr.tabindex]="-1"
522
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
523
+ pRipple
524
+ >
525
+ @if (getItemProp(processedItem, 'icon')) {
526
+ <span
527
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
528
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
529
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
530
+ [attr.tabindex]="-1"
531
+ >
532
+ </span>
533
+ }
534
+ @if (getItemProp(processedItem, 'escape')) {
535
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
536
+ {{ getItemLabel(processedItem) }}
537
+ </span>
538
+ } @else {
539
+ <span
540
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
541
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
542
+ [innerHTML]="getItemLabel(processedItem)"
543
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
544
+ ></span>
545
+ }
546
+ @if (getItemProp(processedItem, 'badge')) {
547
+ <span [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
548
+ }
554
549
 
555
- <ng-container *ngIf="isItemGroup(processedItem)">
556
- <svg
557
- data-p-icon="angle-right"
558
- *ngIf="!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()"
559
- [class]="cx('submenuIcon')"
560
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
561
- [attr.aria-hidden]="true"
562
- />
563
- <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
564
- </ng-container>
565
- </a>
566
- <a
567
- *ngIf="getItemProp(processedItem, 'routerLink')"
568
- [routerLink]="getItemProp(processedItem, 'routerLink')"
569
- [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
570
- [attr.title]="getItemProp(processedItem, 'title')"
571
- [attr.tabindex]="-1"
572
- [queryParams]="getItemProp(processedItem, 'queryParams')"
573
- [routerLinkActive]="'p-tieredmenu-item-link-active'"
574
- [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
575
- [target]="getItemProp(processedItem, 'target')"
576
- [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
577
- [ngStyle]="getItemProp(processedItem, 'linkStyle')"
578
- [fragment]="getItemProp(processedItem, 'fragment')"
579
- [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
580
- [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
581
- [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
582
- [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
583
- [state]="getItemProp(processedItem, 'state')"
584
- [pBind]="getPTOptions(processedItem, index, 'itemLink')"
585
- pRipple
586
- >
587
- <span
588
- *ngIf="getItemProp(processedItem, 'icon')"
589
- [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
590
- [ngStyle]="getItemProp(processedItem, 'iconStyle')"
591
- [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
592
- [attr.aria-hidden]="true"
593
- [attr.tabindex]="-1"
594
- >
595
- </span>
596
- <span
597
- *ngIf="getItemProp(processedItem, 'escape'); else htmlLabel"
598
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
599
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
600
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
601
- >
602
- {{ getItemLabel(processedItem) }}
603
- </span>
604
- <ng-template #htmlLabel>
605
- <span
606
- [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
607
- [ngStyle]="getItemProp(processedItem, 'labelStyle')"
608
- [innerHTML]="getItemLabel(processedItem)"
609
- [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
610
- ></span>
611
- </ng-template>
612
- <span *ngIf="getItemProp(processedItem, 'badge')" [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
550
+ @if (isItemGroup(processedItem)) {
551
+ @if (!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()) {
552
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
553
+ }
554
+ <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
555
+ }
556
+ </a>
557
+ }
558
+ @if (getItemProp(processedItem, 'routerLink')) {
559
+ <a
560
+ [routerLink]="getItemProp(processedItem, 'routerLink')"
561
+ [attr.data-automationid]="getItemProp(processedItem, 'automationId')"
562
+ [attr.title]="getItemProp(processedItem, 'title')"
563
+ [attr.tabindex]="-1"
564
+ [queryParams]="getItemProp(processedItem, 'queryParams')"
565
+ [routerLinkActive]="'p-tieredmenu-item-link-active'"
566
+ [routerLinkActiveOptions]="getItemProp(processedItem, 'routerLinkActiveOptions') || { exact: false }"
567
+ [target]="getItemProp(processedItem, 'target')"
568
+ [class]="cn(cx('itemLink'), getItemProp(processedItem, 'linkClass'))"
569
+ [ngStyle]="getItemProp(processedItem, 'linkStyle')"
570
+ [fragment]="getItemProp(processedItem, 'fragment')"
571
+ [queryParamsHandling]="getItemProp(processedItem, 'queryParamsHandling')"
572
+ [preserveFragment]="getItemProp(processedItem, 'preserveFragment')"
573
+ [skipLocationChange]="getItemProp(processedItem, 'skipLocationChange')"
574
+ [replaceUrl]="getItemProp(processedItem, 'replaceUrl')"
575
+ [state]="getItemProp(processedItem, 'state')"
576
+ [pBind]="getPTOptions(processedItem, index, 'itemLink')"
577
+ pRipple
578
+ >
579
+ @if (getItemProp(processedItem, 'icon')) {
580
+ <span
581
+ [class]="cn(cx('itemIcon'), getItemProp(processedItem, 'icon'), getItemProp(processedItem, 'iconClass'))"
582
+ [ngStyle]="getItemProp(processedItem, 'iconStyle')"
583
+ [pBind]="getPTOptions(processedItem, index, 'itemIcon')"
584
+ [attr.aria-hidden]="true"
585
+ [attr.tabindex]="-1"
586
+ >
587
+ </span>
588
+ }
589
+ @if (getItemProp(processedItem, 'escape')) {
590
+ <span [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))" [ngStyle]="getItemProp(processedItem, 'labelStyle')" [pBind]="getPTOptions(processedItem, index, 'itemLabel')">
591
+ {{ getItemLabel(processedItem) }}
592
+ </span>
593
+ } @else {
594
+ <span
595
+ [class]="cn(cx('itemLabel'), getItemProp(processedItem, 'labelClass'))"
596
+ [ngStyle]="getItemProp(processedItem, 'labelStyle')"
597
+ [innerHTML]="getItemLabel(processedItem)"
598
+ [pBind]="getPTOptions(processedItem, index, 'itemLabel')"
599
+ ></span>
600
+ }
601
+ @if (getItemProp(processedItem, 'badge')) {
602
+ <span [class]="cn(cx('itemBadge'), getItemProp(processedItem, 'badgeStyleClass'))">{{ getItemProp(processedItem, 'badge') }}</span>
603
+ }
613
604
 
614
- <ng-container *ngIf="isItemGroup(processedItem)">
615
- <svg
616
- data-p-icon="angle-right"
617
- *ngIf="!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()"
618
- [class]="cx('submenuIcon')"
619
- [pBind]="getPTOptions(processedItem, index, 'submenuIcon')"
620
- [attr.aria-hidden]="true"
621
- />
622
- <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
623
- </ng-container>
624
- </a>
625
- </ng-container>
626
- <ng-container *ngIf="itemTemplate()">
627
- <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item, hasSubmenu: getItemProp(processedItem, 'items') }"></ng-template>
628
- </ng-container>
629
- </div>
605
+ @if (isItemGroup(processedItem)) {
606
+ @if (!tieredMenu.submenuIconTemplate() && !tieredMenu._submenuIconTemplate()) {
607
+ <svg data-p-icon="angle-right" [class]="cx('submenuIcon')" [pBind]="getPTOptions(processedItem, index, 'submenuIcon')" [attr.aria-hidden]="true" />
608
+ }
609
+ <ng-template *ngTemplateOutlet="tieredMenu.submenuIconTemplate() || tieredMenu._submenuIconTemplate()" [attr.aria-hidden]="true"></ng-template>
610
+ }
611
+ </a>
612
+ }
613
+ }
614
+ @if (itemTemplate()) {
615
+ <ng-template *ngTemplateOutlet="itemTemplate(); context: { $implicit: processedItem.item, hasSubmenu: getItemProp(processedItem, 'items') }"></ng-template>
616
+ }
617
+ </div>
630
618
 
631
- <p-tieredmenusub
632
- *ngIf="isItemVisible(processedItem) && isItemGroup(processedItem)"
633
- [items]="processedItem.items"
634
- [itemTemplate]="itemTemplate()"
635
- [autoDisplay]="autoDisplay()"
636
- [menuId]="menuId()"
637
- [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
638
- [activeItemPath]="activeItemPath()"
639
- [focusedItemId]="focusedItemId()"
640
- [ariaLabelledBy]="getItemId(processedItem)"
641
- [level]="level() + 1"
642
- (itemClick)="itemClick.emit($event)"
643
- (itemMouseEnter)="onItemMouseEnter($event)"
644
- [pt]="pt()"
645
- [motionOptions]="motionOptions()"
646
- [unstyled]="unstyled()"
647
- ></p-tieredmenusub>
648
- </li>
649
- </ng-template>
619
+ @if (isItemVisible(processedItem) && isItemGroup(processedItem)) {
620
+ <p-tieredmenusub
621
+ [items]="processedItem.items"
622
+ [itemTemplate]="itemTemplate()"
623
+ [autoDisplay]="autoDisplay()"
624
+ [menuId]="menuId()"
625
+ [visible]="isItemActive(processedItem) && isItemGroup(processedItem)"
626
+ [activeItemPath]="activeItemPath()"
627
+ [focusedItemId]="focusedItemId()"
628
+ [ariaLabelledBy]="getItemId(processedItem)"
629
+ [level]="level() + 1"
630
+ (itemClick)="itemClick.emit($event)"
631
+ (itemMouseEnter)="onItemMouseEnter($event)"
632
+ [pt]="pt()"
633
+ [motionOptions]="motionOptions()"
634
+ [unstyled]="unstyled()"
635
+ ></p-tieredmenusub>
636
+ }
637
+ </li>
638
+ }
639
+ }
650
640
  </ul>
651
641
  }
652
642
  `,