primereact 9.5.0 → 9.6.0

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 (870) hide show
  1. package/accordion/accordion.cjs.js +2 -1
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.esm.js +3 -2
  4. package/accordion/accordion.esm.min.js +1 -1
  5. package/accordion/accordion.js +2 -1
  6. package/accordion/accordion.min.js +1 -1
  7. package/api/api.cjs.js +214 -3
  8. package/api/api.cjs.min.js +1 -1
  9. package/api/api.d.ts +876 -3
  10. package/api/api.esm.js +209 -4
  11. package/api/api.esm.min.js +1 -1
  12. package/api/api.js +215 -5
  13. package/api/api.min.js +1 -1
  14. package/autocomplete/autocomplete.cjs.js +132 -91
  15. package/autocomplete/autocomplete.cjs.min.js +1 -1
  16. package/autocomplete/autocomplete.d.ts +134 -2
  17. package/autocomplete/autocomplete.esm.js +134 -93
  18. package/autocomplete/autocomplete.esm.min.js +1 -1
  19. package/autocomplete/autocomplete.js +133 -93
  20. package/autocomplete/autocomplete.min.js +1 -1
  21. package/avatar/avatar.cjs.js +3 -1
  22. package/avatar/avatar.cjs.min.js +1 -1
  23. package/avatar/avatar.d.ts +1 -1
  24. package/avatar/avatar.esm.js +3 -1
  25. package/avatar/avatar.esm.min.js +1 -1
  26. package/avatar/avatar.js +4 -3
  27. package/avatar/avatar.min.js +1 -1
  28. package/avatargroup/avatargroup.cjs.js +3 -1
  29. package/avatargroup/avatargroup.cjs.min.js +1 -1
  30. package/avatargroup/avatargroup.esm.js +3 -1
  31. package/avatargroup/avatargroup.esm.min.js +1 -1
  32. package/avatargroup/avatargroup.js +4 -3
  33. package/avatargroup/avatargroup.min.js +1 -1
  34. package/badge/badge.cjs.js +3 -1
  35. package/badge/badge.cjs.min.js +1 -1
  36. package/badge/badge.esm.js +3 -1
  37. package/badge/badge.esm.min.js +1 -1
  38. package/badge/badge.js +4 -3
  39. package/badge/badge.min.js +1 -1
  40. package/blockui/blockui.cjs.js +4 -3
  41. package/blockui/blockui.cjs.min.js +1 -1
  42. package/blockui/blockui.esm.js +4 -3
  43. package/blockui/blockui.esm.min.js +1 -1
  44. package/blockui/blockui.js +5 -4
  45. package/blockui/blockui.min.js +1 -1
  46. package/breadcrumb/breadcrumb.cjs.js +11 -4
  47. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  48. package/breadcrumb/breadcrumb.esm.js +11 -4
  49. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  50. package/breadcrumb/breadcrumb.js +11 -5
  51. package/breadcrumb/breadcrumb.min.js +1 -1
  52. package/button/button.cjs.js +6 -2
  53. package/button/button.cjs.min.js +1 -1
  54. package/button/button.d.ts +6 -0
  55. package/button/button.esm.js +6 -2
  56. package/button/button.esm.min.js +1 -1
  57. package/button/button.js +7 -4
  58. package/button/button.min.js +1 -1
  59. package/calendar/calendar.cjs.js +320 -228
  60. package/calendar/calendar.cjs.min.js +1 -1
  61. package/calendar/calendar.d.ts +267 -1
  62. package/calendar/calendar.esm.js +322 -230
  63. package/calendar/calendar.esm.min.js +1 -1
  64. package/calendar/calendar.js +321 -230
  65. package/calendar/calendar.min.js +1 -1
  66. package/card/card.cjs.js +3 -1
  67. package/card/card.cjs.min.js +1 -1
  68. package/card/card.d.ts +5 -11
  69. package/card/card.esm.js +3 -1
  70. package/card/card.esm.min.js +1 -1
  71. package/card/card.js +4 -3
  72. package/card/card.min.js +1 -1
  73. package/carousel/carousel.cjs.js +19 -10
  74. package/carousel/carousel.cjs.min.js +1 -1
  75. package/carousel/carousel.d.ts +8 -0
  76. package/carousel/carousel.esm.js +20 -11
  77. package/carousel/carousel.esm.min.js +1 -1
  78. package/carousel/carousel.js +19 -10
  79. package/carousel/carousel.min.js +1 -1
  80. package/cascadeselect/cascadeselect.cjs.js +154 -85
  81. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  82. package/cascadeselect/cascadeselect.d.ts +95 -1
  83. package/cascadeselect/cascadeselect.esm.js +156 -87
  84. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  85. package/cascadeselect/cascadeselect.js +154 -86
  86. package/cascadeselect/cascadeselect.min.js +1 -1
  87. package/chart/chart.cjs.js +3 -1
  88. package/chart/chart.cjs.min.js +1 -1
  89. package/chart/chart.esm.js +3 -1
  90. package/chart/chart.esm.min.js +1 -1
  91. package/chart/chart.js +4 -3
  92. package/chart/chart.min.js +1 -1
  93. package/checkbox/checkbox.cjs.js +93 -34
  94. package/checkbox/checkbox.cjs.min.js +1 -1
  95. package/checkbox/checkbox.d.ts +60 -1
  96. package/checkbox/checkbox.esm.js +94 -35
  97. package/checkbox/checkbox.esm.min.js +1 -1
  98. package/checkbox/checkbox.js +93 -36
  99. package/checkbox/checkbox.min.js +1 -1
  100. package/chip/chip.cjs.js +3 -1
  101. package/chip/chip.cjs.min.js +1 -1
  102. package/chip/chip.d.ts +1 -1
  103. package/chip/chip.esm.js +3 -1
  104. package/chip/chip.esm.min.js +1 -1
  105. package/chip/chip.js +4 -3
  106. package/chip/chip.min.js +1 -1
  107. package/chips/chips.cjs.js +60 -38
  108. package/chips/chips.cjs.min.js +1 -1
  109. package/chips/chips.d.ts +73 -6
  110. package/chips/chips.esm.js +61 -39
  111. package/chips/chips.esm.min.js +1 -1
  112. package/chips/chips.js +60 -40
  113. package/chips/chips.min.js +1 -1
  114. package/colorpicker/colorpicker.cjs.js +119 -49
  115. package/colorpicker/colorpicker.cjs.min.js +1 -1
  116. package/colorpicker/colorpicker.d.ts +76 -0
  117. package/colorpicker/colorpicker.esm.js +121 -51
  118. package/colorpicker/colorpicker.esm.min.js +1 -1
  119. package/colorpicker/colorpicker.js +120 -51
  120. package/colorpicker/colorpicker.min.js +1 -1
  121. package/column/column.cjs.js +2 -0
  122. package/column/column.d.ts +298 -1
  123. package/column/column.esm.js +2 -0
  124. package/column/column.js +2 -0
  125. package/columngroup/columngroup.d.ts +28 -0
  126. package/componentbase/componentbase.cjs.js +29 -5
  127. package/componentbase/componentbase.cjs.min.js +1 -1
  128. package/componentbase/componentbase.esm.js +25 -5
  129. package/componentbase/componentbase.esm.min.js +1 -1
  130. package/componentbase/componentbase.js +30 -7
  131. package/componentbase/componentbase.min.js +1 -1
  132. package/confirmdialog/confirmdialog.cjs.js +2 -1
  133. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  134. package/confirmdialog/confirmdialog.esm.js +3 -2
  135. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  136. package/confirmdialog/confirmdialog.js +2 -1
  137. package/confirmdialog/confirmdialog.min.js +1 -1
  138. package/confirmpopup/confirmpopup.cjs.js +5 -4
  139. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  140. package/confirmpopup/confirmpopup.esm.js +6 -5
  141. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  142. package/confirmpopup/confirmpopup.js +5 -4
  143. package/confirmpopup/confirmpopup.min.js +1 -1
  144. package/contextmenu/contextmenu.cjs.js +10 -8
  145. package/contextmenu/contextmenu.cjs.min.js +1 -1
  146. package/contextmenu/contextmenu.esm.js +11 -9
  147. package/contextmenu/contextmenu.esm.min.js +1 -1
  148. package/contextmenu/contextmenu.js +10 -8
  149. package/contextmenu/contextmenu.min.js +1 -1
  150. package/core/core.js +1165 -585
  151. package/core/core.min.js +47 -47
  152. package/csstransition/csstransition.cjs.js +3 -2
  153. package/csstransition/csstransition.cjs.min.js +1 -1
  154. package/csstransition/csstransition.esm.js +3 -2
  155. package/csstransition/csstransition.esm.min.js +1 -1
  156. package/csstransition/csstransition.js +4 -3
  157. package/csstransition/csstransition.min.js +1 -1
  158. package/datascroller/datascroller.cjs.js +34 -43
  159. package/datascroller/datascroller.cjs.min.js +1 -1
  160. package/datascroller/datascroller.d.ts +51 -1
  161. package/datascroller/datascroller.esm.js +36 -45
  162. package/datascroller/datascroller.esm.min.js +1 -1
  163. package/datascroller/datascroller.js +35 -45
  164. package/datascroller/datascroller.min.js +1 -1
  165. package/datatable/datatable.cjs.js +911 -477
  166. package/datatable/datatable.cjs.min.js +1 -1
  167. package/datatable/datatable.d.ts +191 -3
  168. package/datatable/datatable.esm.js +913 -479
  169. package/datatable/datatable.esm.min.js +1 -1
  170. package/datatable/datatable.js +912 -479
  171. package/datatable/datatable.min.js +1 -1
  172. package/dataview/dataview.cjs.js +125 -109
  173. package/dataview/dataview.cjs.min.js +1 -1
  174. package/dataview/dataview.d.ts +105 -2
  175. package/dataview/dataview.esm.js +127 -111
  176. package/dataview/dataview.esm.min.js +1 -1
  177. package/dataview/dataview.js +123 -108
  178. package/dataview/dataview.min.js +1 -1
  179. package/deferredcontent/deferredcontent.cjs.js +3 -1
  180. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  181. package/deferredcontent/deferredcontent.esm.js +3 -1
  182. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  183. package/deferredcontent/deferredcontent.js +4 -3
  184. package/deferredcontent/deferredcontent.min.js +1 -1
  185. package/dialog/dialog.cjs.js +6 -5
  186. package/dialog/dialog.cjs.min.js +1 -1
  187. package/dialog/dialog.esm.js +7 -6
  188. package/dialog/dialog.esm.min.js +1 -1
  189. package/dialog/dialog.js +6 -5
  190. package/dialog/dialog.min.js +1 -1
  191. package/divider/divider.cjs.js +3 -1
  192. package/divider/divider.cjs.min.js +1 -1
  193. package/divider/divider.esm.js +3 -1
  194. package/divider/divider.esm.min.js +1 -1
  195. package/divider/divider.js +4 -3
  196. package/divider/divider.min.js +1 -1
  197. package/dock/dock.cjs.js +3 -1
  198. package/dock/dock.cjs.min.js +1 -1
  199. package/dock/dock.esm.js +3 -1
  200. package/dock/dock.esm.min.js +1 -1
  201. package/dock/dock.js +4 -3
  202. package/dock/dock.min.js +1 -1
  203. package/dropdown/dropdown.cjs.js +169 -119
  204. package/dropdown/dropdown.cjs.min.js +1 -1
  205. package/dropdown/dropdown.d.ts +154 -2
  206. package/dropdown/dropdown.esm.js +171 -121
  207. package/dropdown/dropdown.esm.min.js +1 -1
  208. package/dropdown/dropdown.js +170 -121
  209. package/dropdown/dropdown.min.js +1 -1
  210. package/editor/editor.cjs.js +95 -116
  211. package/editor/editor.cjs.min.js +1 -1
  212. package/editor/editor.d.ts +50 -0
  213. package/editor/editor.esm.js +96 -117
  214. package/editor/editor.esm.min.js +1 -1
  215. package/editor/editor.js +95 -118
  216. package/editor/editor.min.js +1 -1
  217. package/fieldset/fieldset.cjs.js +3 -1
  218. package/fieldset/fieldset.cjs.min.js +1 -1
  219. package/fieldset/fieldset.esm.js +3 -1
  220. package/fieldset/fieldset.esm.min.js +1 -1
  221. package/fieldset/fieldset.js +4 -3
  222. package/fieldset/fieldset.min.js +1 -1
  223. package/fileupload/fileupload.cjs.js +67 -55
  224. package/fileupload/fileupload.cjs.min.js +1 -1
  225. package/fileupload/fileupload.d.ts +13 -3
  226. package/fileupload/fileupload.esm.js +68 -56
  227. package/fileupload/fileupload.esm.min.js +1 -1
  228. package/fileupload/fileupload.js +64 -52
  229. package/fileupload/fileupload.min.js +1 -1
  230. package/galleria/galleria.cjs.js +8 -6
  231. package/galleria/galleria.cjs.min.js +1 -1
  232. package/galleria/galleria.esm.js +9 -7
  233. package/galleria/galleria.esm.min.js +1 -1
  234. package/galleria/galleria.js +8 -6
  235. package/galleria/galleria.min.js +1 -1
  236. package/hooks/hooks.cjs.js +6 -3
  237. package/hooks/hooks.cjs.min.js +1 -1
  238. package/hooks/hooks.esm.js +7 -4
  239. package/hooks/hooks.esm.min.js +1 -1
  240. package/hooks/hooks.js +6 -3
  241. package/hooks/hooks.min.js +1 -1
  242. package/icons/arrowdown/index.cjs.js +6 -1
  243. package/icons/arrowdown/index.cjs.min.js +1 -1
  244. package/icons/arrowdown/index.esm.js +6 -1
  245. package/icons/arrowdown/index.esm.min.js +1 -1
  246. package/icons/arrowdown/index.js +6 -1
  247. package/icons/arrowdown/index.min.js +1 -1
  248. package/icons/arrowup/index.cjs.js +6 -1
  249. package/icons/arrowup/index.cjs.min.js +1 -1
  250. package/icons/arrowup/index.esm.js +6 -1
  251. package/icons/arrowup/index.esm.min.js +1 -1
  252. package/icons/arrowup/index.js +6 -1
  253. package/icons/arrowup/index.min.js +1 -1
  254. package/icons/ban/index.cjs.js +6 -1
  255. package/icons/ban/index.cjs.min.js +1 -1
  256. package/icons/ban/index.esm.js +6 -1
  257. package/icons/ban/index.esm.min.js +1 -1
  258. package/icons/ban/index.js +6 -1
  259. package/icons/ban/index.min.js +1 -1
  260. package/icons/download/index.cjs.js +6 -1
  261. package/icons/download/index.cjs.min.js +1 -1
  262. package/icons/download/index.esm.js +6 -1
  263. package/icons/download/index.esm.min.js +1 -1
  264. package/icons/download/index.js +6 -1
  265. package/icons/download/index.min.js +1 -1
  266. package/icons/exclamationtriangle/index.cjs.js +6 -1
  267. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  268. package/icons/exclamationtriangle/index.esm.js +6 -1
  269. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  270. package/icons/exclamationtriangle/index.js +6 -1
  271. package/icons/exclamationtriangle/index.min.js +1 -1
  272. package/icons/eyeslash/index.cjs.js +6 -1
  273. package/icons/eyeslash/index.cjs.min.js +1 -1
  274. package/icons/eyeslash/index.esm.js +6 -1
  275. package/icons/eyeslash/index.esm.min.js +1 -1
  276. package/icons/eyeslash/index.js +6 -1
  277. package/icons/eyeslash/index.min.js +1 -1
  278. package/icons/filter/index.cjs.js +6 -1
  279. package/icons/filter/index.cjs.min.js +1 -1
  280. package/icons/filter/index.esm.js +6 -1
  281. package/icons/filter/index.esm.min.js +1 -1
  282. package/icons/filter/index.js +6 -1
  283. package/icons/filter/index.min.js +1 -1
  284. package/icons/filterslash/index.cjs.js +6 -1
  285. package/icons/filterslash/index.cjs.min.js +1 -1
  286. package/icons/filterslash/index.esm.js +6 -1
  287. package/icons/filterslash/index.esm.min.js +1 -1
  288. package/icons/filterslash/index.js +6 -1
  289. package/icons/filterslash/index.min.js +1 -1
  290. package/icons/infocircle/index.cjs.js +6 -1
  291. package/icons/infocircle/index.cjs.min.js +1 -1
  292. package/icons/infocircle/index.esm.js +6 -1
  293. package/icons/infocircle/index.esm.min.js +1 -1
  294. package/icons/infocircle/index.js +6 -1
  295. package/icons/infocircle/index.min.js +1 -1
  296. package/icons/pencil/index.cjs.js +6 -1
  297. package/icons/pencil/index.cjs.min.js +1 -1
  298. package/icons/pencil/index.esm.js +6 -1
  299. package/icons/pencil/index.esm.min.js +1 -1
  300. package/icons/pencil/index.js +6 -1
  301. package/icons/pencil/index.min.js +1 -1
  302. package/icons/plus/index.cjs.js +6 -1
  303. package/icons/plus/index.cjs.min.js +1 -1
  304. package/icons/plus/index.esm.js +6 -1
  305. package/icons/plus/index.esm.min.js +1 -1
  306. package/icons/plus/index.js +6 -1
  307. package/icons/plus/index.min.js +1 -1
  308. package/icons/refresh/index.cjs.js +6 -1
  309. package/icons/refresh/index.cjs.min.js +1 -1
  310. package/icons/refresh/index.esm.js +6 -1
  311. package/icons/refresh/index.esm.min.js +1 -1
  312. package/icons/refresh/index.js +6 -1
  313. package/icons/refresh/index.min.js +1 -1
  314. package/icons/search/index.cjs.js +6 -1
  315. package/icons/search/index.cjs.min.js +1 -1
  316. package/icons/search/index.esm.js +6 -1
  317. package/icons/search/index.esm.min.js +1 -1
  318. package/icons/search/index.js +6 -1
  319. package/icons/search/index.min.js +1 -1
  320. package/icons/searchminus/index.cjs.js +6 -1
  321. package/icons/searchminus/index.cjs.min.js +1 -1
  322. package/icons/searchminus/index.esm.js +6 -1
  323. package/icons/searchminus/index.esm.min.js +1 -1
  324. package/icons/searchminus/index.js +6 -1
  325. package/icons/searchminus/index.min.js +1 -1
  326. package/icons/searchplus/index.cjs.js +6 -1
  327. package/icons/searchplus/index.cjs.min.js +1 -1
  328. package/icons/searchplus/index.esm.js +6 -1
  329. package/icons/searchplus/index.esm.min.js +1 -1
  330. package/icons/searchplus/index.js +6 -1
  331. package/icons/searchplus/index.min.js +1 -1
  332. package/icons/sortalt/index.cjs.js +6 -1
  333. package/icons/sortalt/index.cjs.min.js +1 -1
  334. package/icons/sortalt/index.esm.js +6 -1
  335. package/icons/sortalt/index.esm.min.js +1 -1
  336. package/icons/sortalt/index.js +6 -1
  337. package/icons/sortalt/index.min.js +1 -1
  338. package/icons/sortamountdown/index.cjs.js +6 -1
  339. package/icons/sortamountdown/index.cjs.min.js +1 -1
  340. package/icons/sortamountdown/index.esm.js +6 -1
  341. package/icons/sortamountdown/index.esm.min.js +1 -1
  342. package/icons/sortamountdown/index.js +6 -1
  343. package/icons/sortamountdown/index.min.js +1 -1
  344. package/icons/sortamountupalt/index.cjs.js +6 -1
  345. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  346. package/icons/sortamountupalt/index.esm.js +6 -1
  347. package/icons/sortamountupalt/index.esm.min.js +1 -1
  348. package/icons/sortamountupalt/index.js +6 -1
  349. package/icons/sortamountupalt/index.min.js +1 -1
  350. package/icons/spinner/index.cjs.js +6 -1
  351. package/icons/spinner/index.cjs.min.js +1 -1
  352. package/icons/spinner/index.esm.js +6 -1
  353. package/icons/spinner/index.esm.min.js +1 -1
  354. package/icons/spinner/index.js +6 -1
  355. package/icons/spinner/index.min.js +1 -1
  356. package/icons/star/index.cjs.js +6 -1
  357. package/icons/star/index.cjs.min.js +1 -1
  358. package/icons/star/index.esm.js +6 -1
  359. package/icons/star/index.esm.min.js +1 -1
  360. package/icons/star/index.js +6 -1
  361. package/icons/star/index.min.js +1 -1
  362. package/icons/starfill/index.cjs.js +6 -1
  363. package/icons/starfill/index.cjs.min.js +1 -1
  364. package/icons/starfill/index.esm.js +6 -1
  365. package/icons/starfill/index.esm.min.js +1 -1
  366. package/icons/starfill/index.js +6 -1
  367. package/icons/starfill/index.min.js +1 -1
  368. package/icons/thlarge/index.cjs.js +6 -1
  369. package/icons/thlarge/index.cjs.min.js +1 -1
  370. package/icons/thlarge/index.esm.js +6 -1
  371. package/icons/thlarge/index.esm.min.js +1 -1
  372. package/icons/thlarge/index.js +6 -1
  373. package/icons/thlarge/index.min.js +1 -1
  374. package/icons/timescircle/index.cjs.js +6 -1
  375. package/icons/timescircle/index.cjs.min.js +1 -1
  376. package/icons/timescircle/index.esm.js +6 -1
  377. package/icons/timescircle/index.esm.min.js +1 -1
  378. package/icons/timescircle/index.js +6 -1
  379. package/icons/timescircle/index.min.js +1 -1
  380. package/icons/trash/index.cjs.js +6 -1
  381. package/icons/trash/index.cjs.min.js +1 -1
  382. package/icons/trash/index.esm.js +6 -1
  383. package/icons/trash/index.esm.min.js +1 -1
  384. package/icons/trash/index.js +6 -1
  385. package/icons/trash/index.min.js +1 -1
  386. package/icons/undo/index.cjs.js +6 -1
  387. package/icons/undo/index.cjs.min.js +1 -1
  388. package/icons/undo/index.esm.js +6 -1
  389. package/icons/undo/index.esm.min.js +1 -1
  390. package/icons/undo/index.js +6 -1
  391. package/icons/undo/index.min.js +1 -1
  392. package/icons/upload/index.cjs.js +6 -1
  393. package/icons/upload/index.cjs.min.js +1 -1
  394. package/icons/upload/index.esm.js +6 -1
  395. package/icons/upload/index.esm.min.js +1 -1
  396. package/icons/upload/index.js +6 -1
  397. package/icons/upload/index.min.js +1 -1
  398. package/icons/windowmaximize/index.cjs.js +6 -1
  399. package/icons/windowmaximize/index.cjs.min.js +1 -1
  400. package/icons/windowmaximize/index.esm.js +6 -1
  401. package/icons/windowmaximize/index.esm.min.js +1 -1
  402. package/icons/windowmaximize/index.js +6 -1
  403. package/icons/windowmaximize/index.min.js +1 -1
  404. package/icons/windowminimize/index.cjs.js +6 -1
  405. package/icons/windowminimize/index.cjs.min.js +1 -1
  406. package/icons/windowminimize/index.esm.js +6 -1
  407. package/icons/windowminimize/index.esm.min.js +1 -1
  408. package/icons/windowminimize/index.js +6 -1
  409. package/icons/windowminimize/index.min.js +1 -1
  410. package/image/image.cjs.js +9 -3
  411. package/image/image.cjs.min.js +1 -1
  412. package/image/image.d.ts +2 -2
  413. package/image/image.esm.js +10 -4
  414. package/image/image.esm.min.js +1 -1
  415. package/image/image.js +9 -3
  416. package/image/image.min.css +1 -1
  417. package/image/image.min.js +1 -1
  418. package/inplace/inplace.cjs.js +2 -1
  419. package/inplace/inplace.cjs.min.js +1 -1
  420. package/inplace/inplace.esm.js +3 -2
  421. package/inplace/inplace.esm.min.js +1 -1
  422. package/inplace/inplace.js +2 -1
  423. package/inplace/inplace.min.js +1 -1
  424. package/inputmask/inputmask.cjs.js +8 -10
  425. package/inputmask/inputmask.cjs.min.js +1 -1
  426. package/inputmask/inputmask.d.ts +7 -2
  427. package/inputmask/inputmask.esm.js +9 -11
  428. package/inputmask/inputmask.esm.min.js +1 -1
  429. package/inputmask/inputmask.js +8 -12
  430. package/inputmask/inputmask.min.js +1 -1
  431. package/inputnumber/inputnumber.cjs.js +68 -46
  432. package/inputnumber/inputnumber.cjs.min.js +1 -1
  433. package/inputnumber/inputnumber.d.ts +62 -1
  434. package/inputnumber/inputnumber.esm.js +66 -47
  435. package/inputnumber/inputnumber.esm.min.js +1 -1
  436. package/inputnumber/inputnumber.js +68 -48
  437. package/inputnumber/inputnumber.min.js +1 -1
  438. package/inputswitch/inputswitch.cjs.js +77 -25
  439. package/inputswitch/inputswitch.cjs.min.js +1 -1
  440. package/inputswitch/inputswitch.d.ts +56 -0
  441. package/inputswitch/inputswitch.esm.js +78 -26
  442. package/inputswitch/inputswitch.esm.min.js +1 -1
  443. package/inputswitch/inputswitch.js +77 -27
  444. package/inputswitch/inputswitch.min.js +1 -1
  445. package/inputtext/inputtext.cjs.js +25 -15
  446. package/inputtext/inputtext.cjs.min.js +1 -1
  447. package/inputtext/inputtext.d.ts +32 -0
  448. package/inputtext/inputtext.esm.js +26 -16
  449. package/inputtext/inputtext.esm.min.js +1 -1
  450. package/inputtext/inputtext.js +25 -17
  451. package/inputtext/inputtext.min.js +1 -1
  452. package/inputtextarea/inputtextarea.cjs.js +25 -15
  453. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  454. package/inputtextarea/inputtextarea.d.ts +33 -1
  455. package/inputtextarea/inputtextarea.esm.js +26 -16
  456. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  457. package/inputtextarea/inputtextarea.js +25 -17
  458. package/inputtextarea/inputtextarea.min.js +1 -1
  459. package/keyfilter/keyfilter.cjs.js +25 -9
  460. package/keyfilter/keyfilter.cjs.min.js +1 -1
  461. package/keyfilter/keyfilter.esm.js +25 -9
  462. package/keyfilter/keyfilter.esm.min.js +1 -1
  463. package/keyfilter/keyfilter.js +25 -11
  464. package/keyfilter/keyfilter.min.js +1 -1
  465. package/knob/knob.cjs.js +44 -43
  466. package/knob/knob.cjs.min.js +1 -1
  467. package/knob/knob.d.ts +42 -0
  468. package/knob/knob.esm.js +45 -44
  469. package/knob/knob.esm.min.js +1 -1
  470. package/knob/knob.js +44 -45
  471. package/knob/knob.min.js +1 -1
  472. package/listbox/listbox.cjs.js +86 -56
  473. package/listbox/listbox.cjs.min.js +1 -1
  474. package/listbox/listbox.d.ts +103 -3
  475. package/listbox/listbox.esm.js +88 -58
  476. package/listbox/listbox.esm.min.js +1 -1
  477. package/listbox/listbox.js +86 -57
  478. package/listbox/listbox.min.js +1 -1
  479. package/megamenu/megamenu.cjs.js +4 -3
  480. package/megamenu/megamenu.cjs.min.js +1 -1
  481. package/megamenu/megamenu.esm.js +5 -4
  482. package/megamenu/megamenu.esm.min.js +1 -1
  483. package/megamenu/megamenu.js +4 -3
  484. package/megamenu/megamenu.min.js +1 -1
  485. package/mention/mention.cjs.js +87 -61
  486. package/mention/mention.cjs.min.js +1 -1
  487. package/mention/mention.d.ts +80 -1
  488. package/mention/mention.esm.js +89 -63
  489. package/mention/mention.esm.min.js +1 -1
  490. package/mention/mention.js +88 -63
  491. package/mention/mention.min.js +1 -1
  492. package/menu/menu.cjs.js +5 -4
  493. package/menu/menu.cjs.min.js +1 -1
  494. package/menu/menu.esm.js +6 -5
  495. package/menu/menu.esm.min.js +1 -1
  496. package/menu/menu.js +5 -4
  497. package/menu/menu.min.js +1 -1
  498. package/menubar/menubar.cjs.js +4 -4
  499. package/menubar/menubar.cjs.min.js +1 -1
  500. package/menubar/menubar.esm.js +5 -5
  501. package/menubar/menubar.esm.min.js +1 -1
  502. package/menubar/menubar.js +5 -5
  503. package/menubar/menubar.min.js +1 -1
  504. package/message/message.cjs.js +3 -1
  505. package/message/message.cjs.min.js +1 -1
  506. package/message/message.esm.js +3 -1
  507. package/message/message.esm.min.js +1 -1
  508. package/message/message.js +4 -3
  509. package/message/message.min.js +1 -1
  510. package/messages/messages.cjs.js +2 -1
  511. package/messages/messages.cjs.min.js +1 -1
  512. package/messages/messages.esm.js +3 -2
  513. package/messages/messages.esm.min.js +1 -1
  514. package/messages/messages.js +2 -1
  515. package/messages/messages.min.js +1 -1
  516. package/multiselect/multiselect.cjs.js +220 -167
  517. package/multiselect/multiselect.cjs.min.js +1 -1
  518. package/multiselect/multiselect.d.ts +180 -3
  519. package/multiselect/multiselect.esm.js +222 -169
  520. package/multiselect/multiselect.esm.min.js +1 -1
  521. package/multiselect/multiselect.js +220 -168
  522. package/multiselect/multiselect.min.js +1 -1
  523. package/multistatecheckbox/multistatecheckbox.cjs.js +32 -22
  524. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  525. package/multistatecheckbox/multistatecheckbox.d.ts +56 -2
  526. package/multistatecheckbox/multistatecheckbox.esm.js +34 -24
  527. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  528. package/multistatecheckbox/multistatecheckbox.js +33 -24
  529. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  530. package/orderlist/orderlist.cjs.js +188 -110
  531. package/orderlist/orderlist.cjs.min.js +1 -1
  532. package/orderlist/orderlist.d.ts +118 -2
  533. package/orderlist/orderlist.esm.js +190 -112
  534. package/orderlist/orderlist.esm.min.js +1 -1
  535. package/orderlist/orderlist.js +186 -109
  536. package/orderlist/orderlist.min.js +1 -1
  537. package/organizationchart/organizationchart.cjs.js +139 -73
  538. package/organizationchart/organizationchart.cjs.min.js +1 -1
  539. package/organizationchart/organizationchart.d.ts +89 -2
  540. package/organizationchart/organizationchart.esm.js +140 -74
  541. package/organizationchart/organizationchart.esm.min.js +1 -1
  542. package/organizationchart/organizationchart.js +139 -75
  543. package/organizationchart/organizationchart.min.js +1 -1
  544. package/overlaypanel/overlaypanel.cjs.js +7 -6
  545. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  546. package/overlaypanel/overlaypanel.d.ts +5 -0
  547. package/overlaypanel/overlaypanel.esm.js +8 -7
  548. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  549. package/overlaypanel/overlaypanel.js +8 -7
  550. package/overlaypanel/overlaypanel.min.js +1 -1
  551. package/package.json +1 -1
  552. package/paginator/paginator.cjs.js +172 -166
  553. package/paginator/paginator.cjs.min.js +1 -1
  554. package/paginator/paginator.d.ts +108 -2
  555. package/paginator/paginator.esm.js +174 -168
  556. package/paginator/paginator.esm.min.js +1 -1
  557. package/paginator/paginator.js +172 -167
  558. package/paginator/paginator.min.js +1 -1
  559. package/panel/panel.cjs.js +3 -1
  560. package/panel/panel.cjs.min.js +1 -1
  561. package/panel/panel.esm.js +3 -1
  562. package/panel/panel.esm.min.js +1 -1
  563. package/panel/panel.js +4 -3
  564. package/panel/panel.min.js +1 -1
  565. package/panelmenu/panelmenu.cjs.js +3 -1
  566. package/panelmenu/panelmenu.cjs.min.js +1 -1
  567. package/panelmenu/panelmenu.esm.js +3 -1
  568. package/panelmenu/panelmenu.esm.min.js +1 -1
  569. package/panelmenu/panelmenu.js +4 -3
  570. package/panelmenu/panelmenu.min.js +1 -1
  571. package/password/password.cjs.js +89 -46
  572. package/password/password.cjs.min.js +1 -1
  573. package/password/password.d.ts +98 -2
  574. package/password/password.esm.js +91 -48
  575. package/password/password.esm.min.js +1 -1
  576. package/password/password.js +88 -46
  577. package/password/password.min.js +1 -1
  578. package/picklist/picklist.cjs.js +146 -82
  579. package/picklist/picklist.cjs.min.js +1 -1
  580. package/picklist/picklist.d.ts +133 -1
  581. package/picklist/picklist.esm.js +148 -84
  582. package/picklist/picklist.esm.min.js +1 -1
  583. package/picklist/picklist.js +143 -80
  584. package/picklist/picklist.min.js +1 -1
  585. package/portal/portal.cjs.js +3 -2
  586. package/portal/portal.cjs.min.js +1 -1
  587. package/portal/portal.esm.js +3 -2
  588. package/portal/portal.esm.min.js +1 -1
  589. package/portal/portal.js +4 -3
  590. package/portal/portal.min.js +1 -1
  591. package/primereact.all.cjs.js +4725 -3130
  592. package/primereact.all.cjs.min.js +1 -1
  593. package/primereact.all.esm.js +4724 -3131
  594. package/primereact.all.esm.min.js +1 -1
  595. package/primereact.all.js +4725 -3130
  596. package/primereact.all.min.js +1 -1
  597. package/progressbar/progressbar.cjs.js +3 -1
  598. package/progressbar/progressbar.cjs.min.js +1 -1
  599. package/progressbar/progressbar.esm.js +3 -1
  600. package/progressbar/progressbar.esm.min.js +1 -1
  601. package/progressbar/progressbar.js +4 -3
  602. package/progressbar/progressbar.min.js +1 -1
  603. package/progressspinner/progressspinner.cjs.js +3 -1
  604. package/progressspinner/progressspinner.cjs.min.js +1 -1
  605. package/progressspinner/progressspinner.esm.js +3 -1
  606. package/progressspinner/progressspinner.esm.min.js +1 -1
  607. package/progressspinner/progressspinner.js +4 -3
  608. package/progressspinner/progressspinner.min.js +1 -1
  609. package/radiobutton/radiobutton.cjs.js +74 -21
  610. package/radiobutton/radiobutton.cjs.min.js +1 -1
  611. package/radiobutton/radiobutton.d.ts +61 -1
  612. package/radiobutton/radiobutton.esm.js +75 -22
  613. package/radiobutton/radiobutton.esm.min.js +1 -1
  614. package/radiobutton/radiobutton.js +74 -23
  615. package/radiobutton/radiobutton.min.js +1 -1
  616. package/rating/rating.cjs.js +47 -36
  617. package/rating/rating.cjs.min.js +1 -1
  618. package/rating/rating.d.ts +64 -1
  619. package/rating/rating.esm.js +48 -37
  620. package/rating/rating.esm.min.js +1 -1
  621. package/rating/rating.js +47 -38
  622. package/rating/rating.min.js +1 -1
  623. package/resources/primereact.css +568 -566
  624. package/resources/primereact.min.css +1 -1
  625. package/resources/themes/arya-blue/theme.css +20 -1
  626. package/resources/themes/arya-green/theme.css +20 -1
  627. package/resources/themes/arya-orange/theme.css +20 -1
  628. package/resources/themes/arya-purple/theme.css +20 -1
  629. package/resources/themes/bootstrap4-dark-blue/theme.css +20 -1
  630. package/resources/themes/bootstrap4-dark-purple/theme.css +20 -1
  631. package/resources/themes/bootstrap4-light-blue/theme.css +20 -1
  632. package/resources/themes/bootstrap4-light-purple/theme.css +20 -1
  633. package/resources/themes/fluent-light/theme.css +20 -1
  634. package/resources/themes/lara-dark-blue/theme.css +20 -1
  635. package/resources/themes/lara-dark-indigo/theme.css +20 -1
  636. package/resources/themes/lara-dark-purple/theme.css +20 -1
  637. package/resources/themes/lara-dark-teal/theme.css +20 -1
  638. package/resources/themes/lara-light-blue/theme.css +20 -1
  639. package/resources/themes/lara-light-indigo/theme.css +20 -1
  640. package/resources/themes/lara-light-purple/theme.css +20 -1
  641. package/resources/themes/lara-light-teal/theme.css +20 -1
  642. package/resources/themes/luna-amber/theme.css +20 -1
  643. package/resources/themes/luna-blue/theme.css +20 -1
  644. package/resources/themes/luna-green/theme.css +20 -1
  645. package/resources/themes/luna-pink/theme.css +20 -1
  646. package/resources/themes/md-dark-deeppurple/theme.css +20 -1
  647. package/resources/themes/md-dark-indigo/theme.css +20 -1
  648. package/resources/themes/md-light-deeppurple/theme.css +20 -1
  649. package/resources/themes/md-light-indigo/theme.css +20 -1
  650. package/resources/themes/mdc-dark-deeppurple/theme.css +20 -1
  651. package/resources/themes/mdc-dark-indigo/theme.css +20 -1
  652. package/resources/themes/mdc-light-deeppurple/theme.css +20 -1
  653. package/resources/themes/mdc-light-indigo/theme.css +20 -1
  654. package/resources/themes/mira/theme.css +20 -1
  655. package/resources/themes/nano/theme.css +20 -1
  656. package/resources/themes/nova/theme.css +20 -1
  657. package/resources/themes/nova-accent/theme.css +20 -1
  658. package/resources/themes/nova-alt/theme.css +20 -1
  659. package/resources/themes/rhea/theme.css +20 -1
  660. package/resources/themes/saga-blue/theme.css +20 -1
  661. package/resources/themes/saga-green/theme.css +20 -1
  662. package/resources/themes/saga-orange/theme.css +20 -1
  663. package/resources/themes/saga-purple/theme.css +20 -1
  664. package/resources/themes/soho-dark/theme.css +20 -1
  665. package/resources/themes/soho-light/theme.css +20 -1
  666. package/resources/themes/tailwind-light/theme.css +32 -13
  667. package/resources/themes/vela-blue/theme.css +20 -1
  668. package/resources/themes/vela-green/theme.css +20 -1
  669. package/resources/themes/vela-orange/theme.css +20 -1
  670. package/resources/themes/vela-purple/theme.css +20 -1
  671. package/resources/themes/viva-dark/theme.css +20 -1
  672. package/resources/themes/viva-light/theme.css +20 -1
  673. package/ripple/ripple.cjs.js +3 -2
  674. package/ripple/ripple.cjs.min.js +1 -1
  675. package/ripple/ripple.esm.js +3 -2
  676. package/ripple/ripple.esm.min.js +1 -1
  677. package/ripple/ripple.js +4 -3
  678. package/ripple/ripple.min.js +1 -1
  679. package/row/row.cjs.js +28 -41
  680. package/row/row.cjs.min.js +1 -1
  681. package/row/row.d.ts +28 -0
  682. package/row/row.esm.js +15 -28
  683. package/row/row.esm.min.js +1 -1
  684. package/row/row.js +49 -64
  685. package/row/row.min.js +1 -1
  686. package/scrollpanel/scrollpanel.cjs.js +3 -1
  687. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  688. package/scrollpanel/scrollpanel.esm.js +3 -1
  689. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  690. package/scrollpanel/scrollpanel.js +4 -3
  691. package/scrollpanel/scrollpanel.min.js +1 -1
  692. package/scrolltop/scrolltop.cjs.js +9 -7
  693. package/scrolltop/scrolltop.cjs.min.js +1 -1
  694. package/scrolltop/scrolltop.esm.js +11 -9
  695. package/scrolltop/scrolltop.esm.min.js +1 -1
  696. package/scrolltop/scrolltop.js +10 -8
  697. package/scrolltop/scrolltop.min.js +1 -1
  698. package/selectbutton/selectbutton.cjs.js +37 -25
  699. package/selectbutton/selectbutton.cjs.min.js +1 -1
  700. package/selectbutton/selectbutton.d.ts +52 -1
  701. package/selectbutton/selectbutton.esm.js +38 -26
  702. package/selectbutton/selectbutton.esm.min.js +1 -1
  703. package/selectbutton/selectbutton.js +37 -27
  704. package/selectbutton/selectbutton.min.js +1 -1
  705. package/sidebar/sidebar.cjs.js +7 -6
  706. package/sidebar/sidebar.cjs.min.js +1 -1
  707. package/sidebar/sidebar.esm.js +8 -7
  708. package/sidebar/sidebar.esm.min.js +1 -1
  709. package/sidebar/sidebar.js +8 -7
  710. package/sidebar/sidebar.min.js +1 -1
  711. package/skeleton/skeleton.cjs.js +4 -3
  712. package/skeleton/skeleton.cjs.min.js +1 -1
  713. package/skeleton/skeleton.esm.js +4 -3
  714. package/skeleton/skeleton.esm.min.js +1 -1
  715. package/skeleton/skeleton.js +5 -5
  716. package/skeleton/skeleton.min.js +1 -1
  717. package/slidemenu/slidemenu.cjs.js +5 -4
  718. package/slidemenu/slidemenu.cjs.min.js +1 -1
  719. package/slidemenu/slidemenu.d.ts +5 -0
  720. package/slidemenu/slidemenu.esm.js +6 -5
  721. package/slidemenu/slidemenu.esm.min.js +1 -1
  722. package/slidemenu/slidemenu.js +6 -5
  723. package/slidemenu/slidemenu.min.js +1 -1
  724. package/slider/slider.cjs.js +71 -39
  725. package/slider/slider.cjs.min.js +1 -1
  726. package/slider/slider.d.ts +34 -1
  727. package/slider/slider.esm.js +72 -40
  728. package/slider/slider.esm.min.js +1 -1
  729. package/slider/slider.js +71 -41
  730. package/slider/slider.min.js +1 -1
  731. package/speeddial/speeddial.cjs.js +3 -1
  732. package/speeddial/speeddial.cjs.min.js +1 -1
  733. package/speeddial/speeddial.esm.js +3 -1
  734. package/speeddial/speeddial.esm.min.js +1 -1
  735. package/speeddial/speeddial.js +4 -3
  736. package/speeddial/speeddial.min.js +1 -1
  737. package/splitbutton/splitbutton.cjs.js +74 -63
  738. package/splitbutton/splitbutton.cjs.min.js +1 -1
  739. package/splitbutton/splitbutton.d.ts +39 -11
  740. package/splitbutton/splitbutton.esm.js +76 -65
  741. package/splitbutton/splitbutton.esm.min.js +1 -1
  742. package/splitbutton/splitbutton.js +74 -63
  743. package/splitbutton/splitbutton.min.js +1 -1
  744. package/splitter/splitter.cjs.js +3 -1
  745. package/splitter/splitter.cjs.min.js +1 -1
  746. package/splitter/splitter.d.ts +10 -0
  747. package/splitter/splitter.esm.js +3 -1
  748. package/splitter/splitter.esm.min.js +1 -1
  749. package/splitter/splitter.js +4 -3
  750. package/splitter/splitter.min.js +1 -1
  751. package/steps/steps.cjs.js +3 -1
  752. package/steps/steps.cjs.min.js +1 -1
  753. package/steps/steps.esm.js +3 -1
  754. package/steps/steps.esm.min.js +1 -1
  755. package/steps/steps.js +4 -3
  756. package/steps/steps.min.js +1 -1
  757. package/styleclass/styleclass.cjs.js +3 -1
  758. package/styleclass/styleclass.cjs.min.js +1 -1
  759. package/styleclass/styleclass.esm.js +3 -1
  760. package/styleclass/styleclass.esm.min.js +1 -1
  761. package/styleclass/styleclass.js +4 -3
  762. package/styleclass/styleclass.min.js +1 -1
  763. package/tabmenu/tabmenu.cjs.js +3 -1
  764. package/tabmenu/tabmenu.cjs.min.js +1 -1
  765. package/tabmenu/tabmenu.esm.js +3 -1
  766. package/tabmenu/tabmenu.esm.min.js +1 -1
  767. package/tabmenu/tabmenu.js +4 -3
  768. package/tabmenu/tabmenu.min.js +1 -1
  769. package/tabview/tabview.cjs.js +8 -5
  770. package/tabview/tabview.cjs.min.js +1 -1
  771. package/tabview/tabview.esm.js +9 -6
  772. package/tabview/tabview.esm.min.js +1 -1
  773. package/tabview/tabview.js +7 -4
  774. package/tabview/tabview.min.js +1 -1
  775. package/tag/tag.cjs.js +3 -1
  776. package/tag/tag.cjs.min.js +1 -1
  777. package/tag/tag.esm.js +3 -1
  778. package/tag/tag.esm.min.js +1 -1
  779. package/tag/tag.js +4 -3
  780. package/tag/tag.min.js +1 -1
  781. package/terminal/terminal.cjs.js +3 -1
  782. package/terminal/terminal.cjs.min.js +1 -1
  783. package/terminal/terminal.esm.js +3 -1
  784. package/terminal/terminal.esm.min.js +1 -1
  785. package/terminal/terminal.js +4 -3
  786. package/terminal/terminal.min.js +1 -1
  787. package/tieredmenu/tieredmenu.cjs.js +6 -5
  788. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  789. package/tieredmenu/tieredmenu.esm.js +7 -6
  790. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  791. package/tieredmenu/tieredmenu.js +6 -5
  792. package/tieredmenu/tieredmenu.min.js +1 -1
  793. package/timeline/timeline.cjs.js +51 -43
  794. package/timeline/timeline.cjs.min.js +1 -1
  795. package/timeline/timeline.d.ts +51 -1
  796. package/timeline/timeline.esm.js +52 -44
  797. package/timeline/timeline.esm.min.js +1 -1
  798. package/timeline/timeline.js +51 -45
  799. package/timeline/timeline.min.js +1 -1
  800. package/toast/toast.cjs.js +46 -4
  801. package/toast/toast.cjs.min.js +1 -1
  802. package/toast/toast.d.ts +2 -2
  803. package/toast/toast.esm.js +47 -5
  804. package/toast/toast.esm.min.js +1 -1
  805. package/toast/toast.js +46 -4
  806. package/toast/toast.min.js +1 -1
  807. package/togglebutton/togglebutton.cjs.js +68 -21
  808. package/togglebutton/togglebutton.cjs.min.js +1 -1
  809. package/togglebutton/togglebutton.d.ts +40 -2
  810. package/togglebutton/togglebutton.esm.js +69 -22
  811. package/togglebutton/togglebutton.esm.min.js +1 -1
  812. package/togglebutton/togglebutton.js +68 -23
  813. package/togglebutton/togglebutton.min.js +1 -1
  814. package/toolbar/toolbar.cjs.js +3 -1
  815. package/toolbar/toolbar.cjs.min.js +1 -1
  816. package/toolbar/toolbar.d.ts +5 -11
  817. package/toolbar/toolbar.esm.js +3 -1
  818. package/toolbar/toolbar.esm.min.js +1 -1
  819. package/toolbar/toolbar.js +4 -3
  820. package/toolbar/toolbar.min.js +1 -1
  821. package/tooltip/tooltip.cjs.js +3 -2
  822. package/tooltip/tooltip.cjs.min.js +1 -1
  823. package/tooltip/tooltip.d.ts +7 -7
  824. package/tooltip/tooltip.esm.js +4 -3
  825. package/tooltip/tooltip.esm.min.js +1 -1
  826. package/tooltip/tooltip.js +3 -2
  827. package/tooltip/tooltip.min.js +1 -1
  828. package/tree/tree.cjs.js +118 -88
  829. package/tree/tree.cjs.min.js +1 -1
  830. package/tree/tree.d.ts +139 -1
  831. package/tree/tree.esm.js +120 -90
  832. package/tree/tree.esm.min.js +1 -1
  833. package/tree/tree.js +116 -87
  834. package/tree/tree.min.js +1 -1
  835. package/treeselect/treeselect.cjs.js +132 -102
  836. package/treeselect/treeselect.cjs.min.js +1 -1
  837. package/treeselect/treeselect.d.ts +138 -2
  838. package/treeselect/treeselect.esm.js +134 -104
  839. package/treeselect/treeselect.esm.min.js +1 -1
  840. package/treeselect/treeselect.js +133 -104
  841. package/treeselect/treeselect.min.js +1 -1
  842. package/treetable/treetable.cjs.js +385 -198
  843. package/treetable/treetable.cjs.min.js +1 -1
  844. package/treetable/treetable.d.ts +305 -2
  845. package/treetable/treetable.esm.js +387 -200
  846. package/treetable/treetable.esm.min.js +1 -1
  847. package/treetable/treetable.js +383 -197
  848. package/treetable/treetable.min.js +1 -1
  849. package/tristatecheckbox/tristatecheckbox.cjs.js +83 -33
  850. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  851. package/tristatecheckbox/tristatecheckbox.d.ts +59 -1
  852. package/tristatecheckbox/tristatecheckbox.esm.js +85 -35
  853. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  854. package/tristatecheckbox/tristatecheckbox.js +84 -35
  855. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  856. package/utils/utils.cjs.js +6 -1
  857. package/utils/utils.cjs.min.js +1 -1
  858. package/utils/utils.d.ts +1 -1
  859. package/utils/utils.esm.js +6 -1
  860. package/utils/utils.esm.min.js +1 -1
  861. package/utils/utils.js +6 -1
  862. package/utils/utils.min.js +1 -1
  863. package/virtualscroller/virtualscroller.cjs.js +43 -29
  864. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  865. package/virtualscroller/virtualscroller.d.ts +78 -1
  866. package/virtualscroller/virtualscroller.esm.js +44 -30
  867. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  868. package/virtualscroller/virtualscroller.js +43 -31
  869. package/virtualscroller/virtualscroller.min.js +1 -1
  870. package/web-types.json +1 -1
@@ -4,12 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var PrimeReact = require('primereact/api');
7
+ var bars = require('primereact/icons/bars');
8
+ var spinner = require('primereact/icons/spinner');
9
+ var thlarge = require('primereact/icons/thlarge');
7
10
  var paginator = require('primereact/paginator');
8
11
  var ripple = require('primereact/ripple');
9
12
  var utils = require('primereact/utils');
10
- var bars = require('primereact/icons/bars');
11
- var thlarge = require('primereact/icons/thlarge');
12
- var spinner = require('primereact/icons/spinner');
13
+ var componentbase = require('primereact/componentbase');
13
14
 
14
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
15
16
 
@@ -34,45 +35,19 @@ function _interopNamespace(e) {
34
35
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
35
36
  var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
36
37
 
37
- function _typeof(obj) {
38
- "@babel/helpers - typeof";
39
-
40
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
41
- return typeof obj;
42
- } : function (obj) {
43
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
44
- }, _typeof(obj);
45
- }
46
-
47
- function _toPrimitive(input, hint) {
48
- if (_typeof(input) !== "object" || input === null) return input;
49
- var prim = input[Symbol.toPrimitive];
50
- if (prim !== undefined) {
51
- var res = prim.call(input, hint || "default");
52
- if (_typeof(res) !== "object") return res;
53
- throw new TypeError("@@toPrimitive must return a primitive value.");
54
- }
55
- return (hint === "string" ? String : Number)(input);
56
- }
57
-
58
- function _toPropertyKey(arg) {
59
- var key = _toPrimitive(arg, "string");
60
- return _typeof(key) === "symbol" ? key : String(key);
61
- }
62
-
63
- function _defineProperty(obj, key, value) {
64
- key = _toPropertyKey(key);
65
- if (key in obj) {
66
- Object.defineProperty(obj, key, {
67
- value: value,
68
- enumerable: true,
69
- configurable: true,
70
- writable: true
71
- });
72
- } else {
73
- obj[key] = value;
74
- }
75
- return obj;
38
+ function _extends() {
39
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
40
+ for (var i = 1; i < arguments.length; i++) {
41
+ var source = arguments[i];
42
+ for (var key in source) {
43
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
44
+ target[key] = source[key];
45
+ }
46
+ }
47
+ }
48
+ return target;
49
+ };
50
+ return _extends.apply(this, arguments);
76
51
  }
77
52
 
78
53
  function _arrayLikeToArray(arr, len) {
@@ -146,22 +121,48 @@ function _slicedToArray(arr, i) {
146
121
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
147
122
  }
148
123
 
149
- function _extends() {
150
- _extends = Object.assign ? Object.assign.bind() : function (target) {
151
- for (var i = 1; i < arguments.length; i++) {
152
- var source = arguments[i];
153
- for (var key in source) {
154
- if (Object.prototype.hasOwnProperty.call(source, key)) {
155
- target[key] = source[key];
156
- }
157
- }
158
- }
159
- return target;
160
- };
161
- return _extends.apply(this, arguments);
124
+ function _typeof(obj) {
125
+ "@babel/helpers - typeof";
126
+
127
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
128
+ return typeof obj;
129
+ } : function (obj) {
130
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
131
+ }, _typeof(obj);
132
+ }
133
+
134
+ function _toPrimitive(input, hint) {
135
+ if (_typeof(input) !== "object" || input === null) return input;
136
+ var prim = input[Symbol.toPrimitive];
137
+ if (prim !== undefined) {
138
+ var res = prim.call(input, hint || "default");
139
+ if (_typeof(res) !== "object") return res;
140
+ throw new TypeError("@@toPrimitive must return a primitive value.");
141
+ }
142
+ return (hint === "string" ? String : Number)(input);
143
+ }
144
+
145
+ function _toPropertyKey(arg) {
146
+ var key = _toPrimitive(arg, "string");
147
+ return _typeof(key) === "symbol" ? key : String(key);
162
148
  }
163
149
 
164
- var DataViewBase = {
150
+ function _defineProperty(obj, key, value) {
151
+ key = _toPropertyKey(key);
152
+ if (key in obj) {
153
+ Object.defineProperty(obj, key, {
154
+ value: value,
155
+ enumerable: true,
156
+ configurable: true,
157
+ writable: true
158
+ });
159
+ } else {
160
+ obj[key] = value;
161
+ }
162
+ return obj;
163
+ }
164
+
165
+ var DataViewBase = componentbase.ComponentBase.extend({
165
166
  defaultProps: {
166
167
  __TYPE: 'DataView',
167
168
  id: null,
@@ -196,15 +197,9 @@ var DataViewBase = {
196
197
  itemTemplate: null,
197
198
  onPage: null,
198
199
  children: undefined
199
- },
200
- getProps: function getProps(props) {
201
- return utils.ObjectUtils.getMergedProps(props, DataViewBase.defaultProps);
202
- },
203
- getOtherProps: function getOtherProps(props) {
204
- return utils.ObjectUtils.getDiffProps(props, DataViewBase.defaultProps);
205
200
  }
206
- };
207
- var DataViewLayoutOptionsBase = {
201
+ });
202
+ var DataViewLayoutOptionsBase = componentbase.ComponentBase.extend({
208
203
  defaultProps: {
209
204
  __TYPE: 'DataViewLayoutOptions',
210
205
  id: null,
@@ -215,17 +210,18 @@ var DataViewLayoutOptionsBase = {
215
210
  gridIcon: null,
216
211
  onChange: null,
217
212
  children: undefined
218
- },
219
- getProps: function getProps(props) {
220
- return utils.ObjectUtils.getMergedProps(props, DataViewLayoutOptionsBase.defaultProps);
221
- },
222
- getOtherProps: function getOtherProps(props) {
223
- return utils.ObjectUtils.getDiffProps(props, DataViewLayoutOptionsBase.defaultProps);
224
213
  }
225
- };
214
+ });
226
215
 
216
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
217
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
227
218
  var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps) {
228
- var props = DataViewLayoutOptionsBase.getProps(inProps);
219
+ var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
220
+ var props = DataViewLayoutOptionsBase.getProps(inProps, context);
221
+ var _DataViewLayoutOption = DataViewLayoutOptionsBase.setMetaData({
222
+ props: props
223
+ }),
224
+ ptm = _DataViewLayoutOption.ptm;
229
225
  var changeLayout = function changeLayout(event, layoutMode) {
230
226
  props.onChange({
231
227
  originalEvent: event,
@@ -233,7 +229,6 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps
233
229
  });
234
230
  event.preventDefault();
235
231
  };
236
- var otherProps = DataViewLayoutOptionsBase.getOtherProps(props);
237
232
  var className = utils.classNames('p-dataview-layout-options p-selectbutton p-buttonset', props.className);
238
233
  var buttonListClass = utils.classNames('p-button p-button-icon-only', {
239
234
  'p-highlight': props.layout === 'list'
@@ -241,36 +236,42 @@ var DataViewLayoutOptions = /*#__PURE__*/React__namespace.memo(function (inProps
241
236
  var buttonGridClass = utils.classNames('p-button p-button-icon-only', {
242
237
  'p-highlight': props.layout === 'grid'
243
238
  });
244
- var listIcon = utils.IconUtils.getJSXIcon(props.listIcon || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, null), undefined, {
239
+ var listIconProps = utils.mergeProps(ptm('list'));
240
+ var gridIconProps = utils.mergeProps(ptm('grid'));
241
+ var listIcon = utils.IconUtils.getJSXIcon(props.listIcon || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, listIconProps), _objectSpread({}, listIconProps), {
245
242
  props: props
246
243
  });
247
- var gridIcon = utils.IconUtils.getJSXIcon(props.gridIcon || /*#__PURE__*/React__namespace.createElement(thlarge.ThLargeIcon, null), undefined, {
244
+ var gridIcon = utils.IconUtils.getJSXIcon(props.gridIcon || /*#__PURE__*/React__namespace.createElement(thlarge.ThLargeIcon, gridIconProps), _objectSpread({}, gridIconProps), {
248
245
  props: props
249
246
  });
250
- return /*#__PURE__*/React__namespace.createElement("div", _extends({
247
+ var rootProps = utils.mergeProps({
251
248
  id: props.id,
252
249
  style: props.style,
253
250
  className: className
254
- }, otherProps), /*#__PURE__*/React__namespace.createElement("button", {
255
- type: "button",
251
+ }, DataViewLayoutOptionsBase.getOtherProps(props), ptm('root'));
252
+ var listButtonProps = utils.mergeProps({
253
+ type: 'button',
256
254
  className: buttonListClass,
257
255
  onClick: function onClick(event) {
258
256
  return changeLayout(event, 'list');
259
257
  }
260
- }, listIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null)), /*#__PURE__*/React__namespace.createElement("button", {
261
- type: "button",
258
+ }, ptm('listButton'));
259
+ var gridButtonProps = utils.mergeProps({
260
+ type: 'button',
262
261
  className: buttonGridClass,
263
262
  onClick: function onClick(event) {
264
263
  return changeLayout(event, 'grid');
265
264
  }
266
- }, gridIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null)));
265
+ }, ptm('gridButton'));
266
+ return /*#__PURE__*/React__namespace.createElement("div", rootProps, /*#__PURE__*/React__namespace.createElement("button", listButtonProps, listIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null)), /*#__PURE__*/React__namespace.createElement("button", gridButtonProps, gridIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null)));
267
267
  });
268
268
  var DataViewItem = /*#__PURE__*/React__namespace.memo(function (props) {
269
269
  return props.template(props.item, props.layout);
270
270
  });
271
271
  var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
272
272
  var _classNames;
273
- var props = DataViewBase.getProps(inProps);
273
+ var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
274
+ var props = DataViewBase.getProps(inProps, context);
274
275
  var _React$useState = React__namespace.useState(props.first),
275
276
  _React$useState2 = _slicedToArray(_React$useState, 2),
276
277
  firstState = _React$useState2[0],
@@ -279,6 +280,14 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
279
280
  _React$useState4 = _slicedToArray(_React$useState3, 2),
280
281
  rowsState = _React$useState4[0],
281
282
  setRowsState = _React$useState4[1];
283
+ var _DataViewBase$setMeta = DataViewBase.setMetaData({
284
+ props: props,
285
+ state: {
286
+ first: firstState,
287
+ rows: rowsState
288
+ }
289
+ }),
290
+ ptm = _DataViewBase$setMeta.ptm;
282
291
  var elementRef = React__namespace.useRef(null);
283
292
  var first = props.onPage ? props.first : firstState;
284
293
  var rows = props.onPage ? props.rows : rowsState;
@@ -304,7 +313,8 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
304
313
  leftContent: props.paginatorLeft,
305
314
  rightContent: props.paginatorRight,
306
315
  alwaysShow: props.alwaysShowPaginator,
307
- dropdownAppendTo: props.paginatorDropdownAppendTo
316
+ dropdownAppendTo: props.paginatorDropdownAppendTo,
317
+ ptm: ptm('paginator')
308
318
  });
309
319
  };
310
320
  var onPageChange = function onPageChange(event) {
@@ -321,7 +331,7 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
321
331
  value.sort(function (data1, data2) {
322
332
  var value1 = utils.ObjectUtils.resolveFieldData(data1, props.sortField);
323
333
  var value2 = utils.ObjectUtils.resolveFieldData(data2, props.sortField);
324
- return utils.ObjectUtils.sort(value1, value2, props.sortOrder, PrimeReact__default["default"].locale, PrimeReact__default["default"].nullSortOrder);
334
+ return utils.ObjectUtils.sort(value1, value2, props.sortOrder, context && context.locale || PrimeReact__default["default"].locale, context && context.nullSortOrder || PrimeReact__default["default"].nullSortOrder);
325
335
  });
326
336
  return value;
327
337
  }
@@ -330,18 +340,19 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
330
340
  var createLoader = function createLoader() {
331
341
  if (props.loading) {
332
342
  var iconClassName = 'p-dataview-loading-icon';
333
- var icon = props.loadingIcon || /*#__PURE__*/React__namespace.createElement(spinner.SpinnerIcon, {
334
- className: iconClassName,
335
- spin: true
336
- });
337
- var loadingIcon = utils.IconUtils.getJSXIcon(icon, {
343
+ var loadingIconProps = utils.mergeProps({
338
344
  className: iconClassName
339
- }, {
345
+ }, ptm('loadingIcon'));
346
+ var icon = props.loadingIcon || /*#__PURE__*/React__namespace.createElement(spinner.SpinnerIcon, _extends({}, loadingIconProps, {
347
+ spin: true
348
+ }));
349
+ var loadingIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
340
350
  props: props
341
351
  });
342
- return /*#__PURE__*/React__namespace.createElement("div", {
343
- className: "p-dataview-loading-overlay p-component-overlay"
344
- }, loadingIcon);
352
+ var loadingOverlayProps = utils.mergeProps({
353
+ className: 'p-dataview-loading-overlay p-component-overlay'
354
+ }, ptm('loadingOverlay'));
355
+ return /*#__PURE__*/React__namespace.createElement("div", loadingOverlayProps, loadingIcon);
345
356
  }
346
357
  return null;
347
358
  };
@@ -360,25 +371,28 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
360
371
  var createEmptyMessage = function createEmptyMessage() {
361
372
  if (!props.loading) {
362
373
  var _content = props.emptyMessage || PrimeReact.localeOption('emptyMessage');
363
- return /*#__PURE__*/React__namespace.createElement("div", {
364
- className: "p-col-12 col-12 p-dataview-emptymessage"
365
- }, _content);
374
+ var emptyMessageProps = utils.mergeProps({
375
+ className: 'p-col-12 col-12 p-dataview-emptymessage'
376
+ }, ptm('emptyMessage'));
377
+ return /*#__PURE__*/React__namespace.createElement("div", emptyMessageProps, _content);
366
378
  }
367
379
  return null;
368
380
  };
369
381
  var createHeader = function createHeader() {
370
382
  if (props.header) {
371
- return /*#__PURE__*/React__namespace.createElement("div", {
372
- className: "p-dataview-header"
373
- }, props.header);
383
+ var headerProps = utils.mergeProps({
384
+ className: 'p-dataview-header'
385
+ }, ptm('header'));
386
+ return /*#__PURE__*/React__namespace.createElement("div", headerProps, props.header);
374
387
  }
375
388
  return null;
376
389
  };
377
390
  var createFooter = function createFooter() {
378
391
  if (props.footer) {
379
- return /*#__PURE__*/React__namespace.createElement("div", {
380
- className: "p-dataview-footer"
381
- }, props.footer);
392
+ var footerProps = utils.mergeProps({
393
+ className: 'p-dataview-footer'
394
+ }, ptm('footer'));
395
+ return /*#__PURE__*/React__namespace.createElement("div", footerProps, props.footer);
382
396
  }
383
397
  return null;
384
398
  };
@@ -416,11 +430,13 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
416
430
  var gridClassName = utils.classNames('p-grid grid', {
417
431
  'p-nogutter grid-nogutter': !props.gutter
418
432
  });
419
- return /*#__PURE__*/React__namespace.createElement("div", {
420
- className: "p-dataview-content"
421
- }, /*#__PURE__*/React__namespace.createElement("div", {
433
+ var gridProps = utils.mergeProps({
422
434
  className: gridClassName
423
- }, items));
435
+ }, ptm('grid'));
436
+ var contentProps = utils.mergeProps({
437
+ className: 'p-dataview-content'
438
+ }, ptm('content'));
439
+ return /*#__PURE__*/React__namespace.createElement("div", contentProps, /*#__PURE__*/React__namespace.createElement("div", gridProps, items));
424
440
  };
425
441
  var processData = function processData() {
426
442
  var data = props.value;
@@ -438,7 +454,6 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
438
454
  };
439
455
  });
440
456
  var data = processData();
441
- var otherProps = DataViewBase.getOtherProps(props);
442
457
  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);
443
458
  var loader = createLoader();
444
459
  var topPaginator = createTopPaginator();
@@ -446,12 +461,13 @@ var DataView = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
446
461
  var header = createHeader();
447
462
  var footer = createFooter();
448
463
  var content = createContent(data);
449
- return /*#__PURE__*/React__namespace.createElement("div", _extends({
464
+ var rootProps = utils.mergeProps({
450
465
  id: props.id,
451
466
  ref: elementRef,
452
467
  style: props.style,
453
468
  className: className
454
- }, otherProps), loader, header, topPaginator, content, bottomPaginator, footer);
469
+ }, DataViewBase.getOtherProps(props), ptm('root'));
470
+ return /*#__PURE__*/React__namespace.createElement("div", rootProps, loader, header, topPaginator, content, bottomPaginator, footer);
455
471
  }));
456
472
  DataViewLayoutOptions.displayName = 'DataViewLayoutOptions';
457
473
  DataViewItem.displayName = 'DataViewItem';
@@ -1 +1 @@
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"),o=require("primereact/icons/bars"),l=require("primereact/icons/thlarge"),i=require("primereact/icons/spinner");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(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 c=s(e),p=u(t);function m(e){return m="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},m(e)}function f(e,t){if("object"!==m(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function g(e){var t=f(e,"string");return"symbol"===m(t)?t:String(t)}function d(e,t,r){return(t=g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(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 v(e){if(Array.isArray(e))return y(e)}function b(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function P(e,t){if(e){if("string"==typeof e)return y(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)?y(e,t):void 0}}function h(){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 w(e){if(Array.isArray(e))return e}function O(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 N(){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 j(e,t){return w(e)||O(e,t)||P(e,t)||N()}function S(){return S=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},S.apply(this,arguments)}var E={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:null,gutter:!1,itemTemplate:null,onPage:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,E.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,E.defaultProps)}},I={defaultProps:{__TYPE:"DataViewLayoutOptions",id:null,style:null,className:null,layout:null,listIcon:null,gridIcon:null,onChange:null,children:void 0},getProps:function(e){return a.ObjectUtils.getMergedProps(e,I.defaultProps)},getOtherProps:function(e){return a.ObjectUtils.getDiffProps(e,I.defaultProps)}},D=c.memo((function(e){var t=I.getProps(e),r=function(e,r){t.onChange({originalEvent:e,value:r}),e.preventDefault()},i=I.getOtherProps(t),u=a.classNames("p-dataview-layout-options p-selectbutton p-buttonset",t.className),s=a.classNames("p-button p-button-icon-only",{"p-highlight":"list"===t.layout}),p=a.classNames("p-button p-button-icon-only",{"p-highlight":"grid"===t.layout}),m=a.IconUtils.getJSXIcon(t.listIcon||c.createElement(o.BarsIcon,null),void 0,{props:t}),f=a.IconUtils.getJSXIcon(t.gridIcon||c.createElement(l.ThLargeIcon,null),void 0,{props:t});return c.createElement("div",S({id:t.id,style:t.style,className:u},i),c.createElement("button",{type:"button",className:s,onClick:function(e){return r(e,"list")}},m,c.createElement(n.Ripple,null)),c.createElement("button",{type:"button",className:p,onClick:function(e){return r(e,"grid")}},f,c.createElement(n.Ripple,null)))})),T=c.memo((function(e){return e.template(e.item,e.layout)})),L=c.memo(c.forwardRef((function(e,n){var o,l=E.getProps(e),u=j(c.useState(l.first),2),s=u[0],m=u[1],f=j(c.useState(l.rows),2),g=f[0],y=f[1],w=c.useRef(null),O=l.onPage?l.first:s,N=l.onPage?l.rows:g,I=function(e){return l.dataKey?a.ObjectUtils.resolveFieldData(e,l.dataKey):null},D=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=D();return c.createElement(r.Paginator,{first:O,rows:N,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):(m(e.first),y(e.rows))},U=function(){if(l.value){var e=v(t=l.value)||b(t)||P(t)||h();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,p.default.locale,p.default.nullSortOrder)})),e}var t;return null},k=function(){if(!l.loading){var e=l.emptyMessage||t.localeOption("emptyMessage");return c.createElement("div",{className:"p-col-12 col-12 p-dataview-emptymessage"},e)}return null},A=function(e){if(a.ObjectUtils.isNotEmpty(e)){if(l.paginator){for(var t=l.lazy?0:O,r=D(),n=Math.min(N+t,r),o=[],i=t;i<n;i++){var u=e[i];u&&o.push(c.createElement(T,{key:I(e)||i,template:l.itemTemplate,layout:l.layout,item:u}))}return o}return e.map((function(e,t){return c.createElement(T,{key:I(e)||t,template:l.itemTemplate,layout:l.layout,item:e})}))}return k()};c.useImperativeHandle(n,(function(){return{props:l,getElement:function(){return w.current}}}));var C,M,q=function(){var e=l.value;return a.ObjectUtils.isNotEmpty(e)&&l.sortField&&(e=U()),e}(),F=E.getOtherProps(l),V=a.classNames("p-dataview p-component",(d(o={},"p-dataview-".concat(l.layout),!!l.layout),d(o,"p-dataview-loading",l.loading),o),l.className),_=function(){if(l.loading){var e="p-dataview-loading-icon",t=a.IconUtils.getJSXIcon(l.loadingIcon||c.createElement(i.SpinnerIcon,{className:e,spin:!0}),{className:e},{props:l});return c.createElement("div",{className:"p-dataview-loading-overlay p-component-overlay"},t)}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"),J=l.header?c.createElement("div",{className:"p-dataview-header"},l.header):null,K=l.footer?c.createElement("div",{className:"p-dataview-footer"},l.footer):null,X=(C=A(q),M=a.classNames("p-grid grid",{"p-nogutter grid-nogutter":!l.gutter}),c.createElement("div",{className:"p-dataview-content"},c.createElement("div",{className:M},C)));return c.createElement("div",S({id:l.id,ref:w,style:l.style,className:V},F),_,J,x,X,z,K)})));D.displayName="DataViewLayoutOptions",T.displayName="DataViewItem",L.displayName="DataView",exports.DataView=L,exports.DataViewItem=T,exports.DataViewLayoutOptions=D;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/icons/bars"),n=require("primereact/icons/spinner"),a=require("primereact/icons/thlarge"),o=require("primereact/paginator"),i=require("primereact/ripple"),l=require("primereact/utils"),u=require("primereact/componentbase");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(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 p=c(e),m=s(t);function g(){return g=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},g.apply(this,arguments)}function f(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 d(e){if(Array.isArray(e))return f(e)}function y(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function v(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 b(){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 P(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 n,a,o,i,l=[],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)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}function O(){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 P(e)||w(e,t)||v(e,t)||O()}function j(e){return j="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},j(e)}function S(e,t){if("object"!==j(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function N(e){var t=S(e,"string");return"symbol"===j(t)?t:String(t)}function E(e,t,r){return(t=N(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I=u.ComponentBase.extend({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:null,gutter:!1,itemTemplate:null,onPage:null,children:void 0}}),D=u.ComponentBase.extend({defaultProps:{__TYPE:"DataViewLayoutOptions",id:null,style:null,className:null,layout:null,listIcon:null,gridIcon:null,onChange:null,children:void 0}});function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){E(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var R=p.memo((function(e){var n=p.useContext(t.PrimeReactContext),o=D.getProps(e,n),u=D.setMetaData({props:o}).ptm,s=function(e,t){o.onChange({originalEvent:e,value:t}),e.preventDefault()},c=l.classNames("p-dataview-layout-options p-selectbutton p-buttonset",o.className),m=l.classNames("p-button p-button-icon-only",{"p-highlight":"list"===o.layout}),g=l.classNames("p-button p-button-icon-only",{"p-highlight":"grid"===o.layout}),f=l.mergeProps(u("list")),d=l.mergeProps(u("grid")),y=l.IconUtils.getJSXIcon(o.listIcon||p.createElement(r.BarsIcon,f),C({},f),{props:o}),v=l.IconUtils.getJSXIcon(o.gridIcon||p.createElement(a.ThLargeIcon,d),C({},d),{props:o}),b=l.mergeProps({id:o.id,style:o.style,className:c},D.getOtherProps(o),u("root")),P=l.mergeProps({type:"button",className:m,onClick:function(e){return s(e,"list")}},u("listButton")),w=l.mergeProps({type:"button",className:g,onClick:function(e){return s(e,"grid")}},u("gridButton"));return p.createElement("div",b,p.createElement("button",P,y,p.createElement(i.Ripple,null)),p.createElement("button",w,v,p.createElement(i.Ripple,null)))})),L=p.memo((function(e){return e.template(e.item,e.layout)})),k=p.memo(p.forwardRef((function(e,r){var a,i=p.useContext(t.PrimeReactContext),u=I.getProps(e,i),s=h(p.useState(u.first),2),c=s[0],f=s[1],P=h(p.useState(u.rows),2),w=P[0],O=P[1],j=I.setMetaData({props:u,state:{first:c,rows:w}}).ptm,S=p.useRef(null),N=u.onPage?u.first:c,D=u.onPage?u.rows:w,T=function(e){return u.dataKey?l.ObjectUtils.resolveFieldData(e,u.dataKey):null},R=function(){return u.totalRecords?u.totalRecords:u.value?u.value.length:0},k=function(e){var t=l.classNames("p-paginator-"+e,u.paginatorClassName),r=R();return p.createElement(o.Paginator,{first:N,rows:D,pageLinkSize:u.pageLinkSize,className:t,onPageChange:x,template:u.paginatorTemplate,totalRecords:r,rowsPerPageOptions:u.rowsPerPageOptions,currentPageReportTemplate:u.currentPageReportTemplate,leftContent:u.paginatorLeft,rightContent:u.paginatorRight,alwaysShow:u.alwaysShowPaginator,dropdownAppendTo:u.paginatorDropdownAppendTo,ptm:j("paginator")})},x=function(e){u.onPage?u.onPage(e):(f(e.first),O(e.rows))},A=function(){if(u.value){var e=d(t=u.value)||y(t)||v(t)||b();return e.sort((function(e,t){var r=l.ObjectUtils.resolveFieldData(e,u.sortField),n=l.ObjectUtils.resolveFieldData(t,u.sortField);return l.ObjectUtils.sort(r,n,u.sortOrder,i&&i.locale||m.default.locale,i&&i.nullSortOrder||m.default.nullSortOrder)})),e}var t;return null},M=function(){if(!u.loading){var e=u.emptyMessage||t.localeOption("emptyMessage"),r=l.mergeProps({className:"p-col-12 col-12 p-dataview-emptymessage"},j("emptyMessage"));return p.createElement("div",r,e)}return null},U=function(e){if(l.ObjectUtils.isNotEmpty(e)){if(u.paginator){for(var t=u.lazy?0:N,r=R(),n=Math.min(D+t,r),a=[],o=t;o<n;o++){var i=e[o];i&&a.push(p.createElement(L,{key:T(e)||o,template:u.itemTemplate,layout:u.layout,item:i}))}return a}return e.map((function(e,t){return p.createElement(L,{key:T(e)||t,template:u.itemTemplate,layout:u.layout,item:e})}))}return M()};p.useImperativeHandle(r,(function(){return{props:u,getElement:function(){return S.current}}}));var q,F,V,_,z=function(){var e=u.value;return l.ObjectUtils.isNotEmpty(e)&&u.sortField&&(e=A()),e}(),B=l.classNames("p-dataview p-component",(E(a={},"p-dataview-".concat(u.layout),!!u.layout),E(a,"p-dataview-loading",u.loading),a),u.className),J=function(){if(u.loading){var e=l.mergeProps({className:"p-dataview-loading-icon"},j("loadingIcon")),t=u.loadingIcon||p.createElement(n.SpinnerIcon,g({},e,{spin:!0})),r=l.IconUtils.getJSXIcon(t,C({},e),{props:u}),a=l.mergeProps({className:"p-dataview-loading-overlay p-component-overlay"},j("loadingOverlay"));return p.createElement("div",a,r)}return null}(),K=!u.paginator||"bottom"===u.paginatorPosition&&"both"!==u.paginatorPosition?null:k("top"),X=!u.paginator||"top"===u.paginatorPosition&&"both"!==u.paginatorPosition?null:k("bottom"),Y=function(){if(u.header){var e=l.mergeProps({className:"p-dataview-header"},j("header"));return p.createElement("div",e,u.header)}return null}(),H=function(){if(u.footer){var e=l.mergeProps({className:"p-dataview-footer"},j("footer"));return p.createElement("div",e,u.footer)}return null}(),$=(q=U(z),F=l.classNames("p-grid grid",{"p-nogutter grid-nogutter":!u.gutter}),V=l.mergeProps({className:F},j("grid")),_=l.mergeProps({className:"p-dataview-content"},j("content")),p.createElement("div",_,p.createElement("div",V,q))),G=l.mergeProps({id:u.id,ref:S,style:u.style,className:B},I.getOtherProps(u),j("root"));return p.createElement("div",G,J,Y,K,$,X,H)})));R.displayName="DataViewLayoutOptions",L.displayName="DataViewItem",k.displayName="DataView",exports.DataView=k,exports.DataViewItem=L,exports.DataViewLayoutOptions=R;
@@ -8,8 +8,111 @@
8
8
  *
9
9
  */
10
10
  import * as React from 'react';
11
- import { PaginatorTemplate } from '../paginator';
12
- import { IconType } from '../utils/utils';
11
+ import { PaginatorPassThroughOptions, PaginatorTemplate } from '../paginator';
12
+ import { IconType, PassThroughType } from '../utils/utils';
13
+
14
+ export declare type DataViewPassThroughType<T> = PassThroughType<T, DataViewPassThroughMethodOptions>;
15
+ export declare type DataViewLayoutOptionsPassThroughType<T> = PassThroughType<T, DataViewLayoutOptionsPassThroughMethodOptions>;
16
+
17
+ /**
18
+ * Custom passthrough(pt) option method.
19
+ */
20
+ export interface DataViewPassThroughMethodOptions {
21
+ props: DataViewProps;
22
+ state: DataViewState;
23
+ }
24
+
25
+ /**
26
+ * Custom passthrough(pt) option method.
27
+ */
28
+ export interface DataViewLayoutOptionsPassThroughMethodOptions {
29
+ props: DataViewLayoutOptionsProps;
30
+ }
31
+
32
+ /**
33
+ * Custom passthrough(pt) options.
34
+ * @see {@link DataViewProps.pt}
35
+ */
36
+ export interface DataViewPassThroughOptions {
37
+ /**
38
+ * Uses to pass attributes to the root's DOM element.
39
+ */
40
+ root?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
41
+ /**
42
+ * Uses to pass attributes to the header's DOM element.
43
+ */
44
+ header?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
45
+ /**
46
+ * Uses to pass attributes to the Paginator component.
47
+ * @see {@link PaginatorPassThroughOptions}
48
+ */
49
+ paginator?: PaginatorPassThroughOptions;
50
+ /**
51
+ * Uses to pass attributes to the content's DOM element.
52
+ */
53
+ content?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
54
+ /**
55
+ * Uses to pass attributes to the empty message's DOM element.
56
+ */
57
+ emptyMessage?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
58
+ /**
59
+ * Uses to pass attributes to the footer's DOM element.
60
+ */
61
+ footer?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
62
+ /**
63
+ * Uses to pass attributes to the loading overlay's DOM element.
64
+ */
65
+ loadingOverlay?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
66
+ /**
67
+ * Uses to pass attributes to the loading icon's DOM element.
68
+ */
69
+ loadingIcon?: DataViewPassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
70
+ /**
71
+ * Uses to pass attributes to the grid's DOM element.
72
+ */
73
+ grid?: DataViewPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
74
+ }
75
+
76
+ /**
77
+ * Defines current inline state in DataView component.
78
+ */
79
+ export interface DataViewState {
80
+ /**
81
+ * Current index of first record as a number.
82
+ */
83
+ first: number;
84
+ /**
85
+ * Current number of rows to display in new page as a number.
86
+ */
87
+ rows: number;
88
+ }
89
+
90
+ /**
91
+ * Custom passthrough(pt) options.
92
+ * @see {@link DataViewLayoutOptionsProps.pt}
93
+ */
94
+ export interface DataViewLayoutOptionsPassThroughOptions {
95
+ /**
96
+ * Uses to pass attributes to the root's DOM element.
97
+ */
98
+ root?: DataViewLayoutOptionsPassThroughType<React.HTMLAttributes<HTMLDivElement>>;
99
+ /**
100
+ * Uses to pass attributes to the list button's DOM element.
101
+ */
102
+ listButton?: DataViewLayoutOptionsPassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
103
+ /**
104
+ * Uses to pass attributes to the list icon's DOM element.
105
+ */
106
+ listIcon?: DataViewLayoutOptionsPassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
107
+ /**
108
+ * Uses to pass attributes to the grid button's DOM element.
109
+ */
110
+ gridButton?: DataViewLayoutOptionsPassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
111
+ /**
112
+ * Uses to pass attributes to the grid icon's DOM element.
113
+ */
114
+ gridIcon?: DataViewLayoutOptionsPassThroughType<React.SVGProps<SVGSVGElement> | React.HTMLAttributes<HTMLSpanElement>>;
115
+ }
13
116
 
14
117
  /**
15
118
  * Custom page event.