@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
@@ -1,7 +1,7 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, forwardRef, InjectionToken, inject, input, booleanAttribute, output, computed, viewChild, contentChild, contentChildren, HostListener, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
+ import { Injectable, forwardRef, InjectionToken, inject, afterEveryRender, effect, untracked, input, booleanAttribute, output, computed, viewChild, signal, contentChild, contentChildren, HostListener, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import { uuid, isNotEmpty, getFocusableElements, getFirstFocusableElement, focus, getLastFocusableElement } from '@exhaustive-ui/utils';
7
7
  import { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
@@ -41,22 +41,22 @@ const style = /*css*/ `
41
41
  }
42
42
  `;
43
43
  const inlineStyles = {
44
- root: ({ instance }) => ({ position: instance.$appendTo() === 'self' ? 'relative' : undefined, ...instance.containerStyle })
44
+ root: ({ instance }) => ({ position: instance.$appendTo() === 'self' ? 'relative' : undefined })
45
45
  };
46
46
  const classes = {
47
47
  root: ({ instance }) => [
48
48
  'p-treeselect p-component p-inputwrapper',
49
49
  {
50
- 'p-treeselect-display-chip': instance.display === 'chip',
50
+ 'p-treeselect-display-chip': instance.display() === 'chip',
51
51
  'p-disabled': instance.$disabled(),
52
52
  'p-invalid': instance.invalid(),
53
- 'p-focus': instance.focused,
53
+ 'p-focus': instance.focused(),
54
54
  'p-variant-filled': instance.$variant() === 'filled',
55
- 'p-inputwrapper-filled': !instance.emptyValue,
56
- 'p-inputwrapper-focus': instance.focused || instance.overlayVisible,
57
- 'p-treeselect-open': instance.overlayVisible,
58
- 'p-treeselect-clearable': instance.showClear,
59
- 'p-treeselect-fluid': instance.hasFluid,
55
+ 'p-inputwrapper-filled': !instance.emptyValue(),
56
+ 'p-inputwrapper-focus': instance.focused() || instance.overlayVisible(),
57
+ 'p-treeselect-open': instance.overlayVisible(),
58
+ 'p-treeselect-clearable': instance.showClear(),
59
+ 'p-treeselect-fluid': instance.hasFluid(),
60
60
  'p-treeselect-sm p-inputfield-sm': instance.size() === 'small',
61
61
  'p-treeselect-lg p-inputfield-lg': instance.size() === 'large'
62
62
  }
@@ -65,8 +65,8 @@ const classes = {
65
65
  label: ({ instance }) => [
66
66
  'p-treeselect-label',
67
67
  {
68
- 'p-placeholder': instance.label === instance.placeholder,
69
- 'p-treeselect-label-empty': !instance.placeholder && instance.emptyValue
68
+ 'p-placeholder': instance.label() === instance.placeholder(),
69
+ 'p-treeselect-label-empty': !instance.placeholder() && instance.emptyValue()
70
70
  }
71
71
  ],
72
72
  clearIcon: 'p-treeselect-clear-icon',
@@ -161,193 +161,204 @@ class TreeSelect extends BaseEditableHolder {
161
161
  $pcTreeSelect = inject(TREESELECT_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
162
162
  bindDirectiveInstance = inject(Bind, { self: true });
163
163
  _componentStyle = inject(TreeSelectStyle);
164
- onAfterViewChecked() {
165
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
164
+ constructor() {
165
+ super();
166
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
167
+ effect(() => {
168
+ this.options();
169
+ untracked(() => this.updateTreeState());
170
+ });
166
171
  }
167
172
  /**
168
173
  * Identifier of the underlying input element.
169
174
  * @group Props
170
175
  */
171
- inputId;
176
+ inputId = input(/* @ts-ignore */
177
+ ...(ngDevMode ? [undefined, { debugName: "inputId" }] : /* istanbul ignore next */ []));
172
178
  /**
173
179
  * Height of the viewport, a scrollbar is defined if height of list exceeds this value.
174
180
  * @group Props
175
181
  */
176
- scrollHeight = '400px';
182
+ scrollHeight = input('400px', /* @ts-ignore */
183
+ ...(ngDevMode ? [{ debugName: "scrollHeight" }] : /* istanbul ignore next */ []));
177
184
  /**
178
185
  * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.
179
186
  * @group Props
180
187
  */
181
- metaKeySelection = false;
188
+ metaKeySelection = input(false, { ...(ngDevMode ? { debugName: "metaKeySelection" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
182
189
  /**
183
190
  * Defines how the selected items are displayed.
184
191
  * @group Props
185
192
  */
186
- display = 'comma';
193
+ display = input('comma', /* @ts-ignore */
194
+ ...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
187
195
  /**
188
196
  * Defines the selection mode.
189
197
  * @group Props
190
198
  */
191
- selectionMode = 'single';
199
+ selectionMode = input('single', /* @ts-ignore */
200
+ ...(ngDevMode ? [{ debugName: "selectionMode" }] : /* istanbul ignore next */ []));
192
201
  /**
193
202
  * Index of the element in tabbing order.
194
203
  * @group Props
195
204
  */
196
- tabindex = '0';
205
+ tabindex = input('0', /* @ts-ignore */
206
+ ...(ngDevMode ? [{ debugName: "tabindex" }] : /* istanbul ignore next */ []));
197
207
  /**
198
208
  * Defines a string that labels the input for accessibility.
199
209
  * @group Props
200
210
  */
201
- ariaLabel;
211
+ ariaLabel = input(/* @ts-ignore */
212
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
202
213
  /**
203
214
  * Establishes relationships between the component and label(s) where its value should be one or more element IDs.
204
215
  * @group Props
205
216
  */
206
- ariaLabelledBy;
217
+ ariaLabelledBy = input(/* @ts-ignore */
218
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
207
219
  /**
208
220
  * Label to display when there are no selections.
209
221
  * @group Props
210
222
  */
211
- placeholder;
223
+ placeholder = input(/* @ts-ignore */
224
+ ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
212
225
  /**
213
226
  * Style class of the overlay panel.
214
227
  * @group Props
215
228
  */
216
- panelClass;
229
+ panelClass = input(/* @ts-ignore */
230
+ ...(ngDevMode ? [undefined, { debugName: "panelClass" }] : /* istanbul ignore next */ []));
217
231
  /**
218
232
  * Inline style of the panel element.
219
233
  * @group Props
220
234
  */
221
- panelStyle;
235
+ panelStyle = input(/* @ts-ignore */
236
+ ...(ngDevMode ? [undefined, { debugName: "panelStyle" }] : /* istanbul ignore next */ []));
222
237
  /**
223
238
  * Style class of the panel element.
224
239
  * @group Props
225
240
  */
226
- panelStyleClass;
227
- /**
228
- * Inline style of the container element.
229
- * @deprecated since v20.0.0, use `style` instead.
230
- * @group Props
231
- */
232
- containerStyle;
233
- /**
234
- * Style class of the container element.
235
- * @deprecated since v20.0.0, use `class` instead.
236
- * @group Props
237
- */
238
- containerStyleClass;
241
+ panelStyleClass = input(/* @ts-ignore */
242
+ ...(ngDevMode ? [undefined, { debugName: "panelStyleClass" }] : /* istanbul ignore next */ []));
239
243
  /**
240
244
  * Inline style of the label element.
241
245
  * @group Props
242
246
  */
243
- labelStyle;
247
+ labelStyle = input(/* @ts-ignore */
248
+ ...(ngDevMode ? [undefined, { debugName: "labelStyle" }] : /* istanbul ignore next */ []));
244
249
  /**
245
250
  * Style class of the label element.
246
251
  * @group Props
247
252
  */
248
- labelStyleClass;
253
+ labelStyleClass = input(/* @ts-ignore */
254
+ ...(ngDevMode ? [undefined, { debugName: "labelStyleClass" }] : /* istanbul ignore next */ []));
249
255
  /**
250
256
  * Specifies the options for the overlay.
251
257
  * @group Props
252
258
  */
253
- overlayOptions;
259
+ overlayOptions = input(/* @ts-ignore */
260
+ ...(ngDevMode ? [undefined, { debugName: "overlayOptions" }] : /* istanbul ignore next */ []));
254
261
  /**
255
262
  * Text to display when there are no options available. Defaults to value from Exhaustive locale configuration.
256
263
  * @group Props
257
264
  */
258
- emptyMessage = '';
265
+ emptyMessage = input('', /* @ts-ignore */
266
+ ...(ngDevMode ? [{ debugName: "emptyMessage" }] : /* istanbul ignore next */ []));
259
267
  /**
260
268
  * When specified, displays an input field to filter the items.
261
269
  * @group Props
262
270
  */
263
- filter = false;
271
+ filter = input(false, { ...(ngDevMode ? { debugName: "filter" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
264
272
  /**
265
273
  * When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.
266
274
  * @group Props
267
275
  */
268
- filterBy = 'label';
276
+ filterBy = input('label', /* @ts-ignore */
277
+ ...(ngDevMode ? [{ debugName: "filterBy" }] : /* istanbul ignore next */ []));
269
278
  /**
270
279
  * Mode for filtering valid values are "lenient" and "strict". Default is lenient.
271
280
  * @group Props
272
281
  */
273
- filterMode = 'lenient';
282
+ filterMode = input('lenient', /* @ts-ignore */
283
+ ...(ngDevMode ? [{ debugName: "filterMode" }] : /* istanbul ignore next */ []));
274
284
  /**
275
285
  * Placeholder text to show when filter input is empty.
276
286
  * @group Props
277
287
  */
278
- filterPlaceholder;
288
+ filterPlaceholder = input(/* @ts-ignore */
289
+ ...(ngDevMode ? [undefined, { debugName: "filterPlaceholder" }] : /* istanbul ignore next */ []));
279
290
  /**
280
291
  * Locale to use in filtering. The default locale is the host environment's current locale.
281
292
  * @group Props
282
293
  */
283
- filterLocale;
294
+ filterLocale = input(/* @ts-ignore */
295
+ ...(ngDevMode ? [undefined, { debugName: "filterLocale" }] : /* istanbul ignore next */ []));
284
296
  /**
285
297
  * Determines whether the filter input should be automatically focused when the component is rendered.
286
298
  * @group Props
287
299
  */
288
- filterInputAutoFocus = true;
300
+ filterInputAutoFocus = input(true, { ...(ngDevMode ? { debugName: "filterInputAutoFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
289
301
  /**
290
302
  * Whether checkbox selections propagate to descendant nodes.
291
303
  * @group Props
292
304
  */
293
- propagateSelectionDown = true;
305
+ propagateSelectionDown = input(true, { ...(ngDevMode ? { debugName: "propagateSelectionDown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
294
306
  /**
295
307
  * Whether checkbox selections propagate to ancestor nodes.
296
308
  * @group Props
297
309
  */
298
- propagateSelectionUp = true;
310
+ propagateSelectionUp = input(true, { ...(ngDevMode ? { debugName: "propagateSelectionUp" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
299
311
  /**
300
312
  * When enabled, a clear icon is displayed to clear the value.
301
313
  * @group Props
302
314
  */
303
- showClear = false;
315
+ showClear = input(false, { ...(ngDevMode ? { debugName: "showClear" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
304
316
  /**
305
317
  * Clears the filter value when hiding the dropdown.
306
318
  * @group Props
307
319
  */
308
- resetFilterOnHide = true;
320
+ resetFilterOnHide = input(true, { ...(ngDevMode ? { debugName: "resetFilterOnHide" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
309
321
  /**
310
322
  * Whether the data should be loaded on demand during scroll.
311
323
  * @group Props
312
324
  */
313
- virtualScroll;
325
+ virtualScroll = input(/* @ts-ignore */
326
+ ...(ngDevMode ? [undefined, { debugName: "virtualScroll" }] : /* istanbul ignore next */ []));
314
327
  /**
315
328
  * Height of an item in the list for VirtualScrolling.
316
329
  * @group Props
317
330
  */
318
- virtualScrollItemSize;
331
+ virtualScrollItemSize = input(/* @ts-ignore */
332
+ ...(ngDevMode ? [undefined, { debugName: "virtualScrollItemSize" }] : /* istanbul ignore next */ []));
319
333
  /**
320
334
  * Whether to use the scroller feature. The properties of scroller component can be used like an object in it.
321
335
  * @group Props
322
336
  */
323
- virtualScrollOptions;
337
+ virtualScrollOptions = input(/* @ts-ignore */
338
+ ...(ngDevMode ? [undefined, { debugName: "virtualScrollOptions" }] : /* istanbul ignore next */ []));
324
339
  /**
325
340
  * When present, it specifies that the component should automatically get focus on load.
326
341
  * @group Props
327
342
  */
328
- autofocus;
343
+ autofocus = input(undefined, { ...(ngDevMode ? { debugName: "autofocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
329
344
  /**
330
345
  * An array of treenodes.
331
346
  * @defaultValue undefined
332
347
  * @group Props
333
348
  */
334
- get options() {
335
- return this._options;
336
- }
337
- set options(options) {
338
- this._options = options;
339
- this.updateTreeState();
340
- }
349
+ options = input(/* @ts-ignore */
350
+ ...(ngDevMode ? [undefined, { debugName: "options" }] : /* istanbul ignore next */ []));
341
351
  /**
342
352
  * Displays a loader to indicate data load is in progress.
343
353
  * @group Props
344
354
  */
345
- loading;
355
+ loading = input(undefined, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
346
356
  /**
347
357
  * Loading mode display.
348
358
  * @group Props
349
359
  */
350
- loadingMode = 'mask';
360
+ loadingMode = input('mask', /* @ts-ignore */
361
+ ...(ngDevMode ? [{ debugName: "loadingMode" }] : /* istanbul ignore next */ []));
351
362
  /**
352
363
  * Specifies the size of the component.
353
364
  * @defaultValue undefined
@@ -458,12 +469,12 @@ class TreeSelect extends BaseEditableHolder {
458
469
  $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant(), /* @ts-ignore */
459
470
  ...(ngDevMode ? [{ debugName: "$variant" }] : /* istanbul ignore next */ []));
460
471
  pcFluid = inject(Fluid, { optional: true, host: true, skipSelf: true });
461
- get hasFluid() {
462
- return this.fluid() ?? !!this.pcFluid;
463
- }
464
- filteredNodes;
465
- filterValue = null;
466
- serializedValue;
472
+ hasFluid = computed(() => this.fluid() ?? !!this.pcFluid, /* @ts-ignore */
473
+ ...(ngDevMode ? [{ debugName: "hasFluid" }] : /* istanbul ignore next */ []));
474
+ filteredNodes = signal(undefined, /* @ts-ignore */
475
+ ...(ngDevMode ? [{ debugName: "filteredNodes" }] : /* istanbul ignore next */ []));
476
+ filterValue = signal(null, /* @ts-ignore */
477
+ ...(ngDevMode ? [{ debugName: "filterValue" }] : /* istanbul ignore next */ []));
467
478
  /**
468
479
  * Custom value template.
469
480
  * @param {TreeSelectValueTemplateContext} context - value context.
@@ -531,87 +542,80 @@ class TreeSelect extends BaseEditableHolder {
531
542
  itemLoadingIconTemplate = contentChild('itemloadingicon', { ...(ngDevMode ? { debugName: "itemLoadingIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
532
543
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
533
544
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
534
- _valueTemplate;
535
- _headerTemplate;
536
- _emptyTemplate;
537
- _footerTemplate;
538
- _clearIconTemplate;
539
- _triggerIconTemplate;
540
- _filterIconTemplate;
541
- _closeIconTemplate;
542
- _itemTogglerIconTemplate;
543
- _itemCheckboxIconTemplate;
544
- _itemLoadingIconTemplate;
545
- _dropdownIconTemplate;
546
- focused;
547
- overlayVisible;
548
- value;
549
- expandedNodes = [];
550
- _options;
551
- templateMap;
552
- listId = '';
553
- onHostClick(event) {
554
- this.onClick(event);
555
- }
556
- onInit() {
557
- this.listId = uuid('pn_id_') + '_list';
558
- this.updateTreeState();
559
- }
560
- onAfterContentInit() {
561
- if (this.templates().length) {
562
- this.templateMap = {};
545
+ _valueTemplate = computed(() => this.templates()
546
+ .filter((item) => item.getType() === 'value' || !item.name())
547
+ .at(-1)?.template, /* @ts-ignore */
548
+ ...(ngDevMode ? [{ debugName: "_valueTemplate" }] : /* istanbul ignore next */ []));
549
+ _headerTemplate = computed(() => this.templates()
550
+ .filter((item) => item.getType() === 'header')
551
+ .at(-1)?.template, /* @ts-ignore */
552
+ ...(ngDevMode ? [{ debugName: "_headerTemplate" }] : /* istanbul ignore next */ []));
553
+ _emptyTemplate = computed(() => this.templates()
554
+ .filter((item) => item.getType() === 'empty')
555
+ .at(-1)?.template, /* @ts-ignore */
556
+ ...(ngDevMode ? [{ debugName: "_emptyTemplate" }] : /* istanbul ignore next */ []));
557
+ _footerTemplate = computed(() => this.templates()
558
+ .filter((item) => item.getType() === 'footer')
559
+ .at(-1)?.template, /* @ts-ignore */
560
+ ...(ngDevMode ? [{ debugName: "_footerTemplate" }] : /* istanbul ignore next */ []));
561
+ _clearIconTemplate = computed(() => this.templates()
562
+ .filter((item) => item.getType() === 'clearicon')
563
+ .at(-1)?.template, /* @ts-ignore */
564
+ ...(ngDevMode ? [{ debugName: "_clearIconTemplate" }] : /* istanbul ignore next */ []));
565
+ _triggerIconTemplate = computed(() => this.templates()
566
+ .filter((item) => item.getType() === 'triggericon')
567
+ .at(-1)?.template, /* @ts-ignore */
568
+ ...(ngDevMode ? [{ debugName: "_triggerIconTemplate" }] : /* istanbul ignore next */ []));
569
+ _filterIconTemplate = computed(() => this.templates()
570
+ .filter((item) => item.getType() === 'filtericon')
571
+ .at(-1)?.template, /* @ts-ignore */
572
+ ...(ngDevMode ? [{ debugName: "_filterIconTemplate" }] : /* istanbul ignore next */ []));
573
+ _itemTogglerIconTemplate = computed(() => this.templates()
574
+ .filter((item) => item.getType() === 'itemtogglericon')
575
+ .at(-1)?.template, /* @ts-ignore */
576
+ ...(ngDevMode ? [{ debugName: "_itemTogglerIconTemplate" }] : /* istanbul ignore next */ []));
577
+ _itemCheckboxIconTemplate = computed(() => this.templates()
578
+ .filter((item) => item.getType() === 'itemcheckboxicon')
579
+ .at(-1)?.template, /* @ts-ignore */
580
+ ...(ngDevMode ? [{ debugName: "_itemCheckboxIconTemplate" }] : /* istanbul ignore next */ []));
581
+ _itemLoadingIconTemplate = computed(() => this.templates()
582
+ .filter((item) => item.getType() === 'itemloadingicon')
583
+ .at(-1)?.template, /* @ts-ignore */
584
+ ...(ngDevMode ? [{ debugName: "_itemLoadingIconTemplate" }] : /* istanbul ignore next */ []));
585
+ _dropdownIconTemplate = computed(() => this.templates()
586
+ .filter((item) => item.getType() === 'dropdownicon')
587
+ .at(-1)?.template, /* @ts-ignore */
588
+ ...(ngDevMode ? [{ debugName: "_dropdownIconTemplate" }] : /* istanbul ignore next */ []));
589
+ focused = signal(undefined, /* @ts-ignore */
590
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
591
+ overlayVisible = signal(undefined, /* @ts-ignore */
592
+ ...(ngDevMode ? [{ debugName: "overlayVisible" }] : /* istanbul ignore next */ []));
593
+ value = signal(undefined, /* @ts-ignore */
594
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
595
+ expandedNodes = signal([], /* @ts-ignore */
596
+ ...(ngDevMode ? [{ debugName: "expandedNodes" }] : /* istanbul ignore next */ []));
597
+ templateMap = computed(() => {
598
+ const templates = this.templates();
599
+ if (!templates.length) {
600
+ return undefined;
563
601
  }
564
- this.templates().forEach((item) => {
565
- switch (item.getType()) {
566
- case 'value':
567
- this._valueTemplate = item.template;
568
- break;
569
- case 'header':
570
- this._headerTemplate = item.template;
571
- break;
572
- case 'empty':
573
- this._emptyTemplate = item.template;
574
- break;
575
- case 'footer':
576
- this._footerTemplate = item.template;
577
- break;
578
- case 'clearicon':
579
- this._clearIconTemplate = item.template;
580
- break;
581
- case 'triggericon':
582
- this._triggerIconTemplate = item.template;
583
- break;
584
- case 'filtericon':
585
- this._filterIconTemplate = item.template;
586
- break;
587
- case 'closeicon':
588
- this._closeIconTemplate = item.template;
589
- break;
590
- case 'itemtogglericon':
591
- this._itemTogglerIconTemplate = item.template;
592
- break;
593
- case 'itemcheckboxicon':
594
- this._itemCheckboxIconTemplate = item.template;
595
- break;
596
- case 'dropdownicon':
597
- this._dropdownIconTemplate = item.template;
598
- break;
599
- case 'itemloadingicon':
600
- this._itemLoadingIconTemplate = item.template;
601
- break;
602
- default: //TODO: @deprecated Use "value" template instead
603
- if (item.name)
604
- this.templateMap[item.name] = item.template;
605
- else
606
- this._valueTemplate = item.template;
607
- break;
602
+ const templateMap = {};
603
+ templates.forEach((item) => {
604
+ if (item.name() && !['value', 'header', 'empty', 'footer', 'clearicon', 'triggericon', 'filtericon', 'closeicon', 'itemtogglericon', 'itemcheckboxicon', 'dropdownicon', 'itemloadingicon'].includes(item.getType())) {
605
+ templateMap[item.name()] = item.template;
608
606
  }
609
607
  });
608
+ return templateMap;
609
+ }, /* @ts-ignore */
610
+ ...(ngDevMode ? [{ debugName: "templateMap" }] : /* istanbul ignore next */ []));
611
+ listId = uuid('pn_id_') + '_list';
612
+ onHostClick(event) {
613
+ this.onClick(event);
610
614
  }
611
615
  onOverlayBeforeEnter() {
612
- if (this.filter) {
613
- isNotEmpty(this.filterValue) && this.treeViewChild()?._filter(this.filterValue);
614
- this.filterInputAutoFocus && this.filterViewChild()?.nativeElement.focus();
616
+ if (this.filter()) {
617
+ isNotEmpty(this.filterValue()) && this.treeViewChild()?._filter(this.filterValue());
618
+ this.filterInputAutoFocus() && this.filterViewChild()?.nativeElement.focus();
615
619
  }
616
620
  else {
617
621
  let focusableElements = getFocusableElements(this.panelEl()?.nativeElement);
@@ -620,7 +624,7 @@ class TreeSelect extends BaseEditableHolder {
620
624
  }
621
625
  }
622
626
  const panelElement = this.panelEl()?.nativeElement;
623
- if (this.virtualScroll && panelElement) {
627
+ if (this.virtualScroll() && panelElement) {
624
628
  let lastHeight = panelElement.offsetHeight;
625
629
  const virtualScrollResizeObserver = new ResizeObserver((entries) => {
626
630
  const newHeight = entries[0].contentRect.height;
@@ -644,9 +648,8 @@ class TreeSelect extends BaseEditableHolder {
644
648
  }
645
649
  }
646
650
  onSelectionChange(event) {
647
- this.value = event;
648
- this.onModelChange(this.value);
649
- this.cd.markForCheck();
651
+ this.value.set(event);
652
+ this.onModelChange(this.value());
650
653
  }
651
654
  onClick(event) {
652
655
  if (this.$disabled()) {
@@ -654,7 +657,7 @@ class TreeSelect extends BaseEditableHolder {
654
657
  }
655
658
  const section = event.target?.getAttribute?.('data-pc-section');
656
659
  if (!this.overlayViewChild().el?.nativeElement?.contains(event.target) && section !== 'box' && section !== 'icon') {
657
- if (this.overlayVisible) {
660
+ if (this.overlayVisible()) {
658
661
  this.hide();
659
662
  }
660
663
  else {
@@ -667,7 +670,7 @@ class TreeSelect extends BaseEditableHolder {
667
670
  switch (event.code) {
668
671
  //down
669
672
  case 'ArrowDown':
670
- if (!this.overlayVisible) {
673
+ if (!this.overlayVisible()) {
671
674
  this.show();
672
675
  event.preventDefault();
673
676
  }
@@ -677,14 +680,14 @@ class TreeSelect extends BaseEditableHolder {
677
680
  //space
678
681
  case 'Space':
679
682
  case 'Enter':
680
- if (!this.overlayVisible) {
683
+ if (!this.overlayVisible()) {
681
684
  this.show();
682
685
  event.preventDefault();
683
686
  }
684
687
  break;
685
688
  //escape
686
689
  case 'Escape':
687
- if (this.overlayVisible) {
690
+ if (this.overlayVisible()) {
688
691
  this.hide();
689
692
  this.focusInput().nativeElement.focus();
690
693
  event.preventDefault();
@@ -699,12 +702,13 @@ class TreeSelect extends BaseEditableHolder {
699
702
  }
700
703
  }
701
704
  onFilterInput(event) {
702
- this.filterValue = event.target.value;
705
+ const filterValue = event.target.value;
706
+ this.filterValue.set(filterValue);
703
707
  const treeViewChild = this.treeViewChild();
704
- treeViewChild?._filter(this.filterValue);
708
+ treeViewChild?._filter(filterValue);
705
709
  this.onFilter.emit({
706
- filter: this.filterValue,
707
- filteredValue: treeViewChild?.filteredNodes
710
+ filter: filterValue,
711
+ filteredValue: treeViewChild?.filteredNodes()
708
712
  });
709
713
  setTimeout(() => {
710
714
  this.overlayViewChild().alignOverlay();
@@ -712,7 +716,7 @@ class TreeSelect extends BaseEditableHolder {
712
716
  }
713
717
  onArrowDown(event) {
714
718
  const panelEl = this.panelEl();
715
- if (this.overlayVisible && panelEl?.nativeElement) {
719
+ if (this.overlayVisible() && panelEl?.nativeElement) {
716
720
  let focusableElements = getFocusableElements(panelEl.nativeElement, '[data-pc-section="node"]');
717
721
  if (focusableElements && focusableElements.length > 0) {
718
722
  focusableElements[0].focus();
@@ -731,33 +735,31 @@ class TreeSelect extends BaseEditableHolder {
731
735
  focus(focusableEl);
732
736
  }
733
737
  show() {
734
- this.overlayVisible = true;
738
+ this.overlayVisible.set(true);
735
739
  }
736
740
  hide(event) {
737
- this.overlayVisible = false;
741
+ this.overlayVisible.set(false);
738
742
  this.resetFilter();
739
743
  this.onHide.emit(event);
740
- this.cd.markForCheck();
741
744
  }
742
745
  clear(event) {
743
- this.value = null;
746
+ this.value.set(null);
744
747
  this.resetExpandedNodes();
745
748
  this.resetPartialSelected();
746
- this.onModelChange(this.value);
749
+ this.onModelChange(this.value());
747
750
  this.onClear.emit(undefined);
748
751
  event.stopPropagation();
749
752
  }
750
- checkValue() {
751
- return this.value !== null && isNotEmpty(this.value);
752
- }
753
+ checkValue = computed(() => this.value() !== null && isNotEmpty(this.value()), /* @ts-ignore */
754
+ ...(ngDevMode ? [{ debugName: "checkValue" }] : /* istanbul ignore next */ []));
753
755
  onTabKey(event, pressedInInputText = false) {
754
756
  if (!pressedInInputText) {
755
- if (this.overlayVisible && this.hasFocusableElements()) {
757
+ if (this.overlayVisible() && this.hasFocusableElements()) {
756
758
  focus(event.shiftKey ? this.lastHiddenFocusableElementOnOverlay()?.nativeElement : this.firstHiddenFocusableElementOnOverlay()?.nativeElement);
757
759
  event.preventDefault();
758
760
  }
759
761
  else {
760
- this.overlayVisible && this.hide(this.filter);
762
+ this.overlayVisible() && this.hide(this.filter());
761
763
  }
762
764
  }
763
765
  }
@@ -765,21 +767,22 @@ class TreeSelect extends BaseEditableHolder {
765
767
  return getFocusableElements(this.overlayViewChild().overlayViewChild()?.nativeElement, ':not([data-p-hidden-focusable="true"])').length > 0;
766
768
  }
767
769
  resetFilter() {
768
- if (this.filter && !this.resetFilterOnHide) {
770
+ if (this.filter() && !this.resetFilterOnHide()) {
769
771
  const treeViewChild = this.treeViewChild();
770
- this.filteredNodes = treeViewChild?.filteredNodes;
772
+ this.filteredNodes.set(treeViewChild?.filteredNodes());
771
773
  treeViewChild?.resetFilter();
772
774
  }
773
775
  else {
774
- this.filterValue = null;
776
+ this.filterValue.set(null);
775
777
  }
776
778
  }
777
779
  updateTreeState() {
778
- if (this.value) {
779
- let selectedNodes = this.selectionMode === 'single' ? [this.value] : [...this.value];
780
+ const value = this.value();
781
+ if (value) {
782
+ let selectedNodes = this.selectionMode() === 'single' ? [value] : [...value];
780
783
  this.resetExpandedNodes();
781
784
  this.resetPartialSelected();
782
- if (selectedNodes && this.options) {
785
+ if (selectedNodes && this.options()) {
783
786
  this.updateTreeBranchState(null, null, selectedNodes);
784
787
  }
785
788
  }
@@ -797,7 +800,7 @@ class TreeSelect extends BaseEditableHolder {
797
800
  }
798
801
  }
799
802
  else {
800
- for (let childNode of this.options) {
803
+ for (let childNode of this.options()) {
801
804
  this.updateTreeBranchState(childNode, [], selectedNodes);
802
805
  }
803
806
  }
@@ -806,29 +809,33 @@ class TreeSelect extends BaseEditableHolder {
806
809
  for (let node of expandedNodes) {
807
810
  node.expanded = true;
808
811
  }
809
- this.expandedNodes = [...expandedNodes];
812
+ this.expandedNodes.set([...expandedNodes]);
810
813
  }
811
814
  nodeExpand(event) {
812
815
  this.onNodeExpand.emit(event);
813
- this.expandedNodes.push(event.node);
816
+ this.expandedNodes.update((nodes) => [...nodes, event.node]);
814
817
  setTimeout(() => {
815
818
  this.overlayViewChild().alignOverlay();
816
819
  });
817
820
  }
818
821
  nodeCollapse(event) {
819
822
  this.onNodeCollapse.emit(event);
820
- this.expandedNodes.splice(this.expandedNodes.indexOf(event.node), 1);
823
+ this.expandedNodes.update((nodes) => {
824
+ const expandedNodes = [...nodes];
825
+ expandedNodes.splice(expandedNodes.indexOf(event.node), 1);
826
+ return expandedNodes;
827
+ });
821
828
  setTimeout(() => {
822
829
  this.overlayViewChild().alignOverlay();
823
830
  });
824
831
  }
825
832
  resetExpandedNodes() {
826
- for (let node of this.expandedNodes) {
833
+ for (let node of this.expandedNodes()) {
827
834
  node.expanded = false;
828
835
  }
829
- this.expandedNodes = [];
836
+ this.expandedNodes.set([]);
830
837
  }
831
- resetPartialSelected(nodes = this.options) {
838
+ resetPartialSelected(nodes = this.options()) {
832
839
  if (!nodes) {
833
840
  return;
834
841
  }
@@ -839,37 +846,20 @@ class TreeSelect extends BaseEditableHolder {
839
846
  }
840
847
  }
841
848
  }
842
- findSelectedNodes(node, keys, selectedNodes) {
843
- if (node) {
844
- if (this.isSelected(node)) {
845
- selectedNodes.push(node);
846
- delete keys[node.key];
847
- }
848
- if (Object.keys(keys).length && node.children) {
849
- for (let childNode of node.children) {
850
- this.findSelectedNodes(childNode, keys, selectedNodes);
851
- }
852
- }
853
- }
854
- else {
855
- for (let childNode of this.options) {
856
- this.findSelectedNodes(childNode, keys, selectedNodes);
857
- }
858
- }
859
- }
860
849
  isSelected(node) {
861
850
  return this.findIndexInSelection(node) != -1;
862
851
  }
863
852
  findIndexInSelection(node) {
864
853
  let index = -1;
865
- if (this.value) {
866
- if (this.selectionMode === 'single') {
867
- let areNodesEqual = (this.value.key && this.value.key === node.key) || this.value == node;
854
+ const value = this.value();
855
+ if (value) {
856
+ if (this.selectionMode() === 'single') {
857
+ let areNodesEqual = (value.key && value.key === node.key) || value == node;
868
858
  index = areNodesEqual ? 0 : -1;
869
859
  }
870
860
  else {
871
- for (let i = 0; i < this.value.length; i++) {
872
- let selectedNode = this.value[i];
861
+ for (let i = 0; i < value.length; i++) {
862
+ let selectedNode = value[i];
873
863
  let areNodesEqual = (selectedNode.key && selectedNode.key === node.key) || selectedNode == node;
874
864
  if (areNodesEqual) {
875
865
  index = i;
@@ -882,7 +872,7 @@ class TreeSelect extends BaseEditableHolder {
882
872
  }
883
873
  onSelect(event) {
884
874
  this.onNodeSelect.emit(event);
885
- if (this.selectionMode === 'single') {
875
+ if (this.selectionMode() === 'single') {
886
876
  this.hide();
887
877
  this.focusInput().nativeElement.focus();
888
878
  }
@@ -895,11 +885,11 @@ class TreeSelect extends BaseEditableHolder {
895
885
  // For ScreenReaders
896
886
  return;
897
887
  }
898
- this.focused = true;
888
+ this.focused.set(true);
899
889
  this.onFocus.emit(event);
900
890
  }
901
891
  onInputBlur(event) {
902
- this.focused = false;
892
+ this.focused.set(false);
903
893
  this.onBlur.emit(event);
904
894
  this.onModelTouched();
905
895
  }
@@ -910,22 +900,18 @@ class TreeSelect extends BaseEditableHolder {
910
900
  * Writes the value to the control.
911
901
  */
912
902
  writeControlValue(value) {
913
- this.value = value;
903
+ this.value.set(value);
914
904
  this.updateTreeState();
915
- this.cd.markForCheck();
916
- }
917
- get emptyValue() {
918
- return !this.value || Object.keys(this.value).length === 0;
919
- }
920
- get emptyOptions() {
921
- return !this.options || this.options.length === 0;
922
- }
923
- get label() {
924
- let value = this.value || [];
925
- return value.length ? value.map((node) => node.label).join(', ') : this.selectionMode === 'single' && this.value ? value.label : this.placeholder;
926
905
  }
927
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TreeSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
928
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TreeSelect, isStandalone: true, selector: "p-treeSelect, p-treeselect, p-tree-select", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, display: { classPropertyName: "display", publicName: "display", isSignal: false, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, panelClass: { classPropertyName: "panelClass", publicName: "panelClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, containerStyle: { classPropertyName: "containerStyle", publicName: "containerStyle", isSignal: false, isRequired: false, transformFunction: null }, containerStyleClass: { classPropertyName: "containerStyleClass", publicName: "containerStyleClass", isSignal: false, isRequired: false, transformFunction: null }, labelStyle: { classPropertyName: "labelStyle", publicName: "labelStyle", isSignal: false, isRequired: false, transformFunction: null }, labelStyleClass: { classPropertyName: "labelStyleClass", publicName: "labelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterMode: { classPropertyName: "filterMode", publicName: "filterMode", isSignal: false, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, filterInputAutoFocus: { classPropertyName: "filterInputAutoFocus", publicName: "filterInputAutoFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, propagateSelectionDown: { classPropertyName: "propagateSelectionDown", publicName: "propagateSelectionDown", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, propagateSelectionUp: { classPropertyName: "propagateSelectionUp", publicName: "propagateSelectionUp", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loadingMode: { classPropertyName: "loadingMode", publicName: "loadingMode", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse", onShow: "onShow", onHide: "onHide", onClear: "onClear", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onNodeUnselect: "onNodeUnselect", onNodeSelect: "onNodeSelect" }, host: { listeners: { "mousedown": "onHostClick($event)" }, properties: { "class": "cn(cx('root'), containerStyleClass)", "style": "sx('root')" } }, providers: [
906
+ emptyValue = computed(() => !this.value() || Object.keys(this.value()).length === 0, /* @ts-ignore */
907
+ ...(ngDevMode ? [{ debugName: "emptyValue" }] : /* istanbul ignore next */ []));
908
+ label = computed(() => {
909
+ let value = this.value() || [];
910
+ return value.length ? value.map((node) => node.label).join(', ') : this.selectionMode() === 'single' && this.value() ? value.label : this.placeholder();
911
+ }, /* @ts-ignore */
912
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
913
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TreeSelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
914
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: TreeSelect, isStandalone: true, selector: "p-treeSelect, p-treeselect, p-tree-select", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, panelClass: { classPropertyName: "panelClass", publicName: "panelClass", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, labelStyle: { classPropertyName: "labelStyle", publicName: "labelStyle", isSignal: true, isRequired: false, transformFunction: null }, labelStyleClass: { classPropertyName: "labelStyleClass", publicName: "labelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, filterMode: { classPropertyName: "filterMode", publicName: "filterMode", isSignal: true, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, filterInputAutoFocus: { classPropertyName: "filterInputAutoFocus", publicName: "filterInputAutoFocus", isSignal: true, isRequired: false, transformFunction: null }, propagateSelectionDown: { classPropertyName: "propagateSelectionDown", publicName: "propagateSelectionDown", isSignal: true, isRequired: false, transformFunction: null }, propagateSelectionUp: { classPropertyName: "propagateSelectionUp", publicName: "propagateSelectionUp", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingMode: { classPropertyName: "loadingMode", publicName: "loadingMode", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse", onShow: "onShow", onHide: "onHide", onClear: "onClear", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onNodeUnselect: "onNodeUnselect", onNodeSelect: "onNodeSelect" }, host: { listeners: { "mousedown": "onHostClick($event)" }, properties: { "class": "cx('root')", "style": "sx('root')" } }, providers: [
929
915
  TREESELECT_VALUE_ACCESSOR,
930
916
  TreeSelectStyle,
931
917
  {
@@ -942,59 +928,59 @@ class TreeSelect extends BaseEditableHolder {
942
928
  #focusInput
943
929
  type="text"
944
930
  role="combobox"
945
- [attr.id]="inputId"
931
+ [attr.id]="inputId()"
946
932
  readonly
947
933
  [attr.disabled]="$disabled() ? '' : undefined"
948
934
  (focus)="onInputFocus($event)"
949
935
  (blur)="onInputBlur($event)"
950
936
  (keydown)="onKeyDown($event)"
951
- [attr.tabindex]="!$disabled() ? tabindex : -1"
952
- [attr.aria-controls]="overlayVisible ? listId : null"
937
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
938
+ [attr.aria-controls]="overlayVisible() ? listId : null"
953
939
  [attr.aria-haspopup]="'tree'"
954
- [attr.aria-expanded]="overlayVisible ?? false"
955
- [attr.aria-labelledby]="ariaLabelledBy"
956
- [attr.aria-label]="ariaLabel || (label === 'p-emptylabel' ? undefined : label)"
957
- [pAutoFocus]="autofocus"
940
+ [attr.aria-expanded]="overlayVisible() ?? false"
941
+ [attr.aria-labelledby]="ariaLabelledBy()"
942
+ [attr.aria-label]="ariaLabel() || (label() === 'p-emptylabel' ? undefined : label())"
943
+ [pAutoFocus]="autofocus()"
958
944
  [pBind]="ptm('hiddenInput')"
959
945
  />
960
946
  </div>
961
947
  <div [class]="cx('labelContainer')" [pBind]="ptm('labelContainer')">
962
- <div [class]="cn(cx('label'), labelStyleClass)" [ngStyle]="labelStyle" [pBind]="ptm('label')">
963
- @if (valueTemplate() || _valueTemplate) {
964
- <ng-container *ngTemplateOutlet="valueTemplate() || _valueTemplate; context: { $implicit: value, placeholder: placeholder }"></ng-container>
948
+ <div [class]="cn(cx('label'), labelStyleClass())" [ngStyle]="labelStyle()" [pBind]="ptm('label')">
949
+ @if (valueTemplate() || _valueTemplate()) {
950
+ <ng-container *ngTemplateOutlet="valueTemplate() || _valueTemplate(); context: { $implicit: value(), placeholder: placeholder() }"></ng-container>
965
951
  } @else {
966
- @if (display === 'comma') {
967
- {{ label || 'empty' }}
952
+ @if (display() === 'comma') {
953
+ {{ label() || 'empty' }}
968
954
  } @else {
969
- @for (node of value; track node) {
955
+ @for (node of value(); track node) {
970
956
  <div [class]="cx('chipItem')" [pBind]="ptm('chipItem')">
971
957
  <p-chip [unstyled]="unstyled()" [label]="node.label" [class]="cx('pcChip')" [pt]="ptm('pcChip')" />
972
958
  </div>
973
959
  }
974
- @if (emptyValue) {
975
- {{ placeholder || 'empty' }}
960
+ @if (emptyValue()) {
961
+ {{ placeholder() || 'empty' }}
976
962
  }
977
963
  }
978
964
  }
979
965
  </div>
980
966
  </div>
981
- @if (checkValue() && !$disabled() && showClear) {
982
- @if (!clearIconTemplate() && !_clearIconTemplate) {
967
+ @if (checkValue() && !$disabled() && showClear()) {
968
+ @if (!clearIconTemplate() && !_clearIconTemplate()) {
983
969
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear($event)" [pBind]="ptm('clearIcon')" />
984
970
  }
985
- @if (clearIconTemplate() || clearIconTemplate()) {
971
+ @if (clearIconTemplate() || _clearIconTemplate()) {
986
972
  <span [class]="cx('clearIcon')" (click)="clear($event)" [pBind]="ptm('clearIcon')">
987
- <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate"></ng-template>
973
+ <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
988
974
  </span>
989
975
  }
990
976
  }
991
- <div [class]="cx('dropdown')" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible ?? false" [attr.aria-label]="'treeselect trigger'" [pBind]="ptm('dropdown')">
992
- @if (!triggerIconTemplate() && !_triggerIconTemplate && !dropdownIconTemplate() && !_dropdownIconTemplate) {
977
+ <div [class]="cx('dropdown')" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible() ?? false" [attr.aria-label]="'treeselect trigger'" [pBind]="ptm('dropdown')">
978
+ @if (!triggerIconTemplate() && !_triggerIconTemplate() && !dropdownIconTemplate() && !_dropdownIconTemplate()) {
993
979
  <svg data-p-icon="chevron-down" [class]="cx('dropdownIcon')" [pBind]="ptm('dropdownIcon')" />
994
980
  }
995
- @if (triggerIconTemplate() || _triggerIconTemplate || dropdownIconTemplate() || _dropdownIconTemplate) {
981
+ @if (triggerIconTemplate() || _triggerIconTemplate() || dropdownIconTemplate() || _dropdownIconTemplate()) {
996
982
  <span [class]="cx('dropdownIcon')" [pBind]="ptm('dropdownIcon')">
997
- <ng-template *ngTemplateOutlet="triggerIconTemplate() || _triggerIconTemplate || dropdownIconTemplate() || _dropdownIconTemplate"></ng-template>
983
+ <ng-template *ngTemplateOutlet="triggerIconTemplate() || _triggerIconTemplate() || dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
998
984
  </span>
999
985
  }
1000
986
  </div>
@@ -1002,7 +988,7 @@ class TreeSelect extends BaseEditableHolder {
1002
988
  #overlay
1003
989
  [hostAttrSelector]="$attrSelector"
1004
990
  [(visible)]="overlayVisible"
1005
- [options]="overlayOptions"
991
+ [options]="overlayOptions()"
1006
992
  [target]="'@parent'"
1007
993
  [appendTo]="$appendTo()"
1008
994
  [unstyled]="unstyled()"
@@ -1014,7 +1000,7 @@ class TreeSelect extends BaseEditableHolder {
1014
1000
  (onHide)="hide($event)"
1015
1001
  >
1016
1002
  <ng-template #content>
1017
- <div #panel [attr.id]="listId" [class]="cn(cx('panel'), panelStyleClass, panelClass)" [ngStyle]="panelStyle" [pBind]="ptm('panel')">
1003
+ <div #panel [attr.id]="listId" [class]="cn(cx('panel'), panelStyleClass(), panelClass())" [ngStyle]="panelStyle()" [pBind]="ptm('panel')">
1018
1004
  <span
1019
1005
  #firstHiddenFocusableEl
1020
1006
  role="presentation"
@@ -1026,64 +1012,66 @@ class TreeSelect extends BaseEditableHolder {
1026
1012
  [pBind]="ptm('hiddenFirstFocusableEl')"
1027
1013
  >
1028
1014
  </span>
1029
- <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate; context: { $implicit: value, options: options }"></ng-container>
1030
- <div [class]="cx('treeContainer')" [ngStyle]="{ 'max-height': scrollHeight }" [pBind]="ptm('treeContainer')">
1015
+ <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: value(), options: options() }"></ng-container>
1016
+ <div [class]="cx('treeContainer')" [ngStyle]="{ 'max-height': scrollHeight() }" [pBind]="ptm('treeContainer')">
1031
1017
  <p-tree
1032
1018
  #tree
1033
- [value]="options"
1034
- [propagateSelectionDown]="propagateSelectionDown"
1035
- [propagateSelectionUp]="propagateSelectionUp"
1036
- [selectionMode]="selectionMode"
1019
+ [value]="options()"
1020
+ [propagateSelectionDown]="propagateSelectionDown()"
1021
+ [propagateSelectionUp]="propagateSelectionUp()"
1022
+ [selectionMode]="selectionMode()"
1037
1023
  (selectionChange)="onSelectionChange($event)"
1038
- [selection]="value"
1039
- [metaKeySelection]="metaKeySelection"
1024
+ [selection]="value()"
1025
+ [metaKeySelection]="metaKeySelection()"
1040
1026
  (onNodeExpand)="nodeExpand($event)"
1041
1027
  (onNodeCollapse)="nodeCollapse($event)"
1042
1028
  (onNodeSelect)="onSelect($event)"
1043
- [emptyMessage]="emptyMessage"
1029
+ [emptyMessage]="emptyMessage()"
1044
1030
  (onNodeUnselect)="onUnselect($event)"
1045
- [filter]="filter"
1046
- [filterBy]="filterBy"
1047
- [filterMode]="filterMode"
1048
- [filterPlaceholder]="filterPlaceholder"
1049
- [filterLocale]="filterLocale"
1050
- [filteredNodes]="filteredNodes"
1051
- [virtualScroll]="virtualScroll"
1052
- [virtualScrollItemSize]="virtualScrollItemSize"
1053
- [virtualScrollOptions]="virtualScrollOptions"
1054
- [_templateMap]="templateMap"
1055
- [loading]="loading"
1056
- [filterInputAutoFocus]="filterInputAutoFocus"
1057
- [loadingMode]="loadingMode"
1031
+ [filter]="filter()"
1032
+ [filterBy]="filterBy()"
1033
+ [filterMode]="filterMode()"
1034
+ [filterPlaceholder]="filterPlaceholder()"
1035
+ [filterLocale]="filterLocale()"
1036
+ [filteredNodes]="filteredNodes()"
1037
+ [virtualScroll]="virtualScroll()"
1038
+ [virtualScrollItemSize]="virtualScrollItemSize()"
1039
+ [virtualScrollOptions]="virtualScrollOptions()"
1040
+ [_templateMap]="templateMap()"
1041
+ [loading]="loading()"
1042
+ [filterInputAutoFocus]="filterInputAutoFocus()"
1043
+ [loadingMode]="loadingMode()"
1058
1044
  [pt]="ptm('pcTree')"
1059
1045
  [unstyled]="unstyled()"
1060
1046
  >
1061
- @if (emptyTemplate() || _emptyTemplate) {
1047
+ @if (emptyTemplate() || _emptyTemplate()) {
1062
1048
  <ng-template #empty>
1063
- <ng-container *ngTemplateOutlet="emptyTemplate() || _emptyTemplate"></ng-container>
1049
+ <ng-container *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
1064
1050
  </ng-template>
1065
1051
  }
1066
- @if (itemTogglerIconTemplate() || _itemTogglerIconTemplate; as expanded) {
1052
+ @if (itemTogglerIconTemplate() || _itemTogglerIconTemplate(); as expanded) {
1067
1053
  <ng-template #togglericon let-expanded>
1068
- <ng-container *ngTemplateOutlet="itemTogglerIconTemplate() || _itemTogglerIconTemplate; context: { $implicit: expanded }"></ng-container>
1054
+ <ng-container *ngTemplateOutlet="itemTogglerIconTemplate() || _itemTogglerIconTemplate(); context: { $implicit: expanded }"></ng-container>
1069
1055
  </ng-template>
1070
1056
  }
1071
- <ng-template #checkboxicon let-selected let-partialSelected="partialSelected" *ngIf="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate">
1072
- <ng-container *ngTemplateOutlet="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate; context: { $implicit: selected, partialSelected: partialSelected }"></ng-container>
1073
- </ng-template>
1074
- @if (itemLoadingIconTemplate() || _itemLoadingIconTemplate) {
1057
+ @if (itemCheckboxIconTemplate() || _itemCheckboxIconTemplate()) {
1058
+ <ng-template #checkboxicon let-selected let-partialSelected="partialSelected">
1059
+ <ng-container *ngTemplateOutlet="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate(); context: { $implicit: selected, partialSelected: partialSelected }"></ng-container>
1060
+ </ng-template>
1061
+ }
1062
+ @if (itemLoadingIconTemplate() || _itemLoadingIconTemplate()) {
1075
1063
  <ng-template #loadingicon>
1076
- <ng-container *ngTemplateOutlet="itemLoadingIconTemplate() || _itemLoadingIconTemplate"></ng-container>
1064
+ <ng-container *ngTemplateOutlet="itemLoadingIconTemplate() || _itemLoadingIconTemplate()"></ng-container>
1077
1065
  </ng-template>
1078
1066
  }
1079
- @if (filterIconTemplate() || _filterIconTemplate) {
1067
+ @if (filterIconTemplate() || _filterIconTemplate()) {
1080
1068
  <ng-template #filtericon>
1081
- <ng-container *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate"></ng-container>
1069
+ <ng-container *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-container>
1082
1070
  </ng-template>
1083
1071
  }
1084
1072
  </p-tree>
1085
1073
  </div>
1086
- <ng-container *ngTemplateOutlet="footerTemplate(); context: { $implicit: value, options: options }"></ng-container>
1074
+ <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: value(), options: options() }"></ng-container>
1087
1075
  <span
1088
1076
  #lastHiddenFocusableEl
1089
1077
  role="presentation"
@@ -1097,13 +1085,12 @@ class TreeSelect extends BaseEditableHolder {
1097
1085
  </div>
1098
1086
  </ng-template>
1099
1087
  </p-overlay>
1100
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: Tree, selector: "p-tree", inputs: ["value", "selectionMode", "loadingMode", "selection", "styleClass", "contextMenu", "contextMenuSelectionMode", "contextMenuSelection", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterInputAutoFocus", "filterBy", "filterMode", "filterOptions", "filterPlaceholder", "filteredNodes", "filterLocale", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "indentation", "_templateMap", "trackBy", "highlightOnSelect"], outputs: ["selectionChange", "contextMenuSelectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDoubleClick", "onNodeDrop", "onLazyLoad", "onScroll", "onScrollIndexChange", "onFilter"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "styleClass", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "directive", type: Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1088
+ `, 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: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: Tree, selector: "p-tree", inputs: ["value", "selectionMode", "loadingMode", "selection", "contextMenu", "contextMenuSelectionMode", "contextMenuSelection", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterInputAutoFocus", "filterBy", "filterMode", "filterOptions", "filterPlaceholder", "filteredNodes", "filterLocale", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "indentation", "_templateMap", "trackBy", "highlightOnSelect"], outputs: ["valueChange", "selectionChange", "contextMenuSelectionChange", "filteredNodesChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDoubleClick", "onNodeDrop", "onLazyLoad", "onScroll", "onScrollIndexChange", "onFilter"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "directive", type: Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1101
1089
  }
1102
1090
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TreeSelect, decorators: [{
1103
1091
  type: Component,
1104
1092
  args: [{
1105
1093
  selector: 'p-treeSelect, p-treeselect, p-tree-select',
1106
- standalone: true,
1107
1094
  imports: [CommonModule, Overlay, SharedModule, Tree, AutoFocus, TimesIcon, ChevronDownIcon, Chip, Bind],
1108
1095
  hostDirectives: [Bind],
1109
1096
  template: `
@@ -1112,59 +1099,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1112
1099
  #focusInput
1113
1100
  type="text"
1114
1101
  role="combobox"
1115
- [attr.id]="inputId"
1102
+ [attr.id]="inputId()"
1116
1103
  readonly
1117
1104
  [attr.disabled]="$disabled() ? '' : undefined"
1118
1105
  (focus)="onInputFocus($event)"
1119
1106
  (blur)="onInputBlur($event)"
1120
1107
  (keydown)="onKeyDown($event)"
1121
- [attr.tabindex]="!$disabled() ? tabindex : -1"
1122
- [attr.aria-controls]="overlayVisible ? listId : null"
1108
+ [attr.tabindex]="!$disabled() ? tabindex() : -1"
1109
+ [attr.aria-controls]="overlayVisible() ? listId : null"
1123
1110
  [attr.aria-haspopup]="'tree'"
1124
- [attr.aria-expanded]="overlayVisible ?? false"
1125
- [attr.aria-labelledby]="ariaLabelledBy"
1126
- [attr.aria-label]="ariaLabel || (label === 'p-emptylabel' ? undefined : label)"
1127
- [pAutoFocus]="autofocus"
1111
+ [attr.aria-expanded]="overlayVisible() ?? false"
1112
+ [attr.aria-labelledby]="ariaLabelledBy()"
1113
+ [attr.aria-label]="ariaLabel() || (label() === 'p-emptylabel' ? undefined : label())"
1114
+ [pAutoFocus]="autofocus()"
1128
1115
  [pBind]="ptm('hiddenInput')"
1129
1116
  />
1130
1117
  </div>
1131
1118
  <div [class]="cx('labelContainer')" [pBind]="ptm('labelContainer')">
1132
- <div [class]="cn(cx('label'), labelStyleClass)" [ngStyle]="labelStyle" [pBind]="ptm('label')">
1133
- @if (valueTemplate() || _valueTemplate) {
1134
- <ng-container *ngTemplateOutlet="valueTemplate() || _valueTemplate; context: { $implicit: value, placeholder: placeholder }"></ng-container>
1119
+ <div [class]="cn(cx('label'), labelStyleClass())" [ngStyle]="labelStyle()" [pBind]="ptm('label')">
1120
+ @if (valueTemplate() || _valueTemplate()) {
1121
+ <ng-container *ngTemplateOutlet="valueTemplate() || _valueTemplate(); context: { $implicit: value(), placeholder: placeholder() }"></ng-container>
1135
1122
  } @else {
1136
- @if (display === 'comma') {
1137
- {{ label || 'empty' }}
1123
+ @if (display() === 'comma') {
1124
+ {{ label() || 'empty' }}
1138
1125
  } @else {
1139
- @for (node of value; track node) {
1126
+ @for (node of value(); track node) {
1140
1127
  <div [class]="cx('chipItem')" [pBind]="ptm('chipItem')">
1141
1128
  <p-chip [unstyled]="unstyled()" [label]="node.label" [class]="cx('pcChip')" [pt]="ptm('pcChip')" />
1142
1129
  </div>
1143
1130
  }
1144
- @if (emptyValue) {
1145
- {{ placeholder || 'empty' }}
1131
+ @if (emptyValue()) {
1132
+ {{ placeholder() || 'empty' }}
1146
1133
  }
1147
1134
  }
1148
1135
  }
1149
1136
  </div>
1150
1137
  </div>
1151
- @if (checkValue() && !$disabled() && showClear) {
1152
- @if (!clearIconTemplate() && !_clearIconTemplate) {
1138
+ @if (checkValue() && !$disabled() && showClear()) {
1139
+ @if (!clearIconTemplate() && !_clearIconTemplate()) {
1153
1140
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear($event)" [pBind]="ptm('clearIcon')" />
1154
1141
  }
1155
- @if (clearIconTemplate() || clearIconTemplate()) {
1142
+ @if (clearIconTemplate() || _clearIconTemplate()) {
1156
1143
  <span [class]="cx('clearIcon')" (click)="clear($event)" [pBind]="ptm('clearIcon')">
1157
- <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate"></ng-template>
1144
+ <ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
1158
1145
  </span>
1159
1146
  }
1160
1147
  }
1161
- <div [class]="cx('dropdown')" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible ?? false" [attr.aria-label]="'treeselect trigger'" [pBind]="ptm('dropdown')">
1162
- @if (!triggerIconTemplate() && !_triggerIconTemplate && !dropdownIconTemplate() && !_dropdownIconTemplate) {
1148
+ <div [class]="cx('dropdown')" role="button" aria-haspopup="tree" [attr.aria-expanded]="overlayVisible() ?? false" [attr.aria-label]="'treeselect trigger'" [pBind]="ptm('dropdown')">
1149
+ @if (!triggerIconTemplate() && !_triggerIconTemplate() && !dropdownIconTemplate() && !_dropdownIconTemplate()) {
1163
1150
  <svg data-p-icon="chevron-down" [class]="cx('dropdownIcon')" [pBind]="ptm('dropdownIcon')" />
1164
1151
  }
1165
- @if (triggerIconTemplate() || _triggerIconTemplate || dropdownIconTemplate() || _dropdownIconTemplate) {
1152
+ @if (triggerIconTemplate() || _triggerIconTemplate() || dropdownIconTemplate() || _dropdownIconTemplate()) {
1166
1153
  <span [class]="cx('dropdownIcon')" [pBind]="ptm('dropdownIcon')">
1167
- <ng-template *ngTemplateOutlet="triggerIconTemplate() || _triggerIconTemplate || dropdownIconTemplate() || _dropdownIconTemplate"></ng-template>
1154
+ <ng-template *ngTemplateOutlet="triggerIconTemplate() || _triggerIconTemplate() || dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
1168
1155
  </span>
1169
1156
  }
1170
1157
  </div>
@@ -1172,7 +1159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1172
1159
  #overlay
1173
1160
  [hostAttrSelector]="$attrSelector"
1174
1161
  [(visible)]="overlayVisible"
1175
- [options]="overlayOptions"
1162
+ [options]="overlayOptions()"
1176
1163
  [target]="'@parent'"
1177
1164
  [appendTo]="$appendTo()"
1178
1165
  [unstyled]="unstyled()"
@@ -1184,7 +1171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1184
1171
  (onHide)="hide($event)"
1185
1172
  >
1186
1173
  <ng-template #content>
1187
- <div #panel [attr.id]="listId" [class]="cn(cx('panel'), panelStyleClass, panelClass)" [ngStyle]="panelStyle" [pBind]="ptm('panel')">
1174
+ <div #panel [attr.id]="listId" [class]="cn(cx('panel'), panelStyleClass(), panelClass())" [ngStyle]="panelStyle()" [pBind]="ptm('panel')">
1188
1175
  <span
1189
1176
  #firstHiddenFocusableEl
1190
1177
  role="presentation"
@@ -1196,64 +1183,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1196
1183
  [pBind]="ptm('hiddenFirstFocusableEl')"
1197
1184
  >
1198
1185
  </span>
1199
- <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate; context: { $implicit: value, options: options }"></ng-container>
1200
- <div [class]="cx('treeContainer')" [ngStyle]="{ 'max-height': scrollHeight }" [pBind]="ptm('treeContainer')">
1186
+ <ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate(); context: { $implicit: value(), options: options() }"></ng-container>
1187
+ <div [class]="cx('treeContainer')" [ngStyle]="{ 'max-height': scrollHeight() }" [pBind]="ptm('treeContainer')">
1201
1188
  <p-tree
1202
1189
  #tree
1203
- [value]="options"
1204
- [propagateSelectionDown]="propagateSelectionDown"
1205
- [propagateSelectionUp]="propagateSelectionUp"
1206
- [selectionMode]="selectionMode"
1190
+ [value]="options()"
1191
+ [propagateSelectionDown]="propagateSelectionDown()"
1192
+ [propagateSelectionUp]="propagateSelectionUp()"
1193
+ [selectionMode]="selectionMode()"
1207
1194
  (selectionChange)="onSelectionChange($event)"
1208
- [selection]="value"
1209
- [metaKeySelection]="metaKeySelection"
1195
+ [selection]="value()"
1196
+ [metaKeySelection]="metaKeySelection()"
1210
1197
  (onNodeExpand)="nodeExpand($event)"
1211
1198
  (onNodeCollapse)="nodeCollapse($event)"
1212
1199
  (onNodeSelect)="onSelect($event)"
1213
- [emptyMessage]="emptyMessage"
1200
+ [emptyMessage]="emptyMessage()"
1214
1201
  (onNodeUnselect)="onUnselect($event)"
1215
- [filter]="filter"
1216
- [filterBy]="filterBy"
1217
- [filterMode]="filterMode"
1218
- [filterPlaceholder]="filterPlaceholder"
1219
- [filterLocale]="filterLocale"
1220
- [filteredNodes]="filteredNodes"
1221
- [virtualScroll]="virtualScroll"
1222
- [virtualScrollItemSize]="virtualScrollItemSize"
1223
- [virtualScrollOptions]="virtualScrollOptions"
1224
- [_templateMap]="templateMap"
1225
- [loading]="loading"
1226
- [filterInputAutoFocus]="filterInputAutoFocus"
1227
- [loadingMode]="loadingMode"
1202
+ [filter]="filter()"
1203
+ [filterBy]="filterBy()"
1204
+ [filterMode]="filterMode()"
1205
+ [filterPlaceholder]="filterPlaceholder()"
1206
+ [filterLocale]="filterLocale()"
1207
+ [filteredNodes]="filteredNodes()"
1208
+ [virtualScroll]="virtualScroll()"
1209
+ [virtualScrollItemSize]="virtualScrollItemSize()"
1210
+ [virtualScrollOptions]="virtualScrollOptions()"
1211
+ [_templateMap]="templateMap()"
1212
+ [loading]="loading()"
1213
+ [filterInputAutoFocus]="filterInputAutoFocus()"
1214
+ [loadingMode]="loadingMode()"
1228
1215
  [pt]="ptm('pcTree')"
1229
1216
  [unstyled]="unstyled()"
1230
1217
  >
1231
- @if (emptyTemplate() || _emptyTemplate) {
1218
+ @if (emptyTemplate() || _emptyTemplate()) {
1232
1219
  <ng-template #empty>
1233
- <ng-container *ngTemplateOutlet="emptyTemplate() || _emptyTemplate"></ng-container>
1220
+ <ng-container *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
1234
1221
  </ng-template>
1235
1222
  }
1236
- @if (itemTogglerIconTemplate() || _itemTogglerIconTemplate; as expanded) {
1223
+ @if (itemTogglerIconTemplate() || _itemTogglerIconTemplate(); as expanded) {
1237
1224
  <ng-template #togglericon let-expanded>
1238
- <ng-container *ngTemplateOutlet="itemTogglerIconTemplate() || _itemTogglerIconTemplate; context: { $implicit: expanded }"></ng-container>
1225
+ <ng-container *ngTemplateOutlet="itemTogglerIconTemplate() || _itemTogglerIconTemplate(); context: { $implicit: expanded }"></ng-container>
1226
+ </ng-template>
1227
+ }
1228
+ @if (itemCheckboxIconTemplate() || _itemCheckboxIconTemplate()) {
1229
+ <ng-template #checkboxicon let-selected let-partialSelected="partialSelected">
1230
+ <ng-container *ngTemplateOutlet="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate(); context: { $implicit: selected, partialSelected: partialSelected }"></ng-container>
1239
1231
  </ng-template>
1240
1232
  }
1241
- <ng-template #checkboxicon let-selected let-partialSelected="partialSelected" *ngIf="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate">
1242
- <ng-container *ngTemplateOutlet="itemCheckboxIconTemplate() || _itemCheckboxIconTemplate; context: { $implicit: selected, partialSelected: partialSelected }"></ng-container>
1243
- </ng-template>
1244
- @if (itemLoadingIconTemplate() || _itemLoadingIconTemplate) {
1233
+ @if (itemLoadingIconTemplate() || _itemLoadingIconTemplate()) {
1245
1234
  <ng-template #loadingicon>
1246
- <ng-container *ngTemplateOutlet="itemLoadingIconTemplate() || _itemLoadingIconTemplate"></ng-container>
1235
+ <ng-container *ngTemplateOutlet="itemLoadingIconTemplate() || _itemLoadingIconTemplate()"></ng-container>
1247
1236
  </ng-template>
1248
1237
  }
1249
- @if (filterIconTemplate() || _filterIconTemplate) {
1238
+ @if (filterIconTemplate() || _filterIconTemplate()) {
1250
1239
  <ng-template #filtericon>
1251
- <ng-container *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate"></ng-container>
1240
+ <ng-container *ngTemplateOutlet="filterIconTemplate() || _filterIconTemplate()"></ng-container>
1252
1241
  </ng-template>
1253
1242
  }
1254
1243
  </p-tree>
1255
1244
  </div>
1256
- <ng-container *ngTemplateOutlet="footerTemplate(); context: { $implicit: value, options: options }"></ng-container>
1245
+ <ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate(); context: { $implicit: value(), options: options() }"></ng-container>
1257
1246
  <span
1258
1247
  #lastHiddenFocusableEl
1259
1248
  role="presentation"
@@ -1283,90 +1272,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1283
1272
  ],
1284
1273
  encapsulation: ViewEncapsulation.None,
1285
1274
  host: {
1286
- '[class]': "cn(cx('root'), containerStyleClass)",
1275
+ '[class]': "cx('root')",
1287
1276
  '[style]': "sx('root')"
1288
1277
  }
1289
1278
  }]
1290
- }], propDecorators: { inputId: [{
1291
- type: Input
1292
- }], scrollHeight: [{
1293
- type: Input
1294
- }], metaKeySelection: [{
1295
- type: Input,
1296
- args: [{ transform: booleanAttribute }]
1297
- }], display: [{
1298
- type: Input
1299
- }], selectionMode: [{
1300
- type: Input
1301
- }], tabindex: [{
1302
- type: Input
1303
- }], ariaLabel: [{
1304
- type: Input
1305
- }], ariaLabelledBy: [{
1306
- type: Input
1307
- }], placeholder: [{
1308
- type: Input
1309
- }], panelClass: [{
1310
- type: Input
1311
- }], panelStyle: [{
1312
- type: Input
1313
- }], panelStyleClass: [{
1314
- type: Input
1315
- }], containerStyle: [{
1316
- type: Input
1317
- }], containerStyleClass: [{
1318
- type: Input
1319
- }], labelStyle: [{
1320
- type: Input
1321
- }], labelStyleClass: [{
1322
- type: Input
1323
- }], overlayOptions: [{
1324
- type: Input
1325
- }], emptyMessage: [{
1326
- type: Input
1327
- }], filter: [{
1328
- type: Input,
1329
- args: [{ transform: booleanAttribute }]
1330
- }], filterBy: [{
1331
- type: Input
1332
- }], filterMode: [{
1333
- type: Input
1334
- }], filterPlaceholder: [{
1335
- type: Input
1336
- }], filterLocale: [{
1337
- type: Input
1338
- }], filterInputAutoFocus: [{
1339
- type: Input,
1340
- args: [{ transform: booleanAttribute }]
1341
- }], propagateSelectionDown: [{
1342
- type: Input,
1343
- args: [{ transform: booleanAttribute }]
1344
- }], propagateSelectionUp: [{
1345
- type: Input,
1346
- args: [{ transform: booleanAttribute }]
1347
- }], showClear: [{
1348
- type: Input,
1349
- args: [{ transform: booleanAttribute }]
1350
- }], resetFilterOnHide: [{
1351
- type: Input,
1352
- args: [{ transform: booleanAttribute }]
1353
- }], virtualScroll: [{
1354
- type: Input
1355
- }], virtualScrollItemSize: [{
1356
- type: Input
1357
- }], virtualScrollOptions: [{
1358
- type: Input
1359
- }], autofocus: [{
1360
- type: Input,
1361
- args: [{ transform: booleanAttribute }]
1362
- }], options: [{
1363
- type: Input
1364
- }], loading: [{
1365
- type: Input,
1366
- args: [{ transform: booleanAttribute }]
1367
- }], loadingMode: [{
1368
- type: Input
1369
- }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], onNodeExpand: [{ type: i0.Output, args: ["onNodeExpand"] }], onNodeCollapse: [{ type: i0.Output, args: ["onNodeCollapse"] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], onFilter: [{ type: i0.Output, args: ["onFilter"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onNodeUnselect: [{ type: i0.Output, args: ["onNodeUnselect"] }], onNodeSelect: [{ type: i0.Output, args: ["onNodeSelect"] }], focusInput: [{ type: i0.ViewChild, args: ['focusInput', { isSignal: true }] }], filterViewChild: [{ type: i0.ViewChild, args: ['filter', { isSignal: true }] }], treeViewChild: [{ type: i0.ViewChild, args: ['tree', { isSignal: true }] }], panelEl: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], overlayViewChild: [{ type: i0.ViewChild, args: ['overlay', { isSignal: true }] }], firstHiddenFocusableElementOnOverlay: [{ type: i0.ViewChild, args: ['firstHiddenFocusableEl', { isSignal: true }] }], lastHiddenFocusableElementOnOverlay: [{ type: i0.ViewChild, args: ['lastHiddenFocusableEl', { isSignal: true }] }], valueTemplate: [{ type: i0.ContentChild, args: ['value', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: ['empty', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], triggerIconTemplate: [{ type: i0.ContentChild, args: ['triggericon', { ...{ descendants: false }, isSignal: true }] }], dropdownIconTemplate: [{ type: i0.ContentChild, args: ['dropdownicon', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }], itemTogglerIconTemplate: [{ type: i0.ContentChild, args: ['itemtogglericon', { ...{ descendants: false }, isSignal: true }] }], itemCheckboxIconTemplate: [{ type: i0.ContentChild, args: ['itemcheckboxicon', { ...{ descendants: false }, isSignal: true }] }], itemLoadingIconTemplate: [{ type: i0.ContentChild, args: ['itemloadingicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], onHostClick: [{
1279
+ }], ctorParameters: () => [], propDecorators: { inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], metaKeySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "metaKeySelection", required: false }] }], display: [{ type: i0.Input, args: [{ isSignal: true, alias: "display", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], panelClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelClass", required: false }] }], panelStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyle", required: false }] }], panelStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyleClass", required: false }] }], labelStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelStyle", required: false }] }], labelStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelStyleClass", required: false }] }], overlayOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayOptions", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], filterMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterMode", required: false }] }], filterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterPlaceholder", required: false }] }], filterLocale: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterLocale", required: false }] }], filterInputAutoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterInputAutoFocus", required: false }] }], propagateSelectionDown: [{ type: i0.Input, args: [{ isSignal: true, alias: "propagateSelectionDown", required: false }] }], propagateSelectionUp: [{ type: i0.Input, args: [{ isSignal: true, alias: "propagateSelectionUp", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], resetFilterOnHide: [{ type: i0.Input, args: [{ isSignal: true, alias: "resetFilterOnHide", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], virtualScrollOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollOptions", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingMode", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], onNodeExpand: [{ type: i0.Output, args: ["onNodeExpand"] }], onNodeCollapse: [{ type: i0.Output, args: ["onNodeCollapse"] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], onFilter: [{ type: i0.Output, args: ["onFilter"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onNodeUnselect: [{ type: i0.Output, args: ["onNodeUnselect"] }], onNodeSelect: [{ type: i0.Output, args: ["onNodeSelect"] }], focusInput: [{ type: i0.ViewChild, args: ['focusInput', { isSignal: true }] }], filterViewChild: [{ type: i0.ViewChild, args: ['filter', { isSignal: true }] }], treeViewChild: [{ type: i0.ViewChild, args: ['tree', { isSignal: true }] }], panelEl: [{ type: i0.ViewChild, args: ['panel', { isSignal: true }] }], overlayViewChild: [{ type: i0.ViewChild, args: ['overlay', { isSignal: true }] }], firstHiddenFocusableElementOnOverlay: [{ type: i0.ViewChild, args: ['firstHiddenFocusableEl', { isSignal: true }] }], lastHiddenFocusableElementOnOverlay: [{ type: i0.ViewChild, args: ['lastHiddenFocusableEl', { isSignal: true }] }], valueTemplate: [{ type: i0.ContentChild, args: ['value', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: ['empty', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], triggerIconTemplate: [{ type: i0.ContentChild, args: ['triggericon', { ...{ descendants: false }, isSignal: true }] }], dropdownIconTemplate: [{ type: i0.ContentChild, args: ['dropdownicon', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }], itemTogglerIconTemplate: [{ type: i0.ContentChild, args: ['itemtogglericon', { ...{ descendants: false }, isSignal: true }] }], itemCheckboxIconTemplate: [{ type: i0.ContentChild, args: ['itemcheckboxicon', { ...{ descendants: false }, isSignal: true }] }], itemLoadingIconTemplate: [{ type: i0.ContentChild, args: ['itemloadingicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], onHostClick: [{
1370
1280
  type: HostListener,
1371
1281
  args: ['mousedown', ['$event']]
1372
1282
  }] } });