primeng 21.0.0-beta.1 → 21.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/fesm2022/primeng-accordion.mjs +37 -37
  2. package/fesm2022/primeng-accordion.mjs.map +1 -1
  3. package/fesm2022/primeng-animateonscroll.mjs +7 -7
  4. package/fesm2022/primeng-api.mjs +31 -31
  5. package/fesm2022/primeng-autocomplete.mjs +51 -49
  6. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  7. package/fesm2022/primeng-autofocus.mjs +7 -7
  8. package/fesm2022/primeng-avatar.mjs +26 -10
  9. package/fesm2022/primeng-avatar.mjs.map +1 -1
  10. package/fesm2022/primeng-avatargroup.mjs +10 -10
  11. package/fesm2022/primeng-badge.mjs +25 -25
  12. package/fesm2022/primeng-badge.mjs.map +1 -1
  13. package/fesm2022/primeng-base.mjs +3 -3
  14. package/fesm2022/primeng-basecomponent.mjs +14 -14
  15. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  16. package/fesm2022/primeng-baseeditableholder.mjs +9 -9
  17. package/fesm2022/primeng-baseeditableholder.mjs.map +1 -1
  18. package/fesm2022/primeng-baseinput.mjs +14 -14
  19. package/fesm2022/primeng-baseinput.mjs.map +1 -1
  20. package/fesm2022/primeng-basemodelholder.mjs +5 -5
  21. package/fesm2022/primeng-basemodelholder.mjs.map +1 -1
  22. package/fesm2022/primeng-bind.mjs +12 -12
  23. package/fesm2022/primeng-bind.mjs.map +1 -1
  24. package/fesm2022/primeng-blockui.mjs +14 -14
  25. package/fesm2022/primeng-blockui.mjs.map +1 -1
  26. package/fesm2022/primeng-breadcrumb.mjs +95 -54
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +53 -53
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +10 -10
  31. package/fesm2022/primeng-card.mjs +31 -11
  32. package/fesm2022/primeng-card.mjs.map +1 -1
  33. package/fesm2022/primeng-carousel.mjs +15 -15
  34. package/fesm2022/primeng-carousel.mjs.map +1 -1
  35. package/fesm2022/primeng-cascadeselect.mjs +35 -35
  36. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  37. package/fesm2022/primeng-chart.mjs +10 -10
  38. package/fesm2022/primeng-checkbox.mjs +15 -15
  39. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  40. package/fesm2022/primeng-chip.mjs +14 -10
  41. package/fesm2022/primeng-chip.mjs.map +1 -1
  42. package/fesm2022/primeng-classnames.mjs +9 -9
  43. package/fesm2022/primeng-classnames.mjs.map +1 -1
  44. package/fesm2022/primeng-colorpicker.mjs +14 -14
  45. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  46. package/fesm2022/primeng-config.mjs +16 -16
  47. package/fesm2022/primeng-config.mjs.map +1 -1
  48. package/fesm2022/primeng-confirmdialog.mjs +44 -12
  49. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  50. package/fesm2022/primeng-confirmpopup.mjs +48 -20
  51. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  52. package/fesm2022/primeng-contextmenu.mjs +106 -55
  53. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  54. package/fesm2022/primeng-dataview.mjs +17 -11
  55. package/fesm2022/primeng-dataview.mjs.map +1 -1
  56. package/fesm2022/primeng-datepicker.mjs +24 -17
  57. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  58. package/fesm2022/primeng-dialog.mjs +63 -31
  59. package/fesm2022/primeng-dialog.mjs.map +1 -1
  60. package/fesm2022/primeng-divider.mjs +10 -10
  61. package/fesm2022/primeng-dock.mjs +46 -22
  62. package/fesm2022/primeng-dock.mjs.map +1 -1
  63. package/fesm2022/primeng-dragdrop.mjs +10 -10
  64. package/fesm2022/primeng-drawer.mjs +26 -26
  65. package/fesm2022/primeng-drawer.mjs.map +1 -1
  66. package/fesm2022/primeng-dynamicdialog.mjs +16 -16
  67. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  68. package/fesm2022/primeng-editor.mjs +10 -10
  69. package/fesm2022/primeng-fieldset.mjs +16 -16
  70. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  71. package/fesm2022/primeng-fileupload.mjs +30 -27
  72. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  73. package/fesm2022/primeng-floatlabel.mjs +10 -10
  74. package/fesm2022/primeng-fluid.mjs +10 -10
  75. package/fesm2022/primeng-focustrap.mjs +7 -7
  76. package/fesm2022/primeng-galleria.mjs +85 -38
  77. package/fesm2022/primeng-galleria.mjs.map +1 -1
  78. package/fesm2022/primeng-iconfield.mjs +10 -10
  79. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  80. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  81. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  82. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  83. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  84. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  85. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  86. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  87. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  88. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  89. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  90. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  91. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  92. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  93. package/fesm2022/primeng-icons-ban.mjs +3 -3
  94. package/fesm2022/primeng-icons-bars.mjs +3 -3
  95. package/fesm2022/primeng-icons-baseicon.mjs +6 -6
  96. package/fesm2022/primeng-icons-blank.mjs +3 -3
  97. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  98. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  99. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  100. package/fesm2022/primeng-icons-check.mjs +3 -3
  101. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  102. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  103. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  104. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  105. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  106. package/fesm2022/primeng-icons-eye.mjs +3 -3
  107. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  108. package/fesm2022/primeng-icons-filter.mjs +3 -3
  109. package/fesm2022/primeng-icons-filterfill.mjs +3 -3
  110. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  111. package/fesm2022/primeng-icons-home.mjs +3 -3
  112. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  113. package/fesm2022/primeng-icons-minus.mjs +3 -3
  114. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  115. package/fesm2022/primeng-icons-plus.mjs +3 -3
  116. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  117. package/fesm2022/primeng-icons-search.mjs +3 -3
  118. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  119. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  120. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  121. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  122. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  123. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  124. package/fesm2022/primeng-icons-star.mjs +3 -3
  125. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  126. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  127. package/fesm2022/primeng-icons-times.mjs +3 -3
  128. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  129. package/fesm2022/primeng-icons-trash.mjs +3 -3
  130. package/fesm2022/primeng-icons-undo.mjs +3 -3
  131. package/fesm2022/primeng-icons-upload.mjs +3 -3
  132. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  133. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  134. package/fesm2022/primeng-iftalabel.mjs +10 -10
  135. package/fesm2022/primeng-image.mjs +32 -32
  136. package/fesm2022/primeng-image.mjs.map +1 -1
  137. package/fesm2022/primeng-imagecompare.mjs +12 -12
  138. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  139. package/fesm2022/primeng-inplace.mjs +19 -19
  140. package/fesm2022/primeng-inplace.mjs.map +1 -1
  141. package/fesm2022/primeng-inputgroup.mjs +10 -10
  142. package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
  143. package/fesm2022/primeng-inputicon.mjs +10 -10
  144. package/fesm2022/primeng-inputmask.mjs +14 -13
  145. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  146. package/fesm2022/primeng-inputnumber.mjs +14 -14
  147. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  148. package/fesm2022/primeng-inputotp.mjs +20 -16
  149. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  150. package/fesm2022/primeng-inputtext.mjs +20 -20
  151. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  152. package/fesm2022/primeng-keyfilter.mjs +7 -7
  153. package/fesm2022/primeng-knob.mjs +25 -25
  154. package/fesm2022/primeng-knob.mjs.map +1 -1
  155. package/fesm2022/primeng-listbox.mjs +36 -19
  156. package/fesm2022/primeng-listbox.mjs.map +1 -1
  157. package/fesm2022/primeng-megamenu.mjs +126 -48
  158. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  159. package/fesm2022/primeng-menu.mjs +47 -39
  160. package/fesm2022/primeng-menu.mjs.map +1 -1
  161. package/fesm2022/primeng-menubar.mjs +132 -53
  162. package/fesm2022/primeng-menubar.mjs.map +1 -1
  163. package/fesm2022/primeng-message.mjs +15 -13
  164. package/fesm2022/primeng-message.mjs.map +1 -1
  165. package/fesm2022/primeng-metergroup.mjs +43 -13
  166. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  167. package/fesm2022/primeng-motion.mjs +53 -53
  168. package/fesm2022/primeng-motion.mjs.map +1 -1
  169. package/fesm2022/primeng-multiselect.mjs +98 -30
  170. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  171. package/fesm2022/primeng-orderlist.mjs +15 -11
  172. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  173. package/fesm2022/primeng-organizationchart.mjs +13 -13
  174. package/fesm2022/primeng-overlay.mjs +20 -18
  175. package/fesm2022/primeng-overlay.mjs.map +1 -1
  176. package/fesm2022/primeng-overlaybadge.mjs +10 -10
  177. package/fesm2022/primeng-paginator.mjs +20 -16
  178. package/fesm2022/primeng-paginator.mjs.map +1 -1
  179. package/fesm2022/primeng-panel.mjs +13 -13
  180. package/fesm2022/primeng-panel.mjs.map +1 -1
  181. package/fesm2022/primeng-panelmenu.mjs +169 -57
  182. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  183. package/fesm2022/primeng-password.mjs +57 -29
  184. package/fesm2022/primeng-password.mjs.map +1 -1
  185. package/fesm2022/primeng-picklist.mjs +27 -13
  186. package/fesm2022/primeng-picklist.mjs.map +1 -1
  187. package/fesm2022/primeng-popover.mjs +16 -14
  188. package/fesm2022/primeng-popover.mjs.map +1 -1
  189. package/fesm2022/primeng-progressbar.mjs +13 -11
  190. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  191. package/fesm2022/primeng-progressspinner.mjs +10 -10
  192. package/fesm2022/primeng-radiobutton.mjs +16 -16
  193. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  194. package/fesm2022/primeng-rating.mjs +15 -11
  195. package/fesm2022/primeng-rating.mjs.map +1 -1
  196. package/fesm2022/primeng-ripple.mjs +10 -10
  197. package/fesm2022/primeng-scroller.mjs +19 -12
  198. package/fesm2022/primeng-scroller.mjs.map +1 -1
  199. package/fesm2022/primeng-scrollpanel.mjs +11 -11
  200. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  201. package/fesm2022/primeng-scrolltop.mjs +17 -15
  202. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  203. package/fesm2022/primeng-select.mjs +29 -27
  204. package/fesm2022/primeng-select.mjs.map +1 -1
  205. package/fesm2022/primeng-selectbutton.mjs +15 -13
  206. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  207. package/fesm2022/primeng-skeleton.mjs +10 -10
  208. package/fesm2022/primeng-slider.mjs +10 -10
  209. package/fesm2022/primeng-speeddial.mjs +22 -23
  210. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  211. package/fesm2022/primeng-splitbutton.mjs +18 -18
  212. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  213. package/fesm2022/primeng-splitter.mjs +12 -12
  214. package/fesm2022/primeng-splitter.mjs.map +1 -1
  215. package/fesm2022/primeng-stepper.mjs +71 -75
  216. package/fesm2022/primeng-stepper.mjs.map +1 -1
  217. package/fesm2022/primeng-steps.mjs +11 -11
  218. package/fesm2022/primeng-styleclass.mjs +7 -7
  219. package/fesm2022/primeng-table.mjs +161 -121
  220. package/fesm2022/primeng-table.mjs.map +1 -1
  221. package/fesm2022/primeng-tabs.mjs +132 -131
  222. package/fesm2022/primeng-tabs.mjs.map +1 -1
  223. package/fesm2022/primeng-tag.mjs +14 -10
  224. package/fesm2022/primeng-tag.mjs.map +1 -1
  225. package/fesm2022/primeng-terminal.mjs +13 -13
  226. package/fesm2022/primeng-textarea.mjs +18 -18
  227. package/fesm2022/primeng-textarea.mjs.map +1 -1
  228. package/fesm2022/primeng-tieredmenu.mjs +490 -369
  229. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  230. package/fesm2022/primeng-timeline.mjs +16 -10
  231. package/fesm2022/primeng-timeline.mjs.map +1 -1
  232. package/fesm2022/primeng-toast.mjs +24 -20
  233. package/fesm2022/primeng-toast.mjs.map +1 -1
  234. package/fesm2022/primeng-togglebutton.mjs +15 -11
  235. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  236. package/fesm2022/primeng-toggleswitch.mjs +13 -17
  237. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  238. package/fesm2022/primeng-toolbar.mjs +13 -13
  239. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  240. package/fesm2022/primeng-tooltip.mjs +18 -18
  241. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  242. package/fesm2022/primeng-tree.mjs +145 -96
  243. package/fesm2022/primeng-tree.mjs.map +1 -1
  244. package/fesm2022/primeng-treeselect.mjs +38 -19
  245. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  246. package/fesm2022/primeng-treetable.mjs +91 -86
  247. package/fesm2022/primeng-treetable.mjs.map +1 -1
  248. package/fesm2022/primeng-usestyle.mjs +3 -3
  249. package/package.json +2 -2
  250. package/types/primeng-api.d.ts +20 -0
  251. package/types/primeng-autocomplete.d.ts +24 -24
  252. package/types/primeng-avatar.d.ts +17 -1
  253. package/types/primeng-badge.d.ts +3 -3
  254. package/types/primeng-breadcrumb.d.ts +7 -7
  255. package/types/primeng-button.d.ts +20 -20
  256. package/types/primeng-card.d.ts +30 -10
  257. package/types/primeng-carousel.d.ts +16 -16
  258. package/types/primeng-cascadeselect.d.ts +25 -25
  259. package/types/primeng-checkbox.d.ts +4 -4
  260. package/types/primeng-chip.d.ts +6 -2
  261. package/types/primeng-confirmdialog.d.ts +44 -15
  262. package/types/primeng-confirmpopup.d.ts +25 -9
  263. package/types/primeng-contextmenu.d.ts +10 -10
  264. package/types/primeng-dataview.d.ts +19 -13
  265. package/types/primeng-datepicker.d.ts +33 -27
  266. package/types/primeng-dialog.d.ts +56 -28
  267. package/types/primeng-dock.d.ts +8 -3
  268. package/types/primeng-drawer.d.ts +17 -17
  269. package/types/primeng-dynamicdialog.d.ts +8 -7
  270. package/types/primeng-fieldset.d.ts +12 -12
  271. package/types/primeng-fileupload.d.ts +31 -28
  272. package/types/primeng-galleria.d.ts +70 -25
  273. package/types/primeng-image.d.ts +25 -25
  274. package/types/primeng-imagecompare.d.ts +6 -6
  275. package/types/primeng-inplace.d.ts +10 -10
  276. package/types/primeng-inputmask.d.ts +3 -3
  277. package/types/primeng-inputnumber.d.ts +9 -9
  278. package/types/primeng-inputotp.d.ts +6 -43
  279. package/types/primeng-inputtext.d.ts +3 -3
  280. package/types/primeng-knob.d.ts +1 -1
  281. package/types/primeng-listbox.d.ts +39 -23
  282. package/types/primeng-megamenu.d.ts +23 -19
  283. package/types/primeng-menu.d.ts +17 -13
  284. package/types/primeng-menubar.d.ts +19 -16
  285. package/types/primeng-message.d.ts +9 -7
  286. package/types/primeng-metergroup.d.ts +42 -12
  287. package/types/primeng-multiselect.d.ts +106 -38
  288. package/types/primeng-orderlist.d.ts +25 -21
  289. package/types/primeng-overlay.d.ts +8 -5
  290. package/types/primeng-paginator.d.ts +25 -25
  291. package/types/primeng-panel.d.ts +11 -11
  292. package/types/primeng-panelmenu.d.ts +11 -9
  293. package/types/primeng-password.d.ts +43 -15
  294. package/types/primeng-picklist.d.ts +53 -63
  295. package/types/primeng-popover.d.ts +5 -3
  296. package/types/primeng-progressbar.d.ts +6 -4
  297. package/types/primeng-rating.d.ts +10 -6
  298. package/types/primeng-scroller.d.ts +17 -9
  299. package/types/primeng-scrollpanel.d.ts +3 -3
  300. package/types/primeng-scrolltop.d.ts +6 -4
  301. package/types/primeng-select.d.ts +33 -33
  302. package/types/primeng-selectbutton.d.ts +6 -4
  303. package/types/primeng-speeddial.d.ts +15 -15
  304. package/types/primeng-splitbutton.d.ts +6 -6
  305. package/types/primeng-table.d.ts +1 -0
  306. package/types/primeng-tabs.d.ts +57 -56
  307. package/types/primeng-tag.d.ts +6 -2
  308. package/types/primeng-textarea.d.ts +2 -2
  309. package/types/primeng-tieredmenu.d.ts +41 -29
  310. package/types/primeng-timeline.d.ts +13 -7
  311. package/types/primeng-toast.d.ts +12 -8
  312. package/types/primeng-togglebutton.d.ts +9 -5
  313. package/types/primeng-toggleswitch.d.ts +5 -18
  314. package/types/primeng-toolbar.d.ts +9 -9
  315. package/types/primeng-tooltip.d.ts +3 -3
  316. package/types/primeng-tree.d.ts +75 -53
  317. package/types/primeng-treeselect.d.ts +41 -26
  318. package/types/primeng-treetable.d.ts +53 -53
  319. package/types/primeng-types-autocomplete.d.ts +76 -63
  320. package/types/primeng-types-breadcrumb.d.ts +27 -1
  321. package/types/primeng-types-button.d.ts +37 -18
  322. package/types/primeng-types-card.d.ts +10 -10
  323. package/types/primeng-types-carousel.d.ts +22 -19
  324. package/types/primeng-types-cascadeselect.d.ts +44 -27
  325. package/types/primeng-types-checkbox.d.ts +22 -20
  326. package/types/primeng-types-chip.d.ts +4 -4
  327. package/types/primeng-types-confirmdialog.d.ts +46 -20
  328. package/types/primeng-types-confirmpopup.d.ts +31 -13
  329. package/types/primeng-types-contextmenu.d.ts +26 -18
  330. package/types/primeng-types-dataview.d.ts +63 -44
  331. package/types/primeng-types-datepicker.d.ts +106 -54
  332. package/types/primeng-types-dialog.d.ts +10 -6
  333. package/types/primeng-types-dock.d.ts +13 -10
  334. package/types/primeng-types-drawer.d.ts +7 -7
  335. package/types/primeng-types-fieldset.d.ts +6 -6
  336. package/types/primeng-types-fileupload.d.ts +95 -311
  337. package/types/primeng-types-galleria.d.ts +67 -55
  338. package/types/primeng-types-image.d.ts +40 -94
  339. package/types/primeng-types-imagecompare.d.ts +16 -1
  340. package/types/primeng-types-inplace.d.ts +18 -7
  341. package/types/primeng-types-inputmask.d.ts +1 -1
  342. package/types/primeng-types-inputnumber.d.ts +3 -3
  343. package/types/primeng-types-inputotp.d.ts +71 -1
  344. package/types/primeng-types-listbox.d.ts +123 -44
  345. package/types/primeng-types-megamenu.d.ts +30 -14
  346. package/types/primeng-types-menu.d.ts +30 -22
  347. package/types/primeng-types-menubar.d.ts +23 -20
  348. package/types/primeng-types-message.d.ts +31 -1
  349. package/types/primeng-types-metergroup.d.ts +78 -103
  350. package/types/primeng-types-multiselect.d.ts +135 -90
  351. package/types/primeng-types-orderlist.d.ts +44 -35
  352. package/types/primeng-types-overlay.d.ts +29 -2
  353. package/types/primeng-types-paginator.d.ts +42 -6
  354. package/types/primeng-types-panel.d.ts +29 -1
  355. package/types/primeng-types-panelmenu.d.ts +18 -10
  356. package/types/primeng-types-password.d.ts +19 -7
  357. package/types/primeng-types-picklist.d.ts +69 -74
  358. package/types/primeng-types-popover.d.ts +14 -12
  359. package/types/primeng-types-progressbar.d.ts +13 -9
  360. package/types/primeng-types-rating.d.ts +19 -7
  361. package/types/primeng-types-scroller.d.ts +60 -50
  362. package/types/primeng-types-scrollpanel.d.ts +1 -1
  363. package/types/primeng-types-scrolltop.d.ts +14 -10
  364. package/types/primeng-types-select.d.ts +80 -49
  365. package/types/primeng-types-selectbutton.d.ts +17 -2
  366. package/types/primeng-types-speeddial.d.ts +35 -17
  367. package/types/primeng-types-splitbutton.d.ts +4 -4
  368. package/types/primeng-types-splitter.d.ts +2 -2
  369. package/types/primeng-types-tag.d.ts +2 -2
  370. package/types/primeng-types-tieredmenu.d.ts +20 -17
  371. package/types/primeng-types-timeline.d.ts +19 -29
  372. package/types/primeng-types-toast.d.ts +34 -22
  373. package/types/primeng-types-togglebutton.d.ts +25 -24
  374. package/types/primeng-types-toggleswitch.d.ts +23 -1
  375. package/types/primeng-types-toolbar.d.ts +6 -6
  376. package/types/primeng-types-tree.d.ts +75 -41
  377. package/types/primeng-types-treeselect.d.ts +80 -53
  378. package/types/primeng-types-treetable.d.ts +145 -156
@@ -1,8 +1,8 @@
1
1
  import * as i2 from '@angular/common';
2
- import { isPlatformBrowser, CommonModule, NgTemplateOutlet } from '@angular/common';
2
+ import { CommonModule, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, InjectionToken, inject, forwardRef, signal, computed, effect, ViewChild, ContentChildren, ContentChild, ViewEncapsulation, ChangeDetectionStrategy, Component, model, input, booleanAttribute, ElementRef, HostListener, contentChild, numberAttribute, NgModule } from '@angular/core';
5
- import { getWidth, isRTL, findSingle, getOuterWidth, getOffset, equals, getAttribute, focus, uuid } from '@primeuix/utils';
4
+ import { Injectable, InjectionToken, inject, model, input, booleanAttribute, numberAttribute, signal, ViewEncapsulation, ChangeDetectionStrategy, Component, forwardRef, computed, effect, ViewChild, ContentChildren, ContentChild, ElementRef, HostListener, contentChild, NgModule } from '@angular/core';
5
+ import { uuid, getWidth, isRTL, findSingle, getOuterWidth, getOffset, equals, getAttribute, focus } from '@primeuix/utils';
6
6
  import { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';
7
7
  import * as i1 from 'primeng/bind';
8
8
  import { Bind, BindModule } from 'primeng/bind';
@@ -25,10 +25,10 @@ class TabsStyle extends BaseStyle {
25
25
  name = 'tabs';
26
26
  style = style;
27
27
  classes = classes$4;
28
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
29
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsStyle });
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
29
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsStyle });
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsStyle, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsStyle, decorators: [{
32
32
  type: Injectable
33
33
  }] });
34
34
  /**
@@ -80,6 +80,84 @@ var TabsClasses;
80
80
  TabsClasses["tabpanel"] = "p-tabs-panel";
81
81
  })(TabsClasses || (TabsClasses = {}));
82
82
 
83
+ const TABS_INSTANCE = new InjectionToken('TABS_INSTANCE');
84
+ /**
85
+ * Tabs facilitates seamless switching between different views.
86
+ * @group Components
87
+ */
88
+ class Tabs extends BaseComponent {
89
+ $pcTabs = inject(TABS_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
90
+ bindDirectiveInstance = inject(Bind, { self: true });
91
+ onAfterViewChecked() {
92
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
93
+ }
94
+ /**
95
+ * Value of the active tab.
96
+ * @defaultValue undefined
97
+ * @group Props
98
+ */
99
+ value = model(undefined, { ...(ngDevMode ? { debugName: "value" } : {}) });
100
+ /**
101
+ * When specified, enables horizontal and/or vertical scrolling.
102
+ * @type boolean
103
+ * @defaultValue false
104
+ * @group Props
105
+ */
106
+ scrollable = input(false, { ...(ngDevMode ? { debugName: "scrollable" } : {}), transform: booleanAttribute });
107
+ /**
108
+ * When enabled, tabs are not rendered until activation.
109
+ * @type boolean
110
+ * @defaultValue false
111
+ * @group Props
112
+ */
113
+ lazy = input(false, { ...(ngDevMode ? { debugName: "lazy" } : {}), transform: booleanAttribute });
114
+ /**
115
+ * When enabled, the focused tab is activated.
116
+ * @type boolean
117
+ * @defaultValue false
118
+ * @group Props
119
+ */
120
+ selectOnFocus = input(false, { ...(ngDevMode ? { debugName: "selectOnFocus" } : {}), transform: booleanAttribute });
121
+ /**
122
+ * Whether to display navigation buttons in container when scrollable is enabled.
123
+ * @type boolean
124
+ * @defaultValue true
125
+ * @group Props
126
+ */
127
+ showNavigators = input(true, { ...(ngDevMode ? { debugName: "showNavigators" } : {}), transform: booleanAttribute });
128
+ /**
129
+ * Tabindex of the tab buttons.
130
+ * @type number
131
+ * @defaultValue 0
132
+ * @group Props
133
+ */
134
+ tabindex = input(0, { ...(ngDevMode ? { debugName: "tabindex" } : {}), transform: numberAttribute });
135
+ id = signal(uuid('pn_id_'), { ...(ngDevMode ? { debugName: "id" } : {}) });
136
+ _componentStyle = inject(TabsStyle);
137
+ updateValue(newValue) {
138
+ this.value.update(() => newValue);
139
+ }
140
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: Tabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
141
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.1", type: Tabs, isStandalone: true, selector: "p-tabs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "cx(\"root\")", "attr.id": "id()" } }, providers: [TabsStyle, { provide: TABS_INSTANCE, useExisting: Tabs }, { provide: PARENT_INSTANCE, useExisting: Tabs }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
142
+ }
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: Tabs, decorators: [{
144
+ type: Component,
145
+ args: [{
146
+ selector: 'p-tabs',
147
+ standalone: true,
148
+ imports: [CommonModule, BindModule],
149
+ template: ` <ng-content></ng-content>`,
150
+ changeDetection: ChangeDetectionStrategy.OnPush,
151
+ encapsulation: ViewEncapsulation.None,
152
+ providers: [TabsStyle, { provide: TABS_INSTANCE, useExisting: Tabs }, { provide: PARENT_INSTANCE, useExisting: Tabs }],
153
+ host: {
154
+ '[class]': 'cx("root")',
155
+ '[attr.id]': 'id()'
156
+ },
157
+ hostDirectives: [Bind]
158
+ }]
159
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], scrollable: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollable", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], selectOnFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectOnFocus", required: false }] }], showNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNavigators", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
160
+
83
161
  const classes$3 = {
84
162
  root: ({ instance }) => [
85
163
  'p-tab',
@@ -92,10 +170,10 @@ const classes$3 = {
92
170
  class TabStyle extends BaseStyle {
93
171
  name = 'tab';
94
172
  classes = classes$3;
95
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
96
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabStyle });
173
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
174
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabStyle });
97
175
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabStyle, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabStyle, decorators: [{
99
177
  type: Injectable
100
178
  }] });
101
179
  /**
@@ -126,10 +204,10 @@ const classes$2 = {
126
204
  class TabListStyle extends BaseStyle {
127
205
  name = 'tablist';
128
206
  classes = classes$2;
129
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabListStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
130
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabListStyle });
207
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabListStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
208
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabListStyle });
131
209
  }
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabListStyle, decorators: [{
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabListStyle, decorators: [{
133
211
  type: Injectable
134
212
  }] });
135
213
  /**
@@ -199,12 +277,12 @@ class TabList extends BaseComponent {
199
277
  inkbar;
200
278
  tabs;
201
279
  pcTabs = inject(forwardRef(() => Tabs));
202
- isPrevButtonEnabled = signal(false, ...(ngDevMode ? [{ debugName: "isPrevButtonEnabled" }] : []));
203
- isNextButtonEnabled = signal(false, ...(ngDevMode ? [{ debugName: "isNextButtonEnabled" }] : []));
280
+ isPrevButtonEnabled = signal(false, { ...(ngDevMode ? { debugName: "isPrevButtonEnabled" } : {}) });
281
+ isNextButtonEnabled = signal(false, { ...(ngDevMode ? { debugName: "isNextButtonEnabled" } : {}) });
204
282
  resizeObserver;
205
- showNavigators = computed(() => this.pcTabs.showNavigators(), ...(ngDevMode ? [{ debugName: "showNavigators" }] : []));
206
- tabindex = computed(() => this.pcTabs.tabindex(), ...(ngDevMode ? [{ debugName: "tabindex" }] : []));
207
- scrollable = computed(() => this.pcTabs.scrollable(), ...(ngDevMode ? [{ debugName: "scrollable" }] : []));
283
+ showNavigators = computed(() => this.pcTabs.showNavigators(), { ...(ngDevMode ? { debugName: "showNavigators" } : {}) });
284
+ tabindex = computed(() => this.pcTabs.tabindex(), { ...(ngDevMode ? { debugName: "tabindex" } : {}) });
285
+ scrollable = computed(() => this.pcTabs.scrollable(), { ...(ngDevMode ? { debugName: "scrollable" } : {}) });
208
286
  _componentStyle = inject(TabListStyle);
209
287
  constructor() {
210
288
  super();
@@ -299,8 +377,8 @@ class TabList extends BaseComponent {
299
377
  this.resizeObserver = null;
300
378
  }
301
379
  }
302
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabList, deps: [], target: i0.ɵɵFactoryTarget.Component });
303
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: TabList, isStandalone: true, selector: "p-tablist", host: { properties: { "class": "cx(\"root\")" } }, providers: [TabListStyle, { provide: TABLIST_INSTANCE, useExisting: TabList }, { provide: PARENT_INSTANCE, useExisting: TabList }], queries: [{ propertyName: "prevIconTemplate", first: true, predicate: ["previcon"] }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "prevButton", first: true, predicate: ["prevButton"], descendants: true }, { propertyName: "nextButton", first: true, predicate: ["nextButton"], descendants: true }, { propertyName: "inkbar", first: true, predicate: ["inkbar"], descendants: true }, { propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
380
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabList, deps: [], target: i0.ɵɵFactoryTarget.Component });
381
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.1", type: TabList, isStandalone: true, selector: "p-tablist", host: { properties: { "class": "cx(\"root\")" } }, providers: [TabListStyle, { provide: TABLIST_INSTANCE, useExisting: TabList }, { provide: PARENT_INSTANCE, useExisting: TabList }], queries: [{ propertyName: "prevIconTemplate", first: true, predicate: ["previcon"] }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "prevButton", first: true, predicate: ["prevButton"], descendants: true }, { propertyName: "nextButton", first: true, predicate: ["nextButton"], descendants: true }, { propertyName: "inkbar", first: true, predicate: ["inkbar"], descendants: true }, { propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
304
382
  @if (showNavigators() && isPrevButtonEnabled()) {
305
383
  <button
306
384
  type="button"
@@ -347,7 +425,7 @@ class TabList extends BaseComponent {
347
425
  }
348
426
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChevronLeftIcon, selector: "[data-p-icon=\"chevron-left\"]" }, { kind: "component", type: ChevronRightIcon, selector: "[data-p-icon=\"chevron-right\"]" }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i3.Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
349
427
  }
350
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabList, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabList, decorators: [{
351
429
  type: Component,
352
430
  args: [{
353
431
  selector: 'p-tablist',
@@ -449,22 +527,22 @@ class Tab extends BaseComponent {
449
527
  * @defaultValue undefined
450
528
  * @group Props
451
529
  */
452
- value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
530
+ value = model(undefined, { ...(ngDevMode ? { debugName: "value" } : {}) });
453
531
  /**
454
532
  * Whether the tab is disabled.
455
533
  * @defaultValue false
456
534
  * @group Props
457
535
  */
458
- disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
536
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
459
537
  pcTabs = inject(forwardRef(() => Tabs));
460
538
  pcTabList = inject(forwardRef(() => TabList));
461
539
  el = inject(ElementRef);
462
540
  _componentStyle = inject(TabStyle);
463
- ripple = computed(() => this.config.ripple(), ...(ngDevMode ? [{ debugName: "ripple" }] : []));
464
- id = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`, ...(ngDevMode ? [{ debugName: "id" }] : []));
465
- ariaControls = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`, ...(ngDevMode ? [{ debugName: "ariaControls" }] : []));
466
- active = computed(() => equals(this.pcTabs.value(), this.value()), ...(ngDevMode ? [{ debugName: "active" }] : []));
467
- tabindex = computed(() => (this.disabled() ? -1 : this.active() ? this.pcTabs.tabindex() : -1), ...(ngDevMode ? [{ debugName: "tabindex" }] : []));
541
+ ripple = computed(() => this.config.ripple(), { ...(ngDevMode ? { debugName: "ripple" } : {}) });
542
+ id = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`, { ...(ngDevMode ? { debugName: "id" } : {}) });
543
+ ariaControls = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`, { ...(ngDevMode ? { debugName: "ariaControls" } : {}) });
544
+ active = computed(() => equals(this.pcTabs.value(), this.value()), { ...(ngDevMode ? { debugName: "active" } : {}) });
545
+ tabindex = computed(() => (this.disabled() ? -1 : this.active() ? this.pcTabs.tabindex() : -1), { ...(ngDevMode ? { debugName: "tabindex" } : {}) });
468
546
  mutationObserver;
469
547
  onFocus(event) {
470
548
  if (!this.disabled()) {
@@ -587,10 +665,10 @@ class Tab extends BaseComponent {
587
665
  this.unbindMutationObserver();
588
666
  }
589
667
  }
590
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: Tab, deps: null, target: i0.ɵɵFactoryTarget.Component });
591
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: Tab, isStandalone: true, selector: "p-tab", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { listeners: { "focus": "onFocus($event)", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class": "cx(\"root\")", "attr.id": "id()", "attr.aria-controls": "ariaControls()", "attr.role": "\"tab\"", "attr.aria-selected": "active()", "attr.aria-disabled": "disabled()", "attr.data-p-disabled": "disabled()", "attr.data-p-active": "active()", "attr.tabindex": "tabindex()" } }, providers: [TabStyle, { provide: TAB_INSTANCE, useExisting: Tab }, { provide: PARENT_INSTANCE, useExisting: Tab }], usesInheritance: true, hostDirectives: [{ directive: i3.Ripple }, { directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
668
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: Tab, deps: null, target: i0.ɵɵFactoryTarget.Component });
669
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.1", type: Tab, isStandalone: true, selector: "p-tab", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { listeners: { "focus": "onFocus($event)", "click": "onClick($event)", "keydown": "onKeyDown($event)" }, properties: { "class": "cx(\"root\")", "attr.id": "id()", "attr.aria-controls": "ariaControls()", "attr.role": "\"tab\"", "attr.aria-selected": "active()", "attr.aria-disabled": "disabled()", "attr.data-p-disabled": "disabled()", "attr.data-p-active": "active()", "attr.tabindex": "tabindex()" } }, providers: [TabStyle, { provide: TAB_INSTANCE, useExisting: Tab }, { provide: PARENT_INSTANCE, useExisting: Tab }], usesInheritance: true, hostDirectives: [{ directive: i3.Ripple }, { directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
592
670
  }
593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: Tab, decorators: [{
671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: Tab, decorators: [{
594
672
  type: Component,
595
673
  args: [{
596
674
  selector: 'p-tab',
@@ -635,10 +713,10 @@ const classes$1 = {
635
713
  class TabPanelStyle extends BaseStyle {
636
714
  name = 'tabpanel';
637
715
  classes = classes$1;
638
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
639
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelStyle });
716
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
717
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelStyle });
640
718
  }
641
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelStyle, decorators: [{
719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelStyle, decorators: [{
642
720
  type: Injectable
643
721
  }] });
644
722
  /**
@@ -676,22 +754,22 @@ class TabPanel extends BaseComponent {
676
754
  * @defaultValue false
677
755
  * @group Props
678
756
  */
679
- lazy = input(false, ...(ngDevMode ? [{ debugName: "lazy", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
757
+ lazy = input(false, { ...(ngDevMode ? { debugName: "lazy" } : {}), transform: booleanAttribute });
680
758
  /**
681
759
  * Value of the active tab.
682
760
  * @defaultValue undefined
683
761
  * @group Props
684
762
  */
685
- value = model(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
763
+ value = model(undefined, { ...(ngDevMode ? { debugName: "value" } : {}) });
686
764
  /**
687
765
  * Template for initializing complex content when lazy is enabled.
688
766
  * @group Templates
689
767
  */
690
- content = contentChild('content', ...(ngDevMode ? [{ debugName: "content" }] : []));
691
- id = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`, ...(ngDevMode ? [{ debugName: "id" }] : []));
692
- ariaLabelledby = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`, ...(ngDevMode ? [{ debugName: "ariaLabelledby" }] : []));
693
- active = computed(() => equals(this.pcTabs.value(), this.value()), ...(ngDevMode ? [{ debugName: "active" }] : []));
694
- isLazyEnabled = computed(() => this.pcTabs.lazy() || this.lazy(), ...(ngDevMode ? [{ debugName: "isLazyEnabled" }] : []));
768
+ content = contentChild('content', { ...(ngDevMode ? { debugName: "content" } : {}) });
769
+ id = computed(() => `${this.pcTabs.id()}_tabpanel_${this.value()}`, { ...(ngDevMode ? { debugName: "id" } : {}) });
770
+ ariaLabelledby = computed(() => `${this.pcTabs.id()}_tab_${this.value()}`, { ...(ngDevMode ? { debugName: "ariaLabelledby" } : {}) });
771
+ active = computed(() => equals(this.pcTabs.value(), this.value()), { ...(ngDevMode ? { debugName: "active" } : {}) });
772
+ isLazyEnabled = computed(() => this.pcTabs.lazy() || this.lazy(), { ...(ngDevMode ? { debugName: "isLazyEnabled" } : {}) });
695
773
  hasBeenRendered = false;
696
774
  shouldRender = computed(() => {
697
775
  if (!this.isLazyEnabled() || this.hasBeenRendered) {
@@ -702,10 +780,10 @@ class TabPanel extends BaseComponent {
702
780
  return true;
703
781
  }
704
782
  return false;
705
- }, ...(ngDevMode ? [{ debugName: "shouldRender" }] : []));
783
+ }, { ...(ngDevMode ? { debugName: "shouldRender" } : {}) });
706
784
  _componentStyle = inject(TabPanelStyle);
707
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanel, deps: null, target: i0.ɵɵFactoryTarget.Component });
708
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: TabPanel, isStandalone: true, selector: "p-tabpanel", inputs: { lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "cx(\"root\")", "attr.id": "id()", "attr.role": "\"tabpanel\"", "attr.aria-labelledby": "ariaLabelledby()", "attr.data-p-active": "active()", "hidden": "!active()" } }, providers: [TabPanelStyle, { provide: TABPANEL_INSTANCE, useExisting: TabPanel }, { provide: PARENT_INSTANCE, useExisting: TabPanel }], queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
785
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanel, deps: null, target: i0.ɵɵFactoryTarget.Component });
786
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.1", type: TabPanel, isStandalone: true, selector: "p-tabpanel", inputs: { lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "cx(\"root\")", "attr.id": "id()", "attr.role": "\"tabpanel\"", "attr.aria-labelledby": "ariaLabelledby()", "attr.data-p-active": "active()", "hidden": "!active()" } }, providers: [TabPanelStyle, { provide: TABPANEL_INSTANCE, useExisting: TabPanel }, { provide: PARENT_INSTANCE, useExisting: TabPanel }], queries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
709
787
  <ng-template #defaultContent>
710
788
  <ng-content />
711
789
  </ng-template>
@@ -715,7 +793,7 @@ class TabPanel extends BaseComponent {
715
793
  }
716
794
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
717
795
  }
718
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanel, decorators: [{
796
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanel, decorators: [{
719
797
  type: Component,
720
798
  args: [{
721
799
  selector: 'p-tabpanel',
@@ -751,10 +829,10 @@ const classes = {
751
829
  class TabPanelsStyle extends BaseStyle {
752
830
  name = 'tabpanels';
753
831
  classes = classes;
754
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
755
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelsStyle });
832
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelsStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
833
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelsStyle });
756
834
  }
757
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanelsStyle, decorators: [{
835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanelsStyle, decorators: [{
758
836
  type: Injectable
759
837
  }] });
760
838
  /**
@@ -786,10 +864,10 @@ class TabPanels extends BaseComponent {
786
864
  onAfterViewChecked() {
787
865
  this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
788
866
  }
789
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanels, deps: null, target: i0.ɵɵFactoryTarget.Component });
790
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: TabPanels, isStandalone: true, selector: "p-tabpanels", host: { properties: { "class": "cx(\"root\")", "attr.role": "\"presentation\"" } }, providers: [TabPanelsStyle, { provide: TABPANELS_INSTANCE, useExisting: TabPanels }, { provide: PARENT_INSTANCE, useExisting: TabPanels }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
867
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanels, deps: null, target: i0.ɵɵFactoryTarget.Component });
868
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.1", type: TabPanels, isStandalone: true, selector: "p-tabpanels", host: { properties: { "class": "cx(\"root\")", "attr.role": "\"presentation\"" } }, providers: [TabPanelsStyle, { provide: TABPANELS_INSTANCE, useExisting: TabPanels }, { provide: PARENT_INSTANCE, useExisting: TabPanels }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
791
869
  }
792
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabPanels, decorators: [{
870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabPanels, decorators: [{
793
871
  type: Component,
794
872
  args: [{
795
873
  selector: 'p-tabpanels',
@@ -807,89 +885,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
807
885
  }]
808
886
  }] });
809
887
 
810
- const TABS_INSTANCE = new InjectionToken('TABS_INSTANCE');
811
- /**
812
- * Tabs facilitates seamless switching between different views.
813
- * @group Components
814
- */
815
- class Tabs extends BaseComponent {
816
- $pcTabs = inject(TABS_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
817
- bindDirectiveInstance = inject(Bind, { self: true });
818
- onAfterViewChecked() {
819
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
820
- }
821
- /**
822
- * Value of the active tab.
823
- * @defaultValue undefined
824
- * @group Props
825
- */
826
- value = model(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
827
- /**
828
- * When specified, enables horizontal and/or vertical scrolling.
829
- * @type boolean
830
- * @defaultValue false
831
- * @group Props
832
- */
833
- scrollable = input(false, ...(ngDevMode ? [{ debugName: "scrollable", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
834
- /**
835
- * When enabled, tabs are not rendered until activation.
836
- * @type boolean
837
- * @defaultValue false
838
- * @group Props
839
- */
840
- lazy = input(false, ...(ngDevMode ? [{ debugName: "lazy", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
841
- /**
842
- * When enabled, the focused tab is activated.
843
- * @type boolean
844
- * @defaultValue false
845
- * @group Props
846
- */
847
- selectOnFocus = input(false, ...(ngDevMode ? [{ debugName: "selectOnFocus", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
848
- /**
849
- * Whether to display navigation buttons in container when scrollable is enabled.
850
- * @type boolean
851
- * @defaultValue true
852
- * @group Props
853
- */
854
- showNavigators = input(true, ...(ngDevMode ? [{ debugName: "showNavigators", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
855
- /**
856
- * Tabindex of the tab buttons.
857
- * @type number
858
- * @defaultValue 0
859
- * @group Props
860
- */
861
- tabindex = input(0, ...(ngDevMode ? [{ debugName: "tabindex", transform: numberAttribute }] : [{ transform: numberAttribute }]));
862
- id = signal(uuid('pn_id_'), ...(ngDevMode ? [{ debugName: "id" }] : []));
863
- _componentStyle = inject(TabsStyle);
864
- updateValue(newValue) {
865
- this.value.update(() => newValue);
866
- }
867
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: Tabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
868
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: Tabs, isStandalone: true, selector: "p-tabs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class": "cx(\"root\")", "attr.id": "id()" } }, providers: [TabsStyle, { provide: TABS_INSTANCE, useExisting: Tabs }, { provide: PARENT_INSTANCE, useExisting: Tabs }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
869
- }
870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: Tabs, decorators: [{
871
- type: Component,
872
- args: [{
873
- selector: 'p-tabs',
874
- standalone: true,
875
- imports: [CommonModule, BindModule],
876
- template: ` <ng-content></ng-content>`,
877
- changeDetection: ChangeDetectionStrategy.OnPush,
878
- encapsulation: ViewEncapsulation.None,
879
- providers: [TabsStyle, { provide: TABS_INSTANCE, useExisting: Tabs }, { provide: PARENT_INSTANCE, useExisting: Tabs }],
880
- host: {
881
- '[class]': 'cx("root")',
882
- '[attr.id]': 'id()'
883
- },
884
- hostDirectives: [Bind]
885
- }]
886
- }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], scrollable: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollable", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], selectOnFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectOnFocus", required: false }] }], showNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNavigators", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }] } });
887
888
  class TabsModule {
888
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
889
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: TabsModule, imports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule], exports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule] });
890
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsModule, imports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule, BindModule] });
889
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
890
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.1", ngImport: i0, type: TabsModule, imports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule], exports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule] });
891
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsModule, imports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule, BindModule] });
891
892
  }
892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: TabsModule, decorators: [{
893
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: TabsModule, decorators: [{
893
894
  type: NgModule,
894
895
  args: [{
895
896
  imports: [Tabs, TabPanels, TabPanel, TabList, Tab, BindModule],