primeng 20.4.0 → 20.5.0-lts

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 (451) hide show
  1. package/accordion/index.d.ts +6 -2
  2. package/animateonscroll/index.d.ts +1 -0
  3. package/api/index.d.ts +6 -1
  4. package/autocomplete/index.d.ts +1 -0
  5. package/autofocus/index.d.ts +1 -0
  6. package/avatar/index.d.ts +1 -0
  7. package/avatargroup/index.d.ts +1 -0
  8. package/badge/index.d.ts +2 -0
  9. package/basecomponent/index.d.ts +5 -2
  10. package/blockui/index.d.ts +1 -0
  11. package/breadcrumb/index.d.ts +1 -0
  12. package/button/index.d.ts +5 -1
  13. package/buttongroup/index.d.ts +1 -0
  14. package/card/index.d.ts +1 -0
  15. package/carousel/index.d.ts +1 -0
  16. package/cascadeselect/index.d.ts +1 -0
  17. package/chart/index.d.ts +1 -0
  18. package/chip/index.d.ts +1 -0
  19. package/colorpicker/index.d.ts +1 -0
  20. package/config/index.d.ts +5 -1
  21. package/confirmdialog/index.d.ts +1 -0
  22. package/confirmpopup/index.d.ts +1 -0
  23. package/contextmenu/index.d.ts +2 -1
  24. package/dataview/index.d.ts +1 -0
  25. package/datepicker/index.d.ts +1 -0
  26. package/dialog/index.d.ts +1 -0
  27. package/divider/index.d.ts +1 -0
  28. package/dock/index.d.ts +1 -0
  29. package/drawer/index.d.ts +1 -0
  30. package/dynamicdialog/index.d.ts +1 -0
  31. package/editor/index.d.ts +1 -0
  32. package/fesm2022/primeng-accordion.mjs +24 -20
  33. package/fesm2022/primeng-accordion.mjs.map +1 -1
  34. package/fesm2022/primeng-animateonscroll.mjs +8 -7
  35. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  36. package/fesm2022/primeng-api.mjs +146 -32
  37. package/fesm2022/primeng-api.mjs.map +1 -1
  38. package/fesm2022/primeng-autocomplete.mjs +11 -10
  39. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  40. package/fesm2022/primeng-autofocus.mjs +8 -7
  41. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  42. package/fesm2022/primeng-avatar.mjs +11 -10
  43. package/fesm2022/primeng-avatar.mjs.map +1 -1
  44. package/fesm2022/primeng-avatargroup.mjs +11 -10
  45. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  46. package/fesm2022/primeng-badge.mjs +15 -13
  47. package/fesm2022/primeng-badge.mjs.map +1 -1
  48. package/fesm2022/primeng-base.mjs +3 -3
  49. package/fesm2022/primeng-basecomponent.mjs +37 -24
  50. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  51. package/fesm2022/primeng-baseeditableholder.mjs +3 -3
  52. package/fesm2022/primeng-baseinput.mjs +3 -3
  53. package/fesm2022/primeng-basemodelholder.mjs +3 -3
  54. package/fesm2022/primeng-bind.mjs +7 -7
  55. package/fesm2022/primeng-blockui.mjs +11 -10
  56. package/fesm2022/primeng-blockui.mjs.map +1 -1
  57. package/fesm2022/primeng-breadcrumb.mjs +12 -11
  58. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  59. package/fesm2022/primeng-button.mjs +23 -19
  60. package/fesm2022/primeng-button.mjs.map +1 -1
  61. package/fesm2022/primeng-buttongroup.mjs +11 -10
  62. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  63. package/fesm2022/primeng-card.mjs +12 -11
  64. package/fesm2022/primeng-card.mjs.map +1 -1
  65. package/fesm2022/primeng-carousel.mjs +11 -10
  66. package/fesm2022/primeng-carousel.mjs.map +1 -1
  67. package/fesm2022/primeng-cascadeselect.mjs +14 -13
  68. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  69. package/fesm2022/primeng-chart.mjs +11 -10
  70. package/fesm2022/primeng-chart.mjs.map +1 -1
  71. package/fesm2022/primeng-checkbox.mjs +10 -10
  72. package/fesm2022/primeng-chip.mjs +11 -10
  73. package/fesm2022/primeng-chip.mjs.map +1 -1
  74. package/fesm2022/primeng-classnames.mjs +7 -7
  75. package/fesm2022/primeng-colorpicker.mjs +11 -10
  76. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  77. package/fesm2022/primeng-config.mjs +6 -6
  78. package/fesm2022/primeng-confirmdialog.mjs +11 -10
  79. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  80. package/fesm2022/primeng-confirmpopup.mjs +12 -11
  81. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  82. package/fesm2022/primeng-contextmenu.mjs +15 -14
  83. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  84. package/fesm2022/primeng-dataview.mjs +11 -10
  85. package/fesm2022/primeng-dataview.mjs.map +1 -1
  86. package/fesm2022/primeng-datepicker.mjs +14 -11
  87. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  88. package/fesm2022/primeng-dialog.mjs +13 -12
  89. package/fesm2022/primeng-dialog.mjs.map +1 -1
  90. package/fesm2022/primeng-divider.mjs +11 -10
  91. package/fesm2022/primeng-divider.mjs.map +1 -1
  92. package/fesm2022/primeng-dock.mjs +12 -11
  93. package/fesm2022/primeng-dock.mjs.map +1 -1
  94. package/fesm2022/primeng-dragdrop.mjs +10 -10
  95. package/fesm2022/primeng-drawer.mjs +11 -10
  96. package/fesm2022/primeng-drawer.mjs.map +1 -1
  97. package/fesm2022/primeng-dynamicdialog.mjs +17 -16
  98. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  99. package/fesm2022/primeng-editor.mjs +11 -10
  100. package/fesm2022/primeng-editor.mjs.map +1 -1
  101. package/fesm2022/primeng-fieldset.mjs +12 -11
  102. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  103. package/fesm2022/primeng-fileupload.mjs +14 -13
  104. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  105. package/fesm2022/primeng-floatlabel.mjs +11 -10
  106. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  107. package/fesm2022/primeng-fluid.mjs +11 -10
  108. package/fesm2022/primeng-fluid.mjs.map +1 -1
  109. package/fesm2022/primeng-focustrap.mjs +8 -7
  110. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  111. package/fesm2022/primeng-galleria.mjs +23 -22
  112. package/fesm2022/primeng-galleria.mjs.map +1 -1
  113. package/fesm2022/primeng-iconfield.mjs +11 -10
  114. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  116. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  117. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  118. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  119. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  120. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  121. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  122. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  123. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  124. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  125. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  126. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  127. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  128. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  129. package/fesm2022/primeng-icons-ban.mjs +3 -3
  130. package/fesm2022/primeng-icons-bars.mjs +3 -3
  131. package/fesm2022/primeng-icons-baseicon.mjs +6 -6
  132. package/fesm2022/primeng-icons-blank.mjs +3 -3
  133. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  134. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  135. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  136. package/fesm2022/primeng-icons-check.mjs +3 -3
  137. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  138. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  139. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  140. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  141. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  142. package/fesm2022/primeng-icons-eye.mjs +3 -3
  143. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  144. package/fesm2022/primeng-icons-filter.mjs +3 -3
  145. package/fesm2022/primeng-icons-filterfill.mjs +3 -3
  146. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  147. package/fesm2022/primeng-icons-home.mjs +3 -3
  148. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  149. package/fesm2022/primeng-icons-minus.mjs +3 -3
  150. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  151. package/fesm2022/primeng-icons-plus.mjs +3 -3
  152. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  153. package/fesm2022/primeng-icons-search.mjs +3 -3
  154. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  155. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  156. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  157. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  158. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  159. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  160. package/fesm2022/primeng-icons-star.mjs +3 -3
  161. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  162. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  163. package/fesm2022/primeng-icons-times.mjs +3 -3
  164. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  165. package/fesm2022/primeng-icons-trash.mjs +3 -3
  166. package/fesm2022/primeng-icons-undo.mjs +3 -3
  167. package/fesm2022/primeng-icons-upload.mjs +3 -3
  168. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  169. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  170. package/fesm2022/primeng-iftalabel.mjs +11 -10
  171. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  172. package/fesm2022/primeng-image.mjs +11 -10
  173. package/fesm2022/primeng-image.mjs.map +1 -1
  174. package/fesm2022/primeng-imagecompare.mjs +11 -10
  175. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  176. package/fesm2022/primeng-inplace.mjs +17 -16
  177. package/fesm2022/primeng-inplace.mjs.map +1 -1
  178. package/fesm2022/primeng-inputgroup.mjs +11 -10
  179. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  180. package/fesm2022/primeng-inputgroupaddon.mjs +11 -10
  181. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  182. package/fesm2022/primeng-inputicon.mjs +11 -10
  183. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  184. package/fesm2022/primeng-inputmask.mjs +574 -15
  185. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  186. package/fesm2022/primeng-inputnumber.mjs +11 -10
  187. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  188. package/fesm2022/primeng-inputotp.mjs +11 -10
  189. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  190. package/fesm2022/primeng-inputtext.mjs +11 -10
  191. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  192. package/fesm2022/primeng-keyfilter.mjs +7 -7
  193. package/fesm2022/primeng-knob.mjs +11 -10
  194. package/fesm2022/primeng-knob.mjs.map +1 -1
  195. package/fesm2022/primeng-listbox.mjs +13 -12
  196. package/fesm2022/primeng-listbox.mjs.map +1 -1
  197. package/fesm2022/primeng-megamenu.mjs +15 -14
  198. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  199. package/fesm2022/primeng-menu.mjs +26 -21
  200. package/fesm2022/primeng-menu.mjs.map +1 -1
  201. package/fesm2022/primeng-menubar.mjs +18 -17
  202. package/fesm2022/primeng-menubar.mjs.map +1 -1
  203. package/fesm2022/primeng-message.mjs +11 -10
  204. package/fesm2022/primeng-message.mjs.map +1 -1
  205. package/fesm2022/primeng-metergroup.mjs +14 -13
  206. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  207. package/fesm2022/primeng-multiselect.mjs +15 -14
  208. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  209. package/fesm2022/primeng-orderlist.mjs +11 -10
  210. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  211. package/fesm2022/primeng-organizationchart.mjs +15 -14
  212. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  213. package/fesm2022/primeng-overlay.mjs +11 -10
  214. package/fesm2022/primeng-overlay.mjs.map +1 -1
  215. package/fesm2022/primeng-overlaybadge.mjs +11 -10
  216. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  217. package/fesm2022/primeng-paginator.mjs +11 -10
  218. package/fesm2022/primeng-paginator.mjs.map +1 -1
  219. package/fesm2022/primeng-panel.mjs +12 -11
  220. package/fesm2022/primeng-panel.mjs.map +1 -1
  221. package/fesm2022/primeng-panelmenu.mjs +20 -19
  222. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  223. package/fesm2022/primeng-password.mjs +18 -16
  224. package/fesm2022/primeng-password.mjs.map +1 -1
  225. package/fesm2022/primeng-picklist.mjs +11 -10
  226. package/fesm2022/primeng-picklist.mjs.map +1 -1
  227. package/fesm2022/primeng-popover.mjs +12 -11
  228. package/fesm2022/primeng-popover.mjs.map +1 -1
  229. package/fesm2022/primeng-progressbar.mjs +11 -10
  230. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  231. package/fesm2022/primeng-progressspinner.mjs +11 -10
  232. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  233. package/fesm2022/primeng-radiobutton.mjs +14 -13
  234. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  235. package/fesm2022/primeng-rating.mjs +11 -10
  236. package/fesm2022/primeng-rating.mjs.map +1 -1
  237. package/fesm2022/primeng-ripple.mjs +11 -10
  238. package/fesm2022/primeng-ripple.mjs.map +1 -1
  239. package/fesm2022/primeng-scroller.mjs +10 -10
  240. package/fesm2022/primeng-scrollpanel.mjs +11 -10
  241. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  242. package/fesm2022/primeng-scrolltop.mjs +12 -11
  243. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  244. package/fesm2022/primeng-select.mjs +15 -14
  245. package/fesm2022/primeng-select.mjs.map +1 -1
  246. package/fesm2022/primeng-selectbutton.mjs +11 -10
  247. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  248. package/fesm2022/primeng-skeleton.mjs +11 -10
  249. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  250. package/fesm2022/primeng-slider.mjs +11 -10
  251. package/fesm2022/primeng-slider.mjs.map +1 -1
  252. package/fesm2022/primeng-speeddial.mjs +12 -11
  253. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  254. package/fesm2022/primeng-splitbutton.mjs +12 -11
  255. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  256. package/fesm2022/primeng-splitter.mjs +11 -10
  257. package/fesm2022/primeng-splitter.mjs.map +1 -1
  258. package/fesm2022/primeng-stepper.mjs +51 -44
  259. package/fesm2022/primeng-stepper.mjs.map +1 -1
  260. package/fesm2022/primeng-steps.mjs +12 -11
  261. package/fesm2022/primeng-steps.mjs.map +1 -1
  262. package/fesm2022/primeng-styleclass.mjs +7 -7
  263. package/fesm2022/primeng-table.mjs +86 -85
  264. package/fesm2022/primeng-table.mjs.map +1 -1
  265. package/fesm2022/primeng-tabs.mjs +39 -34
  266. package/fesm2022/primeng-tabs.mjs.map +1 -1
  267. package/fesm2022/primeng-tag.mjs +11 -10
  268. package/fesm2022/primeng-tag.mjs.map +1 -1
  269. package/fesm2022/primeng-terminal.mjs +14 -13
  270. package/fesm2022/primeng-terminal.mjs.map +1 -1
  271. package/fesm2022/primeng-textarea.mjs +11 -10
  272. package/fesm2022/primeng-textarea.mjs.map +1 -1
  273. package/fesm2022/primeng-tieredmenu.mjs +15 -14
  274. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  275. package/fesm2022/primeng-timeline.mjs +11 -10
  276. package/fesm2022/primeng-timeline.mjs.map +1 -1
  277. package/fesm2022/primeng-toast.mjs +15 -14
  278. package/fesm2022/primeng-toast.mjs.map +1 -1
  279. package/fesm2022/primeng-togglebutton.mjs +11 -10
  280. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  281. package/fesm2022/primeng-toggleswitch.mjs +11 -10
  282. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  283. package/fesm2022/primeng-toolbar.mjs +11 -10
  284. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  285. package/fesm2022/primeng-tooltip.mjs +76 -13
  286. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  287. package/fesm2022/primeng-tree.mjs +16 -18
  288. package/fesm2022/primeng-tree.mjs.map +1 -1
  289. package/fesm2022/primeng-treeselect.mjs +17 -10
  290. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  291. package/fesm2022/primeng-treetable.mjs +59 -58
  292. package/fesm2022/primeng-treetable.mjs.map +1 -1
  293. package/fesm2022/primeng-usestyle.mjs +3 -3
  294. package/fieldset/index.d.ts +1 -0
  295. package/fileupload/index.d.ts +1 -0
  296. package/floatlabel/index.d.ts +1 -0
  297. package/fluid/index.d.ts +1 -0
  298. package/focustrap/index.d.ts +1 -0
  299. package/galleria/index.d.ts +1 -0
  300. package/iconfield/index.d.ts +1 -0
  301. package/iftalabel/index.d.ts +1 -0
  302. package/image/index.d.ts +1 -0
  303. package/imagecompare/index.d.ts +1 -0
  304. package/inplace/index.d.ts +1 -0
  305. package/inputgroup/index.d.ts +1 -0
  306. package/inputgroupaddon/index.d.ts +1 -0
  307. package/inputicon/index.d.ts +1 -0
  308. package/inputmask/index.d.ts +117 -10
  309. package/inputnumber/index.d.ts +1 -0
  310. package/inputotp/index.d.ts +1 -0
  311. package/inputtext/index.d.ts +1 -0
  312. package/knob/index.d.ts +1 -0
  313. package/listbox/index.d.ts +1 -0
  314. package/megamenu/index.d.ts +1 -0
  315. package/menu/index.d.ts +3 -2
  316. package/menubar/index.d.ts +3 -2
  317. package/message/index.d.ts +1 -0
  318. package/metergroup/index.d.ts +1 -0
  319. package/multiselect/index.d.ts +2 -1
  320. package/orderlist/index.d.ts +1 -0
  321. package/organizationchart/index.d.ts +2 -1
  322. package/overlay/index.d.ts +1 -0
  323. package/overlaybadge/index.d.ts +1 -0
  324. package/package.json +336 -336
  325. package/paginator/index.d.ts +1 -0
  326. package/panel/index.d.ts +1 -0
  327. package/panelmenu/index.d.ts +2 -1
  328. package/password/index.d.ts +3 -1
  329. package/picklist/index.d.ts +1 -0
  330. package/popover/index.d.ts +1 -0
  331. package/progressbar/index.d.ts +1 -0
  332. package/progressspinner/index.d.ts +1 -0
  333. package/radiobutton/index.d.ts +1 -0
  334. package/rating/index.d.ts +1 -0
  335. package/ripple/index.d.ts +1 -0
  336. package/scrollpanel/index.d.ts +1 -0
  337. package/scrolltop/index.d.ts +1 -0
  338. package/select/index.d.ts +1 -0
  339. package/selectbutton/index.d.ts +1 -0
  340. package/skeleton/index.d.ts +1 -0
  341. package/slider/index.d.ts +1 -0
  342. package/speeddial/index.d.ts +1 -0
  343. package/splitbutton/index.d.ts +1 -0
  344. package/splitter/index.d.ts +1 -0
  345. package/stepper/index.d.ts +8 -1
  346. package/steps/index.d.ts +1 -0
  347. package/table/index.d.ts +2 -1
  348. package/tabs/index.d.ts +5 -0
  349. package/tag/index.d.ts +1 -0
  350. package/terminal/index.d.ts +1 -0
  351. package/textarea/index.d.ts +1 -0
  352. package/tieredmenu/index.d.ts +2 -1
  353. package/timeline/index.d.ts +1 -0
  354. package/toast/index.d.ts +3 -2
  355. package/togglebutton/index.d.ts +1 -0
  356. package/toggleswitch/index.d.ts +1 -0
  357. package/toolbar/index.d.ts +1 -0
  358. package/tooltip/index.d.ts +18 -2
  359. package/tree/index.d.ts +2 -1
  360. package/treeselect/index.d.ts +1 -0
  361. package/treetable/index.d.ts +2 -1
  362. package/types/accordion/index.d.ts +1 -1
  363. package/types/autocomplete/index.d.ts +1 -1
  364. package/types/avatar/index.d.ts +1 -1
  365. package/types/avatargroup/index.d.ts +1 -1
  366. package/types/badge/index.d.ts +1 -1
  367. package/types/blockui/index.d.ts +1 -1
  368. package/types/breadcrumb/index.d.ts +1 -1
  369. package/types/button/index.d.ts +1 -1
  370. package/types/card/index.d.ts +1 -1
  371. package/types/carousel/index.d.ts +1 -1
  372. package/types/cascadeselect/index.d.ts +1 -1
  373. package/types/chart/index.d.ts +1 -1
  374. package/types/checkbox/index.d.ts +1 -1
  375. package/types/chip/index.d.ts +1 -1
  376. package/types/colorpicker/index.d.ts +1 -1
  377. package/types/confirmdialog/index.d.ts +1 -1
  378. package/types/confirmpopup/index.d.ts +1 -1
  379. package/types/contextmenu/index.d.ts +1 -1
  380. package/types/dataview/index.d.ts +1 -1
  381. package/types/datepicker/index.d.ts +1 -1
  382. package/types/dialog/index.d.ts +1 -1
  383. package/types/divider/index.d.ts +1 -1
  384. package/types/dock/index.d.ts +1 -1
  385. package/types/drawer/index.d.ts +1 -1
  386. package/types/editor/index.d.ts +1 -1
  387. package/types/fieldset/index.d.ts +1 -1
  388. package/types/fileupload/index.d.ts +1 -1
  389. package/types/floatlabel/index.d.ts +1 -1
  390. package/types/fluid/index.d.ts +1 -1
  391. package/types/galleria/index.d.ts +1 -1
  392. package/types/iconfield/index.d.ts +1 -1
  393. package/types/iftalabel/index.d.ts +1 -1
  394. package/types/image/index.d.ts +1 -1
  395. package/types/imagecompare/index.d.ts +1 -1
  396. package/types/inplace/index.d.ts +1 -1
  397. package/types/inputgroup/index.d.ts +1 -1
  398. package/types/inputgroupaddon/index.d.ts +1 -1
  399. package/types/inputicon/index.d.ts +1 -1
  400. package/types/inputmask/index.d.ts +1 -1
  401. package/types/inputnumber/index.d.ts +1 -1
  402. package/types/inputotp/index.d.ts +1 -1
  403. package/types/inputtext/index.d.ts +1 -1
  404. package/types/knob/index.d.ts +1 -1
  405. package/types/listbox/index.d.ts +1 -1
  406. package/types/megamenu/index.d.ts +1 -1
  407. package/types/menu/index.d.ts +1 -1
  408. package/types/menubar/index.d.ts +1 -1
  409. package/types/message/index.d.ts +1 -1
  410. package/types/metergroup/index.d.ts +1 -1
  411. package/types/multiselect/index.d.ts +1 -1
  412. package/types/orderlist/index.d.ts +1 -1
  413. package/types/organizationchart/index.d.ts +1 -1
  414. package/types/overlay/index.d.ts +1 -1
  415. package/types/overlaybadge/index.d.ts +1 -1
  416. package/types/paginator/index.d.ts +1 -1
  417. package/types/panel/index.d.ts +1 -1
  418. package/types/panelmenu/index.d.ts +1 -1
  419. package/types/password/index.d.ts +1 -1
  420. package/types/picklist/index.d.ts +1 -1
  421. package/types/popover/index.d.ts +1 -1
  422. package/types/progressbar/index.d.ts +1 -1
  423. package/types/progressspinner/index.d.ts +1 -1
  424. package/types/radiobutton/index.d.ts +1 -1
  425. package/types/rating/index.d.ts +1 -1
  426. package/types/scroller/index.d.ts +1 -1
  427. package/types/scrollpanel/index.d.ts +1 -1
  428. package/types/scrolltop/index.d.ts +1 -1
  429. package/types/select/index.d.ts +1 -1
  430. package/types/selectbutton/index.d.ts +1 -1
  431. package/types/skeleton/index.d.ts +1 -1
  432. package/types/slider/index.d.ts +1 -1
  433. package/types/speeddial/index.d.ts +1 -1
  434. package/types/splitbutton/index.d.ts +1 -1
  435. package/types/splitter/index.d.ts +1 -1
  436. package/types/stepper/index.d.ts +1 -1
  437. package/types/table/index.d.ts +1 -1
  438. package/types/tabs/index.d.ts +1 -1
  439. package/types/tag/index.d.ts +1 -1
  440. package/types/terminal/index.d.ts +1 -1
  441. package/types/textarea/index.d.ts +1 -1
  442. package/types/tieredmenu/index.d.ts +1 -1
  443. package/types/timeline/index.d.ts +1 -1
  444. package/types/toast/index.d.ts +1 -1
  445. package/types/togglebutton/index.d.ts +1 -1
  446. package/types/toggleswitch/index.d.ts +1 -1
  447. package/types/toolbar/index.d.ts +1 -1
  448. package/types/tooltip/index.d.ts +1 -1
  449. package/types/tree/index.d.ts +1 -1
  450. package/types/treeselect/index.d.ts +1 -1
  451. package/types/treetable/index.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-scrollpanel.mjs","sources":["../../src/scrollpanel/style/scrollpanelstyle.ts","../../src/scrollpanel/scrollpanel.ts","../../src/scrollpanel/primeng-scrollpanel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as scrollpanel_style } from '@primeuix/styles/scrollpanel';\nimport { BaseStyle } from 'primeng/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://www.primeng.org/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, ContentChild, ContentChildren, ElementRef, inject, InjectionToken, Input, NgModule, NgZone, numberAttribute, QueryList, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { addClass, getHeight, removeClass, uuid } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind, BindModule } from 'primeng/bind';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { ScrollPanelStyle } from './style/scrollpanelstyle';\nimport { ScrollPanelPassThrough } from 'primeng/types/scrollpanel';\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 (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 ></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 $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 @ViewChild('content') contentViewChild: ElementRef | undefined;\n\n @ViewChild('xBar') xBarViewChild: ElementRef | undefined;\n\n @ViewChild('yBar') yBarViewChild: ElementRef | undefined;\n /**\n * Defines template option for content.\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _contentTemplate: TemplateRef<any> | 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 as QueryList<PrimeTemplate>).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 addClass(xBar, 'p-scrollpanel-hidden');\n } else {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n 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 addClass(yBar, 'p-scrollpanel-hidden');\n } else {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n 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 this.contentViewChild?.nativeElement && (this.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 this.yBarViewChild?.nativeElement?.focus();\n this.lastPageY = e.pageY;\n\n this.yBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'true');\n addClass((this.yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'true');\n addClass(this.document.body, 'p-scrollpanel-grabbed');\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onXBarMouseDown(e: MouseEvent) {\n this.isXBarClicked = true;\n this.xBarViewChild?.nativeElement?.focus();\n this.lastPageX = e.pageX;\n\n this.xBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n addClass((this.xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n 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 this.yBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n removeClass((this.yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.xBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n removeClass((this.xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n 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,OAAO,EAAE,uBAAuB;AAChC,IAAA,IAAI,EAAE,uCAAuC;AAC7C,IAAA,IAAI,EAAE;CACT;AAGK,MAAO,gBAAiB,SAAQ,SAAS,CAAA;IAC3C,IAAI,GAAG,aAAa;IAEpB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;wGALR,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAhB,gBAAgB,EAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B;;AASD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,kBAAkB,EAAA;AAC1B;;AAEG;AACH,IAAA,kBAAA,CAAA,MAAA,CAAA,GAAA,eAAsB;AACtB;;AAEG;AACH,IAAA,kBAAA,CAAA,kBAAA,CAAA,GAAA,iCAAoD;AACpD;;AAEG;AACH,IAAA,kBAAA,CAAA,SAAA,CAAA,GAAA,uBAAiC;AACjC;;AAEG;AACH,I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AA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAjB,iBAAiB,EAAA,OAAA,EAAA,CA7bjB,WAAW,EA0bG,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CA1btC,WAAW,EA2bG,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;yGAEtC,iBAAiB,EAAA,OAAA,EAAA,CAHhB,WAAW,EAAE,YAAY,EAAE,UAAU,EACxB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;;4FAEtC,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;;;AC/fD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-scrollpanel.mjs","sources":["../../src/scrollpanel/style/scrollpanelstyle.ts","../../src/scrollpanel/scrollpanel.ts","../../src/scrollpanel/primeng-scrollpanel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as scrollpanel_style } from '@primeuix/styles/scrollpanel';\nimport { BaseStyle } from 'primeng/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://www.primeng.org/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, ContentChild, ContentChildren, ElementRef, inject, InjectionToken, Input, NgModule, NgZone, numberAttribute, QueryList, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { addClass, getHeight, removeClass, uuid } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind, BindModule } from 'primeng/bind';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { ScrollPanelStyle } from './style/scrollpanelstyle';\nimport { ScrollPanelPassThrough } from 'primeng/types/scrollpanel';\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 (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 ></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 @ViewChild('content') contentViewChild: ElementRef | undefined;\n\n @ViewChild('xBar') xBarViewChild: ElementRef | undefined;\n\n @ViewChild('yBar') yBarViewChild: ElementRef | undefined;\n /**\n * Defines template option for content.\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _contentTemplate: TemplateRef<any> | 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 as QueryList<PrimeTemplate>).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 addClass(xBar, 'p-scrollpanel-hidden');\n } else {\n xBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n 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 addClass(yBar, 'p-scrollpanel-hidden');\n } else {\n yBar.setAttribute('data-p-scrollpanel-hidden', 'false');\n 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 this.contentViewChild?.nativeElement && (this.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 this.yBarViewChild?.nativeElement?.focus();\n this.lastPageY = e.pageY;\n\n this.yBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'true');\n addClass((this.yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'true');\n addClass(this.document.body, 'p-scrollpanel-grabbed');\n this.bindDocumentMouseListeners();\n e.preventDefault();\n }\n\n onXBarMouseDown(e: MouseEvent) {\n this.isXBarClicked = true;\n this.xBarViewChild?.nativeElement?.focus();\n this.lastPageX = e.pageX;\n\n this.xBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n addClass((this.xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n 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 this.yBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n removeClass((this.yBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.xBarViewChild?.nativeElement?.setAttribute('data-p-scrollpanel-grabbed', 'false');\n removeClass((this.xBarViewChild as ElementRef).nativeElement, 'p-scrollpanel-grabbed');\n this.document.body.setAttribute('data-p-scrollpanel-grabbed', 'false');\n 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,EAA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,EAAE,UAAU;AAClD,iBAAA;;;ACjgBD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  export * from 'primeng/types/scrolltop';
2
- import { trigger, state, transition, style as style$1, animate } from '@angular/animations';
2
+ import { trigger, state, style as style$1, transition, animate } from '@angular/animations';
3
3
  import * as i2 from '@angular/common';
4
4
  import { isPlatformBrowser, CommonModule } from '@angular/common';
5
5
  import * as i0 from '@angular/core';
@@ -23,10 +23,10 @@ class ScrollTopStyle extends BaseStyle {
23
23
  name = 'scrolltop';
24
24
  style = style;
25
25
  classes = classes;
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
27
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopStyle });
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
27
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopStyle });
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopStyle, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopStyle, decorators: [{
30
30
  type: Injectable
31
31
  }] });
32
32
  /**
@@ -56,6 +56,7 @@ const SCROLLTOP_INSTANCE = new InjectionToken('SCROLLTOP_INSTANCE');
56
56
  * @group Components
57
57
  */
58
58
  class ScrollTop extends BaseComponent {
59
+ componentName = 'ScrollTop';
59
60
  $pcScrollTop = inject(SCROLLTOP_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
60
61
  bindDirectiveInstance = inject(Bind, { self: true });
61
62
  onAfterViewChecked() {
@@ -212,8 +213,8 @@ class ScrollTop extends BaseComponent {
212
213
  this.overlay = null;
213
214
  }
214
215
  }
215
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTop, deps: null, target: i0.ɵɵFactoryTarget.Component });
216
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.15", type: ScrollTop, isStandalone: true, selector: "p-scrollTop, p-scrolltop, p-scroll-top", inputs: { styleClass: "styleClass", style: "style", target: "target", threshold: ["threshold", "threshold", numberAttribute], icon: "icon", behavior: "behavior", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", buttonAriaLabel: "buttonAriaLabel", buttonProps: "buttonProps" }, providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTop, deps: null, target: i0.ɵɵFactoryTarget.Component });
217
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: ScrollTop, isStandalone: true, selector: "p-scrollTop, p-scrolltop, p-scroll-top", inputs: { styleClass: "styleClass", style: "style", target: "target", threshold: ["threshold", "threshold", numberAttribute], icon: "icon", behavior: "behavior", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", buttonAriaLabel: "buttonAriaLabel", buttonProps: "buttonProps" }, providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
217
218
  <p-button
218
219
  *ngIf="visible"
219
220
  [@animation]="{
@@ -251,7 +252,7 @@ class ScrollTop extends BaseComponent {
251
252
  ])
252
253
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
253
254
  }
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTop, decorators: [{
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTop, decorators: [{
255
256
  type: Component,
256
257
  args: [{
257
258
  selector: 'p-scrollTop, p-scrolltop, p-scroll-top',
@@ -329,11 +330,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
329
330
  args: [PrimeTemplate]
330
331
  }] } });
331
332
  class ScrollTopModule {
332
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
333
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopModule, imports: [ScrollTop, SharedModule], exports: [ScrollTop, SharedModule] });
334
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopModule, imports: [ScrollTop, SharedModule, SharedModule] });
333
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
334
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopModule, imports: [ScrollTop, SharedModule], exports: [ScrollTop, SharedModule] });
335
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopModule, imports: [ScrollTop, SharedModule, SharedModule] });
335
336
  }
336
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ScrollTopModule, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ScrollTopModule, decorators: [{
337
338
  type: NgModule,
338
339
  args: [{
339
340
  imports: [ScrollTop, SharedModule],
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-scrolltop.mjs","sources":["../../src/scrolltop/style/scrolltopstyle.ts","../../src/scrolltop/scrolltop.ts","../../src/scrolltop/primeng-scrolltop.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@primeuix/styles/scrolltop';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: ({ instance }) => ['p-scrolltop', { 'p-scrolltop-sticky': instance.target !== 'window' }],\n icon: 'p-scrolltop-icon'\n};\n\n@Injectable()\nexport class ScrollTopStyle extends BaseStyle {\n name = 'scrolltop';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.\n *\n * [Live Demo](https://www.primeng.org/scrolltop/)\n *\n * @module scrolltopstyle\n *\n */\nexport enum ScrollTopClasses {\n /**\n * Class name of the root element\n */\n root = 'p-scrolltop',\n /**\n * Class name of the icon element\n */\n icon = 'p-scrolltop-icon'\n}\n\nexport interface ScrollTopStyle extends BaseStyle {}\n","import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, inject, InjectionToken, Input, NgModule, numberAttribute, OnDestroy, OnInit, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { getWindowScrollTop } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind } from 'primeng/bind';\nimport { Button, ButtonProps } from 'primeng/button';\nimport { ChevronUpIcon } from 'primeng/icons';\nimport { ScrollTopPassThrough } from 'primeng/types/scrolltop';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { ScrollTopStyle } from './style/scrolltopstyle';\n\nconst SCROLLTOP_INSTANCE = new InjectionToken<ScrollTop>('SCROLLTOP_INSTANCE');\n\n/**\n * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.\n * @group Components\n */\n@Component({\n selector: 'p-scrollTop, p-scrolltop, p-scroll-top',\n standalone: true,\n imports: [CommonModule, ChevronUpIcon, Button, SharedModule],\n template: `\n <p-button\n *ngIf=\"visible\"\n [@animation]=\"{\n value: 'open',\n params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }\n }\"\n (@animation.start)=\"onEnter($event)\"\n (@animation.done)=\"onLeave($event)\"\n [attr.aria-label]=\"buttonAriaLabel\"\n (click)=\"onClick()\"\n [pt]=\"ptm('pcButton')\"\n [styleClass]=\"cn(cx('root'), styleClass)\"\n [ngStyle]=\"style\"\n type=\"button\"\n [buttonProps]=\"buttonProps\"\n >\n <ng-template #icon>\n <ng-container *ngIf=\"!iconTemplate && !_iconTemplate\">\n <span *ngIf=\"_icon\" [class]=\"cn(cx('icon'), _icon)\"></span>\n <svg data-p-icon=\"chevron-up\" *ngIf=\"!_icon\" [class]=\"cx('icon')\" />\n </ng-container>\n <ng-template [ngIf]=\"!icon\" *ngTemplateOutlet=\"iconTemplate || _iconTemplate; context: { styleClass: cx('icon') }\"></ng-template>\n </ng-template>\n </p-button>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('animation', [\n state(\n 'void',\n style({\n opacity: 0\n })\n ),\n state(\n 'open',\n style({\n opacity: 1\n })\n ),\n transition('void => open', animate('{{showTransitionParams}}')),\n transition('open => void', animate('{{hideTransitionParams}}'))\n ])\n ],\n\n providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }],\n hostDirectives: [Bind]\n})\nexport class ScrollTop extends BaseComponent<ScrollTopPassThrough> {\n $pcScrollTop: ScrollTop | undefined = inject(SCROLLTOP_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 /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Target of the ScrollTop.\n * @group Props\n */\n @Input() target: 'window' | 'parent' | undefined = 'window';\n /**\n * Defines the threshold value of the vertical scroll position of the target to toggle the visibility.\n * @group Props\n */\n @Input({ transform: numberAttribute }) threshold: number = 400;\n /**\n * Name of the icon or JSX.Element for icon.\n * @group Props\n */\n @Input() get icon(): string | undefined {\n return this._icon;\n }\n /**\n * Defines the scrolling behavior, \"smooth\" adds an animation and \"auto\" scrolls with a jump.\n * @group Props\n */\n @Input() behavior: 'auto' | 'smooth' | undefined = 'smooth';\n /**\n * A string value used to determine the display transition options.\n * @group Props\n */\n @Input() showTransitionOptions: string = '.15s';\n /**\n * A string value used to determine the hiding transition options.\n * @group Props\n */\n @Input() hideTransitionOptions: string = '.15s';\n /**\n * Establishes a string value that labels the scroll-top button.\n * @group Props\n */\n @Input() buttonAriaLabel: string | undefined;\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n @Input() buttonProps: ButtonProps = { rounded: true, severity: 'success' };\n /**\n * Template of the icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _icon: string | undefined;\n\n set icon(value: string | undefined) {\n this._icon = value;\n }\n\n documentScrollListener: VoidFunction | null | undefined;\n\n parentScrollListener: VoidFunction | null | undefined;\n\n visible: boolean = false;\n\n overlay: any;\n\n _componentStyle = inject(ScrollTopStyle);\n\n onInit() {\n if (this.target === 'window') this.bindDocumentScrollListener();\n else if (this.target === 'parent') this.bindParentScrollListener();\n }\n\n onAfterContentInit() {\n (this.templates as QueryList<PrimeTemplate>).forEach((item) => {\n switch (item.getType()) {\n case 'icon':\n this._iconTemplate = item.template;\n break;\n }\n });\n }\n\n onClick() {\n let scrollElement = this.target === 'window' ? this.document.defaultView : this.el.nativeElement.parentElement;\n scrollElement.scroll({\n top: 0,\n behavior: this.behavior\n });\n }\n\n onEnter(event: AnimationEvent) {\n switch (event.toState) {\n case 'open':\n this.overlay = event.element;\n ZIndexUtils.set('overlay', this.overlay, this.config.zIndex.overlay);\n break;\n case 'void':\n this.overlay = null;\n break;\n }\n }\n\n onLeave(event: AnimationEvent) {\n switch (event.toState) {\n case 'void':\n ZIndexUtils.clear(event.element);\n break;\n }\n }\n\n checkVisibility(scrollY: number) {\n if (scrollY > this.threshold) this.visible = true;\n else this.visible = false;\n\n this.cd.markForCheck();\n }\n\n bindParentScrollListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.parentScrollListener = this.renderer.listen(this.el.nativeElement.parentElement, 'scroll', () => {\n this.checkVisibility(this.el.nativeElement.parentElement.scrollTop);\n });\n }\n }\n\n bindDocumentScrollListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.documentScrollListener = this.renderer.listen(this.document.defaultView, 'scroll', () => {\n this.checkVisibility(getWindowScrollTop());\n });\n }\n }\n\n unbindParentScrollListener() {\n if (this.parentScrollListener) {\n this.parentScrollListener();\n this.parentScrollListener = null;\n }\n }\n\n unbindDocumentScrollListener() {\n if (this.documentScrollListener) {\n this.documentScrollListener();\n this.documentScrollListener = null;\n }\n }\n\n onDestroy() {\n if (this.target === 'window') this.unbindDocumentScrollListener();\n else if (this.target === 'parent') this.unbindParentScrollListener();\n\n if (this.overlay) {\n ZIndexUtils.clear(this.overlay);\n this.overlay = null;\n }\n }\n}\n\n@NgModule({\n imports: [ScrollTop, SharedModule],\n exports: [ScrollTop, SharedModule]\n})\nexport class ScrollTopModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["style"],"mappings":";;;;;;;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;IACZ,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,aAAa,EAAE,EAAE,oBAAoB,EAAE,QAAQ,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;AAC/F,IAAA,IAAI,EAAE;CACT;AAGK,MAAO,cAAe,SAAQ,SAAS,CAAA;IACzC,IAAI,GAAG,WAAW;IAElB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;wGALR,cAAc,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAd,cAAc,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B;;AASD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,gBAAgB,EAAA;AACxB;;AAEG;AACH,IAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,aAAoB;AACpB;;AAEG;AACH,IAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,kBAAyB;AAC7B,CAAC,EATW,gBAAgB,KAAhB,gBAAgB,GAAA,EAAA,CAAA,CAAA;;ACd5B,MAAM,kBAAkB,GAAG,IAAI,cAAc,CAAY,oBAAoB,CAAC;AAE9E;;;AAGG;AAuDG,MAAO,SAAU,SAAQ,aAAmC,CAAA;AAC9D,IAAA,YAAY,GAA0B,MAAM,CAAC,kBAAkB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QA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"file":"primeng-scrolltop.mjs","sources":["../../src/scrolltop/style/scrolltopstyle.ts","../../src/scrolltop/scrolltop.ts","../../src/scrolltop/primeng-scrolltop.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@primeuix/styles/scrolltop';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: ({ instance }) => ['p-scrolltop', { 'p-scrolltop-sticky': instance.target !== 'window' }],\n icon: 'p-scrolltop-icon'\n};\n\n@Injectable()\nexport class ScrollTopStyle extends BaseStyle {\n name = 'scrolltop';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.\n *\n * [Live Demo](https://www.primeng.org/scrolltop/)\n *\n * @module scrolltopstyle\n *\n */\nexport enum ScrollTopClasses {\n /**\n * Class name of the root element\n */\n root = 'p-scrolltop',\n /**\n * Class name of the icon element\n */\n icon = 'p-scrolltop-icon'\n}\n\nexport interface ScrollTopStyle extends BaseStyle {}\n","import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations';\nimport { CommonModule, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, inject, InjectionToken, Input, NgModule, numberAttribute, OnDestroy, OnInit, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { getWindowScrollTop } from '@primeuix/utils';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind } from 'primeng/bind';\nimport { Button, ButtonProps } from 'primeng/button';\nimport { ChevronUpIcon } from 'primeng/icons';\nimport { ScrollTopPassThrough } from 'primeng/types/scrolltop';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { ScrollTopStyle } from './style/scrolltopstyle';\n\nconst SCROLLTOP_INSTANCE = new InjectionToken<ScrollTop>('SCROLLTOP_INSTANCE');\n\n/**\n * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.\n * @group Components\n */\n@Component({\n selector: 'p-scrollTop, p-scrolltop, p-scroll-top',\n standalone: true,\n imports: [CommonModule, ChevronUpIcon, Button, SharedModule],\n template: `\n <p-button\n *ngIf=\"visible\"\n [@animation]=\"{\n value: 'open',\n params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }\n }\"\n (@animation.start)=\"onEnter($event)\"\n (@animation.done)=\"onLeave($event)\"\n [attr.aria-label]=\"buttonAriaLabel\"\n (click)=\"onClick()\"\n [pt]=\"ptm('pcButton')\"\n [styleClass]=\"cn(cx('root'), styleClass)\"\n [ngStyle]=\"style\"\n type=\"button\"\n [buttonProps]=\"buttonProps\"\n >\n <ng-template #icon>\n <ng-container *ngIf=\"!iconTemplate && !_iconTemplate\">\n <span *ngIf=\"_icon\" [class]=\"cn(cx('icon'), _icon)\"></span>\n <svg data-p-icon=\"chevron-up\" *ngIf=\"!_icon\" [class]=\"cx('icon')\" />\n </ng-container>\n <ng-template [ngIf]=\"!icon\" *ngTemplateOutlet=\"iconTemplate || _iconTemplate; context: { styleClass: cx('icon') }\"></ng-template>\n </ng-template>\n </p-button>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('animation', [\n state(\n 'void',\n style({\n opacity: 0\n })\n ),\n state(\n 'open',\n style({\n opacity: 1\n })\n ),\n transition('void => open', animate('{{showTransitionParams}}')),\n transition('open => void', animate('{{hideTransitionParams}}'))\n ])\n ],\n\n providers: [ScrollTopStyle, { provide: SCROLLTOP_INSTANCE, useExisting: ScrollTop }, { provide: PARENT_INSTANCE, useExisting: ScrollTop }],\n hostDirectives: [Bind]\n})\nexport class ScrollTop extends BaseComponent<ScrollTopPassThrough> {\n componentName = 'ScrollTop';\n\n $pcScrollTop: ScrollTop | undefined = inject(SCROLLTOP_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 /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Target of the ScrollTop.\n * @group Props\n */\n @Input() target: 'window' | 'parent' | undefined = 'window';\n /**\n * Defines the threshold value of the vertical scroll position of the target to toggle the visibility.\n * @group Props\n */\n @Input({ transform: numberAttribute }) threshold: number = 400;\n /**\n * Name of the icon or JSX.Element for icon.\n * @group Props\n */\n @Input() get icon(): string | undefined {\n return this._icon;\n }\n /**\n * Defines the scrolling behavior, \"smooth\" adds an animation and \"auto\" scrolls with a jump.\n * @group Props\n */\n @Input() behavior: 'auto' | 'smooth' | undefined = 'smooth';\n /**\n * A string value used to determine the display transition options.\n * @group Props\n */\n @Input() showTransitionOptions: string = '.15s';\n /**\n * A string value used to determine the hiding transition options.\n * @group Props\n */\n @Input() hideTransitionOptions: string = '.15s';\n /**\n * Establishes a string value that labels the scroll-top button.\n * @group Props\n */\n @Input() buttonAriaLabel: string | undefined;\n /**\n * Used to pass all properties of the ButtonProps to the Button component.\n * @group Props\n */\n @Input() buttonProps: ButtonProps = { rounded: true, severity: 'success' };\n /**\n * Template of the icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _icon: string | undefined;\n\n set icon(value: string | undefined) {\n this._icon = value;\n }\n\n documentScrollListener: VoidFunction | null | undefined;\n\n parentScrollListener: VoidFunction | null | undefined;\n\n visible: boolean = false;\n\n overlay: any;\n\n _componentStyle = inject(ScrollTopStyle);\n\n onInit() {\n if (this.target === 'window') this.bindDocumentScrollListener();\n else if (this.target === 'parent') this.bindParentScrollListener();\n }\n\n onAfterContentInit() {\n (this.templates as QueryList<PrimeTemplate>).forEach((item) => {\n switch (item.getType()) {\n case 'icon':\n this._iconTemplate = item.template;\n break;\n }\n });\n }\n\n onClick() {\n let scrollElement = this.target === 'window' ? this.document.defaultView : this.el.nativeElement.parentElement;\n scrollElement.scroll({\n top: 0,\n behavior: this.behavior\n });\n }\n\n onEnter(event: AnimationEvent) {\n switch (event.toState) {\n case 'open':\n this.overlay = event.element;\n ZIndexUtils.set('overlay', this.overlay, this.config.zIndex.overlay);\n break;\n case 'void':\n this.overlay = null;\n break;\n }\n }\n\n onLeave(event: AnimationEvent) {\n switch (event.toState) {\n case 'void':\n ZIndexUtils.clear(event.element);\n break;\n }\n }\n\n checkVisibility(scrollY: number) {\n if (scrollY > this.threshold) this.visible = true;\n else this.visible = false;\n\n this.cd.markForCheck();\n }\n\n bindParentScrollListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.parentScrollListener = this.renderer.listen(this.el.nativeElement.parentElement, 'scroll', () => {\n this.checkVisibility(this.el.nativeElement.parentElement.scrollTop);\n });\n }\n }\n\n bindDocumentScrollListener() {\n if (isPlatformBrowser(this.platformId)) {\n this.documentScrollListener = this.renderer.listen(this.document.defaultView, 'scroll', () => {\n this.checkVisibility(getWindowScrollTop());\n });\n }\n }\n\n unbindParentScrollListener() {\n if (this.parentScrollListener) {\n this.parentScrollListener();\n this.parentScrollListener = null;\n }\n }\n\n unbindDocumentScrollListener() {\n if (this.documentScrollListener) {\n this.documentScrollListener();\n this.documentScrollListener = null;\n }\n }\n\n onDestroy() {\n if (this.target === 'window') this.unbindDocumentScrollListener();\n else if (this.target === 'parent') this.unbindParentScrollListener();\n\n if (this.overlay) {\n ZIndexUtils.clear(this.overlay);\n this.overlay = null;\n }\n }\n}\n\n@NgModule({\n imports: [ScrollTop, SharedModule],\n exports: [ScrollTop, SharedModule]\n})\nexport class ScrollTopModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["style"],"mappings":";;;;;;;;;;;;;;;;;AAIA,MAAM,OAA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AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;;sBAE3C,eAAe;uBAAC,aAAa;;MAmHrB,eAAe,CAAA;wGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAxLf,SAAS,EAqLG,YAAY,CAAA,EAAA,OAAA,EAAA,CArLxB,SAAS,EAsLG,YAAY,CAAA,EAAA,CAAA;AAExB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAAA,OAAA,EAAA,CAHd,SAAS,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;4FAExB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,SAAS,EAAE,YAAY;AACpC,iBAAA;;;AChQD;;AAEG;;;;"}
@@ -92,10 +92,10 @@ class SelectStyle extends BaseStyle {
92
92
  name = 'select';
93
93
  style = style;
94
94
  classes = classes;
95
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
96
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectStyle });
95
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
96
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectStyle });
97
97
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectStyle, decorators: [{
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectStyle, decorators: [{
99
99
  type: Injectable
100
100
  }] });
101
101
  /**
@@ -228,8 +228,8 @@ class SelectItem extends BaseComponent {
228
228
  }
229
229
  }));
230
230
  }
231
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
232
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.15", type: SelectItem, isStandalone: true, selector: "p-selectItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute], index: "index", scrollerOptions: "scrollerOptions" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, providers: [SelectStyle, { provide: PARENT_INSTANCE, useExisting: SelectItem }], usesInheritance: true, ngImport: i0, template: `
231
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
232
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: SelectItem, isStandalone: true, selector: "p-selectItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute], index: "index", scrollerOptions: "scrollerOptions" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, providers: [SelectStyle, { provide: PARENT_INSTANCE, useExisting: SelectItem }], usesInheritance: true, ngImport: i0, template: `
233
233
  <li
234
234
  [id]="id"
235
235
  [pBind]="getPTOptions()"
@@ -256,7 +256,7 @@ class SelectItem extends BaseComponent {
256
256
  </li>
257
257
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: BlankIcon, selector: "[data-p-icon=\"blank\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[pBind]", inputs: ["pBind"] }] });
258
258
  }
259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectItem, decorators: [{
259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectItem, decorators: [{
260
260
  type: Component,
261
261
  args: [{
262
262
  selector: 'p-selectItem',
@@ -336,6 +336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
336
336
  class Select extends BaseInput {
337
337
  zone;
338
338
  filterService;
339
+ componentName = 'Select';
339
340
  bindDirectiveInstance = inject(Bind, { self: true });
340
341
  /**
341
342
  * Unique identifier of the component
@@ -1623,8 +1624,8 @@ class Select extends BaseInput {
1623
1624
  this.updateEditableLabel();
1624
1625
  this.cd.markForCheck();
1625
1626
  }
1626
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Select, deps: [{ token: i0.NgZone }, { token: i3.FilterService }], target: i0.ɵɵFactoryTarget.Component });
1627
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: Select, isStandalone: true, selector: "p-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.id": "id" } }, providers: [SELECT_VALUE_ACCESSOR, SelectStyle, { provide: SELECT_INSTANCE, useExisting: Select }, { provide: PARENT_INSTANCE, useExisting: Select }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "onIconTemplate", first: true, predicate: ["onicon"] }, { propertyName: "offIconTemplate", first: true, predicate: ["officon"] }, { propertyName: "cancelIconTemplate", first: true, predicate: ["cancelicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.Bind }], ngImport: i0, template: `
1627
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: Select, deps: [{ token: i0.NgZone }, { token: i3.FilterService }], target: i0.ɵɵFactoryTarget.Component });
1628
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: Select, isStandalone: true, selector: "p-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.id": "id" } }, providers: [SELECT_VALUE_ACCESSOR, SelectStyle, { provide: SELECT_INSTANCE, useExisting: Select }, { provide: PARENT_INSTANCE, useExisting: Select }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "onIconTemplate", first: true, predicate: ["onicon"] }, { propertyName: "offIconTemplate", first: true, predicate: ["officon"] }, { propertyName: "cancelIconTemplate", first: true, predicate: ["cancelicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.Bind }], ngImport: i0, template: `
1628
1629
  <span
1629
1630
  #focusInput
1630
1631
  [class]="cx('label')"
@@ -1860,9 +1861,9 @@ class Select extends BaseInput {
1860
1861
  </div>
1861
1862
  </ng-template>
1862
1863
  </p-overlay>
1863
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "p-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "index", "scrollerOptions"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1864
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "p-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "index", "scrollerOptions"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1864
1865
  }
1865
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Select, decorators: [{
1866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: Select, decorators: [{
1866
1867
  type: Component,
1867
1868
  args: [{
1868
1869
  selector: 'p-select',
@@ -2327,11 +2328,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
2327
2328
  args: [PrimeTemplate]
2328
2329
  }] } });
2329
2330
  class SelectModule {
2330
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2331
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: SelectModule, imports: [Select, SharedModule], exports: [Select, SharedModule] });
2332
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectModule, imports: [Select, SharedModule, SharedModule] });
2331
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2332
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: SelectModule, imports: [Select, SharedModule], exports: [Select, SharedModule] });
2333
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectModule, imports: [Select, SharedModule, SharedModule] });
2333
2334
  }
2334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SelectModule, decorators: [{
2335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SelectModule, decorators: [{
2335
2336
  type: NgModule,
2336
2337
  args: [{
2337
2338
  imports: [Select, SharedModule],