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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
  4. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-api.mjs +10 -17
  6. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +786 -928
  8. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
  10. package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
  12. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
  14. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
  16. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
  18. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
  20. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-carousel.mjs +561 -599
  22. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
  24. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
  26. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
  28. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
  30. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
  32. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +227 -394
  34. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +255 -266
  36. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +585 -653
  38. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
  40. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-datepicker.mjs +1792 -1787
  42. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-dialog.mjs +480 -577
  44. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
  46. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
  48. package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
  50. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
  52. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
  54. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
  56. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-fileupload.mjs +774 -745
  58. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
  60. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
  62. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
  64. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
  66. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
  68. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
  70. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
  72. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
  74. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
  76. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
  78. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
  80. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
  82. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
  84. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
  86. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
  88. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
  90. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
  92. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
  94. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
  96. package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
  98. package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
  100. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
  102. package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
  104. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
  106. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
  108. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
  110. package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
  112. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
  114. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
  116. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
  118. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
  120. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
  122. package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
  124. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
  126. package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
  128. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
  130. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
  132. package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
  134. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
  136. package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
  138. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
  140. package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
  142. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
  144. package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
  146. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
  148. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
  150. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
  152. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
  154. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
  156. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
  158. package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
  160. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
  162. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
  164. package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
  166. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
  168. package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
  170. package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
  171. package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
  172. package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
  173. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
  174. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
  175. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
  176. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
  177. package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
  178. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  179. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
  180. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  181. package/fesm2022/exhaustive-ui-core-inplace.mjs +68 -102
  182. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  183. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
  184. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  185. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
  186. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  187. package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
  188. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  189. package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
  190. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  191. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
  192. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  193. package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
  194. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  195. package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
  196. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  197. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
  198. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  199. package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
  200. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  201. package/fesm2022/exhaustive-ui-core-listbox.mjs +591 -728
  202. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  203. package/fesm2022/exhaustive-ui-core-megamenu.mjs +324 -375
  204. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  205. package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
  206. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  207. package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
  208. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  209. package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
  210. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  211. package/fesm2022/exhaustive-ui-core-motion.mjs +2 -2
  212. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  213. package/fesm2022/exhaustive-ui-core-multiselect.mjs +945 -1045
  214. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  215. package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
  216. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  217. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
  218. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  219. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
  220. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  221. package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
  222. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  223. package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
  224. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  225. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
  226. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  227. package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
  228. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  229. package/fesm2022/exhaustive-ui-core-picklist.mjs +861 -879
  230. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  231. package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
  232. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  233. package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
  234. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  235. package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
  236. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  237. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
  238. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  239. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
  240. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  241. package/fesm2022/exhaustive-ui-core-select.mjs +837 -986
  242. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  243. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
  244. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  245. package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
  246. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  247. package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
  248. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  249. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
  250. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  251. package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
  252. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  253. package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
  254. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  255. package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
  256. package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
  257. package/fesm2022/exhaustive-ui-core-table.mjs +2435 -2721
  258. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  259. package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
  260. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  261. package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
  262. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  263. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +604 -690
  264. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  265. package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
  266. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  267. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
  268. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  269. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
  270. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  271. package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
  272. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  273. package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
  274. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  275. package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
  276. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  277. package/fesm2022/exhaustive-ui-core-treeselect.mjs +333 -423
  278. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  279. package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
  280. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  281. package/package.json +11 -11
  282. package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
  283. package/schematics/migrations/renamed-inputs/migration.js +97 -0
  284. package/schematics/migrations/styleclass-to-class/migration.js +92 -1
  285. package/schematics/migrations.json +11 -6
  286. package/schematics/utils/removed-inputs.js +0 -0
  287. package/schematics/utils/renamed-inputs.js +175 -0
  288. package/schematics/utils/styleclass.js +24 -8
  289. package/schematics/utils/versions.json +8 -8
  290. package/types/exhaustive-ui-core-accordion.d.ts +8 -24
  291. package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
  292. package/types/exhaustive-ui-core-api.d.ts +2 -3
  293. package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
  294. package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
  295. package/types/exhaustive-ui-core-avatar.d.ts +18 -25
  296. package/types/exhaustive-ui-core-badge.d.ts +13 -27
  297. package/types/exhaustive-ui-core-blockui.d.ts +18 -30
  298. package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
  299. package/types/exhaustive-ui-core-button.d.ts +57 -89
  300. package/types/exhaustive-ui-core-carousel.d.ts +56 -82
  301. package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
  302. package/types/exhaustive-ui-core-chart.d.ts +21 -29
  303. package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
  304. package/types/exhaustive-ui-core-chip.d.ts +31 -38
  305. package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
  306. package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
  307. package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
  308. package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
  309. package/types/exhaustive-ui-core-dataview.d.ts +42 -65
  310. package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
  311. package/types/exhaustive-ui-core-dialog.d.ts +73 -123
  312. package/types/exhaustive-ui-core-dock.d.ts +16 -25
  313. package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
  314. package/types/exhaustive-ui-core-drawer.d.ts +32 -64
  315. package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
  316. package/types/exhaustive-ui-core-editor.d.ts +15 -25
  317. package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
  318. package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
  319. package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
  320. package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
  321. package/types/exhaustive-ui-core-galleria.d.ts +124 -194
  322. package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
  323. package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
  324. package/types/exhaustive-ui-core-image.d.ts +35 -68
  325. package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
  326. package/types/exhaustive-ui-core-inplace.d.ts +30 -42
  327. package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
  328. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
  329. package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
  330. package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
  331. package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
  332. package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
  333. package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
  334. package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
  335. package/types/exhaustive-ui-core-knob.d.ts +45 -60
  336. package/types/exhaustive-ui-core-listbox.d.ts +90 -126
  337. package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
  338. package/types/exhaustive-ui-core-menu.d.ts +33 -53
  339. package/types/exhaustive-ui-core-menubar.d.ts +38 -85
  340. package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
  341. package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
  342. package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
  343. package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
  344. package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
  345. package/types/exhaustive-ui-core-paginator.d.ts +41 -69
  346. package/types/exhaustive-ui-core-panel.d.ts +18 -45
  347. package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
  348. package/types/exhaustive-ui-core-password.d.ts +56 -93
  349. package/types/exhaustive-ui-core-picklist.d.ts +107 -121
  350. package/types/exhaustive-ui-core-popover.d.ts +23 -47
  351. package/types/exhaustive-ui-core-rating.d.ts +18 -26
  352. package/types/exhaustive-ui-core-scroller.d.ts +90 -120
  353. package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
  354. package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
  355. package/types/exhaustive-ui-core-select.d.ts +137 -188
  356. package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
  357. package/types/exhaustive-ui-core-slider.d.ts +52 -67
  358. package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
  359. package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
  360. package/types/exhaustive-ui-core-splitter.d.ts +47 -59
  361. package/types/exhaustive-ui-core-steps.d.ts +24 -31
  362. package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
  363. package/types/exhaustive-ui-core-table.d.ts +349 -453
  364. package/types/exhaustive-ui-core-terminal.d.ts +10 -22
  365. package/types/exhaustive-ui-core-textarea.d.ts +7 -10
  366. package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
  367. package/types/exhaustive-ui-core-timeline.d.ts +20 -28
  368. package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
  369. package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
  370. package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
  371. package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
  372. package/types/exhaustive-ui-core-tree.d.ts +82 -119
  373. package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
  374. package/types/exhaustive-ui-core-treetable.d.ts +203 -280
  375. package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
@@ -2,9 +2,9 @@ export * from '@exhaustive-ui/core/types/speeddial';
2
2
  import * as i2 from '@angular/common';
3
3
  import { isPlatformBrowser, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, output, viewChild, contentChild, contentChildren, signal, booleanAttribute, numberAttribute, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, inject, effect, untracked, afterNextRender, afterEveryRender, input, computed, model, numberAttribute, booleanAttribute, output, viewChild, contentChild, contentChildren, signal, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import { RouterModule } from '@angular/router';
7
- import { uuid, findSingle, find, focus, hasClass } from '@exhaustive-ui/utils';
7
+ import { findSingle, uuid, find, focus, hasClass } from '@exhaustive-ui/utils';
8
8
  import { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
9
9
  import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
10
10
  import * as i1 from '@exhaustive-ui/core/bind';
@@ -22,31 +22,31 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
22
22
  /* Direction */
23
23
  const inlineStyles = {
24
24
  root: ({ instance }) => ({
25
- alignItems: instance.direction === 'up' || instance.direction === 'down' ? 'center' : null,
26
- justifyContent: instance.direction === 'left' || instance.direction === 'right' ? 'center' : null,
27
- flexDirection: instance.direction === 'up' ? 'column-reverse' : instance.direction === 'down' ? 'column' : instance.direction === 'left' ? 'row-reverse' : instance.direction === 'right' ? 'row' : null
25
+ alignItems: instance.direction() === 'up' || instance.direction() === 'down' ? 'center' : null,
26
+ justifyContent: instance.direction() === 'left' || instance.direction() === 'right' ? 'center' : null,
27
+ flexDirection: instance.direction() === 'up' ? 'column-reverse' : instance.direction() === 'down' ? 'column' : instance.direction() === 'left' ? 'row-reverse' : instance.direction() === 'right' ? 'row' : null
28
28
  }),
29
29
  list: ({ instance }) => ({
30
- flexDirection: instance.direction === 'up' ? 'column-reverse' : instance.direction === 'down' ? 'column' : instance.direction === 'left' ? 'row-reverse' : instance.direction === 'right' ? 'row' : null
30
+ flexDirection: instance.direction() === 'up' ? 'column-reverse' : instance.direction() === 'down' ? 'column' : instance.direction() === 'left' ? 'row-reverse' : instance.direction() === 'right' ? 'row' : null
31
31
  })
32
32
  };
33
33
  const classes = {
34
34
  root: ({ instance }) => [
35
- `p-speeddial p-component p-speeddial-${instance.type}`,
35
+ `p-speeddial p-component p-speeddial-${instance.type()}`,
36
36
  {
37
- [`p-speeddial-direction-${instance.direction}`]: instance.type !== 'circle',
38
- 'p-speeddial-open': instance.visible,
39
- 'p-disabled': instance.disabled
37
+ [`p-speeddial-direction-${instance.direction()}`]: instance.type() !== 'circle',
38
+ 'p-speeddial-open': instance.visible(),
39
+ 'p-disabled': instance.disabled()
40
40
  }
41
41
  ],
42
42
  pcButton: ({ instance }) => [
43
43
  'p-button-icon-only p-speeddial-button p-button-rounded',
44
44
  {
45
- 'p-speeddial-rotate': instance.rotateAnimation && !instance.hideIcon
45
+ 'p-speeddial-rotate': instance.rotateAnimation() && !instance.hideIcon()
46
46
  }
47
47
  ],
48
48
  list: 'p-speeddial-list',
49
- item: ({ instance, item, i }) => ['p-speeddial-item', { 'p-hidden': item.visible === false, 'p-focus': instance.focusedOptionId == instance.id + '_' + i }],
49
+ item: ({ instance, item, i }) => ['p-speeddial-item', { 'p-hidden': item.visible === false, 'p-focus': instance.focusedOptionId() == instance._id() + '_' + i }],
50
50
  pcAction: 'p-speeddial-action',
51
51
  actionIcon: 'p-speeddial-action-icon',
52
52
  mask: 'p-speeddial-mask p-overlay-mask'
@@ -103,157 +103,176 @@ var SpeedDialClasses;
103
103
  SpeedDialClasses["mask"] = "p-speeddial-mask";
104
104
  })(SpeedDialClasses || (SpeedDialClasses = {}));
105
105
 
106
- const SPEED_DIAL_INSTANCE = new InjectionToken('SPEED_DIAL_INSTANCE');
107
106
  /**
108
107
  * When pressed, a floating action button can display multiple primary actions that can be performed on a page.
109
108
  * @group Components
110
109
  */
111
110
  class SpeedDial extends BaseComponent {
112
111
  componentName = 'SpeedDial';
113
- $pcSpeedDial = inject(SPEED_DIAL_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
114
112
  bindDirectiveInstance = inject(Bind, { self: true });
115
- onAfterViewChecked() {
116
- this.bindDirectiveInstance.setAttrs(this.ptm('host'));
113
+ constructor() {
114
+ super();
115
+ effect(() => {
116
+ const visible = this.visible();
117
+ untracked(() => (visible ? this.bindDocumentClickListener() : this.unbindDocumentClickListener()));
118
+ });
119
+ afterNextRender(() => {
120
+ if (this.type() !== 'linear') {
121
+ const button = findSingle(this.container().nativeElement, '[data-pc-name="pcbutton"]');
122
+ const list = this.list();
123
+ const firstItem = findSingle(list.nativeElement, '[data-pc-section="item"]');
124
+ if (button && firstItem) {
125
+ const wDiff = Math.abs(button.offsetWidth - firstItem.offsetWidth);
126
+ const hDiff = Math.abs(button.offsetHeight - firstItem.offsetHeight);
127
+ list?.nativeElement.style.setProperty('--item-diff-x', `${wDiff / 2}px`);
128
+ list?.nativeElement.style.setProperty('--item-diff-y', `${hDiff / 2}px`);
129
+ }
130
+ }
131
+ });
132
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptm('host')));
117
133
  }
118
134
  /**
119
135
  * List of items id.
120
136
  * @group Props
121
137
  */
122
- id;
138
+ id = input(/* @ts-ignore */
139
+ ...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
140
+ _id = computed(() => this.id() || uuid('pn_id_'), /* @ts-ignore */
141
+ ...(ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []));
123
142
  /**
124
143
  * MenuModel instance to define the action items.
125
144
  * @group Props
126
145
  */
127
- model = null;
146
+ model = input(null, /* @ts-ignore */
147
+ ...(ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []));
128
148
  /**
129
- * Specifies the visibility of the overlay.
149
+ * Specifies the visibility of the overlay, supports one or two-way binding as well.
150
+ * Emits `visibleChange` with the new value when the visibility of element changed.
130
151
  * @defaultValue false
131
152
  * @group Props
132
153
  */
133
- get visible() {
134
- return this._visible;
135
- }
136
- set visible(value) {
137
- this._visible = value;
138
- if (this._visible) {
139
- this.bindDocumentClickListener();
140
- }
141
- else {
142
- this.unbindDocumentClickListener();
143
- }
144
- }
154
+ visible = model(false, /* @ts-ignore */
155
+ ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
145
156
  /**
146
157
  * Inline style of the element.
147
158
  * @group Props
148
159
  */
149
- style;
160
+ style = input(/* @ts-ignore */
161
+ ...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
150
162
  /**
151
163
  * Style class of the element.
152
164
  * @group Props
153
165
  */
154
- className;
166
+ className = input(/* @ts-ignore */
167
+ ...(ngDevMode ? [undefined, { debugName: "className" }] : /* istanbul ignore next */ []));
155
168
  /**
156
169
  * Specifies the opening direction of actions.
157
- * @gruop Props
170
+ * @group Props
158
171
  */
159
- direction = 'up';
172
+ direction = input('up', /* @ts-ignore */
173
+ ...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
160
174
  /**
161
175
  * Transition delay step for each action item.
162
176
  * @group Props
163
177
  */
164
- transitionDelay = 30;
178
+ transitionDelay = input(30, { ...(ngDevMode ? { debugName: "transitionDelay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
165
179
  /**
166
180
  * Specifies the opening type of actions.
167
181
  * @group Props
168
182
  */
169
- type = 'linear';
183
+ type = input('linear', /* @ts-ignore */
184
+ ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
170
185
  /**
171
186
  * Radius for *circle types.
172
187
  * @group Props
173
188
  */
174
- radius = 0;
189
+ radius = input(0, { ...(ngDevMode ? { debugName: "radius" } : /* istanbul ignore next */ {}), transform: numberAttribute });
175
190
  /**
176
191
  * Whether to show a mask element behind the speeddial.
177
192
  * @group Props
178
193
  */
179
- mask = false;
194
+ mask = input(false, { ...(ngDevMode ? { debugName: "mask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
180
195
  /**
181
196
  * Whether the component is disabled.
182
197
  * @group Props
183
198
  */
184
- disabled = false;
199
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
185
200
  /**
186
201
  * Whether the actions close when clicked outside.
187
202
  * @group Props
188
203
  */
189
- hideOnClickOutside = true;
204
+ hideOnClickOutside = input(true, { ...(ngDevMode ? { debugName: "hideOnClickOutside" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
190
205
  /**
191
206
  * Inline style of the button element.
192
207
  * @group Props
193
208
  */
194
- buttonStyle;
209
+ buttonStyle = input(/* @ts-ignore */
210
+ ...(ngDevMode ? [undefined, { debugName: "buttonStyle" }] : /* istanbul ignore next */ []));
195
211
  /**
196
212
  * Style class of the button element.
197
213
  * @group Props
198
214
  */
199
- buttonClassName;
215
+ buttonClassName = input(/* @ts-ignore */
216
+ ...(ngDevMode ? [undefined, { debugName: "buttonClassName" }] : /* istanbul ignore next */ []));
200
217
  /**
201
218
  * Inline style of the mask element.
202
219
  * @group Props
203
220
  */
204
- maskStyle;
221
+ maskStyle = input(/* @ts-ignore */
222
+ ...(ngDevMode ? [undefined, { debugName: "maskStyle" }] : /* istanbul ignore next */ []));
205
223
  /**
206
224
  * Style class of the mask element.
207
225
  * @group Props
208
226
  */
209
- maskClassName;
227
+ maskClassName = input(/* @ts-ignore */
228
+ ...(ngDevMode ? [undefined, { debugName: "maskClassName" }] : /* istanbul ignore next */ []));
210
229
  /**
211
230
  * Show icon of the button element.
212
231
  * @group Props
213
232
  */
214
- showIcon;
233
+ showIcon = input(/* @ts-ignore */
234
+ ...(ngDevMode ? [undefined, { debugName: "showIcon" }] : /* istanbul ignore next */ []));
215
235
  /**
216
236
  * Hide icon of the button element.
217
237
  * @group Props
218
238
  */
219
- hideIcon;
239
+ hideIcon = input(/* @ts-ignore */
240
+ ...(ngDevMode ? [undefined, { debugName: "hideIcon" }] : /* istanbul ignore next */ []));
220
241
  /**
221
242
  * Defined to rotate showIcon when hideIcon is not present.
222
243
  * @group Props
223
244
  */
224
- rotateAnimation = true;
245
+ rotateAnimation = input(true, { ...(ngDevMode ? { debugName: "rotateAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
225
246
  /**
226
247
  * Defines a string value that labels an interactive element.
227
248
  * @group Props
228
249
  */
229
- ariaLabel;
250
+ ariaLabel = input(/* @ts-ignore */
251
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
230
252
  /**
231
253
  * Identifier of the underlying input element.
232
254
  * @group Props
233
255
  */
234
- ariaLabelledBy;
256
+ ariaLabelledBy = input(/* @ts-ignore */
257
+ ...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
235
258
  /**
236
259
  * Whether to display the tooltip on items. The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'.
237
260
  * @group Props
238
261
  */
239
- tooltipOptions;
262
+ tooltipOptions = input(/* @ts-ignore */
263
+ ...(ngDevMode ? [undefined, { debugName: "tooltipOptions" }] : /* istanbul ignore next */ []));
240
264
  /**
241
265
  * Used to pass all properties of the ButtonProps to the Button component.
242
266
  * @group Props
243
267
  */
244
- buttonProps;
268
+ buttonProps = input(/* @ts-ignore */
269
+ ...(ngDevMode ? [undefined, { debugName: "buttonProps" }] : /* istanbul ignore next */ []));
245
270
  /**
246
271
  * Fired when the visibility of element changed.
247
272
  * @param {boolean} boolean - Visibility value.
248
273
  * @group Emits
249
274
  */
250
275
  onVisibleChange = output();
251
- /**
252
- * Fired when the visibility of element changed.
253
- * @param {boolean} boolean - Visibility value.
254
- * @group Emits
255
- */
256
- visibleChange = output();
257
276
  /**
258
277
  * Fired when the button element clicked.
259
278
  * @param {MouseEvent} event - Mouse event.
@@ -297,93 +316,66 @@ class SpeedDial extends BaseComponent {
297
316
  iconTemplate = contentChild('icon', { ...(ngDevMode ? { debugName: "iconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
298
317
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
299
318
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
300
- _buttonTemplate;
301
- _itemTemplate;
302
- _iconTemplate;
303
- isItemClicked = false;
304
- _visible = false;
305
- documentClickListener;
319
+ _buttonTemplate = computed(() => this.templates()
320
+ .filter((item) => item.getType() === 'button')
321
+ .at(-1)?.template, /* @ts-ignore */
322
+ ...(ngDevMode ? [{ debugName: "_buttonTemplate" }] : /* istanbul ignore next */ []));
323
+ _itemTemplate = computed(() => this.templates()
324
+ .filter((item) => item.getType() === 'item')
325
+ .at(-1)?.template, /* @ts-ignore */
326
+ ...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
327
+ _iconTemplate = computed(() => this.templates()
328
+ .filter((item) => item.getType() === 'icon')
329
+ .at(-1)?.template, /* @ts-ignore */
330
+ ...(ngDevMode ? [{ debugName: "_iconTemplate" }] : /* istanbul ignore next */ []));
331
+ isItemClicked = signal(false, /* @ts-ignore */
332
+ ...(ngDevMode ? [{ debugName: "isItemClicked" }] : /* istanbul ignore next */ []));
333
+ documentClickListener = signal(undefined, /* @ts-ignore */
334
+ ...(ngDevMode ? [{ debugName: "documentClickListener" }] : /* istanbul ignore next */ []));
306
335
  focusedOptionIndex = signal(null, /* @ts-ignore */
307
336
  ...(ngDevMode ? [{ debugName: "focusedOptionIndex" }] : /* istanbul ignore next */ []));
308
- focused = false;
337
+ focused = signal(false, /* @ts-ignore */
338
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
309
339
  _componentStyle = inject(SpeedDialStyle);
310
- get focusedOptionId() {
311
- return this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : null;
312
- }
340
+ focusedOptionId = computed(() => (this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : null), /* @ts-ignore */
341
+ ...(ngDevMode ? [{ debugName: "focusedOptionId" }] : /* istanbul ignore next */ []));
313
342
  getTooltipOptions(item) {
314
- return { ...this.tooltipOptions, tooltipLabel: item.label, disabled: !this.tooltipOptions };
343
+ return { ...this.tooltipOptions(), tooltipLabel: item.label, disabled: !this.tooltipOptions() };
315
344
  }
316
345
  getPTOptions(id, key) {
317
346
  return this.ptm(key, {
318
347
  context: {
319
348
  active: this.isItemActive(id),
320
- hidden: !this.visible
349
+ hidden: !this.visible()
321
350
  }
322
351
  });
323
352
  }
324
353
  isItemActive(id) {
325
- return id === this.focusedOptionId;
326
- }
327
- onInit() {
328
- this.id = this.id || uuid('pn_id_');
329
- }
330
- onAfterViewInit() {
331
- if (isPlatformBrowser(this.platformId)) {
332
- if (this.type !== 'linear') {
333
- const button = findSingle(this.container().nativeElement, '[data-pc-name="pcbutton"]');
334
- const list = this.list();
335
- const firstItem = findSingle(list.nativeElement, '[data-pc-section="item"]');
336
- if (button && firstItem) {
337
- const wDiff = Math.abs(button.offsetWidth - firstItem.offsetWidth);
338
- const hDiff = Math.abs(button.offsetHeight - firstItem.offsetHeight);
339
- list?.nativeElement.style.setProperty('--item-diff-x', `${wDiff / 2}px`);
340
- list?.nativeElement.style.setProperty('--item-diff-y', `${hDiff / 2}px`);
341
- }
342
- }
343
- }
344
- }
345
- onAfterContentInit() {
346
- this.templates()?.forEach((item) => {
347
- switch (item.getType()) {
348
- case 'button':
349
- this._buttonTemplate = item.template;
350
- break;
351
- case 'item':
352
- this._itemTemplate = item.template;
353
- break;
354
- case 'icon':
355
- this._iconTemplate = item.template;
356
- break;
357
- }
358
- });
354
+ return id === this.focusedOptionId();
359
355
  }
360
356
  show() {
361
357
  this.onVisibleChange.emit(true);
362
- this.visibleChange.emit(true);
363
- this._visible = true;
358
+ this.visible.set(true);
364
359
  this.onShow.emit(undefined);
365
360
  this.bindDocumentClickListener();
366
- this.cd.markForCheck();
367
361
  }
368
362
  hide() {
369
363
  this.onVisibleChange.emit(false);
370
- this.visibleChange.emit(false);
371
- this._visible = false;
364
+ this.visible.set(false);
372
365
  this.onHide.emit(undefined);
373
366
  this.unbindDocumentClickListener();
374
- this.cd.markForCheck();
375
367
  }
376
368
  onButtonClick(event) {
377
- this.visible ? this.hide() : this.show();
369
+ this.visible() ? this.hide() : this.show();
378
370
  this.onClick.emit(event);
379
- this.isItemClicked = true;
371
+ this.isItemClicked.set(true);
380
372
  }
381
373
  onItemClick(e, item) {
382
374
  if (item.command) {
383
375
  item.command({ originalEvent: e, item });
384
376
  }
385
377
  this.hide();
386
- this.isItemClicked = true;
378
+ this.isItemClicked.set(true);
387
379
  }
388
380
  onKeyDown(event) {
389
381
  switch (event.code) {
@@ -417,17 +409,17 @@ class SpeedDial extends BaseComponent {
417
409
  }
418
410
  }
419
411
  onFocus(event) {
420
- this.focused = true;
412
+ this.focused.set(true);
421
413
  }
422
414
  onBlur(event) {
423
- this.focused = false;
415
+ this.focused.set(false);
424
416
  asapScheduler.schedule(() => this.focusedOptionIndex.set(-1));
425
417
  }
426
418
  onArrowUp(event) {
427
- if (this.direction === 'up') {
419
+ if (this.direction() === 'up') {
428
420
  this.navigateNextItem(event);
429
421
  }
430
- else if (this.direction === 'down') {
422
+ else if (this.direction() === 'down') {
431
423
  this.navigatePrevItem(event);
432
424
  }
433
425
  else {
@@ -435,10 +427,10 @@ class SpeedDial extends BaseComponent {
435
427
  }
436
428
  }
437
429
  onArrowDown(event) {
438
- if (this.direction === 'up') {
430
+ if (this.direction() === 'up') {
439
431
  this.navigatePrevItem(event);
440
432
  }
441
- else if (this.direction === 'down') {
433
+ else if (this.direction() === 'down') {
442
434
  this.navigateNextItem(event);
443
435
  }
444
436
  else {
@@ -448,10 +440,10 @@ class SpeedDial extends BaseComponent {
448
440
  onArrowLeft(event) {
449
441
  const leftValidDirections = ['left', 'up-right', 'down-left'];
450
442
  const rightValidDirections = ['right', 'up-left', 'down-right'];
451
- if (leftValidDirections.includes(this.direction || '')) {
443
+ if (leftValidDirections.includes(this.direction() || '')) {
452
444
  this.navigateNextItem(event);
453
445
  }
454
- else if (rightValidDirections.includes(this.direction || '')) {
446
+ else if (rightValidDirections.includes(this.direction() || '')) {
455
447
  this.navigatePrevItem(event);
456
448
  }
457
449
  else {
@@ -461,10 +453,10 @@ class SpeedDial extends BaseComponent {
461
453
  onArrowRight(event) {
462
454
  const leftValidDirections = ['left', 'up-right', 'down-left'];
463
455
  const rightValidDirections = ['right', 'up-left', 'down-right'];
464
- if (leftValidDirections.includes(this.direction || '')) {
456
+ if (leftValidDirections.includes(this.direction() || '')) {
465
457
  this.navigatePrevItem(event);
466
458
  }
467
- else if (rightValidDirections.includes(this.direction || '')) {
459
+ else if (rightValidDirections.includes(this.direction() || '')) {
468
460
  this.navigateNextItem(event);
469
461
  }
470
462
  else {
@@ -485,8 +477,9 @@ class SpeedDial extends BaseComponent {
485
477
  const container = this.container();
486
478
  const items = find(container.nativeElement, '[data-pc-section="item"]');
487
479
  const itemIndex = [...items].findIndex((item) => item.id === this.focusedOptionIndex());
488
- if (itemIndex !== -1 && this.model && this.model[itemIndex]) {
489
- this.onItemClick(event, this.model[itemIndex]);
480
+ const model = this.model();
481
+ if (itemIndex !== -1 && model && model[itemIndex]) {
482
+ this.onItemClick(event, model[itemIndex]);
490
483
  }
491
484
  this.onBlur(event);
492
485
  const buttonEl = findSingle(container?.nativeElement, 'button');
@@ -515,14 +508,14 @@ class SpeedDial extends BaseComponent {
515
508
  }
516
509
  }
517
510
  onTogglerArrowUp(event) {
518
- this.focused = true;
511
+ this.focused.set(true);
519
512
  focus(this.list().nativeElement);
520
513
  this.show();
521
514
  this.navigatePrevItem(event);
522
515
  event.preventDefault();
523
516
  }
524
517
  onTogglerArrowDown(event) {
525
- this.focused = true;
518
+ this.focused.set(true);
526
519
  focus(this.list().nativeElement);
527
520
  this.show();
528
521
  this.navigateNextItem(event);
@@ -562,10 +555,10 @@ class SpeedDial extends BaseComponent {
562
555
  }
563
556
  }
564
557
  calculatePointStyle(index) {
565
- const type = this.type;
558
+ const type = this.type();
566
559
  if (type !== 'linear') {
567
- const length = this.model.length;
568
- const radius = this.radius || length * 20;
560
+ const length = this.model().length;
561
+ const radius = this.radius() || length * 20;
569
562
  if (type === 'circle') {
570
563
  const step = (2 * Math.PI) / length;
571
564
  return {
@@ -574,7 +567,7 @@ class SpeedDial extends BaseComponent {
574
567
  };
575
568
  }
576
569
  else if (type === 'semi-circle') {
577
- const direction = this.direction;
570
+ const direction = this.direction();
578
571
  const step = Math.PI / (length - 1);
579
572
  const x = `calc(${radius * Math.cos(step * index)}px + var(--item-diff-x, 0px))`;
580
573
  const y = `calc(${radius * Math.sin(step * index)}px + var(--item-diff-y, 0px))`;
@@ -592,7 +585,7 @@ class SpeedDial extends BaseComponent {
592
585
  }
593
586
  }
594
587
  else if (type === 'quarter-circle') {
595
- const direction = this.direction;
588
+ const direction = this.direction();
596
589
  const step = Math.PI / (2 * (length - 1));
597
590
  const x = `calc(${radius * Math.cos(step * index)}px + var(--item-diff-x, 0px))`;
598
591
  const y = `calc(${radius * Math.sin(step * index)}px + var(--item-diff-y, 0px))`;
@@ -613,18 +606,19 @@ class SpeedDial extends BaseComponent {
613
606
  return {};
614
607
  }
615
608
  calculateTransitionDelay(index) {
616
- const length = this.model.length;
617
- return (this.visible ? index : length - index - 1) * this.transitionDelay;
609
+ const length = this.model().length;
610
+ return (this.visible() ? index : length - index - 1) * this.transitionDelay();
618
611
  }
619
- get buttonIconClass() {
620
- if (!this.visible && this.showIcon) {
621
- return this.showIcon;
612
+ buttonIconClass = computed(() => {
613
+ if (!this.visible() && this.showIcon()) {
614
+ return this.showIcon();
622
615
  }
623
- if (this.visible && this.hideIcon) {
624
- return this.hideIcon;
616
+ if (this.visible() && this.hideIcon()) {
617
+ return this.hideIcon();
625
618
  }
626
- return this.showIcon;
627
- }
619
+ return this.showIcon();
620
+ }, /* @ts-ignore */
621
+ ...(ngDevMode ? [{ debugName: "buttonIconClass" }] : /* istanbul ignore next */ []));
628
622
  getItemStyle(index) {
629
623
  const transitionDelay = this.calculateTransitionDelay(index);
630
624
  const pointStyle = this.calculatePointStyle(index);
@@ -634,95 +628,95 @@ class SpeedDial extends BaseComponent {
634
628
  };
635
629
  }
636
630
  isClickableRouterLink(item) {
637
- return item.routerLink && !this.disabled && !item.disabled;
631
+ return item.routerLink && !this.disabled() && !item.disabled;
638
632
  }
639
633
  isOutsideClicked(event) {
640
634
  const container = this.container();
641
- return !(container.nativeElement.isSameNode(event.target) || container.nativeElement.contains(event.target) || this.isItemClicked);
635
+ return !(container.nativeElement.isSameNode(event.target) || container.nativeElement.contains(event.target) || this.isItemClicked());
642
636
  }
643
637
  bindDocumentClickListener() {
644
638
  if (isPlatformBrowser(this.platformId)) {
645
- if (!this.documentClickListener && this.hideOnClickOutside) {
646
- this.documentClickListener = this.renderer.listen(this.document, 'click', (event) => {
647
- if (this.visible && this.isOutsideClicked(event)) {
639
+ if (!this.documentClickListener() && this.hideOnClickOutside()) {
640
+ this.documentClickListener.set(this.renderer.listen(this.document, 'click', (event) => {
641
+ if (this.visible() && this.isOutsideClicked(event)) {
648
642
  this.hide();
649
643
  }
650
- this.isItemClicked = false;
651
- });
644
+ this.isItemClicked.set(false);
645
+ }));
652
646
  }
653
647
  }
654
648
  }
655
649
  unbindDocumentClickListener() {
656
- if (this.documentClickListener) {
657
- this.documentClickListener();
658
- this.documentClickListener = null;
650
+ if (this.documentClickListener()) {
651
+ this.documentClickListener()();
652
+ this.documentClickListener.set(null);
659
653
  }
660
654
  }
661
655
  onDestroy() {
662
656
  this.unbindDocumentClickListener();
663
657
  }
664
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SpeedDial, deps: null, target: i0.ɵɵFactoryTarget.Component });
665
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: SpeedDial, isStandalone: true, selector: "p-speeddial, p-speedDial, p-speed-dial", inputs: { id: "id", model: "model", visible: "visible", style: "style", className: "className", direction: "direction", transitionDelay: ["transitionDelay", "transitionDelay", numberAttribute], type: "type", radius: ["radius", "radius", numberAttribute], mask: ["mask", "mask", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], hideOnClickOutside: ["hideOnClickOutside", "hideOnClickOutside", booleanAttribute], buttonStyle: "buttonStyle", buttonClassName: "buttonClassName", maskStyle: "maskStyle", maskClassName: "maskClassName", showIcon: "showIcon", hideIcon: "hideIcon", rotateAnimation: ["rotateAnimation", "rotateAnimation", booleanAttribute], ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", tooltipOptions: "tooltipOptions", buttonProps: "buttonProps" }, outputs: { onVisibleChange: "onVisibleChange", visibleChange: "visibleChange", onClick: "onClick", onShow: "onShow", onHide: "onHide" }, providers: [SpeedDialStyle, { provide: SPEED_DIAL_INSTANCE, useExisting: SpeedDial }, { provide: PARENT_INSTANCE, useExisting: SpeedDial }], queries: [{ propertyName: "buttonTemplate", first: true, predicate: ["button"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
666
- <div #container [pBind]="ptm('root')" [class]="cn(cx('root'), className)" [style]="style" [ngStyle]="sx('root')">
667
- @if (!buttonTemplate() && !_buttonTemplate) {
658
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SpeedDial, deps: [], target: i0.ɵɵFactoryTarget.Component });
659
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: SpeedDial, isStandalone: true, selector: "p-speeddial, p-speedDial, p-speed-dial", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, transitionDelay: { classPropertyName: "transitionDelay", publicName: "transitionDelay", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, hideOnClickOutside: { classPropertyName: "hideOnClickOutside", publicName: "hideOnClickOutside", isSignal: true, isRequired: false, transformFunction: null }, buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, buttonClassName: { classPropertyName: "buttonClassName", publicName: "buttonClassName", isSignal: true, isRequired: false, transformFunction: null }, maskStyle: { classPropertyName: "maskStyle", publicName: "maskStyle", isSignal: true, isRequired: false, transformFunction: null }, maskClassName: { classPropertyName: "maskClassName", publicName: "maskClassName", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, hideIcon: { classPropertyName: "hideIcon", publicName: "hideIcon", isSignal: true, isRequired: false, transformFunction: null }, rotateAnimation: { classPropertyName: "rotateAnimation", publicName: "rotateAnimation", 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 }, tooltipOptions: { classPropertyName: "tooltipOptions", publicName: "tooltipOptions", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", onVisibleChange: "onVisibleChange", onClick: "onClick", onShow: "onShow", onHide: "onHide" }, providers: [SpeedDialStyle, { provide: PARENT_INSTANCE, useExisting: SpeedDial }], queries: [{ propertyName: "buttonTemplate", first: true, predicate: ["button"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
660
+ <div #container [pBind]="ptm('root')" [class]="cn(cx('root'), className())" [style]="style()" [ngStyle]="sx('root')">
661
+ @if (!buttonTemplate() && !_buttonTemplate()) {
668
662
  <button
669
663
  type="button"
670
664
  pButton
671
665
  pRipple
672
- [style]="buttonStyle"
673
- [icon]="buttonIconClass"
674
- [class]="cn(cx('pcButton'), buttonClassName)"
675
- [disabled]="disabled"
676
- [attr.aria-expanded]="visible"
666
+ [style]="buttonStyle()"
667
+ [icon]="buttonIconClass()"
668
+ [class]="cn(cx('pcButton'), buttonClassName())"
669
+ [disabled]="disabled()"
670
+ [attr.aria-expanded]="visible()"
677
671
  [attr.aria-haspopup]="true"
678
- [attr.aria-controls]="id + '_list'"
679
- [attr.aria-label]="ariaLabel"
680
- [attr.aria-labelledby]="ariaLabelledBy"
672
+ [attr.aria-controls]="_id() + '_list'"
673
+ [attr.aria-label]="ariaLabel()"
674
+ [attr.aria-labelledby]="ariaLabelledBy()"
681
675
  (click)="onButtonClick($event)"
682
676
  (keydown)="onTogglerKeydown($event)"
683
- [buttonProps]="buttonProps"
677
+ [buttonProps]="buttonProps()"
684
678
  [pt]="ptm('pcButton')"
685
679
  [unstyled]="unstyled()"
686
680
  >
687
- @if (!buttonIconClass && !iconTemplate() && !_iconTemplate) {
681
+ @if (!buttonIconClass() && !iconTemplate() && !_iconTemplate()) {
688
682
  <svg data-p-icon="plus" pButtonIcon [pt]="ptm('pcButton')['icon']" />
689
683
  }
690
- <ng-container *ngTemplateOutlet="iconTemplate() || _iconTemplate"></ng-container>
684
+ <ng-container *ngTemplateOutlet="iconTemplate() || _iconTemplate()"></ng-container>
691
685
  </button>
692
686
  }
693
- @if (buttonTemplate() || _buttonTemplate) {
694
- <ng-container *ngTemplateOutlet="buttonTemplate() || _buttonTemplate; context: { toggleCallback: onButtonClick.bind(this) }"></ng-container>
687
+ @if (buttonTemplate() || _buttonTemplate()) {
688
+ <ng-container *ngTemplateOutlet="buttonTemplate() || _buttonTemplate(); context: { toggleCallback: onButtonClick.bind(this) }"></ng-container>
695
689
  }
696
690
  <ul
697
691
  #list
698
692
  [pBind]="ptm('list')"
699
693
  [class]="cx('list')"
700
694
  role="menu"
701
- [id]="id + '_list'"
695
+ [id]="_id() + '_list'"
702
696
  (focus)="onFocus($event)"
703
697
  (focusout)="onBlur($event)"
704
698
  (keydown)="onKeyDown($event)"
705
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
699
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
706
700
  [tabindex]="-1"
707
701
  [ngStyle]="sx('list')"
708
702
  >
709
- @for (item of model; track item; let i = $index) {
703
+ @for (item of model(); track item; let i = $index) {
710
704
  <li
711
- [pBind]="getPTOptions(id + '_' + i, 'item')"
705
+ [pBind]="getPTOptions(_id() + '_' + i, 'item')"
712
706
  [ngStyle]="getItemStyle(i)"
713
707
  [class]="cx('item', { item, i })"
714
708
  pTooltip
715
709
  [pTooltipUnstyled]="unstyled()"
716
710
  [tooltipOptions]="item.tooltipOptions || getTooltipOptions(item)"
717
- [id]="id + '_' + i"
718
- [attr.aria-controls]="id + '_item'"
711
+ [id]="_id() + '_' + i"
712
+ [attr.aria-controls]="_id() + '_item'"
719
713
  role="menuitem"
720
- [attr.data-p-active]="isItemActive(id + '_' + i)"
714
+ [attr.data-p-active]="isItemActive(_id() + '_' + i)"
721
715
  >
722
- @if (itemTemplate() || _itemTemplate) {
723
- <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: i, toggleCallback: onItemClick.bind(this) }"></ng-container>
716
+ @if (itemTemplate() || _itemTemplate()) {
717
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: i, toggleCallback: onItemClick.bind(this) }"></ng-container>
724
718
  }
725
- @if (!itemTemplate() && !_itemTemplate) {
719
+ @if (!itemTemplate() && !_itemTemplate()) {
726
720
  <button
727
721
  type="button"
728
722
  pButton
@@ -736,12 +730,12 @@ class SpeedDial extends BaseComponent {
736
730
  [disabled]="item?.disabled"
737
731
  (keydown.enter)="onItemClick($event, item)"
738
732
  [attr.aria-label]="item.label"
739
- [attr.tabindex]="item.disabled || !visible ? null : item.tabindex ? item.tabindex : '0'"
740
- [pt]="getPTOptions(id + '_' + i, 'pcAction')"
733
+ [attr.tabindex]="item.disabled || !visible() ? null : item.tabindex ? item.tabindex : '0'"
734
+ [pt]="getPTOptions(_id() + '_' + i, 'pcAction')"
741
735
  [unstyled]="unstyled()"
742
736
  >
743
737
  @if (item.icon) {
744
- <span pButtonIcon [pt]="getPTOptions(id + '_' + i, 'actionIcon')" [class]="item.icon"></span>
738
+ <span pButtonIcon [pt]="getPTOptions(_id() + '_' + i, 'actionIcon')" [class]="item.icon"></span>
745
739
  }
746
740
  </button>
747
741
  }
@@ -749,8 +743,8 @@ class SpeedDial extends BaseComponent {
749
743
  }
750
744
  </ul>
751
745
  </div>
752
- @if (mask && visible) {
753
- <div [pBind]="ptm('mask')" [class]="cn(cx('mask'), maskClassName)" [ngStyle]="maskStyle" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active"></div>
746
+ @if (mask() && visible()) {
747
+ <div [pBind]="ptm('mask')" [class]="cn(cx('mask'), maskClassName())" [ngStyle]="maskStyle()" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active"></div>
754
748
  }
755
749
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "directive", type: i3.ButtonIcon, selector: "[pButtonIcon]", inputs: ["ptButtonIcon", "pButtonIconPT", "pButtonUnstyled"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: RouterModule }, { kind: "component", type: PlusIcon, selector: "[data-p-icon=\"plus\"]" }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
756
750
  }
@@ -758,69 +752,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
758
752
  type: Component,
759
753
  args: [{
760
754
  selector: 'p-speeddial, p-speedDial, p-speed-dial',
761
- standalone: true,
762
755
  imports: [CommonModule, ButtonModule, Ripple, TooltipModule, RouterModule, PlusIcon, SharedModule, Bind],
763
756
  template: `
764
- <div #container [pBind]="ptm('root')" [class]="cn(cx('root'), className)" [style]="style" [ngStyle]="sx('root')">
765
- @if (!buttonTemplate() && !_buttonTemplate) {
757
+ <div #container [pBind]="ptm('root')" [class]="cn(cx('root'), className())" [style]="style()" [ngStyle]="sx('root')">
758
+ @if (!buttonTemplate() && !_buttonTemplate()) {
766
759
  <button
767
760
  type="button"
768
761
  pButton
769
762
  pRipple
770
- [style]="buttonStyle"
771
- [icon]="buttonIconClass"
772
- [class]="cn(cx('pcButton'), buttonClassName)"
773
- [disabled]="disabled"
774
- [attr.aria-expanded]="visible"
763
+ [style]="buttonStyle()"
764
+ [icon]="buttonIconClass()"
765
+ [class]="cn(cx('pcButton'), buttonClassName())"
766
+ [disabled]="disabled()"
767
+ [attr.aria-expanded]="visible()"
775
768
  [attr.aria-haspopup]="true"
776
- [attr.aria-controls]="id + '_list'"
777
- [attr.aria-label]="ariaLabel"
778
- [attr.aria-labelledby]="ariaLabelledBy"
769
+ [attr.aria-controls]="_id() + '_list'"
770
+ [attr.aria-label]="ariaLabel()"
771
+ [attr.aria-labelledby]="ariaLabelledBy()"
779
772
  (click)="onButtonClick($event)"
780
773
  (keydown)="onTogglerKeydown($event)"
781
- [buttonProps]="buttonProps"
774
+ [buttonProps]="buttonProps()"
782
775
  [pt]="ptm('pcButton')"
783
776
  [unstyled]="unstyled()"
784
777
  >
785
- @if (!buttonIconClass && !iconTemplate() && !_iconTemplate) {
778
+ @if (!buttonIconClass() && !iconTemplate() && !_iconTemplate()) {
786
779
  <svg data-p-icon="plus" pButtonIcon [pt]="ptm('pcButton')['icon']" />
787
780
  }
788
- <ng-container *ngTemplateOutlet="iconTemplate() || _iconTemplate"></ng-container>
781
+ <ng-container *ngTemplateOutlet="iconTemplate() || _iconTemplate()"></ng-container>
789
782
  </button>
790
783
  }
791
- @if (buttonTemplate() || _buttonTemplate) {
792
- <ng-container *ngTemplateOutlet="buttonTemplate() || _buttonTemplate; context: { toggleCallback: onButtonClick.bind(this) }"></ng-container>
784
+ @if (buttonTemplate() || _buttonTemplate()) {
785
+ <ng-container *ngTemplateOutlet="buttonTemplate() || _buttonTemplate(); context: { toggleCallback: onButtonClick.bind(this) }"></ng-container>
793
786
  }
794
787
  <ul
795
788
  #list
796
789
  [pBind]="ptm('list')"
797
790
  [class]="cx('list')"
798
791
  role="menu"
799
- [id]="id + '_list'"
792
+ [id]="_id() + '_list'"
800
793
  (focus)="onFocus($event)"
801
794
  (focusout)="onBlur($event)"
802
795
  (keydown)="onKeyDown($event)"
803
- [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
796
+ [attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
804
797
  [tabindex]="-1"
805
798
  [ngStyle]="sx('list')"
806
799
  >
807
- @for (item of model; track item; let i = $index) {
800
+ @for (item of model(); track item; let i = $index) {
808
801
  <li
809
- [pBind]="getPTOptions(id + '_' + i, 'item')"
802
+ [pBind]="getPTOptions(_id() + '_' + i, 'item')"
810
803
  [ngStyle]="getItemStyle(i)"
811
804
  [class]="cx('item', { item, i })"
812
805
  pTooltip
813
806
  [pTooltipUnstyled]="unstyled()"
814
807
  [tooltipOptions]="item.tooltipOptions || getTooltipOptions(item)"
815
- [id]="id + '_' + i"
816
- [attr.aria-controls]="id + '_item'"
808
+ [id]="_id() + '_' + i"
809
+ [attr.aria-controls]="_id() + '_item'"
817
810
  role="menuitem"
818
- [attr.data-p-active]="isItemActive(id + '_' + i)"
811
+ [attr.data-p-active]="isItemActive(_id() + '_' + i)"
819
812
  >
820
- @if (itemTemplate() || _itemTemplate) {
821
- <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: i, toggleCallback: onItemClick.bind(this) }"></ng-container>
813
+ @if (itemTemplate() || _itemTemplate()) {
814
+ <ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: i, toggleCallback: onItemClick.bind(this) }"></ng-container>
822
815
  }
823
- @if (!itemTemplate() && !_itemTemplate) {
816
+ @if (!itemTemplate() && !_itemTemplate()) {
824
817
  <button
825
818
  type="button"
826
819
  pButton
@@ -834,12 +827,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
834
827
  [disabled]="item?.disabled"
835
828
  (keydown.enter)="onItemClick($event, item)"
836
829
  [attr.aria-label]="item.label"
837
- [attr.tabindex]="item.disabled || !visible ? null : item.tabindex ? item.tabindex : '0'"
838
- [pt]="getPTOptions(id + '_' + i, 'pcAction')"
830
+ [attr.tabindex]="item.disabled || !visible() ? null : item.tabindex ? item.tabindex : '0'"
831
+ [pt]="getPTOptions(_id() + '_' + i, 'pcAction')"
839
832
  [unstyled]="unstyled()"
840
833
  >
841
834
  @if (item.icon) {
842
- <span pButtonIcon [pt]="getPTOptions(id + '_' + i, 'actionIcon')" [class]="item.icon"></span>
835
+ <span pButtonIcon [pt]="getPTOptions(_id() + '_' + i, 'actionIcon')" [class]="item.icon"></span>
843
836
  }
844
837
  </button>
845
838
  }
@@ -847,68 +840,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
847
840
  }
848
841
  </ul>
849
842
  </div>
850
- @if (mask && visible) {
851
- <div [pBind]="ptm('mask')" [class]="cn(cx('mask'), maskClassName)" [ngStyle]="maskStyle" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active"></div>
843
+ @if (mask() && visible()) {
844
+ <div [pBind]="ptm('mask')" [class]="cn(cx('mask'), maskClassName())" [ngStyle]="maskStyle()" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active"></div>
852
845
  }
853
846
  `,
854
847
  changeDetection: ChangeDetectionStrategy.OnPush,
855
848
  encapsulation: ViewEncapsulation.None,
856
- providers: [SpeedDialStyle, { provide: SPEED_DIAL_INSTANCE, useExisting: SpeedDial }, { provide: PARENT_INSTANCE, useExisting: SpeedDial }],
849
+ providers: [SpeedDialStyle, { provide: PARENT_INSTANCE, useExisting: SpeedDial }],
857
850
  hostDirectives: [Bind]
858
851
  }]
859
- }], propDecorators: { id: [{
860
- type: Input
861
- }], model: [{
862
- type: Input
863
- }], visible: [{
864
- type: Input
865
- }], style: [{
866
- type: Input
867
- }], className: [{
868
- type: Input
869
- }], direction: [{
870
- type: Input
871
- }], transitionDelay: [{
872
- type: Input,
873
- args: [{ transform: numberAttribute }]
874
- }], type: [{
875
- type: Input
876
- }], radius: [{
877
- type: Input,
878
- args: [{ transform: numberAttribute }]
879
- }], mask: [{
880
- type: Input,
881
- args: [{ transform: booleanAttribute }]
882
- }], disabled: [{
883
- type: Input,
884
- args: [{ transform: booleanAttribute }]
885
- }], hideOnClickOutside: [{
886
- type: Input,
887
- args: [{ transform: booleanAttribute }]
888
- }], buttonStyle: [{
889
- type: Input
890
- }], buttonClassName: [{
891
- type: Input
892
- }], maskStyle: [{
893
- type: Input
894
- }], maskClassName: [{
895
- type: Input
896
- }], showIcon: [{
897
- type: Input
898
- }], hideIcon: [{
899
- type: Input
900
- }], rotateAnimation: [{
901
- type: Input,
902
- args: [{ transform: booleanAttribute }]
903
- }], ariaLabel: [{
904
- type: Input
905
- }], ariaLabelledBy: [{
906
- type: Input
907
- }], tooltipOptions: [{
908
- type: Input
909
- }], buttonProps: [{
910
- type: Input
911
- }], onVisibleChange: [{ type: i0.Output, args: ["onVisibleChange"] }], visibleChange: [{ type: i0.Output, args: ["visibleChange"] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], container: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], list: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], buttonTemplate: [{ type: i0.ContentChild, args: ['button', { ...{ descendants: false }, isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
852
+ }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], className: [{ type: i0.Input, args: [{ isSignal: true, alias: "className", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], transitionDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionDelay", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], radius: [{ type: i0.Input, args: [{ isSignal: true, alias: "radius", required: false }] }], mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], hideOnClickOutside: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideOnClickOutside", required: false }] }], buttonStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonStyle", required: false }] }], buttonClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonClassName", required: false }] }], maskStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskStyle", required: false }] }], maskClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskClassName", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], hideIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideIcon", required: false }] }], rotateAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotateAnimation", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], tooltipOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltipOptions", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], onVisibleChange: [{ type: i0.Output, args: ["onVisibleChange"] }], onClick: [{ type: i0.Output, args: ["onClick"] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], container: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], list: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], buttonTemplate: [{ type: i0.ContentChild, args: ['button', { ...{ descendants: false }, isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
912
853
  class SpeedDialModule {
913
854
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SpeedDialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
914
855
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: SpeedDialModule, imports: [SpeedDial, SharedModule], exports: [SpeedDial, SharedModule] });