primeng 17.15.0 → 17.16.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 (500) hide show
  1. package/api/megamenuitem.d.ts +4 -0
  2. package/api/primeicons.d.ts +53 -0
  3. package/api/primengconfig.d.ts +1 -1
  4. package/api/treenode.d.ts +4 -0
  5. package/autocomplete/autocomplete.d.ts +11 -2
  6. package/badge/badge.d.ts +2 -5
  7. package/breadcrumb/breadcrumb.interface.d.ts +11 -0
  8. package/button/button.d.ts +1 -1
  9. package/calendar/calendar.d.ts +18 -4
  10. package/cascadeselect/cascadeselect.d.ts +19 -1
  11. package/cascadeselect/cascadeselect.interface.d.ts +4 -0
  12. package/checkbox/checkbox.d.ts +9 -3
  13. package/chips/chips.d.ts +9 -2
  14. package/dataview/dataview.d.ts +0 -1
  15. package/dropdown/dropdown.d.ts +32 -4
  16. package/esm2022/accordion/accordion.mjs +10 -10
  17. package/esm2022/animate/animate.mjs +7 -7
  18. package/esm2022/animateonscroll/animateonscroll.mjs +7 -7
  19. package/esm2022/api/confirmationservice.mjs +3 -3
  20. package/esm2022/api/contextmenuservice.mjs +3 -3
  21. package/esm2022/api/filterservice.mjs +3 -3
  22. package/esm2022/api/megamenuitem.mjs +1 -1
  23. package/esm2022/api/messageservice.mjs +3 -3
  24. package/esm2022/api/overlayservice.mjs +3 -3
  25. package/esm2022/api/primeicons.mjs +54 -1
  26. package/esm2022/api/primengconfig.mjs +6 -6
  27. package/esm2022/api/shared.mjs +13 -13
  28. package/esm2022/api/treedragdropservice.mjs +3 -3
  29. package/esm2022/api/treenode.mjs +1 -1
  30. package/esm2022/autocomplete/autocomplete.mjs +26 -15
  31. package/esm2022/autofocus/autofocus.mjs +7 -7
  32. package/esm2022/avatar/avatar.mjs +7 -7
  33. package/esm2022/avatargroup/avatargroup.mjs +7 -7
  34. package/esm2022/badge/badge.mjs +25 -18
  35. package/esm2022/baseicon/baseicon.mjs +3 -3
  36. package/esm2022/blockui/blockui.mjs +7 -7
  37. package/esm2022/breadcrumb/breadcrumb.interface.mjs +1 -1
  38. package/esm2022/breadcrumb/breadcrumb.mjs +8 -8
  39. package/esm2022/button/button.mjs +11 -11
  40. package/esm2022/buttongroup/buttongroup.mjs +7 -7
  41. package/esm2022/calendar/calendar.mjs +157 -29
  42. package/esm2022/card/card.mjs +7 -7
  43. package/esm2022/carousel/carousel.mjs +7 -7
  44. package/esm2022/cascadeselect/cascadeselect.interface.mjs +1 -1
  45. package/esm2022/cascadeselect/cascadeselect.mjs +70 -21
  46. package/esm2022/chart/chart.mjs +7 -7
  47. package/esm2022/checkbox/checkbox.mjs +37 -15
  48. package/esm2022/chip/chip.mjs +7 -7
  49. package/esm2022/chips/chips.mjs +25 -15
  50. package/esm2022/colorpicker/colorpicker.mjs +7 -7
  51. package/esm2022/confirmdialog/confirmdialog.mjs +7 -7
  52. package/esm2022/confirmpopup/confirmpopup.mjs +7 -7
  53. package/esm2022/contextmenu/contextmenu.mjs +10 -10
  54. package/esm2022/dataview/dataview.mjs +12 -13
  55. package/esm2022/defer/defer.mjs +7 -7
  56. package/esm2022/dialog/dialog.mjs +7 -7
  57. package/esm2022/divider/divider.mjs +7 -7
  58. package/esm2022/dock/dock.mjs +7 -7
  59. package/esm2022/dragdrop/dragdrop.mjs +10 -10
  60. package/esm2022/dropdown/dropdown.mjs +127 -40
  61. package/esm2022/dynamicdialog/dialogservice.mjs +3 -3
  62. package/esm2022/dynamicdialog/dynamicdialog.mjs +13 -10
  63. package/esm2022/dynamicdialog/dynamicdialogcontent.mjs +3 -3
  64. package/esm2022/editor/editor.mjs +7 -7
  65. package/esm2022/fieldset/fieldset.mjs +7 -7
  66. package/esm2022/fileupload/fileupload.interface.mjs +1 -1
  67. package/esm2022/fileupload/fileupload.mjs +181 -113
  68. package/esm2022/floatlabel/floatlabel.mjs +7 -7
  69. package/esm2022/focustrap/focustrap.mjs +7 -7
  70. package/esm2022/galleria/galleria.mjs +19 -19
  71. package/esm2022/iconfield/iconfield.mjs +7 -7
  72. package/esm2022/icons/angledoubledown/angledoubledown.mjs +3 -3
  73. package/esm2022/icons/angledoubleleft/angledoubleleft.mjs +3 -3
  74. package/esm2022/icons/angledoubleright/angledoubleright.mjs +3 -3
  75. package/esm2022/icons/angledoubleup/angledoubleup.mjs +3 -3
  76. package/esm2022/icons/angledown/angledown.mjs +3 -3
  77. package/esm2022/icons/angleleft/angleleft.mjs +3 -3
  78. package/esm2022/icons/angleright/angleright.mjs +3 -3
  79. package/esm2022/icons/angleup/angleup.mjs +3 -3
  80. package/esm2022/icons/arrowdown/arrowdown.mjs +3 -3
  81. package/esm2022/icons/arrowdownleft/arrowdownleft.mjs +3 -3
  82. package/esm2022/icons/arrowdownright/arrowdownright.mjs +3 -3
  83. package/esm2022/icons/arrowleft/arrowleft.mjs +3 -3
  84. package/esm2022/icons/arrowright/arrowright.mjs +3 -3
  85. package/esm2022/icons/arrowup/arrowup.mjs +3 -3
  86. package/esm2022/icons/ban/ban.mjs +3 -3
  87. package/esm2022/icons/bars/bars.mjs +3 -3
  88. package/esm2022/icons/blank/blank.mjs +25 -0
  89. package/esm2022/icons/blank/primeng-icons-blank.mjs +5 -0
  90. package/esm2022/icons/blank/public_api.mjs +2 -0
  91. package/esm2022/icons/calendar/calendar.mjs +3 -3
  92. package/esm2022/icons/caretleft/caretleft.mjs +3 -3
  93. package/esm2022/icons/caretright/caretright.mjs +3 -3
  94. package/esm2022/icons/check/check.mjs +3 -3
  95. package/esm2022/icons/chevrondown/chevrondown.mjs +3 -3
  96. package/esm2022/icons/chevronleft/chevronleft.mjs +3 -3
  97. package/esm2022/icons/chevronright/chevronright.mjs +3 -3
  98. package/esm2022/icons/chevronup/chevronup.mjs +3 -3
  99. package/esm2022/icons/exclamationtriangle/exclamationtriangle.mjs +3 -3
  100. package/esm2022/icons/eye/eye.mjs +3 -3
  101. package/esm2022/icons/eyeslash/eyeslash.mjs +3 -3
  102. package/esm2022/icons/filter/filter.mjs +3 -3
  103. package/esm2022/icons/filterslash/filterslash.mjs +3 -3
  104. package/esm2022/icons/home/home.mjs +3 -3
  105. package/esm2022/icons/infocircle/infocircle.mjs +3 -3
  106. package/esm2022/icons/minus/minus.mjs +3 -3
  107. package/esm2022/icons/pencil/pencil.mjs +3 -3
  108. package/esm2022/icons/plus/plus.mjs +3 -3
  109. package/esm2022/icons/refresh/refresh.mjs +3 -3
  110. package/esm2022/icons/search/search.mjs +3 -3
  111. package/esm2022/icons/searchminus/searchminus.mjs +3 -3
  112. package/esm2022/icons/searchplus/searchplus.mjs +3 -3
  113. package/esm2022/icons/sortalt/sortalt.mjs +3 -3
  114. package/esm2022/icons/sortamountdown/sortamountdown.mjs +3 -3
  115. package/esm2022/icons/sortamountupalt/sortamountupalt.mjs +3 -3
  116. package/esm2022/icons/spinner/spinner.mjs +3 -3
  117. package/esm2022/icons/star/star.mjs +3 -3
  118. package/esm2022/icons/starfill/starfill.mjs +3 -3
  119. package/esm2022/icons/thlarge/thlarge.mjs +3 -3
  120. package/esm2022/icons/times/times.mjs +3 -3
  121. package/esm2022/icons/timescircle/timescircle.mjs +3 -3
  122. package/esm2022/icons/trash/trash.mjs +3 -3
  123. package/esm2022/icons/undo/undo.mjs +3 -3
  124. package/esm2022/icons/upload/upload.mjs +3 -3
  125. package/esm2022/icons/windowmaximize/windowmaximize.mjs +3 -3
  126. package/esm2022/icons/windowminimize/windowminimize.mjs +3 -3
  127. package/esm2022/image/image.mjs +7 -7
  128. package/esm2022/inplace/inplace.mjs +13 -13
  129. package/esm2022/inputgroup/inputgroup.mjs +7 -7
  130. package/esm2022/inputgroupaddon/inputgroupaddon.mjs +7 -7
  131. package/esm2022/inputicon/inputicon.mjs +7 -7
  132. package/esm2022/inputmask/inputmask.mjs +36 -18
  133. package/esm2022/inputnumber/inputnumber.mjs +34 -16
  134. package/esm2022/inputotp/inputotp.mjs +13 -10
  135. package/esm2022/inputswitch/inputswitch.mjs +8 -9
  136. package/esm2022/inputtext/inputtext.mjs +27 -12
  137. package/esm2022/inputtextarea/inputtextarea.mjs +22 -11
  138. package/esm2022/keyfilter/keyfilter.mjs +7 -7
  139. package/esm2022/knob/knob.mjs +7 -7
  140. package/esm2022/listbox/listbox.mjs +7 -7
  141. package/esm2022/megamenu/megamenu.interface.mjs +1 -1
  142. package/esm2022/megamenu/megamenu.mjs +12 -12
  143. package/esm2022/menu/menu.mjs +31 -18
  144. package/esm2022/menubar/menubar.interface.mjs +1 -1
  145. package/esm2022/menubar/menubar.mjs +16 -16
  146. package/esm2022/message/message.mjs +18 -36
  147. package/esm2022/messages/messages.mjs +7 -7
  148. package/esm2022/metergroup/metergroup.mjs +10 -10
  149. package/esm2022/multiselect/multiselect.mjs +90 -37
  150. package/esm2022/orderlist/orderlist.mjs +7 -7
  151. package/esm2022/organizationchart/organizationchart.mjs +51 -35
  152. package/esm2022/overlay/overlay.mjs +7 -7
  153. package/esm2022/overlaypanel/overlaypanel.mjs +7 -7
  154. package/esm2022/paginator/paginator.mjs +10 -10
  155. package/esm2022/panel/panel.mjs +7 -7
  156. package/esm2022/panelmenu/panelmenu.interface.mjs +1 -1
  157. package/esm2022/panelmenu/panelmenu.mjs +64 -54
  158. package/esm2022/password/password.mjs +33 -16
  159. package/esm2022/picklist/picklist.mjs +11 -10
  160. package/esm2022/progressbar/progressbar.mjs +7 -7
  161. package/esm2022/progressspinner/progressspinner.mjs +7 -7
  162. package/esm2022/radiobutton/radiobutton.mjs +40 -18
  163. package/esm2022/rating/rating.mjs +7 -7
  164. package/esm2022/ripple/ripple.mjs +7 -7
  165. package/esm2022/scroller/scroller.mjs +11 -11
  166. package/esm2022/scrollpanel/scrollpanel.mjs +7 -7
  167. package/esm2022/scrolltop/scrolltop.mjs +7 -7
  168. package/esm2022/selectbutton/selectbutton.mjs +7 -7
  169. package/esm2022/sidebar/sidebar.mjs +7 -7
  170. package/esm2022/skeleton/skeleton.mjs +12 -12
  171. package/esm2022/slidemenu/slidemenu.mjs +10 -10
  172. package/esm2022/slider/slider.mjs +7 -7
  173. package/esm2022/speeddial/speeddial.mjs +7 -7
  174. package/esm2022/spinner/spinner.mjs +7 -7
  175. package/esm2022/splitbutton/splitbutton.mjs +20 -20
  176. package/esm2022/splitter/splitter.mjs +7 -7
  177. package/esm2022/stepper/stepper.mjs +19 -19
  178. package/esm2022/steps/steps.mjs +7 -7
  179. package/esm2022/styleclass/styleclass.mjs +7 -7
  180. package/esm2022/table/table.mjs +108 -87
  181. package/esm2022/tabmenu/tabmenu.mjs +7 -7
  182. package/esm2022/tabview/tabview.mjs +10 -10
  183. package/esm2022/tag/tag.mjs +9 -12
  184. package/esm2022/terminal/terminal.mjs +7 -7
  185. package/esm2022/terminal/terminalservice.mjs +3 -3
  186. package/esm2022/tieredmenu/tieredmenu.mjs +41 -37
  187. package/esm2022/timeline/timeline.mjs +9 -9
  188. package/esm2022/toast/toast.mjs +10 -10
  189. package/esm2022/togglebutton/togglebutton.mjs +7 -7
  190. package/esm2022/toolbar/toolbar.mjs +7 -7
  191. package/esm2022/tooltip/tooltip.mjs +25 -15
  192. package/esm2022/tree/tree.mjs +61 -21
  193. package/esm2022/treeselect/treeselect.mjs +18 -10
  194. package/esm2022/treetable/treetable.mjs +62 -60
  195. package/esm2022/tristatecheckbox/tristatecheckbox.mjs +25 -15
  196. package/esm2022/virtualscroller/virtualscroller.mjs +7 -7
  197. package/fesm2022/primeng-accordion.mjs +10 -10
  198. package/fesm2022/primeng-animate.mjs +7 -7
  199. package/fesm2022/primeng-animateonscroll.mjs +7 -7
  200. package/fesm2022/primeng-api.mjs +89 -36
  201. package/fesm2022/primeng-api.mjs.map +1 -1
  202. package/fesm2022/primeng-autocomplete.mjs +25 -14
  203. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  204. package/fesm2022/primeng-autofocus.mjs +7 -7
  205. package/fesm2022/primeng-avatar.mjs +7 -7
  206. package/fesm2022/primeng-avatargroup.mjs +7 -7
  207. package/fesm2022/primeng-badge.mjs +24 -17
  208. package/fesm2022/primeng-badge.mjs.map +1 -1
  209. package/fesm2022/primeng-baseicon.mjs +3 -3
  210. package/fesm2022/primeng-blockui.mjs +7 -7
  211. package/fesm2022/primeng-breadcrumb.mjs +7 -7
  212. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  213. package/fesm2022/primeng-button.mjs +10 -10
  214. package/fesm2022/primeng-button.mjs.map +1 -1
  215. package/fesm2022/primeng-buttongroup.mjs +7 -7
  216. package/fesm2022/primeng-calendar.mjs +156 -28
  217. package/fesm2022/primeng-calendar.mjs.map +1 -1
  218. package/fesm2022/primeng-card.mjs +7 -7
  219. package/fesm2022/primeng-carousel.mjs +7 -7
  220. package/fesm2022/primeng-cascadeselect.mjs +69 -20
  221. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  222. package/fesm2022/primeng-chart.mjs +7 -7
  223. package/fesm2022/primeng-checkbox.mjs +36 -14
  224. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  225. package/fesm2022/primeng-chip.mjs +7 -7
  226. package/fesm2022/primeng-chips.mjs +24 -14
  227. package/fesm2022/primeng-chips.mjs.map +1 -1
  228. package/fesm2022/primeng-colorpicker.mjs +7 -7
  229. package/fesm2022/primeng-confirmdialog.mjs +7 -7
  230. package/fesm2022/primeng-confirmpopup.mjs +7 -7
  231. package/fesm2022/primeng-contextmenu.mjs +10 -10
  232. package/fesm2022/primeng-dataview.mjs +11 -12
  233. package/fesm2022/primeng-dataview.mjs.map +1 -1
  234. package/fesm2022/primeng-defer.mjs +7 -7
  235. package/fesm2022/primeng-dialog.mjs +7 -7
  236. package/fesm2022/primeng-divider.mjs +7 -7
  237. package/fesm2022/primeng-dock.mjs +7 -7
  238. package/fesm2022/primeng-dragdrop.mjs +10 -10
  239. package/fesm2022/primeng-dropdown.mjs +126 -39
  240. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  241. package/fesm2022/primeng-dynamicdialog.mjs +18 -15
  242. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  243. package/fesm2022/primeng-editor.mjs +7 -7
  244. package/fesm2022/primeng-fieldset.mjs +7 -7
  245. package/fesm2022/primeng-fileupload.mjs +180 -112
  246. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  247. package/fesm2022/primeng-floatlabel.mjs +7 -7
  248. package/fesm2022/primeng-focustrap.mjs +7 -7
  249. package/fesm2022/primeng-galleria.mjs +19 -19
  250. package/fesm2022/primeng-iconfield.mjs +7 -7
  251. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  252. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  253. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  254. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  255. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  256. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  257. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  258. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  259. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  260. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  261. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  262. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  263. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  264. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  265. package/fesm2022/primeng-icons-ban.mjs +3 -3
  266. package/fesm2022/primeng-icons-bars.mjs +3 -3
  267. package/fesm2022/primeng-icons-blank.mjs +32 -0
  268. package/fesm2022/primeng-icons-blank.mjs.map +1 -0
  269. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  270. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  271. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  272. package/fesm2022/primeng-icons-check.mjs +3 -3
  273. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  274. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  275. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  276. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  277. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  278. package/fesm2022/primeng-icons-eye.mjs +3 -3
  279. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  280. package/fesm2022/primeng-icons-filter.mjs +3 -3
  281. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  282. package/fesm2022/primeng-icons-home.mjs +3 -3
  283. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  284. package/fesm2022/primeng-icons-minus.mjs +3 -3
  285. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  286. package/fesm2022/primeng-icons-plus.mjs +3 -3
  287. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  288. package/fesm2022/primeng-icons-search.mjs +3 -3
  289. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  290. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  291. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  292. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  293. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  294. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  295. package/fesm2022/primeng-icons-star.mjs +3 -3
  296. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  297. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  298. package/fesm2022/primeng-icons-times.mjs +3 -3
  299. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  300. package/fesm2022/primeng-icons-trash.mjs +3 -3
  301. package/fesm2022/primeng-icons-undo.mjs +3 -3
  302. package/fesm2022/primeng-icons-upload.mjs +3 -3
  303. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  304. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  305. package/fesm2022/primeng-image.mjs +7 -7
  306. package/fesm2022/primeng-inplace.mjs +13 -13
  307. package/fesm2022/primeng-inputgroup.mjs +7 -7
  308. package/fesm2022/primeng-inputgroupaddon.mjs +7 -7
  309. package/fesm2022/primeng-inputicon.mjs +7 -7
  310. package/fesm2022/primeng-inputmask.mjs +35 -17
  311. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  312. package/fesm2022/primeng-inputnumber.mjs +34 -16
  313. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  314. package/fesm2022/primeng-inputotp.mjs +12 -9
  315. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  316. package/fesm2022/primeng-inputswitch.mjs +7 -8
  317. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  318. package/fesm2022/primeng-inputtext.mjs +26 -11
  319. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  320. package/fesm2022/primeng-inputtextarea.mjs +21 -10
  321. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  322. package/fesm2022/primeng-keyfilter.mjs +7 -7
  323. package/fesm2022/primeng-knob.mjs +7 -7
  324. package/fesm2022/primeng-listbox.mjs +7 -7
  325. package/fesm2022/primeng-megamenu.mjs +11 -11
  326. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  327. package/fesm2022/primeng-menu.mjs +30 -17
  328. package/fesm2022/primeng-menu.mjs.map +1 -1
  329. package/fesm2022/primeng-menubar.mjs +15 -15
  330. package/fesm2022/primeng-menubar.mjs.map +1 -1
  331. package/fesm2022/primeng-message.mjs +17 -35
  332. package/fesm2022/primeng-message.mjs.map +1 -1
  333. package/fesm2022/primeng-messages.mjs +7 -7
  334. package/fesm2022/primeng-metergroup.mjs +10 -10
  335. package/fesm2022/primeng-multiselect.mjs +89 -36
  336. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  337. package/fesm2022/primeng-orderlist.mjs +7 -7
  338. package/fesm2022/primeng-organizationchart.mjs +50 -34
  339. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  340. package/fesm2022/primeng-overlay.mjs +7 -7
  341. package/fesm2022/primeng-overlaypanel.mjs +7 -7
  342. package/fesm2022/primeng-paginator.mjs +9 -9
  343. package/fesm2022/primeng-paginator.mjs.map +1 -1
  344. package/fesm2022/primeng-panel.mjs +7 -7
  345. package/fesm2022/primeng-panelmenu.mjs +63 -53
  346. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  347. package/fesm2022/primeng-password.mjs +32 -15
  348. package/fesm2022/primeng-password.mjs.map +1 -1
  349. package/fesm2022/primeng-picklist.mjs +10 -9
  350. package/fesm2022/primeng-picklist.mjs.map +1 -1
  351. package/fesm2022/primeng-progressbar.mjs +7 -7
  352. package/fesm2022/primeng-progressspinner.mjs +7 -7
  353. package/fesm2022/primeng-radiobutton.mjs +39 -17
  354. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  355. package/fesm2022/primeng-rating.mjs +7 -7
  356. package/fesm2022/primeng-ripple.mjs +7 -7
  357. package/fesm2022/primeng-scroller.mjs +10 -10
  358. package/fesm2022/primeng-scroller.mjs.map +1 -1
  359. package/fesm2022/primeng-scrollpanel.mjs +7 -7
  360. package/fesm2022/primeng-scrolltop.mjs +7 -7
  361. package/fesm2022/primeng-selectbutton.mjs +7 -7
  362. package/fesm2022/primeng-sidebar.mjs +7 -7
  363. package/fesm2022/primeng-skeleton.mjs +11 -11
  364. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  365. package/fesm2022/primeng-slidemenu.mjs +10 -10
  366. package/fesm2022/primeng-slider.mjs +7 -7
  367. package/fesm2022/primeng-speeddial.mjs +7 -7
  368. package/fesm2022/primeng-spinner.mjs +7 -7
  369. package/fesm2022/primeng-splitbutton.mjs +19 -19
  370. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  371. package/fesm2022/primeng-splitter.mjs +7 -7
  372. package/fesm2022/primeng-stepper.mjs +19 -19
  373. package/fesm2022/primeng-steps.mjs +7 -7
  374. package/fesm2022/primeng-styleclass.mjs +7 -7
  375. package/fesm2022/primeng-table.mjs +107 -86
  376. package/fesm2022/primeng-table.mjs.map +1 -1
  377. package/fesm2022/primeng-tabmenu.mjs +7 -7
  378. package/fesm2022/primeng-tabview.mjs +10 -10
  379. package/fesm2022/primeng-tag.mjs +8 -11
  380. package/fesm2022/primeng-tag.mjs.map +1 -1
  381. package/fesm2022/primeng-terminal.mjs +10 -10
  382. package/fesm2022/primeng-tieredmenu.mjs +40 -36
  383. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  384. package/fesm2022/primeng-timeline.mjs +9 -9
  385. package/fesm2022/primeng-timeline.mjs.map +1 -1
  386. package/fesm2022/primeng-toast.mjs +10 -10
  387. package/fesm2022/primeng-togglebutton.mjs +7 -7
  388. package/fesm2022/primeng-toolbar.mjs +7 -7
  389. package/fesm2022/primeng-tooltip.mjs +24 -14
  390. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  391. package/fesm2022/primeng-tree.mjs +60 -20
  392. package/fesm2022/primeng-tree.mjs.map +1 -1
  393. package/fesm2022/primeng-treeselect.mjs +17 -9
  394. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  395. package/fesm2022/primeng-treetable.mjs +61 -59
  396. package/fesm2022/primeng-treetable.mjs.map +1 -1
  397. package/fesm2022/primeng-tristatecheckbox.mjs +24 -14
  398. package/fesm2022/primeng-tristatecheckbox.mjs.map +1 -1
  399. package/fesm2022/primeng-virtualscroller.mjs +7 -7
  400. package/fileupload/fileupload.d.ts +23 -2
  401. package/fileupload/fileupload.interface.d.ts +73 -3
  402. package/icons/blank/blank.d.ts +6 -0
  403. package/icons/blank/index.d.ts +5 -0
  404. package/icons/blank/public_api.d.ts +1 -0
  405. package/inputmask/inputmask.d.ts +13 -3
  406. package/inputnumber/inputnumber.d.ts +6 -1
  407. package/inputotp/inputotp.d.ts +1 -1
  408. package/inputtext/inputtext.d.ts +14 -3
  409. package/inputtextarea/inputtextarea.d.ts +10 -3
  410. package/megamenu/megamenu.interface.d.ts +12 -0
  411. package/menu/menu.d.ts +1 -0
  412. package/menubar/menubar.interface.d.ts +17 -0
  413. package/message/message.d.ts +6 -2
  414. package/multiselect/multiselect.d.ts +21 -1
  415. package/organizationchart/organizationchart.d.ts +10 -2
  416. package/package.json +52 -46
  417. package/paginator/paginator.d.ts +4 -4
  418. package/panelmenu/panelmenu.d.ts +1 -0
  419. package/panelmenu/panelmenu.interface.d.ts +12 -0
  420. package/password/password.d.ts +12 -2
  421. package/radiobutton/radiobutton.d.ts +9 -2
  422. package/resources/components/dropdown/dropdown.css +6 -2
  423. package/resources/components/timeline/timeline.css +2 -0
  424. package/resources/themes/arya-blue/theme.css +117 -5
  425. package/resources/themes/arya-green/theme.css +117 -5
  426. package/resources/themes/arya-orange/theme.css +117 -5
  427. package/resources/themes/arya-purple/theme.css +117 -5
  428. package/resources/themes/aura-dark-amber/theme.css +174 -2
  429. package/resources/themes/aura-dark-blue/theme.css +174 -2
  430. package/resources/themes/aura-dark-cyan/theme.css +174 -2
  431. package/resources/themes/aura-dark-green/theme.css +174 -2
  432. package/resources/themes/aura-dark-indigo/theme.css +174 -2
  433. package/resources/themes/aura-dark-lime/theme.css +174 -2
  434. package/resources/themes/aura-dark-noir/theme.css +174 -2
  435. package/resources/themes/aura-dark-pink/theme.css +174 -2
  436. package/resources/themes/aura-dark-purple/theme.css +174 -2
  437. package/resources/themes/aura-dark-teal/theme.css +174 -2
  438. package/resources/themes/aura-light-amber/theme.css +174 -2
  439. package/resources/themes/aura-light-blue/theme.css +174 -2
  440. package/resources/themes/aura-light-cyan/theme.css +174 -2
  441. package/resources/themes/aura-light-green/theme.css +174 -2
  442. package/resources/themes/aura-light-indigo/theme.css +174 -2
  443. package/resources/themes/aura-light-lime/theme.css +174 -2
  444. package/resources/themes/aura-light-noir/theme.css +174 -2
  445. package/resources/themes/aura-light-pink/theme.css +174 -2
  446. package/resources/themes/aura-light-purple/theme.css +174 -2
  447. package/resources/themes/aura-light-teal/theme.css +174 -2
  448. package/resources/themes/bootstrap4-dark-blue/theme.css +166 -5
  449. package/resources/themes/bootstrap4-dark-purple/theme.css +166 -5
  450. package/resources/themes/bootstrap4-light-blue/theme.css +166 -5
  451. package/resources/themes/bootstrap4-light-purple/theme.css +166 -5
  452. package/resources/themes/fluent-light/theme.css +117 -5
  453. package/resources/themes/lara-dark-blue/theme.css +173 -1
  454. package/resources/themes/lara-dark-indigo/theme.css +173 -1
  455. package/resources/themes/lara-dark-purple/theme.css +173 -1
  456. package/resources/themes/lara-dark-teal/theme.css +173 -1
  457. package/resources/themes/lara-light-blue/theme.css +222 -1
  458. package/resources/themes/lara-light-indigo/theme.css +222 -1
  459. package/resources/themes/lara-light-purple/theme.css +222 -1
  460. package/resources/themes/lara-light-teal/theme.css +222 -1
  461. package/resources/themes/luna-amber/theme.css +117 -5
  462. package/resources/themes/luna-blue/theme.css +117 -5
  463. package/resources/themes/luna-green/theme.css +117 -5
  464. package/resources/themes/luna-pink/theme.css +117 -5
  465. package/resources/themes/md-dark-deeppurple/theme.css +187 -4
  466. package/resources/themes/md-dark-indigo/theme.css +187 -4
  467. package/resources/themes/md-light-deeppurple/theme.css +187 -4
  468. package/resources/themes/md-light-indigo/theme.css +187 -4
  469. package/resources/themes/mdc-dark-deeppurple/theme.css +187 -4
  470. package/resources/themes/mdc-dark-indigo/theme.css +187 -4
  471. package/resources/themes/mdc-light-deeppurple/theme.css +187 -4
  472. package/resources/themes/mdc-light-indigo/theme.css +187 -4
  473. package/resources/themes/mira/theme.css +117 -5
  474. package/resources/themes/nano/theme.css +117 -5
  475. package/resources/themes/nova/theme.css +117 -5
  476. package/resources/themes/nova-accent/theme.css +117 -5
  477. package/resources/themes/nova-alt/theme.css +117 -5
  478. package/resources/themes/rhea/theme.css +117 -5
  479. package/resources/themes/saga-blue/theme.css +117 -5
  480. package/resources/themes/saga-green/theme.css +117 -5
  481. package/resources/themes/saga-orange/theme.css +117 -5
  482. package/resources/themes/saga-purple/theme.css +117 -5
  483. package/resources/themes/soho-dark/theme.css +117 -5
  484. package/resources/themes/soho-light/theme.css +117 -5
  485. package/resources/themes/tailwind-light/theme.css +117 -5
  486. package/resources/themes/vela-blue/theme.css +117 -5
  487. package/resources/themes/vela-green/theme.css +117 -5
  488. package/resources/themes/vela-orange/theme.css +117 -5
  489. package/resources/themes/vela-purple/theme.css +117 -5
  490. package/resources/themes/viva-dark/theme.css +117 -5
  491. package/resources/themes/viva-light/theme.css +117 -5
  492. package/skeleton/skeleton.d.ts +3 -3
  493. package/table/table.d.ts +17 -1
  494. package/tag/tag.d.ts +2 -5
  495. package/tieredmenu/tieredmenu.d.ts +5 -4
  496. package/tooltip/tooltip.d.ts +1 -1
  497. package/tree/tree.d.ts +9 -2
  498. package/treeselect/treeselect.d.ts +7 -1
  499. package/treetable/treetable.d.ts +2 -1
  500. package/tristatecheckbox/tristatecheckbox.d.ts +9 -3
@@ -1,12 +1,13 @@
1
- import * as i1 from '@angular/common';
1
+ import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChildren, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
+ import * as i1 from 'primeng/api';
6
7
  import { PrimeTemplate, SharedModule } from 'primeng/api';
7
8
  import { CheckIcon } from 'primeng/icons/check';
8
9
  import { TimesIcon } from 'primeng/icons/times';
9
- import * as i2 from 'primeng/autofocus';
10
+ import * as i3 from 'primeng/autofocus';
10
11
  import { AutoFocusModule } from 'primeng/autofocus';
11
12
 
12
13
  const TRISTATECHECKBOX_VALUE_ACCESSOR = {
@@ -20,8 +21,10 @@ const TRISTATECHECKBOX_VALUE_ACCESSOR = {
20
21
  */
21
22
  class TriStateCheckbox {
22
23
  cd;
23
- constructor(cd) {
24
+ config;
25
+ constructor(cd, config) {
24
26
  this.cd = cd;
27
+ this.config = config;
25
28
  }
26
29
  /**
27
30
  * When present, it specifies that the element should be disabled.
@@ -43,6 +46,11 @@ class TriStateCheckbox {
43
46
  * @group Props
44
47
  */
45
48
  ariaLabelledBy;
49
+ /**
50
+ * Specifies the input variant of the component.
51
+ * @group Props
52
+ */
53
+ variant = 'outlined';
46
54
  /**
47
55
  * Index of the element in tabbing order.
48
56
  * @group Props
@@ -160,11 +168,11 @@ class TriStateCheckbox {
160
168
  this.disabled = disabled;
161
169
  this.cd.markForCheck();
162
170
  }
163
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
164
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.1", type: TriStateCheckbox, selector: "p-triStateCheckbox", inputs: { disabled: ["disabled", "disabled", booleanAttribute], name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", style: "style", styleClass: "styleClass", label: "label", readonly: ["readonly", "readonly", booleanAttribute], checkboxTrueIcon: "checkboxTrueIcon", checkboxFalseIcon: "checkboxFalseIcon", autofocus: ["autofocus", "autofocus", booleanAttribute] }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TRISTATECHECKBOX_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
171
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.PrimeNGConfig }], target: i0.ɵɵFactoryTarget.Component });
172
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.7", type: TriStateCheckbox, selector: "p-triStateCheckbox", inputs: { disabled: ["disabled", "disabled", booleanAttribute], name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", variant: "variant", tabindex: ["tabindex", "tabindex", numberAttribute], inputId: "inputId", style: "style", styleClass: "styleClass", label: "label", readonly: ["readonly", "readonly", booleanAttribute], checkboxTrueIcon: "checkboxTrueIcon", checkboxFalseIcon: "checkboxFalseIcon", autofocus: ["autofocus", "autofocus", booleanAttribute] }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TRISTATECHECKBOX_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
165
173
  <div
166
174
  [ngStyle]="style"
167
- [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }"
175
+ [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused, 'p-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }"
168
176
  [class]="styleClass"
169
177
  (click)="onClick($event, input)"
170
178
  [attr.data-pc-name]="'tristatecheckbox'"
@@ -212,16 +220,16 @@ class TriStateCheckbox {
212
220
  </div>
213
221
  </div>
214
222
  <label class="p-checkbox-label" (click)="onClick($event, input)" [ngClass]="{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }" *ngIf="label" [attr.for]="inputId">{{ label }}</label>
215
- `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => i2.AutoFocus), selector: "[pAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
223
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => i3.AutoFocus), selector: "[pAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
216
224
  }
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckbox, decorators: [{
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckbox, decorators: [{
218
226
  type: Component,
219
227
  args: [{
220
228
  selector: 'p-triStateCheckbox',
221
229
  template: `
222
230
  <div
223
231
  [ngStyle]="style"
224
- [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }"
232
+ [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused, 'p-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }"
225
233
  [class]="styleClass"
226
234
  (click)="onClick($event, input)"
227
235
  [attr.data-pc-name]="'tristatecheckbox'"
@@ -277,7 +285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
277
285
  class: 'p-element'
278
286
  }
279
287
  }]
280
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { disabled: [{
288
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.PrimeNGConfig }], propDecorators: { disabled: [{
281
289
  type: Input,
282
290
  args: [{ transform: booleanAttribute }]
283
291
  }], name: [{
@@ -286,6 +294,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
286
294
  type: Input
287
295
  }], ariaLabelledBy: [{
288
296
  type: Input
297
+ }], variant: [{
298
+ type: Input
289
299
  }], tabindex: [{
290
300
  type: Input,
291
301
  args: [{ transform: numberAttribute }]
@@ -314,11 +324,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
314
324
  args: [PrimeTemplate]
315
325
  }] } });
316
326
  class TriStateCheckboxModule {
317
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
318
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckboxModule, declarations: [TriStateCheckbox], imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon], exports: [TriStateCheckbox, SharedModule] });
319
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckboxModule, imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon, SharedModule] });
327
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
328
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckboxModule, declarations: [TriStateCheckbox], imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon], exports: [TriStateCheckbox, SharedModule] });
329
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckboxModule, imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon, SharedModule] });
320
330
  }
321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TriStateCheckboxModule, decorators: [{
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: TriStateCheckboxModule, decorators: [{
322
332
  type: NgModule,
323
333
  args: [{
324
334
  imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon],
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation, booleanAttribute, forwardRef, numberAttribute } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { TimesIcon } from 'primeng/icons/times';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { AutoFocusModule } from 'primeng/autofocus';\nimport { TriStateCheckboxChangeEvent } from './tristatecheckbox.interface';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n/**\n * TriStateCheckbox is used to select either 'true', 'false' or 'null' as the value.\n * @group Components\n */\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div\n [ngStyle]=\"style\"\n [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }\"\n [class]=\"styleClass\"\n (click)=\"onClick($event, input)\"\n [attr.data-pc-name]=\"'tristatecheckbox'\"\n [attr.data-pc-section]=\"'root'\"\n >\n <div class=\"p-hidden-accessible\">\n <input\n #input\n [attr.id]=\"inputId\"\n type=\"checkbox\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n inputmode=\"none\"\n [attr.data-pc-section]=\"'hiddenInput'\"\n pAutoFocus\n [autofocus]=\"autofocus\"\n />\n </div>\n <div class=\"p-checkbox-box\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <ng-container *ngIf=\"value === true\">\n <span *ngIf=\"checkboxTrueIcon\" [ngClass]=\"checkboxTrueIcon\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'checkIcon'\"></span>\n <ng-container *ngIf=\"!checkboxTrueIcon\">\n <CheckIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!checkIconTemplate\" [attr.data-pc-section]=\"'checkIcon'\" />\n <span *ngIf=\"checkIconTemplate\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'checkIcon'\">\n <ng-template *ngTemplateOutlet=\"checkIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"value === false\">\n <span *ngIf=\"checkboxFalseIcon\" [ngClass]=\"checkboxFalseIcon\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'uncheckIcon'\"></span>\n <ng-container *ngIf=\"!checkboxFalseIcon\">\n <TimesIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!uncheckIconTemplate\" [attr.data-pc-section]=\"'uncheckIcon'\" />\n <span class=\"p-checkbox-icon\" *ngIf=\"uncheckIconTemplate\" [attr.data-pc-section]=\"'uncheckIcon'\">\n <ng-template *ngTemplateOutlet=\"uncheckIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor {\n constructor(private cd: ChangeDetectorRef) {}\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined;\n /**\n * Name of the component.\n * @group Props\n */\n @Input() name: string | undefined;\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number | undefined;\n /**\n * Identifier of the focus input to match a label defined for the component.\n * @group Props\n */\n @Input() inputId: string | undefined;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Label of the checkbox.\n * @group Props\n */\n @Input() label: string | undefined;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean | undefined;\n /**\n * Specifies the icon for checkbox true value.\n * @group Props\n */\n @Input() checkboxTrueIcon: string | undefined;\n /**\n * Specifies the icon for checkbox false value.\n * @group Props\n */\n @Input() checkboxFalseIcon: string | undefined;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Callback to invoke on value change.\n * @param {TriStateCheckboxChangeEvent} event - Custom change event.\n * @group Emits\n */\n @Output() onChange: EventEmitter<TriStateCheckboxChangeEvent> = new EventEmitter<TriStateCheckboxChangeEvent>();\n\n @ContentChildren(PrimeTemplate) templates!: QueryList<PrimeTemplate>;\n\n checkIconTemplate: Nullable<TemplateRef<any>>;\n\n uncheckIconTemplate: Nullable<TemplateRef<any>>;\n\n focused: Nullable<boolean>;\n\n value: Nullable<boolean>;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n onClick(event: Event, input: HTMLInputElement) {\n if (!this.disabled && !this.readonly) {\n this.toggle(event);\n this.focused = true;\n input.focus();\n }\n }\n\n onKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n toggle(event: Event) {\n if (this.value == null || this.value == undefined) this.value = true;\n else if (this.value == true) this.value = false;\n else if (this.value == false) this.value = null;\n\n this.onModelChange(this.value);\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'checkicon':\n this.checkIconTemplate = item.template;\n break;\n\n case 'uncheckicon':\n this.uncheckIconTemplate = item.template;\n break;\n }\n });\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.cd.markForCheck();\n }\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n this.cd.markForCheck();\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon],\n exports: [TriStateCheckbox, SharedModule],\n declarations: [TriStateCheckbox]\n})\nexport class TriStateCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;AAUa,MAAA,+BAA+B,GAAQ;AAChD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;EACb;AACF;;;AAGG;MA8DU,gBAAgB,CAAA;AACL,IAAA,EAAA,CAAA;AAApB,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;KAAI;AAC7C;;;AAGG;AACqC,IAAA,QAAQ,CAAsB;AACtE;;;AAGG;AACM,IAAA,IAAI,CAAqB;AAClC;;;AAGG;AACM,IAAA,SAAS,CAAqB;AACvC;;;AAGG;AACM,IAAA,cAAc,CAAqB;AAC5C;;;AAGG;AACoC,IAAA,QAAQ,CAAqB;AACpE;;;AAGG;AACM,IAAA,OAAO,CAAqB;AACrC;;;AAGG;AACM,IAAA,KAAK,CAA8C;AAC5D;;;AAGG;AACM,IAAA,UAAU,CAAqB;AACxC;;;AAGG;AACM,IAAA,KAAK,CAAqB;AACnC;;;AAGG;AACqC,IAAA,QAAQ,CAAsB;AACtE;;;AAGG;AACM,IAAA,gBAAgB,CAAqB;AAC9C;;;AAGG;AACM,IAAA,iBAAiB,CAAqB;AAC/C;;;AAGG;AACqC,IAAA,SAAS,CAAsB;AACvE;;;;AAIG;AACO,IAAA,QAAQ,GAA8C,IAAI,YAAY,EAA+B,CAAC;AAEhF,IAAA,SAAS,CAA4B;AAErE,IAAA,iBAAiB,CAA6B;AAE9C,IAAA,mBAAmB,CAA6B;AAEhD,IAAA,OAAO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AsB,EAAA,OAAA,EAAA,CAJrB,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAC/C,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAG/B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,CAAC;AAC5E,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;oBACzC,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACnC,iBAAA,CAAA;;;ACjPD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation, booleanAttribute, forwardRef, numberAttribute } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { PrimeNGConfig, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { TimesIcon } from 'primeng/icons/times';\nimport { Nullable } from 'primeng/ts-helpers';\nimport { AutoFocusModule } from 'primeng/autofocus';\nimport { TriStateCheckboxChangeEvent } from './tristatecheckbox.interface';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n/**\n * TriStateCheckbox is used to select either 'true', 'false' or 'null' as the value.\n * @group Components\n */\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div\n [ngStyle]=\"style\"\n [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused, 'p-variant-filled': variant === 'filled' || config.inputStyle() === 'filled' }\"\n [class]=\"styleClass\"\n (click)=\"onClick($event, input)\"\n [attr.data-pc-name]=\"'tristatecheckbox'\"\n [attr.data-pc-section]=\"'root'\"\n >\n <div class=\"p-hidden-accessible\">\n <input\n #input\n [attr.id]=\"inputId\"\n type=\"checkbox\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keydown)=\"onKeyDown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n inputmode=\"none\"\n [attr.data-pc-section]=\"'hiddenInput'\"\n pAutoFocus\n [autofocus]=\"autofocus\"\n />\n </div>\n <div class=\"p-checkbox-box\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <ng-container *ngIf=\"value === true\">\n <span *ngIf=\"checkboxTrueIcon\" [ngClass]=\"checkboxTrueIcon\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'checkIcon'\"></span>\n <ng-container *ngIf=\"!checkboxTrueIcon\">\n <CheckIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!checkIconTemplate\" [attr.data-pc-section]=\"'checkIcon'\" />\n <span *ngIf=\"checkIconTemplate\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'checkIcon'\">\n <ng-template *ngTemplateOutlet=\"checkIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"value === false\">\n <span *ngIf=\"checkboxFalseIcon\" [ngClass]=\"checkboxFalseIcon\" class=\"p-checkbox-icon\" [attr.data-pc-section]=\"'uncheckIcon'\"></span>\n <ng-container *ngIf=\"!checkboxFalseIcon\">\n <TimesIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!uncheckIconTemplate\" [attr.data-pc-section]=\"'uncheckIcon'\" />\n <span class=\"p-checkbox-icon\" *ngIf=\"uncheckIconTemplate\" [attr.data-pc-section]=\"'uncheckIcon'\">\n <ng-template *ngTemplateOutlet=\"uncheckIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor {\n constructor(private cd: ChangeDetectorRef, public config: PrimeNGConfig) {}\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined;\n /**\n * Name of the component.\n * @group Props\n */\n @Input() name: string | undefined;\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'filled' | 'outlined' = 'outlined';\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number | undefined;\n /**\n * Identifier of the focus input to match a label defined for the component.\n * @group Props\n */\n @Input() inputId: string | undefined;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Label of the checkbox.\n * @group Props\n */\n @Input() label: string | undefined;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean | undefined;\n /**\n * Specifies the icon for checkbox true value.\n * @group Props\n */\n @Input() checkboxTrueIcon: string | undefined;\n /**\n * Specifies the icon for checkbox false value.\n * @group Props\n */\n @Input() checkboxFalseIcon: string | undefined;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Callback to invoke on value change.\n * @param {TriStateCheckboxChangeEvent} event - Custom change event.\n * @group Emits\n */\n @Output() onChange: EventEmitter<TriStateCheckboxChangeEvent> = new EventEmitter<TriStateCheckboxChangeEvent>();\n\n @ContentChildren(PrimeTemplate) templates!: QueryList<PrimeTemplate>;\n\n checkIconTemplate: Nullable<TemplateRef<any>>;\n\n uncheckIconTemplate: Nullable<TemplateRef<any>>;\n\n focused: Nullable<boolean>;\n\n value: Nullable<boolean>;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n onClick(event: Event, input: HTMLInputElement) {\n if (!this.disabled && !this.readonly) {\n this.toggle(event);\n this.focused = true;\n input.focus();\n }\n }\n\n onKeyDown(event: KeyboardEvent) {\n if (event.key === 'Enter') {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n toggle(event: Event) {\n if (this.value == null || this.value == undefined) this.value = true;\n else if (this.value == true) this.value = false;\n else if (this.value == false) this.value = null;\n\n this.onModelChange(this.value);\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'checkicon':\n this.checkIconTemplate = item.template;\n break;\n\n case 'uncheckicon':\n this.uncheckIconTemplate = item.template;\n break;\n }\n });\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.cd.markForCheck();\n }\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n this.cd.markForCheck();\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, AutoFocusModule, CheckIcon, TimesIcon],\n exports: [TriStateCheckbox, SharedModule],\n declarations: [TriStateCheckbox]\n})\nexport class TriStateCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAUa,MAAA,+BAA+B,GAAQ;AAChD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;EACb;AACF;;;AAGG;MA8DU,gBAAgB,CAAA;AACL,IAAA,EAAA,CAAA;AAA8B,IAAA,MAAA,CAAA;IAAlD,WAAoB,CAAA,EAAqB,EAAS,MAAqB,EAAA;QAAnD,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAAS,IAAM,CAAA,MAAA,GAAN,MAAM,CAAe;KAAI;AAC3E;;;AAGG;AACqC,IAAA,QAAQ,CAAsB;AACtE;;;AAGG;AACM,IAAA,IAAI,CAAqB;AAClC;;;AAGG;AACM,IAAA,SAAS,CAAqB;AACvC;;;AAGG;AACM,IAAA,cAAc,CAAqB;AAC5C;;;AAGG;IACM,OAAO,GAA0B,UAAU,CAAC;AACrD;;;AAGG;AACoC,IAAA,QAAQ,CAAqB;AACpE;;;AAGG;AACM,IAAA,OAAO,CAAqB;AACrC;;;AAGG;AACM,IAAA,KAAK,CAA8C;AAC5D;;;AAGG;AACM,IAAA,UAAU,CAAqB;AACxC;;;AAGG;AACM,IAAA,KAAK,CAAqB;AACnC;;;AAGG;AACqC,IAAA,QAAQ,CAAsB;AACtE;;;AAGG;AACM,IAAA,gBAAgB,CAAqB;AAC9C;;;AAGG;AACM,IAAA,iBAAiB,CAAqB;AAC/C;;;AAGG;AACqC,IAAA,SAAS,CA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AA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAvKtB,YAAA,EAAA,CAAA,gBAAgB,CAmKf,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,CAnKlE,EAAA,OAAA,EAAA,CAAA,gBAAgB,EAoKG,YAAY,CAAA,EAAA,CAAA,CAAA;wGAG/B,sBAAsB,EAAA,OAAA,EAAA,CAJrB,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAC/C,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAG/B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,CAAC;AAC5E,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;oBACzC,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACnC,iBAAA,CAAA;;;ACtPD;;AAEG;;;;"}
@@ -112,8 +112,8 @@ class VirtualScroller {
112
112
  scrollToIndex(index, mode) {
113
113
  this.scroller?.scrollToIndex(index, mode);
114
114
  }
115
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
116
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.1", type: VirtualScroller, selector: "p-virtualScroller", inputs: { value: "value", itemSize: ["itemSize", "itemSize", numberAttribute], style: "style", styleClass: "styleClass", scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], options: "options", delay: ["delay", "delay", numberAttribute] }, outputs: { onLazyLoad: "onLazyLoad" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "header", first: true, predicate: Header, descendants: true }, { propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], ngImport: i0, template: `
115
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
116
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.7", type: VirtualScroller, selector: "p-virtualScroller", inputs: { value: "value", itemSize: ["itemSize", "itemSize", numberAttribute], style: "style", styleClass: "styleClass", scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], options: "options", delay: ["delay", "delay", numberAttribute] }, outputs: { onLazyLoad: "onLazyLoad" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "header", first: true, predicate: Header, descendants: true }, { propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], ngImport: i0, template: `
117
117
  <div [ngClass]="'p-virtualscroller p-component'" [ngStyle]="style" [class]="styleClass" [attr.data-pc-name]="'virtualscroller'" [attr.data-pc-section]="'root'">
118
118
  <div class="p-virtualscroller-header" *ngIf="header || headerTemplate">
119
119
  <ng-content select="p-header"></ng-content>
@@ -135,7 +135,7 @@ class VirtualScroller {
135
135
  </div>
136
136
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Scroller, selector: "p-scroller", inputs: ["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"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
137
137
  }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: VirtualScroller, decorators: [{
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VirtualScroller, decorators: [{
139
139
  type: Component,
140
140
  args: [{
141
141
  selector: 'p-virtualScroller',
@@ -201,11 +201,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImpor
201
201
  args: ['scroller']
202
202
  }] } });
203
203
  class VirtualScrollerModule {
204
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: VirtualScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
205
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: VirtualScrollerModule, declarations: [VirtualScroller], imports: [CommonModule, SharedModule, ScrollerModule], exports: [VirtualScroller, SharedModule, ScrollerModule] });
206
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: VirtualScrollerModule, imports: [CommonModule, SharedModule, ScrollerModule, SharedModule, ScrollerModule] });
204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VirtualScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
205
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.7", ngImport: i0, type: VirtualScrollerModule, declarations: [VirtualScroller], imports: [CommonModule, SharedModule, ScrollerModule], exports: [VirtualScroller, SharedModule, ScrollerModule] });
206
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VirtualScrollerModule, imports: [CommonModule, SharedModule, ScrollerModule, SharedModule, ScrollerModule] });
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: VirtualScrollerModule, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.7", ngImport: i0, type: VirtualScrollerModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  imports: [CommonModule, SharedModule, ScrollerModule],
@@ -4,7 +4,7 @@ import { DomSanitizer } from '@angular/platform-browser';
4
4
  import { BlockableUI, Message, PrimeNGConfig, PrimeTemplate } from 'primeng/api';
5
5
  import { VoidListener } from 'primeng/ts-helpers';
6
6
  import { Subscription } from 'rxjs';
7
- import { FileBeforeUploadEvent, FileProgressEvent, FileRemoveEvent, FileSelectEvent, FileSendEvent, FileUploadErrorEvent, FileUploadEvent, FileUploadHandlerEvent } from './fileupload.interface';
7
+ import { FileBeforeUploadEvent, FileProgressEvent, FileRemoveEvent, FileSelectEvent, FileSendEvent, FileUploadErrorEvent, FileUploadEvent, FileUploadHandlerEvent, RemoveUploadedFileEvent } from './fileupload.interface';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@angular/common";
10
10
  import * as i2 from "primeng/api";
@@ -261,6 +261,12 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
261
261
  * @group Emits
262
262
  */
263
263
  onImageError: EventEmitter<Event>;
264
+ /**
265
+ * This event is triggered if an error occurs while loading an image file.
266
+ * @param {RemoveUploadedFileEvent} event - Remove event.
267
+ * @group Emits
268
+ */
269
+ onRemoveUploadedFile: EventEmitter<RemoveUploadedFileEvent>;
264
270
  templates: QueryList<PrimeTemplate> | undefined;
265
271
  advancedFileInput: ElementRef | undefined | any;
266
272
  basicFileInput: ElementRef | undefined;
@@ -273,17 +279,20 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
273
279
  dragHighlight: boolean | undefined;
274
280
  msgs: Message[] | undefined;
275
281
  fileTemplate: TemplateRef<any> | undefined;
282
+ headerTemplate: TemplateRef<any> | undefined;
276
283
  contentTemplate: TemplateRef<any> | undefined;
277
284
  toolbarTemplate: TemplateRef<any> | undefined;
278
285
  chooseIconTemplate: TemplateRef<any> | undefined;
279
286
  uploadIconTemplate: TemplateRef<any> | undefined;
280
287
  cancelIconTemplate: TemplateRef<any> | undefined;
288
+ emptyTemplate: TemplateRef<any> | undefined;
281
289
  uploadedFileCount: number;
282
290
  focus: boolean | undefined;
283
291
  uploading: boolean | undefined;
284
292
  duplicateIEEvent: boolean | undefined;
285
293
  translationSubscription: Subscription | undefined;
286
294
  dragOverListener: VoidListener;
295
+ uploadedFiles: any[];
287
296
  constructor(document: Document, platformId: any, renderer: Renderer2, el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig);
288
297
  ngAfterContentInit(): void;
289
298
  ngOnInit(): void;
@@ -310,7 +319,19 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
310
319
  * @group Method
311
320
  */
312
321
  clear(): void;
322
+ /**
323
+ * Removes a single file.
324
+ * @param {Event} event - Browser event.
325
+ * @param {Number} index - Index of the file.
326
+ * @group Method
327
+ */
313
328
  remove(event: Event, index: number): void;
329
+ /**
330
+ * Removes uploaded file.
331
+ * @param {Number} index - Index of the file to be removed.
332
+ * @group Method
333
+ */
334
+ removeUploadedFile(index: any): void;
314
335
  isFileLimitExceeded(): boolean;
315
336
  isChooseDisabled(): boolean;
316
337
  checkFileLimit(files: File[]): void;
@@ -334,7 +355,7 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
334
355
  get browseFilesLabel(): string;
335
356
  ngOnDestroy(): void;
336
357
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUpload, never>;
337
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUpload, "p-fileUpload", never, { "name": { "alias": "name"; "required": false; }; "url": { "alias": "url"; "required": false; }; "method": { "alias": "method"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "auto": { "alias": "auto"; "required": false; }; "withCredentials": { "alias": "withCredentials"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "invalidFileSizeMessageSummary": { "alias": "invalidFileSizeMessageSummary"; "required": false; }; "invalidFileSizeMessageDetail": { "alias": "invalidFileSizeMessageDetail"; "required": false; }; "invalidFileTypeMessageSummary": { "alias": "invalidFileTypeMessageSummary"; "required": false; }; "invalidFileTypeMessageDetail": { "alias": "invalidFileTypeMessageDetail"; "required": false; }; "invalidFileLimitMessageDetail": { "alias": "invalidFileLimitMessageDetail"; "required": false; }; "invalidFileLimitMessageSummary": { "alias": "invalidFileLimitMessageSummary"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "previewWidth": { "alias": "previewWidth"; "required": false; }; "chooseLabel": { "alias": "chooseLabel"; "required": false; }; "uploadLabel": { "alias": "uploadLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "chooseIcon": { "alias": "chooseIcon"; "required": false; }; "uploadIcon": { "alias": "uploadIcon"; "required": false; }; "cancelIcon": { "alias": "cancelIcon"; "required": false; }; "showUploadButton": { "alias": "showUploadButton"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "customUpload": { "alias": "customUpload"; "required": false; }; "fileLimit": { "alias": "fileLimit"; "required": false; }; "uploadStyleClass": { "alias": "uploadStyleClass"; "required": false; }; "cancelStyleClass": { "alias": "cancelStyleClass"; "required": false; }; "removeStyleClass": { "alias": "removeStyleClass"; "required": false; }; "chooseStyleClass": { "alias": "chooseStyleClass"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, { "onBeforeUpload": "onBeforeUpload"; "onSend": "onSend"; "onUpload": "onUpload"; "onError": "onError"; "onClear": "onClear"; "onRemove": "onRemove"; "onSelect": "onSelect"; "onProgress": "onProgress"; "uploadHandler": "uploadHandler"; "onImageError": "onImageError"; }, ["templates"], never, false, never>;
358
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUpload, "p-fileUpload", never, { "name": { "alias": "name"; "required": false; }; "url": { "alias": "url"; "required": false; }; "method": { "alias": "method"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "auto": { "alias": "auto"; "required": false; }; "withCredentials": { "alias": "withCredentials"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "invalidFileSizeMessageSummary": { "alias": "invalidFileSizeMessageSummary"; "required": false; }; "invalidFileSizeMessageDetail": { "alias": "invalidFileSizeMessageDetail"; "required": false; }; "invalidFileTypeMessageSummary": { "alias": "invalidFileTypeMessageSummary"; "required": false; }; "invalidFileTypeMessageDetail": { "alias": "invalidFileTypeMessageDetail"; "required": false; }; "invalidFileLimitMessageDetail": { "alias": "invalidFileLimitMessageDetail"; "required": false; }; "invalidFileLimitMessageSummary": { "alias": "invalidFileLimitMessageSummary"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "previewWidth": { "alias": "previewWidth"; "required": false; }; "chooseLabel": { "alias": "chooseLabel"; "required": false; }; "uploadLabel": { "alias": "uploadLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "chooseIcon": { "alias": "chooseIcon"; "required": false; }; "uploadIcon": { "alias": "uploadIcon"; "required": false; }; "cancelIcon": { "alias": "cancelIcon"; "required": false; }; "showUploadButton": { "alias": "showUploadButton"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "customUpload": { "alias": "customUpload"; "required": false; }; "fileLimit": { "alias": "fileLimit"; "required": false; }; "uploadStyleClass": { "alias": "uploadStyleClass"; "required": false; }; "cancelStyleClass": { "alias": "cancelStyleClass"; "required": false; }; "removeStyleClass": { "alias": "removeStyleClass"; "required": false; }; "chooseStyleClass": { "alias": "chooseStyleClass"; "required": false; }; "files": { "alias": "files"; "required": false; }; }, { "onBeforeUpload": "onBeforeUpload"; "onSend": "onSend"; "onUpload": "onUpload"; "onError": "onError"; "onClear": "onClear"; "onRemove": "onRemove"; "onSelect": "onSelect"; "onProgress": "onProgress"; "uploadHandler": "uploadHandler"; "onImageError": "onImageError"; "onRemoveUploadedFile": "onRemoveUploadedFile"; }, ["templates"], never, false, never>;
338
359
  static ngAcceptInputType_multiple: unknown;
339
360
  static ngAcceptInputType_disabled: unknown;
340
361
  static ngAcceptInputType_auto: unknown;
@@ -10,6 +10,20 @@ export interface UploadEvent {
10
10
  */
11
11
  originalEvent: HttpEvent<any>;
12
12
  }
13
+ /**
14
+ * Remove uploaded file event.
15
+ * @group Events
16
+ */
17
+ export interface RemoveUploadedFileEvent {
18
+ /**
19
+ * Removed file.
20
+ */
21
+ file: any;
22
+ /**
23
+ * Uploaded files.
24
+ */
25
+ files: any[];
26
+ }
13
27
  /**
14
28
  * Form data event.
15
29
  * @group Events
@@ -126,6 +140,31 @@ export interface FileUploadTemplates {
126
140
  * Custom template of file.
127
141
  */
128
142
  file(): TemplateRef<any>;
143
+ /**
144
+ * Custom template of file.
145
+ */
146
+ header(context: {
147
+ /**
148
+ * File list.
149
+ */
150
+ $implicit: any;
151
+ /**
152
+ * Uploaded files list.
153
+ */
154
+ uploadedFiles: any;
155
+ /**
156
+ * Callback to invoke on choose button click.
157
+ */
158
+ chooseCallback: VoidFunction;
159
+ /**
160
+ * Callback to invoke on clear button click.
161
+ */
162
+ clearCallback: VoidFunction;
163
+ /**
164
+ * Callback to invoke on upload.
165
+ */
166
+ uploadCallback: VoidFunction;
167
+ }): TemplateRef<any>;
129
168
  /**
130
169
  * Custom template of content.
131
170
  */
@@ -134,9 +173,40 @@ export interface FileUploadTemplates {
134
173
  * File list.
135
174
  */
136
175
  $implicit: any;
137
- }): TemplateRef<{
138
- $implicit: any;
139
- }>;
176
+ /**
177
+ * Uploaded files list.
178
+ */
179
+ uploadedFiles: any;
180
+ /**
181
+ * Upload progress.
182
+ */
183
+ progress: any;
184
+ /**
185
+ * Status messages about upload process.
186
+ */
187
+ messages: any;
188
+ /**
189
+ * Callback to invoke on choose button click.
190
+ */
191
+ chooseCallback: VoidFunction;
192
+ /**
193
+ * Callback to invoke on clear button click.
194
+ */
195
+ removeFileCallback: VoidFunction;
196
+ /**
197
+ * Callback to invoke on clear button click.
198
+ */
199
+ clearCallback: VoidFunction;
200
+ /**
201
+ * Callback to invoke on upload.
202
+ */
203
+ uploadCallback: VoidFunction;
204
+ /**
205
+ * Callback to invoke on remove uploaded file, accepts index as a parameter.
206
+ * @param index Index of the file to remove.
207
+ */
208
+ removeUploadedFileCallback: VoidFunction;
209
+ }): TemplateRef<any>;
140
210
  /**
141
211
  * Custom template of toolbar.
142
212
  */
@@ -0,0 +1,6 @@
1
+ import { BaseIcon } from 'primeng/baseicon';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BlankIcon extends BaseIcon {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlankIcon, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlankIcon, "BlankIcon", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="primeng/icons/blank" />
5
+ export * from './public_api';
@@ -0,0 +1 @@
1
+ export * from './blank';
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { PrimeTemplate } from 'primeng/api';
3
+ import { PrimeNGConfig, PrimeTemplate } from 'primeng/api';
4
4
  import { Nullable } from 'primeng/ts-helpers';
5
5
  import { Caret } from './inputmask.interface';
6
6
  import * as i0 from "@angular/core";
@@ -19,6 +19,7 @@ export declare class InputMask implements OnInit, ControlValueAccessor {
19
19
  private platformId;
20
20
  el: ElementRef;
21
21
  cd: ChangeDetectorRef;
22
+ config: PrimeNGConfig;
22
23
  /**
23
24
  * HTML5 input type.
24
25
  * @group Props
@@ -81,6 +82,11 @@ export declare class InputMask implements OnInit, ControlValueAccessor {
81
82
  * @group Props
82
83
  */
83
84
  title: string | undefined;
85
+ /**
86
+ * Specifies the input variant of the component.
87
+ * @group Props
88
+ */
89
+ variant: 'filled' | 'outlined';
84
90
  /**
85
91
  * Used to define a string that labels the input element.
86
92
  * @group Props
@@ -211,7 +217,11 @@ export declare class InputMask implements OnInit, ControlValueAccessor {
211
217
  caretTimeoutId: any;
212
218
  androidChrome: boolean;
213
219
  focused: Nullable<boolean>;
214
- constructor(document: Document, platformId: any, el: ElementRef, cd: ChangeDetectorRef);
220
+ _variant: 'filled' | 'outlined';
221
+ get inputClass(): {
222
+ 'p-inputmask': boolean;
223
+ };
224
+ constructor(document: Document, platformId: any, el: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig);
215
225
  ngOnInit(): void;
216
226
  ngAfterContentInit(): void;
217
227
  initMask(): void;
@@ -242,7 +252,7 @@ export declare class InputMask implements OnInit, ControlValueAccessor {
242
252
  focus(): void;
243
253
  clear(): void;
244
254
  static ɵfac: i0.ɵɵFactoryDeclaration<InputMask, never>;
245
- static ɵcmp: i0.ɵɵComponentDeclaration<InputMask, "p-inputMask", never, { "type": { "alias": "type"; "required": false; }; "slotChar": { "alias": "slotChar"; "required": false; }; "autoClear": { "alias": "autoClear"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "style": { "alias": "style"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "title": { "alias": "title"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "characterPattern": { "alias": "characterPattern"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "keepBuffer": { "alias": "keepBuffer"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, { "onComplete": "onComplete"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onInput": "onInput"; "onKeydown": "onKeydown"; "onClear": "onClear"; }, ["templates"], never, false, never>;
255
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputMask, "p-inputMask", never, { "type": { "alias": "type"; "required": false; }; "slotChar": { "alias": "slotChar"; "required": false; }; "autoClear": { "alias": "autoClear"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "style": { "alias": "style"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "title": { "alias": "title"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "unmask": { "alias": "unmask"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "characterPattern": { "alias": "characterPattern"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "keepBuffer": { "alias": "keepBuffer"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, { "onComplete": "onComplete"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onInput": "onInput"; "onKeydown": "onKeydown"; "onClear": "onClear"; }, ["templates"], never, false, never>;
246
256
  static ngAcceptInputType_autoClear: unknown;
247
257
  static ngAcceptInputType_showClear: unknown;
248
258
  static ngAcceptInputType_size: unknown;
@@ -184,6 +184,11 @@ export declare class InputNumber implements OnInit, AfterContentInit, OnChanges,
184
184
  * @group Props
185
185
  */
186
186
  useGrouping: boolean;
187
+ /**
188
+ * Specifies the input variant of the component.
189
+ * @group Props
190
+ */
191
+ variant: 'filled' | 'outlined';
187
192
  /**
188
193
  * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).
189
194
  * @group Props
@@ -372,7 +377,7 @@ export declare class InputNumber implements OnInit, AfterContentInit, OnChanges,
372
377
  get filled(): boolean;
373
378
  clearTimer(): void;
374
379
  static ɵfac: i0.ɵɵFactoryDeclaration<InputNumber, never>;
375
- static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "p-inputNumber", never, { "showButtons": { "alias": "showButtons"; "required": false; }; "format": { "alias": "format"; "required": false; }; "buttonLayout": { "alias": "buttonLayout"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "title": { "alias": "title"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incrementButtonClass": { "alias": "incrementButtonClass"; "required": false; }; "decrementButtonClass": { "alias": "decrementButtonClass"; "required": false; }; "incrementButtonIcon": { "alias": "incrementButtonIcon"; "required": false; }; "decrementButtonIcon": { "alias": "decrementButtonIcon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "localeMatcher": { "alias": "localeMatcher"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "currencyDisplay": { "alias": "currencyDisplay"; "required": false; }; "useGrouping": { "alias": "useGrouping"; "required": false; }; "minFractionDigits": { "alias": "minFractionDigits"; "required": false; }; "maxFractionDigits": { "alias": "maxFractionDigits"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyDown": "onKeyDown"; "onClear": "onClear"; }, ["templates"], never, false, never>;
380
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "p-inputNumber", never, { "showButtons": { "alias": "showButtons"; "required": false; }; "format": { "alias": "format"; "required": false; }; "buttonLayout": { "alias": "buttonLayout"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "size": { "alias": "size"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "title": { "alias": "title"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incrementButtonClass": { "alias": "incrementButtonClass"; "required": false; }; "decrementButtonClass": { "alias": "decrementButtonClass"; "required": false; }; "incrementButtonIcon": { "alias": "incrementButtonIcon"; "required": false; }; "decrementButtonIcon": { "alias": "decrementButtonIcon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "localeMatcher": { "alias": "localeMatcher"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "currencyDisplay": { "alias": "currencyDisplay"; "required": false; }; "useGrouping": { "alias": "useGrouping"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "minFractionDigits": { "alias": "minFractionDigits"; "required": false; }; "maxFractionDigits": { "alias": "maxFractionDigits"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onInput": "onInput"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyDown": "onKeyDown"; "onClear": "onClear"; }, ["templates"], never, false, never>;
376
381
  static ngAcceptInputType_showButtons: unknown;
377
382
  static ngAcceptInputType_format: unknown;
378
383
  static ngAcceptInputType_size: unknown;
@@ -33,7 +33,7 @@ export declare class InputOtp implements AfterContentInit {
33
33
  * Specifies the input variant of the component.
34
34
  * @group Props
35
35
  */
36
- variant: string | null;
36
+ variant: 'filled' | 'outlined';
37
37
  /**
38
38
  * Index of the element in tabbing order.
39
39
  * @group Props
@@ -1,20 +1,31 @@
1
1
  import { ElementRef, DoCheck, ChangeDetectorRef, AfterViewInit } from '@angular/core';
2
2
  import { NgModel } from '@angular/forms';
3
3
  import { Nullable } from 'primeng/ts-helpers';
4
+ import { PrimeNGConfig } from 'primeng/api';
4
5
  import * as i0 from "@angular/core";
5
6
  import * as i1 from "@angular/common";
7
+ /**
8
+ * InputText directive is an extension to standard input element with theming.
9
+ * @group Components
10
+ */
6
11
  export declare class InputText implements DoCheck, AfterViewInit {
7
12
  el: ElementRef;
8
13
  ngModel: NgModel;
9
14
  private cd;
15
+ config: PrimeNGConfig;
16
+ /**
17
+ * Specifies the input variant of the component.
18
+ * @group Props
19
+ */
20
+ variant: 'filled' | 'outlined';
10
21
  filled: Nullable<boolean>;
11
- constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef);
22
+ constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef, config: PrimeNGConfig);
12
23
  ngAfterViewInit(): void;
13
24
  ngDoCheck(): void;
14
25
  onInput(): void;
15
26
  updateFilledState(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputText, "[pInputText]", never, {}, {}, never, never, false, never>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null, null]>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputText, "[pInputText]", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, false, never>;
18
29
  }
19
30
  export declare class InputTextModule {
20
31
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTextModule, never>;