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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
  4. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-api.mjs +10 -17
  6. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +786 -928
  8. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
  10. package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
  12. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
  14. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
  16. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
  18. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
  20. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-carousel.mjs +561 -599
  22. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
  24. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
  26. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
  28. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
  30. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
  32. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +227 -394
  34. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +255 -266
  36. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +585 -653
  38. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
  40. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-datepicker.mjs +1792 -1787
  42. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-dialog.mjs +480 -577
  44. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
  46. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
  48. package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
  50. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
  52. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
  54. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
  56. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-fileupload.mjs +774 -745
  58. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
  60. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
  62. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
  64. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
  66. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
  68. package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
  70. package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
  72. package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
  74. package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
  76. package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
  78. package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
  80. package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
  82. package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
  84. package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
  86. package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
  88. package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
  90. package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
  92. package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
  94. package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
  96. package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
  98. package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
  100. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
  102. package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
  104. package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
  106. package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
  108. package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
  110. package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
  112. package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
  114. package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
  116. package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
  118. package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
  120. package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
  122. package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
  124. package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
  126. package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
  128. package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
  130. package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
  132. package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
  134. package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
  136. package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
  138. package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
  140. package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
  142. package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
  144. package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
  146. package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
  148. package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
  150. package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
  152. package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
  154. package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
  156. package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
  158. package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
  160. package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
  162. package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
  164. package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
  166. package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
  168. package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
  170. package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
  171. package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
  172. package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
  173. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
  174. package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
  175. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
  176. package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
  177. package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
  178. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  179. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
  180. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  181. package/fesm2022/exhaustive-ui-core-inplace.mjs +68 -102
  182. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  183. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
  184. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  185. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
  186. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  187. package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
  188. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  189. package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
  190. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  191. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
  192. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  193. package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
  194. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  195. package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
  196. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  197. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
  198. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  199. package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
  200. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  201. package/fesm2022/exhaustive-ui-core-listbox.mjs +591 -728
  202. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  203. package/fesm2022/exhaustive-ui-core-megamenu.mjs +324 -375
  204. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  205. package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
  206. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  207. package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
  208. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  209. package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
  210. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  211. package/fesm2022/exhaustive-ui-core-motion.mjs +2 -2
  212. package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
  213. package/fesm2022/exhaustive-ui-core-multiselect.mjs +945 -1045
  214. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  215. package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
  216. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  217. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
  218. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  219. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
  220. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  221. package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
  222. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  223. package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
  224. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  225. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
  226. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  227. package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
  228. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  229. package/fesm2022/exhaustive-ui-core-picklist.mjs +861 -879
  230. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  231. package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
  232. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  233. package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
  234. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  235. package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
  236. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  237. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
  238. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  239. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
  240. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  241. package/fesm2022/exhaustive-ui-core-select.mjs +837 -986
  242. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  243. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
  244. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  245. package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
  246. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  247. package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
  248. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  249. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
  250. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  251. package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
  252. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  253. package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
  254. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  255. package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
  256. package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
  257. package/fesm2022/exhaustive-ui-core-table.mjs +2435 -2721
  258. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  259. package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
  260. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  261. package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
  262. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  263. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +604 -690
  264. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  265. package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
  266. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  267. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
  268. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  269. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
  270. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  271. package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
  272. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  273. package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
  274. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  275. package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
  276. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  277. package/fesm2022/exhaustive-ui-core-treeselect.mjs +333 -423
  278. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  279. package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
  280. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  281. package/package.json +11 -11
  282. package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
  283. package/schematics/migrations/renamed-inputs/migration.js +97 -0
  284. package/schematics/migrations/styleclass-to-class/migration.js +92 -1
  285. package/schematics/migrations.json +11 -6
  286. package/schematics/utils/removed-inputs.js +0 -0
  287. package/schematics/utils/renamed-inputs.js +175 -0
  288. package/schematics/utils/styleclass.js +24 -8
  289. package/schematics/utils/versions.json +8 -8
  290. package/types/exhaustive-ui-core-accordion.d.ts +8 -24
  291. package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
  292. package/types/exhaustive-ui-core-api.d.ts +2 -3
  293. package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
  294. package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
  295. package/types/exhaustive-ui-core-avatar.d.ts +18 -25
  296. package/types/exhaustive-ui-core-badge.d.ts +13 -27
  297. package/types/exhaustive-ui-core-blockui.d.ts +18 -30
  298. package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
  299. package/types/exhaustive-ui-core-button.d.ts +57 -89
  300. package/types/exhaustive-ui-core-carousel.d.ts +56 -82
  301. package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
  302. package/types/exhaustive-ui-core-chart.d.ts +21 -29
  303. package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
  304. package/types/exhaustive-ui-core-chip.d.ts +31 -38
  305. package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
  306. package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
  307. package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
  308. package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
  309. package/types/exhaustive-ui-core-dataview.d.ts +42 -65
  310. package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
  311. package/types/exhaustive-ui-core-dialog.d.ts +73 -123
  312. package/types/exhaustive-ui-core-dock.d.ts +16 -25
  313. package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
  314. package/types/exhaustive-ui-core-drawer.d.ts +32 -64
  315. package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
  316. package/types/exhaustive-ui-core-editor.d.ts +15 -25
  317. package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
  318. package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
  319. package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
  320. package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
  321. package/types/exhaustive-ui-core-galleria.d.ts +124 -194
  322. package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
  323. package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
  324. package/types/exhaustive-ui-core-image.d.ts +35 -68
  325. package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
  326. package/types/exhaustive-ui-core-inplace.d.ts +30 -42
  327. package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
  328. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
  329. package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
  330. package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
  331. package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
  332. package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
  333. package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
  334. package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
  335. package/types/exhaustive-ui-core-knob.d.ts +45 -60
  336. package/types/exhaustive-ui-core-listbox.d.ts +90 -126
  337. package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
  338. package/types/exhaustive-ui-core-menu.d.ts +33 -53
  339. package/types/exhaustive-ui-core-menubar.d.ts +38 -85
  340. package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
  341. package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
  342. package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
  343. package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
  344. package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
  345. package/types/exhaustive-ui-core-paginator.d.ts +41 -69
  346. package/types/exhaustive-ui-core-panel.d.ts +18 -45
  347. package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
  348. package/types/exhaustive-ui-core-password.d.ts +56 -93
  349. package/types/exhaustive-ui-core-picklist.d.ts +107 -121
  350. package/types/exhaustive-ui-core-popover.d.ts +23 -47
  351. package/types/exhaustive-ui-core-rating.d.ts +18 -26
  352. package/types/exhaustive-ui-core-scroller.d.ts +90 -120
  353. package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
  354. package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
  355. package/types/exhaustive-ui-core-select.d.ts +137 -188
  356. package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
  357. package/types/exhaustive-ui-core-slider.d.ts +52 -67
  358. package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
  359. package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
  360. package/types/exhaustive-ui-core-splitter.d.ts +47 -59
  361. package/types/exhaustive-ui-core-steps.d.ts +24 -31
  362. package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
  363. package/types/exhaustive-ui-core-table.d.ts +349 -453
  364. package/types/exhaustive-ui-core-terminal.d.ts +10 -22
  365. package/types/exhaustive-ui-core-textarea.d.ts +7 -10
  366. package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
  367. package/types/exhaustive-ui-core-timeline.d.ts +20 -28
  368. package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
  369. package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
  370. package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
  371. package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
  372. package/types/exhaustive-ui-core-tree.d.ts +82 -119
  373. package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
  374. package/types/exhaustive-ui-core-treetable.d.ts +203 -280
  375. package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/splitter';
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, contentChildren, contentChild, forwardRef, computed, numberAttribute, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
5
+ import { Injectable, inject, afterEveryRender, effect, untracked, afterNextRender, input, numberAttribute, output, contentChildren, contentChild, forwardRef, computed, signal, linkedSignal, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
6
6
  import { getWidth, getHeight, getOuterWidth, getOuterHeight, addClass, isRTL, removeClass } from '@exhaustive-ui/utils';
7
7
  import { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
8
8
  import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
@@ -12,13 +12,13 @@ import { style } from '@exhaustive-ui/styles/splitter';
12
12
  import { BaseStyle } from '@exhaustive-ui/core/base';
13
13
 
14
14
  const classes = {
15
- root: ({ instance }) => ['p-splitter p-component', 'p-splitter-' + instance.layout],
15
+ root: ({ instance }) => ['p-splitter p-component', 'p-splitter-' + instance.layout()],
16
16
  panel: ({ instance }) => ['p-splitterpanel', { 'p-splitterpanel-nested': instance.nestedState() }],
17
17
  gutter: 'p-splitter-gutter',
18
18
  gutterHandle: 'p-splitter-gutter-handle'
19
19
  };
20
20
  const inlineStyles = {
21
- root: ({ instance }) => [{ display: 'flex', 'flex-wrap': 'nowrap' }, instance.layout === 'vertical' ? { 'flex-direction': 'column' } : '']
21
+ root: ({ instance }) => [{ display: 'flex', 'flex-wrap': 'nowrap' }, instance.layout() === 'vertical' ? { 'flex-direction': 'column' } : '']
22
22
  };
23
23
  class SplitterStyle extends BaseStyle {
24
24
  name = 'splitter';
@@ -56,84 +56,105 @@ var SplitterClasses;
56
56
  SplitterClasses["gutterHandle"] = "p-splitter-gutter-handle";
57
57
  })(SplitterClasses || (SplitterClasses = {}));
58
58
 
59
- const SPLITTER_INSTANCE = new InjectionToken('SPLITTER_INSTANCE');
60
59
  /**
61
60
  * Splitter is utilized to separate and resize panels.
62
61
  * @group Components
63
62
  */
64
63
  class Splitter extends BaseComponent {
65
64
  componentName = 'Splitter';
66
- $pcSplitter = inject(SPLITTER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
67
65
  bindDirectiveInstance = inject(Bind, { self: true });
68
- onAfterViewChecked() {
69
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
66
+ constructor() {
67
+ super();
68
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
69
+ effect(() => {
70
+ const panelSizes = this.panelSizes();
71
+ untracked(() => {
72
+ const panels = this.panels();
73
+ if (this.el && this.el.nativeElement && panels.length > 0) {
74
+ let children = [...this.el.nativeElement.children].filter((child) => child.getAttribute('data-pc-section') === 'panel');
75
+ children.forEach((child, i) => {
76
+ let panelInitialSize = panelSizes.length - 1 >= i ? panelSizes[i] : null;
77
+ let panelSize = panelInitialSize || 100 / panels.length;
78
+ child.style.flexBasis = 'calc(' + panelSize + '% - ' + (panels.length - 1) * this.gutterSize() + 'px)';
79
+ });
80
+ }
81
+ });
82
+ });
83
+ afterNextRender(() => {
84
+ const panels = this.panels();
85
+ if (panels && panels.length) {
86
+ let initialized = false;
87
+ if (this.isStateful()) {
88
+ initialized = this.restoreState();
89
+ }
90
+ if (!initialized) {
91
+ let children = [...this.el.nativeElement.children].filter((child) => child.getAttribute('data-pc-section') === 'panel');
92
+ let _panelSizes = [];
93
+ const panelSizes = this.panelSizes();
94
+ panels.map((panel, i) => {
95
+ let panelInitialSize = panelSizes.length - 1 >= i ? panelSizes[i] : null;
96
+ let panelSize = panelInitialSize || 100 / panels.length;
97
+ _panelSizes[i] = panelSize;
98
+ children[i].style.flexBasis = 'calc(' + panelSize + '% - ' + (panels.length - 1) * this.gutterSize() + 'px)';
99
+ });
100
+ this._panelSizes.set(_panelSizes);
101
+ this.prevSize.set(parseFloat(_panelSizes[0]).toFixed(4));
102
+ }
103
+ }
104
+ });
70
105
  }
71
- /**
72
- * Style class of the component.
73
- * @deprecated since v20. Use `class` instead.
74
- * @group Props
75
- */
76
- styleClass;
77
106
  /**
78
107
  * Style class of the panel.
79
108
  * @group Props
80
109
  */
81
- panelStyleClass;
110
+ panelStyleClass = input(/* @ts-ignore */
111
+ ...(ngDevMode ? [undefined, { debugName: "panelStyleClass" }] : /* istanbul ignore next */ []));
82
112
  /**
83
113
  * Inline style of the panel.
84
114
  * @group Props
85
115
  */
86
- panelStyle;
116
+ panelStyle = input(/* @ts-ignore */
117
+ ...(ngDevMode ? [undefined, { debugName: "panelStyle" }] : /* istanbul ignore next */ []));
87
118
  /**
88
119
  * Defines where a stateful splitter keeps its state, valid values are 'session' for sessionStorage and 'local' for localStorage.
89
120
  * @group Props
90
121
  */
91
- stateStorage = 'session';
122
+ stateStorage = input('session', /* @ts-ignore */
123
+ ...(ngDevMode ? [{ debugName: "stateStorage" }] : /* istanbul ignore next */ []));
92
124
  /**
93
125
  * Storage identifier of a stateful Splitter.
94
126
  * @group Props
95
127
  */
96
- stateKey = null;
128
+ stateKey = input(null, /* @ts-ignore */
129
+ ...(ngDevMode ? [{ debugName: "stateKey" }] : /* istanbul ignore next */ []));
97
130
  /**
98
131
  * Orientation of the panels. Valid values are 'horizontal' and 'vertical'.
99
132
  * @group Props
100
133
  */
101
- layout = 'horizontal';
134
+ layout = input('horizontal', /* @ts-ignore */
135
+ ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
102
136
  /**
103
137
  * Size of the divider in pixels.
104
138
  * @group Props
105
139
  */
106
- gutterSize = 4;
140
+ gutterSize = input(4, { ...(ngDevMode ? { debugName: "gutterSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
107
141
  /**
108
142
  * Step factor to increment/decrement the size of the panels while pressing the arrow keys.
109
143
  * @group Props
110
144
  */
111
- step = 5;
145
+ step = input(5, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: numberAttribute });
112
146
  /**
113
147
  * Minimum size of the elements relative to 100%.
114
148
  * @group Props
115
149
  */
116
- minSizes = [];
150
+ minSizes = input([], /* @ts-ignore */
151
+ ...(ngDevMode ? [{ debugName: "minSizes" }] : /* istanbul ignore next */ []));
117
152
  /**
118
153
  * Size of the elements relative to 100%.
119
154
  * @group Props
120
155
  */
121
- get panelSizes() {
122
- return this._panelSizes;
123
- }
124
- set panelSizes(val) {
125
- this._panelSizes = val;
126
- if (this.el && this.el.nativeElement && this.panels.length > 0) {
127
- let children = [...this.el.nativeElement.children].filter((child) => child.getAttribute('data-pc-section') === 'panel');
128
- let _panelSizes = [];
129
- this.panels.map((panel, i) => {
130
- let panelInitialSize = this.panelSizes.length - 1 >= i ? this.panelSizes[i] : null;
131
- let panelSize = panelInitialSize || 100 / this.panels.length;
132
- _panelSizes[i] = panelSize;
133
- children[i].style.flexBasis = 'calc(' + panelSize + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
134
- });
135
- }
136
- }
156
+ panelSizes = input([], /* @ts-ignore */
157
+ ...(ngDevMode ? [{ debugName: "panelSizes" }] : /* istanbul ignore next */ []));
137
158
  /**
138
159
  * Callback to invoke when resize ends.
139
160
  * @param {SplitterResizeEndEvent} event - Custom panel resize end event
@@ -154,132 +175,114 @@ class Splitter extends BaseComponent {
154
175
  ...(ngDevMode ? [{ debugName: "splitter" }] : /* istanbul ignore next */ []));
155
176
  nestedState = computed(() => this.splitter(), /* @ts-ignore */
156
177
  ...(ngDevMode ? [{ debugName: "nestedState" }] : /* istanbul ignore next */ []));
157
- panels = [];
158
- dragging = false;
159
- mouseMoveListener;
160
- mouseUpListener;
161
- touchMoveListener;
162
- touchEndListener;
163
- size;
164
- gutterElement;
165
- startPos;
166
- prevPanelElement;
167
- nextPanelElement;
168
- nextPanelSize;
169
- prevPanelSize;
170
- _panelSizes = [];
171
- prevPanelIndex;
172
- timer;
173
- prevSize;
178
+ panels = computed(() => [...this.templates().map((item) => item.template), ...this.panelChildren()], /* @ts-ignore */
179
+ ...(ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []));
180
+ dragging = signal(false, /* @ts-ignore */
181
+ ...(ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []));
182
+ mouseMoveListener = signal(undefined, /* @ts-ignore */
183
+ ...(ngDevMode ? [{ debugName: "mouseMoveListener" }] : /* istanbul ignore next */ []));
184
+ mouseUpListener = signal(undefined, /* @ts-ignore */
185
+ ...(ngDevMode ? [{ debugName: "mouseUpListener" }] : /* istanbul ignore next */ []));
186
+ touchMoveListener = signal(undefined, /* @ts-ignore */
187
+ ...(ngDevMode ? [{ debugName: "touchMoveListener" }] : /* istanbul ignore next */ []));
188
+ touchEndListener = signal(undefined, /* @ts-ignore */
189
+ ...(ngDevMode ? [{ debugName: "touchEndListener" }] : /* istanbul ignore next */ []));
190
+ size = signal(undefined, /* @ts-ignore */
191
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
192
+ gutterElement = signal(undefined, /* @ts-ignore */
193
+ ...(ngDevMode ? [{ debugName: "gutterElement" }] : /* istanbul ignore next */ []));
194
+ startPos = signal(undefined, /* @ts-ignore */
195
+ ...(ngDevMode ? [{ debugName: "startPos" }] : /* istanbul ignore next */ []));
196
+ prevPanelElement = signal(undefined, /* @ts-ignore */
197
+ ...(ngDevMode ? [{ debugName: "prevPanelElement" }] : /* istanbul ignore next */ []));
198
+ nextPanelElement = signal(undefined, /* @ts-ignore */
199
+ ...(ngDevMode ? [{ debugName: "nextPanelElement" }] : /* istanbul ignore next */ []));
200
+ nextPanelSize = signal(undefined, /* @ts-ignore */
201
+ ...(ngDevMode ? [{ debugName: "nextPanelSize" }] : /* istanbul ignore next */ []));
202
+ prevPanelSize = signal(undefined, /* @ts-ignore */
203
+ ...(ngDevMode ? [{ debugName: "prevPanelSize" }] : /* istanbul ignore next */ []));
204
+ _panelSizes = linkedSignal(() => this.panelSizes(), /* @ts-ignore */
205
+ ...(ngDevMode ? [{ debugName: "_panelSizes" }] : /* istanbul ignore next */ []));
206
+ prevPanelIndex = signal(undefined, /* @ts-ignore */
207
+ ...(ngDevMode ? [{ debugName: "prevPanelIndex" }] : /* istanbul ignore next */ []));
208
+ timer = signal(undefined, /* @ts-ignore */
209
+ ...(ngDevMode ? [{ debugName: "timer" }] : /* istanbul ignore next */ []));
210
+ prevSize = signal(undefined, /* @ts-ignore */
211
+ ...(ngDevMode ? [{ debugName: "prevSize" }] : /* istanbul ignore next */ []));
174
212
  _componentStyle = inject(SplitterStyle);
175
- onAfterContentInit() {
176
- const templates = this.templates();
177
- if (templates && templates.length > 0) {
178
- templates.forEach((item) => {
179
- switch (item.getType()) {
180
- case 'panel':
181
- this.panels.push(item.template);
182
- break;
183
- default:
184
- this.panels.push(item.template);
185
- break;
186
- }
187
- });
188
- }
189
- const panelChildren = this.panelChildren();
190
- if (panelChildren && panelChildren.length > 0) {
191
- panelChildren.forEach((item) => {
192
- this.panels.push(item);
193
- });
194
- }
195
- }
196
- onAfterViewInit() {
197
- if (isPlatformBrowser(this.platformId)) {
198
- if (this.panels && this.panels.length) {
199
- let initialized = false;
200
- if (this.isStateful()) {
201
- initialized = this.restoreState();
202
- }
203
- if (!initialized) {
204
- let children = [...this.el.nativeElement.children].filter((child) => child.getAttribute('data-pc-section') === 'panel');
205
- let _panelSizes = [];
206
- this.panels.map((panel, i) => {
207
- let panelInitialSize = this.panelSizes.length - 1 >= i ? this.panelSizes[i] : null;
208
- let panelSize = panelInitialSize || 100 / this.panels.length;
209
- _panelSizes[i] = panelSize;
210
- children[i].style.flexBasis = 'calc(' + panelSize + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
211
- });
212
- this._panelSizes = _panelSizes;
213
- this.prevSize = parseFloat(_panelSizes[0]).toFixed(4);
214
- }
215
- }
216
- }
217
- }
218
213
  resizeStart(event, index, isKeyDown) {
219
- this.gutterElement = event.currentTarget || event.target.parentElement;
220
- this.size = this.horizontal() ? getWidth(this.el.nativeElement) : getHeight(this.el.nativeElement);
214
+ const gutterElement = event.currentTarget || event.target.parentElement;
215
+ this.gutterElement.set(gutterElement);
216
+ const size = this.horizontal() ? getWidth(this.el.nativeElement) : getHeight(this.el.nativeElement);
217
+ this.size.set(size);
221
218
  if (!isKeyDown) {
222
- this.dragging = true;
223
- this.startPos = this.horizontal() ? (event instanceof MouseEvent ? event.pageX : event.changedTouches[0].pageX) : event instanceof MouseEvent ? event.pageY : event.changedTouches[0].pageY;
219
+ this.dragging.set(true);
220
+ this.startPos.set(this.horizontal() ? (event instanceof MouseEvent ? event.pageX : event.changedTouches[0].pageX) : event instanceof MouseEvent ? event.pageY : event.changedTouches[0].pageY);
224
221
  }
225
- this.prevPanelElement = this.gutterElement.previousElementSibling;
226
- this.nextPanelElement = this.gutterElement.nextElementSibling;
222
+ const prevPanelElement = gutterElement.previousElementSibling;
223
+ const nextPanelElement = gutterElement.nextElementSibling;
224
+ this.prevPanelElement.set(prevPanelElement);
225
+ this.nextPanelElement.set(nextPanelElement);
227
226
  if (isKeyDown) {
228
- this.prevPanelSize = this.horizontal() ? getOuterWidth(this.prevPanelElement, true) : getOuterHeight(this.prevPanelElement, true);
229
- this.nextPanelSize = this.horizontal() ? getOuterWidth(this.nextPanelElement, true) : getOuterHeight(this.nextPanelElement, true);
227
+ this.prevPanelSize.set(this.horizontal() ? getOuterWidth(prevPanelElement, true) : getOuterHeight(prevPanelElement, true));
228
+ this.nextPanelSize.set(this.horizontal() ? getOuterWidth(nextPanelElement, true) : getOuterHeight(nextPanelElement, true));
230
229
  }
231
230
  else {
232
- this.prevPanelSize = (100 * (this.horizontal() ? getOuterWidth(this.prevPanelElement, true) : getOuterHeight(this.prevPanelElement, true))) / this.size;
233
- this.nextPanelSize = (100 * (this.horizontal() ? getOuterWidth(this.nextPanelElement, true) : getOuterHeight(this.nextPanelElement, true))) / this.size;
231
+ this.prevPanelSize.set((100 * (this.horizontal() ? getOuterWidth(prevPanelElement, true) : getOuterHeight(prevPanelElement, true))) / size);
232
+ this.nextPanelSize.set((100 * (this.horizontal() ? getOuterWidth(nextPanelElement, true) : getOuterHeight(nextPanelElement, true))) / size);
234
233
  }
235
- this.prevPanelIndex = index;
236
- addClass(this.gutterElement, 'p-splitter-gutter-resizing');
237
- this.gutterElement.setAttribute('data-p-gutter-resizing', 'true');
234
+ this.prevPanelIndex.set(index);
235
+ addClass(gutterElement, 'p-splitter-gutter-resizing');
236
+ gutterElement.setAttribute('data-p-gutter-resizing', 'true');
238
237
  addClass(this.el.nativeElement, 'p-splitter-resizing');
239
238
  this.el.nativeElement.setAttribute('data-p-resizing', 'true');
240
- this.onResizeStart.emit({ originalEvent: event, sizes: this._panelSizes });
239
+ this.onResizeStart.emit({ originalEvent: event, sizes: this._panelSizes() });
241
240
  }
242
241
  onResize(event, step, isKeyDown) {
243
242
  let newPos, newPrevPanelSize, newNextPanelSize;
244
243
  if (isKeyDown) {
245
244
  if (this.horizontal()) {
246
- newPrevPanelSize = (100 * ((this.prevPanelSize ?? 0) + (step ?? 0))) / (this.size ?? 1);
247
- newNextPanelSize = (100 * ((this.nextPanelSize ?? 0) - (step ?? 0))) / (this.size ?? 1);
245
+ newPrevPanelSize = (100 * ((this.prevPanelSize() ?? 0) + (step ?? 0))) / (this.size() ?? 1);
246
+ newNextPanelSize = (100 * ((this.nextPanelSize() ?? 0) - (step ?? 0))) / (this.size() ?? 1);
248
247
  }
249
248
  else {
250
- newPrevPanelSize = (100 * ((this.prevPanelSize ?? 0) - (step ?? 0))) / (this.size ?? 1);
251
- newNextPanelSize = (100 * ((this.nextPanelSize ?? 0) + (step ?? 0))) / (this.size ?? 1);
249
+ newPrevPanelSize = (100 * ((this.prevPanelSize() ?? 0) - (step ?? 0))) / (this.size() ?? 1);
250
+ newNextPanelSize = (100 * ((this.nextPanelSize() ?? 0) + (step ?? 0))) / (this.size() ?? 1);
252
251
  }
253
252
  }
254
253
  else {
255
254
  if (this.horizontal()) {
256
255
  if (isRTL(this.el.nativeElement)) {
257
- newPos = (((this.startPos ?? 0) - event.pageX) * 100) / (this.size ?? 1);
256
+ newPos = (((this.startPos() ?? 0) - event.pageX) * 100) / (this.size() ?? 1);
258
257
  }
259
258
  else {
260
- newPos = ((event.pageX - (this.startPos ?? 0)) * 100) / (this.size ?? 1);
259
+ newPos = ((event.pageX - (this.startPos() ?? 0)) * 100) / (this.size() ?? 1);
261
260
  }
262
261
  }
263
262
  else {
264
- newPos = ((event.pageY - (this.startPos ?? 0)) * 100) / (this.size ?? 1);
263
+ newPos = ((event.pageY - (this.startPos() ?? 0)) * 100) / (this.size() ?? 1);
265
264
  }
266
- newPrevPanelSize = this.prevPanelSize + newPos;
267
- newNextPanelSize = this.nextPanelSize - newPos;
265
+ newPrevPanelSize = this.prevPanelSize() + newPos;
266
+ newNextPanelSize = this.nextPanelSize() - newPos;
268
267
  }
269
- this.prevSize = parseFloat(newPrevPanelSize).toFixed(4);
268
+ this.prevSize.set(parseFloat(newPrevPanelSize).toFixed(4));
270
269
  if (this.validateResize(newPrevPanelSize, newNextPanelSize)) {
271
- this.prevPanelElement.style.flexBasis = 'calc(' + newPrevPanelSize + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
272
- this.nextPanelElement.style.flexBasis = 'calc(' + newNextPanelSize + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
273
- this._panelSizes[this.prevPanelIndex] = newPrevPanelSize;
274
- this._panelSizes[this.prevPanelIndex + 1] = newNextPanelSize;
270
+ this.prevPanelElement().style.flexBasis = 'calc(' + newPrevPanelSize + '% - ' + (this.panels().length - 1) * this.gutterSize() + 'px)';
271
+ this.nextPanelElement().style.flexBasis = 'calc(' + newNextPanelSize + '% - ' + (this.panels().length - 1) * this.gutterSize() + 'px)';
272
+ this._panelSizes.update((sizes) => {
273
+ const _panelSizes = [...sizes];
274
+ _panelSizes[this.prevPanelIndex()] = newPrevPanelSize;
275
+ _panelSizes[this.prevPanelIndex() + 1] = newNextPanelSize;
276
+ return _panelSizes;
277
+ });
275
278
  }
276
279
  }
277
280
  resizeEnd(event) {
278
281
  if (this.isStateful()) {
279
282
  this.saveState();
280
283
  }
281
- this.onResizeEnd.emit({ originalEvent: event, sizes: this._panelSizes });
282
- removeClass(this.gutterElement, 'p-splitter-gutter-resizing');
284
+ this.onResizeEnd.emit({ originalEvent: event, sizes: this._panelSizes() });
285
+ removeClass(this.gutterElement(), 'p-splitter-gutter-resizing');
283
286
  removeClass(this.el.nativeElement, 'p-splitter-resizing');
284
287
  this.clear();
285
288
  }
@@ -310,13 +313,13 @@ class Splitter extends BaseComponent {
310
313
  }
311
314
  setTimer(event, index, step) {
312
315
  this.clearTimer();
313
- this.timer = setTimeout(() => {
316
+ this.timer.set(setTimeout(() => {
314
317
  this.repeat(event, index, step);
315
- }, 40);
318
+ }, 40));
316
319
  }
317
320
  clearTimer() {
318
- if (this.timer) {
319
- clearTimeout(this.timer);
321
+ if (this.timer()) {
322
+ clearTimeout(this.timer());
320
323
  }
321
324
  }
322
325
  onGutterKeyUp(event) {
@@ -326,29 +329,29 @@ class Splitter extends BaseComponent {
326
329
  onGutterKeyDown(event, index) {
327
330
  switch (event.code) {
328
331
  case 'ArrowLeft': {
329
- if (this.layout === 'horizontal') {
330
- this.setTimer(event, index, this.step * -1);
332
+ if (this.layout() === 'horizontal') {
333
+ this.setTimer(event, index, this.step() * -1);
331
334
  }
332
335
  event.preventDefault();
333
336
  break;
334
337
  }
335
338
  case 'ArrowRight': {
336
- if (this.layout === 'horizontal') {
337
- this.setTimer(event, index, this.step);
339
+ if (this.layout() === 'horizontal') {
340
+ this.setTimer(event, index, this.step());
338
341
  }
339
342
  event.preventDefault();
340
343
  break;
341
344
  }
342
345
  case 'ArrowDown': {
343
- if (this.layout === 'vertical') {
344
- this.setTimer(event, index, this.step * -1);
346
+ if (this.layout() === 'vertical') {
347
+ this.setTimer(event, index, this.step() * -1);
345
348
  }
346
349
  event.preventDefault();
347
350
  break;
348
351
  }
349
352
  case 'ArrowUp': {
350
- if (this.layout === 'vertical') {
351
- this.setTimer(event, index, this.step);
353
+ if (this.layout() === 'vertical') {
354
+ this.setTimer(event, index, this.step());
352
355
  }
353
356
  event.preventDefault();
354
357
  break;
@@ -359,83 +362,87 @@ class Splitter extends BaseComponent {
359
362
  }
360
363
  }
361
364
  validateResize(newPrevPanelSize, newNextPanelSize) {
362
- if (this.minSizes.length >= 1 && this.minSizes[0] && this.minSizes[0] > newPrevPanelSize) {
365
+ const minSizes = this.minSizes();
366
+ if (minSizes.length >= 1 && minSizes[0] && minSizes[0] > newPrevPanelSize) {
363
367
  return false;
364
368
  }
365
- if (this.minSizes.length > 1 && this.minSizes[1] && this.minSizes[1] > newNextPanelSize) {
369
+ if (minSizes.length > 1 && minSizes[1] && minSizes[1] > newNextPanelSize) {
366
370
  return false;
367
371
  }
368
372
  return true;
369
373
  }
370
374
  bindMouseListeners() {
371
- if (!this.mouseMoveListener) {
372
- this.mouseMoveListener = this.renderer.listen(this.document, 'mousemove', (event) => {
375
+ if (!this.mouseMoveListener()) {
376
+ this.mouseMoveListener.set(this.renderer.listen(this.document, 'mousemove', (event) => {
373
377
  this.onResize(event);
374
- });
378
+ }));
375
379
  }
376
- if (!this.mouseUpListener) {
377
- this.mouseUpListener = this.renderer.listen(this.document, 'mouseup', (event) => {
380
+ if (!this.mouseUpListener()) {
381
+ this.mouseUpListener.set(this.renderer.listen(this.document, 'mouseup', (event) => {
378
382
  this.resizeEnd(event);
379
383
  this.unbindMouseListeners();
380
- });
384
+ }));
381
385
  }
382
386
  }
383
387
  bindTouchListeners() {
384
- if (!this.touchMoveListener) {
385
- this.touchMoveListener = this.renderer.listen(this.document, 'touchmove', (event) => {
388
+ if (!this.touchMoveListener()) {
389
+ this.touchMoveListener.set(this.renderer.listen(this.document, 'touchmove', (event) => {
386
390
  this.onResize(event.changedTouches[0]);
387
- });
391
+ }));
388
392
  }
389
- if (!this.touchEndListener) {
390
- this.touchEndListener = this.renderer.listen(this.document, 'touchend', (event) => {
393
+ if (!this.touchEndListener()) {
394
+ this.touchEndListener.set(this.renderer.listen(this.document, 'touchend', (event) => {
391
395
  this.resizeEnd(event);
392
396
  this.unbindTouchListeners();
393
- });
397
+ }));
394
398
  }
395
399
  }
396
400
  unbindMouseListeners() {
397
- if (this.mouseMoveListener) {
398
- this.mouseMoveListener();
399
- this.mouseMoveListener = null;
401
+ const mouseMoveListener = this.mouseMoveListener();
402
+ if (mouseMoveListener) {
403
+ mouseMoveListener();
404
+ this.mouseMoveListener.set(null);
400
405
  }
401
- if (this.mouseUpListener) {
402
- this.mouseUpListener();
403
- this.mouseUpListener = null;
406
+ const mouseUpListener = this.mouseUpListener();
407
+ if (mouseUpListener) {
408
+ mouseUpListener();
409
+ this.mouseUpListener.set(null);
404
410
  }
405
411
  }
406
412
  unbindTouchListeners() {
407
- if (this.touchMoveListener) {
408
- this.touchMoveListener();
409
- this.touchMoveListener = null;
413
+ const touchMoveListener = this.touchMoveListener();
414
+ if (touchMoveListener) {
415
+ touchMoveListener();
416
+ this.touchMoveListener.set(null);
410
417
  }
411
- if (this.touchEndListener) {
412
- this.touchEndListener();
413
- this.touchEndListener = null;
418
+ const touchEndListener = this.touchEndListener();
419
+ if (touchEndListener) {
420
+ touchEndListener();
421
+ this.touchEndListener.set(null);
414
422
  }
415
423
  }
416
424
  clear() {
417
- this.dragging = false;
418
- this.size = null;
419
- this.startPos = null;
420
- this.prevPanelElement = null;
421
- this.nextPanelElement = null;
422
- this.prevPanelSize = null;
423
- this.nextPanelSize = null;
424
- this.gutterElement = null;
425
- this.prevPanelIndex = null;
426
- }
427
- isStateful() {
428
- return this.stateKey != null;
425
+ this.dragging.set(false);
426
+ this.size.set(null);
427
+ this.startPos.set(null);
428
+ this.prevPanelElement.set(null);
429
+ this.nextPanelElement.set(null);
430
+ this.prevPanelSize.set(null);
431
+ this.nextPanelSize.set(null);
432
+ this.gutterElement.set(null);
433
+ this.prevPanelIndex.set(null);
429
434
  }
435
+ isStateful = computed(() => this.stateKey() != null, /* @ts-ignore */
436
+ ...(ngDevMode ? [{ debugName: "isStateful" }] : /* istanbul ignore next */ []));
430
437
  getStorage() {
431
438
  if (isPlatformBrowser(this.platformId)) {
432
- switch (this.stateStorage) {
439
+ switch (this.stateStorage()) {
433
440
  case 'local':
434
441
  return this.document.defaultView?.localStorage;
435
442
  case 'session':
436
443
  return this.document.defaultView?.sessionStorage;
437
444
  default:
438
- throw new Error(this.stateStorage + ' is not a valid value for the state storage, supported values are "local" and "session".');
445
+ throw new Error(this.stateStorage() + ' is not a valid value for the state storage, supported values are "local" and "session".');
439
446
  }
440
447
  }
441
448
  else {
@@ -443,43 +450,43 @@ class Splitter extends BaseComponent {
443
450
  }
444
451
  }
445
452
  saveState() {
446
- this.getStorage()?.setItem(this.stateKey, JSON.stringify(this._panelSizes));
453
+ this.getStorage()?.setItem(this.stateKey(), JSON.stringify(this._panelSizes()));
447
454
  }
448
455
  restoreState() {
449
456
  const storage = this.getStorage();
450
- const stateString = storage?.getItem(this.stateKey);
457
+ const stateString = storage?.getItem(this.stateKey());
451
458
  if (stateString) {
452
- this._panelSizes = JSON.parse(stateString);
459
+ const _panelSizes = JSON.parse(stateString);
460
+ this._panelSizes.set(_panelSizes);
453
461
  let children = [...this.el.nativeElement.children].filter((child) => child.getAttribute('data-pc-section') === 'panel');
454
462
  children.forEach((child, i) => {
455
- child.style.flexBasis = 'calc(' + this._panelSizes[i] + '% - ' + (this.panels.length - 1) * this.gutterSize + 'px)';
463
+ child.style.flexBasis = 'calc(' + _panelSizes[i] + '% - ' + (this.panels().length - 1) * this.gutterSize() + 'px)';
456
464
  });
457
465
  return true;
458
466
  }
459
467
  return false;
460
468
  }
461
- gutterStyle() {
469
+ gutterStyle = computed(() => {
462
470
  if (this.horizontal())
463
- return { width: this.gutterSize + 'px' };
471
+ return { width: this.gutterSize() + 'px' };
464
472
  else
465
- return { height: this.gutterSize + 'px' };
466
- }
467
- horizontal() {
468
- return this.layout === 'horizontal';
469
- }
470
- get dataP() {
471
- return this.cn({
472
- [this.layout]: this.layout,
473
- nested: this.nestedState() != null
474
- });
475
- }
476
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Splitter, deps: null, target: i0.ɵɵFactoryTarget.Component });
477
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Splitter, isStandalone: true, selector: "p-splitter", inputs: { styleClass: "styleClass", panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", stateStorage: "stateStorage", stateKey: "stateKey", layout: "layout", gutterSize: ["gutterSize", "gutterSize", numberAttribute], step: ["step", "step", numberAttribute], minSizes: "minSizes", panelSizes: "panelSizes" }, outputs: { onResizeEnd: "onResizeEnd", onResizeStart: "onResizeStart" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p-gutter-resizing": "false", "attr.data-p": "dataP" } }, providers: [SplitterStyle, { provide: SPLITTER_INSTANCE, useExisting: Splitter }, { provide: PARENT_INSTANCE, useExisting: Splitter }], queries: [{ propertyName: "templates", predicate: PrimeTemplate, isSignal: true }, { propertyName: "panelChildren", predicate: ["panel"], isSignal: true }, { propertyName: "splitter", first: true, predicate: i0.forwardRef(() => Splitter), descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
478
- @for (panel of panels; track panel; let i = $index) {
479
- <div [pBind]="ptm('panel')" [class]="cn(cx('panel'), panelStyleClass)" [ngStyle]="panelStyle" tabindex="-1">
473
+ return { height: this.gutterSize() + 'px' };
474
+ }, /* @ts-ignore */
475
+ ...(ngDevMode ? [{ debugName: "gutterStyle" }] : /* istanbul ignore next */ []));
476
+ horizontal = computed(() => this.layout() === 'horizontal', /* @ts-ignore */
477
+ ...(ngDevMode ? [{ debugName: "horizontal" }] : /* istanbul ignore next */ []));
478
+ dataP = computed(() => this.cn({
479
+ [this.layout()]: this.layout(),
480
+ nested: this.nestedState() != null
481
+ }), /* @ts-ignore */
482
+ ...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
483
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Splitter, deps: [], target: i0.ɵɵFactoryTarget.Component });
484
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Splitter, isStandalone: true, selector: "p-splitter", inputs: { panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, stateStorage: { classPropertyName: "stateStorage", publicName: "stateStorage", isSignal: true, isRequired: false, transformFunction: null }, stateKey: { classPropertyName: "stateKey", publicName: "stateKey", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, gutterSize: { classPropertyName: "gutterSize", publicName: "gutterSize", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, minSizes: { classPropertyName: "minSizes", publicName: "minSizes", isSignal: true, isRequired: false, transformFunction: null }, panelSizes: { classPropertyName: "panelSizes", publicName: "panelSizes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onResizeEnd: "onResizeEnd", onResizeStart: "onResizeStart" }, host: { properties: { "class": "cx('root')", "attr.data-p-gutter-resizing": "false", "attr.data-p": "dataP()" } }, providers: [SplitterStyle, { provide: PARENT_INSTANCE, useExisting: Splitter }], queries: [{ propertyName: "templates", predicate: PrimeTemplate, isSignal: true }, { propertyName: "panelChildren", predicate: ["panel"], isSignal: true }, { propertyName: "splitter", first: true, predicate: i0.forwardRef(() => Splitter), descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
485
+ @for (panel of panels(); track panel; let i = $index) {
486
+ <div [pBind]="ptm('panel')" [class]="cn(cx('panel'), panelStyleClass())" [ngStyle]="panelStyle()" tabindex="-1">
480
487
  <ng-container *ngTemplateOutlet="panel"></ng-container>
481
488
  </div>
482
- @if (i !== panels.length - 1) {
489
+ @if (i !== panels().length - 1) {
483
490
  <div
484
491
  [pBind]="ptm('gutter')"
485
492
  [class]="cx('gutter')"
@@ -490,15 +497,15 @@ class Splitter extends BaseComponent {
490
497
  (touchmove)="onGutterTouchMove($event)"
491
498
  (touchend)="onGutterTouchEnd($event)"
492
499
  [attr.data-p-gutter-resizing]="false"
493
- [attr.data-p]="dataP"
500
+ [attr.data-p]="dataP()"
494
501
  >
495
502
  <div
496
503
  [pBind]="ptm('gutterHandle')"
497
504
  [class]="cx('gutterHandle')"
498
505
  tabindex="0"
499
506
  [ngStyle]="gutterStyle()"
500
- [attr.aria-orientation]="layout"
501
- [attr.aria-valuenow]="prevSize"
507
+ [attr.aria-orientation]="layout()"
508
+ [attr.aria-valuenow]="prevSize()"
502
509
  (keyup)="onGutterKeyUp($event)"
503
510
  (keydown)="onGutterKeyDown($event, i)"
504
511
  ></div>
@@ -511,14 +518,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
511
518
  type: Component,
512
519
  args: [{
513
520
  selector: 'p-splitter',
514
- standalone: true,
515
521
  imports: [CommonModule, SharedModule, BindModule],
516
522
  template: `
517
- @for (panel of panels; track panel; let i = $index) {
518
- <div [pBind]="ptm('panel')" [class]="cn(cx('panel'), panelStyleClass)" [ngStyle]="panelStyle" tabindex="-1">
523
+ @for (panel of panels(); track panel; let i = $index) {
524
+ <div [pBind]="ptm('panel')" [class]="cn(cx('panel'), panelStyleClass())" [ngStyle]="panelStyle()" tabindex="-1">
519
525
  <ng-container *ngTemplateOutlet="panel"></ng-container>
520
526
  </div>
521
- @if (i !== panels.length - 1) {
527
+ @if (i !== panels().length - 1) {
522
528
  <div
523
529
  [pBind]="ptm('gutter')"
524
530
  [class]="cx('gutter')"
@@ -529,15 +535,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
529
535
  (touchmove)="onGutterTouchMove($event)"
530
536
  (touchend)="onGutterTouchEnd($event)"
531
537
  [attr.data-p-gutter-resizing]="false"
532
- [attr.data-p]="dataP"
538
+ [attr.data-p]="dataP()"
533
539
  >
534
540
  <div
535
541
  [pBind]="ptm('gutterHandle')"
536
542
  [class]="cx('gutterHandle')"
537
543
  tabindex="0"
538
544
  [ngStyle]="gutterStyle()"
539
- [attr.aria-orientation]="layout"
540
- [attr.aria-valuenow]="prevSize"
545
+ [attr.aria-orientation]="layout()"
546
+ [attr.aria-valuenow]="prevSize()"
541
547
  (keyup)="onGutterKeyUp($event)"
542
548
  (keydown)="onGutterKeyDown($event, i)"
543
549
  ></div>
@@ -548,36 +554,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
548
554
  encapsulation: ViewEncapsulation.None,
549
555
  changeDetection: ChangeDetectionStrategy.OnPush,
550
556
  host: {
551
- '[class]': "cn(cx('root'), styleClass)",
557
+ '[class]': "cx('root')",
552
558
  '[attr.data-p-gutter-resizing]': 'false',
553
- '[attr.data-p]': 'dataP'
559
+ '[attr.data-p]': 'dataP()'
554
560
  },
555
- providers: [SplitterStyle, { provide: SPLITTER_INSTANCE, useExisting: Splitter }, { provide: PARENT_INSTANCE, useExisting: Splitter }],
561
+ providers: [SplitterStyle, { provide: PARENT_INSTANCE, useExisting: Splitter }],
556
562
  hostDirectives: [Bind]
557
563
  }]
558
- }], propDecorators: { styleClass: [{
559
- type: Input
560
- }], panelStyleClass: [{
561
- type: Input
562
- }], panelStyle: [{
563
- type: Input
564
- }], stateStorage: [{
565
- type: Input
566
- }], stateKey: [{
567
- type: Input
568
- }], layout: [{
569
- type: Input
570
- }], gutterSize: [{
571
- type: Input,
572
- args: [{ transform: numberAttribute }]
573
- }], step: [{
574
- type: Input,
575
- args: [{ transform: numberAttribute }]
576
- }], minSizes: [{
577
- type: Input
578
- }], panelSizes: [{
579
- type: Input
580
- }], onResizeEnd: [{ type: i0.Output, args: ["onResizeEnd"] }], onResizeStart: [{ type: i0.Output, args: ["onResizeStart"] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], panelChildren: [{ type: i0.ContentChildren, args: ['panel', { isSignal: true }] }], splitter: [{ type: i0.ContentChild, args: [forwardRef(() => Splitter), { isSignal: true }] }] } });
564
+ }], ctorParameters: () => [], propDecorators: { panelStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyleClass", required: false }] }], panelStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyle", required: false }] }], stateStorage: [{ type: i0.Input, args: [{ isSignal: true, alias: "stateStorage", required: false }] }], stateKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "stateKey", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], gutterSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "gutterSize", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], minSizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSizes", required: false }] }], panelSizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelSizes", required: false }] }], onResizeEnd: [{ type: i0.Output, args: ["onResizeEnd"] }], onResizeStart: [{ type: i0.Output, args: ["onResizeStart"] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], panelChildren: [{ type: i0.ContentChildren, args: ['panel', { isSignal: true }] }], splitter: [{ type: i0.ContentChild, args: [forwardRef(() => Splitter), { isSignal: true }] }] } });
581
565
  class SplitterModule {
582
566
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
583
567
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: SplitterModule, imports: [Splitter, SharedModule, BindModule], exports: [Splitter, SharedModule, BindModule] });