primereact 8.7.3 → 9.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 (906) hide show
  1. package/accordion/accordion.cjs.js +69 -50
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.d.ts +168 -25
  4. package/accordion/accordion.esm.js +70 -51
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +69 -50
  7. package/accordion/accordion.min.js +1 -1
  8. package/accordion/package.json +2 -1
  9. package/api/api.cjs.js +22 -20
  10. package/api/api.cjs.min.js +1 -1
  11. package/api/api.d.ts +11 -3
  12. package/api/api.esm.js +22 -20
  13. package/api/api.esm.min.js +1 -1
  14. package/api/api.js +22 -20
  15. package/api/api.min.js +1 -1
  16. package/api/package.json +2 -1
  17. package/autocomplete/autocomplete.cjs.js +98 -76
  18. package/autocomplete/autocomplete.cjs.min.js +1 -1
  19. package/autocomplete/autocomplete.d.ts +385 -80
  20. package/autocomplete/autocomplete.esm.js +99 -77
  21. package/autocomplete/autocomplete.esm.min.js +1 -1
  22. package/autocomplete/autocomplete.js +98 -76
  23. package/autocomplete/autocomplete.min.js +1 -1
  24. package/autocomplete/package.json +2 -1
  25. package/avatar/avatar.cjs.js +29 -22
  26. package/avatar/avatar.cjs.min.js +1 -1
  27. package/avatar/avatar.d.ts +77 -15
  28. package/avatar/avatar.esm.js +29 -22
  29. package/avatar/avatar.esm.min.js +1 -1
  30. package/avatar/avatar.js +29 -22
  31. package/avatar/avatar.min.js +1 -1
  32. package/avatar/package.json +2 -1
  33. package/avatargroup/avatargroup.cjs.js +18 -7
  34. package/avatargroup/avatargroup.cjs.min.js +1 -1
  35. package/avatargroup/avatargroup.d.ts +33 -1
  36. package/avatargroup/avatargroup.esm.js +18 -7
  37. package/avatargroup/avatargroup.esm.min.js +1 -1
  38. package/avatargroup/avatargroup.js +18 -7
  39. package/avatargroup/avatargroup.min.js +1 -1
  40. package/avatargroup/package.json +2 -1
  41. package/badge/badge.cjs.js +21 -10
  42. package/badge/badge.cjs.min.js +1 -1
  43. package/badge/badge.d.ts +48 -8
  44. package/badge/badge.esm.js +21 -10
  45. package/badge/badge.esm.min.js +1 -1
  46. package/badge/badge.js +21 -10
  47. package/badge/badge.min.js +1 -1
  48. package/badge/package.json +2 -1
  49. package/blockui/blockui.cjs.js +30 -23
  50. package/blockui/blockui.cjs.min.js +1 -1
  51. package/blockui/blockui.d.ts +71 -10
  52. package/blockui/blockui.esm.js +31 -24
  53. package/blockui/blockui.esm.min.js +1 -1
  54. package/blockui/blockui.js +30 -23
  55. package/blockui/blockui.min.js +1 -1
  56. package/blockui/package.json +2 -1
  57. package/breadcrumb/breadcrumb.cjs.js +21 -10
  58. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  59. package/breadcrumb/breadcrumb.d.ts +41 -3
  60. package/breadcrumb/breadcrumb.esm.js +21 -10
  61. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  62. package/breadcrumb/breadcrumb.js +21 -10
  63. package/breadcrumb/breadcrumb.min.js +1 -1
  64. package/breadcrumb/package.json +2 -1
  65. package/button/button.cjs.js +27 -16
  66. package/button/button.cjs.min.js +1 -1
  67. package/button/button.d.ts +67 -15
  68. package/button/button.esm.js +27 -16
  69. package/button/button.esm.min.js +1 -1
  70. package/button/button.js +27 -16
  71. package/button/button.min.js +1 -1
  72. package/button/package.json +2 -1
  73. package/calendar/calendar.cjs.js +120 -100
  74. package/calendar/calendar.cjs.min.js +1 -1
  75. package/calendar/calendar.d.ts +585 -112
  76. package/calendar/calendar.esm.js +121 -101
  77. package/calendar/calendar.esm.min.js +1 -1
  78. package/calendar/calendar.js +120 -100
  79. package/calendar/calendar.min.js +1 -1
  80. package/calendar/package.json +2 -1
  81. package/card/card.cjs.js +23 -12
  82. package/card/card.cjs.min.js +1 -1
  83. package/card/card.d.ts +45 -7
  84. package/card/card.esm.js +23 -12
  85. package/card/card.esm.min.js +1 -1
  86. package/card/card.js +23 -12
  87. package/card/card.min.js +1 -1
  88. package/card/package.json +2 -1
  89. package/carousel/carousel.cjs.js +39 -32
  90. package/carousel/carousel.cjs.min.js +1 -1
  91. package/carousel/carousel.d.ts +138 -22
  92. package/carousel/carousel.esm.js +40 -33
  93. package/carousel/carousel.esm.min.js +1 -1
  94. package/carousel/carousel.js +39 -32
  95. package/carousel/carousel.min.js +1 -1
  96. package/carousel/package.json +2 -1
  97. package/cascadeselect/cascadeselect.cjs.js +53 -40
  98. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  99. package/cascadeselect/cascadeselect.d.ts +177 -29
  100. package/cascadeselect/cascadeselect.esm.js +54 -41
  101. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  102. package/cascadeselect/cascadeselect.js +53 -40
  103. package/cascadeselect/cascadeselect.min.js +1 -1
  104. package/cascadeselect/package.json +2 -1
  105. package/chart/chart.cjs.js +25 -14
  106. package/chart/chart.cjs.min.js +1 -1
  107. package/chart/chart.d.ts +88 -10
  108. package/chart/chart.esm.js +25 -14
  109. package/chart/chart.esm.min.js +1 -1
  110. package/chart/chart.js +25 -14
  111. package/chart/chart.min.js +1 -1
  112. package/chart/package.json +2 -1
  113. package/checkbox/checkbox.cjs.js +43 -32
  114. package/checkbox/checkbox.cjs.min.js +1 -1
  115. package/checkbox/checkbox.d.ts +137 -33
  116. package/checkbox/checkbox.esm.js +43 -32
  117. package/checkbox/checkbox.esm.min.js +1 -1
  118. package/checkbox/checkbox.js +43 -32
  119. package/checkbox/checkbox.min.js +1 -1
  120. package/checkbox/package.json +2 -1
  121. package/chip/chip.cjs.js +29 -22
  122. package/chip/chip.cjs.min.js +1 -1
  123. package/chip/chip.d.ts +75 -7
  124. package/chip/chip.esm.js +29 -22
  125. package/chip/chip.esm.min.js +1 -1
  126. package/chip/chip.js +29 -22
  127. package/chip/chip.min.js +1 -1
  128. package/chip/package.json +2 -1
  129. package/chips/chips.cjs.js +55 -45
  130. package/chips/chips.cjs.min.js +1 -1
  131. package/chips/chips.d.ts +188 -36
  132. package/chips/chips.esm.js +55 -45
  133. package/chips/chips.esm.min.js +1 -1
  134. package/chips/chips.js +55 -45
  135. package/chips/chips.min.js +1 -1
  136. package/chips/package.json +2 -1
  137. package/colorpicker/colorpicker.cjs.js +45 -33
  138. package/colorpicker/colorpicker.cjs.min.js +1 -1
  139. package/colorpicker/colorpicker.d.ts +148 -31
  140. package/colorpicker/colorpicker.esm.js +46 -34
  141. package/colorpicker/colorpicker.esm.min.js +1 -1
  142. package/colorpicker/colorpicker.js +45 -33
  143. package/colorpicker/colorpicker.min.js +1 -1
  144. package/colorpicker/package.json +2 -1
  145. package/column/column.cjs.js +0 -79
  146. package/column/column.cjs.min.js +1 -1
  147. package/column/column.d.ts +736 -134
  148. package/column/column.esm.js +0 -79
  149. package/column/column.esm.min.js +1 -1
  150. package/column/column.js +6 -85
  151. package/column/column.min.js +1 -1
  152. package/column/package.json +2 -1
  153. package/columngroup/columngroup.cjs.js +0 -3
  154. package/columngroup/columngroup.cjs.min.js +1 -1
  155. package/columngroup/columngroup.d.ts +30 -1
  156. package/columngroup/columngroup.esm.js +0 -3
  157. package/columngroup/columngroup.esm.min.js +1 -1
  158. package/columngroup/columngroup.js +6 -9
  159. package/columngroup/columngroup.min.js +1 -1
  160. package/columngroup/package.json +2 -1
  161. package/confirmdialog/confirmdialog.cjs.js +35 -28
  162. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  163. package/confirmdialog/confirmdialog.d.ts +142 -18
  164. package/confirmdialog/confirmdialog.esm.js +36 -29
  165. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  166. package/confirmdialog/confirmdialog.js +35 -28
  167. package/confirmdialog/confirmdialog.min.js +1 -1
  168. package/confirmdialog/package.json +2 -1
  169. package/confirmpopup/confirmpopup.cjs.js +44 -34
  170. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  171. package/confirmpopup/confirmpopup.d.ts +165 -22
  172. package/confirmpopup/confirmpopup.esm.js +45 -35
  173. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  174. package/confirmpopup/confirmpopup.js +44 -34
  175. package/confirmpopup/confirmpopup.min.js +1 -1
  176. package/confirmpopup/package.json +2 -1
  177. package/contextmenu/contextmenu.cjs.js +33 -23
  178. package/contextmenu/contextmenu.cjs.min.js +1 -1
  179. package/contextmenu/contextmenu.d.ts +80 -12
  180. package/contextmenu/contextmenu.esm.js +34 -24
  181. package/contextmenu/contextmenu.esm.min.js +1 -1
  182. package/contextmenu/contextmenu.js +33 -23
  183. package/contextmenu/contextmenu.min.js +1 -1
  184. package/contextmenu/package.json +2 -1
  185. package/core/core.js +1745 -1085
  186. package/core/core.min.js +18 -18
  187. package/csstransition/csstransition.cjs.js +15 -4
  188. package/csstransition/csstransition.cjs.min.js +1 -1
  189. package/csstransition/csstransition.d.ts +31 -1
  190. package/csstransition/csstransition.esm.js +15 -4
  191. package/csstransition/csstransition.esm.min.js +1 -1
  192. package/csstransition/csstransition.js +15 -4
  193. package/csstransition/csstransition.min.js +1 -1
  194. package/csstransition/package.json +2 -1
  195. package/datascroller/datascroller.cjs.js +33 -26
  196. package/datascroller/datascroller.cjs.min.js +1 -1
  197. package/datascroller/datascroller.d.ts +102 -16
  198. package/datascroller/datascroller.esm.js +33 -26
  199. package/datascroller/datascroller.esm.min.js +1 -1
  200. package/datascroller/datascroller.js +33 -26
  201. package/datascroller/datascroller.min.js +1 -1
  202. package/datascroller/package.json +2 -1
  203. package/datatable/datatable.cjs.js +387 -233
  204. package/datatable/datatable.cjs.min.js +1 -1
  205. package/datatable/datatable.d.ts +1270 -227
  206. package/datatable/datatable.esm.js +388 -234
  207. package/datatable/datatable.esm.min.js +1 -1
  208. package/datatable/datatable.js +388 -234
  209. package/datatable/datatable.min.js +1 -1
  210. package/datatable/package.json +2 -1
  211. package/dataview/dataview.cjs.js +69 -52
  212. package/dataview/dataview.cjs.min.js +1 -1
  213. package/dataview/dataview.d.ts +222 -43
  214. package/dataview/dataview.esm.js +69 -52
  215. package/dataview/dataview.esm.min.js +1 -1
  216. package/dataview/dataview.js +69 -52
  217. package/dataview/dataview.min.js +1 -1
  218. package/dataview/package.json +2 -1
  219. package/deferredcontent/deferredcontent.cjs.js +19 -12
  220. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  221. package/deferredcontent/deferredcontent.d.ts +37 -1
  222. package/deferredcontent/deferredcontent.esm.js +19 -12
  223. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  224. package/deferredcontent/deferredcontent.js +19 -12
  225. package/deferredcontent/deferredcontent.min.js +1 -1
  226. package/deferredcontent/package.json +2 -1
  227. package/dialog/dialog.cjs.js +76 -75
  228. package/dialog/dialog.cjs.min.js +1 -1
  229. package/dialog/dialog.d.ts +282 -51
  230. package/dialog/dialog.esm.js +77 -76
  231. package/dialog/dialog.esm.min.js +1 -1
  232. package/dialog/dialog.js +76 -75
  233. package/dialog/dialog.min.css +1 -1
  234. package/dialog/dialog.min.js +1 -1
  235. package/dialog/package.json +2 -1
  236. package/divider/divider.cjs.js +21 -10
  237. package/divider/divider.cjs.min.js +1 -1
  238. package/divider/divider.d.ts +47 -10
  239. package/divider/divider.esm.js +21 -10
  240. package/divider/divider.esm.min.js +1 -1
  241. package/divider/divider.js +21 -10
  242. package/divider/divider.min.js +1 -1
  243. package/divider/package.json +2 -1
  244. package/dock/dock.cjs.js +26 -19
  245. package/dock/dock.cjs.min.js +1 -1
  246. package/dock/dock.d.ts +68 -12
  247. package/dock/dock.esm.js +26 -19
  248. package/dock/dock.esm.min.js +1 -1
  249. package/dock/dock.js +26 -19
  250. package/dock/dock.min.js +1 -1
  251. package/dock/package.json +2 -1
  252. package/dropdown/dropdown.cjs.js +103 -80
  253. package/dropdown/dropdown.cjs.min.js +1 -1
  254. package/dropdown/dropdown.d.ts +337 -83
  255. package/dropdown/dropdown.esm.js +104 -81
  256. package/dropdown/dropdown.esm.min.js +1 -1
  257. package/dropdown/dropdown.js +103 -80
  258. package/dropdown/dropdown.min.js +1 -1
  259. package/dropdown/package.json +2 -1
  260. package/editor/editor.cjs.js +31 -20
  261. package/editor/editor.cjs.min.js +1 -1
  262. package/editor/editor.d.ts +129 -12
  263. package/editor/editor.esm.js +32 -21
  264. package/editor/editor.esm.min.js +1 -1
  265. package/editor/editor.js +31 -20
  266. package/editor/editor.min.js +1 -1
  267. package/editor/package.json +2 -1
  268. package/fieldset/fieldset.cjs.js +29 -22
  269. package/fieldset/fieldset.cjs.min.js +1 -1
  270. package/fieldset/fieldset.d.ts +85 -7
  271. package/fieldset/fieldset.esm.js +30 -23
  272. package/fieldset/fieldset.esm.min.js +1 -1
  273. package/fieldset/fieldset.js +29 -22
  274. package/fieldset/fieldset.min.js +1 -1
  275. package/fieldset/package.json +2 -1
  276. package/fileupload/fileupload.cjs.js +87 -76
  277. package/fileupload/fileupload.cjs.min.js +1 -1
  278. package/fileupload/fileupload.d.ts +425 -62
  279. package/fileupload/fileupload.esm.js +87 -76
  280. package/fileupload/fileupload.esm.min.js +1 -1
  281. package/fileupload/fileupload.js +87 -76
  282. package/fileupload/fileupload.min.js +1 -1
  283. package/fileupload/package.json +2 -1
  284. package/galleria/galleria.cjs.js +51 -42
  285. package/galleria/galleria.cjs.min.js +1 -1
  286. package/galleria/galleria.d.ts +198 -30
  287. package/galleria/galleria.esm.js +52 -43
  288. package/galleria/galleria.esm.min.js +1 -1
  289. package/galleria/galleria.js +51 -42
  290. package/galleria/galleria.min.js +1 -1
  291. package/galleria/package.json +2 -1
  292. package/hooks/hooks.cjs.js +578 -148
  293. package/hooks/hooks.cjs.min.js +1 -1
  294. package/hooks/hooks.d.ts +194 -6
  295. package/hooks/hooks.esm.js +558 -135
  296. package/hooks/hooks.esm.min.js +1 -1
  297. package/hooks/hooks.js +869 -439
  298. package/hooks/hooks.min.js +1 -1
  299. package/hooks/package.json +2 -1
  300. package/image/image.cjs.js +32 -25
  301. package/image/image.cjs.min.js +1 -1
  302. package/image/image.d.ts +91 -11
  303. package/image/image.esm.js +33 -26
  304. package/image/image.esm.min.js +1 -1
  305. package/image/image.js +32 -25
  306. package/image/image.min.js +1 -1
  307. package/image/package.json +2 -1
  308. package/inplace/inplace.cjs.js +51 -37
  309. package/inplace/inplace.cjs.min.js +1 -1
  310. package/inplace/inplace.d.ts +101 -9
  311. package/inplace/inplace.esm.js +51 -37
  312. package/inplace/inplace.esm.min.js +1 -1
  313. package/inplace/inplace.js +51 -37
  314. package/inplace/inplace.min.js +1 -1
  315. package/inplace/package.json +2 -1
  316. package/inputmask/inputmask.cjs.js +50 -46
  317. package/inputmask/inputmask.cjs.min.js +1 -1
  318. package/inputmask/inputmask.d.ts +119 -27
  319. package/inputmask/inputmask.esm.js +51 -47
  320. package/inputmask/inputmask.esm.min.js +1 -1
  321. package/inputmask/inputmask.js +50 -46
  322. package/inputmask/inputmask.min.js +1 -1
  323. package/inputmask/package.json +2 -1
  324. package/inputnumber/inputnumber.cjs.js +78 -93
  325. package/inputnumber/inputnumber.cjs.min.js +1 -1
  326. package/inputnumber/inputnumber.d.ts +265 -57
  327. package/inputnumber/inputnumber.esm.js +78 -93
  328. package/inputnumber/inputnumber.esm.min.js +1 -1
  329. package/inputnumber/inputnumber.js +78 -93
  330. package/inputnumber/inputnumber.min.js +1 -1
  331. package/inputnumber/package.json +2 -1
  332. package/inputswitch/inputswitch.cjs.js +38 -28
  333. package/inputswitch/inputswitch.cjs.min.js +1 -1
  334. package/inputswitch/inputswitch.d.ts +118 -27
  335. package/inputswitch/inputswitch.esm.js +38 -28
  336. package/inputswitch/inputswitch.esm.min.js +1 -1
  337. package/inputswitch/inputswitch.js +38 -28
  338. package/inputswitch/inputswitch.min.js +1 -1
  339. package/inputswitch/package.json +2 -1
  340. package/inputtext/inputtext.cjs.js +23 -12
  341. package/inputtext/inputtext.cjs.min.js +1 -1
  342. package/inputtext/inputtext.d.ts +57 -6
  343. package/inputtext/inputtext.esm.js +23 -12
  344. package/inputtext/inputtext.esm.min.js +1 -1
  345. package/inputtext/inputtext.js +23 -12
  346. package/inputtext/inputtext.min.js +1 -1
  347. package/inputtext/package.json +2 -1
  348. package/inputtextarea/inputtextarea.cjs.js +27 -16
  349. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  350. package/inputtextarea/inputtextarea.d.ts +52 -6
  351. package/inputtextarea/inputtextarea.esm.js +27 -16
  352. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  353. package/inputtextarea/inputtextarea.js +27 -16
  354. package/inputtextarea/inputtextarea.min.js +1 -1
  355. package/inputtextarea/package.json +2 -1
  356. package/keyfilter/keyfilter.cjs.js +1 -3
  357. package/keyfilter/keyfilter.esm.js +1 -3
  358. package/keyfilter/keyfilter.js +1 -3
  359. package/keyfilter/keyfilteroptions.d.ts +15 -0
  360. package/keyfilter/package.json +2 -1
  361. package/knob/knob.cjs.js +36 -29
  362. package/knob/knob.cjs.min.js +1 -1
  363. package/knob/knob.d.ts +127 -20
  364. package/knob/knob.esm.js +36 -29
  365. package/knob/knob.esm.min.js +1 -1
  366. package/knob/knob.js +36 -29
  367. package/knob/knob.min.js +1 -1
  368. package/knob/package.json +2 -1
  369. package/listbox/listbox.cjs.js +56 -46
  370. package/listbox/listbox.cjs.min.js +1 -1
  371. package/listbox/listbox.d.ts +270 -48
  372. package/listbox/listbox.esm.js +56 -46
  373. package/listbox/listbox.esm.min.js +1 -1
  374. package/listbox/listbox.js +56 -46
  375. package/listbox/listbox.min.js +1 -1
  376. package/listbox/package.json +2 -1
  377. package/megamenu/megamenu.cjs.js +25 -18
  378. package/megamenu/megamenu.cjs.min.js +1 -1
  379. package/megamenu/megamenu.d.ts +50 -11
  380. package/megamenu/megamenu.esm.js +26 -19
  381. package/megamenu/megamenu.esm.min.js +1 -1
  382. package/megamenu/megamenu.js +25 -18
  383. package/megamenu/megamenu.min.js +1 -1
  384. package/megamenu/package.json +2 -1
  385. package/mention/mention.cjs.js +74 -53
  386. package/mention/mention.cjs.min.js +1 -1
  387. package/mention/mention.d.ts +186 -32
  388. package/mention/mention.esm.js +74 -53
  389. package/mention/mention.esm.min.js +1 -1
  390. package/mention/mention.js +74 -53
  391. package/mention/mention.min.js +1 -1
  392. package/mention/package.json +2 -1
  393. package/menu/menu.cjs.js +32 -23
  394. package/menu/menu.cjs.min.js +1 -1
  395. package/menu/menu.d.ts +89 -12
  396. package/menu/menu.esm.js +33 -24
  397. package/menu/menu.esm.min.js +1 -1
  398. package/menu/menu.js +32 -23
  399. package/menu/menu.min.js +1 -1
  400. package/menu/package.json +2 -1
  401. package/menubar/menubar.cjs.js +24 -17
  402. package/menubar/menubar.cjs.min.js +1 -1
  403. package/menubar/menubar.d.ts +53 -8
  404. package/menubar/menubar.esm.js +25 -18
  405. package/menubar/menubar.esm.min.js +1 -1
  406. package/menubar/menubar.js +24 -17
  407. package/menubar/menubar.min.js +1 -1
  408. package/menubar/package.json +2 -1
  409. package/menuitem/menuitem.d.ts +114 -19
  410. package/menuitem/package.json +2 -1
  411. package/message/message.cjs.js +23 -12
  412. package/message/message.cjs.min.js +1 -1
  413. package/message/message.d.ts +50 -11
  414. package/message/message.esm.js +23 -12
  415. package/message/message.esm.min.js +1 -1
  416. package/message/message.js +23 -12
  417. package/message/message.min.js +1 -1
  418. package/message/package.json +2 -1
  419. package/messages/messages.cjs.js +24 -17
  420. package/messages/messages.cjs.min.js +1 -1
  421. package/messages/messages.d.ts +91 -11
  422. package/messages/messages.esm.js +25 -18
  423. package/messages/messages.esm.min.js +1 -1
  424. package/messages/messages.js +24 -17
  425. package/messages/messages.min.js +1 -1
  426. package/messages/package.json +2 -1
  427. package/multiselect/multiselect.cjs.js +127 -100
  428. package/multiselect/multiselect.cjs.min.js +1 -1
  429. package/multiselect/multiselect.d.ts +429 -82
  430. package/multiselect/multiselect.esm.js +127 -100
  431. package/multiselect/multiselect.esm.min.js +1 -1
  432. package/multiselect/multiselect.js +127 -100
  433. package/multiselect/multiselect.min.js +1 -1
  434. package/multiselect/package.json +2 -1
  435. package/multistatecheckbox/multistatecheckbox.cjs.js +42 -28
  436. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  437. package/multistatecheckbox/multistatecheckbox.d.ts +161 -22
  438. package/multistatecheckbox/multistatecheckbox.esm.js +42 -28
  439. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  440. package/multistatecheckbox/multistatecheckbox.js +42 -28
  441. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  442. package/multistatecheckbox/package.json +2 -1
  443. package/orderlist/orderlist.cjs.js +37 -30
  444. package/orderlist/orderlist.cjs.min.js +1 -1
  445. package/orderlist/orderlist.d.ts +113 -16
  446. package/orderlist/orderlist.esm.js +37 -30
  447. package/orderlist/orderlist.esm.min.js +1 -1
  448. package/orderlist/orderlist.js +38 -31
  449. package/orderlist/orderlist.min.js +1 -1
  450. package/orderlist/package.json +2 -1
  451. package/organizationchart/organizationchart.cjs.js +28 -21
  452. package/organizationchart/organizationchart.cjs.min.js +1 -1
  453. package/organizationchart/organizationchart.d.ts +107 -16
  454. package/organizationchart/organizationchart.esm.js +29 -22
  455. package/organizationchart/organizationchart.esm.min.js +1 -1
  456. package/organizationchart/organizationchart.js +28 -21
  457. package/organizationchart/organizationchart.min.js +1 -1
  458. package/organizationchart/package.json +2 -1
  459. package/overlaypanel/overlaypanel.cjs.js +33 -23
  460. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  461. package/overlaypanel/overlaypanel.d.ts +89 -15
  462. package/overlaypanel/overlaypanel.esm.js +34 -24
  463. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  464. package/overlaypanel/overlaypanel.js +33 -23
  465. package/overlaypanel/overlaypanel.min.js +1 -1
  466. package/overlaypanel/package.json +2 -1
  467. package/overlayservice/overlayservice.d.ts +52 -7
  468. package/overlayservice/package.json +2 -1
  469. package/package.json +2 -2
  470. package/paginator/package.json +2 -1
  471. package/paginator/paginator.cjs.js +184 -97
  472. package/paginator/paginator.cjs.min.js +1 -1
  473. package/paginator/paginator.d.ts +409 -44
  474. package/paginator/paginator.esm.js +184 -97
  475. package/paginator/paginator.esm.min.js +1 -1
  476. package/paginator/paginator.js +184 -97
  477. package/paginator/paginator.min.js +1 -1
  478. package/panel/package.json +2 -1
  479. package/panel/panel.cjs.js +32 -25
  480. package/panel/panel.cjs.min.js +1 -1
  481. package/panel/panel.d.ts +141 -15
  482. package/panel/panel.esm.js +32 -25
  483. package/panel/panel.esm.min.js +1 -1
  484. package/panel/panel.js +32 -25
  485. package/panel/panel.min.js +1 -1
  486. package/panelmenu/package.json +2 -1
  487. package/panelmenu/panelmenu.cjs.js +24 -17
  488. package/panelmenu/panelmenu.cjs.min.js +1 -1
  489. package/panelmenu/panelmenu.d.ts +47 -5
  490. package/panelmenu/panelmenu.esm.js +25 -18
  491. package/panelmenu/panelmenu.esm.min.js +1 -1
  492. package/panelmenu/panelmenu.js +24 -17
  493. package/panelmenu/panelmenu.min.js +1 -1
  494. package/password/package.json +2 -1
  495. package/password/password.cjs.js +53 -40
  496. package/password/password.cjs.min.js +1 -1
  497. package/password/password.d.ts +176 -36
  498. package/password/password.esm.js +53 -40
  499. package/password/password.esm.min.js +1 -1
  500. package/password/password.js +53 -40
  501. package/password/password.min.css +1 -1
  502. package/password/password.min.js +1 -1
  503. package/picklist/package.json +2 -1
  504. package/picklist/picklist.cjs.js +57 -50
  505. package/picklist/picklist.cjs.min.js +1 -1
  506. package/picklist/picklist.d.ts +272 -46
  507. package/picklist/picklist.esm.js +58 -51
  508. package/picklist/picklist.esm.min.js +1 -1
  509. package/picklist/picklist.js +57 -50
  510. package/picklist/picklist.min.js +1 -1
  511. package/portal/package.json +2 -1
  512. package/portal/portal.cjs.js +22 -15
  513. package/portal/portal.cjs.min.js +1 -1
  514. package/portal/portal.esm.js +23 -16
  515. package/portal/portal.esm.min.js +1 -1
  516. package/portal/portal.js +22 -15
  517. package/portal/portal.min.js +1 -1
  518. package/primereact.all.cjs.js +4739 -3228
  519. package/primereact.all.cjs.min.js +1 -1
  520. package/primereact.all.esm.js +4733 -3227
  521. package/primereact.all.esm.min.js +1 -1
  522. package/primereact.all.js +4739 -3228
  523. package/primereact.all.min.js +1 -1
  524. package/progressbar/package.json +2 -1
  525. package/progressbar/progressbar.cjs.js +26 -15
  526. package/progressbar/progressbar.cjs.min.js +1 -1
  527. package/progressbar/progressbar.d.ts +60 -11
  528. package/progressbar/progressbar.esm.js +26 -15
  529. package/progressbar/progressbar.esm.min.js +1 -1
  530. package/progressbar/progressbar.js +26 -15
  531. package/progressbar/progressbar.min.js +1 -1
  532. package/progressspinner/package.json +2 -1
  533. package/progressspinner/progressspinner.cjs.js +22 -11
  534. package/progressspinner/progressspinner.cjs.min.js +1 -1
  535. package/progressspinner/progressspinner.d.ts +47 -4
  536. package/progressspinner/progressspinner.esm.js +22 -11
  537. package/progressspinner/progressspinner.esm.min.js +1 -1
  538. package/progressspinner/progressspinner.js +22 -11
  539. package/progressspinner/progressspinner.min.js +1 -1
  540. package/radiobutton/package.json +2 -1
  541. package/radiobutton/radiobutton.cjs.js +37 -26
  542. package/radiobutton/radiobutton.cjs.min.js +1 -1
  543. package/radiobutton/radiobutton.d.ts +99 -29
  544. package/radiobutton/radiobutton.esm.js +37 -26
  545. package/radiobutton/radiobutton.esm.min.js +1 -1
  546. package/radiobutton/radiobutton.js +37 -26
  547. package/radiobutton/radiobutton.min.js +1 -1
  548. package/rating/package.json +2 -1
  549. package/rating/rating.cjs.js +33 -22
  550. package/rating/rating.cjs.min.js +1 -1
  551. package/rating/rating.d.ts +101 -24
  552. package/rating/rating.esm.js +33 -22
  553. package/rating/rating.esm.min.js +1 -1
  554. package/rating/rating.js +33 -22
  555. package/rating/rating.min.js +1 -1
  556. package/resources/primereact.css +517 -506
  557. package/resources/primereact.min.css +1 -1
  558. package/resources/themes/arya-blue/theme.css +7 -9
  559. package/resources/themes/arya-green/theme.css +6 -10
  560. package/resources/themes/arya-orange/theme.css +6 -9
  561. package/resources/themes/arya-purple/theme.css +6 -9
  562. package/resources/themes/bootstrap4-dark-blue/theme.css +7 -10
  563. package/resources/themes/bootstrap4-dark-purple/theme.css +7 -10
  564. package/resources/themes/bootstrap4-light-blue/theme.css +7 -10
  565. package/resources/themes/bootstrap4-light-purple/theme.css +7 -11
  566. package/resources/themes/fluent-light/theme.css +7 -11
  567. package/resources/themes/lara-dark-blue/theme.css +6 -9
  568. package/resources/themes/lara-dark-indigo/theme.css +6 -10
  569. package/resources/themes/lara-dark-purple/theme.css +6 -9
  570. package/resources/themes/lara-dark-teal/theme.css +6 -10
  571. package/resources/themes/lara-light-blue/theme.css +6 -9
  572. package/resources/themes/lara-light-indigo/theme.css +6 -9
  573. package/resources/themes/lara-light-purple/theme.css +6 -9
  574. package/resources/themes/lara-light-teal/theme.css +6 -9
  575. package/resources/themes/luna-amber/theme.css +8 -10
  576. package/resources/themes/luna-blue/theme.css +7 -10
  577. package/resources/themes/luna-green/theme.css +8 -10
  578. package/resources/themes/luna-pink/theme.css +7 -10
  579. package/resources/themes/md-dark-deeppurple/theme.css +7 -10
  580. package/resources/themes/md-dark-indigo/theme.css +8 -10
  581. package/resources/themes/md-light-deeppurple/theme.css +8 -10
  582. package/resources/themes/md-light-indigo/theme.css +8 -10
  583. package/resources/themes/mdc-dark-deeppurple/theme.css +8 -10
  584. package/resources/themes/mdc-dark-indigo/theme.css +7 -10
  585. package/resources/themes/mdc-light-deeppurple/theme.css +8 -10
  586. package/resources/themes/mdc-light-indigo/theme.css +7 -10
  587. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  588. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  589. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  590. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  591. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  592. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  593. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  594. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  595. package/resources/themes/mira/theme.css +6239 -0
  596. package/resources/themes/nano/theme.css +6011 -0
  597. package/resources/themes/nova/theme.css +7 -10
  598. package/resources/themes/nova-accent/theme.css +8 -10
  599. package/resources/themes/nova-alt/theme.css +7 -10
  600. package/resources/themes/rhea/theme.css +8 -10
  601. package/resources/themes/saga-blue/theme.css +7 -10
  602. package/resources/themes/saga-green/theme.css +8 -10
  603. package/resources/themes/saga-orange/theme.css +8 -10
  604. package/resources/themes/saga-purple/theme.css +8 -10
  605. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  606. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  607. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  608. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  609. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  610. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  611. package/resources/themes/soho-dark/theme.css +6004 -0
  612. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  613. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  614. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  615. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  616. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  617. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  618. package/resources/themes/soho-light/theme.css +6058 -0
  619. package/resources/themes/vela-blue/theme.css +7 -10
  620. package/resources/themes/vela-green/theme.css +7 -10
  621. package/resources/themes/vela-orange/theme.css +7 -10
  622. package/resources/themes/vela-purple/theme.css +8 -10
  623. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  624. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  625. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  626. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  627. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  628. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  629. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  630. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  631. package/resources/themes/viva-dark/theme.css +6166 -0
  632. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  633. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  634. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  635. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  636. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  637. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  638. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  639. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  640. package/resources/themes/viva-light/theme.css +6166 -0
  641. package/ripple/package.json +2 -1
  642. package/ripple/ripple.cjs.js +0 -3
  643. package/ripple/ripple.cjs.min.js +1 -1
  644. package/ripple/ripple.d.ts +29 -1
  645. package/ripple/ripple.esm.js +0 -3
  646. package/ripple/ripple.esm.min.js +1 -1
  647. package/ripple/ripple.js +0 -3
  648. package/ripple/ripple.min.js +1 -1
  649. package/row/package.json +2 -1
  650. package/row/row.cjs.js +21 -7
  651. package/row/row.cjs.min.js +1 -1
  652. package/row/row.d.ts +37 -3
  653. package/row/row.esm.js +21 -7
  654. package/row/row.esm.min.js +1 -1
  655. package/row/row.js +21 -7
  656. package/row/row.min.js +1 -1
  657. package/scrollpanel/package.json +2 -1
  658. package/scrollpanel/scrollpanel.cjs.js +19 -8
  659. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  660. package/scrollpanel/scrollpanel.d.ts +45 -1
  661. package/scrollpanel/scrollpanel.esm.js +19 -8
  662. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  663. package/scrollpanel/scrollpanel.js +19 -8
  664. package/scrollpanel/scrollpanel.min.js +1 -1
  665. package/scrolltop/package.json +2 -1
  666. package/scrolltop/scrolltop.cjs.js +27 -20
  667. package/scrolltop/scrolltop.cjs.min.js +1 -1
  668. package/scrolltop/scrolltop.d.ts +70 -10
  669. package/scrolltop/scrolltop.esm.js +28 -21
  670. package/scrolltop/scrolltop.esm.min.js +1 -1
  671. package/scrolltop/scrolltop.js +27 -20
  672. package/scrolltop/scrolltop.min.js +1 -1
  673. package/selectbutton/package.json +2 -1
  674. package/selectbutton/selectbutton.cjs.js +38 -28
  675. package/selectbutton/selectbutton.cjs.min.js +1 -1
  676. package/selectbutton/selectbutton.d.ts +111 -32
  677. package/selectbutton/selectbutton.esm.js +39 -29
  678. package/selectbutton/selectbutton.esm.min.js +1 -1
  679. package/selectbutton/selectbutton.js +38 -28
  680. package/selectbutton/selectbutton.min.js +1 -1
  681. package/selectitem/package.json +2 -1
  682. package/selectitem/selectitem.d.ts +34 -0
  683. package/sidebar/package.json +2 -1
  684. package/sidebar/sidebar.cjs.js +51 -32
  685. package/sidebar/sidebar.cjs.min.js +1 -1
  686. package/sidebar/sidebar.d.ts +120 -22
  687. package/sidebar/sidebar.esm.js +52 -33
  688. package/sidebar/sidebar.esm.min.js +1 -1
  689. package/sidebar/sidebar.js +51 -32
  690. package/sidebar/sidebar.min.js +1 -1
  691. package/skeleton/package.json +2 -1
  692. package/skeleton/skeleton.cjs.js +24 -13
  693. package/skeleton/skeleton.cjs.min.js +1 -1
  694. package/skeleton/skeleton.d.ts +61 -11
  695. package/skeleton/skeleton.esm.js +24 -13
  696. package/skeleton/skeleton.esm.min.js +1 -1
  697. package/skeleton/skeleton.js +24 -13
  698. package/skeleton/skeleton.min.js +1 -1
  699. package/slidemenu/package.json +2 -1
  700. package/slidemenu/slidemenu.cjs.js +35 -28
  701. package/slidemenu/slidemenu.cjs.min.js +1 -1
  702. package/slidemenu/slidemenu.d.ts +132 -18
  703. package/slidemenu/slidemenu.esm.js +36 -29
  704. package/slidemenu/slidemenu.esm.min.js +1 -1
  705. package/slidemenu/slidemenu.js +35 -28
  706. package/slidemenu/slidemenu.min.js +1 -1
  707. package/slider/package.json +2 -1
  708. package/slider/slider.cjs.js +31 -24
  709. package/slider/slider.cjs.min.js +1 -1
  710. package/slider/slider.d.ts +101 -18
  711. package/slider/slider.esm.js +31 -24
  712. package/slider/slider.esm.min.js +1 -1
  713. package/slider/slider.js +31 -24
  714. package/slider/slider.min.js +1 -1
  715. package/speeddial/package.json +2 -1
  716. package/speeddial/speeddial.cjs.js +43 -36
  717. package/speeddial/speeddial.cjs.min.js +1 -1
  718. package/speeddial/speeddial.d.ts +149 -20
  719. package/speeddial/speeddial.esm.js +44 -37
  720. package/speeddial/speeddial.esm.min.js +1 -1
  721. package/speeddial/speeddial.js +43 -36
  722. package/speeddial/speeddial.min.js +1 -1
  723. package/splitbutton/package.json +2 -1
  724. package/splitbutton/splitbutton.cjs.js +46 -38
  725. package/splitbutton/splitbutton.cjs.min.js +1 -1
  726. package/splitbutton/splitbutton.d.ts +131 -23
  727. package/splitbutton/splitbutton.esm.js +47 -39
  728. package/splitbutton/splitbutton.esm.min.js +1 -1
  729. package/splitbutton/splitbutton.js +46 -38
  730. package/splitbutton/splitbutton.min.js +1 -1
  731. package/splitter/package.json +2 -1
  732. package/splitter/splitter.cjs.js +53 -33
  733. package/splitter/splitter.cjs.min.js +1 -1
  734. package/splitter/splitter.d.ts +98 -12
  735. package/splitter/splitter.esm.js +54 -34
  736. package/splitter/splitter.esm.min.js +1 -1
  737. package/splitter/splitter.js +53 -33
  738. package/splitter/splitter.min.js +1 -1
  739. package/steps/package.json +2 -1
  740. package/steps/steps.cjs.js +23 -12
  741. package/steps/steps.cjs.min.js +1 -1
  742. package/steps/steps.d.ts +67 -6
  743. package/steps/steps.esm.js +23 -12
  744. package/steps/steps.esm.min.js +1 -1
  745. package/steps/steps.js +23 -12
  746. package/steps/steps.min.js +1 -1
  747. package/styleclass/package.json +2 -1
  748. package/styleclass/styleclass.cjs.js +27 -20
  749. package/styleclass/styleclass.cjs.min.js +1 -1
  750. package/styleclass/styleclass.d.ts +77 -12
  751. package/styleclass/styleclass.esm.js +28 -21
  752. package/styleclass/styleclass.esm.min.js +1 -1
  753. package/styleclass/styleclass.js +27 -20
  754. package/styleclass/styleclass.min.js +1 -1
  755. package/tabmenu/package.json +2 -1
  756. package/tabmenu/tabmenu.cjs.js +29 -20
  757. package/tabmenu/tabmenu.cjs.min.js +1 -1
  758. package/tabmenu/tabmenu.d.ts +62 -5
  759. package/tabmenu/tabmenu.esm.js +29 -20
  760. package/tabmenu/tabmenu.esm.min.js +1 -1
  761. package/tabmenu/tabmenu.js +29 -20
  762. package/tabmenu/tabmenu.min.js +1 -1
  763. package/tabview/package.json +2 -1
  764. package/tabview/tabview.cjs.js +80 -58
  765. package/tabview/tabview.cjs.min.js +1 -1
  766. package/tabview/tabview.d.ts +213 -27
  767. package/tabview/tabview.esm.js +81 -59
  768. package/tabview/tabview.esm.min.js +1 -1
  769. package/tabview/tabview.js +80 -58
  770. package/tabview/tabview.min.js +1 -1
  771. package/tag/package.json +2 -1
  772. package/tag/tag.cjs.js +22 -11
  773. package/tag/tag.cjs.min.js +1 -1
  774. package/tag/tag.d.ts +50 -6
  775. package/tag/tag.esm.js +22 -11
  776. package/tag/tag.esm.min.js +1 -1
  777. package/tag/tag.js +22 -11
  778. package/tag/tag.min.js +1 -1
  779. package/terminal/package.json +2 -1
  780. package/terminal/terminal.cjs.js +26 -16
  781. package/terminal/terminal.cjs.min.js +1 -1
  782. package/terminal/terminal.d.ts +45 -3
  783. package/terminal/terminal.esm.js +27 -17
  784. package/terminal/terminal.esm.min.js +1 -1
  785. package/terminal/terminal.js +26 -16
  786. package/terminal/terminal.min.js +1 -1
  787. package/terminalservice/package.json +2 -1
  788. package/terminalservice/terminalservice.d.ts +42 -4
  789. package/tieredmenu/package.json +2 -1
  790. package/tieredmenu/tieredmenu.cjs.js +32 -23
  791. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  792. package/tieredmenu/tieredmenu.d.ts +77 -12
  793. package/tieredmenu/tieredmenu.esm.js +33 -24
  794. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  795. package/tieredmenu/tieredmenu.js +32 -23
  796. package/tieredmenu/tieredmenu.min.js +1 -1
  797. package/timeline/package.json +2 -1
  798. package/timeline/timeline.cjs.js +25 -18
  799. package/timeline/timeline.cjs.min.js +1 -1
  800. package/timeline/timeline.d.ts +62 -13
  801. package/timeline/timeline.esm.js +25 -18
  802. package/timeline/timeline.esm.min.js +1 -1
  803. package/timeline/timeline.js +25 -18
  804. package/timeline/timeline.min.js +1 -1
  805. package/toast/package.json +2 -1
  806. package/toast/toast.cjs.js +38 -26
  807. package/toast/toast.cjs.min.js +1 -1
  808. package/toast/toast.d.ts +134 -27
  809. package/toast/toast.esm.js +40 -28
  810. package/toast/toast.esm.min.js +1 -1
  811. package/toast/toast.js +38 -26
  812. package/toast/toast.min.js +1 -1
  813. package/togglebutton/package.json +2 -1
  814. package/togglebutton/togglebutton.cjs.js +35 -21
  815. package/togglebutton/togglebutton.cjs.min.js +1 -1
  816. package/togglebutton/togglebutton.d.ts +122 -15
  817. package/togglebutton/togglebutton.esm.js +36 -22
  818. package/togglebutton/togglebutton.esm.min.js +1 -1
  819. package/togglebutton/togglebutton.js +35 -21
  820. package/togglebutton/togglebutton.min.js +1 -1
  821. package/toolbar/package.json +2 -1
  822. package/toolbar/toolbar.cjs.js +33 -16
  823. package/toolbar/toolbar.cjs.min.js +1 -1
  824. package/toolbar/toolbar.d.ts +55 -5
  825. package/toolbar/toolbar.esm.js +33 -16
  826. package/toolbar/toolbar.esm.min.js +1 -1
  827. package/toolbar/toolbar.js +33 -16
  828. package/toolbar/toolbar.min.css +1 -1
  829. package/toolbar/toolbar.min.js +1 -1
  830. package/tooltip/package.json +2 -1
  831. package/tooltip/tooltip.cjs.js +45 -38
  832. package/tooltip/tooltip.cjs.min.js +1 -1
  833. package/tooltip/tooltip.d.ts +73 -9
  834. package/tooltip/tooltip.esm.js +46 -39
  835. package/tooltip/tooltip.esm.min.js +1 -1
  836. package/tooltip/tooltip.js +45 -38
  837. package/tooltip/tooltip.min.js +1 -1
  838. package/tooltip/tooltipoptions.d.ts +350 -31
  839. package/tree/package.json +2 -1
  840. package/tree/tree.cjs.js +61 -54
  841. package/tree/tree.cjs.min.js +1 -1
  842. package/tree/tree.d.ts +435 -71
  843. package/tree/tree.esm.js +62 -55
  844. package/tree/tree.esm.min.js +1 -1
  845. package/tree/tree.js +61 -54
  846. package/tree/tree.min.js +1 -1
  847. package/treenode/package.json +2 -1
  848. package/treenode/treenode.d.ts +62 -13
  849. package/treeselect/package.json +2 -1
  850. package/treeselect/treeselect.cjs.js +69 -56
  851. package/treeselect/treeselect.cjs.min.js +1 -1
  852. package/treeselect/treeselect.d.ts +326 -77
  853. package/treeselect/treeselect.esm.js +70 -57
  854. package/treeselect/treeselect.esm.min.js +1 -1
  855. package/treeselect/treeselect.js +69 -56
  856. package/treeselect/treeselect.min.js +1 -1
  857. package/treetable/package.json +2 -1
  858. package/treetable/treetable.cjs.js +290 -152
  859. package/treetable/treetable.cjs.min.js +1 -1
  860. package/treetable/treetable.d.ts +558 -112
  861. package/treetable/treetable.esm.js +291 -153
  862. package/treetable/treetable.esm.min.js +1 -1
  863. package/treetable/treetable.js +291 -153
  864. package/treetable/treetable.min.js +1 -1
  865. package/tristatecheckbox/package.json +2 -1
  866. package/tristatecheckbox/tristatecheckbox.cjs.js +31 -21
  867. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  868. package/tristatecheckbox/tristatecheckbox.d.ts +72 -20
  869. package/tristatecheckbox/tristatecheckbox.esm.js +31 -21
  870. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  871. package/tristatecheckbox/tristatecheckbox.js +31 -21
  872. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  873. package/ts-helpers.d.ts +24 -0
  874. package/utils/package.json +2 -1
  875. package/utils/utils.cjs.js +84 -37
  876. package/utils/utils.cjs.min.js +1 -1
  877. package/utils/utils.d.ts +15 -1
  878. package/utils/utils.esm.js +84 -37
  879. package/utils/utils.esm.min.js +1 -1
  880. package/utils/utils.js +84 -37
  881. package/utils/utils.min.js +1 -1
  882. package/virtualscroller/package.json +2 -1
  883. package/virtualscroller/virtualscroller.cjs.js +44 -37
  884. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  885. package/virtualscroller/virtualscroller.d.ts +351 -59
  886. package/virtualscroller/virtualscroller.esm.js +45 -38
  887. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  888. package/virtualscroller/virtualscroller.js +44 -37
  889. package/virtualscroller/virtualscroller.min.js +1 -1
  890. package/web-types.json +30 -6
  891. package/captcha/captcha.cjs.js +0 -141
  892. package/captcha/captcha.cjs.min.js +0 -1
  893. package/captcha/captcha.d.ts +0 -18
  894. package/captcha/captcha.esm.js +0 -117
  895. package/captcha/captcha.esm.min.js +0 -1
  896. package/captcha/captcha.js +0 -143
  897. package/captcha/captcha.min.js +0 -1
  898. package/captcha/package.json +0 -6
  899. package/gmap/gmap.cjs.js +0 -186
  900. package/gmap/gmap.cjs.min.js +0 -1
  901. package/gmap/gmap.d.ts +0 -26
  902. package/gmap/gmap.esm.js +0 -162
  903. package/gmap/gmap.esm.min.js +0 -1
  904. package/gmap/gmap.js +0 -188
  905. package/gmap/gmap.min.js +0 -1
  906. package/gmap/package.json +0 -6
@@ -74,9 +74,7 @@ function _defineProperty(obj, key, value) {
74
74
 
75
75
  function _arrayLikeToArray(arr, len) {
76
76
  if (len == null || len > arr.length) len = arr.length;
77
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
78
- arr2[i] = arr[i];
79
- }
77
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
80
78
  return arr2;
81
79
  }
82
80
 
@@ -123,9 +121,7 @@ function _iterableToArrayLimit(arr, i) {
123
121
  if (_x = (_i = _i.call(arr)).next, 0 === i) {
124
122
  if (Object(_i) !== _i) return;
125
123
  _n = !1;
126
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
127
- ;
128
- }
124
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
129
125
  } catch (err) {
130
126
  _d = !0, _e = err;
131
127
  } finally {
@@ -162,7 +158,69 @@ function _extends() {
162
158
  return _extends.apply(this, arguments);
163
159
  }
164
160
 
165
- var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (props) {
161
+ var DataViewBase = {
162
+ defaultProps: {
163
+ __TYPE: 'DataView',
164
+ id: null,
165
+ header: null,
166
+ footer: null,
167
+ value: null,
168
+ layout: 'list',
169
+ dataKey: null,
170
+ rows: null,
171
+ first: 0,
172
+ totalRecords: null,
173
+ paginator: false,
174
+ paginatorPosition: 'bottom',
175
+ alwaysShowPaginator: true,
176
+ paginatorClassName: null,
177
+ paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
178
+ paginatorLeft: null,
179
+ paginatorRight: null,
180
+ paginatorDropdownAppendTo: null,
181
+ pageLinkSize: 5,
182
+ rowsPerPageOptions: null,
183
+ currentPageReportTemplate: '({currentPage} of {totalPages})',
184
+ emptyMessage: null,
185
+ sortField: null,
186
+ sortOrder: null,
187
+ style: null,
188
+ className: null,
189
+ lazy: false,
190
+ loading: false,
191
+ loadingIcon: 'pi pi-spinner',
192
+ gutter: false,
193
+ itemTemplate: null,
194
+ onPage: null,
195
+ children: undefined
196
+ },
197
+ getProps: function getProps(props) {
198
+ return utils.ObjectUtils.getMergedProps(props, DataViewBase.defaultProps);
199
+ },
200
+ getOtherProps: function getOtherProps(props) {
201
+ return utils.ObjectUtils.getDiffProps(props, DataViewBase.defaultProps);
202
+ }
203
+ };
204
+ var DataViewLayoutOptionsBase = {
205
+ defaultProps: {
206
+ __TYPE: 'DataViewLayoutOptions',
207
+ id: null,
208
+ style: null,
209
+ className: null,
210
+ layout: null,
211
+ onChange: null,
212
+ children: undefined
213
+ },
214
+ getProps: function getProps(props) {
215
+ return utils.ObjectUtils.getMergedProps(props, DataViewLayoutOptionsBase.defaultProps);
216
+ },
217
+ getOtherProps: function getOtherProps(props) {
218
+ return utils.ObjectUtils.getDiffProps(props, DataViewLayoutOptionsBase.defaultProps);
219
+ }
220
+ };
221
+
222
+ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps) {
223
+ var props = DataViewLayoutOptionsBase.getProps(inProps);
166
224
  var changeLayout = function changeLayout(event, layoutMode) {
167
225
  props.onChange({
168
226
  originalEvent: event,
@@ -170,7 +228,7 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (props)
170
228
  });
171
229
  event.preventDefault();
172
230
  };
173
- var otherProps = utils.ObjectUtils.findDiffKeys(props, DataViewLayoutOptions.defaultProps);
231
+ var otherProps = DataViewLayoutOptionsBase.getOtherProps(props);
174
232
  var className = utils.classNames('p-dataview-layout-options p-selectbutton p-buttonset', props.className);
175
233
  var buttonListClass = utils.classNames('p-button p-button-icon-only', {
176
234
  'p-highlight': props.layout === 'list'
@@ -203,8 +261,9 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (props)
203
261
  var DataViewItem = /*#__PURE__*/React__namespace.memo(function (props) {
204
262
  return props.template(props.item, props.layout);
205
263
  });
206
- var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
264
+ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
207
265
  var _classNames;
266
+ var props = DataViewBase.getProps(inProps);
208
267
  var _React$useState = React__namespace.useState(props.first),
209
268
  _React$useState2 = _slicedToArray(_React$useState, 2),
210
269
  firstState = _React$useState2[0],
@@ -365,7 +424,7 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
365
424
  };
366
425
  });
367
426
  var data = processData();
368
- var otherProps = utils.ObjectUtils.findDiffKeys(props, DataView.defaultProps);
427
+ var otherProps = DataViewBase.getOtherProps(props);
369
428
  var className = utils.classNames('p-dataview p-component', (_classNames = {}, _defineProperty(_classNames, "p-dataview-".concat(props.layout), !!props.layout), _defineProperty(_classNames, 'p-dataview-loading', props.loading), _classNames), props.className);
370
429
  var loader = createLoader();
371
430
  var topPaginator = createTopPaginator();
@@ -381,50 +440,8 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
381
440
  }, otherProps), loader, header, topPaginator, content, bottomPaginator, footer);
382
441
  }));
383
442
  DataViewLayoutOptions.displayName = 'DataViewLayoutOptions';
384
- DataViewLayoutOptions.defaultProps = {
385
- __TYPE: 'DataViewLayoutOptions',
386
- id: null,
387
- style: null,
388
- className: null,
389
- layout: null,
390
- onChange: null
391
- };
392
443
  DataViewItem.displayName = 'DataViewItem';
393
444
  DataView.displayName = 'DataView';
394
- DataView.defaultProps = {
395
- __TYPE: 'DataView',
396
- id: null,
397
- header: null,
398
- footer: null,
399
- value: null,
400
- layout: 'list',
401
- dataKey: null,
402
- rows: null,
403
- first: 0,
404
- totalRecords: null,
405
- paginator: false,
406
- paginatorPosition: 'bottom',
407
- alwaysShowPaginator: true,
408
- paginatorClassName: null,
409
- paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
410
- paginatorLeft: null,
411
- paginatorRight: null,
412
- paginatorDropdownAppendTo: null,
413
- pageLinkSize: 5,
414
- rowsPerPageOptions: null,
415
- currentPageReportTemplate: '({currentPage} of {totalPages})',
416
- emptyMessage: null,
417
- sortField: null,
418
- sortOrder: null,
419
- style: null,
420
- className: null,
421
- lazy: false,
422
- loading: false,
423
- loadingIcon: 'pi pi-spinner',
424
- gutter: false,
425
- itemTemplate: null,
426
- onPage: null
427
- };
428
445
 
429
446
  exports.DataView = DataView;
430
447
  exports.DataViewItem = DataViewItem;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/paginator"),a=require("primereact/ripple"),n=require("primereact/utils");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=l(e),u=o(t);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!==s(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function p(e){var t=c(e,"string");return"symbol"===s(t)?t:String(t)}function m(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function d(e){if(Array.isArray(e))return f(e)}function g(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function y(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){if(Array.isArray(e))return e}function w(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,n,o,l,i=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(a=o.call(r)).done)&&(i.push(a.value),i.length!==t);u=!0);}catch(e){s=!0,n=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}function P(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){return b(e)||w(e,t)||y(e,t)||P()}function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},N.apply(this,arguments)}var O=i.memo((function(e){var t=function(t,r){e.onChange({originalEvent:t,value:r}),t.preventDefault()},r=n.ObjectUtils.findDiffKeys(e,O.defaultProps),o=n.classNames("p-dataview-layout-options p-selectbutton p-buttonset",e.className),l=n.classNames("p-button p-button-icon-only",{"p-highlight":"list"===e.layout}),u=n.classNames("p-button p-button-icon-only",{"p-highlight":"grid"===e.layout});return i.createElement("div",N({id:e.id,style:e.style,className:o},r),i.createElement("button",{type:"button",className:l,onClick:function(e){return t(e,"list")}},i.createElement("i",{className:"pi pi-bars"}),i.createElement(a.Ripple,null)),i.createElement("button",{type:"button",className:u,onClick:function(e){return t(e,"grid")}},i.createElement("i",{className:"pi pi-th-large"}),i.createElement(a.Ripple,null)))})),E=i.memo((function(e){return e.template(e.item,e.layout)})),j=i.memo(i.forwardRef((function(e,a){var o,l=h(i.useState(e.first),2),s=l[0],c=l[1],p=h(i.useState(e.rows),2),f=p[0],b=p[1],w=i.useRef(null),P=e.onPage?e.first:s,O=e.onPage?e.rows:f,S=function(t){return e.dataKey?n.ObjectUtils.resolveFieldData(t,e.dataKey):null},D=function(){return e.totalRecords?e.totalRecords:e.value?e.value.length:0},T=function(t){var a=n.classNames("p-paginator-"+t,e.paginatorClassName),o=D();return i.createElement(r.Paginator,{first:P,rows:O,pageLinkSize:e.pageLinkSize,className:a,onPageChange:L,template:e.paginatorTemplate,totalRecords:o,rowsPerPageOptions:e.rowsPerPageOptions,currentPageReportTemplate:e.currentPageReportTemplate,leftContent:e.paginatorLeft,rightContent:e.paginatorRight,alwaysShow:e.alwaysShowPaginator,dropdownAppendTo:e.paginatorDropdownAppendTo})},L=function(t){e.onPage?e.onPage(t):(c(t.first),b(t.rows))},R=function(){if(e.value){var t=d(r=e.value)||g(r)||y(r)||v();return t.sort((function(t,r){var a=n.ObjectUtils.resolveFieldData(t,e.sortField),o=n.ObjectUtils.resolveFieldData(r,e.sortField);return n.ObjectUtils.sort(a,o,e.sortOrder,u.default.locale,u.default.nullSortOrder)})),t}var r;return null},k=function(){if(!e.loading){var r=e.emptyMessage||t.localeOption("emptyMessage");return i.createElement("div",{className:"p-col-12 col-12 p-dataview-emptymessage"},r)}return null},A=function(t){if(n.ObjectUtils.isNotEmpty(t)){if(e.paginator){for(var r=e.lazy?0:P,a=D(),o=Math.min(O+r,a),l=[],u=r;u<o;u++){var s=t[u];s&&l.push(i.createElement(E,{key:S(t)||u,template:e.itemTemplate,layout:e.layout,item:s}))}return l}return t.map((function(t,r){return i.createElement(E,{key:S(t)||r,template:e.itemTemplate,layout:e.layout,item:t})}))}return k()};i.useImperativeHandle(a,(function(){return{props:e,getElement:function(){return w.current}}}));var C,I,U=function(){var t=e.value;return n.ObjectUtils.isNotEmpty(t)&&e.sortField&&(t=R()),t}(),F=n.ObjectUtils.findDiffKeys(e,j.defaultProps),V=n.classNames("p-dataview p-component",(m(o={},"p-dataview-".concat(e.layout),!!e.layout),m(o,"p-dataview-loading",e.loading),o),e.className),_=function(){if(e.loading){var t=n.classNames("p-dataview-loading-icon pi-spin",e.loadingIcon);return i.createElement("div",{className:"p-dataview-loading-overlay p-component-overlay"},i.createElement("i",{className:t}))}return null}(),M=!e.paginator||"bottom"===e.paginatorPosition&&"both"!==e.paginatorPosition?null:T("top"),x=!e.paginator||"top"===e.paginatorPosition&&"both"!==e.paginatorPosition?null:T("bottom"),z=e.header?i.createElement("div",{className:"p-dataview-header"},e.header):null,q=e.footer?i.createElement("div",{className:"p-dataview-footer"},e.footer):null,K=(C=A(U),I=n.classNames("p-grid grid",{"p-nogutter grid-nogutter":!e.gutter}),i.createElement("div",{className:"p-dataview-content"},i.createElement("div",{className:I},C)));return i.createElement("div",N({id:e.id,ref:w,style:e.style,className:V},F),_,z,M,K,x,q)})));O.displayName="DataViewLayoutOptions",O.defaultProps={__TYPE:"DataViewLayoutOptions",id:null,style:null,className:null,layout:null,onChange:null},E.displayName="DataViewItem",j.displayName="DataView",j.defaultProps={__TYPE:"DataView",id:null,header:null,footer:null,value:null,layout:"list",dataKey:null,rows:null,first:0,totalRecords:null,paginator:!1,paginatorPosition:"bottom",alwaysShowPaginator:!0,paginatorClassName:null,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",paginatorLeft:null,paginatorRight:null,paginatorDropdownAppendTo:null,pageLinkSize:5,rowsPerPageOptions:null,currentPageReportTemplate:"({currentPage} of {totalPages})",emptyMessage:null,sortField:null,sortOrder:null,style:null,className:null,lazy:!1,loading:!1,loadingIcon:"pi pi-spinner",gutter:!1,itemTemplate:null,onPage:null},exports.DataView=j,exports.DataViewItem=E,exports.DataViewLayoutOptions=O;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/paginator"),n=require("primereact/ripple"),a=require("primereact/utils");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=l(e),u=o(t);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function p(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function c(e){var t=p(e,"string");return"symbol"===s(t)?t:String(t)}function f(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e){if(Array.isArray(e))return m(e)}function d(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function y(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e){if(Array.isArray(e))return e}function P(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,l,i=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(s)throw a}}return i}}function w(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){return b(e)||P(e,t)||y(e,t)||w()}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var N={defaultProps:{__TYPE:"DataView",id:null,header:null,footer:null,value:null,layout:"list",dataKey:null,rows:null,first:0,totalRecords:null,paginator:!1,paginatorPosition:"bottom",alwaysShowPaginator:!0,paginatorClassName:null,paginatorTemplate:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",paginatorLeft:null,paginatorRight:null,paginatorDropdownAppendTo:null,pageLinkSize:5,rowsPerPageOptions:null,currentPageReportTemplate:"({currentPage} of {totalPages})",emptyMessage:null,sortField:null,sortOrder:null,style:null,className:null,lazy:!1,loading:!1,loadingIcon:"pi pi-spinner",gutter:!1,itemTemplate:null,onPage:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,N.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,N.defaultProps)}},j={defaultProps:{__TYPE:"DataViewLayoutOptions",id:null,style:null,className:null,layout:null,onChange:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,j.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,j.defaultProps)}},E=i.memo((function(e){var t=j.getProps(e),r=function(e,r){t.onChange({originalEvent:e,value:r}),e.preventDefault()},o=j.getOtherProps(t),l=a.classNames("p-dataview-layout-options p-selectbutton p-buttonset",t.className),u=a.classNames("p-button p-button-icon-only",{"p-highlight":"list"===t.layout}),s=a.classNames("p-button p-button-icon-only",{"p-highlight":"grid"===t.layout});return i.createElement("div",O({id:t.id,style:t.style,className:l},o),i.createElement("button",{type:"button",className:u,onClick:function(e){return r(e,"list")}},i.createElement("i",{className:"pi pi-bars"}),i.createElement(n.Ripple,null)),i.createElement("button",{type:"button",className:s,onClick:function(e){return r(e,"grid")}},i.createElement("i",{className:"pi pi-th-large"}),i.createElement(n.Ripple,null)))})),S=i.memo((function(e){return e.template(e.item,e.layout)})),D=i.memo(i.forwardRef((function(e,n){var o,l=N.getProps(e),s=h(i.useState(l.first),2),p=s[0],c=s[1],m=h(i.useState(l.rows),2),b=m[0],P=m[1],w=i.useRef(null),j=l.onPage?l.first:p,E=l.onPage?l.rows:b,D=function(e){return l.dataKey?a.ObjectUtils.resolveFieldData(e,l.dataKey):null},T=function(){return l.totalRecords?l.totalRecords:l.value?l.value.length:0},L=function(e){var t=a.classNames("p-paginator-"+e,l.paginatorClassName),n=T();return i.createElement(r.Paginator,{first:j,rows:E,pageLinkSize:l.pageLinkSize,className:t,onPageChange:R,template:l.paginatorTemplate,totalRecords:n,rowsPerPageOptions:l.rowsPerPageOptions,currentPageReportTemplate:l.currentPageReportTemplate,leftContent:l.paginatorLeft,rightContent:l.paginatorRight,alwaysShow:l.alwaysShowPaginator,dropdownAppendTo:l.paginatorDropdownAppendTo})},R=function(e){l.onPage?l.onPage(e):(c(e.first),P(e.rows))},k=function(){if(l.value){var e=g(t=l.value)||d(t)||y(t)||v();return e.sort((function(e,t){var r=a.ObjectUtils.resolveFieldData(e,l.sortField),n=a.ObjectUtils.resolveFieldData(t,l.sortField);return a.ObjectUtils.sort(r,n,l.sortOrder,u.default.locale,u.default.nullSortOrder)})),e}var t;return null},A=function(){if(!l.loading){var e=l.emptyMessage||t.localeOption("emptyMessage");return i.createElement("div",{className:"p-col-12 col-12 p-dataview-emptymessage"},e)}return null},U=function(e){if(a.ObjectUtils.isNotEmpty(e)){if(l.paginator){for(var t=l.lazy?0:j,r=T(),n=Math.min(E+t,r),o=[],u=t;u<n;u++){var s=e[u];s&&o.push(i.createElement(S,{key:D(e)||u,template:l.itemTemplate,layout:l.layout,item:s}))}return o}return e.map((function(e,t){return i.createElement(S,{key:D(e)||t,template:l.itemTemplate,layout:l.layout,item:e})}))}return A()};i.useImperativeHandle(n,(function(){return{props:l,getElement:function(){return w.current}}}));var C,I,M=function(){var e=l.value;return a.ObjectUtils.isNotEmpty(e)&&l.sortField&&(e=k()),e}(),F=N.getOtherProps(l),V=a.classNames("p-dataview p-component",(f(o={},"p-dataview-".concat(l.layout),!!l.layout),f(o,"p-dataview-loading",l.loading),o),l.className),_=function(){if(l.loading){var e=a.classNames("p-dataview-loading-icon pi-spin",l.loadingIcon);return i.createElement("div",{className:"p-dataview-loading-overlay p-component-overlay"},i.createElement("i",{className:e}))}return null}(),x=!l.paginator||"bottom"===l.paginatorPosition&&"both"!==l.paginatorPosition?null:L("top"),z=!l.paginator||"top"===l.paginatorPosition&&"both"!==l.paginatorPosition?null:L("bottom"),q=l.header?i.createElement("div",{className:"p-dataview-header"},l.header):null,K=l.footer?i.createElement("div",{className:"p-dataview-footer"},l.footer):null,Y=(C=U(M),I=a.classNames("p-grid grid",{"p-nogutter grid-nogutter":!l.gutter}),i.createElement("div",{className:"p-dataview-content"},i.createElement("div",{className:I},C)));return i.createElement("div",O({id:l.id,ref:w,style:l.style,className:V},F),_,q,x,Y,z,K)})));E.displayName="DataViewLayoutOptions",S.displayName="DataViewItem",D.displayName="DataView",exports.DataView=D,exports.DataViewItem=S,exports.DataViewLayoutOptions=E;
@@ -1,70 +1,249 @@
1
+ /**
2
+ *
3
+ * DataView displays data in grid or list layout with pagination and sorting features.
4
+ *
5
+ * [Live Demo](https://www.primefaces.org/primereact/dataview/)
6
+ *
7
+ * @module dataview
8
+ *
9
+ */
1
10
  import * as React from 'react';
2
11
  import { PaginatorTemplate } from '../paginator';
3
12
 
4
- type DataViewLayoutType = 'list' | 'grid' | (string & Record<string, unknown>);
5
-
6
- type DataViewPaginatorPositionType = 'top' | 'bottom' | 'both';
7
-
8
- type DataViewSortOrderType = 1 | 0 | -1 | undefined | null;
9
-
10
- type DataViewAppendToType = 'self' | HTMLElement | undefined | null;
11
-
12
- interface DataViewPageParams {
13
+ /**
14
+ * Custom page event.
15
+ * @see {@link DataViewProps.onPage}
16
+ * @event
17
+ */
18
+ interface DataViewPageEvent {
19
+ /**
20
+ * Index of the first records on page.
21
+ */
13
22
  first: number;
23
+ /**
24
+ * Number of records to display per page.
25
+ */
14
26
  rows: number;
27
+ /**
28
+ * Value of the new page.
29
+ */
15
30
  page: number;
31
+ /**
32
+ * Total number of pages.
33
+ */
16
34
  pageCount: number;
17
35
  }
18
36
 
19
- interface DataViewLayoutOptionsChangeParams {
37
+ /**
38
+ * Custom data view layout options event.
39
+ */
40
+ interface DataViewLayoutOptionsChangeEvent {
41
+ /**
42
+ * Browser event.
43
+ */
20
44
  originalEvent: React.MouseEvent<HTMLButtonElement>;
21
- value: DataViewLayoutType;
45
+ /**
46
+ * New value.
47
+ */
48
+ value: 'list' | 'grid' | (string & Record<string, unknown>);
22
49
  }
23
50
 
51
+ /**
52
+ * Custom data view layout options props
53
+ * @group Misc
54
+ */
24
55
  export interface DataViewLayoutOptionsProps {
56
+ /**
57
+ * Unique identifier of the element.
58
+ */
25
59
  id?: string;
26
- layout?: DataViewLayoutType;
60
+ /**
61
+ * Orientation of the panels, valid values are "list" and "grid".
62
+ */
63
+ layout?: 'list' | 'grid' | (string & Record<string, unknown>);
64
+ /**
65
+ * Inline style of the element.
66
+ */
27
67
  style?: React.CSSProperties;
68
+ /**
69
+ * Style class of the element.
70
+ */
28
71
  className?: string;
29
- onChange(e: DataViewLayoutOptionsChangeParams): void;
30
- children?: React.ReactNode;
72
+ /**
73
+ * Layout options change callback
74
+ * @param {DataViewLayoutOptionsChangeEvent} event - Custom event.
75
+ */
76
+ onChange(event: DataViewLayoutOptionsChangeEvent): void;
77
+ /**
78
+ * Used to get the child elements of the component.
79
+ * @readonly
80
+ */
81
+ children?: React.ReactNode | undefined;
31
82
  }
32
83
 
84
+ /**
85
+ * Custom data view layout options
86
+ * @group Misc
87
+ * @extends {React.Component<DataViewLayoutOptionsProps, any>}
88
+ */
33
89
  export declare class DataViewLayoutOptions extends React.Component<DataViewLayoutOptionsProps, any> {}
34
90
 
91
+ /**
92
+ * Defines valid properties in DataView component. In addition to these, all properties of HTMLDivElement can be used in this component.
93
+ * @group Properties
94
+ */
35
95
  export interface DataViewProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
36
- header?: React.ReactNode;
37
- footer?: React.ReactNode;
38
- value?: any[];
39
- layout?: DataViewLayoutType;
40
- dataKey?: string;
41
- rows?: number;
42
- first?: number;
43
- totalRecords?: number;
44
- paginator?: boolean;
45
- paginatorPosition?: DataViewPaginatorPositionType;
46
- alwaysShowPaginator?: boolean;
47
- paginatorClassName?: string;
48
- paginatorTemplate?: PaginatorTemplate;
49
- paginatorLeft?: React.ReactNode;
50
- paginatorRight?: React.ReactNode;
51
- pageLinkSize?: number;
52
- paginatorDropdownAppendTo?: DataViewAppendToType;
53
- rowsPerPageOptions?: number[];
54
- currentPageReportTemplate?: string;
55
- emptyMessage?: string;
56
- sortField?: string;
57
- sortOrder?: DataViewSortOrderType;
58
- lazy?: boolean;
59
- loading?: boolean;
60
- loadingIcon?: string;
61
- gutter?: boolean;
62
- onPage?(e: DataViewPageParams): void;
63
- itemTemplate?(item: any, layout: DataViewLayoutType): React.ReactNode;
64
- children?: React.ReactNode;
96
+ /**
97
+ * Header content of the component.
98
+ */
99
+ header?: React.ReactNode | undefined;
100
+ /**
101
+ * Footer content of the component.
102
+ */
103
+ footer?: React.ReactNode | undefined;
104
+ /**
105
+ * An array of objects to display.
106
+ */
107
+ value?: any[] | undefined;
108
+ /**
109
+ * Layout of the items, valid values are "list" and "grid".
110
+ * @defaultValue list
111
+ */
112
+ layout?: 'list' | 'grid' | (string & Record<string, unknown>);
113
+ /**
114
+ * Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering.
115
+ */
116
+ dataKey?: string | undefined;
117
+ /**
118
+ * Number of rows to display per page.
119
+ */
120
+ rows?: number | undefined;
121
+ /**
122
+ * Index of the first record to render.
123
+ * @defaultValue 0
124
+ */
125
+ first?: number | undefined;
126
+ /**
127
+ * Number of total records, defaults to length of value when not defined.
128
+ */
129
+ totalRecords?: number | undefined;
130
+ /**
131
+ * When specified as true, enables the pagination.
132
+ * @defaultValue false
133
+ */
134
+ paginator?: boolean | undefined;
135
+ /**
136
+ * Position of the paginator, options are "top","bottom" or "both".
137
+ * @defaultValue bottom
138
+ */
139
+ paginatorPosition?: 'top' | 'bottom' | 'both' | undefined;
140
+ /**
141
+ * Whether to show it even there is only one page.
142
+ * @defaultValue true
143
+ */
144
+ alwaysShowPaginator?: boolean | undefined;
145
+ /**
146
+ * Style class of the paginator element.
147
+ */
148
+ paginatorClassName?: string | undefined;
149
+ /**
150
+ * Template of the paginator. For details, refer to the template section of the paginator documentation for further options.
151
+ * @defaultValue FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown
152
+ */
153
+ paginatorTemplate?: PaginatorTemplate | undefined;
154
+ /**
155
+ * Content for the left side of the paginator.
156
+ */
157
+ paginatorLeft?: React.ReactNode | undefined;
158
+ /**
159
+ * Content for the right side of the paginator.
160
+ */
161
+ paginatorRight?: React.ReactNode | undefined;
162
+ /**
163
+ * Number of page links to display.
164
+ * @defaultValue 5
165
+ */
166
+ pageLinkSize?: number | undefined;
167
+ /**
168
+ * DOM element instance where the overlay panel should be mounted. Valid values are any DOM Element and 'self'. The self value is used to render a component where it is located.
169
+ * @defaultValue document.body
170
+ */
171
+ paginatorDropdownAppendTo?: 'self' | HTMLElement | undefined | null;
172
+ /**
173
+ * Array of integer values to display inside rows per page dropdown.
174
+ */
175
+ rowsPerPageOptions?: number[] | undefined;
176
+ /**
177
+ * Template of the current page report element.
178
+ * @defaultValue (&123;currentPage&125; of &123;totalPages&125;)
179
+ */
180
+ currentPageReportTemplate?: string | undefined;
181
+ /**
182
+ * Text to display when there is no data.
183
+ * @defaultValue No records found.
184
+ */
185
+ emptyMessage?: string | undefined;
186
+ /**
187
+ * Name of the field to sort data by default.
188
+ */
189
+ sortField?: string | undefined;
190
+ /**
191
+ * Order to sort the data by default.
192
+ */
193
+ sortOrder?: 1 | 0 | -1 | undefined | null;
194
+ /**
195
+ * Defines if data is loaded and interacted with in lazy manner.
196
+ * @defaultValue false
197
+ */
198
+ lazy?: boolean | undefined;
199
+ /**
200
+ * Display loading icon of the button.
201
+ */
202
+ loading?: boolean | undefined;
203
+ /**
204
+ * Name of the loading icon or JSX.Element for loading icon.
205
+ */
206
+ loadingIcon?: string | undefined;
207
+ /**
208
+ * Whether the grid structure in the container has gutter. Default value is false.
209
+ * @defaultValue false
210
+ */
211
+ gutter?: boolean | undefined;
212
+ /**
213
+ * Callback to invoke on pagination.
214
+ * @param {DataViewPageEvent} event - Custom page event.
215
+ */
216
+ onPage?(event: DataViewPageEvent): void;
217
+ /**
218
+ * Function that gets the option along with the layout mdoe and returns the content.
219
+ * @param {*} item - Current item.
220
+ * @param {'list' | 'grid' | (string & Record<string, unknown>)} layout - Current layout.
221
+ */
222
+ itemTemplate?(item: any, layout: 'list' | 'grid' | (string & Record<string, unknown>)): React.ReactNode;
223
+ /**
224
+ * Used to get the child elements of the component.
225
+ * @readonly
226
+ */
227
+ children?: React.ReactNode | undefined;
65
228
  }
66
229
 
230
+ /**
231
+ * **PrimeReact - DataViewLayoutOptions**
232
+ *
233
+ * _DataView displays data in grid or list layout with pagination and sorting features._
234
+ *
235
+ * [Live Demo](https://www.primefaces.org/primereact/dataview/)
236
+ * --- ---
237
+ * ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png)
238
+ *
239
+ * @group Component
240
+ *
241
+ */
67
242
  // tslint:disable-next-line:max-classes-per-file
68
243
  export declare class DataView extends React.Component<DataViewProps, any> {
244
+ /**
245
+ * Used to get container element.
246
+ * @return {HTMLDivElement} Container element
247
+ */
69
248
  public getElement(): HTMLDivElement;
70
249
  }
@@ -47,9 +47,7 @@ function _defineProperty(obj, key, value) {
47
47
 
48
48
  function _arrayLikeToArray(arr, len) {
49
49
  if (len == null || len > arr.length) len = arr.length;
50
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
51
- arr2[i] = arr[i];
52
- }
50
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
53
51
  return arr2;
54
52
  }
55
53
 
@@ -96,9 +94,7 @@ function _iterableToArrayLimit(arr, i) {
96
94
  if (_x = (_i = _i.call(arr)).next, 0 === i) {
97
95
  if (Object(_i) !== _i) return;
98
96
  _n = !1;
99
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
100
- ;
101
- }
97
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
102
98
  } catch (err) {
103
99
  _d = !0, _e = err;
104
100
  } finally {
@@ -135,7 +131,69 @@ function _extends() {
135
131
  return _extends.apply(this, arguments);
136
132
  }
137
133
 
138
- var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (props) {
134
+ var DataViewBase = {
135
+ defaultProps: {
136
+ __TYPE: 'DataView',
137
+ id: null,
138
+ header: null,
139
+ footer: null,
140
+ value: null,
141
+ layout: 'list',
142
+ dataKey: null,
143
+ rows: null,
144
+ first: 0,
145
+ totalRecords: null,
146
+ paginator: false,
147
+ paginatorPosition: 'bottom',
148
+ alwaysShowPaginator: true,
149
+ paginatorClassName: null,
150
+ paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
151
+ paginatorLeft: null,
152
+ paginatorRight: null,
153
+ paginatorDropdownAppendTo: null,
154
+ pageLinkSize: 5,
155
+ rowsPerPageOptions: null,
156
+ currentPageReportTemplate: '({currentPage} of {totalPages})',
157
+ emptyMessage: null,
158
+ sortField: null,
159
+ sortOrder: null,
160
+ style: null,
161
+ className: null,
162
+ lazy: false,
163
+ loading: false,
164
+ loadingIcon: 'pi pi-spinner',
165
+ gutter: false,
166
+ itemTemplate: null,
167
+ onPage: null,
168
+ children: undefined
169
+ },
170
+ getProps: function getProps(props) {
171
+ return ObjectUtils.getMergedProps(props, DataViewBase.defaultProps);
172
+ },
173
+ getOtherProps: function getOtherProps(props) {
174
+ return ObjectUtils.getDiffProps(props, DataViewBase.defaultProps);
175
+ }
176
+ };
177
+ var DataViewLayoutOptionsBase = {
178
+ defaultProps: {
179
+ __TYPE: 'DataViewLayoutOptions',
180
+ id: null,
181
+ style: null,
182
+ className: null,
183
+ layout: null,
184
+ onChange: null,
185
+ children: undefined
186
+ },
187
+ getProps: function getProps(props) {
188
+ return ObjectUtils.getMergedProps(props, DataViewLayoutOptionsBase.defaultProps);
189
+ },
190
+ getOtherProps: function getOtherProps(props) {
191
+ return ObjectUtils.getDiffProps(props, DataViewLayoutOptionsBase.defaultProps);
192
+ }
193
+ };
194
+
195
+ var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (inProps) {
196
+ var props = DataViewLayoutOptionsBase.getProps(inProps);
139
197
  var changeLayout = function changeLayout(event, layoutMode) {
140
198
  props.onChange({
141
199
  originalEvent: event,
@@ -143,7 +201,7 @@ var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (props) {
143
201
  });
144
202
  event.preventDefault();
145
203
  };
146
- var otherProps = ObjectUtils.findDiffKeys(props, DataViewLayoutOptions.defaultProps);
204
+ var otherProps = DataViewLayoutOptionsBase.getOtherProps(props);
147
205
  var className = classNames('p-dataview-layout-options p-selectbutton p-buttonset', props.className);
148
206
  var buttonListClass = classNames('p-button p-button-icon-only', {
149
207
  'p-highlight': props.layout === 'list'
@@ -176,8 +234,9 @@ var DataViewLayoutOptions = /*#__PURE__*/React.memo(function (props) {
176
234
  var DataViewItem = /*#__PURE__*/React.memo(function (props) {
177
235
  return props.template(props.item, props.layout);
178
236
  });
179
- var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (props, ref) {
237
+ var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
180
238
  var _classNames;
239
+ var props = DataViewBase.getProps(inProps);
181
240
  var _React$useState = React.useState(props.first),
182
241
  _React$useState2 = _slicedToArray(_React$useState, 2),
183
242
  firstState = _React$useState2[0],
@@ -338,7 +397,7 @@ var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
338
397
  };
339
398
  });
340
399
  var data = processData();
341
- var otherProps = ObjectUtils.findDiffKeys(props, DataView.defaultProps);
400
+ var otherProps = DataViewBase.getOtherProps(props);
342
401
  var className = classNames('p-dataview p-component', (_classNames = {}, _defineProperty(_classNames, "p-dataview-".concat(props.layout), !!props.layout), _defineProperty(_classNames, 'p-dataview-loading', props.loading), _classNames), props.className);
343
402
  var loader = createLoader();
344
403
  var topPaginator = createTopPaginator();
@@ -354,49 +413,7 @@ var DataView = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
354
413
  }, otherProps), loader, header, topPaginator, content, bottomPaginator, footer);
355
414
  }));
356
415
  DataViewLayoutOptions.displayName = 'DataViewLayoutOptions';
357
- DataViewLayoutOptions.defaultProps = {
358
- __TYPE: 'DataViewLayoutOptions',
359
- id: null,
360
- style: null,
361
- className: null,
362
- layout: null,
363
- onChange: null
364
- };
365
416
  DataViewItem.displayName = 'DataViewItem';
366
417
  DataView.displayName = 'DataView';
367
- DataView.defaultProps = {
368
- __TYPE: 'DataView',
369
- id: null,
370
- header: null,
371
- footer: null,
372
- value: null,
373
- layout: 'list',
374
- dataKey: null,
375
- rows: null,
376
- first: 0,
377
- totalRecords: null,
378
- paginator: false,
379
- paginatorPosition: 'bottom',
380
- alwaysShowPaginator: true,
381
- paginatorClassName: null,
382
- paginatorTemplate: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
383
- paginatorLeft: null,
384
- paginatorRight: null,
385
- paginatorDropdownAppendTo: null,
386
- pageLinkSize: 5,
387
- rowsPerPageOptions: null,
388
- currentPageReportTemplate: '({currentPage} of {totalPages})',
389
- emptyMessage: null,
390
- sortField: null,
391
- sortOrder: null,
392
- style: null,
393
- className: null,
394
- lazy: false,
395
- loading: false,
396
- loadingIcon: 'pi pi-spinner',
397
- gutter: false,
398
- itemTemplate: null,
399
- onPage: null
400
- };
401
418
 
402
419
  export { DataView, DataViewItem, DataViewLayoutOptions };