primevue 3.44.0 → 3.46.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 (752) hide show
  1. package/accordion/Accordion.vue +1 -0
  2. package/accordion/accordion.cjs.js +1 -0
  3. package/accordion/accordion.cjs.min.js +1 -1
  4. package/accordion/accordion.esm.js +1 -0
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +1 -0
  7. package/accordion/accordion.min.js +1 -1
  8. package/autocomplete/BaseAutoComplete.vue +1 -1
  9. package/autocomplete/autocomplete.cjs.js +1 -1
  10. package/autocomplete/autocomplete.cjs.min.js +1 -1
  11. package/autocomplete/autocomplete.esm.js +1 -1
  12. package/autocomplete/autocomplete.esm.min.js +1 -1
  13. package/autocomplete/autocomplete.js +1 -1
  14. package/autocomplete/autocomplete.min.js +1 -1
  15. package/basecomponent/BaseComponent.vue +1 -1
  16. package/basecomponent/basecomponent.cjs.js +2 -2
  17. package/basecomponent/basecomponent.cjs.min.js +1 -1
  18. package/basecomponent/basecomponent.esm.js +2 -2
  19. package/basecomponent/basecomponent.esm.min.js +1 -1
  20. package/basecomponent/basecomponent.js +2 -2
  21. package/basecomponent/basecomponent.min.js +1 -1
  22. package/basecomponent/style/basecomponentstyle.cjs.js +1 -1
  23. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
  24. package/basecomponent/style/basecomponentstyle.esm.js +1 -1
  25. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
  26. package/basecomponent/style/basecomponentstyle.js +1 -1
  27. package/basecomponent/style/basecomponentstyle.min.js +1 -1
  28. package/baseicon/BaseIcon.vue +8 -14
  29. package/baseicon/baseicon.cjs.js +10 -15
  30. package/baseicon/baseicon.cjs.min.js +1 -1
  31. package/baseicon/baseicon.esm.js +10 -15
  32. package/baseicon/baseicon.esm.min.js +1 -1
  33. package/baseicon/baseicon.js +10 -15
  34. package/baseicon/baseicon.min.js +1 -1
  35. package/calendar/BaseCalendar.vue +1 -1
  36. package/calendar/Calendar.vue +5 -2
  37. package/calendar/calendar.cjs.js +6 -3
  38. package/calendar/calendar.cjs.min.js +1 -1
  39. package/calendar/calendar.esm.js +6 -3
  40. package/calendar/calendar.esm.min.js +1 -1
  41. package/calendar/calendar.js +6 -3
  42. package/calendar/calendar.min.js +1 -1
  43. package/card/Card.d.ts +4 -0
  44. package/card/Card.vue +7 -5
  45. package/card/card.cjs.js +6 -3
  46. package/card/card.cjs.min.js +1 -1
  47. package/card/card.esm.js +6 -3
  48. package/card/card.esm.min.js +1 -1
  49. package/card/card.js +6 -3
  50. package/card/card.min.js +1 -1
  51. package/card/style/cardstyle.cjs.js +1 -0
  52. package/card/style/cardstyle.cjs.min.js +1 -1
  53. package/card/style/cardstyle.esm.js +1 -0
  54. package/card/style/cardstyle.esm.min.js +1 -1
  55. package/card/style/cardstyle.js +1 -0
  56. package/card/style/cardstyle.min.js +1 -1
  57. package/cascadeselect/BaseCascadeSelect.vue +1 -1
  58. package/cascadeselect/CascadeSelect.d.ts +41 -0
  59. package/cascadeselect/CascadeSelect.vue +1 -0
  60. package/cascadeselect/CascadeSelectSub.vue +18 -5
  61. package/cascadeselect/cascadeselect.cjs.js +20 -6
  62. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  63. package/cascadeselect/cascadeselect.esm.js +20 -6
  64. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  65. package/cascadeselect/cascadeselect.js +20 -6
  66. package/cascadeselect/cascadeselect.min.js +1 -1
  67. package/cascadeselect/style/cascadeselectstyle.cjs.js +1 -1
  68. package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -1
  69. package/cascadeselect/style/cascadeselectstyle.esm.js +1 -1
  70. package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -1
  71. package/cascadeselect/style/cascadeselectstyle.js +1 -1
  72. package/cascadeselect/style/cascadeselectstyle.min.js +1 -1
  73. package/chips/Chips.vue +1 -0
  74. package/chips/chips.cjs.js +1 -0
  75. package/chips/chips.cjs.min.js +1 -1
  76. package/chips/chips.esm.js +1 -0
  77. package/chips/chips.esm.min.js +1 -1
  78. package/chips/chips.js +1 -0
  79. package/chips/chips.min.js +1 -1
  80. package/colorpicker/BaseColorPicker.vue +1 -1
  81. package/colorpicker/ColorPicker.d.ts +1 -1
  82. package/colorpicker/colorpicker.cjs.js +1 -1
  83. package/colorpicker/colorpicker.cjs.min.js +1 -1
  84. package/colorpicker/colorpicker.esm.js +1 -1
  85. package/colorpicker/colorpicker.esm.min.js +1 -1
  86. package/colorpicker/colorpicker.js +1 -1
  87. package/colorpicker/colorpicker.min.js +1 -1
  88. package/column/Column.d.ts +4 -0
  89. package/column/Column.vue +7 -0
  90. package/column/column.cjs.js +9 -0
  91. package/column/column.cjs.min.js +1 -1
  92. package/column/column.esm.js +9 -0
  93. package/column/column.esm.min.js +1 -1
  94. package/column/column.js +9 -0
  95. package/column/column.min.js +1 -1
  96. package/columngroup/ColumnGroup.vue +7 -0
  97. package/columngroup/columngroup.cjs.js +9 -0
  98. package/columngroup/columngroup.cjs.min.js +1 -1
  99. package/columngroup/columngroup.esm.js +9 -0
  100. package/columngroup/columngroup.esm.min.js +1 -1
  101. package/columngroup/columngroup.js +9 -0
  102. package/columngroup/columngroup.min.js +1 -1
  103. package/confirmdialog/ConfirmDialog.d.ts +1 -1
  104. package/confirmdialog/ConfirmDialog.vue +1 -1
  105. package/confirmdialog/confirmdialog.cjs.js +1 -1
  106. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  107. package/confirmdialog/confirmdialog.esm.js +1 -1
  108. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  109. package/confirmdialog/confirmdialog.js +1 -1
  110. package/confirmdialog/confirmdialog.min.js +1 -1
  111. package/confirmdialog/style/confirmdialogstyle.cjs.js +3 -6
  112. package/confirmdialog/style/confirmdialogstyle.cjs.min.js +1 -1
  113. package/confirmdialog/style/confirmdialogstyle.esm.js +3 -6
  114. package/confirmdialog/style/confirmdialogstyle.esm.min.js +1 -1
  115. package/confirmdialog/style/confirmdialogstyle.js +3 -6
  116. package/confirmdialog/style/confirmdialogstyle.min.js +1 -1
  117. package/confirmpopup/ConfirmPopup.vue +3 -3
  118. package/confirmpopup/confirmpopup.cjs.js +3 -3
  119. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  120. package/confirmpopup/confirmpopup.esm.js +3 -3
  121. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  122. package/confirmpopup/confirmpopup.js +3 -3
  123. package/confirmpopup/confirmpopup.min.js +1 -1
  124. package/confirmpopup/style/confirmpopupstyle.cjs.js +5 -8
  125. package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
  126. package/confirmpopup/style/confirmpopupstyle.esm.js +5 -8
  127. package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
  128. package/confirmpopup/style/confirmpopupstyle.js +5 -8
  129. package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
  130. package/contextmenu/BaseContextMenu.vue +1 -1
  131. package/contextmenu/ContextMenu.vue +1 -0
  132. package/contextmenu/ContextMenuSub.vue +6 -1
  133. package/contextmenu/contextmenu.cjs.js +12 -5
  134. package/contextmenu/contextmenu.cjs.min.js +1 -1
  135. package/contextmenu/contextmenu.esm.js +12 -5
  136. package/contextmenu/contextmenu.esm.min.js +1 -1
  137. package/contextmenu/contextmenu.js +12 -5
  138. package/contextmenu/contextmenu.min.js +1 -1
  139. package/core/core.js +357 -209
  140. package/core/core.min.js +53 -53
  141. package/datatable/BaseDataTable.vue +2 -2
  142. package/datatable/BodyRow.vue +582 -0
  143. package/datatable/ColumnFilter.vue +1 -0
  144. package/datatable/DataTable.d.ts +1 -1
  145. package/datatable/DataTable.vue +111 -132
  146. package/datatable/HeaderCell.vue +10 -7
  147. package/datatable/TableBody.vue +74 -414
  148. package/datatable/TableFooter.vue +19 -26
  149. package/datatable/TableHeader.vue +19 -26
  150. package/datatable/datatable.cjs.js +895 -634
  151. package/datatable/datatable.cjs.min.js +1 -1
  152. package/datatable/datatable.esm.js +896 -635
  153. package/datatable/datatable.esm.min.js +1 -1
  154. package/datatable/datatable.js +895 -634
  155. package/datatable/datatable.min.js +1 -1
  156. package/datatable/style/datatablestyle.cjs.js +5 -4
  157. package/datatable/style/datatablestyle.cjs.min.js +1 -1
  158. package/datatable/style/datatablestyle.esm.js +5 -4
  159. package/datatable/style/datatablestyle.esm.min.js +1 -1
  160. package/datatable/style/datatablestyle.js +5 -4
  161. package/datatable/style/datatablestyle.min.js +1 -1
  162. package/dialog/BaseDialog.vue +1 -1
  163. package/dialog/dialog.cjs.js +1 -1
  164. package/dialog/dialog.cjs.min.js +1 -1
  165. package/dialog/dialog.esm.js +1 -1
  166. package/dialog/dialog.esm.min.js +1 -1
  167. package/dialog/dialog.js +1 -1
  168. package/dialog/dialog.min.js +1 -1
  169. package/dialog/style/dialogstyle.cjs.js +1 -1
  170. package/dialog/style/dialogstyle.cjs.min.js +1 -1
  171. package/dialog/style/dialogstyle.esm.js +1 -1
  172. package/dialog/style/dialogstyle.esm.min.js +1 -1
  173. package/dialog/style/dialogstyle.js +1 -1
  174. package/dialog/style/dialogstyle.min.js +1 -1
  175. package/dock/DockSub.vue +1 -0
  176. package/dock/dock.cjs.js +1 -0
  177. package/dock/dock.cjs.min.js +1 -1
  178. package/dock/dock.esm.js +1 -0
  179. package/dock/dock.esm.min.js +1 -1
  180. package/dock/dock.js +1 -0
  181. package/dock/dock.min.js +1 -1
  182. package/dropdown/BaseDropdown.vue +1 -1
  183. package/dropdown/Dropdown.vue +26 -0
  184. package/dropdown/dropdown.cjs.js +50 -26
  185. package/dropdown/dropdown.cjs.min.js +1 -1
  186. package/dropdown/dropdown.esm.js +50 -26
  187. package/dropdown/dropdown.esm.min.js +1 -1
  188. package/dropdown/dropdown.js +50 -26
  189. package/dropdown/dropdown.min.js +1 -1
  190. package/fieldset/Fieldset.vue +1 -1
  191. package/fieldset/fieldset.cjs.js +1 -1
  192. package/fieldset/fieldset.cjs.min.js +1 -1
  193. package/fieldset/fieldset.esm.js +1 -1
  194. package/fieldset/fieldset.esm.min.js +1 -1
  195. package/fieldset/fieldset.js +1 -1
  196. package/fieldset/fieldset.min.js +1 -1
  197. package/galleria/GalleriaItem.vue +1 -0
  198. package/galleria/GalleriaThumbnails.vue +1 -1
  199. package/galleria/galleria.cjs.js +2 -1
  200. package/galleria/galleria.cjs.min.js +1 -1
  201. package/galleria/galleria.esm.js +2 -1
  202. package/galleria/galleria.esm.min.js +1 -1
  203. package/galleria/galleria.js +2 -1
  204. package/galleria/galleria.min.js +1 -1
  205. package/icons/arrowdown/index.cjs.js +2 -2
  206. package/icons/arrowdown/index.cjs.min.js +1 -1
  207. package/icons/arrowdown/index.esm.js +2 -2
  208. package/icons/arrowdown/index.esm.min.js +1 -1
  209. package/icons/arrowdown/index.js +2 -2
  210. package/icons/arrowdown/index.min.js +1 -1
  211. package/icons/arrowdown/index.vue +1 -1
  212. package/icons/arrowup/index.cjs.js +2 -2
  213. package/icons/arrowup/index.cjs.min.js +1 -1
  214. package/icons/arrowup/index.esm.js +2 -2
  215. package/icons/arrowup/index.esm.min.js +1 -1
  216. package/icons/arrowup/index.js +2 -2
  217. package/icons/arrowup/index.min.js +1 -1
  218. package/icons/arrowup/index.vue +1 -1
  219. package/icons/ban/index.cjs.js +2 -2
  220. package/icons/ban/index.cjs.min.js +1 -1
  221. package/icons/ban/index.esm.js +2 -2
  222. package/icons/ban/index.esm.min.js +1 -1
  223. package/icons/ban/index.js +2 -2
  224. package/icons/ban/index.min.js +1 -1
  225. package/icons/ban/index.vue +1 -1
  226. package/icons/exclamationtriangle/index.cjs.js +2 -2
  227. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  228. package/icons/exclamationtriangle/index.esm.js +2 -2
  229. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  230. package/icons/exclamationtriangle/index.js +2 -2
  231. package/icons/exclamationtriangle/index.min.js +1 -1
  232. package/icons/exclamationtriangle/index.vue +1 -1
  233. package/icons/eyeslash/index.cjs.js +2 -2
  234. package/icons/eyeslash/index.cjs.min.js +1 -1
  235. package/icons/eyeslash/index.esm.js +2 -2
  236. package/icons/eyeslash/index.esm.min.js +1 -1
  237. package/icons/eyeslash/index.js +2 -2
  238. package/icons/eyeslash/index.min.js +1 -1
  239. package/icons/eyeslash/index.vue +1 -1
  240. package/icons/filter/index.cjs.js +2 -2
  241. package/icons/filter/index.cjs.min.js +1 -1
  242. package/icons/filter/index.esm.js +2 -2
  243. package/icons/filter/index.esm.min.js +1 -1
  244. package/icons/filter/index.js +2 -2
  245. package/icons/filter/index.min.js +1 -1
  246. package/icons/filter/index.vue +1 -1
  247. package/icons/filterslash/index.cjs.js +2 -2
  248. package/icons/filterslash/index.cjs.min.js +1 -1
  249. package/icons/filterslash/index.esm.js +2 -2
  250. package/icons/filterslash/index.esm.min.js +1 -1
  251. package/icons/filterslash/index.js +2 -2
  252. package/icons/filterslash/index.min.js +1 -1
  253. package/icons/filterslash/index.vue +1 -1
  254. package/icons/infocircle/index.cjs.js +2 -2
  255. package/icons/infocircle/index.cjs.min.js +1 -1
  256. package/icons/infocircle/index.esm.js +2 -2
  257. package/icons/infocircle/index.esm.min.js +1 -1
  258. package/icons/infocircle/index.js +2 -2
  259. package/icons/infocircle/index.min.js +1 -1
  260. package/icons/infocircle/index.vue +1 -1
  261. package/icons/pencil/index.cjs.js +2 -2
  262. package/icons/pencil/index.cjs.min.js +1 -1
  263. package/icons/pencil/index.esm.js +2 -2
  264. package/icons/pencil/index.esm.min.js +1 -1
  265. package/icons/pencil/index.js +2 -2
  266. package/icons/pencil/index.min.js +1 -1
  267. package/icons/pencil/index.vue +1 -1
  268. package/icons/plus/index.cjs.js +2 -2
  269. package/icons/plus/index.cjs.min.js +1 -1
  270. package/icons/plus/index.esm.js +2 -2
  271. package/icons/plus/index.esm.min.js +1 -1
  272. package/icons/plus/index.js +2 -2
  273. package/icons/plus/index.min.js +1 -1
  274. package/icons/plus/index.vue +1 -1
  275. package/icons/refresh/index.cjs.js +2 -2
  276. package/icons/refresh/index.cjs.min.js +1 -1
  277. package/icons/refresh/index.esm.js +2 -2
  278. package/icons/refresh/index.esm.min.js +1 -1
  279. package/icons/refresh/index.js +2 -2
  280. package/icons/refresh/index.min.js +1 -1
  281. package/icons/refresh/index.vue +1 -1
  282. package/icons/search/index.cjs.js +2 -2
  283. package/icons/search/index.cjs.min.js +1 -1
  284. package/icons/search/index.esm.js +2 -2
  285. package/icons/search/index.esm.min.js +1 -1
  286. package/icons/search/index.js +2 -2
  287. package/icons/search/index.min.js +1 -1
  288. package/icons/search/index.vue +1 -1
  289. package/icons/searchminus/index.cjs.js +2 -2
  290. package/icons/searchminus/index.cjs.min.js +1 -1
  291. package/icons/searchminus/index.esm.js +2 -2
  292. package/icons/searchminus/index.esm.min.js +1 -1
  293. package/icons/searchminus/index.js +2 -2
  294. package/icons/searchminus/index.min.js +1 -1
  295. package/icons/searchminus/index.vue +1 -1
  296. package/icons/searchplus/index.cjs.js +2 -2
  297. package/icons/searchplus/index.cjs.min.js +1 -1
  298. package/icons/searchplus/index.esm.js +2 -2
  299. package/icons/searchplus/index.esm.min.js +1 -1
  300. package/icons/searchplus/index.js +2 -2
  301. package/icons/searchplus/index.min.js +1 -1
  302. package/icons/searchplus/index.vue +1 -1
  303. package/icons/sortalt/index.cjs.js +2 -2
  304. package/icons/sortalt/index.cjs.min.js +1 -1
  305. package/icons/sortalt/index.esm.js +2 -2
  306. package/icons/sortalt/index.esm.min.js +1 -1
  307. package/icons/sortalt/index.js +2 -2
  308. package/icons/sortalt/index.min.js +1 -1
  309. package/icons/sortalt/index.vue +1 -1
  310. package/icons/sortamountdown/index.cjs.js +12 -9
  311. package/icons/sortamountdown/index.cjs.min.js +1 -1
  312. package/icons/sortamountdown/index.esm.js +13 -10
  313. package/icons/sortamountdown/index.esm.min.js +1 -1
  314. package/icons/sortamountdown/index.js +12 -9
  315. package/icons/sortamountdown/index.min.js +1 -1
  316. package/icons/sortamountdown/index.vue +2 -22
  317. package/icons/sortamountupalt/index.cjs.js +12 -9
  318. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  319. package/icons/sortamountupalt/index.esm.js +13 -10
  320. package/icons/sortamountupalt/index.esm.min.js +1 -1
  321. package/icons/sortamountupalt/index.js +12 -9
  322. package/icons/sortamountupalt/index.min.js +1 -1
  323. package/icons/sortamountupalt/index.vue +2 -22
  324. package/icons/spinner/index.cjs.js +2 -2
  325. package/icons/spinner/index.cjs.min.js +1 -1
  326. package/icons/spinner/index.esm.js +2 -2
  327. package/icons/spinner/index.esm.min.js +1 -1
  328. package/icons/spinner/index.js +2 -2
  329. package/icons/spinner/index.min.js +1 -1
  330. package/icons/spinner/index.vue +1 -1
  331. package/icons/star/index.cjs.js +2 -2
  332. package/icons/star/index.cjs.min.js +1 -1
  333. package/icons/star/index.esm.js +2 -2
  334. package/icons/star/index.esm.min.js +1 -1
  335. package/icons/star/index.js +2 -2
  336. package/icons/star/index.min.js +1 -1
  337. package/icons/star/index.vue +1 -1
  338. package/icons/starfill/index.cjs.js +2 -2
  339. package/icons/starfill/index.cjs.min.js +1 -1
  340. package/icons/starfill/index.esm.js +2 -2
  341. package/icons/starfill/index.esm.min.js +1 -1
  342. package/icons/starfill/index.js +2 -2
  343. package/icons/starfill/index.min.js +1 -1
  344. package/icons/starfill/index.vue +1 -1
  345. package/icons/thlarge/index.cjs.js +2 -2
  346. package/icons/thlarge/index.cjs.min.js +1 -1
  347. package/icons/thlarge/index.esm.js +2 -2
  348. package/icons/thlarge/index.esm.min.js +1 -1
  349. package/icons/thlarge/index.js +2 -2
  350. package/icons/thlarge/index.min.js +1 -1
  351. package/icons/thlarge/index.vue +1 -1
  352. package/icons/timescircle/index.cjs.js +2 -2
  353. package/icons/timescircle/index.cjs.min.js +1 -1
  354. package/icons/timescircle/index.esm.js +2 -2
  355. package/icons/timescircle/index.esm.min.js +1 -1
  356. package/icons/timescircle/index.js +2 -2
  357. package/icons/timescircle/index.min.js +1 -1
  358. package/icons/timescircle/index.vue +1 -1
  359. package/icons/trash/index.cjs.js +2 -2
  360. package/icons/trash/index.cjs.min.js +1 -1
  361. package/icons/trash/index.esm.js +2 -2
  362. package/icons/trash/index.esm.min.js +1 -1
  363. package/icons/trash/index.js +2 -2
  364. package/icons/trash/index.min.js +1 -1
  365. package/icons/trash/index.vue +1 -1
  366. package/icons/undo/index.cjs.js +2 -2
  367. package/icons/undo/index.cjs.min.js +1 -1
  368. package/icons/undo/index.esm.js +2 -2
  369. package/icons/undo/index.esm.min.js +1 -1
  370. package/icons/undo/index.js +2 -2
  371. package/icons/undo/index.min.js +1 -1
  372. package/icons/undo/index.vue +1 -1
  373. package/icons/upload/index.cjs.js +2 -2
  374. package/icons/upload/index.cjs.min.js +1 -1
  375. package/icons/upload/index.esm.js +2 -2
  376. package/icons/upload/index.esm.min.js +1 -1
  377. package/icons/upload/index.js +2 -2
  378. package/icons/upload/index.min.js +1 -1
  379. package/icons/upload/index.vue +1 -1
  380. package/icons/windowmaximize/index.cjs.js +2 -2
  381. package/icons/windowmaximize/index.cjs.min.js +1 -1
  382. package/icons/windowmaximize/index.esm.js +2 -2
  383. package/icons/windowmaximize/index.esm.min.js +1 -1
  384. package/icons/windowmaximize/index.js +2 -2
  385. package/icons/windowmaximize/index.min.js +1 -1
  386. package/icons/windowmaximize/index.vue +1 -1
  387. package/icons/windowminimize/index.cjs.js +2 -2
  388. package/icons/windowminimize/index.cjs.min.js +1 -1
  389. package/icons/windowminimize/index.esm.js +2 -2
  390. package/icons/windowminimize/index.esm.min.js +1 -1
  391. package/icons/windowminimize/index.js +2 -2
  392. package/icons/windowminimize/index.min.js +1 -1
  393. package/icons/windowminimize/index.vue +1 -1
  394. package/image/Image.vue +2 -6
  395. package/image/image.cjs.js +2 -5
  396. package/image/image.cjs.min.js +1 -1
  397. package/image/image.esm.js +2 -5
  398. package/image/image.esm.min.js +1 -1
  399. package/image/image.js +2 -5
  400. package/image/image.min.js +1 -1
  401. package/image/style/imagestyle.cjs.js +1 -1
  402. package/image/style/imagestyle.cjs.min.js +1 -1
  403. package/image/style/imagestyle.esm.js +1 -1
  404. package/image/style/imagestyle.esm.min.js +1 -1
  405. package/image/style/imagestyle.js +1 -1
  406. package/image/style/imagestyle.min.js +1 -1
  407. package/inputnumber/BaseInputNumber.vue +7 -0
  408. package/inputnumber/InputNumber.d.ts +7 -0
  409. package/inputnumber/InputNumber.vue +8 -3
  410. package/inputnumber/inputnumber.cjs.js +16 -3
  411. package/inputnumber/inputnumber.cjs.min.js +1 -1
  412. package/inputnumber/inputnumber.esm.js +16 -3
  413. package/inputnumber/inputnumber.esm.min.js +1 -1
  414. package/inputnumber/inputnumber.js +16 -3
  415. package/inputnumber/inputnumber.min.js +1 -1
  416. package/knob/Knob.vue +1 -1
  417. package/knob/knob.cjs.js +1 -1
  418. package/knob/knob.cjs.min.js +1 -1
  419. package/knob/knob.esm.js +1 -1
  420. package/knob/knob.esm.min.js +1 -1
  421. package/knob/knob.js +1 -1
  422. package/knob/knob.min.js +1 -1
  423. package/listbox/BaseListbox.vue +1 -1
  424. package/listbox/Listbox.d.ts +1 -1
  425. package/listbox/Listbox.vue +2 -0
  426. package/listbox/listbox.cjs.js +3 -1
  427. package/listbox/listbox.cjs.min.js +1 -1
  428. package/listbox/listbox.esm.js +3 -1
  429. package/listbox/listbox.esm.min.js +1 -1
  430. package/listbox/listbox.js +3 -1
  431. package/listbox/listbox.min.js +1 -1
  432. package/megamenu/MegaMenu.vue +2 -1
  433. package/megamenu/megamenu.cjs.js +2 -1
  434. package/megamenu/megamenu.cjs.min.js +1 -1
  435. package/megamenu/megamenu.esm.js +2 -1
  436. package/megamenu/megamenu.esm.min.js +1 -1
  437. package/megamenu/megamenu.js +2 -1
  438. package/megamenu/megamenu.min.js +1 -1
  439. package/menu/BaseMenu.vue +1 -1
  440. package/menu/Menu.vue +1 -0
  441. package/menu/menu.cjs.js +2 -1
  442. package/menu/menu.cjs.min.js +1 -1
  443. package/menu/menu.esm.js +2 -1
  444. package/menu/menu.esm.min.js +1 -1
  445. package/menu/menu.js +2 -1
  446. package/menu/menu.min.js +1 -1
  447. package/menubar/Menubar.vue +4 -2
  448. package/menubar/MenubarSub.vue +5 -1
  449. package/menubar/menubar.cjs.js +12 -5
  450. package/menubar/menubar.cjs.min.js +1 -1
  451. package/menubar/menubar.esm.js +12 -5
  452. package/menubar/menubar.esm.min.js +1 -1
  453. package/menubar/menubar.js +12 -5
  454. package/menubar/menubar.min.js +1 -1
  455. package/menuitem/MenuItem.d.ts +0 -6
  456. package/message/style/messagestyle.cjs.js +1 -1
  457. package/message/style/messagestyle.cjs.min.js +1 -1
  458. package/message/style/messagestyle.esm.js +1 -1
  459. package/message/style/messagestyle.esm.min.js +1 -1
  460. package/message/style/messagestyle.js +1 -1
  461. package/message/style/messagestyle.min.js +1 -1
  462. package/multiselect/BaseMultiSelect.vue +1 -1
  463. package/multiselect/MultiSelect.vue +2 -0
  464. package/multiselect/multiselect.cjs.js +3 -1
  465. package/multiselect/multiselect.cjs.min.js +1 -1
  466. package/multiselect/multiselect.esm.js +3 -1
  467. package/multiselect/multiselect.esm.min.js +1 -1
  468. package/multiselect/multiselect.js +3 -1
  469. package/multiselect/multiselect.min.js +1 -1
  470. package/orderlist/BaseOrderList.vue +1 -1
  471. package/orderlist/OrderList.d.ts +1 -1
  472. package/orderlist/OrderList.vue +1 -0
  473. package/orderlist/orderlist.cjs.js +2 -1
  474. package/orderlist/orderlist.cjs.min.js +1 -1
  475. package/orderlist/orderlist.esm.js +2 -1
  476. package/orderlist/orderlist.esm.min.js +1 -1
  477. package/orderlist/orderlist.js +2 -1
  478. package/orderlist/orderlist.min.js +1 -1
  479. package/organizationchart/OrganizationChartNode.vue +1 -1
  480. package/organizationchart/organizationchart.cjs.js +1 -1
  481. package/organizationchart/organizationchart.cjs.min.js +1 -1
  482. package/organizationchart/organizationchart.esm.js +1 -1
  483. package/organizationchart/organizationchart.esm.min.js +1 -1
  484. package/organizationchart/organizationchart.js +1 -1
  485. package/organizationchart/organizationchart.min.js +1 -1
  486. package/overlaypanel/BaseOverlayPanel.vue +1 -1
  487. package/overlaypanel/overlaypanel.cjs.js +1 -1
  488. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  489. package/overlaypanel/overlaypanel.esm.js +1 -1
  490. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  491. package/overlaypanel/overlaypanel.js +1 -1
  492. package/overlaypanel/overlaypanel.min.js +1 -1
  493. package/package.json +1 -1
  494. package/paginator/Paginator.vue +4 -4
  495. package/paginator/paginator.cjs.js +2 -2
  496. package/paginator/paginator.cjs.min.js +1 -1
  497. package/paginator/paginator.esm.js +2 -2
  498. package/paginator/paginator.esm.min.js +1 -1
  499. package/paginator/paginator.js +2 -2
  500. package/paginator/paginator.min.js +1 -1
  501. package/panel/Panel.vue +1 -1
  502. package/panel/panel.cjs.js +1 -1
  503. package/panel/panel.cjs.min.js +1 -1
  504. package/panel/panel.esm.js +1 -1
  505. package/panel/panel.esm.min.js +1 -1
  506. package/panel/panel.js +1 -1
  507. package/panel/panel.min.js +1 -1
  508. package/panelmenu/PanelMenu.vue +1 -0
  509. package/panelmenu/PanelMenuList.vue +1 -0
  510. package/panelmenu/panelmenu.cjs.js +2 -0
  511. package/panelmenu/panelmenu.cjs.min.js +1 -1
  512. package/panelmenu/panelmenu.esm.js +2 -0
  513. package/panelmenu/panelmenu.esm.min.js +1 -1
  514. package/panelmenu/panelmenu.js +2 -0
  515. package/panelmenu/panelmenu.min.js +1 -1
  516. package/password/BasePassword.vue +1 -1
  517. package/password/password.cjs.js +1 -1
  518. package/password/password.cjs.min.js +1 -1
  519. package/password/password.esm.js +1 -1
  520. package/password/password.esm.min.js +1 -1
  521. package/password/password.js +1 -1
  522. package/password/password.min.js +1 -1
  523. package/picklist/BasePickList.vue +1 -1
  524. package/picklist/PickList.d.ts +1 -1
  525. package/picklist/PickList.vue +2 -1
  526. package/picklist/picklist.cjs.js +3 -2
  527. package/picklist/picklist.cjs.min.js +1 -1
  528. package/picklist/picklist.esm.js +3 -2
  529. package/picklist/picklist.esm.min.js +1 -1
  530. package/picklist/picklist.js +3 -2
  531. package/picklist/picklist.min.js +1 -1
  532. package/picklist/style/pickliststyle.cjs.js +1 -1
  533. package/picklist/style/pickliststyle.cjs.min.js +1 -1
  534. package/picklist/style/pickliststyle.esm.js +1 -1
  535. package/picklist/style/pickliststyle.esm.min.js +1 -1
  536. package/picklist/style/pickliststyle.js +1 -1
  537. package/picklist/style/pickliststyle.min.js +1 -1
  538. package/portal/Portal.vue +1 -1
  539. package/portal/portal.cjs.js +1 -1
  540. package/portal/portal.cjs.min.js +1 -1
  541. package/portal/portal.esm.js +1 -1
  542. package/portal/portal.esm.min.js +1 -1
  543. package/portal/portal.js +1 -1
  544. package/portal/portal.min.js +1 -1
  545. package/resources/themes/arya-blue/theme.css +4 -4
  546. package/resources/themes/arya-green/theme.css +4 -4
  547. package/resources/themes/arya-orange/theme.css +4 -4
  548. package/resources/themes/arya-purple/theme.css +4 -4
  549. package/resources/themes/bootstrap4-dark-blue/theme.css +4 -4
  550. package/resources/themes/bootstrap4-dark-purple/theme.css +4 -4
  551. package/resources/themes/bootstrap4-light-blue/theme.css +4 -4
  552. package/resources/themes/bootstrap4-light-purple/theme.css +4 -4
  553. package/resources/themes/fluent-light/theme.css +4 -4
  554. package/resources/themes/lara-dark-amber/theme.css +4 -4
  555. package/resources/themes/lara-dark-blue/theme.css +4 -4
  556. package/resources/themes/lara-dark-cyan/theme.css +4 -4
  557. package/resources/themes/lara-dark-green/theme.css +4 -4
  558. package/resources/themes/lara-dark-indigo/theme.css +4 -4
  559. package/resources/themes/lara-dark-pink/theme.css +4 -4
  560. package/resources/themes/lara-dark-purple/theme.css +4 -4
  561. package/resources/themes/lara-dark-teal/theme.css +4 -4
  562. package/resources/themes/lara-light-amber/theme.css +4 -4
  563. package/resources/themes/lara-light-blue/theme.css +4 -4
  564. package/resources/themes/lara-light-cyan/theme.css +4 -4
  565. package/resources/themes/lara-light-green/theme.css +4 -4
  566. package/resources/themes/lara-light-indigo/theme.css +4 -4
  567. package/resources/themes/lara-light-pink/theme.css +4 -4
  568. package/resources/themes/lara-light-purple/theme.css +4 -4
  569. package/resources/themes/lara-light-teal/theme.css +44 -44
  570. package/resources/themes/luna-amber/theme.css +4 -4
  571. package/resources/themes/luna-blue/theme.css +4 -4
  572. package/resources/themes/luna-green/theme.css +4 -4
  573. package/resources/themes/luna-pink/theme.css +4 -4
  574. package/resources/themes/md-dark-deeppurple/theme.css +4 -4
  575. package/resources/themes/md-dark-indigo/theme.css +4 -4
  576. package/resources/themes/md-light-deeppurple/theme.css +4 -4
  577. package/resources/themes/md-light-indigo/theme.css +4 -4
  578. package/resources/themes/mdc-dark-deeppurple/theme.css +4 -4
  579. package/resources/themes/mdc-dark-indigo/theme.css +4 -4
  580. package/resources/themes/mdc-light-deeppurple/theme.css +4 -4
  581. package/resources/themes/mdc-light-indigo/theme.css +4 -4
  582. package/resources/themes/mira/theme.css +4 -4
  583. package/resources/themes/nano/theme.css +4 -4
  584. package/resources/themes/nova/theme.css +4 -4
  585. package/resources/themes/nova-accent/theme.css +4 -4
  586. package/resources/themes/nova-alt/theme.css +4 -4
  587. package/resources/themes/nova-vue/theme.css +4 -4
  588. package/resources/themes/rhea/theme.css +4 -4
  589. package/resources/themes/saga-blue/theme.css +4 -4
  590. package/resources/themes/saga-green/theme.css +4 -4
  591. package/resources/themes/saga-orange/theme.css +4 -4
  592. package/resources/themes/saga-purple/theme.css +4 -4
  593. package/resources/themes/soho-dark/theme.css +4 -4
  594. package/resources/themes/soho-light/theme.css +4 -4
  595. package/resources/themes/tailwind-light/theme.css +4 -4
  596. package/resources/themes/vela-blue/theme.css +4 -4
  597. package/resources/themes/vela-green/theme.css +4 -4
  598. package/resources/themes/vela-orange/theme.css +4 -4
  599. package/resources/themes/vela-purple/theme.css +4 -4
  600. package/resources/themes/viva-dark/theme.css +4 -4
  601. package/resources/themes/viva-light/theme.css +4 -4
  602. package/ripple/style/ripplestyle.cjs.js +1 -1
  603. package/ripple/style/ripplestyle.cjs.min.js +1 -1
  604. package/ripple/style/ripplestyle.esm.js +1 -1
  605. package/ripple/style/ripplestyle.esm.min.js +1 -1
  606. package/ripple/style/ripplestyle.js +1 -1
  607. package/ripple/style/ripplestyle.min.js +1 -1
  608. package/row/Row.vue +7 -0
  609. package/row/row.cjs.js +9 -0
  610. package/row/row.cjs.min.js +1 -1
  611. package/row/row.esm.js +9 -0
  612. package/row/row.esm.min.js +1 -1
  613. package/row/row.js +9 -0
  614. package/row/row.min.js +1 -1
  615. package/sidebar/Sidebar.vue +16 -1
  616. package/sidebar/sidebar.cjs.js +17 -5
  617. package/sidebar/sidebar.cjs.min.js +1 -1
  618. package/sidebar/sidebar.esm.js +17 -5
  619. package/sidebar/sidebar.esm.min.js +1 -1
  620. package/sidebar/sidebar.js +17 -5
  621. package/sidebar/sidebar.min.js +1 -1
  622. package/slider/Slider.vue +26 -19
  623. package/slider/slider.cjs.js +19 -11
  624. package/slider/slider.cjs.min.js +1 -1
  625. package/slider/slider.esm.js +19 -11
  626. package/slider/slider.esm.min.js +1 -1
  627. package/slider/slider.js +19 -11
  628. package/slider/slider.min.js +1 -1
  629. package/speeddial/SpeedDial.vue +1 -0
  630. package/speeddial/speeddial.cjs.js +1 -0
  631. package/speeddial/speeddial.cjs.min.js +1 -1
  632. package/speeddial/speeddial.esm.js +1 -0
  633. package/speeddial/speeddial.esm.min.js +1 -1
  634. package/speeddial/speeddial.js +1 -0
  635. package/speeddial/speeddial.min.js +1 -1
  636. package/splitbutton/BaseSplitButton.vue +1 -1
  637. package/splitbutton/splitbutton.cjs.js +1 -1
  638. package/splitbutton/splitbutton.cjs.min.js +1 -1
  639. package/splitbutton/splitbutton.esm.js +1 -1
  640. package/splitbutton/splitbutton.esm.min.js +1 -1
  641. package/splitbutton/splitbutton.js +1 -1
  642. package/splitbutton/splitbutton.min.js +1 -1
  643. package/steps/Steps.vue +3 -1
  644. package/steps/steps.cjs.js +4 -2
  645. package/steps/steps.cjs.min.js +1 -1
  646. package/steps/steps.esm.js +4 -2
  647. package/steps/steps.esm.min.js +1 -1
  648. package/steps/steps.js +4 -2
  649. package/steps/steps.min.js +1 -1
  650. package/tabmenu/TabMenu.vue +1 -0
  651. package/tabmenu/tabmenu.cjs.js +1 -0
  652. package/tabmenu/tabmenu.cjs.min.js +1 -1
  653. package/tabmenu/tabmenu.esm.js +1 -0
  654. package/tabmenu/tabmenu.esm.min.js +1 -1
  655. package/tabmenu/tabmenu.js +1 -0
  656. package/tabmenu/tabmenu.min.js +1 -1
  657. package/tabview/TabView.vue +1 -0
  658. package/tabview/tabview.cjs.js +1 -0
  659. package/tabview/tabview.cjs.min.js +1 -1
  660. package/tabview/tabview.esm.js +1 -0
  661. package/tabview/tabview.esm.min.js +1 -1
  662. package/tabview/tabview.js +1 -0
  663. package/tabview/tabview.min.js +1 -1
  664. package/terminal/Terminal.vue +1 -1
  665. package/terminal/terminal.cjs.js +1 -1
  666. package/terminal/terminal.cjs.min.js +1 -1
  667. package/terminal/terminal.esm.js +1 -1
  668. package/terminal/terminal.esm.min.js +1 -1
  669. package/terminal/terminal.js +1 -1
  670. package/terminal/terminal.min.js +1 -1
  671. package/tieredmenu/BaseTieredMenu.vue +1 -1
  672. package/tieredmenu/TieredMenu.d.ts +4 -0
  673. package/tieredmenu/TieredMenu.vue +1 -0
  674. package/tieredmenu/TieredMenuSub.vue +5 -1
  675. package/tieredmenu/tieredmenu.cjs.js +11 -4
  676. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  677. package/tieredmenu/tieredmenu.esm.js +11 -4
  678. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  679. package/tieredmenu/tieredmenu.js +11 -4
  680. package/tieredmenu/tieredmenu.min.js +1 -1
  681. package/tooltip/style/tooltipstyle.cjs.js +1 -1
  682. package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
  683. package/tooltip/style/tooltipstyle.esm.js +1 -1
  684. package/tooltip/style/tooltipstyle.esm.min.js +1 -1
  685. package/tooltip/style/tooltipstyle.js +1 -1
  686. package/tooltip/style/tooltipstyle.min.js +1 -1
  687. package/tree/BaseTree.vue +1 -1
  688. package/tree/Tree.d.ts +1 -1
  689. package/tree/Tree.vue +1 -1
  690. package/tree/TreeNode.vue +1 -0
  691. package/tree/tree.cjs.js +3 -2
  692. package/tree/tree.cjs.min.js +1 -1
  693. package/tree/tree.esm.js +3 -2
  694. package/tree/tree.esm.min.js +1 -1
  695. package/tree/tree.js +3 -2
  696. package/tree/tree.min.js +1 -1
  697. package/treeselect/BaseTreeSelect.vue +2 -2
  698. package/treeselect/TreeSelect.d.ts +1 -1
  699. package/treeselect/TreeSelect.vue +1 -4
  700. package/treeselect/treeselect.cjs.js +3 -6
  701. package/treeselect/treeselect.cjs.min.js +1 -1
  702. package/treeselect/treeselect.esm.js +3 -6
  703. package/treeselect/treeselect.esm.min.js +1 -1
  704. package/treeselect/treeselect.js +3 -6
  705. package/treeselect/treeselect.min.js +1 -1
  706. package/treetable/BaseTreeTable.vue +5 -1
  707. package/treetable/HeaderCell.vue +1 -1
  708. package/treetable/TreeTable.d.ts +6 -1
  709. package/treetable/TreeTable.vue +32 -24
  710. package/treetable/TreeTableRow.vue +32 -20
  711. package/treetable/style/treetablestyle.cjs.js +1 -1
  712. package/treetable/style/treetablestyle.cjs.min.js +1 -1
  713. package/treetable/style/treetablestyle.esm.js +1 -1
  714. package/treetable/style/treetablestyle.esm.min.js +1 -1
  715. package/treetable/style/treetablestyle.js +1 -1
  716. package/treetable/style/treetablestyle.min.js +1 -1
  717. package/treetable/treetable.cjs.js +70 -43
  718. package/treetable/treetable.cjs.min.js +1 -1
  719. package/treetable/treetable.esm.js +71 -44
  720. package/treetable/treetable.esm.min.js +1 -1
  721. package/treetable/treetable.js +70 -43
  722. package/treetable/treetable.min.js +1 -1
  723. package/tristatecheckbox/TriStateCheckbox.vue +1 -1
  724. package/tristatecheckbox/tristatecheckbox.cjs.js +1 -1
  725. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  726. package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
  727. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  728. package/tristatecheckbox/tristatecheckbox.js +1 -1
  729. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  730. package/utils/Utils.d.ts +9 -0
  731. package/utils/utils.cjs.js +142 -41
  732. package/utils/utils.cjs.min.js +1 -1
  733. package/utils/utils.esm.js +142 -42
  734. package/utils/utils.esm.min.js +1 -1
  735. package/utils/utils.js +142 -41
  736. package/utils/utils.min.js +1 -1
  737. package/vetur-attributes.json +4 -0
  738. package/vetur-tags.json +1 -0
  739. package/virtualscroller/VirtualScroller.vue +19 -15
  740. package/virtualscroller/style/virtualscrollerstyle.cjs.js +1 -1
  741. package/virtualscroller/style/virtualscrollerstyle.cjs.min.js +1 -1
  742. package/virtualscroller/style/virtualscrollerstyle.esm.js +1 -1
  743. package/virtualscroller/style/virtualscrollerstyle.esm.min.js +1 -1
  744. package/virtualscroller/style/virtualscrollerstyle.js +1 -1
  745. package/virtualscroller/style/virtualscrollerstyle.min.js +1 -1
  746. package/virtualscroller/virtualscroller.cjs.js +19 -15
  747. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  748. package/virtualscroller/virtualscroller.esm.js +19 -15
  749. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  750. package/virtualscroller/virtualscroller.js +19 -15
  751. package/virtualscroller/virtualscroller.min.js +1 -1
  752. package/web-types.json +11 -1
package/utils/utils.js CHANGED
@@ -2,16 +2,16 @@ this.primevue = this.primevue || {};
2
2
  this.primevue.utils = (function (exports) {
3
3
  'use strict';
4
4
 
5
- function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
6
- function _toConsumableArray$2(arr) { return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$2(); }
7
- function _nonIterableSpread$2() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
- function _iterableToArray$2(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
9
- function _arrayWithoutHoles$2(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$2(arr); }
10
- function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$2(o); }
11
- function _slicedToArray$1(arr, i) { return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$1(); }
5
+ function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
6
+ function _toConsumableArray$3(arr) { return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$3(); }
7
+ function _nonIterableSpread$3() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
+ function _iterableToArray$3(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
9
+ function _arrayWithoutHoles$3(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$3(arr); }
10
+ function _typeof$3(o) { "@babel/helpers - typeof"; return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$3(o); }
11
+ function _slicedToArray$1(arr, i) { return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$3(arr, i) || _nonIterableRest$1(); }
12
12
  function _nonIterableRest$1() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
- function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
14
- function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ function _unsupportedIterableToArray$3(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$3(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen); }
14
+ function _arrayLikeToArray$3(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
15
  function _iterableToArrayLimit$1(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
16
16
  function _arrayWithHoles$1(arr) { if (Array.isArray(arr)) return arr; }
17
17
  var DomHandler = {
@@ -101,7 +101,8 @@ this.primevue.utils = (function (exports) {
101
101
  },
102
102
  index: function index(element) {
103
103
  if (element) {
104
- var children = element.parentNode.childNodes;
104
+ var _this$getParentNode;
105
+ var children = (_this$getParentNode = this.getParentNode(element)) === null || _this$getParentNode === void 0 ? void 0 : _this$getParentNode.childNodes;
105
106
  var num = 0;
106
107
  for (var i = 0; i < children.length; i++) {
107
108
  if (children[i] === element) return num;
@@ -192,7 +193,7 @@ this.primevue.utils = (function (exports) {
192
193
  var styles = element !== null && element !== void 0 && (_element$$attrs = element.$attrs) !== null && _element$$attrs !== void 0 && _element$$attrs[rule] ? [element === null || element === void 0 || (_element$$attrs2 = element.$attrs) === null || _element$$attrs2 === void 0 ? void 0 : _element$$attrs2[rule]] : [];
193
194
  return [value].flat().reduce(function (cv, v) {
194
195
  if (v !== null && v !== undefined) {
195
- var type = _typeof$2(v);
196
+ var type = _typeof$3(v);
196
197
  if (type === 'string' || type === 'number') {
197
198
  cv.push(v);
198
199
  } else if (type === 'object') {
@@ -221,7 +222,7 @@ this.primevue.utils = (function (exports) {
221
222
  } else if (key === 'p-bind') {
222
223
  _this3.setAttributes(element, value);
223
224
  } else {
224
- value = key === 'class' ? _toConsumableArray$2(new Set(computedStyles('class', value))).join(' ').trim() : key === 'style' ? computedStyles('style', value).join(';').trim() : value;
225
+ value = key === 'class' ? _toConsumableArray$3(new Set(computedStyles('class', value))).join(' ').trim() : key === 'style' ? computedStyles('style', value).join(';').trim() : value;
225
226
  (element.$attrs = element.$attrs || {}) && (element.$attrs[key] = value);
226
227
  element.setAttribute(key, value);
227
228
  }
@@ -356,9 +357,17 @@ this.primevue.utils = (function (exports) {
356
357
  element.style.left = left;
357
358
  }
358
359
  },
360
+ getParentNode: function getParentNode(element) {
361
+ var parent = element === null || element === void 0 ? void 0 : element.parentNode;
362
+ if (parent && parent.host) {
363
+ parent = parent.host;
364
+ }
365
+ return parent;
366
+ },
359
367
  getParents: function getParents(element) {
360
368
  var parents = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
361
- return element['parentNode'] === null ? parents : this.getParents(element.parentNode, parents.concat([element.parentNode]));
369
+ var parent = this.getParentNode(element);
370
+ return parent === null ? parents : this.getParents(parent, parents.concat([parent]));
362
371
  },
363
372
  getScrollableParents: function getScrollableParents(element) {
364
373
  var scrollableParents = [];
@@ -483,7 +492,7 @@ this.primevue.utils = (function (exports) {
483
492
  if (this.isElement(target)) target.appendChild(element);else if (target.el && target.elElement) target.elElement.appendChild(element);else throw new Error('Cannot append ' + target + ' to ' + element);
484
493
  },
485
494
  isElement: function isElement(obj) {
486
- return (typeof HTMLElement === "undefined" ? "undefined" : _typeof$2(HTMLElement)) === 'object' ? obj instanceof HTMLElement : obj && _typeof$2(obj) === 'object' && obj !== null && obj.nodeType === 1 && typeof obj.nodeName === 'string';
495
+ return (typeof HTMLElement === "undefined" ? "undefined" : _typeof$3(HTMLElement)) === 'object' ? obj instanceof HTMLElement : obj && _typeof$3(obj) === 'object' && obj !== null && obj.nodeType === 1 && typeof obj.nodeName === 'string';
487
496
  },
488
497
  scrollInView: function scrollInView(container, item) {
489
498
  var borderTopValue = getComputedStyle(container).getPropertyValue('borderTopWidth');
@@ -571,7 +580,7 @@ this.primevue.utils = (function (exports) {
571
580
  element[methodName].apply(element, args);
572
581
  },
573
582
  isExist: function isExist(element) {
574
- return !!(element !== null && typeof element !== 'undefined' && element.nodeName && element.parentNode);
583
+ return !!(element !== null && typeof element !== 'undefined' && element.nodeName && this.getParentNode(element));
575
584
  },
576
585
  isClient: function isClient() {
577
586
  return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
@@ -715,20 +724,20 @@ this.primevue.utils = (function (exports) {
715
724
  }
716
725
  };
717
726
 
718
- function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
719
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
720
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
721
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
722
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof$1(i) ? i : String(i); }
723
- function _toPrimitive(t, r) { if ("object" != _typeof$1(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
727
+ function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$2(o); }
728
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
729
+ function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey$1(descriptor.key), descriptor); } }
730
+ function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
731
+ function _toPropertyKey$1(t) { var i = _toPrimitive$1(t, "string"); return "symbol" == _typeof$2(i) ? i : String(i); }
732
+ function _toPrimitive$1(t, r) { if ("object" != _typeof$2(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$2(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
724
733
  var ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
725
734
  function ConnectedOverlayScrollHandler(element) {
726
735
  var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
727
- _classCallCheck(this, ConnectedOverlayScrollHandler);
736
+ _classCallCheck$1(this, ConnectedOverlayScrollHandler);
728
737
  this.element = element;
729
738
  this.listener = listener;
730
739
  }
731
- _createClass(ConnectedOverlayScrollHandler, [{
740
+ _createClass$1(ConnectedOverlayScrollHandler, [{
732
741
  key: "bindScrollListener",
733
742
  value: function bindScrollListener() {
734
743
  this.scrollableParents = DomHandler.getScrollableParents(this.element);
@@ -782,25 +791,25 @@ this.primevue.utils = (function (exports) {
782
791
  };
783
792
  }
784
793
 
785
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest(); }
794
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest(); }
786
795
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
787
796
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
788
797
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
789
- function _toConsumableArray$1(arr) { return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1(); }
790
- function _nonIterableSpread$1() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
791
- function _iterableToArray$1(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
792
- function _arrayWithoutHoles$1(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); }
793
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
794
- function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
795
- function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
796
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
798
+ function _toConsumableArray$2(arr) { return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$2(); }
799
+ function _nonIterableSpread$2() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
800
+ function _iterableToArray$2(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
801
+ function _arrayWithoutHoles$2(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$2(arr); }
802
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
803
+ function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); }
804
+ function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
805
+ function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
797
806
  var ObjectUtils = {
798
807
  equals: function equals(obj1, obj2, field) {
799
808
  if (field) return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
800
809
  },
801
810
  deepEquals: function deepEquals(a, b) {
802
811
  if (a === b) return true;
803
- if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
812
+ if (a && b && _typeof$1(a) == 'object' && _typeof$1(b) == 'object') {
804
813
  var arrA = Array.isArray(a),
805
814
  arrB = Array.isArray(b),
806
815
  i,
@@ -965,11 +974,13 @@ this.primevue.utils = (function (exports) {
965
974
  return str;
966
975
  },
967
976
  getVNodeProp: function getVNodeProp(vnode, prop) {
968
- var props = vnode.props;
969
- if (props) {
970
- var kebabProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
971
- var propName = Object.prototype.hasOwnProperty.call(props, kebabProp) ? kebabProp : prop;
972
- return vnode.type["extends"].props[prop].type === Boolean && props[propName] === '' ? true : props[propName];
977
+ if (vnode) {
978
+ var props = vnode.props;
979
+ if (props) {
980
+ var kebabProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
981
+ var propName = Object.prototype.hasOwnProperty.call(props, kebabProp) ? kebabProp : prop;
982
+ return vnode.type["extends"].props[prop].type === Boolean && props[propName] === '' ? true : props[propName];
983
+ }
973
984
  }
974
985
  return null;
975
986
  },
@@ -989,7 +1000,7 @@ this.primevue.utils = (function (exports) {
989
1000
  }) ? str[0].toUpperCase() + str.slice(1) : str;
990
1001
  },
991
1002
  isEmpty: function isEmpty(value) {
992
- return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
1003
+ return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof$1(value) === 'object' && Object.keys(value).length === 0;
993
1004
  },
994
1005
  isNotEmpty: function isNotEmpty(value) {
995
1006
  return !this.isEmpty(value);
@@ -1026,7 +1037,7 @@ this.primevue.utils = (function (exports) {
1026
1037
  try {
1027
1038
  item = arr.findLast(callback);
1028
1039
  } catch (_unused2) {
1029
- item = _toConsumableArray$1(arr).reverse().find(callback);
1040
+ item = _toConsumableArray$2(arr).reverse().find(callback);
1030
1041
  }
1031
1042
  }
1032
1043
  return item;
@@ -1041,7 +1052,7 @@ this.primevue.utils = (function (exports) {
1041
1052
  try {
1042
1053
  index = arr.findLastIndex(callback);
1043
1054
  } catch (_unused3) {
1044
- index = arr.lastIndexOf(_toConsumableArray$1(arr).reverse().find(callback));
1055
+ index = arr.lastIndexOf(_toConsumableArray$2(arr).reverse().find(callback));
1045
1056
  }
1046
1057
  }
1047
1058
  return index;
@@ -1113,6 +1124,95 @@ this.primevue.utils = (function (exports) {
1113
1124
  }
1114
1125
  };
1115
1126
 
1127
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1128
+ function _toConsumableArray$1(arr) { return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1(); }
1129
+ function _nonIterableSpread$1() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1130
+ function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
1131
+ function _iterableToArray$1(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
1132
+ function _arrayWithoutHoles$1(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); }
1133
+ function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
1134
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1135
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1136
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1137
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1138
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
1139
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1140
+ var _default = /*#__PURE__*/function () {
1141
+ function _default(_ref) {
1142
+ var init = _ref.init,
1143
+ type = _ref.type;
1144
+ _classCallCheck(this, _default);
1145
+ _defineProperty(this, "helpers", void 0);
1146
+ _defineProperty(this, "type", void 0);
1147
+ this.helpers = new Set(init);
1148
+ this.type = type;
1149
+ }
1150
+ _createClass(_default, [{
1151
+ key: "add",
1152
+ value: function add(instance) {
1153
+ this.helpers.add(instance);
1154
+ }
1155
+ }, {
1156
+ key: "update",
1157
+ value: function update() {
1158
+ // @todo
1159
+ }
1160
+ }, {
1161
+ key: "delete",
1162
+ value: function _delete(instance) {
1163
+ this.helpers["delete"](instance);
1164
+ }
1165
+ }, {
1166
+ key: "clear",
1167
+ value: function clear() {
1168
+ this.helpers.clear();
1169
+ }
1170
+ }, {
1171
+ key: "get",
1172
+ value: function get(parentInstance, slots) {
1173
+ var children = this._get(parentInstance, slots);
1174
+ var computed = children ? this._recursive(_toConsumableArray$1(this.helpers), children) : null;
1175
+ return ObjectUtils.isNotEmpty(computed) ? computed : null;
1176
+ }
1177
+ }, {
1178
+ key: "_isMatched",
1179
+ value: function _isMatched(instance, key) {
1180
+ var _parent$vnode;
1181
+ var parent = instance === null || instance === void 0 ? void 0 : instance.parent;
1182
+ return (parent === null || parent === void 0 || (_parent$vnode = parent.vnode) === null || _parent$vnode === void 0 ? void 0 : _parent$vnode.key) === key || parent && this._isMatched(parent, key) || false;
1183
+ }
1184
+ }, {
1185
+ key: "_get",
1186
+ value: function _get(parentInstance, slots) {
1187
+ var _ref2, _ref2$default;
1188
+ return ((_ref2 = slots || (parentInstance === null || parentInstance === void 0 ? void 0 : parentInstance.$slots)) === null || _ref2 === void 0 || (_ref2$default = _ref2["default"]) === null || _ref2$default === void 0 ? void 0 : _ref2$default.call(_ref2)) || null;
1189
+ }
1190
+ }, {
1191
+ key: "_recursive",
1192
+ value: function _recursive() {
1193
+ var _this = this;
1194
+ var helpers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
1195
+ var children = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
1196
+ var components = [];
1197
+ children.forEach(function (child) {
1198
+ if (child.children instanceof Array) {
1199
+ components = components.concat(_this._recursive(components, child.children));
1200
+ } else if (child.type.name === _this.type) {
1201
+ components.push(child);
1202
+ } else if (ObjectUtils.isNotEmpty(child.key)) {
1203
+ components = components.concat(helpers.filter(function (c) {
1204
+ return _this._isMatched(c, child.key);
1205
+ }).map(function (c) {
1206
+ return c.vnode;
1207
+ }));
1208
+ }
1209
+ });
1210
+ return components;
1211
+ }
1212
+ }]);
1213
+ return _default;
1214
+ }();
1215
+
1116
1216
  var lastId = 0;
1117
1217
  function UniqueComponentId () {
1118
1218
  var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
@@ -1181,6 +1281,7 @@ this.primevue.utils = (function (exports) {
1181
1281
  exports.ConnectedOverlayScrollHandler = ConnectedOverlayScrollHandler;
1182
1282
  exports.DomHandler = DomHandler;
1183
1283
  exports.EventBus = primebus;
1284
+ exports.HelperSet = _default;
1184
1285
  exports.ObjectUtils = ObjectUtils;
1185
1286
  exports.UniqueComponentId = UniqueComponentId;
1186
1287
  exports.ZIndexUtils = ZIndexUtils;
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.utils=function(t){"use strict";function e(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=s(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){a=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw o}}}}function n(){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 r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function i(t){if(Array.isArray(t))return u(t)}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function l(t,e){return f(t)||c(t,e)||s(t,e)||a()}function a(){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 s(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,l,a=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==e);s=!0);}catch(t){u=!0,i=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}function f(t){if(Array.isArray(t))return t}var d={innerWidth:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}return 0},width:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}return 0},getWindowScrollTop:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)},getWindowScrollLeft:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)},getOuterWidth:function(t,e){if(t){var n=t.offsetWidth;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0},getOuterHeight:function(t,e){if(t){var n=t.offsetHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0},getClientHeight:function(t,e){if(t){var n=t.clientHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0},getViewport:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}},getOffset:function(t){if(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}},index:function(t){if(t)for(var e=t.parentNode.childNodes,n=0,r=0;r<e.length;r++){if(e[r]===t)return n;1===e[r].nodeType&&n++}return-1},addMultipleClasses:function(t,e){var n=this;t&&e&&[e].flat().filter(Boolean).forEach((function(e){return e.split(" ").forEach((function(e){return n.addClass(t,e)}))}))},removeMultipleClasses:function(t,e){var n=this;t&&e&&[e].flat().filter(Boolean).forEach((function(e){return e.split(" ").forEach((function(e){return n.removeClass(t,e)}))}))},addClass:function(t,e){t&&e&&!this.hasClass(t,e)&&(t.classList?t.classList.add(e):t.className+=" "+e)},removeClass:function(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))},addStyles:function(t){t&&Object.entries(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).forEach((function(e){var n=l(e,2);return t.style[n[0]]=n[1]}))},find:function(t,e){return this.isElement(t)?t.querySelectorAll(e):[]},findSingle:function(t,e){return this.isElement(t)?t.querySelector(e):null},createElement:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var n=document.createElement(t);this.setAttributes(n,e);for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return n.append.apply(n,i),n}},setAttribute:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;this.isElement(t)&&null!=n&&t.setAttribute(e,n)},setAttributes:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isElement(t)){var u=function e(n,r){var i,a,s=null!=t&&null!==(i=t.$attrs)&&void 0!==i&&i[n]?[null==t||null===(a=t.$attrs)||void 0===a?void 0:a[n]]:[];return[r].flat().reduce((function(t,r){if(null!=r){var i=o(r);if("string"===i||"number"===i)t.push(r);else if("object"===i){var a=Array.isArray(r)?e(n,r):Object.entries(r).map((function(t){var e=l(t,2),r=e[0],i=e[1];return"style"!==n||!i&&0!==i?i?r:void 0:"".concat(r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(i)}));t=a.length?t.concat(a.filter((function(t){return!!t}))):t}}return t}),s)};Object.entries(a).forEach((function(o){var a,c=l(o,2),f=c[0],d=c[1];if(null!=d){var h=f.match(/^on(.+)/);h?t.addEventListener(h[1].toLowerCase(),d):"p-bind"===f?e.setAttributes(t,d):(d="class"===f?(a=new Set(u("class",d)),i(a)||r(a)||s(a)||n()).join(" ").trim():"style"===f?u("style",d).join(";").trim():d,(t.$attrs=t.$attrs||{})&&(t.$attrs[f]=d),t.setAttribute(f,d))}}))}},getAttribute:function(t,e){if(this.isElement(t)){var n=t.getAttribute(e);return isNaN(n)?"true"===n||"false"===n?"true"===n:n:+n}},isAttributeEquals:function(t,e,n){return!!this.isElement(t)&&this.getAttribute(t,e)===n},isAttributeNotEquals:function(t,e,n){return!this.isAttributeEquals(t,e,n)},getHeight:function(t){if(t){var e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}return 0},getWidth:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}return 0},absolutePosition:function(t,e){if(t){var n,r,i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=i.height,l=i.width,a=e.offsetHeight,s=e.offsetWidth,u=e.getBoundingClientRect(),c=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),d=this.getViewport();u.top+a+o>d.height?(n=u.top+c-o,t.style.transformOrigin="bottom",n<0&&(n=c)):(n=a+u.top+c,t.style.transformOrigin="top"),r=u.left+l>d.width?Math.max(0,u.left+f+s-l):u.left+f,t.style.top=n+"px",t.style.left=r+"px"}},relativePosition:function(t,e){if(t){var n,r,i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=e.offsetHeight,l=e.getBoundingClientRect(),a=this.getViewport();l.top+o+i.height>a.height?(n=-1*i.height,t.style.transformOrigin="bottom",l.top+n<0&&(n=-1*l.top)):(n=o,t.style.transformOrigin="top"),r=i.width>a.width?-1*l.left:l.left+i.width>a.width?-1*(l.left+i.width-a.width):0,t.style.top=n+"px",t.style.left=r+"px"}},nestedPosition:function(t,e){if(t){var n,r=t.parentElement,i=this.getOffset(r),o=this.getViewport(),l=t.offsetParent?t.offsetWidth:this.getHiddenElementOuterWidth(t),a=this.getOuterWidth(r.children[0]);parseInt(i.left,10)+a+l>o.width-this.calculateScrollbarWidth()?parseInt(i.left,10)<l?e%2==1?n=parseInt(i.left,10)?"-"+parseInt(i.left,10)+"px":"100%":e%2==0&&(n=o.width-l-this.calculateScrollbarWidth()+"px"):n="-100%":n="100%",t.style.top="0px",t.style.left=n}},getParents:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))},getScrollableParents:function(t){var n=[];if(t){var r,i=this.getParents(t),o=/(auto|scroll)/,l=function(t){try{var e=window.getComputedStyle(t,null);return o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflowX"))||o.test(e.getPropertyValue("overflowY"))}catch(t){return!1}},a=e(i);try{for(a.s();!(r=a.n()).done;){var s=r.value,u=1===s.nodeType&&s.dataset.scrollselectors;if(u){var c,f=e(u.split(","));try{for(f.s();!(c=f.n()).done;){var d=this.findSingle(s,c.value);d&&l(d)&&n.push(d)}}catch(t){f.e(t)}finally{f.f()}}9!==s.nodeType&&l(s)&&n.push(s)}}catch(t){a.e(t)}finally{a.f()}}return n},getHiddenElementOuterHeight:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}return 0},getHiddenElementOuterWidth:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}return 0},getHiddenElementDimensions:function(t){if(t){var e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}return 0},fadeIn:function(t,e){if(t){t.style.opacity=0;var n=+new Date,r=0;!function i(){r=+t.style.opacity+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))}()}},fadeOut:function(t,e){if(t)var n=1,r=50/e,i=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(i)),t.style.opacity=n}),50)},getUserAgent:function(){return navigator.userAgent},appendChild:function(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.elElement)throw new Error("Cannot append "+e+" to "+t);e.elElement.appendChild(t)}},isElement:function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":o(HTMLElement))?t instanceof HTMLElement:t&&"object"===o(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName},scrollInView:function(t,e){var n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(t).getPropertyValue("paddingTop"),o=i?parseFloat(i):0,l=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-r-o,s=t.scrollTop,u=t.clientHeight,c=this.getOuterHeight(e);a<0?t.scrollTop=s+a:a+c>u&&(t.scrollTop=s+a-u+c)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var t=document.createElement("div");this.addStyles(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},isVisible:function(t){return t&&null!=t.offsetParent},invokeElementMethod:function(t,e,n){t[e].apply(t,n)},isExist:function(t){return!(null==t||!t.nodeName||!t.parentNode)},isClient:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},focus:function(t,e){t&&document.activeElement!==t&&t.focus(e)},isFocusableElement:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!!this.isElement(t)&&t.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(e,',\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e))},getFocusableElements:function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],o=e(this.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,',\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r)));try{for(o.s();!(n=o.n()).done;){var l=n.value;"none"!=getComputedStyle(l).display&&"hidden"!=getComputedStyle(l).visibility&&i.push(l)}}catch(t){o.e(t)}finally{o.f()}return i},getFirstFocusableElement:function(t,e){var n=this.getFocusableElements(t,e);return n.length>0?n[0]:null},getLastFocusableElement:function(t,e){var n=this.getFocusableElements(t,e);return n.length>0?n[n.length-1]:null},getNextFocusableElement:function(t,e,n){var r=this.getFocusableElements(t,n),i=r.length>0?r.findIndex((function(t){return t===e})):-1,o=i>-1&&r.length>=i+1?i+1:-1;return o>-1?r[o]:null},getPreviousElementSibling:function(t,e){for(var n=t.previousElementSibling;n;){if(n.matches(e))return n;n=n.previousElementSibling}return null},getNextElementSibling:function(t,e){for(var n=t.nextElementSibling;n;){if(n.matches(e))return n;n=n.nextElementSibling}return null},isClickable:function(t){if(t){var e=t.nodeName,n=t.parentElement&&t.parentElement.nodeName;return"INPUT"===e||"TEXTAREA"===e||"BUTTON"===e||"A"===e||"INPUT"===n||"TEXTAREA"===n||"BUTTON"===n||"A"===n||!!t.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1},applyStyle:function(t,e){if("string"==typeof e)t.style.cssText=e;else for(var n in e)t.style[n]=e[n]},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},isAndroid:function(){return/(android)/i.test(navigator.userAgent)},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},hasCSSAnimation:function(t){if(t){var e=getComputedStyle(t);return parseFloat(e.getPropertyValue("animation-duration")||"0")>0}return!1},hasCSSTransition:function(t){if(t){var e=getComputedStyle(t);return parseFloat(e.getPropertyValue("transition-duration")||"0")>0}return!1},exportCSV:function(t,e){var n=new Blob([t],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(n,e+".csv");else{var r=document.createElement("a");void 0!==r.download?(r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("download",e+".csv"),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)):(t="data:text/csv;charset=utf-8,"+t,window.open(encodeURI(t)))}},blockBodyScroll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)},unblockBodyScroll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}};function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,g(r.key),r)}}function g(t){var e=m(t,"string");return"symbol"==h(e)?e:String(e)}function m(t,e){if("object"!=h(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var v=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};p(this,t),this.element=e,this.listener=n}var e,n,r;return e=t,(n=[{key:"bindScrollListener",value:function(){this.scrollableParents=d.getScrollableParents(this.element);for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])&&y(e.prototype,n),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function b(t,e){return E(t)||S(t,e)||I(t,e)||w()}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 S(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,l,a=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==e);s=!0);}catch(t){u=!0,i=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}function E(t){if(Array.isArray(t))return t}function x(t){return O(t)||C(t)||I(t)||A()}function A(){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 C(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function O(t){if(Array.isArray(t))return T(t)}function F(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=I(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){a=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw o}}}}function I(t,e){if(t){if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(t,e):void 0}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}var P={equals:function(t,e,n){return n?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.deepEquals(t,e)},deepEquals:function(t,e){if(t===e)return!0;if(t&&e&&"object"==j(t)&&"object"==j(e)){var n,r,i,o=Array.isArray(t),l=Array.isArray(e);if(o&&l){if((r=t.length)!=e.length)return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(o!=l)return!1;var a=t instanceof Date,s=e instanceof Date;if(a!=s)return!1;if(a&&s)return t.getTime()==e.getTime();var u=t instanceof RegExp,c=e instanceof RegExp;if(u!=c)return!1;if(u&&c)return t.toString()==e.toString();var f=Object.keys(t);if((r=f.length)!==Object.keys(e).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,f[n]))return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[i=f[n]],e[i]))return!1;return!0}return t!=t&&e!=e},resolveFieldData:function(t,e){if(!t||!e)return null;try{var n=t[e];if(this.isNotEmpty(n))return n}catch(t){}if(Object.keys(t).length){if(this.isFunction(e))return e(t);if(-1===e.indexOf("."))return t[e];for(var r=e.split("."),i=t,o=0,l=r.length;o<l;++o){if(null==i)return null;i=i[r[o]]}return i}return null},getItemValue:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return this.isFunction(t)?t.apply(void 0,n):t},filter:function(t,e,n){var r=[];if(t){var i,o=F(t);try{for(o.s();!(i=o.n()).done;){var l,a=i.value,s=F(e);try{for(s.s();!(l=s.n()).done;){if(String(this.resolveFieldData(a,l.value)).toLowerCase().indexOf(n.toLowerCase())>-1){r.push(a);break}}}catch(t){s.e(t)}finally{s.f()}}}catch(t){o.e(t)}finally{o.f()}}return r},reorderArray:function(t,e,n){t&&e!==n&&(n>=t.length&&(n%=t.length,e%=t.length),t.splice(n,0,t.splice(e,1)[0]))},findIndexInList:function(t,e){var n=-1;if(e)for(var r=0;r<e.length;r++)if(e[r]===t){n=r;break}return n},contains:function(t,e){if(null!=t&&e&&e.length){var n,r=F(e);try{for(r.s();!(n=r.n()).done;){if(this.equals(t,n.value))return!0}}catch(t){r.e(t)}finally{r.f()}}return!1},insertIntoOrderedArray:function(t,e,n,r){if(n.length>0){for(var i=!1,o=0;o<n.length;o++){if(this.findIndexInList(n[o],r)>e){n.splice(o,0,t),i=!0;break}}i||n.push(t)}else n.push(t)},removeAccents:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t},getVNodeProp:function(t,e){var n=t.props;if(n){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=Object.prototype.hasOwnProperty.call(n,r)?r:e;return t.type.extends.props[e].type===Boolean&&""===n[i]||n[i]}return null},toFlatCase:function(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t},toKebabCase:function(t){return this.isString(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(function(t,e){return 0===e?t:"-"+t.toLowerCase()})).toLowerCase():t},toCapitalCase:function(t){return this.isString(t,{empty:!1})?t[0].toUpperCase()+t.slice(1):t},isEmpty:function(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"===j(t)&&0===Object.keys(t).length},isNotEmpty:function(t){return!this.isEmpty(t)},isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},isObject:function(t){return t instanceof Object&&t.constructor===Object&&(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||0!==Object.keys(t).length)},isDate:function(t){return t instanceof Date&&t.constructor===Date},isArray:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Array.isArray(t)&&(e||0!==t.length)},isString:function(t){return"string"==typeof t&&(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||""!==t)},isPrintableCharacter:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.isNotEmpty(t)&&1===t.length&&t.match(/\S| /)},findLast:function(t,e){var n;if(this.isNotEmpty(t))try{n=t.findLast(e)}catch(r){n=x(t).reverse().find(e)}return n},findLastIndex:function(t,e){var n=-1;if(this.isNotEmpty(t))try{n=t.findLastIndex(e)}catch(r){n=t.lastIndexOf(x(t).reverse().find(e))}return n},sort:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=this.compare(t,e,arguments.length>3?arguments[3]:void 0,n),o=n;return(this.isEmpty(t)||this.isEmpty(e))&&(o=1===r?n:r),o*i},compare:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=this.isEmpty(t),o=this.isEmpty(e);return i&&o?0:i?r:o?-r:"string"==typeof t&&"string"==typeof e?n(t,e):t<e?-1:t>e?1:0},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var t=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).reduce((function(n,r){var i=b(r,2),o=i[0],l=i[1],a=e?"".concat(e,".").concat(o):o;return t.isObject(l)?n=n.concat(t.nestedKeys(l,a)):n.push(a),n}),[])},stringify:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=" ".repeat(r),o=" ".repeat(r+n);return this.isArray(t)?"["+t.map((function(t){return e.stringify(t,n,r+n)})).join(", ")+"]":this.isDate(t)?t.toISOString():this.isFunction(t)?t.toString():this.isObject(t)?"{\n"+Object.entries(t).map((function(t){var i=b(t,2),l=i[0],a=i[1];return"".concat(o).concat(l,": ").concat(e.stringify(a,n,r+n))})).join(",\n")+"\n".concat(i)+"}":JSON.stringify(t)}},L=0;function W(){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 N(t,e){if(t){if("string"==typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function D(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function H(t){if(Array.isArray(t))return k(t)}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var B,R,U,V,q,M=(B=[],R=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:999,r=V(t,e,n),i=r.value+(r.key===t?0:n)+1;return B.push({key:t,value:i}),i},U=function(t,e){return V(t,e).value},V=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(n=B,H(n)||D(n)||N(n)||W()).reverse().find((function(n){return!!e||n.key===t}))||{key:t,value:r}},{get:q=function(t){return t&&parseInt(t.style.zIndex,10)||0},set:function(t,e,n){e&&(e.style.zIndex=String(R(t,!0,n)))},clear:function(t){var e;t&&(e=q(t),B=B.filter((function(t){return t.value!==e})),t.style.zIndex="")},getCurrent:function(t){return U(t,!0)}});return t.ConnectedOverlayScrollHandler=v,t.DomHandler=d,t.EventBus=function(){var t=new Map;return{on:function(e,n){var r=t.get(e);r?r.push(n):r=[n],t.set(e,r)},off:function(e,n){var r=t.get(e);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(e,n){var r=t.get(e);r&&r.slice().map((function(t){t(n)}))}}},t.ObjectUtils=P,t.UniqueComponentId=function(){return L++,"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_").concat(L)},t.ZIndexUtils=M,Object.defineProperty(t,"__esModule",{value:!0}),t}({});
1
+ this.primevue=this.primevue||{},this.primevue.utils=function(t){"use strict";function e(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=s(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){a=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw o}}}}function n(){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 r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function i(t){if(Array.isArray(t))return u(t)}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function l(t,e){return f(t)||c(t,e)||s(t,e)||a()}function a(){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 s(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,l,a=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==e);s=!0);}catch(t){u=!0,i=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}function f(t){if(Array.isArray(t))return t}var d={innerWidth:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}return 0},width:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}return 0},getWindowScrollTop:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)},getWindowScrollLeft:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)},getOuterWidth:function(t,e){if(t){var n=t.offsetWidth;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0},getOuterHeight:function(t,e){if(t){var n=t.offsetHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0},getClientHeight:function(t,e){if(t){var n=t.clientHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0},getViewport:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}},getOffset:function(t){if(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}},index:function(t){if(t)for(var e,n=null===(e=this.getParentNode(t))||void 0===e?void 0:e.childNodes,r=0,i=0;i<n.length;i++){if(n[i]===t)return r;1===n[i].nodeType&&r++}return-1},addMultipleClasses:function(t,e){var n=this;t&&e&&[e].flat().filter(Boolean).forEach((function(e){return e.split(" ").forEach((function(e){return n.addClass(t,e)}))}))},removeMultipleClasses:function(t,e){var n=this;t&&e&&[e].flat().filter(Boolean).forEach((function(e){return e.split(" ").forEach((function(e){return n.removeClass(t,e)}))}))},addClass:function(t,e){t&&e&&!this.hasClass(t,e)&&(t.classList?t.classList.add(e):t.className+=" "+e)},removeClass:function(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))},hasClass:function(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className))},addStyles:function(t){t&&Object.entries(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).forEach((function(e){var n=l(e,2);return t.style[n[0]]=n[1]}))},find:function(t,e){return this.isElement(t)?t.querySelectorAll(e):[]},findSingle:function(t,e){return this.isElement(t)?t.querySelector(e):null},createElement:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var n=document.createElement(t);this.setAttributes(n,e);for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];return n.append.apply(n,i),n}},setAttribute:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;this.isElement(t)&&null!=n&&t.setAttribute(e,n)},setAttributes:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isElement(t)){var u=function e(n,r){var i,a,s=null!=t&&null!==(i=t.$attrs)&&void 0!==i&&i[n]?[null==t||null===(a=t.$attrs)||void 0===a?void 0:a[n]]:[];return[r].flat().reduce((function(t,r){if(null!=r){var i=o(r);if("string"===i||"number"===i)t.push(r);else if("object"===i){var a=Array.isArray(r)?e(n,r):Object.entries(r).map((function(t){var e=l(t,2),r=e[0],i=e[1];return"style"!==n||!i&&0!==i?i?r:void 0:"".concat(r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(i)}));t=a.length?t.concat(a.filter((function(t){return!!t}))):t}}return t}),s)};Object.entries(a).forEach((function(o){var a,c=l(o,2),f=c[0],d=c[1];if(null!=d){var h=f.match(/^on(.+)/);h?t.addEventListener(h[1].toLowerCase(),d):"p-bind"===f?e.setAttributes(t,d):(d="class"===f?(a=new Set(u("class",d)),i(a)||r(a)||s(a)||n()).join(" ").trim():"style"===f?u("style",d).join(";").trim():d,(t.$attrs=t.$attrs||{})&&(t.$attrs[f]=d),t.setAttribute(f,d))}}))}},getAttribute:function(t,e){if(this.isElement(t)){var n=t.getAttribute(e);return isNaN(n)?"true"===n||"false"===n?"true"===n:n:+n}},isAttributeEquals:function(t,e,n){return!!this.isElement(t)&&this.getAttribute(t,e)===n},isAttributeNotEquals:function(t,e,n){return!this.isAttributeEquals(t,e,n)},getHeight:function(t){if(t){var e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}return 0},getWidth:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}return 0},absolutePosition:function(t,e){if(t){var n,r,i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=i.height,l=i.width,a=e.offsetHeight,s=e.offsetWidth,u=e.getBoundingClientRect(),c=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),d=this.getViewport();u.top+a+o>d.height?(n=u.top+c-o,t.style.transformOrigin="bottom",n<0&&(n=c)):(n=a+u.top+c,t.style.transformOrigin="top"),r=u.left+l>d.width?Math.max(0,u.left+f+s-l):u.left+f,t.style.top=n+"px",t.style.left=r+"px"}},relativePosition:function(t,e){if(t){var n,r,i=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=e.offsetHeight,l=e.getBoundingClientRect(),a=this.getViewport();l.top+o+i.height>a.height?(n=-1*i.height,t.style.transformOrigin="bottom",l.top+n<0&&(n=-1*l.top)):(n=o,t.style.transformOrigin="top"),r=i.width>a.width?-1*l.left:l.left+i.width>a.width?-1*(l.left+i.width-a.width):0,t.style.top=n+"px",t.style.left=r+"px"}},nestedPosition:function(t,e){if(t){var n,r=t.parentElement,i=this.getOffset(r),o=this.getViewport(),l=t.offsetParent?t.offsetWidth:this.getHiddenElementOuterWidth(t),a=this.getOuterWidth(r.children[0]);parseInt(i.left,10)+a+l>o.width-this.calculateScrollbarWidth()?parseInt(i.left,10)<l?e%2==1?n=parseInt(i.left,10)?"-"+parseInt(i.left,10)+"px":"100%":e%2==0&&(n=o.width-l-this.calculateScrollbarWidth()+"px"):n="-100%":n="100%",t.style.top="0px",t.style.left=n}},getParentNode:function(t){var e=null==t?void 0:t.parentNode;return e&&e.host&&(e=e.host),e},getParents:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.getParentNode(t);return null===n?e:this.getParents(n,e.concat([n]))},getScrollableParents:function(t){var n=[];if(t){var r,i=this.getParents(t),o=/(auto|scroll)/,l=function(t){try{var e=window.getComputedStyle(t,null);return o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflowX"))||o.test(e.getPropertyValue("overflowY"))}catch(t){return!1}},a=e(i);try{for(a.s();!(r=a.n()).done;){var s=r.value,u=1===s.nodeType&&s.dataset.scrollselectors;if(u){var c,f=e(u.split(","));try{for(f.s();!(c=f.n()).done;){var d=this.findSingle(s,c.value);d&&l(d)&&n.push(d)}}catch(t){f.e(t)}finally{f.f()}}9!==s.nodeType&&l(s)&&n.push(s)}}catch(t){a.e(t)}finally{a.f()}}return n},getHiddenElementOuterHeight:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}return 0},getHiddenElementOuterWidth:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}return 0},getHiddenElementDimensions:function(t){if(t){var e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}return 0},fadeIn:function(t,e){if(t){t.style.opacity=0;var n=+new Date,r=0;!function i(){r=+t.style.opacity+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))}()}},fadeOut:function(t,e){if(t)var n=1,r=50/e,i=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(i)),t.style.opacity=n}),50)},getUserAgent:function(){return navigator.userAgent},appendChild:function(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.elElement)throw new Error("Cannot append "+e+" to "+t);e.elElement.appendChild(t)}},isElement:function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":o(HTMLElement))?t instanceof HTMLElement:t&&"object"===o(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName},scrollInView:function(t,e){var n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(t).getPropertyValue("paddingTop"),o=i?parseFloat(i):0,l=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-r-o,s=t.scrollTop,u=t.clientHeight,c=this.getOuterHeight(e);a<0?t.scrollTop=s+a:a+c>u&&(t.scrollTop=s+a-u+c)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var t=document.createElement("div");this.addStyles(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},isVisible:function(t){return t&&null!=t.offsetParent},invokeElementMethod:function(t,e,n){t[e].apply(t,n)},isExist:function(t){return!(null==t||!t.nodeName||!this.getParentNode(t))},isClient:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},focus:function(t,e){t&&document.activeElement!==t&&t.focus(e)},isFocusableElement:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!!this.isElement(t)&&t.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(e,',\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e,',\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(e))},getFocusableElements:function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],o=e(this.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(r,',\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r,',\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(r)));try{for(o.s();!(n=o.n()).done;){var l=n.value;"none"!=getComputedStyle(l).display&&"hidden"!=getComputedStyle(l).visibility&&i.push(l)}}catch(t){o.e(t)}finally{o.f()}return i},getFirstFocusableElement:function(t,e){var n=this.getFocusableElements(t,e);return n.length>0?n[0]:null},getLastFocusableElement:function(t,e){var n=this.getFocusableElements(t,e);return n.length>0?n[n.length-1]:null},getNextFocusableElement:function(t,e,n){var r=this.getFocusableElements(t,n),i=r.length>0?r.findIndex((function(t){return t===e})):-1,o=i>-1&&r.length>=i+1?i+1:-1;return o>-1?r[o]:null},getPreviousElementSibling:function(t,e){for(var n=t.previousElementSibling;n;){if(n.matches(e))return n;n=n.previousElementSibling}return null},getNextElementSibling:function(t,e){for(var n=t.nextElementSibling;n;){if(n.matches(e))return n;n=n.nextElementSibling}return null},isClickable:function(t){if(t){var e=t.nodeName,n=t.parentElement&&t.parentElement.nodeName;return"INPUT"===e||"TEXTAREA"===e||"BUTTON"===e||"A"===e||"INPUT"===n||"TEXTAREA"===n||"BUTTON"===n||"A"===n||!!t.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1},applyStyle:function(t,e){if("string"==typeof e)t.style.cssText=e;else for(var n in e)t.style[n]=e[n]},isIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},isAndroid:function(){return/(android)/i.test(navigator.userAgent)},isTouchDevice:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0},hasCSSAnimation:function(t){if(t){var e=getComputedStyle(t);return parseFloat(e.getPropertyValue("animation-duration")||"0")>0}return!1},hasCSSTransition:function(t){if(t){var e=getComputedStyle(t);return parseFloat(e.getPropertyValue("transition-duration")||"0")>0}return!1},exportCSV:function(t,e){var n=new Blob([t],{type:"application/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(n,e+".csv");else{var r=document.createElement("a");void 0!==r.download?(r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("download",e+".csv"),r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)):(t="data:text/csv;charset=utf-8,"+t,window.open(encodeURI(t)))}},blockBodyScroll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)},unblockBodyScroll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}};function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,g(r.key),r)}}function g(t){var e=v(t,"string");return"symbol"==h(e)?e:String(e)}function v(t,e){if("object"!=h(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var m=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};p(this,t),this.element=e,this.listener=n}var e,n,r;return e=t,(n=[{key:"bindScrollListener",value:function(){this.scrollableParents=d.getScrollableParents(this.element);for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}])&&y(e.prototype,n),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function b(t,e){return E(t)||S(t,e)||I(t,e)||w()}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 S(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,l,a=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==e);s=!0);}catch(t){u=!0,i=t}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}function E(t){if(Array.isArray(t))return t}function x(t){return O(t)||C(t)||I(t)||A()}function A(){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 C(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function O(t){if(Array.isArray(t))return F(t)}function j(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=I(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){a=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(a)throw o}}}}function I(t,e){if(t){if("string"==typeof t)return F(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(t,e):void 0}}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function T(t){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},T(t)}var P={equals:function(t,e,n){return n?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.deepEquals(t,e)},deepEquals:function(t,e){if(t===e)return!0;if(t&&e&&"object"==T(t)&&"object"==T(e)){var n,r,i,o=Array.isArray(t),l=Array.isArray(e);if(o&&l){if((r=t.length)!=e.length)return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(o!=l)return!1;var a=t instanceof Date,s=e instanceof Date;if(a!=s)return!1;if(a&&s)return t.getTime()==e.getTime();var u=t instanceof RegExp,c=e instanceof RegExp;if(u!=c)return!1;if(u&&c)return t.toString()==e.toString();var f=Object.keys(t);if((r=f.length)!==Object.keys(e).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,f[n]))return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[i=f[n]],e[i]))return!1;return!0}return t!=t&&e!=e},resolveFieldData:function(t,e){if(!t||!e)return null;try{var n=t[e];if(this.isNotEmpty(n))return n}catch(t){}if(Object.keys(t).length){if(this.isFunction(e))return e(t);if(-1===e.indexOf("."))return t[e];for(var r=e.split("."),i=t,o=0,l=r.length;o<l;++o){if(null==i)return null;i=i[r[o]]}return i}return null},getItemValue:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return this.isFunction(t)?t.apply(void 0,n):t},filter:function(t,e,n){var r=[];if(t){var i,o=j(t);try{for(o.s();!(i=o.n()).done;){var l,a=i.value,s=j(e);try{for(s.s();!(l=s.n()).done;){if(String(this.resolveFieldData(a,l.value)).toLowerCase().indexOf(n.toLowerCase())>-1){r.push(a);break}}}catch(t){s.e(t)}finally{s.f()}}}catch(t){o.e(t)}finally{o.f()}}return r},reorderArray:function(t,e,n){t&&e!==n&&(n>=t.length&&(n%=t.length,e%=t.length),t.splice(n,0,t.splice(e,1)[0]))},findIndexInList:function(t,e){var n=-1;if(e)for(var r=0;r<e.length;r++)if(e[r]===t){n=r;break}return n},contains:function(t,e){if(null!=t&&e&&e.length){var n,r=j(e);try{for(r.s();!(n=r.n()).done;){if(this.equals(t,n.value))return!0}}catch(t){r.e(t)}finally{r.f()}}return!1},insertIntoOrderedArray:function(t,e,n,r){if(n.length>0){for(var i=!1,o=0;o<n.length;o++){if(this.findIndexInList(n[o],r)>e){n.splice(o,0,t),i=!0;break}}i||n.push(t)}else n.push(t)},removeAccents:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t},getVNodeProp:function(t,e){if(t){var n=t.props;if(n){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=Object.prototype.hasOwnProperty.call(n,r)?r:e;return t.type.extends.props[e].type===Boolean&&""===n[i]||n[i]}}return null},toFlatCase:function(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t},toKebabCase:function(t){return this.isString(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(function(t,e){return 0===e?t:"-"+t.toLowerCase()})).toLowerCase():t},toCapitalCase:function(t){return this.isString(t,{empty:!1})?t[0].toUpperCase()+t.slice(1):t},isEmpty:function(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"===T(t)&&0===Object.keys(t).length},isNotEmpty:function(t){return!this.isEmpty(t)},isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},isObject:function(t){return t instanceof Object&&t.constructor===Object&&(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||0!==Object.keys(t).length)},isDate:function(t){return t instanceof Date&&t.constructor===Date},isArray:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Array.isArray(t)&&(e||0!==t.length)},isString:function(t){return"string"==typeof t&&(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||""!==t)},isPrintableCharacter:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.isNotEmpty(t)&&1===t.length&&t.match(/\S| /)},findLast:function(t,e){var n;if(this.isNotEmpty(t))try{n=t.findLast(e)}catch(r){n=x(t).reverse().find(e)}return n},findLastIndex:function(t,e){var n=-1;if(this.isNotEmpty(t))try{n=t.findLastIndex(e)}catch(r){n=t.lastIndexOf(x(t).reverse().find(e))}return n},sort:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=this.compare(t,e,arguments.length>3?arguments[3]:void 0,n),o=n;return(this.isEmpty(t)||this.isEmpty(e))&&(o=1===r?n:r),o*i},compare:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=this.isEmpty(t),o=this.isEmpty(e);return i&&o?0:i?r:o?-r:"string"==typeof t&&"string"==typeof e?n(t,e):t<e?-1:t>e?1:0},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var t=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).reduce((function(n,r){var i=b(r,2),o=i[0],l=i[1],a=e?"".concat(e,".").concat(o):o;return t.isObject(l)?n=n.concat(t.nestedKeys(l,a)):n.push(a),n}),[])},stringify:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=" ".repeat(r),o=" ".repeat(r+n);return this.isArray(t)?"["+t.map((function(t){return e.stringify(t,n,r+n)})).join(", ")+"]":this.isDate(t)?t.toISOString():this.isFunction(t)?t.toString():this.isObject(t)?"{\n"+Object.entries(t).map((function(t){var i=b(t,2),l=i[0],a=i[1];return"".concat(o).concat(l,": ").concat(e.stringify(a,n,r+n))})).join(",\n")+"\n".concat(i)+"}":JSON.stringify(t)}};function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function W(){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 k(t,e){if(t){if("string"==typeof t)return D(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,e):void 0}}function N(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function H(t){if(Array.isArray(t))return D(t)}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,M(r.key),r)}}function U(t,e,n){return(e=M(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(t){var e=V(t,"string");return"symbol"==L(e)?e:String(e)}function V(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var $=function(){function t(e){var n=e.init,r=e.type;B(this,t),U(this,"helpers",void 0),U(this,"type",void 0),this.helpers=new Set(n),this.type=r}var e,n,r;return e=t,n=[{key:"add",value:function(t){this.helpers.add(t)}},{key:"update",value:function(){}},{key:"delete",value:function(t){this.helpers.delete(t)}},{key:"clear",value:function(){this.helpers.clear()}},{key:"get",value:function(t,e){var n,r=this._get(t,e),i=r?this._recursive(H(n=this.helpers)||N(n)||k(n)||W(),r):null;return P.isNotEmpty(i)?i:null}},{key:"_isMatched",value:function(t,e){var n,r=null==t?void 0:t.parent;return(null==r||null===(n=r.vnode)||void 0===n?void 0:n.key)===e||r&&this._isMatched(r,e)||!1}},{key:"_get",value:function(t,e){var n,r;return(null===(n=e||(null==t?void 0:t.$slots))||void 0===n||null===(r=n.default)||void 0===r?void 0:r.call(n))||null}},{key:"_recursive",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(r){r.children instanceof Array?n=n.concat(t._recursive(n,r.children)):r.type.name===t.type?n.push(r):P.isNotEmpty(r.key)&&(n=n.concat(e.filter((function(e){return t._isMatched(e,r.key)})).map((function(t){return t.vnode}))))})),n}}],n&&R(e.prototype,n),r&&R(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),q=0;function _(){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 z(t,e){if(t){if("string"==typeof t)return Z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(t,e):void 0}}function X(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Y(t){if(Array.isArray(t))return Z(t)}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var K,J,G,Q,tt,et=(K=[],J=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:999,r=Q(t,e,n),i=r.value+(r.key===t?0:n)+1;return K.push({key:t,value:i}),i},G=function(t,e){return Q(t,e).value},Q=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(n=K,Y(n)||X(n)||z(n)||_()).reverse().find((function(n){return!!e||n.key===t}))||{key:t,value:r}},{get:tt=function(t){return t&&parseInt(t.style.zIndex,10)||0},set:function(t,e,n){e&&(e.style.zIndex=String(J(t,!0,n)))},clear:function(t){var e;t&&(e=tt(t),K=K.filter((function(t){return t.value!==e})),t.style.zIndex="")},getCurrent:function(t){return G(t,!0)}});return t.ConnectedOverlayScrollHandler=m,t.DomHandler=d,t.EventBus=function(){var t=new Map;return{on:function(e,n){var r=t.get(e);r?r.push(n):r=[n],t.set(e,r)},off:function(e,n){var r=t.get(e);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(e,n){var r=t.get(e);r&&r.slice().map((function(t){t(n)}))}}},t.HelperSet=$,t.ObjectUtils=P,t.UniqueComponentId=function(){return q++,"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_").concat(q)},t.ZIndexUtils=et,Object.defineProperty(t,"__esModule",{value:!0}),t}({});
@@ -4399,6 +4399,10 @@
4399
4399
  "description": "An array of treenodes.",
4400
4400
  "type": "array"
4401
4401
  },
4402
+ "treetable/dataKey": {
4403
+ "description": "Name of the field that uniquely identifies the a record in the data.",
4404
+ "type": "string|function"
4405
+ },
4402
4406
  "treetable/expandedKeys": {
4403
4407
  "description": "A map of keys to represent the state of the tree expansion state in controlled mode.",
4404
4408
  "type": "array"
package/vetur-tags.json CHANGED
@@ -1539,6 +1539,7 @@
1539
1539
  "description": "TreeTable is used to display hierarchical data in tabular format.",
1540
1540
  "attributes": [
1541
1541
  "value",
1542
+ "dataKey",
1542
1543
  "expandedKeys",
1543
1544
  "selectionKeys",
1544
1545
  "selectionMode",
@@ -83,8 +83,10 @@ export default {
83
83
  numToleratedItems(newValue) {
84
84
  this.d_numToleratedItems = newValue;
85
85
  },
86
- loading(newValue) {
87
- this.d_loading = newValue;
86
+ loading(newValue, oldValue) {
87
+ if (this.lazy && newValue !== oldValue && newValue !== this.d_loading) {
88
+ this.d_loading = newValue;
89
+ }
88
90
  },
89
91
  items(newValue, oldValue) {
90
92
  if (!oldValue || oldValue.length !== (newValue || []).length) {
@@ -506,26 +508,28 @@ export default {
506
508
  onScroll(event) {
507
509
  this.$emit('scroll', event);
508
510
 
509
- if (this.delay && this.isPageChanged()) {
511
+ if (this.delay) {
510
512
  if (this.scrollTimeout) {
511
513
  clearTimeout(this.scrollTimeout);
512
514
  }
513
515
 
514
- if (!this.d_loading && this.showLoader) {
515
- const { isRangeChanged } = this.onScrollPositionChange(event);
516
- const changed = isRangeChanged || (this.step ? this.isPageChanged() : false);
516
+ if (this.isPageChanged()) {
517
+ if (!this.d_loading && this.showLoader) {
518
+ const { isRangeChanged } = this.onScrollPositionChange(event);
519
+ const changed = isRangeChanged || (this.step ? this.isPageChanged() : false);
517
520
 
518
- changed && (this.d_loading = true);
519
- }
521
+ changed && (this.d_loading = true);
522
+ }
520
523
 
521
- this.scrollTimeout = setTimeout(() => {
522
- this.onScrollChange(event);
524
+ this.scrollTimeout = setTimeout(() => {
525
+ this.onScrollChange(event);
523
526
 
524
- if (this.d_loading && this.showLoader && (!this.lazy || this.loading === undefined)) {
525
- this.d_loading = false;
526
- this.page = this.getPageByFirst();
527
- }
528
- }, this.delay);
527
+ if (this.d_loading && this.showLoader && (!this.lazy || this.loading === undefined)) {
528
+ this.d_loading = false;
529
+ this.page = this.getPageByFirst();
530
+ }
531
+ }, this.delay);
532
+ }
529
533
  } else {
530
534
  this.onScrollChange(event);
531
535
  }
@@ -6,7 +6,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
6
6
 
7
7
  var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
8
8
 
9
- var css = "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n /* contain: content; */\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n}\n\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-virtualscroller-loader.p-component-overlay {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-virtualscroller-loading-icon {\n font-size: 2rem;\n}\n\n.p-virtualscroller-loading-icon.p-icon {\n width: 2rem;\n height: 2rem;\n}\n\n.p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n}\n\n/* Inline */\n.p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n}\n";
9
+ var css = "\n@layer primevue {\n .p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n }\n\n .p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n /* contain: content; */\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n }\n\n .p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n }\n\n .p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-virtualscroller-loader.p-component-overlay {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-virtualscroller-loading-icon {\n font-size: 2rem;\n }\n\n .p-virtualscroller-loading-icon.p-icon {\n width: 2rem;\n height: 2rem;\n }\n\n .p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n }\n\n /* Inline */\n .p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n }\n}\n";
10
10
  var VirtualScrollerStyle = BaseStyle__default["default"].extend({
11
11
  name: 'virtualscroller',
12
12
  css: css
@@ -1 +1 @@
1
- "use strict";function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t=n(require("primevue/base/style")).default.extend({name:"virtualscroller",css:"\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n /* contain: content; */\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n}\n\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-virtualscroller-loader.p-component-overlay {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-virtualscroller-loading-icon {\n font-size: 2rem;\n}\n\n.p-virtualscroller-loading-icon.p-icon {\n width: 2rem;\n height: 2rem;\n}\n\n.p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n}\n\n/* Inline */\n.p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n}\n"});module.exports=t;
1
+ "use strict";function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t=n(require("primevue/base/style")).default.extend({name:"virtualscroller",css:"\n@layer primevue {\n .p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n }\n\n .p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n /* contain: content; */\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n }\n\n .p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n }\n\n .p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-virtualscroller-loader.p-component-overlay {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-virtualscroller-loading-icon {\n font-size: 2rem;\n }\n\n .p-virtualscroller-loading-icon.p-icon {\n width: 2rem;\n height: 2rem;\n }\n\n .p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n }\n\n /* Inline */\n .p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n }\n}\n"});module.exports=t;