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

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 (265) 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 +6 -13
  6. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +485 -683
  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 +379 -451
  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 +157 -332
  34. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +187 -210
  36. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +315 -361
  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 +1012 -1157
  42. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-dialog.mjs +370 -507
  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 +486 -541
  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-baseicon.mjs +8 -13
  68. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
  70. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
  72. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-inplace.mjs +64 -98
  74. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
  76. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
  78. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
  80. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
  82. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
  84. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
  86. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
  88. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
  90. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
  92. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-listbox.mjs +365 -546
  94. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-megamenu.mjs +320 -371
  96. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
  98. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
  100. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
  102. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-multiselect.mjs +647 -835
  104. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
  106. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
  108. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
  110. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
  112. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
  114. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
  116. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
  118. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-picklist.mjs +557 -655
  120. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
  122. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
  124. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
  126. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
  128. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
  130. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-select.mjs +581 -784
  132. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
  134. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
  136. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
  138. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
  140. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
  142. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
  144. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
  146. package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-table.mjs +2213 -2543
  148. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
  150. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
  152. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +318 -394
  154. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
  156. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
  158. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
  160. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
  162. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
  164. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
  166. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-treeselect.mjs +327 -421
  168. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
  170. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  171. package/package.json +5 -5
  172. package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
  173. package/schematics/migrations/renamed-inputs/migration.js +97 -0
  174. package/schematics/migrations/styleclass-to-class/migration.js +92 -1
  175. package/schematics/migrations.json +7 -2
  176. package/schematics/utils/removed-inputs.js +0 -0
  177. package/schematics/utils/renamed-inputs.js +175 -0
  178. package/schematics/utils/styleclass.js +24 -8
  179. package/schematics/utils/versions.json +8 -8
  180. package/types/exhaustive-ui-core-accordion.d.ts +8 -24
  181. package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
  182. package/types/exhaustive-ui-core-api.d.ts +2 -3
  183. package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
  184. package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
  185. package/types/exhaustive-ui-core-avatar.d.ts +18 -25
  186. package/types/exhaustive-ui-core-badge.d.ts +13 -27
  187. package/types/exhaustive-ui-core-blockui.d.ts +18 -30
  188. package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
  189. package/types/exhaustive-ui-core-button.d.ts +57 -89
  190. package/types/exhaustive-ui-core-carousel.d.ts +56 -82
  191. package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
  192. package/types/exhaustive-ui-core-chart.d.ts +21 -29
  193. package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
  194. package/types/exhaustive-ui-core-chip.d.ts +31 -38
  195. package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
  196. package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
  197. package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
  198. package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
  199. package/types/exhaustive-ui-core-dataview.d.ts +42 -65
  200. package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
  201. package/types/exhaustive-ui-core-dialog.d.ts +73 -123
  202. package/types/exhaustive-ui-core-dock.d.ts +16 -25
  203. package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
  204. package/types/exhaustive-ui-core-drawer.d.ts +32 -64
  205. package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
  206. package/types/exhaustive-ui-core-editor.d.ts +15 -25
  207. package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
  208. package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
  209. package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
  210. package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
  211. package/types/exhaustive-ui-core-galleria.d.ts +124 -194
  212. package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
  213. package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
  214. package/types/exhaustive-ui-core-image.d.ts +35 -68
  215. package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
  216. package/types/exhaustive-ui-core-inplace.d.ts +30 -42
  217. package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
  218. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
  219. package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
  220. package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
  221. package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
  222. package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
  223. package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
  224. package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
  225. package/types/exhaustive-ui-core-knob.d.ts +45 -60
  226. package/types/exhaustive-ui-core-listbox.d.ts +90 -126
  227. package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
  228. package/types/exhaustive-ui-core-menu.d.ts +33 -53
  229. package/types/exhaustive-ui-core-menubar.d.ts +38 -85
  230. package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
  231. package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
  232. package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
  233. package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
  234. package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
  235. package/types/exhaustive-ui-core-paginator.d.ts +41 -69
  236. package/types/exhaustive-ui-core-panel.d.ts +18 -45
  237. package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
  238. package/types/exhaustive-ui-core-password.d.ts +56 -93
  239. package/types/exhaustive-ui-core-picklist.d.ts +107 -121
  240. package/types/exhaustive-ui-core-popover.d.ts +23 -47
  241. package/types/exhaustive-ui-core-rating.d.ts +18 -26
  242. package/types/exhaustive-ui-core-scroller.d.ts +90 -120
  243. package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
  244. package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
  245. package/types/exhaustive-ui-core-select.d.ts +137 -188
  246. package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
  247. package/types/exhaustive-ui-core-slider.d.ts +52 -67
  248. package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
  249. package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
  250. package/types/exhaustive-ui-core-splitter.d.ts +47 -59
  251. package/types/exhaustive-ui-core-steps.d.ts +24 -31
  252. package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
  253. package/types/exhaustive-ui-core-table.d.ts +349 -453
  254. package/types/exhaustive-ui-core-terminal.d.ts +10 -22
  255. package/types/exhaustive-ui-core-textarea.d.ts +7 -10
  256. package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
  257. package/types/exhaustive-ui-core-timeline.d.ts +20 -28
  258. package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
  259. package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
  260. package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
  261. package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
  262. package/types/exhaustive-ui-core-tree.d.ts +82 -119
  263. package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
  264. package/types/exhaustive-ui-core-treetable.d.ts +203 -280
  265. package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-scrollpanel.mjs","sources":["../../src/scrollpanel/style/scrollpanelstyle.ts","../../src/scrollpanel/scrollpanel.ts","../../src/scrollpanel/exhaustive-ui-core-scrollpanel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as scrollpanel_style } from '@exhaustive-ui/styles/scrollpanel';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n ${scrollpanel_style}\n\n .p-scrollpanel {\n display: block;\n }\n`;\n\nconst classes = {\n root: 'p-scrollpanel p-component',\n contentContainer: 'p-scrollpanel-content-container',\n content: 'p-scrollpanel-content',\n barX: 'p-scrollpanel-bar p-scrollpanel-bar-x',\n barY: 'p-scrollpanel-bar p-scrollpanel-bar-y'\n};\n\n@Injectable()\nexport class ScrollPanelStyle extends BaseStyle {\n name = 'scrollpanel';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/scrollpanel/)\n *\n * @module scrollpanelstyle\n *\n */\nexport enum ScrollPanelClasses {\n /**\n * Class name of the root element\n */\n root = 'p-scrollpanel',\n /**\n * Class name of the content container element\n */\n contentContainer = 'p-scrollpanel-content-container',\n /**\n * Class name of the content element\n */\n content = 'p-scrollpanel-content',\n /**\n * Class name of the bar x element\n */\n barX = 'p-scrollpanel-bar-x',\n /**\n * Class name of the bar y element\n */\n barY = 'p-scrollpanel-bar-y'\n}\n\nexport interface ScrollPanelStyle extends BaseStyle {}\n","import { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, InjectionToken, Input, NgModule, NgZone, numberAttribute, TemplateRef, ViewEncapsulation, viewChild, contentChild, contentChildren } from '@angular/core';\nimport { addClass, getHeight, removeClass, uuid } from '@exhaustive-ui/utils';\nimport { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { Nullable } from '@exhaustive-ui/core/ts-helpers';\nimport { ScrollPanelPassThrough } from '@exhaustive-ui/core/types/scrollpanel';\nimport { ScrollPanelStyle } from './style/scrollpanelstyle';\n\nconst SCROLLPANEL_INSTANCE = new InjectionToken<ScrollPanel>('SCROLLPANEL_INSTANCE');\n\n/**\n * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n * @group Components\n */\n@Component({\n selector: 'p-scroll-panel, p-scrollPanel, p-scrollpanel',\n standalone: true,\n imports: [CommonModule, SharedModule, BindModule],\n template: `\n <div [pBind]=\"ptm('contentContainer')\" [class]=\"cx('contentContainer')\">\n <div #content [pBind]=\"ptm('content')\" [class]=\"cx('content')\" (mouseenter)=\"moveBar()\" (scroll)=\"onScroll($event)\">\n @if (!contentTemplate() && !_contentTemplate) {\n <ng-content></ng-content>\n }\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate\"></ng-container>\n </div>\n </div>\n <div\n #xBar\n [pBind]=\"ptm('barX')\"\n [class]=\"cx('barX')\"\n tabindex=\"0\"\n role=\"scrollbar\"\n [attr.aria-orientation]=\"'horizontal'\"\n [attr.aria-valuenow]=\"lastScrollLeft\"\n [attr.aria-controls]=\"contentId\"\n [attr.data-pc-group-section]=\"'bar'\"\n (mousedown)=\"onXBarMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n (keyup)=\"onKeyUp()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur()\"\n ></div>\n <div\n #yBar\n [pBind]=\"ptm('barY')\"\n [class]=\"cx('barY')\"\n tabindex=\"0\"\n role=\"scrollbar\"\n [attr.aria-orientation]=\"'vertical'\"\n [attr.aria-valuenow]=\"lastScrollTop\"\n [attr.aria-controls]=\"contentId\"\n (mousedown)=\"onYBarMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n (keyup)=\"onKeyUp()\"\n (focus)=\"onFocus($event)\"\n [attr.data-pc-group-section]=\"'bar'\"\n ></div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ScrollPanelStyle, { provide: SCROLLPANEL_INSTANCE, useExisting: ScrollPanel }, { provide: PARENT_INSTANCE, useExisting: ScrollPanel }],\n host: {\n '[class]': 'cn(cx(\"root\"), styleClass)'\n },\n hostDirectives: [Bind]\n})\nexport class ScrollPanel extends BaseComponent<ScrollPanelPassThrough> {\n componentName = 'ScrollPanel';\n\n $pcScrollPanel: ScrollPanel | undefined = inject(SCROLLPANEL_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Step factor to scroll the content while pressing the arrow keys.\n * @group Props\n */\n @Input({ transform: numberAttribute }) step: number = 5;\n\n readonly contentViewChild = viewChild.required<ElementRef>('content');\n\n readonly xBarViewChild = viewChild.required<ElementRef>('xBar');\n\n readonly yBarViewChild = viewChild.required<ElementRef>('yBar');\n /**\n * Custom content template.\n * @group Templates\n */\n readonly contentTemplate = contentChild<TemplateRef<void>>('content', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n _contentTemplate: TemplateRef<void> | undefined;\n\n scrollYRatio: number | undefined;\n\n scrollXRatio: number | undefined;\n\n timeoutFrame: any = (fn: VoidFunction) => setTimeout(fn, 0);\n\n initialized: boolean = false;\n\n lastPageY: number | undefined;\n\n lastPageX: number | undefined;\n\n isXBarClicked: boolean = false;\n\n isYBarClicked: boolean = false;\n\n lastScrollLeft: number = 0;\n\n lastScrollTop: number = 0;\n\n orientation: string = 'vertical';\n\n timer: any;\n\n contentId: string | undefined;\n\n windowResizeListener: VoidFunction | null | undefined;\n\n contentScrollListener: VoidFunction | null | undefined;\n\n mouseEnterListener: VoidFunction | null | undefined;\n\n xBarMouseDownListener: VoidFunction | null | undefined;\n\n yBarMouseDownListener: VoidFunction | null | undefined;\n\n documentMouseMoveListener: Nullable<(event?: any) => void>;\n\n documentMouseUpListener: Nullable<(event?: any) => void>;\n\n _componentStyle = inject(ScrollPanelStyle);\n\n zone: NgZone = inject(NgZone);\n\n onInit() {\n this.contentId = uuid('pn_id_') + '_content';\n }\n\n onAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.zone.runOutsideAngular(() => {\n this.moveBar();\n this.moveBar = this.moveBar.bind(this);\n this.onXBarMouseDown = this.onXBarMouseDown.bind(this);\n this.onYBarMouseDown = this.onYBarMouseDown.bind(this);\n this.onDocumentMouseMove = this.onDocumentMouseMove.bind(this);\n this.onDocumentMouseUp = this.onDocumentMouseUp.bind(this);\n\n this.windowResizeListener = this.renderer.listen(window, 'resize', this.moveBar);\n this.contentScrollListener = this.renderer.listen((this.contentViewChild() as ElementRef).nativeElement, 'scroll', this.moveBar);\n this.mouseEnterListener = this.renderer.listen((this.contentViewChild() as ElementRef).nativeElement, 'mouseenter', this.moveBar);\n this.xBarMouseDownListener = this.renderer.listen((this.xBarViewChild() as ElementRef).nativeElement, 'mousedown', this.onXBarMouseDown);\n this.yBarMouseDownListener = this.renderer.listen((this.yBarViewChild() as ElementRef).nativeElement, 'mousedown', this.onYBarMouseDown);\n this.calculateContainerHeight();\n\n this.initialized = true;\n });\n }\n }\n\n onAfterContentInit() {\n this.templates().forEach((item) => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n\n default:\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n\n calculateContainerHeight() {\n let container = (this.el as ElementRef).nativeElement;\n let content = (this.contentViewChild() as ElementRef).nativeElement;\n let xBar = (this.xBarViewChild() as ElementRef).nativeElement;\n const window = this.document.defaultView as Window;\n\n let containerStyles: { [klass: string]: any } = window.getComputedStyle(container),\n xBarStyles = window.getComputedStyle(xBar),\n pureContainerHeight = getHeight(container) - parseInt(xBarStyles['height'], 10);\n\n if (containerStyles['max-height'] != 'none' && pureContainerHeight == 0) {\n if (content.offsetHeight + parseInt(xBarStyles['height'], 10) > parseInt(containerStyles['max-height'], 10)) {\n container.style.height = containerStyles['max-height'];\n } else {\n container.style.height = content.offsetHeight + parseFloat(containerStyles.paddingTop) + parseFloat(containerStyles.paddingBottom) + parseFloat(containerStyles.borderTopWidth) + parseFloat(containerStyles.borderBottomWidth) + 'px';\n }\n }\n }\n\n moveBar() {\n let container = (this.el as ElementRef).nativeElement;\n let content = (this.contentViewChild() as ElementRef).nativeElement;\n\n /* horizontal scroll */\n let xBar = (this.xBarViewChild() as ElementRef).nativeElement;\n let totalWidth = content.scrollWidth;\n let ownWidth = content.clientWidth;\n let bottom = (container.clientHeight - xBar.clientHeight) * -1;\n\n this.scrollXRatio = ownWidth / totalWidth;\n\n /* vertical scroll */\n let yBar = (this.yBarViewChild() as ElementRef).nativeElement;\n let totalHeight = content.scrollHeight;\n let ownHeight = content.clientHeight;\n let right = (container.clientWidth - yBar.clientWidth) * -1;\n\n this.scrollYRatio = ownHeight / totalHeight;\n\n this.requestAnimationFrame(() => {\n if ((this.scrollXRatio as number) >= 1) {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'true');\n !this.$unstyled() && addClass(xBar, 'p-scrollpanel-hidden');\n } else {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n !this.$unstyled() && removeClass(xBar, 'p-scrollpanel-hidden');\n const xBarWidth = Math.max((this.scrollXRatio as number) * 100, 10);\n const xBarLeft = Math.abs((content.scrollLeft * (100 - xBarWidth)) / (totalWidth - ownWidth));\n xBar.style.cssText = 'width:' + xBarWidth + '%; inset-inline-start:' + xBarLeft + '%;bottom:' + bottom + 'px;';\n }\n\n if ((this.scrollYRatio as number) >= 1) {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'true');\n !this.$unstyled() && addClass(yBar, 'p-scrollpanel-hidden');\n } else {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n !this.$unstyled() && removeClass(yBar, 'p-scrollpanel-hidden');\n const yBarHeight = Math.max((this.scrollYRatio as number) * 100, 10);\n const yBarTop = (content.scrollTop * (100 - yBarHeight)) / (totalHeight - ownHeight);\n yBar.style.cssText = 'height:' + yBarHeight + '%; top: calc(' + yBarTop + '% - ' + xBar.clientHeight + 'px); inset-inline-end:' + right + 'px;';\n }\n });\n this.cd.markForCheck();\n }\n\n onScroll(event) {\n if (this.lastScrollLeft !== event.target.scrollLeft) {\n this.lastScrollLeft = event.target.scrollLeft;\n this.orientation = 'horizontal';\n } else if (this.lastScrollTop !== event.target.scrollTop) {\n this.lastScrollTop = event.target.scrollTop;\n this.orientation = 'vertical';\n }\n\n this.moveBar();\n }\n\n onKeyDown(event) {\n if (this.orientation === 'vertical') {\n switch (event.code) {\n case 'ArrowDown': {\n this.setTimer('scrollTop', this.step);\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n this.setTimer('scrollTop', this.step * -1);\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft':\n\n case 'ArrowRight': {\n event.preventDefault();\n break;\n }\n\n default:\n //no op\n break;\n }\n } else if (this.orientation === 'horizontal') {\n switch (event.code) {\n case 'ArrowRight': {\n this.setTimer('scrollLeft', this.step);\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n this.setTimer('scrollLeft', this.step * -1);\n event.preventDefault();\n break;\n }\n\n case 'ArrowDown':\n\n case 'ArrowUp': {\n event.preventDefault();\n break;\n }\n\n default:\n //no op\n break;\n }\n }\n }\n\n onKeyUp() {\n this.clearTimer();\n }\n\n repeat(bar, step) {\n const contentViewChild = this.contentViewChild();\n contentViewChild.nativeElement[bar] += step;\n this.moveBar();\n }\n\n setTimer(bar, step) {\n this.clearTimer();\n this.timer = setTimeout(() => {\n this.repeat(bar, step);\n }, 40);\n }\n\n clearTimer() {\n if (this.timer) {\n clearTimeout(this.timer);\n }\n }\n\n bindDocumentMouseListeners(): void {\n if (!this.documentMouseMoveListener) {\n this.documentMouseMoveListener = (e) => {\n this.onDocumentMouseMove(e);\n };\n this.document.addEventListener('mousemove', this.documentMouseMoveListener);\n }\n\n if (!this.documentMouseUpListener) {\n this.documentMouseUpListener = (e) => {\n this.onDocumentMouseUp(e);\n };\n this.document.addEventListener('mouseup', this.documentMouseUpListener);\n }\n }\n\n unbindDocumentMouseListeners(): void {\n if (this.documentMouseMoveListener) {\n this.document.removeEventListener('mousemove', this.documentMouseMoveListener);\n this.documentMouseMoveListener = null;\n }\n\n if (this.documentMouseUpListener) {\n document.removeEventListener('mouseup', this.documentMouseUpListener);\n this.documentMouseUpListener = null;\n }\n }\n\n onYBarMouseDown(e: MouseEvent) {\n this.isYBarClicked = true;\n const yBarViewChild = this.yBarViewChild();\n yBarViewChild.nativeElement.focus();\n this.lastPageY = e.pageY;\n\n yBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'true');\n !this.$unstyled() && addClass((yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'true');\n !this.$unstyled() && addClass(this.document.body, 'p-scrollpanel-grabbed');\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onXBarMouseDown(e: MouseEvent) {\n this.isXBarClicked = true;\n const xBarViewChild = this.xBarViewChild();\n xBarViewChild.nativeElement.focus();\n this.lastPageX = e.pageX;\n\n xBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && addClass((xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && addClass(this.document.body, 'p-scrollpanel-grabbed');\n\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onDocumentMouseMove(e: MouseEvent) {\n if (this.isXBarClicked) {\n this.onMouseMoveForXBar(e);\n } else if (this.isYBarClicked) {\n this.onMouseMoveForYBar(e);\n } else {\n this.onMouseMoveForXBar(e);\n this.onMouseMoveForYBar(e);\n }\n }\n\n onMouseMoveForXBar(e: MouseEvent) {\n let deltaX = e.pageX - (this.lastPageX as number);\n this.lastPageX = e.pageX;\n\n this.requestAnimationFrame(() => {\n (this.contentViewChild() as ElementRef).nativeElement.scrollLeft += deltaX / (this.scrollXRatio as number);\n });\n }\n\n onMouseMoveForYBar(e: MouseEvent) {\n let deltaY = e.pageY - (this.lastPageY as number);\n this.lastPageY = e.pageY;\n\n this.requestAnimationFrame(() => {\n (this.contentViewChild() as ElementRef).nativeElement.scrollTop += deltaY / (this.scrollYRatio as number);\n });\n }\n /**\n * Scrolls the top location to the given value.\n * @param scrollTop\n * @group Method\n */\n scrollTop(scrollTop: number) {\n let scrollableHeight = (this.contentViewChild() as ElementRef).nativeElement.scrollHeight - (this.contentViewChild() as ElementRef).nativeElement.clientHeight;\n scrollTop = scrollTop > scrollableHeight ? scrollableHeight : scrollTop > 0 ? scrollTop : 0;\n (this.contentViewChild() as ElementRef).nativeElement.scrollTop = scrollTop;\n }\n\n onFocus(event) {\n if (this.xBarViewChild().nativeElement?.isSameNode(event.target)) {\n this.orientation = 'horizontal';\n } else if (this.yBarViewChild().nativeElement?.isSameNode(event.target)) {\n this.orientation = 'vertical';\n }\n }\n\n onBlur() {\n if (this.orientation === 'horizontal') {\n this.orientation = 'vertical';\n }\n }\n\n onDocumentMouseUp(e: Event) {\n const yBarViewChild = this.yBarViewChild();\n yBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass((yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n const xBarViewChild = this.xBarViewChild();\n xBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass((xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass(this.document.body, 'p-scrollpanel-grabbed');\n\n this.unbindDocumentMouseListeners();\n this.isXBarClicked = false;\n this.isYBarClicked = false;\n }\n\n requestAnimationFrame(f: VoidFunction) {\n let frame = window.requestAnimationFrame || this.timeoutFrame;\n frame(f);\n }\n\n unbindListeners() {\n if (this.windowResizeListener) {\n this.windowResizeListener();\n this.windowResizeListener = null;\n }\n\n if (this.contentScrollListener) {\n this.contentScrollListener();\n this.contentScrollListener = null;\n }\n\n if (this.mouseEnterListener) {\n this.mouseEnterListener();\n this.mouseEnterListener = null;\n }\n\n if (this.xBarMouseDownListener) {\n this.xBarMouseDownListener();\n this.xBarMouseDownListener = null;\n }\n\n if (this.yBarMouseDownListener) {\n this.yBarMouseDownListener();\n this.yBarMouseDownListener = null;\n }\n }\n\n onDestroy() {\n if (this.initialized) {\n this.unbindListeners();\n }\n }\n /**\n * Refreshes the position and size of the scrollbar.\n * @group Method\n */\n refresh() {\n this.moveBar();\n }\n}\n\n@NgModule({\n imports: [ScrollPanel, SharedModule, BindModule],\n exports: [ScrollPanel, SharedModule, BindModule]\n})\nexport class ScrollPanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["scrollpanel_style"],"mappings":";;;;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;MAChBA,OAAiB;;;;;CAKtB;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,2BAA2B;AACjC,IAAA,gBAAgB,EAAE,iCAAiC;AACnD,IAAA,OAA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;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU;AAClD,iBAAA;;;ACxgBD;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-scrollpanel.mjs","sources":["../../src/scrollpanel/style/scrollpanelstyle.ts","../../src/scrollpanel/scrollpanel.ts","../../src/scrollpanel/exhaustive-ui-core-scrollpanel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as scrollpanel_style } from '@exhaustive-ui/styles/scrollpanel';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n ${scrollpanel_style}\n\n .p-scrollpanel {\n display: block;\n }\n`;\n\nconst classes = {\n root: 'p-scrollpanel p-component',\n contentContainer: 'p-scrollpanel-content-container',\n content: 'p-scrollpanel-content',\n barX: 'p-scrollpanel-bar p-scrollpanel-bar-x',\n barY: 'p-scrollpanel-bar p-scrollpanel-bar-y'\n};\n\n@Injectable()\nexport class ScrollPanelStyle extends BaseStyle {\n name = 'scrollpanel';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/scrollpanel/)\n *\n * @module scrollpanelstyle\n *\n */\nexport enum ScrollPanelClasses {\n /**\n * Class name of the root element\n */\n root = 'p-scrollpanel',\n /**\n * Class name of the content container element\n */\n contentContainer = 'p-scrollpanel-content-container',\n /**\n * Class name of the content element\n */\n content = 'p-scrollpanel-content',\n /**\n * Class name of the bar x element\n */\n barX = 'p-scrollpanel-bar-x',\n /**\n * Class name of the bar y element\n */\n barY = 'p-scrollpanel-bar-y'\n}\n\nexport interface ScrollPanelStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n afterEveryRender,\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n inject,\n input,\n NgModule,\n NgZone,\n numberAttribute,\n signal,\n TemplateRef,\n ViewEncapsulation,\n viewChild,\n contentChild,\n contentChildren\n} from '@angular/core';\nimport { addClass, getHeight, removeClass, uuid } from '@exhaustive-ui/utils';\nimport { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { Nullable } from '@exhaustive-ui/core/ts-helpers';\nimport { ScrollPanelPassThrough } from '@exhaustive-ui/core/types/scrollpanel';\nimport { ScrollPanelStyle } from './style/scrollpanelstyle';\n\n/**\n * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n * @group Components\n */\n@Component({\n selector: 'p-scroll-panel, p-scrollPanel, p-scrollpanel',\n imports: [CommonModule, SharedModule, BindModule],\n template: `\n <div [pBind]=\"ptm('contentContainer')\" [class]=\"cx('contentContainer')\">\n <div #content [pBind]=\"ptm('content')\" [class]=\"cx('content')\" (mouseenter)=\"moveBar()\" (scroll)=\"onScroll($event)\">\n @if (!contentTemplate() && !_contentTemplate()) {\n <ng-content></ng-content>\n }\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate()\"></ng-container>\n </div>\n </div>\n <div\n #xBar\n [pBind]=\"ptm('barX')\"\n [class]=\"cx('barX')\"\n tabindex=\"0\"\n role=\"scrollbar\"\n [attr.aria-orientation]=\"'horizontal'\"\n [attr.aria-valuenow]=\"lastScrollLeft()\"\n [attr.aria-controls]=\"contentId\"\n [attr.data-pc-group-section]=\"'bar'\"\n (mousedown)=\"onXBarMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n (keyup)=\"onKeyUp()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur()\"\n ></div>\n <div\n #yBar\n [pBind]=\"ptm('barY')\"\n [class]=\"cx('barY')\"\n tabindex=\"0\"\n role=\"scrollbar\"\n [attr.aria-orientation]=\"'vertical'\"\n [attr.aria-valuenow]=\"lastScrollTop()\"\n [attr.aria-controls]=\"contentId\"\n (mousedown)=\"onYBarMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n (keyup)=\"onKeyUp()\"\n (focus)=\"onFocus($event)\"\n [attr.data-pc-group-section]=\"'bar'\"\n ></div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ScrollPanelStyle, { provide: PARENT_INSTANCE, useExisting: ScrollPanel }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class ScrollPanel extends BaseComponent<ScrollPanelPassThrough> {\n componentName = 'ScrollPanel';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n constructor() {\n super();\n afterNextRender(() => {\n this.zone.runOutsideAngular(() => {\n this.moveBar();\n\n this.windowResizeListener.set(this.renderer.listen(window, 'resize', this.moveBar.bind(this)));\n this.contentScrollListener.set(this.renderer.listen((this.contentViewChild() as ElementRef).nativeElement, 'scroll', this.moveBar.bind(this)));\n this.mouseEnterListener.set(this.renderer.listen((this.contentViewChild() as ElementRef).nativeElement, 'mouseenter', this.moveBar.bind(this)));\n this.xBarMouseDownListener.set(this.renderer.listen((this.xBarViewChild() as ElementRef).nativeElement, 'mousedown', this.onXBarMouseDown.bind(this)));\n this.yBarMouseDownListener.set(this.renderer.listen((this.yBarViewChild() as ElementRef).nativeElement, 'mousedown', this.onYBarMouseDown.bind(this)));\n this.calculateContainerHeight();\n\n this.initialized.set(true);\n });\n });\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n /**\n * Step factor to scroll the content while pressing the arrow keys.\n * @group Props\n */\n readonly step = input<number, unknown>(5, { transform: numberAttribute });\n\n readonly contentViewChild = viewChild.required<ElementRef>('content');\n\n readonly xBarViewChild = viewChild.required<ElementRef>('xBar');\n\n readonly yBarViewChild = viewChild.required<ElementRef>('yBar');\n /**\n * Custom content template.\n * @group Templates\n */\n readonly contentTemplate = contentChild<TemplateRef<void>>('content', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n readonly _contentTemplate = computed<TemplateRef<void> | undefined>(() => this.templates().at(-1)?.template);\n\n scrollYRatio = signal<number | undefined>(undefined);\n\n scrollXRatio = signal<number | undefined>(undefined);\n\n timeoutFrame: any = (fn: VoidFunction) => setTimeout(fn, 0);\n\n initialized = signal<boolean>(false);\n\n lastPageY = signal<number | undefined>(undefined);\n\n lastPageX = signal<number | undefined>(undefined);\n\n isXBarClicked = signal<boolean>(false);\n\n isYBarClicked = signal<boolean>(false);\n\n lastScrollLeft = signal<number>(0);\n\n lastScrollTop = signal<number>(0);\n\n orientation = signal<string>('vertical');\n\n timer = signal<any>(undefined);\n\n contentId = uuid('pn_id_') + '_content';\n\n windowResizeListener = signal<VoidFunction | null | undefined>(undefined);\n\n contentScrollListener = signal<VoidFunction | null | undefined>(undefined);\n\n mouseEnterListener = signal<VoidFunction | null | undefined>(undefined);\n\n xBarMouseDownListener = signal<VoidFunction | null | undefined>(undefined);\n\n yBarMouseDownListener = signal<VoidFunction | null | undefined>(undefined);\n\n documentMouseMoveListener = signal<Nullable<(event?: any) => void>>(undefined);\n\n documentMouseUpListener = signal<Nullable<(event?: any) => void>>(undefined);\n\n _componentStyle = inject(ScrollPanelStyle);\n\n zone: NgZone = inject(NgZone);\n\n calculateContainerHeight() {\n let container = (this.el as ElementRef).nativeElement;\n let content = (this.contentViewChild() as ElementRef).nativeElement;\n let xBar = (this.xBarViewChild() as ElementRef).nativeElement;\n const window = this.document.defaultView as Window;\n\n let containerStyles: { [klass: string]: any } = window.getComputedStyle(container),\n xBarStyles = window.getComputedStyle(xBar),\n pureContainerHeight = getHeight(container) - parseInt(xBarStyles['height'], 10);\n\n if (containerStyles['max-height'] != 'none' && pureContainerHeight == 0) {\n if (content.offsetHeight + parseInt(xBarStyles['height'], 10) > parseInt(containerStyles['max-height'], 10)) {\n container.style.height = containerStyles['max-height'];\n } else {\n container.style.height = content.offsetHeight + parseFloat(containerStyles.paddingTop) + parseFloat(containerStyles.paddingBottom) + parseFloat(containerStyles.borderTopWidth) + parseFloat(containerStyles.borderBottomWidth) + 'px';\n }\n }\n }\n\n moveBar() {\n let container = (this.el as ElementRef).nativeElement;\n let content = (this.contentViewChild() as ElementRef).nativeElement;\n\n /* horizontal scroll */\n let xBar = (this.xBarViewChild() as ElementRef).nativeElement;\n let totalWidth = content.scrollWidth;\n let ownWidth = content.clientWidth;\n let bottom = (container.clientHeight - xBar.clientHeight) * -1;\n\n this.scrollXRatio.set(ownWidth / totalWidth);\n\n /* vertical scroll */\n let yBar = (this.yBarViewChild() as ElementRef).nativeElement;\n let totalHeight = content.scrollHeight;\n let ownHeight = content.clientHeight;\n let right = (container.clientWidth - yBar.clientWidth) * -1;\n\n this.scrollYRatio.set(ownHeight / totalHeight);\n\n this.requestAnimationFrame(() => {\n if ((this.scrollXRatio() as number) >= 1) {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'true');\n !this.$unstyled() && addClass(xBar, 'p-scrollpanel-hidden');\n } else {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n !this.$unstyled() && removeClass(xBar, 'p-scrollpanel-hidden');\n const xBarWidth = Math.max((this.scrollXRatio() as number) * 100, 10);\n const xBarLeft = Math.abs((content.scrollLeft * (100 - xBarWidth)) / (totalWidth - ownWidth));\n xBar.style.cssText = 'width:' + xBarWidth + '%; inset-inline-start:' + xBarLeft + '%;bottom:' + bottom + 'px;';\n }\n\n if ((this.scrollYRatio() as number) >= 1) {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'true');\n !this.$unstyled() && addClass(yBar, 'p-scrollpanel-hidden');\n } else {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n !this.$unstyled() && removeClass(yBar, 'p-scrollpanel-hidden');\n const yBarHeight = Math.max((this.scrollYRatio() as number) * 100, 10);\n const yBarTop = (content.scrollTop * (100 - yBarHeight)) / (totalHeight - ownHeight);\n yBar.style.cssText = 'height:' + yBarHeight + '%; top: calc(' + yBarTop + '% - ' + xBar.clientHeight + 'px); inset-inline-end:' + right + 'px;';\n }\n });\n }\n\n onScroll(event) {\n if (this.lastScrollLeft() !== event.target.scrollLeft) {\n this.lastScrollLeft.set(event.target.scrollLeft);\n this.orientation.set('horizontal');\n } else if (this.lastScrollTop() !== event.target.scrollTop) {\n this.lastScrollTop.set(event.target.scrollTop);\n this.orientation.set('vertical');\n }\n\n this.moveBar();\n }\n\n onKeyDown(event) {\n if (this.orientation() === 'vertical') {\n switch (event.code) {\n case 'ArrowDown': {\n this.setTimer('scrollTop', this.step());\n event.preventDefault();\n break;\n }\n\n case 'ArrowUp': {\n this.setTimer('scrollTop', this.step() * -1);\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft':\n\n case 'ArrowRight': {\n event.preventDefault();\n break;\n }\n\n default:\n //no op\n break;\n }\n } else if (this.orientation() === 'horizontal') {\n switch (event.code) {\n case 'ArrowRight': {\n this.setTimer('scrollLeft', this.step());\n event.preventDefault();\n break;\n }\n\n case 'ArrowLeft': {\n this.setTimer('scrollLeft', this.step() * -1);\n event.preventDefault();\n break;\n }\n\n case 'ArrowDown':\n\n case 'ArrowUp': {\n event.preventDefault();\n break;\n }\n\n default:\n //no op\n break;\n }\n }\n }\n\n onKeyUp() {\n this.clearTimer();\n }\n\n repeat(bar, step) {\n const contentViewChild = this.contentViewChild();\n contentViewChild.nativeElement[bar] += step;\n this.moveBar();\n }\n\n setTimer(bar, step) {\n this.clearTimer();\n this.timer.set(\n setTimeout(() => {\n this.repeat(bar, step);\n }, 40)\n );\n }\n\n clearTimer() {\n if (this.timer()) {\n clearTimeout(this.timer());\n }\n }\n\n bindDocumentMouseListeners(): void {\n if (!this.documentMouseMoveListener()) {\n const documentMouseMoveListener = (e) => {\n this.onDocumentMouseMove(e);\n };\n this.documentMouseMoveListener.set(documentMouseMoveListener);\n this.document.addEventListener('mousemove', documentMouseMoveListener);\n }\n\n if (!this.documentMouseUpListener()) {\n const documentMouseUpListener = (e) => {\n this.onDocumentMouseUp(e);\n };\n this.documentMouseUpListener.set(documentMouseUpListener);\n this.document.addEventListener('mouseup', documentMouseUpListener);\n }\n }\n\n unbindDocumentMouseListeners(): void {\n const documentMouseMoveListener = this.documentMouseMoveListener();\n if (documentMouseMoveListener) {\n this.document.removeEventListener('mousemove', documentMouseMoveListener);\n this.documentMouseMoveListener.set(null);\n }\n\n const documentMouseUpListener = this.documentMouseUpListener();\n if (documentMouseUpListener) {\n document.removeEventListener('mouseup', documentMouseUpListener);\n this.documentMouseUpListener.set(null);\n }\n }\n\n onYBarMouseDown(e: MouseEvent) {\n this.isYBarClicked.set(true);\n const yBarViewChild = this.yBarViewChild();\n yBarViewChild.nativeElement.focus();\n this.lastPageY.set(e.pageY);\n\n yBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'true');\n !this.$unstyled() && addClass((yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'true');\n !this.$unstyled() && addClass(this.document.body, 'p-scrollpanel-grabbed');\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onXBarMouseDown(e: MouseEvent) {\n this.isXBarClicked.set(true);\n const xBarViewChild = this.xBarViewChild();\n xBarViewChild.nativeElement.focus();\n this.lastPageX.set(e.pageX);\n\n xBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && addClass((xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && addClass(this.document.body, 'p-scrollpanel-grabbed');\n\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onDocumentMouseMove(e: MouseEvent) {\n if (this.isXBarClicked()) {\n this.onMouseMoveForXBar(e);\n } else if (this.isYBarClicked()) {\n this.onMouseMoveForYBar(e);\n } else {\n this.onMouseMoveForXBar(e);\n this.onMouseMoveForYBar(e);\n }\n }\n\n onMouseMoveForXBar(e: MouseEvent) {\n let deltaX = e.pageX - (this.lastPageX() as number);\n this.lastPageX.set(e.pageX);\n\n this.requestAnimationFrame(() => {\n (this.contentViewChild() as ElementRef).nativeElement.scrollLeft += deltaX / (this.scrollXRatio() as number);\n });\n }\n\n onMouseMoveForYBar(e: MouseEvent) {\n let deltaY = e.pageY - (this.lastPageY() as number);\n this.lastPageY.set(e.pageY);\n\n this.requestAnimationFrame(() => {\n (this.contentViewChild() as ElementRef).nativeElement.scrollTop += deltaY / (this.scrollYRatio() as number);\n });\n }\n /**\n * Scrolls the top location to the given value.\n * @param scrollTop\n * @group Method\n */\n scrollTop(scrollTop: number) {\n let scrollableHeight = (this.contentViewChild() as ElementRef).nativeElement.scrollHeight - (this.contentViewChild() as ElementRef).nativeElement.clientHeight;\n scrollTop = scrollTop > scrollableHeight ? scrollableHeight : scrollTop > 0 ? scrollTop : 0;\n (this.contentViewChild() as ElementRef).nativeElement.scrollTop = scrollTop;\n }\n\n onFocus(event) {\n if (this.xBarViewChild().nativeElement?.isSameNode(event.target)) {\n this.orientation.set('horizontal');\n } else if (this.yBarViewChild().nativeElement?.isSameNode(event.target)) {\n this.orientation.set('vertical');\n }\n }\n\n onBlur() {\n if (this.orientation() === 'horizontal') {\n this.orientation.set('vertical');\n }\n }\n\n onDocumentMouseUp(e: Event) {\n const yBarViewChild = this.yBarViewChild();\n yBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass((yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n const xBarViewChild = this.xBarViewChild();\n xBarViewChild.nativeElement.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass((xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n !this.$unstyled() && removeClass(this.document.body, 'p-scrollpanel-grabbed');\n\n this.unbindDocumentMouseListeners();\n this.isXBarClicked.set(false);\n this.isYBarClicked.set(false);\n }\n\n requestAnimationFrame(f: VoidFunction) {\n let frame = window.requestAnimationFrame || this.timeoutFrame;\n frame(f);\n }\n\n unbindListeners() {\n const windowResizeListener = this.windowResizeListener();\n if (windowResizeListener) {\n windowResizeListener();\n this.windowResizeListener.set(null);\n }\n\n const contentScrollListener = this.contentScrollListener();\n if (contentScrollListener) {\n contentScrollListener();\n this.contentScrollListener.set(null);\n }\n\n const mouseEnterListener = this.mouseEnterListener();\n if (mouseEnterListener) {\n mouseEnterListener();\n this.mouseEnterListener.set(null);\n }\n\n const xBarMouseDownListener = this.xBarMouseDownListener();\n if (xBarMouseDownListener) {\n xBarMouseDownListener();\n this.xBarMouseDownListener.set(null);\n }\n\n const yBarMouseDownListener = this.yBarMouseDownListener();\n if (yBarMouseDownListener) {\n yBarMouseDownListener();\n this.yBarMouseDownListener.set(null);\n }\n }\n\n onDestroy() {\n if (this.initialized()) {\n this.unbindListeners();\n }\n }\n /**\n * Refreshes the position and size of the scrollbar.\n * @group Method\n */\n refresh() {\n this.moveBar();\n }\n}\n\n@NgModule({\n imports: [ScrollPanel, SharedModule, BindModule],\n exports: [ScrollPanel, SharedModule, BindModule]\n})\nexport class ScrollPanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["scrollpanel_style"],"mappings":";;;;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;MAChBA,OAAiB;;;;;CAKtB;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,2BAA2B;AACjC,IAAA,gBAAgB,EAAE,iCAAiC;AACnD,IAAA,OAAO,EAAE,uBAAuB;AAChC,IAAA,IAAI,EAAE,uCAAuC;AAC7C,IAAA,IAAI,EAAE;CACT;AAGK,MAAO,gBAAiB,SAAQ,SAAS,CAAA;IAC3C,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,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAjB,iBAAiB,EAAA,OAAA,EAAA,CA7ajB,WAAW,EA0aG,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CA1atC,WAAW,EA2aG,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;wGAEtC,iBAAiB,EAAA,OAAA,EAAA,CAHhB,WAAW,EAAE,YAAY,EAAE,UAAU,EACxB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;;2FAEtC,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU;AAClD,iBAAA;;;AChgBD;;AAEG;;;;"}
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/scrolltop';
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, input, computed, contentChild, contentChildren, signal, numberAttribute, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, inject, afterEveryRender, input, numberAttribute, computed, contentChild, contentChildren, signal, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import { getWindowScrollTop } 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';
@@ -16,7 +16,7 @@ import { style } from '@exhaustive-ui/styles/scrolltop';
16
16
  import { BaseStyle } from '@exhaustive-ui/core/base';
17
17
 
18
18
  const classes = {
19
- root: ({ instance }) => ['p-scrolltop', { 'p-scrolltop-sticky': instance.target !== 'window' }],
19
+ root: ({ instance }) => ['p-scrolltop', { 'p-scrolltop-sticky': instance.target() !== 'window' }],
20
20
  icon: 'p-scrolltop-icon'
21
21
  };
22
22
  class ScrollTopStyle extends BaseStyle {
@@ -50,62 +50,52 @@ var ScrollTopClasses;
50
50
  ScrollTopClasses["icon"] = "p-scrolltop-icon";
51
51
  })(ScrollTopClasses || (ScrollTopClasses = {}));
52
52
 
53
- const SCROLLTOP_INSTANCE = new InjectionToken('SCROLLTOP_INSTANCE');
54
53
  /**
55
54
  * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.
56
55
  * @group Components
57
56
  */
58
57
  class ScrollTop extends BaseComponent {
59
58
  componentName = 'ScrollTop';
60
- $pcScrollTop = inject(SCROLLTOP_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
61
59
  bindDirectiveInstance = inject(Bind, { self: true });
62
- onAfterViewChecked() {
63
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
60
+ constructor() {
61
+ super();
62
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
64
63
  }
65
64
  /**
66
65
  * Class of the element.
67
66
  * @group Props
68
67
  */
69
- styleClass;
68
+ styleClass = input(/* @ts-ignore */
69
+ ...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
70
70
  /**
71
71
  * Inline style of the element.
72
72
  * @group Props
73
73
  */
74
- style;
74
+ style = input(/* @ts-ignore */
75
+ ...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
75
76
  /**
76
77
  * Target of the ScrollTop.
77
78
  * @group Props
78
79
  */
79
- target = 'window';
80
+ target = input('window', /* @ts-ignore */
81
+ ...(ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []));
80
82
  /**
81
83
  * Defines the threshold value of the vertical scroll position of the target to toggle the visibility.
82
84
  * @group Props
83
85
  */
84
- threshold = 400;
86
+ threshold = input(400, { ...(ngDevMode ? { debugName: "threshold" } : /* istanbul ignore next */ {}), transform: numberAttribute });
85
87
  /**
86
88
  * Name of the icon or JSX.Element for icon.
87
89
  * @group Props
88
90
  */
89
- get icon() {
90
- return this._icon;
91
- }
91
+ icon = input(/* @ts-ignore */
92
+ ...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
92
93
  /**
93
94
  * Defines the scrolling behavior, "smooth" adds an animation and "auto" scrolls with a jump.
94
95
  * @group Props
95
96
  */
96
- behavior = 'smooth';
97
- /**
98
- * A string value used to determine the display transition options.
99
- * @group Props
100
- * @deprecated since v21.0.0. Use `motionOptions` instead.
101
- */
102
- showTransitionOptions = '.15s';
103
- /**
104
- * A string value used to determine the hiding transition options.
105
- * @group Props
106
- * @deprecated since v21.0.0. Use `motionOptions` instead.
107
- */
108
- hideTransitionOptions = '.15s';
97
+ behavior = input('smooth', /* @ts-ignore */
98
+ ...(ngDevMode ? [{ debugName: "behavior" }] : /* istanbul ignore next */ []));
109
99
  /**
110
100
  * The motion options.
111
101
  * @group Props
@@ -123,12 +113,14 @@ class ScrollTop extends BaseComponent {
123
113
  * Establishes a string value that labels the scroll-top button.
124
114
  * @group Props
125
115
  */
126
- buttonAriaLabel;
116
+ buttonAriaLabel = input(/* @ts-ignore */
117
+ ...(ngDevMode ? [undefined, { debugName: "buttonAriaLabel" }] : /* istanbul ignore next */ []));
127
118
  /**
128
119
  * Used to pass all properties of the ButtonProps to the Button component.
129
120
  * @group Props
130
121
  */
131
- buttonProps = { rounded: true };
122
+ buttonProps = input({ rounded: true }, /* @ts-ignore */
123
+ ...(ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []));
132
124
  /**
133
125
  * Custom icon template.
134
126
  * @param {ScrollTopIconTemplateContext} context - icon context.
@@ -138,55 +130,49 @@ class ScrollTop extends BaseComponent {
138
130
  iconTemplate = contentChild('icon', { ...(ngDevMode ? { debugName: "iconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
139
131
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
140
132
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
141
- _iconTemplate;
142
- _icon;
143
- set icon(value) {
144
- this._icon = value;
145
- }
146
- documentScrollListener;
147
- parentScrollListener;
133
+ _iconTemplate = computed(() => this.templates()
134
+ .filter((item) => item.getType() === 'icon')
135
+ .at(-1)?.template, /* @ts-ignore */
136
+ ...(ngDevMode ? [{ debugName: "_iconTemplate" }] : /* istanbul ignore next */ []));
137
+ documentScrollListener = signal(undefined, /* @ts-ignore */
138
+ ...(ngDevMode ? [{ debugName: "documentScrollListener" }] : /* istanbul ignore next */ []));
139
+ parentScrollListener = signal(undefined, /* @ts-ignore */
140
+ ...(ngDevMode ? [{ debugName: "parentScrollListener" }] : /* istanbul ignore next */ []));
148
141
  visible = signal(false, /* @ts-ignore */
149
142
  ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
150
143
  render = signal(false, /* @ts-ignore */
151
144
  ...(ngDevMode ? [{ debugName: "render" }] : /* istanbul ignore next */ []));
152
- overlay;
145
+ overlay = signal(undefined, /* @ts-ignore */
146
+ ...(ngDevMode ? [{ debugName: "overlay" }] : /* istanbul ignore next */ []));
153
147
  _componentStyle = inject(ScrollTopStyle);
154
148
  onInit() {
155
- if (this.target === 'window')
149
+ if (this.target() === 'window')
156
150
  this.bindDocumentScrollListener();
157
- else if (this.target === 'parent')
151
+ else if (this.target() === 'parent')
158
152
  this.bindParentScrollListener();
159
153
  }
160
- onAfterContentInit() {
161
- this.templates().forEach((item) => {
162
- switch (item.getType()) {
163
- case 'icon':
164
- this._iconTemplate = item.template;
165
- break;
166
- }
167
- });
168
- }
169
154
  onClick() {
170
- let scrollElement = this.target === 'window' ? this.document.defaultView : this.el.nativeElement.parentElement;
155
+ let scrollElement = this.target() === 'window' ? this.document.defaultView : this.el.nativeElement.parentElement;
171
156
  scrollElement.scroll({
172
157
  top: 0,
173
- behavior: this.behavior
158
+ behavior: this.behavior()
174
159
  });
175
160
  }
176
161
  onBeforeEnter(event) {
177
- this.overlay = event.element;
178
- this.overlay.style.position = this.target === 'parent' ? 'sticky' : 'fixed';
179
- ZIndexUtils.set('overlay', this.overlay, this.config.zIndex.overlay);
162
+ const overlay = event.element;
163
+ this.overlay.set(overlay);
164
+ overlay.style.position = this.target() === 'parent' ? 'sticky' : 'fixed';
165
+ ZIndexUtils.set('overlay', overlay, this.config.zIndex.overlay);
180
166
  }
181
167
  onBeforeLeave() {
182
- ZIndexUtils.clear(this.overlay);
183
- this.overlay = null;
168
+ ZIndexUtils.clear(this.overlay());
169
+ this.overlay.set(null);
184
170
  }
185
171
  onAfterLeave() {
186
172
  this.render.set(false);
187
173
  }
188
174
  checkVisibility(scrollY) {
189
- if (scrollY > this.threshold) {
175
+ if (scrollY > this.threshold()) {
190
176
  this.visible.set(true);
191
177
  if (!this.render()) {
192
178
  this.render.set(true);
@@ -198,42 +184,44 @@ class ScrollTop extends BaseComponent {
198
184
  }
199
185
  bindParentScrollListener() {
200
186
  if (isPlatformBrowser(this.platformId)) {
201
- this.parentScrollListener = this.renderer.listen(this.el.nativeElement.parentElement, 'scroll', () => {
187
+ this.parentScrollListener.set(this.renderer.listen(this.el.nativeElement.parentElement, 'scroll', () => {
202
188
  this.checkVisibility(this.el.nativeElement.parentElement.scrollTop);
203
- });
189
+ }));
204
190
  }
205
191
  }
206
192
  bindDocumentScrollListener() {
207
193
  if (isPlatformBrowser(this.platformId)) {
208
- this.documentScrollListener = this.renderer.listen(this.document.defaultView, 'scroll', () => {
194
+ this.documentScrollListener.set(this.renderer.listen(this.document.defaultView, 'scroll', () => {
209
195
  this.checkVisibility(getWindowScrollTop());
210
- });
196
+ }));
211
197
  }
212
198
  }
213
199
  unbindParentScrollListener() {
214
- if (this.parentScrollListener) {
215
- this.parentScrollListener();
216
- this.parentScrollListener = null;
200
+ const parentScrollListener = this.parentScrollListener();
201
+ if (parentScrollListener) {
202
+ parentScrollListener();
203
+ this.parentScrollListener.set(null);
217
204
  }
218
205
  }
219
206
  unbindDocumentScrollListener() {
220
- if (this.documentScrollListener) {
221
- this.documentScrollListener();
222
- this.documentScrollListener = null;
207
+ const documentScrollListener = this.documentScrollListener();
208
+ if (documentScrollListener) {
209
+ documentScrollListener();
210
+ this.documentScrollListener.set(null);
223
211
  }
224
212
  }
225
213
  onDestroy() {
226
- if (this.target === 'window')
214
+ if (this.target() === 'window')
227
215
  this.unbindDocumentScrollListener();
228
- else if (this.target === 'parent')
216
+ else if (this.target() === 'parent')
229
217
  this.unbindParentScrollListener();
230
- if (this.overlay) {
231
- ZIndexUtils.clear(this.overlay);
232
- this.overlay = null;
218
+ if (this.overlay()) {
219
+ ZIndexUtils.clear(this.overlay());
220
+ this.overlay.set(null);
233
221
  }
234
222
  }
235
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ScrollTop, deps: null, target: i0.ɵɵFactoryTarget.Component });
236
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ScrollTop, isStandalone: true, selector: "p-scrollTop, p-scrolltop, p-scroll-top", inputs: { styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: false, isRequired: false, transformFunction: null }, threshold: { classPropertyName: "threshold", publicName: "threshold", isSignal: false, isRequired: false, transformFunction: numberAttribute }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, buttonAriaLabel: { classPropertyName: "buttonAriaLabel", publicName: "buttonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null } }, providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
223
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ScrollTop, deps: [], target: i0.ɵɵFactoryTarget.Component });
224
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ScrollTop, isStandalone: true, selector: "p-scrollTop, p-scrolltop, p-scroll-top", inputs: { styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, threshold: { classPropertyName: "threshold", publicName: "threshold", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, buttonAriaLabel: { classPropertyName: "buttonAriaLabel", publicName: "buttonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null } }, providers: [ScrollTopStyle, { provide: PARENT_INSTANCE, useExisting: ScrollTop }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
237
225
  @if (render()) {
238
226
  <p-button
239
227
  [pMotion]="visible()"
@@ -243,36 +231,35 @@ class ScrollTop extends BaseComponent {
243
231
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
244
232
  (pMotionOnBeforeLeave)="onBeforeLeave()"
245
233
  (pMotionOnAfterLeave)="onAfterLeave()"
246
- [attr.aria-label]="buttonAriaLabel"
234
+ [attr.aria-label]="buttonAriaLabel()"
247
235
  (click)="onClick()"
248
236
  [pt]="ptm('pcButton')"
249
- [styleClass]="cn(cx('root'), styleClass)"
250
- [ngStyle]="style"
237
+ [styleClass]="cn(cx('root'), styleClass())"
238
+ [ngStyle]="style()"
251
239
  type="button"
252
- [buttonProps]="buttonProps"
240
+ [buttonProps]="buttonProps()"
253
241
  [unstyled]="unstyled()"
254
242
  >
255
243
  <ng-template #icon>
256
- @if (!iconTemplate() && !_iconTemplate) {
257
- @if (_icon) {
258
- <span [class]="cn(cx('icon'), _icon)"></span>
244
+ @if (!iconTemplate() && !_iconTemplate()) {
245
+ @if (this.icon()) {
246
+ <span [class]="cn(cx('icon'), this.icon())"></span>
259
247
  }
260
- @if (!_icon) {
248
+ @if (!this.icon()) {
261
249
  <svg data-p-icon="chevron-up" [class]="cx('icon')" />
262
250
  }
263
251
  } @else {
264
- <ng-template *ngTemplateOutlet="iconTemplate() || _iconTemplate; context: { styleClass: cx('icon') }"></ng-template>
252
+ <ng-template *ngTemplateOutlet="iconTemplate() || _iconTemplate(); context: { styleClass: cx('icon') }"></ng-template>
265
253
  }
266
254
  </ng-template>
267
255
  </p-button>
268
256
  }
269
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronUpIcon, selector: "[data-p-icon=\"chevron-up\"]" }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
257
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronUpIcon, selector: "[data-p-icon=\"chevron-up\"]" }, { kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
270
258
  }
271
259
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ScrollTop, decorators: [{
272
260
  type: Component,
273
261
  args: [{
274
262
  selector: 'p-scrollTop, p-scrolltop, p-scroll-top',
275
- standalone: true,
276
263
  imports: [CommonModule, ChevronUpIcon, Button, SharedModule, MotionDirective],
277
264
  template: `
278
265
  @if (render()) {
@@ -284,25 +271,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
284
271
  (pMotionOnBeforeEnter)="onBeforeEnter($event)"
285
272
  (pMotionOnBeforeLeave)="onBeforeLeave()"
286
273
  (pMotionOnAfterLeave)="onAfterLeave()"
287
- [attr.aria-label]="buttonAriaLabel"
274
+ [attr.aria-label]="buttonAriaLabel()"
288
275
  (click)="onClick()"
289
276
  [pt]="ptm('pcButton')"
290
- [styleClass]="cn(cx('root'), styleClass)"
291
- [ngStyle]="style"
277
+ [styleClass]="cn(cx('root'), styleClass())"
278
+ [ngStyle]="style()"
292
279
  type="button"
293
- [buttonProps]="buttonProps"
280
+ [buttonProps]="buttonProps()"
294
281
  [unstyled]="unstyled()"
295
282
  >
296
283
  <ng-template #icon>
297
- @if (!iconTemplate() && !_iconTemplate) {
298
- @if (_icon) {
299
- <span [class]="cn(cx('icon'), _icon)"></span>
284
+ @if (!iconTemplate() && !_iconTemplate()) {
285
+ @if (this.icon()) {
286
+ <span [class]="cn(cx('icon'), this.icon())"></span>
300
287
  }
301
- @if (!_icon) {
288
+ @if (!this.icon()) {
302
289
  <svg data-p-icon="chevron-up" [class]="cx('icon')" />
303
290
  }
304
291
  } @else {
305
- <ng-template *ngTemplateOutlet="iconTemplate() || _iconTemplate; context: { styleClass: cx('icon') }"></ng-template>
292
+ <ng-template *ngTemplateOutlet="iconTemplate() || _iconTemplate(); context: { styleClass: cx('icon') }"></ng-template>
306
293
  }
307
294
  </ng-template>
308
295
  </p-button>
@@ -310,31 +297,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
310
297
  `,
311
298
  changeDetection: ChangeDetectionStrategy.OnPush,
312
299
  encapsulation: ViewEncapsulation.None,
313
- providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }],
300
+ providers: [ScrollTopStyle, { provide: PARENT_INSTANCE, useExisting: ScrollTop }],
314
301
  hostDirectives: [Bind]
315
302
  }]
316
- }], propDecorators: { styleClass: [{
317
- type: Input
318
- }], style: [{
319
- type: Input
320
- }], target: [{
321
- type: Input
322
- }], threshold: [{
323
- type: Input,
324
- args: [{ transform: numberAttribute }]
325
- }], icon: [{
326
- type: Input
327
- }], behavior: [{
328
- type: Input
329
- }], showTransitionOptions: [{
330
- type: Input
331
- }], hideTransitionOptions: [{
332
- type: Input
333
- }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], buttonAriaLabel: [{
334
- type: Input
335
- }], buttonProps: [{
336
- type: Input
337
- }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
303
+ }], ctorParameters: () => [], propDecorators: { styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }], threshold: [{ type: i0.Input, args: [{ isSignal: true, alias: "threshold", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], behavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "behavior", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], buttonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonAriaLabel", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
338
304
  class ScrollTopModule {
339
305
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ScrollTopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
340
306
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: ScrollTopModule, imports: [ScrollTop, SharedModule], exports: [ScrollTop, SharedModule] });