@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/paginator';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, input, output, contentChild, contentChildren, computed, booleanAttribute, numberAttribute, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, InjectionToken, inject, afterEveryRender, effect, untracked, input, numberAttribute, booleanAttribute, output, contentChild, contentChildren, computed, linkedSignal, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import * as i3 from '@angular/forms';
7
7
  import { FormsModule } from '@angular/forms';
8
8
  import * as i4 from '@exhaustive-ui/core/api';
@@ -162,124 +162,121 @@ class Paginator extends BaseComponent {
162
162
  componentName = 'Paginator';
163
163
  bindDirectiveInstance = inject(Bind, { self: true });
164
164
  $pcPaginator = inject(PAGINATOR_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
165
- onAfterViewChecked() {
166
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
165
+ constructor() {
166
+ super();
167
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
168
+ effect(() => {
169
+ this.totalRecords();
170
+ untracked(() => this.updateFirst());
171
+ });
167
172
  }
168
173
  /**
169
174
  * Number of page links to display.
170
175
  * @group Props
171
176
  */
172
- pageLinkSize = 5;
173
- /**
174
- * Style class of the component.
175
- * @deprecated since v20.0.0, use `class` instead.
176
- * @group Props
177
- */
178
- styleClass;
177
+ pageLinkSize = input(5, { ...(ngDevMode ? { debugName: "pageLinkSize" } : /* istanbul ignore next */ {}), transform: numberAttribute });
179
178
  /**
180
179
  * Whether to show it even there is only one page.
181
180
  * @group Props
182
181
  */
183
- alwaysShow = true;
184
- /**
185
- * Target element to attach the dropdown overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
186
- * @deprecated since v20.0.0. Use `appendTo` instead.
187
- * @group Props
188
- */
189
- dropdownAppendTo;
182
+ alwaysShow = input(true, { ...(ngDevMode ? { debugName: "alwaysShow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
190
183
  /**
191
184
  * Template instance to inject into the left side of the paginator.
192
185
  * @param {PaginatorTemplateContext} context - Paginator template context.
193
186
  * @see {@link PaginatorTemplateContext}
194
187
  * @group Props
195
188
  */
196
- templateLeft;
189
+ templateLeft = input(/* @ts-ignore */
190
+ ...(ngDevMode ? [undefined, { debugName: "templateLeft" }] : /* istanbul ignore next */ []));
197
191
  /**
198
192
  * Template instance to inject into the right side of the paginator.
199
193
  * @param {PaginatorTemplateContext} context - Paginator template context.
200
194
  * @see {@link PaginatorTemplateContext}
201
195
  * @group Props
202
196
  */
203
- templateRight;
197
+ templateRight = input(/* @ts-ignore */
198
+ ...(ngDevMode ? [undefined, { debugName: "templateRight" }] : /* istanbul ignore next */ []));
204
199
  /**
205
200
  * Dropdown height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value.
206
201
  * @group Props
207
202
  */
208
- dropdownScrollHeight = '200px';
203
+ dropdownScrollHeight = input('200px', /* @ts-ignore */
204
+ ...(ngDevMode ? [{ debugName: "dropdownScrollHeight" }] : /* istanbul ignore next */ []));
209
205
  /**
210
206
  * Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords}
211
207
  * @group Props
212
208
  */
213
- currentPageReportTemplate = '{currentPage} of {totalPages}';
209
+ currentPageReportTemplate = input('{currentPage} of {totalPages}', /* @ts-ignore */
210
+ ...(ngDevMode ? [{ debugName: "currentPageReportTemplate" }] : /* istanbul ignore next */ []));
214
211
  /**
215
212
  * Whether to display current page report.
216
213
  * @group Props
217
214
  */
218
- showCurrentPageReport;
215
+ showCurrentPageReport = input(undefined, { ...(ngDevMode ? { debugName: "showCurrentPageReport" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
219
216
  /**
220
217
  * When enabled, icons are displayed on paginator to go first and last page.
221
218
  * @group Props
222
219
  */
223
- showFirstLastIcon = true;
220
+ showFirstLastIcon = input(true, { ...(ngDevMode ? { debugName: "showFirstLastIcon" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
224
221
  /**
225
222
  * Number of total records.
226
223
  * @group Props
227
224
  */
228
- totalRecords = 0;
225
+ totalRecords = input(0, { ...(ngDevMode ? { debugName: "totalRecords" } : /* istanbul ignore next */ {}), transform: numberAttribute });
229
226
  /**
230
227
  * Data count to display per page.
231
228
  * @group Props
232
229
  */
233
- rows = 0;
230
+ rows = input(0, { ...(ngDevMode ? { debugName: "rows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
234
231
  /**
235
232
  * Array of integer/object values to display inside rows per page dropdown. A object that have 'showAll' key can be added to it to show all data. Exp; [10,20,30,{showAll:'All'}]
236
233
  * @group Props
237
234
  */
238
- rowsPerPageOptions;
235
+ rowsPerPageOptions = input(/* @ts-ignore */
236
+ ...(ngDevMode ? [undefined, { debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []));
239
237
  /**
240
238
  * Whether to display a dropdown to navigate to any page.
241
239
  * @group Props
242
240
  */
243
- showJumpToPageDropdown;
241
+ showJumpToPageDropdown = input(undefined, { ...(ngDevMode ? { debugName: "showJumpToPageDropdown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
244
242
  /**
245
243
  * Whether to display a input to navigate to any page.
246
244
  * @group Props
247
245
  */
248
- showJumpToPageInput;
246
+ showJumpToPageInput = input(undefined, { ...(ngDevMode ? { debugName: "showJumpToPageInput" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
249
247
  /**
250
248
  * Template instance to inject into the jump to page dropdown item inside in the paginator.
251
249
  * @param {PaginatorDropdownItemTemplateContext} context - dropdown item context.
252
250
  * @see {@link PaginatorDropdownItemTemplateContext}
253
251
  * @group Props
254
252
  */
255
- jumpToPageItemTemplate;
253
+ jumpToPageItemTemplate = input(/* @ts-ignore */
254
+ ...(ngDevMode ? [undefined, { debugName: "jumpToPageItemTemplate" }] : /* istanbul ignore next */ []));
256
255
  /**
257
256
  * Whether to show page links.
258
257
  * @group Props
259
258
  */
260
- showPageLinks = true;
259
+ showPageLinks = input(true, { ...(ngDevMode ? { debugName: "showPageLinks" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
261
260
  /**
262
261
  * Locale to be used in formatting.
263
262
  * @group Props
264
263
  */
265
- locale;
264
+ locale = input(/* @ts-ignore */
265
+ ...(ngDevMode ? [undefined, { debugName: "locale" }] : /* istanbul ignore next */ []));
266
266
  /**
267
267
  * Template instance to inject into the rows per page dropdown item inside in the paginator.
268
268
  * @param {PaginatorDropdownItemTemplateContext} context - dropdown item context.
269
269
  * @see {@link PaginatorDropdownItemTemplateContext}
270
270
  * @group Props
271
271
  */
272
- dropdownItemTemplate;
272
+ dropdownItemTemplate = input(/* @ts-ignore */
273
+ ...(ngDevMode ? [undefined, { debugName: "dropdownItemTemplate" }] : /* istanbul ignore next */ []));
273
274
  /**
274
275
  * Zero-relative number of the first row to be displayed.
275
276
  * @group Props
276
277
  */
277
- get first() {
278
- return this._first;
279
- }
280
- set first(val) {
281
- this._first = val;
282
- }
278
+ first = input(0, /* @ts-ignore */
279
+ ...(ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []));
283
280
  /**
284
281
  * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
285
282
  * @defaultValue 'self'
@@ -320,47 +317,84 @@ class Paginator extends BaseComponent {
320
317
  nextPageLinkIconTemplate = contentChild('nextpagelinkicon', { ...(ngDevMode ? { debugName: "nextPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
321
318
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
322
319
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
323
- _dropdownIconTemplate;
324
- _firstPageLinkIconTemplate;
325
- _previousPageLinkIconTemplate;
326
- _lastPageLinkIconTemplate;
327
- _nextPageLinkIconTemplate;
328
- pageLinks;
329
- pageItems;
330
- rowsPerPageItems;
331
- paginatorState;
332
- _first = 0;
333
- _page = 0;
320
+ _dropdownIconTemplate = computed(() => this.templates()
321
+ .filter((item) => item.getType() === 'dropdownicon')
322
+ .at(-1)?.template, /* @ts-ignore */
323
+ ...(ngDevMode ? [{ debugName: "_dropdownIconTemplate" }] : /* istanbul ignore next */ []));
324
+ _firstPageLinkIconTemplate = computed(() => this.templates()
325
+ .filter((item) => item.getType() === 'firstpagelinkicon')
326
+ .at(-1)?.template, /* @ts-ignore */
327
+ ...(ngDevMode ? [{ debugName: "_firstPageLinkIconTemplate" }] : /* istanbul ignore next */ []));
328
+ _previousPageLinkIconTemplate = computed(() => this.templates()
329
+ .filter((item) => item.getType() === 'previouspagelinkicon')
330
+ .at(-1)?.template, /* @ts-ignore */
331
+ ...(ngDevMode ? [{ debugName: "_previousPageLinkIconTemplate" }] : /* istanbul ignore next */ []));
332
+ _lastPageLinkIconTemplate = computed(() => this.templates()
333
+ .filter((item) => item.getType() === 'lastpagelinkicon')
334
+ .at(-1)?.template, /* @ts-ignore */
335
+ ...(ngDevMode ? [{ debugName: "_lastPageLinkIconTemplate" }] : /* istanbul ignore next */ []));
336
+ _nextPageLinkIconTemplate = computed(() => this.templates()
337
+ .filter((item) => item.getType() === 'nextpagelinkicon')
338
+ .at(-1)?.template, /* @ts-ignore */
339
+ ...(ngDevMode ? [{ debugName: "_nextPageLinkIconTemplate" }] : /* istanbul ignore next */ []));
340
+ pageLinks = computed(() => {
341
+ const pageLinks = [];
342
+ let boundaries = this.calculatePageLinkBoundaries(), start = boundaries[0], end = boundaries[1];
343
+ for (let i = start; i <= end; i++) {
344
+ pageLinks.push(i + 1);
345
+ }
346
+ return pageLinks;
347
+ }, /* @ts-ignore */
348
+ ...(ngDevMode ? [{ debugName: "pageLinks" }] : /* istanbul ignore next */ []));
349
+ pageItems = computed(() => {
350
+ if (!this.showJumpToPageDropdown()) {
351
+ return undefined;
352
+ }
353
+ const pageItems = [];
354
+ for (let i = 0; i < this.getPageCount(); i++) {
355
+ pageItems.push({ label: String(i + 1), value: i });
356
+ }
357
+ return pageItems;
358
+ }, /* @ts-ignore */
359
+ ...(ngDevMode ? [{ debugName: "pageItems" }] : /* istanbul ignore next */ []));
360
+ rowsPerPageItems = computed(() => {
361
+ const rowsPerPageOptions = this.rowsPerPageOptions();
362
+ if (!rowsPerPageOptions) {
363
+ return undefined;
364
+ }
365
+ const rowsPerPageItems = [];
366
+ let showAllItem = null;
367
+ for (let opt of rowsPerPageOptions) {
368
+ if (typeof opt == 'object' && opt['showAll']) {
369
+ showAllItem = { label: opt['showAll'], value: this.totalRecords() };
370
+ }
371
+ else {
372
+ rowsPerPageItems.push({ label: String(this.getLocalization(opt)), value: opt });
373
+ }
374
+ }
375
+ if (showAllItem) {
376
+ rowsPerPageItems.push(showAllItem);
377
+ }
378
+ return rowsPerPageItems;
379
+ }, /* @ts-ignore */
380
+ ...(ngDevMode ? [{ debugName: "rowsPerPageItems" }] : /* istanbul ignore next */ []));
381
+ paginatorState = computed(() => ({
382
+ page: this.getPage(),
383
+ pageCount: this.getPageCount(),
384
+ rows: this._rows(),
385
+ first: this._first(),
386
+ totalRecords: this.totalRecords()
387
+ }), /* @ts-ignore */
388
+ ...(ngDevMode ? [{ debugName: "paginatorState" }] : /* istanbul ignore next */ []));
389
+ _first = linkedSignal(() => this.first(), /* @ts-ignore */
390
+ ...(ngDevMode ? [{ debugName: "_first" }] : /* istanbul ignore next */ []));
391
+ _rows = linkedSignal(() => this.rows(), /* @ts-ignore */
392
+ ...(ngDevMode ? [{ debugName: "_rows" }] : /* istanbul ignore next */ []));
334
393
  _componentStyle = inject(PaginatorStyle);
335
394
  $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo(), /* @ts-ignore */
336
395
  ...(ngDevMode ? [{ debugName: "$appendTo" }] : /* istanbul ignore next */ []));
337
- get display() {
338
- return this.alwaysShow || (this.pageLinks && this.pageLinks.length > 1) ? null : 'none';
339
- }
340
- onInit() {
341
- this.updatePaginatorState();
342
- }
343
- onAfterContentInit() {
344
- this.templates().forEach((item) => {
345
- switch (item.getType()) {
346
- case 'dropdownicon':
347
- this._dropdownIconTemplate = item.template;
348
- break;
349
- case 'firstpagelinkicon':
350
- this._firstPageLinkIconTemplate = item.template;
351
- break;
352
- case 'previouspagelinkicon':
353
- this._previousPageLinkIconTemplate = item.template;
354
- break;
355
- case 'lastpagelinkicon':
356
- this._lastPageLinkIconTemplate = item.template;
357
- break;
358
- case 'nextpagelinkicon':
359
- this._nextPageLinkIconTemplate = item.template;
360
- break;
361
- }
362
- });
363
- }
396
+ display = computed(() => (this.alwaysShow() || this.pageLinks().length > 1 ? null : 'none'), /* @ts-ignore */
397
+ ...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
364
398
  getAriaLabel(labelType) {
365
399
  return this.config.translation.aria ? this.config.translation.aria[labelType] : undefined;
366
400
  }
@@ -368,7 +402,7 @@ class Paginator extends BaseComponent {
368
402
  return this.config.translation.aria ? this.config.translation.aria.pageLabel?.replace(/{page}/g, `${value}`) : undefined;
369
403
  }
370
404
  getLocalization(digit) {
371
- const numerals = [...new Intl.NumberFormat(this.locale, { useGrouping: false }).format(9876543210)].reverse();
405
+ const numerals = [...new Intl.NumberFormat(this.locale(), { useGrouping: false }).format(9876543210)].reverse();
372
406
  const index = new Map(numerals.map((d, i) => [i, d]));
373
407
  if (digit > 9) {
374
408
  const numbers = String(digit).split('');
@@ -378,101 +412,43 @@ class Paginator extends BaseComponent {
378
412
  return index.get(digit);
379
413
  }
380
414
  }
381
- onChanges(simpleChange) {
382
- if (simpleChange.totalRecords) {
383
- this.updatePageLinks();
384
- this.updatePaginatorState();
385
- this.updateFirst();
386
- this.updateRowsPerPageOptions();
387
- }
388
- if (simpleChange.first) {
389
- this._first = simpleChange.first.currentValue;
390
- this.updatePageLinks();
391
- this.updatePaginatorState();
392
- }
393
- if (simpleChange.rows) {
394
- this.updatePageLinks();
395
- this.updatePaginatorState();
396
- }
397
- if (simpleChange.rowsPerPageOptions) {
398
- this.updateRowsPerPageOptions();
399
- }
400
- if (simpleChange.pageLinkSize) {
401
- this.updatePageLinks();
402
- }
403
- }
404
- updateRowsPerPageOptions() {
405
- if (this.rowsPerPageOptions) {
406
- this.rowsPerPageItems = [];
407
- let showAllItem = null;
408
- for (let opt of this.rowsPerPageOptions) {
409
- if (typeof opt == 'object' && opt['showAll']) {
410
- showAllItem = { label: opt['showAll'], value: this.totalRecords };
411
- }
412
- else {
413
- this.rowsPerPageItems.push({ label: String(this.getLocalization(opt)), value: opt });
414
- }
415
- }
416
- if (showAllItem) {
417
- this.rowsPerPageItems.push(showAllItem);
418
- }
419
- }
420
- }
421
- isFirstPage() {
422
- return this.getPage() === 0;
423
- }
424
- isLastPage() {
425
- return this.getPage() === this.getPageCount() - 1;
426
- }
427
- getPageCount() {
428
- return Math.ceil(this.totalRecords / this.rows);
429
- }
430
- calculatePageLinkBoundaries() {
431
- let numberOfPages = this.getPageCount(), visiblePages = Math.min(this.pageLinkSize, numberOfPages);
415
+ isFirstPage = computed(() => this.getPage() === 0, /* @ts-ignore */
416
+ ...(ngDevMode ? [{ debugName: "isFirstPage" }] : /* istanbul ignore next */ []));
417
+ isLastPage = computed(() => this.getPage() === this.getPageCount() - 1, /* @ts-ignore */
418
+ ...(ngDevMode ? [{ debugName: "isLastPage" }] : /* istanbul ignore next */ []));
419
+ getPageCount = computed(() => Math.ceil(this.totalRecords() / this._rows()), /* @ts-ignore */
420
+ ...(ngDevMode ? [{ debugName: "getPageCount" }] : /* istanbul ignore next */ []));
421
+ calculatePageLinkBoundaries = computed(() => {
422
+ let numberOfPages = this.getPageCount(), visiblePages = Math.min(this.pageLinkSize(), numberOfPages);
432
423
  //calculate range, keep current in middle if necessary
433
424
  let start = Math.max(0, Math.ceil(this.getPage() - visiblePages / 2)), end = Math.min(numberOfPages - 1, start + visiblePages - 1);
434
425
  //check when approaching to last page
435
- var delta = this.pageLinkSize - (end - start + 1);
426
+ var delta = this.pageLinkSize() - (end - start + 1);
436
427
  start = Math.max(0, start - delta);
437
428
  return [start, end];
438
- }
439
- updatePageLinks() {
440
- this.pageLinks = [];
441
- let boundaries = this.calculatePageLinkBoundaries(), start = boundaries[0], end = boundaries[1];
442
- for (let i = start; i <= end; i++) {
443
- this.pageLinks.push(i + 1);
444
- }
445
- if (this.showJumpToPageDropdown) {
446
- this.pageItems = [];
447
- for (let i = 0; i < this.getPageCount(); i++) {
448
- this.pageItems.push({ label: String(i + 1), value: i });
449
- }
450
- }
451
- }
429
+ }, /* @ts-ignore */
430
+ ...(ngDevMode ? [{ debugName: "calculatePageLinkBoundaries" }] : /* istanbul ignore next */ []));
452
431
  changePage(p) {
453
432
  var pc = this.getPageCount();
454
433
  if (p >= 0 && p < pc) {
455
- this._first = this.rows * p;
434
+ this._first.set(this._rows() * p);
456
435
  var state = {
457
436
  page: p,
458
- first: this.first,
459
- rows: this.rows,
437
+ first: this._first(),
438
+ rows: this._rows(),
460
439
  pageCount: pc
461
440
  };
462
- this.updatePageLinks();
463
441
  this.onPageChange.emit(state);
464
- this.updatePaginatorState();
465
442
  }
466
443
  }
467
444
  updateFirst() {
468
445
  const page = this.getPage();
469
- if (page > 0 && this.totalRecords && this.first >= this.totalRecords) {
446
+ if (page > 0 && this.totalRecords() && this._first() >= this.totalRecords()) {
470
447
  Promise.resolve(null).then(() => this.changePage(page - 1));
471
448
  }
472
449
  }
473
- getPage() {
474
- return Math.floor(this.first / this.rows);
475
- }
450
+ getPage = computed(() => Math.floor(this._first() / this._rows()), /* @ts-ignore */
451
+ ...(ngDevMode ? [{ debugName: "getPage" }] : /* istanbul ignore next */ []));
476
452
  changePageToFirst(event) {
477
453
  if (!this.isFirstPage()) {
478
454
  this.changePage(0);
@@ -503,65 +479,53 @@ class Paginator extends BaseComponent {
503
479
  onPageDropdownChange(event) {
504
480
  this.changePage(event.value);
505
481
  }
506
- updatePaginatorState() {
507
- this.paginatorState = {
508
- page: this.getPage(),
509
- pageCount: this.getPageCount(),
510
- rows: this.rows,
511
- first: this.first,
512
- totalRecords: this.totalRecords
513
- };
514
- }
515
- empty() {
516
- return this.getPageCount() === 0;
517
- }
518
- currentPage() {
519
- return this.getPageCount() > 0 ? this.getPage() + 1 : 0;
520
- }
521
- get currentPageReport() {
522
- return this.currentPageReportTemplate
523
- .replace('{currentPage}', String(this.currentPage()))
524
- .replace('{totalPages}', String(this.getPageCount()))
525
- .replace('{first}', String(this.totalRecords > 0 ? this._first + 1 : 0))
526
- .replace('{last}', String(Math.min(this._first + this.rows, this.totalRecords)))
527
- .replace('{rows}', String(this.rows))
528
- .replace('{totalRecords}', String(this.totalRecords));
529
- }
530
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Paginator, deps: null, target: i0.ɵɵFactoryTarget.Component });
531
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Paginator, isStandalone: true, selector: "p-paginator", inputs: { pageLinkSize: { classPropertyName: "pageLinkSize", publicName: "pageLinkSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, alwaysShow: { classPropertyName: "alwaysShow", publicName: "alwaysShow", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownAppendTo: { classPropertyName: "dropdownAppendTo", publicName: "dropdownAppendTo", isSignal: false, isRequired: false, transformFunction: null }, templateLeft: { classPropertyName: "templateLeft", publicName: "templateLeft", isSignal: false, isRequired: false, transformFunction: null }, templateRight: { classPropertyName: "templateRight", publicName: "templateRight", isSignal: false, isRequired: false, transformFunction: null }, dropdownScrollHeight: { classPropertyName: "dropdownScrollHeight", publicName: "dropdownScrollHeight", isSignal: false, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: false, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: false, isRequired: false, transformFunction: numberAttribute }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: false, isRequired: false, transformFunction: numberAttribute }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: false, isRequired: false, transformFunction: null }, showJumpToPageDropdown: { classPropertyName: "showJumpToPageDropdown", publicName: "showJumpToPageDropdown", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showJumpToPageInput: { classPropertyName: "showJumpToPageInput", publicName: "showJumpToPageInput", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, jumpToPageItemTemplate: { classPropertyName: "jumpToPageItemTemplate", publicName: "jumpToPageItemTemplate", isSignal: false, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: false, isRequired: false, transformFunction: null }, dropdownItemTemplate: { classPropertyName: "dropdownItemTemplate", publicName: "dropdownItemTemplate", isSignal: false, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange" }, host: { properties: { "class": "cn(cx('paginator'), styleClass)", "style.display": "this.display" } }, providers: [PaginatorStyle, { provide: PAGINATOR_INSTANCE, useExisting: Paginator }, { provide: PARENT_INSTANCE, useExisting: Paginator }], queries: [{ propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], isSignal: true }, { propertyName: "firstPageLinkIconTemplate", first: true, predicate: ["firstpagelinkicon"], isSignal: true }, { propertyName: "previousPageLinkIconTemplate", first: true, predicate: ["previouspagelinkicon"], isSignal: true }, { propertyName: "lastPageLinkIconTemplate", first: true, predicate: ["lastpagelinkicon"], isSignal: true }, { propertyName: "nextPageLinkIconTemplate", first: true, predicate: ["nextpagelinkicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
532
- @if (templateLeft) {
482
+ empty = computed(() => this.getPageCount() === 0, /* @ts-ignore */
483
+ ...(ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []));
484
+ currentPage = computed(() => (this.getPageCount() > 0 ? this.getPage() + 1 : 0), /* @ts-ignore */
485
+ ...(ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []));
486
+ currentPageReport = computed(() => this.currentPageReportTemplate()
487
+ .replace('{currentPage}', String(this.currentPage()))
488
+ .replace('{totalPages}', String(this.getPageCount()))
489
+ .replace('{first}', String(this.totalRecords() > 0 ? this._first() + 1 : 0))
490
+ .replace('{last}', String(Math.min(this._first() + this._rows(), this.totalRecords())))
491
+ .replace('{rows}', String(this._rows()))
492
+ .replace('{totalRecords}', String(this.totalRecords())), /* @ts-ignore */
493
+ ...(ngDevMode ? [{ debugName: "currentPageReport" }] : /* istanbul ignore next */ []));
494
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Paginator, deps: [], target: i0.ɵɵFactoryTarget.Component });
495
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Paginator, isStandalone: true, selector: "p-paginator", inputs: { pageLinkSize: { classPropertyName: "pageLinkSize", publicName: "pageLinkSize", isSignal: true, isRequired: false, transformFunction: null }, alwaysShow: { classPropertyName: "alwaysShow", publicName: "alwaysShow", isSignal: true, isRequired: false, transformFunction: null }, templateLeft: { classPropertyName: "templateLeft", publicName: "templateLeft", isSignal: true, isRequired: false, transformFunction: null }, templateRight: { classPropertyName: "templateRight", publicName: "templateRight", isSignal: true, isRequired: false, transformFunction: null }, dropdownScrollHeight: { classPropertyName: "dropdownScrollHeight", publicName: "dropdownScrollHeight", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageDropdown: { classPropertyName: "showJumpToPageDropdown", publicName: "showJumpToPageDropdown", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageInput: { classPropertyName: "showJumpToPageInput", publicName: "showJumpToPageInput", isSignal: true, isRequired: false, transformFunction: null }, jumpToPageItemTemplate: { classPropertyName: "jumpToPageItemTemplate", publicName: "jumpToPageItemTemplate", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, dropdownItemTemplate: { classPropertyName: "dropdownItemTemplate", publicName: "dropdownItemTemplate", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPageChange: "onPageChange" }, host: { properties: { "class": "cx('paginator')", "style.display": "display()" } }, providers: [PaginatorStyle, { provide: PAGINATOR_INSTANCE, useExisting: Paginator }, { provide: PARENT_INSTANCE, useExisting: Paginator }], queries: [{ propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], isSignal: true }, { propertyName: "firstPageLinkIconTemplate", first: true, predicate: ["firstpagelinkicon"], isSignal: true }, { propertyName: "previousPageLinkIconTemplate", first: true, predicate: ["previouspagelinkicon"], isSignal: true }, { propertyName: "lastPageLinkIconTemplate", first: true, predicate: ["lastpagelinkicon"], isSignal: true }, { propertyName: "nextPageLinkIconTemplate", first: true, predicate: ["nextpagelinkicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
496
+ @if (templateLeft()) {
533
497
  <div [pBind]="ptm('contentStart')" [class]="cx('contentStart')">
534
- <ng-container *ngTemplateOutlet="templateLeft; context: { $implicit: paginatorState }"></ng-container>
498
+ <ng-container *ngTemplateOutlet="templateLeft(); context: { $implicit: paginatorState() }"></ng-container>
535
499
  </div>
536
500
  }
537
- @if (showCurrentPageReport) {
538
- <span [pBind]="ptm('current')" [class]="cx('current')">{{ currentPageReport }}</span>
501
+ @if (showCurrentPageReport()) {
502
+ <span [pBind]="ptm('current')" [class]="cx('current')">{{ currentPageReport() }}</span>
539
503
  }
540
- @if (showFirstLastIcon) {
504
+ @if (showFirstLastIcon()) {
541
505
  <button [pBind]="ptm('first')" type="button" [disabled]="isFirstPage() || empty()" (click)="changePageToFirst($event)" pRipple [class]="cx('first')" [attr.aria-label]="getAriaLabel('firstPageLabel')">
542
- @if (!firstPageLinkIconTemplate() && !_firstPageLinkIconTemplate) {
506
+ @if (!firstPageLinkIconTemplate() && !_firstPageLinkIconTemplate()) {
543
507
  <svg [pBind]="ptm('firstIcon')" data-p-icon="angle-double-left" [class]="cx('firstIcon')" />
544
508
  }
545
- @if (firstPageLinkIconTemplate() || _firstPageLinkIconTemplate) {
509
+ @if (firstPageLinkIconTemplate() || _firstPageLinkIconTemplate()) {
546
510
  <span [class]="cx('firstIcon')">
547
- <ng-template *ngTemplateOutlet="firstPageLinkIconTemplate() || _firstPageLinkIconTemplate"></ng-template>
511
+ <ng-template *ngTemplateOutlet="firstPageLinkIconTemplate() || _firstPageLinkIconTemplate()"></ng-template>
548
512
  </span>
549
513
  }
550
514
  </button>
551
515
  }
552
516
  <button [pBind]="ptm('prev')" type="button" [disabled]="isFirstPage() || empty()" (click)="changePageToPrev($event)" pRipple [class]="cx('prev')" [attr.aria-label]="getAriaLabel('prevPageLabel')">
553
- @if (!previousPageLinkIconTemplate() && !_previousPageLinkIconTemplate) {
517
+ @if (!previousPageLinkIconTemplate() && !_previousPageLinkIconTemplate()) {
554
518
  <svg [pBind]="ptm('prevIcon')" data-p-icon="angle-left" [class]="cx('prevIcon')" />
555
519
  }
556
- @if (previousPageLinkIconTemplate() || _previousPageLinkIconTemplate) {
520
+ @if (previousPageLinkIconTemplate() || _previousPageLinkIconTemplate()) {
557
521
  <span [class]="cx('prevIcon')">
558
- <ng-template *ngTemplateOutlet="previousPageLinkIconTemplate() || _previousPageLinkIconTemplate"></ng-template>
522
+ <ng-template *ngTemplateOutlet="previousPageLinkIconTemplate() || _previousPageLinkIconTemplate()"></ng-template>
559
523
  </span>
560
524
  }
561
525
  </button>
562
- @if (showPageLinks) {
526
+ @if (showPageLinks()) {
563
527
  <span [pBind]="ptm('pages')" [class]="cx('pages')">
564
- @for (pageLink of pageLinks; track pageLink) {
528
+ @for (pageLink of pageLinks(); track pageLink) {
565
529
  <button
566
530
  [pBind]="ptm('page')"
567
531
  type="button"
@@ -576,56 +540,56 @@ class Paginator extends BaseComponent {
576
540
  }
577
541
  </span>
578
542
  }
579
- @if (showJumpToPageDropdown) {
543
+ @if (showJumpToPageDropdown()) {
580
544
  <p-select
581
- [options]="pageItems"
545
+ [options]="pageItems()"
582
546
  [ngModel]="getPage()"
583
547
  [ngModelOptions]="{ standalone: true }"
584
548
  [disabled]="empty()"
585
549
  [attr.aria-label]="getAriaLabel('jumpToPageDropdownLabel')"
586
- [styleClass]="cx('pcJumpToPageDropdown')"
550
+ [class]="cx('pcJumpToPageDropdown')"
587
551
  (onChange)="onPageDropdownChange($event)"
588
- [appendTo]="dropdownAppendTo || $appendTo()"
589
- [scrollHeight]="dropdownScrollHeight"
552
+ [appendTo]="$appendTo()"
553
+ [scrollHeight]="dropdownScrollHeight()"
590
554
  [pt]="ptm('pcJumpToPageDropdown')"
591
555
  [unstyled]="unstyled()"
592
556
  >
593
- <ng-template pTemplate="selectedItem">{{ currentPageReport }}</ng-template>
594
- @if (jumpToPageItemTemplate) {
557
+ <ng-template pTemplate="selectedItem">{{ currentPageReport() }}</ng-template>
558
+ @if (jumpToPageItemTemplate()) {
595
559
  <ng-template let-item pTemplate="item">
596
- <ng-container *ngTemplateOutlet="jumpToPageItemTemplate; context: { $implicit: item }"></ng-container>
560
+ <ng-container *ngTemplateOutlet="jumpToPageItemTemplate(); context: { $implicit: item }"></ng-container>
597
561
  </ng-template>
598
562
  }
599
- @if (dropdownIconTemplate() || _dropdownIconTemplate) {
563
+ @if (dropdownIconTemplate() || _dropdownIconTemplate()) {
600
564
  <ng-template pTemplate="dropdownicon">
601
- <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate"></ng-container>
565
+ <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-container>
602
566
  </ng-template>
603
567
  }
604
568
  </p-select>
605
569
  }
606
570
  <button [pBind]="ptm('next')" type="button" [disabled]="isLastPage() || empty()" (click)="changePageToNext($event)" pRipple [class]="cx('next')" [attr.aria-label]="getAriaLabel('nextPageLabel')">
607
- @if (!nextPageLinkIconTemplate() && !_nextPageLinkIconTemplate) {
571
+ @if (!nextPageLinkIconTemplate() && !_nextPageLinkIconTemplate()) {
608
572
  <svg [pBind]="ptm('nextIcon')" data-p-icon="angle-right" [class]="cx('nextIcon')" />
609
573
  }
610
- @if (nextPageLinkIconTemplate() || _nextPageLinkIconTemplate) {
574
+ @if (nextPageLinkIconTemplate() || _nextPageLinkIconTemplate()) {
611
575
  <span [class]="cx('nextIcon')">
612
- <ng-template *ngTemplateOutlet="nextPageLinkIconTemplate() || _nextPageLinkIconTemplate"></ng-template>
576
+ <ng-template *ngTemplateOutlet="nextPageLinkIconTemplate() || _nextPageLinkIconTemplate()"></ng-template>
613
577
  </span>
614
578
  }
615
579
  </button>
616
- @if (showFirstLastIcon) {
580
+ @if (showFirstLastIcon()) {
617
581
  <button [pBind]="ptm('last')" type="button" [disabled]="isLastPage() || empty()" (click)="changePageToLast($event)" pRipple [class]="cx('last')" [attr.aria-label]="getAriaLabel('lastPageLabel')">
618
- @if (!lastPageLinkIconTemplate() && !_lastPageLinkIconTemplate) {
582
+ @if (!lastPageLinkIconTemplate() && !_lastPageLinkIconTemplate()) {
619
583
  <svg [pBind]="ptm('lastIcon')" data-p-icon="angle-double-right" [class]="cx('lastIcon')" />
620
584
  }
621
- @if (lastPageLinkIconTemplate() || _lastPageLinkIconTemplate) {
585
+ @if (lastPageLinkIconTemplate() || _lastPageLinkIconTemplate()) {
622
586
  <span [class]="cx('lastIcon')">
623
- <ng-template *ngTemplateOutlet="lastPageLinkIconTemplate() || _lastPageLinkIconTemplate"></ng-template>
587
+ <ng-template *ngTemplateOutlet="lastPageLinkIconTemplate() || _lastPageLinkIconTemplate()"></ng-template>
624
588
  </span>
625
589
  }
626
590
  </button>
627
591
  }
628
- @if (showJumpToPageInput) {
592
+ @if (showJumpToPageInput()) {
629
593
  <p-inputnumber
630
594
  [pt]="ptm('pcJumpToPageInput')"
631
595
  [ngModel]="currentPage()"
@@ -636,79 +600,78 @@ class Paginator extends BaseComponent {
636
600
  [unstyled]="unstyled()"
637
601
  ></p-inputnumber>
638
602
  }
639
- @if (rowsPerPageOptions) {
603
+ @if (rowsPerPageOptions()) {
640
604
  <p-select
641
- [options]="rowsPerPageItems"
642
- [(ngModel)]="rows"
605
+ [options]="rowsPerPageItems()"
606
+ [(ngModel)]="_rows"
643
607
  [ngModelOptions]="{ standalone: true }"
644
- [styleClass]="cx('pcRowPerPageDropdown')"
608
+ [class]="cx('pcRowPerPageDropdown')"
645
609
  [disabled]="empty()"
646
610
  (onChange)="onRppChange($event)"
647
- [appendTo]="dropdownAppendTo || $appendTo()"
648
- [scrollHeight]="dropdownScrollHeight"
611
+ [appendTo]="$appendTo()"
612
+ [scrollHeight]="dropdownScrollHeight()"
649
613
  [ariaLabel]="getAriaLabel('rowsPerPageLabel')"
650
614
  [pt]="ptm('pcRowPerPageDropdown')"
651
615
  [unstyled]="unstyled()"
652
616
  >
653
- @if (dropdownItemTemplate) {
617
+ @if (dropdownItemTemplate()) {
654
618
  <ng-template let-item pTemplate="item">
655
- <ng-container *ngTemplateOutlet="dropdownItemTemplate; context: { $implicit: item }"></ng-container>
619
+ <ng-container *ngTemplateOutlet="dropdownItemTemplate(); context: { $implicit: item }"></ng-container>
656
620
  </ng-template>
657
621
  }
658
- @if (dropdownIconTemplate() || _dropdownIconTemplate) {
622
+ @if (dropdownIconTemplate() || _dropdownIconTemplate()) {
659
623
  <ng-template pTemplate="dropdownicon">
660
- <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate"></ng-container>
624
+ <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-container>
661
625
  </ng-template>
662
626
  }
663
627
  </p-select>
664
628
  }
665
- @if (templateRight) {
629
+ @if (templateRight()) {
666
630
  <div [pBind]="ptm('contentEnd')" [class]="cx('contentEnd')">
667
- <ng-container *ngTemplateOutlet="templateRight; context: { $implicit: paginatorState }"></ng-container>
631
+ <ng-container *ngTemplateOutlet="templateRight(); context: { $implicit: paginatorState() }"></ng-container>
668
632
  </div>
669
633
  }
670
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: AngleDoubleLeftIcon, selector: "[data-p-icon=\"angle-double-left\"]" }, { kind: "component", type: AngleDoubleRightIcon, selector: "[data-p-icon=\"angle-double-right\"]" }, { kind: "component", type: AngleLeftIcon, selector: "[data-p-icon=\"angle-left\"]" }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
634
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: AngleDoubleLeftIcon, selector: "[data-p-icon=\"angle-double-left\"]" }, { kind: "component", type: AngleDoubleRightIcon, selector: "[data-p-icon=\"angle-double-right\"]" }, { kind: "component", type: AngleLeftIcon, selector: "[data-p-icon=\"angle-left\"]" }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: i4.PrimeTemplate, selector: "[pTemplate]", inputs: ["pTemplate"] }, { kind: "directive", type: Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
671
635
  }
672
636
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Paginator, decorators: [{
673
637
  type: Component,
674
638
  args: [{
675
639
  selector: 'p-paginator',
676
- standalone: true,
677
640
  imports: [CommonModule, Select, InputNumber, FormsModule, Ripple, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon, SharedModule, Bind],
678
641
  template: `
679
- @if (templateLeft) {
642
+ @if (templateLeft()) {
680
643
  <div [pBind]="ptm('contentStart')" [class]="cx('contentStart')">
681
- <ng-container *ngTemplateOutlet="templateLeft; context: { $implicit: paginatorState }"></ng-container>
644
+ <ng-container *ngTemplateOutlet="templateLeft(); context: { $implicit: paginatorState() }"></ng-container>
682
645
  </div>
683
646
  }
684
- @if (showCurrentPageReport) {
685
- <span [pBind]="ptm('current')" [class]="cx('current')">{{ currentPageReport }}</span>
647
+ @if (showCurrentPageReport()) {
648
+ <span [pBind]="ptm('current')" [class]="cx('current')">{{ currentPageReport() }}</span>
686
649
  }
687
- @if (showFirstLastIcon) {
650
+ @if (showFirstLastIcon()) {
688
651
  <button [pBind]="ptm('first')" type="button" [disabled]="isFirstPage() || empty()" (click)="changePageToFirst($event)" pRipple [class]="cx('first')" [attr.aria-label]="getAriaLabel('firstPageLabel')">
689
- @if (!firstPageLinkIconTemplate() && !_firstPageLinkIconTemplate) {
652
+ @if (!firstPageLinkIconTemplate() && !_firstPageLinkIconTemplate()) {
690
653
  <svg [pBind]="ptm('firstIcon')" data-p-icon="angle-double-left" [class]="cx('firstIcon')" />
691
654
  }
692
- @if (firstPageLinkIconTemplate() || _firstPageLinkIconTemplate) {
655
+ @if (firstPageLinkIconTemplate() || _firstPageLinkIconTemplate()) {
693
656
  <span [class]="cx('firstIcon')">
694
- <ng-template *ngTemplateOutlet="firstPageLinkIconTemplate() || _firstPageLinkIconTemplate"></ng-template>
657
+ <ng-template *ngTemplateOutlet="firstPageLinkIconTemplate() || _firstPageLinkIconTemplate()"></ng-template>
695
658
  </span>
696
659
  }
697
660
  </button>
698
661
  }
699
662
  <button [pBind]="ptm('prev')" type="button" [disabled]="isFirstPage() || empty()" (click)="changePageToPrev($event)" pRipple [class]="cx('prev')" [attr.aria-label]="getAriaLabel('prevPageLabel')">
700
- @if (!previousPageLinkIconTemplate() && !_previousPageLinkIconTemplate) {
663
+ @if (!previousPageLinkIconTemplate() && !_previousPageLinkIconTemplate()) {
701
664
  <svg [pBind]="ptm('prevIcon')" data-p-icon="angle-left" [class]="cx('prevIcon')" />
702
665
  }
703
- @if (previousPageLinkIconTemplate() || _previousPageLinkIconTemplate) {
666
+ @if (previousPageLinkIconTemplate() || _previousPageLinkIconTemplate()) {
704
667
  <span [class]="cx('prevIcon')">
705
- <ng-template *ngTemplateOutlet="previousPageLinkIconTemplate() || _previousPageLinkIconTemplate"></ng-template>
668
+ <ng-template *ngTemplateOutlet="previousPageLinkIconTemplate() || _previousPageLinkIconTemplate()"></ng-template>
706
669
  </span>
707
670
  }
708
671
  </button>
709
- @if (showPageLinks) {
672
+ @if (showPageLinks()) {
710
673
  <span [pBind]="ptm('pages')" [class]="cx('pages')">
711
- @for (pageLink of pageLinks; track pageLink) {
674
+ @for (pageLink of pageLinks(); track pageLink) {
712
675
  <button
713
676
  [pBind]="ptm('page')"
714
677
  type="button"
@@ -723,56 +686,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
723
686
  }
724
687
  </span>
725
688
  }
726
- @if (showJumpToPageDropdown) {
689
+ @if (showJumpToPageDropdown()) {
727
690
  <p-select
728
- [options]="pageItems"
691
+ [options]="pageItems()"
729
692
  [ngModel]="getPage()"
730
693
  [ngModelOptions]="{ standalone: true }"
731
694
  [disabled]="empty()"
732
695
  [attr.aria-label]="getAriaLabel('jumpToPageDropdownLabel')"
733
- [styleClass]="cx('pcJumpToPageDropdown')"
696
+ [class]="cx('pcJumpToPageDropdown')"
734
697
  (onChange)="onPageDropdownChange($event)"
735
- [appendTo]="dropdownAppendTo || $appendTo()"
736
- [scrollHeight]="dropdownScrollHeight"
698
+ [appendTo]="$appendTo()"
699
+ [scrollHeight]="dropdownScrollHeight()"
737
700
  [pt]="ptm('pcJumpToPageDropdown')"
738
701
  [unstyled]="unstyled()"
739
702
  >
740
- <ng-template pTemplate="selectedItem">{{ currentPageReport }}</ng-template>
741
- @if (jumpToPageItemTemplate) {
703
+ <ng-template pTemplate="selectedItem">{{ currentPageReport() }}</ng-template>
704
+ @if (jumpToPageItemTemplate()) {
742
705
  <ng-template let-item pTemplate="item">
743
- <ng-container *ngTemplateOutlet="jumpToPageItemTemplate; context: { $implicit: item }"></ng-container>
706
+ <ng-container *ngTemplateOutlet="jumpToPageItemTemplate(); context: { $implicit: item }"></ng-container>
744
707
  </ng-template>
745
708
  }
746
- @if (dropdownIconTemplate() || _dropdownIconTemplate) {
709
+ @if (dropdownIconTemplate() || _dropdownIconTemplate()) {
747
710
  <ng-template pTemplate="dropdownicon">
748
- <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate"></ng-container>
711
+ <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-container>
749
712
  </ng-template>
750
713
  }
751
714
  </p-select>
752
715
  }
753
716
  <button [pBind]="ptm('next')" type="button" [disabled]="isLastPage() || empty()" (click)="changePageToNext($event)" pRipple [class]="cx('next')" [attr.aria-label]="getAriaLabel('nextPageLabel')">
754
- @if (!nextPageLinkIconTemplate() && !_nextPageLinkIconTemplate) {
717
+ @if (!nextPageLinkIconTemplate() && !_nextPageLinkIconTemplate()) {
755
718
  <svg [pBind]="ptm('nextIcon')" data-p-icon="angle-right" [class]="cx('nextIcon')" />
756
719
  }
757
- @if (nextPageLinkIconTemplate() || _nextPageLinkIconTemplate) {
720
+ @if (nextPageLinkIconTemplate() || _nextPageLinkIconTemplate()) {
758
721
  <span [class]="cx('nextIcon')">
759
- <ng-template *ngTemplateOutlet="nextPageLinkIconTemplate() || _nextPageLinkIconTemplate"></ng-template>
722
+ <ng-template *ngTemplateOutlet="nextPageLinkIconTemplate() || _nextPageLinkIconTemplate()"></ng-template>
760
723
  </span>
761
724
  }
762
725
  </button>
763
- @if (showFirstLastIcon) {
726
+ @if (showFirstLastIcon()) {
764
727
  <button [pBind]="ptm('last')" type="button" [disabled]="isLastPage() || empty()" (click)="changePageToLast($event)" pRipple [class]="cx('last')" [attr.aria-label]="getAriaLabel('lastPageLabel')">
765
- @if (!lastPageLinkIconTemplate() && !_lastPageLinkIconTemplate) {
728
+ @if (!lastPageLinkIconTemplate() && !_lastPageLinkIconTemplate()) {
766
729
  <svg [pBind]="ptm('lastIcon')" data-p-icon="angle-double-right" [class]="cx('lastIcon')" />
767
730
  }
768
- @if (lastPageLinkIconTemplate() || _lastPageLinkIconTemplate) {
731
+ @if (lastPageLinkIconTemplate() || _lastPageLinkIconTemplate()) {
769
732
  <span [class]="cx('lastIcon')">
770
- <ng-template *ngTemplateOutlet="lastPageLinkIconTemplate() || _lastPageLinkIconTemplate"></ng-template>
733
+ <ng-template *ngTemplateOutlet="lastPageLinkIconTemplate() || _lastPageLinkIconTemplate()"></ng-template>
771
734
  </span>
772
735
  }
773
736
  </button>
774
737
  }
775
- @if (showJumpToPageInput) {
738
+ @if (showJumpToPageInput()) {
776
739
  <p-inputnumber
777
740
  [pt]="ptm('pcJumpToPageInput')"
778
741
  [ngModel]="currentPage()"
@@ -783,35 +746,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
783
746
  [unstyled]="unstyled()"
784
747
  ></p-inputnumber>
785
748
  }
786
- @if (rowsPerPageOptions) {
749
+ @if (rowsPerPageOptions()) {
787
750
  <p-select
788
- [options]="rowsPerPageItems"
789
- [(ngModel)]="rows"
751
+ [options]="rowsPerPageItems()"
752
+ [(ngModel)]="_rows"
790
753
  [ngModelOptions]="{ standalone: true }"
791
- [styleClass]="cx('pcRowPerPageDropdown')"
754
+ [class]="cx('pcRowPerPageDropdown')"
792
755
  [disabled]="empty()"
793
756
  (onChange)="onRppChange($event)"
794
- [appendTo]="dropdownAppendTo || $appendTo()"
795
- [scrollHeight]="dropdownScrollHeight"
757
+ [appendTo]="$appendTo()"
758
+ [scrollHeight]="dropdownScrollHeight()"
796
759
  [ariaLabel]="getAriaLabel('rowsPerPageLabel')"
797
760
  [pt]="ptm('pcRowPerPageDropdown')"
798
761
  [unstyled]="unstyled()"
799
762
  >
800
- @if (dropdownItemTemplate) {
763
+ @if (dropdownItemTemplate()) {
801
764
  <ng-template let-item pTemplate="item">
802
- <ng-container *ngTemplateOutlet="dropdownItemTemplate; context: { $implicit: item }"></ng-container>
765
+ <ng-container *ngTemplateOutlet="dropdownItemTemplate(); context: { $implicit: item }"></ng-container>
803
766
  </ng-template>
804
767
  }
805
- @if (dropdownIconTemplate() || _dropdownIconTemplate) {
768
+ @if (dropdownIconTemplate() || _dropdownIconTemplate()) {
806
769
  <ng-template pTemplate="dropdownicon">
807
- <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate"></ng-container>
770
+ <ng-container *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-container>
808
771
  </ng-template>
809
772
  }
810
773
  </p-select>
811
774
  }
812
- @if (templateRight) {
775
+ @if (templateRight()) {
813
776
  <div [pBind]="ptm('contentEnd')" [class]="cx('contentEnd')">
814
- <ng-container *ngTemplateOutlet="templateRight; context: { $implicit: paginatorState }"></ng-container>
777
+ <ng-container *ngTemplateOutlet="templateRight(); context: { $implicit: paginatorState() }"></ng-container>
815
778
  </div>
816
779
  }
817
780
  `,
@@ -819,63 +782,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
819
782
  encapsulation: ViewEncapsulation.None,
820
783
  providers: [PaginatorStyle, { provide: PAGINATOR_INSTANCE, useExisting: Paginator }, { provide: PARENT_INSTANCE, useExisting: Paginator }],
821
784
  host: {
822
- '[class]': "cn(cx('paginator'), styleClass)"
785
+ '[class]': "cx('paginator')",
786
+ '[style.display]': 'display()'
823
787
  },
824
788
  hostDirectives: [Bind]
825
789
  }]
826
- }], propDecorators: { pageLinkSize: [{
827
- type: Input,
828
- args: [{ transform: numberAttribute }]
829
- }], styleClass: [{
830
- type: Input
831
- }], alwaysShow: [{
832
- type: Input,
833
- args: [{ transform: booleanAttribute }]
834
- }], dropdownAppendTo: [{
835
- type: Input
836
- }], templateLeft: [{
837
- type: Input
838
- }], templateRight: [{
839
- type: Input
840
- }], dropdownScrollHeight: [{
841
- type: Input
842
- }], currentPageReportTemplate: [{
843
- type: Input
844
- }], showCurrentPageReport: [{
845
- type: Input,
846
- args: [{ transform: booleanAttribute }]
847
- }], showFirstLastIcon: [{
848
- type: Input,
849
- args: [{ transform: booleanAttribute }]
850
- }], totalRecords: [{
851
- type: Input,
852
- args: [{ transform: numberAttribute }]
853
- }], rows: [{
854
- type: Input,
855
- args: [{ transform: numberAttribute }]
856
- }], rowsPerPageOptions: [{
857
- type: Input
858
- }], showJumpToPageDropdown: [{
859
- type: Input,
860
- args: [{ transform: booleanAttribute }]
861
- }], showJumpToPageInput: [{
862
- type: Input,
863
- args: [{ transform: booleanAttribute }]
864
- }], jumpToPageItemTemplate: [{
865
- type: Input
866
- }], showPageLinks: [{
867
- type: Input,
868
- args: [{ transform: booleanAttribute }]
869
- }], locale: [{
870
- type: Input
871
- }], dropdownItemTemplate: [{
872
- type: Input
873
- }], first: [{
874
- type: Input
875
- }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], onPageChange: [{ type: i0.Output, args: ["onPageChange"] }], dropdownIconTemplate: [{ type: i0.ContentChild, args: ['dropdownicon', { ...{ descendants: false }, isSignal: true }] }], firstPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['firstpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], previousPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['previouspagelinkicon', { ...{ descendants: false }, isSignal: true }] }], lastPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['lastpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], nextPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['nextpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }], display: [{
876
- type: HostBinding,
877
- args: ['style.display']
878
- }] } });
790
+ }], ctorParameters: () => [], propDecorators: { pageLinkSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinkSize", required: false }] }], alwaysShow: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShow", required: false }] }], templateLeft: [{ type: i0.Input, args: [{ isSignal: true, alias: "templateLeft", required: false }] }], templateRight: [{ type: i0.Input, args: [{ isSignal: true, alias: "templateRight", required: false }] }], dropdownScrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownScrollHeight", required: false }] }], currentPageReportTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPageReportTemplate", required: false }] }], showCurrentPageReport: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentPageReport", required: false }] }], showFirstLastIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastIcon", required: false }] }], totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], showJumpToPageDropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "showJumpToPageDropdown", required: false }] }], showJumpToPageInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "showJumpToPageInput", required: false }] }], jumpToPageItemTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "jumpToPageItemTemplate", required: false }] }], showPageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPageLinks", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], dropdownItemTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownItemTemplate", required: false }] }], first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], onPageChange: [{ type: i0.Output, args: ["onPageChange"] }], dropdownIconTemplate: [{ type: i0.ContentChild, args: ['dropdownicon', { ...{ descendants: false }, isSignal: true }] }], firstPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['firstpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], previousPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['previouspagelinkicon', { ...{ descendants: false }, isSignal: true }] }], lastPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['lastpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], nextPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['nextpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
879
791
  class PaginatorModule {
880
792
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
881
793
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: PaginatorModule, imports: [Paginator, SharedModule], exports: [Paginator, SharedModule] });