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

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 (375) hide show
  1. package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
  4. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-api.mjs +10 -17
  6. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +786 -928
  8. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
  10. package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
  12. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
  14. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
  16. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
  18. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
  20. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-carousel.mjs +561 -599
  22. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
  24. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
  26. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
  28. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
  30. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
  32. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +227 -394
  34. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +255 -266
  36. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +585 -653
  38. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
  40. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-datepicker.mjs +1792 -1787
  42. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-dialog.mjs +480 -577
  44. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
  46. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
  48. package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
  50. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
  52. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
  54. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
  56. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-fileupload.mjs +774 -745
  58. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
  60. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
  62. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
  64. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
  66. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
  68. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
  70. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
  72. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
  74. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
  76. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
  78. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
  80. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
  82. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
  84. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
  86. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
  88. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
  90. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
  92. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
  94. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
  96. package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
  98. package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
  100. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
  102. package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
  104. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
  106. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
  108. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
  110. package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
  112. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
  114. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
  116. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
  118. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
  120. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
  122. package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
  124. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
  126. package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
  128. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
  130. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
  132. package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
  134. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
  136. package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
  138. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
  140. package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
  142. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
  144. package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
  146. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
  148. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
  150. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
  152. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
  154. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
  156. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
  158. package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
  160. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
  162. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
  164. package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
  166. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
  168. package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
  170. package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
  171. package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
  172. package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
  173. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
  174. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
  175. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
  176. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
  177. package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
  178. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  179. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
  180. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  181. package/fesm2022/exhaustive-ui-core-inplace.mjs +68 -102
  182. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  183. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
  184. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  185. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
  186. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  187. package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
  188. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  189. package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
  190. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  191. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
  192. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  193. package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
  194. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  195. package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
  196. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  197. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
  198. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  199. package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
  200. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  201. package/fesm2022/exhaustive-ui-core-listbox.mjs +591 -728
  202. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  203. package/fesm2022/exhaustive-ui-core-megamenu.mjs +324 -375
  204. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  205. package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
  206. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  207. package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
  208. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  209. package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
  210. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  211. package/fesm2022/exhaustive-ui-core-motion.mjs +2 -2
  212. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  213. package/fesm2022/exhaustive-ui-core-multiselect.mjs +945 -1045
  214. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  215. package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
  216. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  217. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
  218. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  219. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
  220. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  221. package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
  222. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  223. package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
  224. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  225. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
  226. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  227. package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
  228. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  229. package/fesm2022/exhaustive-ui-core-picklist.mjs +861 -879
  230. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  231. package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
  232. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  233. package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
  234. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  235. package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
  236. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  237. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
  238. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  239. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
  240. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  241. package/fesm2022/exhaustive-ui-core-select.mjs +837 -986
  242. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  243. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
  244. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  245. package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
  246. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  247. package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
  248. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  249. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
  250. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  251. package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
  252. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  253. package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
  254. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  255. package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
  256. package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
  257. package/fesm2022/exhaustive-ui-core-table.mjs +2435 -2721
  258. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  259. package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
  260. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  261. package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
  262. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  263. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +604 -690
  264. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  265. package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
  266. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  267. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
  268. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  269. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
  270. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  271. package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
  272. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  273. package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
  274. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  275. package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
  276. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  277. package/fesm2022/exhaustive-ui-core-treeselect.mjs +333 -423
  278. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  279. package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
  280. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  281. package/package.json +11 -11
  282. package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
  283. package/schematics/migrations/renamed-inputs/migration.js +97 -0
  284. package/schematics/migrations/styleclass-to-class/migration.js +92 -1
  285. package/schematics/migrations.json +11 -6
  286. package/schematics/utils/removed-inputs.js +0 -0
  287. package/schematics/utils/renamed-inputs.js +175 -0
  288. package/schematics/utils/styleclass.js +24 -8
  289. package/schematics/utils/versions.json +8 -8
  290. package/types/exhaustive-ui-core-accordion.d.ts +8 -24
  291. package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
  292. package/types/exhaustive-ui-core-api.d.ts +2 -3
  293. package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
  294. package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
  295. package/types/exhaustive-ui-core-avatar.d.ts +18 -25
  296. package/types/exhaustive-ui-core-badge.d.ts +13 -27
  297. package/types/exhaustive-ui-core-blockui.d.ts +18 -30
  298. package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
  299. package/types/exhaustive-ui-core-button.d.ts +57 -89
  300. package/types/exhaustive-ui-core-carousel.d.ts +56 -82
  301. package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
  302. package/types/exhaustive-ui-core-chart.d.ts +21 -29
  303. package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
  304. package/types/exhaustive-ui-core-chip.d.ts +31 -38
  305. package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
  306. package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
  307. package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
  308. package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
  309. package/types/exhaustive-ui-core-dataview.d.ts +42 -65
  310. package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
  311. package/types/exhaustive-ui-core-dialog.d.ts +73 -123
  312. package/types/exhaustive-ui-core-dock.d.ts +16 -25
  313. package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
  314. package/types/exhaustive-ui-core-drawer.d.ts +32 -64
  315. package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
  316. package/types/exhaustive-ui-core-editor.d.ts +15 -25
  317. package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
  318. package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
  319. package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
  320. package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
  321. package/types/exhaustive-ui-core-galleria.d.ts +124 -194
  322. package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
  323. package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
  324. package/types/exhaustive-ui-core-image.d.ts +35 -68
  325. package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
  326. package/types/exhaustive-ui-core-inplace.d.ts +30 -42
  327. package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
  328. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
  329. package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
  330. package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
  331. package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
  332. package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
  333. package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
  334. package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
  335. package/types/exhaustive-ui-core-knob.d.ts +45 -60
  336. package/types/exhaustive-ui-core-listbox.d.ts +90 -126
  337. package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
  338. package/types/exhaustive-ui-core-menu.d.ts +33 -53
  339. package/types/exhaustive-ui-core-menubar.d.ts +38 -85
  340. package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
  341. package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
  342. package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
  343. package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
  344. package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
  345. package/types/exhaustive-ui-core-paginator.d.ts +41 -69
  346. package/types/exhaustive-ui-core-panel.d.ts +18 -45
  347. package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
  348. package/types/exhaustive-ui-core-password.d.ts +56 -93
  349. package/types/exhaustive-ui-core-picklist.d.ts +107 -121
  350. package/types/exhaustive-ui-core-popover.d.ts +23 -47
  351. package/types/exhaustive-ui-core-rating.d.ts +18 -26
  352. package/types/exhaustive-ui-core-scroller.d.ts +90 -120
  353. package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
  354. package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
  355. package/types/exhaustive-ui-core-select.d.ts +137 -188
  356. package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
  357. package/types/exhaustive-ui-core-slider.d.ts +52 -67
  358. package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
  359. package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
  360. package/types/exhaustive-ui-core-splitter.d.ts +47 -59
  361. package/types/exhaustive-ui-core-steps.d.ts +24 -31
  362. package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
  363. package/types/exhaustive-ui-core-table.d.ts +349 -453
  364. package/types/exhaustive-ui-core-terminal.d.ts +10 -22
  365. package/types/exhaustive-ui-core-textarea.d.ts +7 -10
  366. package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
  367. package/types/exhaustive-ui-core-timeline.d.ts +20 -28
  368. package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
  369. package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
  370. package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
  371. package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
  372. package/types/exhaustive-ui-core-tree.d.ts +82 -119
  373. package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
  374. package/types/exhaustive-ui-core-treetable.d.ts +203 -280
  375. package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/dock';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, ChangeDetectorRef, output, viewChild, signal, contentChild, contentChildren, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, input, computed, output, viewChild, signal, inject, afterEveryRender, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import * as i3 from '@angular/router';
7
7
  import { RouterModule, RouterLink, RouterLinkActive } from '@angular/router';
8
8
  import { uuid, resolve, find, findSingle } from '@exhaustive-ui/utils';
@@ -20,7 +20,7 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
20
20
  const classes = {
21
21
  root: ({ instance }) => [
22
22
  'p-dock p-component',
23
- `p-dock-${instance.position}`,
23
+ `p-dock-${instance.position()}`,
24
24
  {
25
25
  'p-dock-mobile': instance.queryMatches()
26
26
  }
@@ -89,51 +89,51 @@ var DockClasses;
89
89
  DockClasses["itemIcon"] = "p-dock-item-icon";
90
90
  })(DockClasses || (DockClasses = {}));
91
91
 
92
- const DOCK_INSTANCE = new InjectionToken('DOCK_INSTANCE');
93
92
  /**
94
93
  * Dock is a navigation component consisting of menuitems.
95
94
  * @group Components
96
95
  */
97
96
  class Dock extends BaseComponent {
98
- cd = inject(ChangeDetectorRef);
99
97
  componentName = 'Dock';
100
98
  /**
101
99
  * Current id state as a string.
102
100
  * @group Props
103
101
  */
104
- id;
105
- /**
106
- * Class of the element.
107
- * @deprecated since v20.0.0, use `class` instead.
108
- * @group Props
109
- */
110
- styleClass;
102
+ id = input(/* @ts-ignore */
103
+ ...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
104
+ _id = computed(() => this.id() || uuid('pn_id_'), /* @ts-ignore */
105
+ ...(ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []));
111
106
  /**
112
107
  * MenuModel instance to define the action items.
113
108
  * @group Props
114
109
  */
115
- model = null;
110
+ model = input(null, /* @ts-ignore */
111
+ ...(ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []));
116
112
  /**
117
113
  * Position of element.
118
114
  * @group Props
119
115
  */
120
- position = 'bottom';
116
+ position = input('bottom', /* @ts-ignore */
117
+ ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
121
118
  /**
122
119
  * Defines a string that labels the input for accessibility.
123
120
  * @group Props
124
121
  */
125
- ariaLabel;
122
+ ariaLabel = input(/* @ts-ignore */
123
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
126
124
  /**
127
125
  * The breakpoint to define the maximum width boundary.
128
126
  * @defaultValue 960px
129
127
  * @group Props
130
128
  */
131
- breakpoint = '960px';
129
+ breakpoint = input('960px', /* @ts-ignore */
130
+ ...(ngDevMode ? [{ debugName: "breakpoint" }] : /* istanbul ignore next */ []));
132
131
  /**
133
132
  * Defines a string that labels the dropdown button for accessibility.
134
133
  * @group Props
135
134
  */
136
- ariaLabelledBy;
135
+ ariaLabelledBy = input(/* @ts-ignore */
136
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
137
137
  /**
138
138
  * Callback to execute when button is focused.
139
139
  * @param {FocusEvent} event - Focus event.
@@ -148,28 +148,33 @@ class Dock extends BaseComponent {
148
148
  onBlur = output();
149
149
  listViewChild = viewChild.required('list', /* @ts-ignore */
150
150
  ...(ngDevMode ? [{ debugName: "listViewChild" }] : /* istanbul ignore next */ []));
151
- currentIndex;
151
+ currentIndex = signal(-3, /* @ts-ignore */
152
+ ...(ngDevMode ? [{ debugName: "currentIndex" }] : /* istanbul ignore next */ []));
152
153
  tabindex = 0;
153
- focused = false;
154
- focusedOptionIndex = -1;
154
+ focused = signal(false, /* @ts-ignore */
155
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
156
+ focusedOptionIndex = signal(-1, /* @ts-ignore */
157
+ ...(ngDevMode ? [{ debugName: "focusedOptionIndex" }] : /* istanbul ignore next */ []));
155
158
  _componentStyle = inject(DockStyle);
156
159
  bindDirectiveInstance = inject(Bind, { self: true });
157
- $pcDock = inject(DOCK_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
158
- matchMediaListener;
159
- query;
160
+ matchMediaListener = signal(undefined, /* @ts-ignore */
161
+ ...(ngDevMode ? [{ debugName: "matchMediaListener" }] : /* istanbul ignore next */ []));
162
+ query = signal(undefined, /* @ts-ignore */
163
+ ...(ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []));
160
164
  queryMatches = signal(false, /* @ts-ignore */
161
165
  ...(ngDevMode ? [{ debugName: "queryMatches" }] : /* istanbul ignore next */ []));
162
166
  mobileActive = signal(false, /* @ts-ignore */
163
167
  ...(ngDevMode ? [{ debugName: "mobileActive" }] : /* istanbul ignore next */ []));
164
- get focusedOptionId() {
165
- return this.focusedOptionIndex !== -1 && this.focusedOptionIndex !== '-1' ? String(this.focusedOptionIndex) : null;
166
- }
168
+ focusedOptionId = computed(() => {
169
+ const focusedOptionIndex = this.focusedOptionIndex();
170
+ return focusedOptionIndex !== -1 && focusedOptionIndex !== '-1' ? String(focusedOptionIndex) : null;
171
+ }, /* @ts-ignore */
172
+ ...(ngDevMode ? [{ debugName: "focusedOptionId" }] : /* istanbul ignore next */ []));
167
173
  constructor() {
168
174
  super();
169
- this.currentIndex = -3;
175
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
170
176
  }
171
177
  onInit() {
172
- this.id = this.id || uuid('pn_id_');
173
178
  this.bindMatchMediaListener();
174
179
  }
175
180
  onDestroy() {
@@ -182,7 +187,8 @@ class Dock extends BaseComponent {
182
187
  */
183
188
  itemTemplate = contentChild('item', /* @ts-ignore */
184
189
  ...(ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
185
- _itemTemplate;
190
+ _itemTemplate = computed(() => this.templates().at(-1)?.template, /* @ts-ignore */
191
+ ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
186
192
  getItemId(item, index) {
187
193
  return item && item?.id ? item.id : `${index}`;
188
194
  }
@@ -193,17 +199,13 @@ class Dock extends BaseComponent {
193
199
  return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;
194
200
  }
195
201
  isItemActive(id) {
196
- return String(id) === String(this.focusedOptionIndex);
202
+ return String(id) === String(this.focusedOptionIndex());
197
203
  }
198
204
  onListMouseLeave() {
199
- this.currentIndex = -3;
200
- this.cd.markForCheck();
205
+ this.currentIndex.set(-3);
201
206
  }
202
207
  onItemMouseEnter(index) {
203
- this.currentIndex = index;
204
- if (index === 1) {
205
- }
206
- this.cd.markForCheck();
208
+ this.currentIndex.set(index);
207
209
  }
208
210
  onItemClick(e, item) {
209
211
  if (item.command) {
@@ -211,37 +213,37 @@ class Dock extends BaseComponent {
211
213
  }
212
214
  }
213
215
  onListFocus(event) {
214
- this.focused = true;
216
+ this.focused.set(true);
215
217
  this.changeFocusedOptionIndex(0);
216
218
  this.onFocus.emit(event);
217
219
  }
218
220
  onListBlur(event) {
219
- this.focused = false;
220
- this.focusedOptionIndex = -1;
221
+ this.focused.set(false);
222
+ this.focusedOptionIndex.set(-1);
221
223
  this.onBlur.emit(event);
222
224
  }
223
225
  onListKeyDown(event) {
224
226
  switch (event.code) {
225
227
  case 'ArrowDown': {
226
- if (this.position === 'left' || this.position === 'right')
228
+ if (this.position() === 'left' || this.position() === 'right')
227
229
  this.onArrowDownKey();
228
230
  event.preventDefault();
229
231
  break;
230
232
  }
231
233
  case 'ArrowUp': {
232
- if (this.position === 'left' || this.position === 'right')
234
+ if (this.position() === 'left' || this.position() === 'right')
233
235
  this.onArrowUpKey();
234
236
  event.preventDefault();
235
237
  break;
236
238
  }
237
239
  case 'ArrowRight': {
238
- if (this.position === 'top' || this.position === 'bottom')
240
+ if (this.position() === 'top' || this.position() === 'bottom')
239
241
  this.onArrowDownKey();
240
242
  event.preventDefault();
241
243
  break;
242
244
  }
243
245
  case 'ArrowLeft': {
244
- if (this.position === 'top' || this.position === 'bottom')
246
+ if (this.position() === 'top' || this.position() === 'bottom')
245
247
  this.onArrowUpKey();
246
248
  event.preventDefault();
247
249
  break;
@@ -267,11 +269,11 @@ class Dock extends BaseComponent {
267
269
  }
268
270
  }
269
271
  onArrowDownKey() {
270
- const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex);
272
+ const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());
271
273
  this.changeFocusedOptionIndex(optionIndex);
272
274
  }
273
275
  onArrowUpKey() {
274
- const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex);
276
+ const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());
275
277
  this.changeFocusedOptionIndex(optionIndex);
276
278
  }
277
279
  onHomeKey() {
@@ -281,7 +283,7 @@ class Dock extends BaseComponent {
281
283
  this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]').length - 1);
282
284
  }
283
285
  onSpaceKey() {
284
- const element = findSingle(this.listViewChild().nativeElement, `li[id="${`${this.focusedOptionIndex}`}"]`);
286
+ const element = findSingle(this.listViewChild().nativeElement, `li[id="${`${this.focusedOptionIndex()}`}"]`);
285
287
  const anchorElement = element && findSingle(element, 'a,button');
286
288
  anchorElement ? anchorElement.click() : element && element.click();
287
289
  }
@@ -293,7 +295,7 @@ class Dock extends BaseComponent {
293
295
  changeFocusedOptionIndex(index) {
294
296
  const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]');
295
297
  let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;
296
- this.focusedOptionIndex = menuitems[order]?.getAttribute('id');
298
+ this.focusedOptionIndex.set(menuitems[order]?.getAttribute('id'));
297
299
  }
298
300
  findPrevOptionIndex(index) {
299
301
  const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section="item"][data-p-disabled="false"]');
@@ -305,21 +307,6 @@ class Dock extends BaseComponent {
305
307
  }
306
308
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
307
309
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
308
- onAfterContentInit() {
309
- this.templates()?.forEach((item) => {
310
- switch (item.getType()) {
311
- case 'item':
312
- this._itemTemplate = item.template;
313
- break;
314
- default:
315
- this._itemTemplate = item.template;
316
- break;
317
- }
318
- });
319
- }
320
- onAfterViewChecked() {
321
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
322
- }
323
310
  getPTOptions(item, index, key) {
324
311
  return this.ptm(key, {
325
312
  context: {
@@ -329,44 +316,44 @@ class Dock extends BaseComponent {
329
316
  });
330
317
  }
331
318
  bindMatchMediaListener() {
332
- if (!this.matchMediaListener) {
333
- const query = window.matchMedia(`(max-width: ${this.breakpoint})`);
334
- this.query = query;
319
+ if (!this.matchMediaListener()) {
320
+ const query = window.matchMedia(`(max-width: ${this.breakpoint()})`);
321
+ this.query.set(query);
335
322
  this.queryMatches.set(query.matches);
336
- this.matchMediaListener = () => {
323
+ this.matchMediaListener.set(() => {
337
324
  this.queryMatches.set(query.matches);
338
325
  this.mobileActive.set(false);
339
- };
340
- this.renderer.listen(this.query, 'change', this.matchMediaListener.bind(this));
326
+ });
327
+ this.renderer.listen(this.query(), 'change', this.matchMediaListener().bind(this));
341
328
  }
342
329
  }
343
330
  unbindMatchMediaListener() {
344
- if (this.matchMediaListener) {
345
- this.matchMediaListener();
346
- this.matchMediaListener = null;
347
- this.query = null;
331
+ if (this.matchMediaListener()) {
332
+ this.matchMediaListener()();
333
+ this.matchMediaListener.set(null);
334
+ this.query.set(null);
348
335
  }
349
336
  }
350
337
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Dock, deps: [], target: i0.ɵɵFactoryTarget.Component });
351
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Dock, isStandalone: true, selector: "p-dock", inputs: { id: "id", styleClass: "styleClass", model: "model", position: "position", ariaLabel: "ariaLabel", breakpoint: "breakpoint", ariaLabelledBy: "ariaLabelledBy" }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cn(cx(\"root\"), styleClass)" } }, providers: [DockStyle, { provide: DOCK_INSTANCE, useExisting: Dock }, { provide: PARENT_INSTANCE, useExisting: Dock }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
338
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Dock, isStandalone: true, selector: "p-dock", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, breakpoint: { classPropertyName: "breakpoint", publicName: "breakpoint", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cx('root')" } }, providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
352
339
  <div [class]="cx('listContainer')" [pBind]="ptm('listContainer')">
353
340
  <ul
354
341
  #list
355
- [attr.id]="id"
342
+ [attr.id]="_id()"
356
343
  [class]="cx('list')"
357
344
  role="menu"
358
- [attr.aria-orientation]="position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'"
359
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
345
+ [attr.aria-orientation]="position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'"
346
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
360
347
  [tabindex]="tabindex"
361
- [attr.aria-label]="ariaLabel"
362
- [attr.aria-labelledby]="ariaLabelledBy"
348
+ [attr.aria-label]="ariaLabel()"
349
+ [attr.aria-labelledby]="ariaLabelledBy()"
363
350
  (focus)="onListFocus($event)"
364
351
  (blur)="onListBlur($event)"
365
352
  (keydown)="onListKeyDown($event)"
366
353
  (mouseleave)="onListMouseLeave()"
367
354
  [pBind]="ptm('list')"
368
355
  >
369
- @for (item of model; track item.label; let i = $index) {
356
+ @for (item of model(); track item.label; let i = $index) {
370
357
  @if (item.visible !== false) {
371
358
  <li
372
359
  [attr.id]="getItemId(item, i)"
@@ -407,12 +394,12 @@ class Dock extends BaseComponent {
407
394
  [attr.aria-hidden]="true"
408
395
  [pBind]="getPTOptions(item, i, 'itemLink')"
409
396
  >
410
- @if (item.icon && !itemTemplate() && !_itemTemplate) {
397
+ @if (item.icon && !itemTemplate() && !_itemTemplate()) {
411
398
  <span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
412
399
  }
413
- <ng-container *ngTemplateOutlet="itemTemplate() || itemTemplate(); context: { $implicit: item }"></ng-container>
400
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
414
401
  @if (item.badge) {
415
- <p-badge [styleClass]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
402
+ <p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
416
403
  }
417
404
  </a>
418
405
  } @else {
@@ -432,12 +419,12 @@ class Dock extends BaseComponent {
432
419
  [attr.aria-hidden]="true"
433
420
  [pBind]="getPTOptions(item, i, 'itemLink')"
434
421
  >
435
- @if (item.icon && !itemTemplate() && !_itemTemplate) {
422
+ @if (item.icon && !itemTemplate() && !_itemTemplate()) {
436
423
  <span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
437
424
  }
438
- <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item }"></ng-container>
425
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
439
426
  @if (item.badge) {
440
- <p-badge [styleClass]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
427
+ <p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
441
428
  }
442
429
  </a>
443
430
  }
@@ -447,33 +434,32 @@ class Dock extends BaseComponent {
447
434
  }
448
435
  </ul>
449
436
  </div>
450
- `, isInline: true, dependencies: [{ 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: "ngmodule", type: SharedModule }, { kind: "component", type: Badge, selector: "p-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
437
+ `, isInline: true, dependencies: [{ 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: "ngmodule", type: SharedModule }, { kind: "component", type: Badge, selector: "p-badge", inputs: ["badgeSize", "size", "severity", "value", "badgeDisabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
451
438
  }
452
439
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Dock, decorators: [{
453
440
  type: Component,
454
441
  args: [{
455
442
  selector: 'p-dock',
456
- standalone: true,
457
443
  imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],
458
444
  template: `
459
445
  <div [class]="cx('listContainer')" [pBind]="ptm('listContainer')">
460
446
  <ul
461
447
  #list
462
- [attr.id]="id"
448
+ [attr.id]="_id()"
463
449
  [class]="cx('list')"
464
450
  role="menu"
465
- [attr.aria-orientation]="position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'"
466
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
451
+ [attr.aria-orientation]="position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'"
452
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
467
453
  [tabindex]="tabindex"
468
- [attr.aria-label]="ariaLabel"
469
- [attr.aria-labelledby]="ariaLabelledBy"
454
+ [attr.aria-label]="ariaLabel()"
455
+ [attr.aria-labelledby]="ariaLabelledBy()"
470
456
  (focus)="onListFocus($event)"
471
457
  (blur)="onListBlur($event)"
472
458
  (keydown)="onListKeyDown($event)"
473
459
  (mouseleave)="onListMouseLeave()"
474
460
  [pBind]="ptm('list')"
475
461
  >
476
- @for (item of model; track item.label; let i = $index) {
462
+ @for (item of model(); track item.label; let i = $index) {
477
463
  @if (item.visible !== false) {
478
464
  <li
479
465
  [attr.id]="getItemId(item, i)"
@@ -514,12 +500,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
514
500
  [attr.aria-hidden]="true"
515
501
  [pBind]="getPTOptions(item, i, 'itemLink')"
516
502
  >
517
- @if (item.icon && !itemTemplate() && !_itemTemplate) {
503
+ @if (item.icon && !itemTemplate() && !_itemTemplate()) {
518
504
  <span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
519
505
  }
520
- <ng-container *ngTemplateOutlet="itemTemplate() || itemTemplate(); context: { $implicit: item }"></ng-container>
506
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
521
507
  @if (item.badge) {
522
- <p-badge [styleClass]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
508
+ <p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
523
509
  }
524
510
  </a>
525
511
  } @else {
@@ -539,12 +525,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
539
525
  [attr.aria-hidden]="true"
540
526
  [pBind]="getPTOptions(item, i, 'itemLink')"
541
527
  >
542
- @if (item.icon && !itemTemplate() && !_itemTemplate) {
528
+ @if (item.icon && !itemTemplate() && !_itemTemplate()) {
543
529
  <span [class]="cn(cx('itemIcon'), item.icon, item.iconClass)" [ngStyle]="item.iconStyle" [pBind]="getPTOptions(item, i, 'itemIcon')"></span>
544
530
  }
545
- <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item }"></ng-container>
531
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item }"></ng-container>
546
532
  @if (item.badge) {
547
- <p-badge [styleClass]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
533
+ <p-badge [class]="item.badgeStyleClass" [value]="item.badge" [pt]="getPTOptions(item, i, 'pcBadge')" [unstyled]="unstyled()" />
548
534
  }
549
535
  </a>
550
536
  }
@@ -557,27 +543,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
557
543
  `,
558
544
  changeDetection: ChangeDetectionStrategy.OnPush,
559
545
  encapsulation: ViewEncapsulation.None,
560
- providers: [DockStyle, { provide: DOCK_INSTANCE, useExisting: Dock }, { provide: PARENT_INSTANCE, useExisting: Dock }],
546
+ providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }],
561
547
  host: {
562
- '[class]': 'cn(cx("root"), styleClass)'
548
+ '[class]': "cx('root')"
563
549
  },
564
550
  hostDirectives: [Bind]
565
551
  }]
566
- }], ctorParameters: () => [], propDecorators: { id: [{
567
- type: Input
568
- }], styleClass: [{
569
- type: Input
570
- }], model: [{
571
- type: Input
572
- }], position: [{
573
- type: Input
574
- }], ariaLabel: [{
575
- type: Input
576
- }], breakpoint: [{
577
- type: Input
578
- }], ariaLabelledBy: [{
579
- type: Input
580
- }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewChild: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
552
+ }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], breakpoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakpoint", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewChild: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
581
553
  class DockModule {
582
554
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: DockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
583
555
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: DockModule, imports: [Dock, SharedModule], exports: [Dock, SharedModule] });
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-dock.mjs","sources":["../../src/dock/style/dockstyle.ts","../../src/dock/dock.ts","../../src/dock/exhaustive-ui-core-dock.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/dock';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-dock p-component',\n `p-dock-${instance.position}`,\n {\n 'p-dock-mobile': instance.queryMatches()\n }\n ],\n listContainer: 'p-dock-list-container',\n list: 'p-dock-list',\n item: ({ instance, item, id }) => [\n 'p-dock-item',\n {\n 'p-focus': instance.isItemActive(id),\n 'p-disabled': instance.disabled(item)\n }\n ],\n itemContent: 'p-dock-item-content',\n itemLink: 'p-dock-item-link',\n itemIcon: 'p-dock-item-icon'\n};\n\n@Injectable()\nexport class DockStyle extends BaseStyle {\n name = 'dock';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Dock is a navigation component consisting of menuitems.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/dock/)\n *\n * @module dockstyle\n *\n */\nexport enum DockClasses {\n /**\n * Class name of the root element\n */\n root = 'p-dock',\n /**\n * Class name of the list container element\n */\n listContainer = 'p-dock-list-container',\n /**\n * Class name of the list element\n */\n list = 'p-dock-list',\n /**\n * Class name of the item element\n */\n item = 'p-dock-item',\n /**\n * Class name of the item content element\n */\n itemContent = 'p-dock-item-content',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-dock-item-link',\n /**\n * Class name of the item icon element\n */\n itemIcon = 'p-dock-item-icon'\n}\n\nexport interface DockStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, inject, InjectionToken, Input, NgModule, signal, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { RouterLink, RouterLinkActive, RouterModule } from '@angular/router';\nimport { find, findSingle, resolve, uuid } from '@exhaustive-ui/utils';\nimport { MenuItem, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { Badge } from '@exhaustive-ui/core/badge';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Ripple } from '@exhaustive-ui/core/ripple';\nimport { TooltipModule } from '@exhaustive-ui/core/tooltip';\nimport { DockItemTemplateContext, DockPassThrough } from '@exhaustive-ui/core/types/dock';\nimport { DockStyle } from './style/dockstyle';\n\nconst DOCK_INSTANCE = new InjectionToken<Dock>('DOCK_INSTANCE');\n\n/**\n * Dock is a navigation component consisting of menuitems.\n * @group Components\n */\n@Component({\n selector: 'p-dock',\n standalone: true,\n imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],\n template: `\n <div [class]=\"cx('listContainer')\" [pBind]=\"ptm('listContainer')\">\n <ul\n #list\n [attr.id]=\"id\"\n [class]=\"cx('list')\"\n role=\"menu\"\n [attr.aria-orientation]=\"position === 'bottom' || position === 'top' ? 'horizontal' : 'vertical'\"\n [attr.aria-activedescendant]=\"focused ? focusedOptionId : undefined\"\n [tabindex]=\"tabindex\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n (mouseleave)=\"onListMouseLeave()\"\n [pBind]=\"ptm('list')\"\n >\n @for (item of model; track item.label; let i = $index) {\n @if (item.visible !== false) {\n <li\n [attr.id]=\"getItemId(item, i)\"\n [class]=\"cn(cx('item', { item, id: getItemId(item, i) }), item?.styleClass)\"\n [ngStyle]=\"item.style\"\n role=\"menuitem\"\n [attr.aria-label]=\"item.label\"\n [attr.aria-disabled]=\"disabled(item) || false\"\n (click)=\"onItemClick($event, item)\"\n (mouseenter)=\"onItemMouseEnter(i)\"\n [pBind]=\"getPTOptions(item, i, 'item')\"\n [attr.data-p-focused]=\"isItemActive(getItemId(item, i))\"\n [attr.data-p-disabled]=\"disabled(item) || false\"\n >\n <div [class]=\"cx('itemContent')\" [pBind]=\"getPTOptions(item, i, 'itemContent')\">\n @if (isClickableRouterLink(item)) {\n <a\n pRipple\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n routerLinkActive=\"router-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [styleClass]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n } @else {\n <a\n [tooltipPosition]=\"item.tooltipPosition\"\n [attr.href]=\"item.url || null\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n pRipple\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [styleClass]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n }\n </div>\n </li>\n }\n }\n </ul>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DockStyle, { provide: DOCK_INSTANCE, useExisting: Dock }, { provide: PARENT_INSTANCE, useExisting: Dock }],\n host: {\n '[class]': 'cn(cx(\"root\"), styleClass)'\n },\n hostDirectives: [Bind]\n})\nexport class Dock extends BaseComponent<DockPassThrough> {\n cd = inject(ChangeDetectorRef);\n\n componentName = 'Dock';\n\n /**\n * Current id state as a string.\n * @group Props\n */\n @Input() id: string | undefined;\n /**\n * Class of the element.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * MenuModel instance to define the action items.\n * @group Props\n */\n @Input() model: MenuItem[] | undefined | null = null;\n /**\n * Position of element.\n * @group Props\n */\n @Input() position: 'bottom' | 'top' | 'left' | 'right' = 'bottom';\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * The breakpoint to define the maximum width boundary.\n * @defaultValue 960px\n * @group Props\n */\n @Input() breakpoint: string | undefined = '960px';\n /**\n * Defines a string that labels the dropdown button for accessibility.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Callback to execute when button is focused.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onFocus = output<FocusEvent>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onBlur = output<FocusEvent>();\n\n readonly listViewChild = viewChild.required<ElementRef>('list');\n\n currentIndex: number;\n\n tabindex: number = 0;\n\n focused: boolean = false;\n\n focusedOptionIndex: string | number = -1;\n\n _componentStyle = inject(DockStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcDock: Dock | undefined = inject(DOCK_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n matchMediaListener: any;\n\n query: any;\n\n queryMatches = signal<boolean>(false);\n\n mobileActive = signal<boolean>(false);\n\n get focusedOptionId() {\n return this.focusedOptionIndex !== -1 && this.focusedOptionIndex !== '-1' ? String(this.focusedOptionIndex) : null;\n }\n\n constructor() {\n super();\n this.currentIndex = -3;\n }\n\n onInit() {\n this.id = this.id || uuid('pn_id_');\n this.bindMatchMediaListener();\n }\n\n onDestroy() {\n this.unbindMatchMediaListener();\n }\n\n /**\n * Custom item template.\n * @param {DockItemTemplateContext} context - item template context.\n * @group Templates\n */\n readonly itemTemplate = contentChild<TemplateRef<DockItemTemplateContext>>('item');\n\n _itemTemplate: TemplateRef<DockItemTemplateContext> | undefined;\n\n getItemId(item, index) {\n return item && item?.id ? item.id : `${index}`;\n }\n\n getItemProp(processedItem, name) {\n return processedItem && processedItem.item ? resolve(processedItem.item[name]) : undefined;\n }\n\n disabled(item) {\n return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;\n }\n\n isItemActive(id) {\n return String(id) === String(this.focusedOptionIndex);\n }\n\n onListMouseLeave() {\n this.currentIndex = -3;\n this.cd.markForCheck();\n }\n\n onItemMouseEnter(index: number) {\n this.currentIndex = index;\n\n if (index === 1) {\n }\n\n this.cd.markForCheck();\n }\n\n onItemClick(e: Event, item: MenuItem) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n }\n\n onListFocus(event) {\n this.focused = true;\n this.changeFocusedOptionIndex(0);\n this.onFocus.emit(event);\n }\n\n onListBlur(event) {\n this.focused = false;\n this.focusedOptionIndex = -1;\n this.onBlur.emit(event);\n }\n\n onListKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown': {\n if (this.position === 'left' || this.position === 'right') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n if (this.position === 'left' || this.position === 'right') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowRight': {\n if (this.position === 'top' || this.position === 'bottom') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n if (this.position === 'top' || this.position === 'bottom') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.onHomeKey();\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.onEndKey();\n event.preventDefault();\n break;\n }\n\n case 'Enter':\n\n case 'Space': {\n this.onSpaceKey();\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n onArrowDownKey() {\n const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex);\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onArrowUpKey() {\n const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex);\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onHomeKey() {\n this.changeFocusedOptionIndex(0);\n }\n\n onEndKey() {\n this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]').length - 1);\n }\n\n onSpaceKey() {\n const element = <HTMLElement>findSingle(this.listViewChild().nativeElement, `li[id=\"${`${this.focusedOptionIndex}`}\"]`);\n const anchorElement = element && <HTMLElement>findSingle(element, 'a,button');\n\n anchorElement ? anchorElement.click() : element && element.click();\n }\n\n findNextOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex + 1 : 0;\n }\n\n changeFocusedOptionIndex(index) {\n const menuitems = <any>find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n\n let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;\n\n this.focusedOptionIndex = menuitems[order]?.getAttribute('id');\n }\n\n findPrevOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex - 1 : 0;\n }\n\n isClickableRouterLink(item: any) {\n return !!item.routerLink && !this.disabled(item);\n }\n\n readonly templates = contentChildren(PrimeTemplate);\n\n onAfterContentInit() {\n this.templates()?.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this._itemTemplate = item.template;\n break;\n\n default:\n this._itemTemplate = item.template;\n break;\n }\n });\n }\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n getPTOptions(item: MenuItem, index: number, key: string) {\n return this.ptm(key, {\n context: {\n item,\n index\n }\n });\n }\n\n bindMatchMediaListener() {\n if (!this.matchMediaListener) {\n const query = window.matchMedia(`(max-width: ${this.breakpoint})`);\n this.query = query;\n this.queryMatches.set(query.matches);\n\n this.matchMediaListener = () => {\n this.queryMatches.set(query.matches);\n this.mobileActive.set(false);\n };\n\n this.renderer.listen(this.query, 'change', this.matchMediaListener.bind(this));\n }\n }\n\n unbindMatchMediaListener() {\n if (this.matchMediaListener) {\n this.matchMediaListener();\n this.matchMediaListener = null;\n this.query = null;\n }\n }\n}\n\n@NgModule({\n imports: [Dock, SharedModule],\n exports: [Dock, SharedModule]\n})\nexport class DockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,oBAAoB;QACpB,CAAA,OAAA,EAAU,QAAQ,CAAC,QAAQ,CAAA,CAAE;AAC7B,QAAA;AACI,YAAA,eAAe,EAAE,QAAQ,CAAC,YAAY;AACzC;AACJ,KAAA;AACD,IAAA,aAAa,EAAE,uBAAuB;AACtC,IAAA,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK;QAC9B,aAAa;AACb,QAAA;AACI,YAAA,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;AACpC,YAAA,YAAY,EAAE,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACvC;AACJ,KAAA;AACD,IAAA,WAAW,EAAE,qBAAqB;AAClC,IAAA,QAAQ,EAAE,kBAAkB;AAC5B,IAAA,QAAQ,EAAE;CACb;AAGK,MAAO,SAAU,SAAQ,SAAS,CAAA;IACpC,IAAI,GAAG,MAAM;IAEb,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAT,SAAS,EAAA,CAAA;;2FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBADrB;;AASD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,WAAW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AA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY;AAC/B,iBAAA;;;AC7bD;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-dock.mjs","sources":["../../src/dock/style/dockstyle.ts","../../src/dock/dock.ts","../../src/dock/exhaustive-ui-core-dock.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/dock';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => [\n 'p-dock p-component',\n `p-dock-${instance.position()}`,\n {\n 'p-dock-mobile': instance.queryMatches()\n }\n ],\n listContainer: 'p-dock-list-container',\n list: 'p-dock-list',\n item: ({ instance, item, id }) => [\n 'p-dock-item',\n {\n 'p-focus': instance.isItemActive(id),\n 'p-disabled': instance.disabled(item)\n }\n ],\n itemContent: 'p-dock-item-content',\n itemLink: 'p-dock-item-link',\n itemIcon: 'p-dock-item-icon'\n};\n\n@Injectable()\nexport class DockStyle extends BaseStyle {\n name = 'dock';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Dock is a navigation component consisting of menuitems.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/dock/)\n *\n * @module dockstyle\n *\n */\nexport enum DockClasses {\n /**\n * Class name of the root element\n */\n root = 'p-dock',\n /**\n * Class name of the list container element\n */\n listContainer = 'p-dock-list-container',\n /**\n * Class name of the list element\n */\n list = 'p-dock-list',\n /**\n * Class name of the item element\n */\n item = 'p-dock-item',\n /**\n * Class name of the item content element\n */\n itemContent = 'p-dock-item-content',\n /**\n * Class name of the item link element\n */\n itemLink = 'p-dock-item-link',\n /**\n * Class name of the item icon element\n */\n itemIcon = 'p-dock-item-icon'\n}\n\nexport interface DockStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterEveryRender, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, NgModule, signal, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren, output } from '@angular/core';\nimport { RouterLink, RouterLinkActive, RouterModule } from '@angular/router';\nimport { find, findSingle, resolve, uuid } from '@exhaustive-ui/utils';\nimport { MenuItem, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { Badge } from '@exhaustive-ui/core/badge';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Ripple } from '@exhaustive-ui/core/ripple';\nimport { TooltipModule } from '@exhaustive-ui/core/tooltip';\nimport { DockItemTemplateContext, DockPassThrough } from '@exhaustive-ui/core/types/dock';\nimport { DockStyle } from './style/dockstyle';\n\n/**\n * Dock is a navigation component consisting of menuitems.\n * @group Components\n */\n@Component({\n selector: 'p-dock',\n imports: [CommonModule, RouterModule, RouterLink, RouterLinkActive, Ripple, TooltipModule, SharedModule, Bind, Badge],\n template: `\n <div [class]=\"cx('listContainer')\" [pBind]=\"ptm('listContainer')\">\n <ul\n #list\n [attr.id]=\"_id()\"\n [class]=\"cx('list')\"\n role=\"menu\"\n [attr.aria-orientation]=\"position() === 'bottom' || position() === 'top' ? 'horizontal' : 'vertical'\"\n [attr.aria-activedescendant]=\"focused() ? focusedOptionId() : undefined\"\n [tabindex]=\"tabindex\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n (focus)=\"onListFocus($event)\"\n (blur)=\"onListBlur($event)\"\n (keydown)=\"onListKeyDown($event)\"\n (mouseleave)=\"onListMouseLeave()\"\n [pBind]=\"ptm('list')\"\n >\n @for (item of model(); track item.label; let i = $index) {\n @if (item.visible !== false) {\n <li\n [attr.id]=\"getItemId(item, i)\"\n [class]=\"cn(cx('item', { item, id: getItemId(item, i) }), item?.styleClass)\"\n [ngStyle]=\"item.style\"\n role=\"menuitem\"\n [attr.aria-label]=\"item.label\"\n [attr.aria-disabled]=\"disabled(item) || false\"\n (click)=\"onItemClick($event, item)\"\n (mouseenter)=\"onItemMouseEnter(i)\"\n [pBind]=\"getPTOptions(item, i, 'item')\"\n [attr.data-p-focused]=\"isItemActive(getItemId(item, i))\"\n [attr.data-p-disabled]=\"disabled(item) || false\"\n >\n <div [class]=\"cx('itemContent')\" [pBind]=\"getPTOptions(item, i, 'itemContent')\">\n @if (isClickableRouterLink(item)) {\n <a\n pRipple\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n routerLinkActive=\"router-link-active\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [fragment]=\"item.fragment\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"item.preserveFragment\"\n [skipLocationChange]=\"item.skipLocationChange\"\n [replaceUrl]=\"item.replaceUrl\"\n [state]=\"item.state\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate()) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [class]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n } @else {\n <a\n [tooltipPosition]=\"item.tooltipPosition\"\n [attr.href]=\"item.url || null\"\n [class]=\"cn(cx('itemLink'), item?.linkClass)\"\n [ngStyle]=\"item?.linkStyle\"\n pRipple\n pTooltip\n [tooltipOptions]=\"item.tooltipOptions\"\n [pTooltipUnstyled]=\"unstyled()\"\n [target]=\"item.target\"\n [attr.title]=\"item.title\"\n [attr.data-automationid]=\"item.automationId\"\n [attr.tabindex]=\"item.disabled ? null : item.tabindex ? item.tabindex : '-1'\"\n [attr.aria-hidden]=\"true\"\n [pBind]=\"getPTOptions(item, i, 'itemLink')\"\n >\n @if (item.icon && !itemTemplate() && !_itemTemplate()) {\n <span [class]=\"cn(cx('itemIcon'), item.icon, item.iconClass)\" [ngStyle]=\"item.iconStyle\" [pBind]=\"getPTOptions(item, i, 'itemIcon')\"></span>\n }\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate(); context: { $implicit: item }\"></ng-container>\n @if (item.badge) {\n <p-badge [class]=\"item.badgeStyleClass\" [value]=\"item.badge\" [pt]=\"getPTOptions(item, i, 'pcBadge')\" [unstyled]=\"unstyled()\" />\n }\n </a>\n }\n </div>\n </li>\n }\n }\n </ul>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [DockStyle, { provide: PARENT_INSTANCE, useExisting: Dock }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Dock extends BaseComponent<DockPassThrough> {\n componentName = 'Dock';\n\n /**\n * Current id state as a string.\n * @group Props\n */\n readonly id = input<string | undefined>();\n\n readonly _id = computed(() => this.id() || uuid('pn_id_'));\n /**\n * MenuModel instance to define the action items.\n * @group Props\n */\n readonly model = input<MenuItem[] | undefined | null>(null);\n /**\n * Position of element.\n * @group Props\n */\n readonly position = input<'bottom' | 'top' | 'left' | 'right'>('bottom');\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n readonly ariaLabel = input<string | undefined>();\n /**\n * The breakpoint to define the maximum width boundary.\n * @defaultValue 960px\n * @group Props\n */\n readonly breakpoint = input<string | undefined>('960px');\n /**\n * Defines a string that labels the dropdown button for accessibility.\n * @group Props\n */\n readonly ariaLabelledBy = input<string | undefined>();\n /**\n * Callback to execute when button is focused.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onFocus = output<FocusEvent>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {FocusEvent} event - Focus event.\n * @group Emits\n */\n readonly onBlur = output<FocusEvent>();\n\n readonly listViewChild = viewChild.required<ElementRef>('list');\n\n currentIndex = signal<number>(-3);\n\n tabindex: number = 0;\n\n focused = signal<boolean>(false);\n\n focusedOptionIndex = signal<string | number>(-1);\n\n _componentStyle = inject(DockStyle);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n matchMediaListener = signal<any>(undefined);\n\n query = signal<any>(undefined);\n\n queryMatches = signal<boolean>(false);\n\n mobileActive = signal<boolean>(false);\n\n readonly focusedOptionId = computed(() => {\n const focusedOptionIndex = this.focusedOptionIndex();\n\n return focusedOptionIndex !== -1 && focusedOptionIndex !== '-1' ? String(focusedOptionIndex) : null;\n });\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n onInit() {\n this.bindMatchMediaListener();\n }\n\n onDestroy() {\n this.unbindMatchMediaListener();\n }\n\n /**\n * Custom item template.\n * @param {DockItemTemplateContext} context - item template context.\n * @group Templates\n */\n readonly itemTemplate = contentChild<TemplateRef<DockItemTemplateContext>>('item');\n\n readonly _itemTemplate = computed<TemplateRef<DockItemTemplateContext> | undefined>(() => this.templates().at(-1)?.template);\n\n getItemId(item, index) {\n return item && item?.id ? item.id : `${index}`;\n }\n\n getItemProp(processedItem, name) {\n return processedItem && processedItem.item ? resolve(processedItem.item[name]) : undefined;\n }\n\n disabled(item) {\n return typeof item.disabled === 'function' ? item.disabled() : item.disabled || false;\n }\n\n isItemActive(id) {\n return String(id) === String(this.focusedOptionIndex());\n }\n\n onListMouseLeave() {\n this.currentIndex.set(-3);\n }\n\n onItemMouseEnter(index: number) {\n this.currentIndex.set(index);\n }\n\n onItemClick(e: Event, item: MenuItem) {\n if (item.command) {\n item.command({ originalEvent: e, item });\n }\n }\n\n onListFocus(event) {\n this.focused.set(true);\n this.changeFocusedOptionIndex(0);\n this.onFocus.emit(event);\n }\n\n onListBlur(event) {\n this.focused.set(false);\n this.focusedOptionIndex.set(-1);\n this.onBlur.emit(event);\n }\n\n onListKeyDown(event) {\n switch (event.code) {\n case 'ArrowDown': {\n if (this.position() === 'left' || this.position() === 'right') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n if (this.position() === 'left' || this.position() === 'right') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowRight': {\n if (this.position() === 'top' || this.position() === 'bottom') this.onArrowDownKey();\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n if (this.position() === 'top' || this.position() === 'bottom') this.onArrowUpKey();\n event.preventDefault();\n break;\n }\n\n case 'Home': {\n this.onHomeKey();\n event.preventDefault();\n break;\n }\n\n case 'End': {\n this.onEndKey();\n event.preventDefault();\n break;\n }\n\n case 'Enter':\n\n case 'Space': {\n this.onSpaceKey();\n event.preventDefault();\n break;\n }\n\n default:\n break;\n }\n }\n\n onArrowDownKey() {\n const optionIndex = this.findNextOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onArrowUpKey() {\n const optionIndex = this.findPrevOptionIndex(this.focusedOptionIndex());\n\n this.changeFocusedOptionIndex(optionIndex);\n }\n\n onHomeKey() {\n this.changeFocusedOptionIndex(0);\n }\n\n onEndKey() {\n this.changeFocusedOptionIndex(find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]').length - 1);\n }\n\n onSpaceKey() {\n const element = <HTMLElement>findSingle(this.listViewChild().nativeElement, `li[id=\"${`${this.focusedOptionIndex()}`}\"]`);\n const anchorElement = element && <HTMLElement>findSingle(element, 'a,button');\n\n anchorElement ? anchorElement.click() : element && element.click();\n }\n\n findNextOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex + 1 : 0;\n }\n\n changeFocusedOptionIndex(index) {\n const menuitems = <any>find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n\n let order = index >= menuitems.length ? menuitems.length - 1 : index < 0 ? 0 : index;\n\n this.focusedOptionIndex.set(menuitems[order]?.getAttribute('id'));\n }\n\n findPrevOptionIndex(index) {\n const menuitems = find(this.listViewChild().nativeElement, 'li[data-pc-section=\"item\"][data-p-disabled=\"false\"]');\n const matchedOptionIndex = [...menuitems].findIndex((link) => link.id === index);\n\n return matchedOptionIndex > -1 ? matchedOptionIndex - 1 : 0;\n }\n\n isClickableRouterLink(item: any) {\n return !!item.routerLink && !this.disabled(item);\n }\n\n readonly templates = contentChildren(PrimeTemplate);\n\n getPTOptions(item: MenuItem, index: number, key: string) {\n return this.ptm(key, {\n context: {\n item,\n index\n }\n });\n }\n\n bindMatchMediaListener() {\n if (!this.matchMediaListener()) {\n const query = window.matchMedia(`(max-width: ${this.breakpoint()})`);\n this.query.set(query);\n this.queryMatches.set(query.matches);\n\n this.matchMediaListener.set(() => {\n this.queryMatches.set(query.matches);\n this.mobileActive.set(false);\n });\n\n this.renderer.listen(this.query(), 'change', this.matchMediaListener().bind(this));\n }\n }\n\n unbindMatchMediaListener() {\n if (this.matchMediaListener()) {\n this.matchMediaListener()();\n this.matchMediaListener.set(null);\n this.query.set(null);\n }\n }\n}\n\n@NgModule({\n imports: [Dock, SharedModule],\n exports: [Dock, SharedModule]\n})\nexport class DockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public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