primevue 4.2.5 → 4.3.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 (496) hide show
  1. package/LICENSE.md +1 -1
  2. package/accordion/Accordion.vue +0 -8
  3. package/accordion/index.mjs +1 -9
  4. package/accordion/index.mjs.map +1 -1
  5. package/accordion/style/index.mjs +2 -5
  6. package/accordion/style/index.mjs.map +1 -1
  7. package/accordioncontent/index.mjs +1 -1
  8. package/accordionheader/AccordionHeader.vue +2 -2
  9. package/accordionheader/index.mjs +4 -4
  10. package/accordionheader/index.mjs.map +1 -1
  11. package/accordionpanel/index.mjs +1 -1
  12. package/animateonscroll/index.d.ts +1 -1
  13. package/animateonscroll/index.mjs +4 -4
  14. package/animateonscroll/index.mjs.map +1 -1
  15. package/animateonscroll/style/index.d.ts +1 -1
  16. package/autocomplete/AutoComplete.vue +90 -23
  17. package/autocomplete/index.d.ts +19 -2
  18. package/autocomplete/index.mjs +127 -55
  19. package/autocomplete/index.mjs.map +1 -1
  20. package/autocomplete/style/index.mjs +15 -19
  21. package/autocomplete/style/index.mjs.map +1 -1
  22. package/avatar/index.mjs +1 -1
  23. package/avatar/style/index.mjs +4 -7
  24. package/avatar/style/index.mjs.map +1 -1
  25. package/avatargroup/index.mjs +1 -1
  26. package/badge/index.mjs +1 -1
  27. package/badge/style/index.mjs +6 -9
  28. package/badge/style/index.mjs.map +1 -1
  29. package/badgedirective/index.mjs +6 -6
  30. package/badgedirective/index.mjs.map +1 -1
  31. package/blockui/BlockUI.vue +2 -1
  32. package/blockui/index.mjs +3 -2
  33. package/blockui/index.mjs.map +1 -1
  34. package/blockui/style/index.mjs +2 -5
  35. package/blockui/style/index.mjs.map +1 -1
  36. package/breadcrumb/index.mjs +1 -1
  37. package/breadcrumb/style/index.mjs +4 -7
  38. package/breadcrumb/style/index.mjs.map +1 -1
  39. package/button/Button.vue +1 -1
  40. package/button/index.d.ts +11 -1
  41. package/button/index.mjs +5 -4
  42. package/button/index.mjs.map +1 -1
  43. package/button/style/index.mjs +9 -12
  44. package/button/style/index.mjs.map +1 -1
  45. package/buttongroup/index.mjs +1 -1
  46. package/buttongroup/style/index.mjs +2 -5
  47. package/buttongroup/style/index.mjs.map +1 -1
  48. package/card/index.mjs +1 -1
  49. package/card/style/index.mjs +2 -5
  50. package/card/style/index.mjs.map +1 -1
  51. package/carousel/index.mjs +2 -2
  52. package/carousel/index.mjs.map +1 -1
  53. package/carousel/style/index.mjs +19 -22
  54. package/carousel/style/index.mjs.map +1 -1
  55. package/cascadeselect/CascadeSelect.vue +16 -17
  56. package/cascadeselect/CascadeSelectSub.vue +1 -1
  57. package/cascadeselect/index.d.ts +2 -2
  58. package/cascadeselect/index.mjs +26 -28
  59. package/cascadeselect/index.mjs.map +1 -1
  60. package/cascadeselect/style/index.mjs +17 -19
  61. package/cascadeselect/style/index.mjs.map +1 -1
  62. package/chart/index.mjs +4 -4
  63. package/checkbox/index.d.ts +2 -2
  64. package/checkbox/index.mjs +2 -2
  65. package/checkbox/index.mjs.map +1 -1
  66. package/checkbox/style/index.mjs +5 -8
  67. package/checkbox/style/index.mjs.map +1 -1
  68. package/checkboxgroup/index.mjs +1 -1
  69. package/checkboxgroup/style/index.mjs +2 -5
  70. package/checkboxgroup/style/index.mjs.map +1 -1
  71. package/chip/index.mjs +1 -1
  72. package/chip/style/index.mjs +2 -5
  73. package/chip/style/index.mjs.map +1 -1
  74. package/colorpicker/ColorPicker.vue +2 -2
  75. package/colorpicker/index.mjs +7 -7
  76. package/colorpicker/index.mjs.map +1 -1
  77. package/colorpicker/style/index.mjs +7 -10
  78. package/colorpicker/style/index.mjs.map +1 -1
  79. package/column/BaseColumn.vue +1 -1
  80. package/column/index.d.ts +2 -2
  81. package/column/index.mjs +1 -1
  82. package/column/index.mjs.map +1 -1
  83. package/columngroup/index.mjs.map +1 -1
  84. package/confirmdialog/index.d.ts +4 -0
  85. package/confirmdialog/index.mjs +1 -1
  86. package/confirmdialog/index.mjs.map +1 -1
  87. package/confirmdialog/style/index.mjs +2 -5
  88. package/confirmdialog/style/index.mjs.map +1 -1
  89. package/confirmpopup/ConfirmPopup.vue +2 -2
  90. package/confirmpopup/index.mjs +4 -4
  91. package/confirmpopup/index.mjs.map +1 -1
  92. package/confirmpopup/style/index.mjs +2 -5
  93. package/confirmpopup/style/index.mjs.map +1 -1
  94. package/contextmenu/ContextMenu.vue +6 -12
  95. package/contextmenu/index.mjs +9 -15
  96. package/contextmenu/index.mjs.map +1 -1
  97. package/contextmenu/style/index.mjs +7 -10
  98. package/contextmenu/style/index.mjs.map +1 -1
  99. package/datatable/BodyCell.vue +24 -14
  100. package/datatable/BodyRow.vue +0 -1
  101. package/datatable/ColumnFilter.vue +10 -16
  102. package/datatable/DataTable.vue +6 -6
  103. package/datatable/FilterHeaderCell.vue +189 -0
  104. package/datatable/FooterCell.vue +2 -2
  105. package/datatable/HeaderCell.vue +4 -4
  106. package/datatable/TableBody.vue +3 -10
  107. package/datatable/TableHeader.vue +23 -50
  108. package/datatable/index.d.ts +89 -39
  109. package/datatable/index.mjs +444 -234
  110. package/datatable/index.mjs.map +1 -1
  111. package/datatable/style/index.mjs +32 -36
  112. package/datatable/style/index.mjs.map +1 -1
  113. package/dataview/index.mjs +2 -2
  114. package/dataview/index.mjs.map +1 -1
  115. package/dataview/style/index.mjs +6 -9
  116. package/dataview/style/index.mjs.map +1 -1
  117. package/datepicker/BaseDatePicker.vue +0 -4
  118. package/datepicker/DatePicker.vue +46 -20
  119. package/datepicker/index.d.ts +2 -6
  120. package/datepicker/index.mjs +78 -52
  121. package/datepicker/index.mjs.map +1 -1
  122. package/datepicker/style/index.mjs +26 -28
  123. package/datepicker/style/index.mjs.map +1 -1
  124. package/deferredcontent/index.mjs +1 -1
  125. package/dialog/Dialog.vue +3 -11
  126. package/dialog/index.d.ts +1 -1
  127. package/dialog/index.mjs +7 -14
  128. package/dialog/index.mjs.map +1 -1
  129. package/dialog/style/index.mjs +10 -14
  130. package/dialog/style/index.mjs.map +1 -1
  131. package/divider/index.mjs +1 -1
  132. package/divider/style/index.mjs +6 -10
  133. package/divider/style/index.mjs.map +1 -1
  134. package/dock/DockSub.vue +5 -13
  135. package/dock/index.mjs +6 -14
  136. package/dock/index.mjs.map +1 -1
  137. package/dock/style/index.mjs +9 -12
  138. package/dock/style/index.mjs.map +1 -1
  139. package/drawer/Drawer.vue +7 -4
  140. package/drawer/index.d.ts +4 -0
  141. package/drawer/index.mjs +7 -5
  142. package/drawer/index.mjs.map +1 -1
  143. package/drawer/style/index.mjs +10 -13
  144. package/drawer/style/index.mjs.map +1 -1
  145. package/dynamicdialog/DynamicDialog.vue +5 -5
  146. package/dynamicdialog/index.mjs +8 -6
  147. package/dynamicdialog/index.mjs.map +1 -1
  148. package/editor/Editor.vue +9 -11
  149. package/editor/index.d.ts +0 -15
  150. package/editor/index.mjs +16 -16
  151. package/editor/index.mjs.map +1 -1
  152. package/editor/style/index.mjs +4 -7
  153. package/editor/style/index.mjs.map +1 -1
  154. package/fieldset/Fieldset.vue +4 -12
  155. package/fieldset/index.mjs +9 -17
  156. package/fieldset/index.mjs.map +1 -1
  157. package/fieldset/style/index.mjs +4 -7
  158. package/fieldset/style/index.mjs.map +1 -1
  159. package/fileupload/FileUpload.vue +9 -7
  160. package/fileupload/index.d.ts +3 -3
  161. package/fileupload/index.mjs +12 -10
  162. package/fileupload/index.mjs.map +1 -1
  163. package/fileupload/style/index.mjs +4 -7
  164. package/fileupload/style/index.mjs.map +1 -1
  165. package/floatlabel/index.mjs +1 -1
  166. package/floatlabel/style/index.mjs +4 -8
  167. package/floatlabel/style/index.mjs.map +1 -1
  168. package/fluid/index.mjs +1 -1
  169. package/focustrap/index.mjs +4 -4
  170. package/focustrap/index.mjs.map +1 -1
  171. package/galleria/Galleria.vue +2 -1
  172. package/galleria/GalleriaContent.vue +3 -11
  173. package/galleria/GalleriaThumbnails.vue +15 -8
  174. package/galleria/index.mjs +28 -30
  175. package/galleria/index.mjs.map +1 -1
  176. package/galleria/style/index.mjs +23 -26
  177. package/galleria/style/index.mjs.map +1 -1
  178. package/iconfield/index.mjs +1 -1
  179. package/iconfield/style/index.mjs +2 -5
  180. package/iconfield/style/index.mjs.map +1 -1
  181. package/iftalabel/index.mjs +1 -1
  182. package/iftalabel/style/index.mjs +2 -5
  183. package/iftalabel/style/index.mjs.map +1 -1
  184. package/image/Image.vue +2 -1
  185. package/image/index.d.ts +4 -0
  186. package/image/index.mjs +6 -5
  187. package/image/index.mjs.map +1 -1
  188. package/image/style/index.mjs +8 -11
  189. package/image/style/index.mjs.map +1 -1
  190. package/imagecompare/index.mjs +1 -1
  191. package/imagecompare/style/index.mjs +2 -5
  192. package/imagecompare/style/index.mjs.map +1 -1
  193. package/index.d.ts +3 -0
  194. package/index.mjs +1 -0
  195. package/index.mjs.map +1 -1
  196. package/inlinemessage/index.mjs +1 -1
  197. package/inlinemessage/style/index.mjs +7 -10
  198. package/inlinemessage/style/index.mjs.map +1 -1
  199. package/inplace/index.mjs +4 -4
  200. package/inplace/style/index.mjs +4 -7
  201. package/inplace/style/index.mjs.map +1 -1
  202. package/inputchips/InputChips.vue +2 -10
  203. package/inputchips/index.mjs +6 -14
  204. package/inputchips/index.mjs.map +1 -1
  205. package/inputchips/style/index.mjs +11 -14
  206. package/inputchips/style/index.mjs.map +1 -1
  207. package/inputgroup/index.mjs +1 -1
  208. package/inputgroup/style/index.mjs +2 -5
  209. package/inputgroup/style/index.mjs.map +1 -1
  210. package/inputgroupaddon/index.mjs +1 -1
  211. package/inputicon/index.mjs +1 -1
  212. package/inputmask/InputMask.vue +26 -17
  213. package/inputmask/index.d.ts +2 -2
  214. package/inputmask/index.mjs +28 -17
  215. package/inputmask/index.mjs.map +1 -1
  216. package/inputnumber/InputNumber.vue +17 -6
  217. package/inputnumber/index.d.ts +4 -4
  218. package/inputnumber/index.mjs +20 -12
  219. package/inputnumber/index.mjs.map +1 -1
  220. package/inputnumber/style/index.mjs +12 -14
  221. package/inputnumber/style/index.mjs.map +1 -1
  222. package/inputotp/index.d.ts +23 -8
  223. package/inputotp/index.mjs +1 -1
  224. package/inputotp/style/index.mjs +2 -5
  225. package/inputotp/style/index.mjs.map +1 -1
  226. package/inputtext/InputText.vue +1 -1
  227. package/inputtext/index.d.ts +1 -1
  228. package/inputtext/index.mjs +3 -2
  229. package/inputtext/index.mjs.map +1 -1
  230. package/inputtext/style/index.mjs +5 -8
  231. package/inputtext/style/index.mjs.map +1 -1
  232. package/keyfilter/index.mjs +8 -9
  233. package/keyfilter/index.mjs.map +1 -1
  234. package/knob/index.mjs +3 -3
  235. package/knob/index.mjs.map +1 -1
  236. package/knob/style/index.mjs +5 -8
  237. package/knob/style/index.mjs.map +1 -1
  238. package/listbox/Listbox.vue +7 -13
  239. package/listbox/index.mjs +10 -16
  240. package/listbox/index.mjs.map +1 -1
  241. package/listbox/style/index.mjs +11 -14
  242. package/listbox/style/index.mjs.map +1 -1
  243. package/megamenu/MegaMenu.vue +9 -15
  244. package/megamenu/index.mjs +12 -18
  245. package/megamenu/index.mjs.map +1 -1
  246. package/megamenu/style/index.mjs +15 -18
  247. package/megamenu/style/index.mjs.map +1 -1
  248. package/menu/Menu.vue +9 -17
  249. package/menu/index.d.ts +10 -0
  250. package/menu/index.mjs +10 -17
  251. package/menu/index.mjs.map +1 -1
  252. package/menu/style/index.mjs +6 -9
  253. package/menu/style/index.mjs.map +1 -1
  254. package/menubar/Menubar.vue +10 -16
  255. package/menubar/index.mjs +14 -20
  256. package/menubar/index.mjs.map +1 -1
  257. package/menubar/style/index.mjs +10 -13
  258. package/menubar/style/index.mjs.map +1 -1
  259. package/message/index.mjs +4 -4
  260. package/message/style/index.mjs +4 -7
  261. package/message/style/index.mjs.map +1 -1
  262. package/metergroup/index.mjs +1 -1
  263. package/metergroup/style/index.mjs +6 -9
  264. package/metergroup/style/index.mjs.map +1 -1
  265. package/multiselect/MultiSelect.vue +23 -18
  266. package/multiselect/index.d.ts +12 -6
  267. package/multiselect/index.mjs +32 -28
  268. package/multiselect/index.mjs.map +1 -1
  269. package/multiselect/style/index.mjs +17 -20
  270. package/multiselect/style/index.mjs.map +1 -1
  271. package/orderlist/OrderList.vue +1 -10
  272. package/orderlist/index.mjs +7 -15
  273. package/orderlist/index.mjs.map +1 -1
  274. package/orderlist/style/index.mjs +2 -5
  275. package/orderlist/style/index.mjs.map +1 -1
  276. package/organizationchart/index.mjs +4 -4
  277. package/organizationchart/style/index.mjs +9 -12
  278. package/organizationchart/style/index.mjs.map +1 -1
  279. package/overlaybadge/index.mjs +1 -1
  280. package/overlaybadge/style/index.mjs +2 -5
  281. package/overlaybadge/style/index.mjs.map +1 -1
  282. package/package.json +6 -5
  283. package/paginator/index.mjs +2 -2
  284. package/paginator/index.mjs.map +1 -1
  285. package/paginator/style/index.mjs +18 -21
  286. package/paginator/style/index.mjs.map +1 -1
  287. package/panel/Panel.vue +5 -13
  288. package/panel/index.mjs +7 -15
  289. package/panel/index.mjs.map +1 -1
  290. package/panel/style/index.mjs +4 -7
  291. package/panel/style/index.mjs.map +1 -1
  292. package/panelmenu/PanelMenu.vue +2 -12
  293. package/panelmenu/index.mjs +8 -18
  294. package/panelmenu/index.mjs.map +1 -1
  295. package/panelmenu/style/index.mjs +8 -11
  296. package/panelmenu/style/index.mjs.map +1 -1
  297. package/passthrough/index.mjs +3 -3
  298. package/password/Password.vue +3 -10
  299. package/password/index.d.ts +2 -2
  300. package/password/index.mjs +9 -16
  301. package/password/index.mjs.map +1 -1
  302. package/password/style/index.mjs +8 -11
  303. package/password/style/index.mjs.map +1 -1
  304. package/picklist/PickList.vue +2 -9
  305. package/picklist/index.mjs +8 -14
  306. package/picklist/index.mjs.map +1 -1
  307. package/picklist/style/index.mjs +2 -5
  308. package/picklist/style/index.mjs.map +1 -1
  309. package/popover/Popover.vue +2 -2
  310. package/popover/index.mjs +4 -4
  311. package/popover/index.mjs.map +1 -1
  312. package/popover/style/index.mjs +2 -5
  313. package/popover/style/index.mjs.map +1 -1
  314. package/portal/index.mjs +1 -1
  315. package/progressbar/index.mjs +1 -1
  316. package/progressbar/style/index.mjs +4 -7
  317. package/progressbar/style/index.mjs.map +1 -1
  318. package/progressspinner/index.mjs +1 -1
  319. package/progressspinner/style/index.mjs +2 -5
  320. package/progressspinner/style/index.mjs.map +1 -1
  321. package/radiobutton/index.d.ts +2 -2
  322. package/radiobutton/index.mjs +1 -1
  323. package/radiobutton/index.mjs.map +1 -1
  324. package/radiobutton/style/index.mjs +5 -8
  325. package/radiobutton/style/index.mjs.map +1 -1
  326. package/radiobuttongroup/index.mjs +1 -1
  327. package/radiobuttongroup/style/index.mjs +2 -5
  328. package/radiobuttongroup/style/index.mjs.map +1 -1
  329. package/rating/Rating.vue +6 -11
  330. package/rating/index.mjs +7 -12
  331. package/rating/index.mjs.map +1 -1
  332. package/rating/style/index.mjs +11 -14
  333. package/rating/style/index.mjs.map +1 -1
  334. package/ripple/index.mjs +16 -13
  335. package/ripple/index.mjs.map +1 -1
  336. package/ripple/style/index.mjs +2 -5
  337. package/ripple/style/index.mjs.map +1 -1
  338. package/row/index.mjs.map +1 -1
  339. package/scrollpanel/ScrollPanel.vue +1 -10
  340. package/scrollpanel/index.mjs +3 -11
  341. package/scrollpanel/index.mjs.map +1 -1
  342. package/scrollpanel/style/index.mjs +2 -5
  343. package/scrollpanel/style/index.mjs.map +1 -1
  344. package/scrolltop/index.mjs +1 -1
  345. package/scrolltop/style/index.mjs +4 -7
  346. package/scrolltop/style/index.mjs.map +1 -1
  347. package/select/Select.vue +55 -26
  348. package/select/index.d.ts +9 -5
  349. package/select/index.mjs +89 -63
  350. package/select/index.mjs.map +1 -1
  351. package/select/style/index.mjs +15 -18
  352. package/select/style/index.mjs.map +1 -1
  353. package/selectbutton/index.mjs +3 -3
  354. package/selectbutton/style/index.mjs +4 -7
  355. package/selectbutton/style/index.mjs.map +1 -1
  356. package/skeleton/index.mjs +1 -1
  357. package/skeleton/style/index.mjs +4 -7
  358. package/skeleton/style/index.mjs.map +1 -1
  359. package/slider/Slider.vue +1 -1
  360. package/slider/index.mjs +3 -3
  361. package/slider/index.mjs.map +1 -1
  362. package/slider/style/index.mjs +5 -8
  363. package/slider/style/index.mjs.map +1 -1
  364. package/speeddial/SpeedDial.vue +8 -15
  365. package/speeddial/index.d.ts +1 -1
  366. package/speeddial/index.mjs +13 -19
  367. package/speeddial/index.mjs.map +1 -1
  368. package/speeddial/style/index.mjs +15 -18
  369. package/speeddial/style/index.mjs.map +1 -1
  370. package/splitbutton/SplitButton.vue +2 -11
  371. package/splitbutton/index.d.ts +2 -2
  372. package/splitbutton/index.mjs +3 -11
  373. package/splitbutton/index.mjs.map +1 -1
  374. package/splitbutton/style/index.mjs +5 -8
  375. package/splitbutton/style/index.mjs.map +1 -1
  376. package/splitter/Splitter.vue +31 -14
  377. package/splitter/index.d.ts +1 -1
  378. package/splitter/index.mjs +28 -14
  379. package/splitter/index.mjs.map +1 -1
  380. package/splitter/style/index.mjs +6 -9
  381. package/splitter/style/index.mjs.map +1 -1
  382. package/splitterpanel/index.mjs +1 -1
  383. package/step/index.mjs +1 -1
  384. package/step/index.mjs.map +1 -1
  385. package/stepitem/index.mjs +1 -1
  386. package/stepitem/index.mjs.map +1 -1
  387. package/steplist/index.mjs +1 -1
  388. package/steppanel/index.mjs +1 -1
  389. package/steppanel/index.mjs.map +1 -1
  390. package/steppanels/index.mjs +1 -1
  391. package/stepper/Stepper.vue +0 -8
  392. package/stepper/index.mjs +1 -9
  393. package/stepper/index.mjs.map +1 -1
  394. package/stepper/style/index.mjs +4 -7
  395. package/stepper/style/index.mjs.map +1 -1
  396. package/steps/index.mjs +2 -2
  397. package/steps/style/index.mjs +8 -11
  398. package/steps/style/index.mjs.map +1 -1
  399. package/styleclass/index.mjs +1 -1
  400. package/tab/Tab.vue +3 -3
  401. package/tab/index.mjs +4 -4
  402. package/tab/index.mjs.map +1 -1
  403. package/tablist/TabList.vue +2 -2
  404. package/tablist/index.mjs +4 -4
  405. package/tablist/index.mjs.map +1 -1
  406. package/tabmenu/index.mjs +2 -2
  407. package/tabmenu/index.mjs.map +1 -1
  408. package/tabmenu/style/index.mjs +6 -9
  409. package/tabmenu/style/index.mjs.map +1 -1
  410. package/tabpanel/index.mjs +1 -1
  411. package/tabpanel/index.mjs.map +1 -1
  412. package/tabpanels/index.mjs +1 -1
  413. package/tabs/Tabs.vue +0 -8
  414. package/tabs/index.mjs +1 -9
  415. package/tabs/index.mjs.map +1 -1
  416. package/tabs/style/index.mjs +4 -7
  417. package/tabs/style/index.mjs.map +1 -1
  418. package/tabview/TabView.vue +3 -9
  419. package/tabview/index.mjs +7 -13
  420. package/tabview/index.mjs.map +1 -1
  421. package/tabview/style/index.mjs +11 -14
  422. package/tabview/style/index.mjs.map +1 -1
  423. package/tag/index.mjs +1 -1
  424. package/tag/style/index.mjs +4 -7
  425. package/tag/style/index.mjs.map +1 -1
  426. package/terminal/index.mjs +1 -1
  427. package/terminal/style/index.mjs +2 -5
  428. package/terminal/style/index.mjs.map +1 -1
  429. package/textarea/Textarea.vue +5 -2
  430. package/textarea/index.d.ts +4 -4
  431. package/textarea/index.mjs +7 -3
  432. package/textarea/index.mjs.map +1 -1
  433. package/textarea/style/index.mjs +5 -8
  434. package/textarea/style/index.mjs.map +1 -1
  435. package/tieredmenu/TieredMenu.vue +8 -13
  436. package/tieredmenu/index.mjs +11 -16
  437. package/tieredmenu/index.mjs.map +1 -1
  438. package/tieredmenu/style/index.mjs +11 -14
  439. package/tieredmenu/style/index.mjs.map +1 -1
  440. package/timeline/index.d.ts +4 -0
  441. package/timeline/index.mjs +1 -1
  442. package/timeline/style/index.mjs +4 -7
  443. package/timeline/style/index.mjs.map +1 -1
  444. package/toast/BaseToast.vue +12 -0
  445. package/toast/ToastMessage.vue +38 -4
  446. package/toast/index.d.ts +12 -0
  447. package/toast/index.mjs +79 -15
  448. package/toast/index.mjs.map +1 -1
  449. package/toast/style/index.mjs +12 -15
  450. package/toast/style/index.mjs.map +1 -1
  451. package/togglebutton/ToggleButton.vue +1 -0
  452. package/togglebutton/index.mjs +3 -2
  453. package/togglebutton/index.mjs.map +1 -1
  454. package/togglebutton/style/index.mjs +5 -8
  455. package/togglebutton/style/index.mjs.map +1 -1
  456. package/toggleswitch/index.mjs +1 -1
  457. package/toggleswitch/index.mjs.map +1 -1
  458. package/toggleswitch/style/index.mjs +5 -8
  459. package/toggleswitch/style/index.mjs.map +1 -1
  460. package/toolbar/index.mjs +1 -1
  461. package/toolbar/style/index.mjs +2 -5
  462. package/toolbar/style/index.mjs.map +1 -1
  463. package/tooltip/index.mjs +62 -14
  464. package/tooltip/index.mjs.map +1 -1
  465. package/tooltip/style/index.mjs +2 -5
  466. package/tooltip/style/index.mjs.map +1 -1
  467. package/tree/Tree.vue +2 -2
  468. package/tree/index.mjs +16 -16
  469. package/tree/index.mjs.map +1 -1
  470. package/tree/style/index.mjs +8 -11
  471. package/tree/style/index.mjs.map +1 -1
  472. package/treeselect/TreeSelect.vue +21 -26
  473. package/treeselect/index.d.ts +2 -2
  474. package/treeselect/index.mjs +56 -72
  475. package/treeselect/index.mjs.map +1 -1
  476. package/treeselect/style/index.mjs +10 -13
  477. package/treeselect/style/index.mjs.map +1 -1
  478. package/treetable/BodyCell.vue +8 -5
  479. package/treetable/FooterCell.vue +2 -2
  480. package/treetable/HeaderCell.vue +4 -4
  481. package/treetable/index.d.ts +29 -0
  482. package/treetable/index.mjs +42 -35
  483. package/treetable/index.mjs.map +1 -1
  484. package/treetable/style/index.mjs +22 -25
  485. package/treetable/style/index.mjs.map +1 -1
  486. package/umd/primevue.min.js +1 -1
  487. package/utils/index.d.ts +9 -0
  488. package/utils/index.mjs +16 -0
  489. package/utils/index.mjs.map +1 -0
  490. package/utils/package.json +5 -0
  491. package/virtualscroller/VirtualScroller.vue +16 -10
  492. package/virtualscroller/index.mjs +21 -15
  493. package/virtualscroller/index.mjs.map +1 -1
  494. package/virtualscroller/style/index.mjs +2 -5
  495. package/virtualscroller/style/index.mjs.map +1 -1
  496. package/web-types.json +1 -1
@@ -1,8 +1,8 @@
1
- import { focus, getFirstFocusableElement, getLastFocusableElement, addStyle, relativePosition, getOuterWidth, absolutePosition, isTouchDevice, getFocusableElements, findSingle } from '@primeuix/utils/dom';
2
- import { resolveFieldData, isPrintableCharacter, equals, isNotEmpty, findLastIndex, isEmpty } from '@primeuix/utils/object';
1
+ import { findSingle, getFocusableElements, isTouchDevice, relativePosition, getOuterWidth, absolutePosition, addStyle, focus, getLastFocusableElement, getFirstFocusableElement } from '@primeuix/utils/dom';
2
+ import { isNotEmpty, isEmpty, findLastIndex, equals, isPrintableCharacter, resolveFieldData } from '@primeuix/utils/object';
3
3
  import { ZIndex } from '@primeuix/utils/zindex';
4
4
  import { FilterService } from '@primevue/core/api';
5
- import { UniqueComponentId, ConnectedOverlayScrollHandler } from '@primevue/core/utils';
5
+ import { ConnectedOverlayScrollHandler } from '@primevue/core/utils';
6
6
  import CheckIcon from '@primevue/icons/check';
7
7
  import ChevronDownIcon from '@primevue/icons/chevrondown';
8
8
  import SearchIcon from '@primevue/icons/search';
@@ -19,7 +19,7 @@ import Ripple from 'primevue/ripple';
19
19
  import VirtualScroller from 'primevue/virtualscroller';
20
20
  import BaseInput from '@primevue/core/baseinput';
21
21
  import MultiSelectStyle from 'primevue/multiselect/style';
22
- import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createElementVNode, renderSlot, Fragment, createTextVNode, toDisplayString, renderList, createVNode, normalizeClass, withCtx, createCommentVNode, createBlock, resolveDynamicComponent, Transition, normalizeProps, createSlots, withDirectives } from 'vue';
22
+ import { resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, createElementVNode, renderSlot, createCommentVNode, createVNode, Fragment, createTextVNode, toDisplayString, renderList, normalizeClass, withCtx, createBlock, resolveDynamicComponent, Transition, normalizeProps, createSlots, withDirectives } from 'vue';
23
23
 
24
24
  var script$1 = {
25
25
  name: 'BaseMultiSelect',
@@ -204,10 +204,10 @@ var script$1 = {
204
204
 
205
205
  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); }
206
206
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
207
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
208
- function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
207
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
208
+ function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
209
209
  function _toPropertyKey$1(t) { var i = _toPrimitive$1(t, "string"); return "symbol" == _typeof$1(i) ? i : i + ""; }
210
- function _toPrimitive$1(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); }
210
+ function _toPrimitive$1(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); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
211
211
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
212
212
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
213
213
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -236,7 +236,6 @@ var script = {
236
236
  selectOnFocus: false,
237
237
  data: function data() {
238
238
  return {
239
- id: this.$attrs.id,
240
239
  clicked: false,
241
240
  focused: false,
242
241
  focusedOptionIndex: -1,
@@ -245,15 +244,11 @@ var script = {
245
244
  };
246
245
  },
247
246
  watch: {
248
- '$attrs.id': function $attrsId(newValue) {
249
- this.id = newValue || UniqueComponentId();
250
- },
251
247
  options: function options() {
252
248
  this.autoUpdateModel();
253
249
  }
254
250
  },
255
251
  mounted: function mounted() {
256
- this.id = this.id || UniqueComponentId();
257
252
  this.autoUpdateModel();
258
253
  },
259
254
  beforeUnmount: function beforeUnmount() {
@@ -347,7 +342,7 @@ var script = {
347
342
  this.focused = true;
348
343
  if (this.overlayVisible) {
349
344
  this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
350
- this.scrollInView(this.focusedOptionIndex);
345
+ !this.autoFilterFocus && this.scrollInView(this.focusedOptionIndex);
351
346
  }
352
347
  this.$emit('focus', event);
353
348
  },
@@ -703,12 +698,12 @@ var script = {
703
698
  _this6.hide();
704
699
  }
705
700
  };
706
- document.addEventListener('click', this.outsideClickListener);
701
+ document.addEventListener('click', this.outsideClickListener, true);
707
702
  }
708
703
  },
709
704
  unbindOutsideClickListener: function unbindOutsideClickListener() {
710
705
  if (this.outsideClickListener) {
711
- document.removeEventListener('click', this.outsideClickListener);
706
+ document.removeEventListener('click', this.outsideClickListener, true);
712
707
  this.outsideClickListener = null;
713
708
  }
714
709
  },
@@ -953,7 +948,7 @@ var script = {
953
948
  var _this23 = this;
954
949
  var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
955
950
  this.$nextTick(function () {
956
- var id = index !== -1 ? "".concat(_this23.id, "_").concat(index) : _this23.focusedOptionId;
951
+ var id = index !== -1 ? "".concat(_this23.$id, "_").concat(index) : _this23.focusedOptionId;
957
952
  var element = findSingle(_this23.list, "li[id=\"".concat(id, "\"]"));
958
953
  if (element) {
959
954
  element.scrollIntoView && element.scrollIntoView({
@@ -1091,7 +1086,7 @@ var script = {
1091
1086
  return this.$filled ? this.selectionMessageText.replaceAll('{0}', this.d_value.length) : this.emptySelectionMessageText;
1092
1087
  },
1093
1088
  focusedOptionId: function focusedOptionId() {
1094
- return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
1089
+ return this.focusedOptionIndex !== -1 ? "".concat(this.$id, "_").concat(this.focusedOptionIndex) : null;
1095
1090
  },
1096
1091
  ariaSetSize: function ariaSetSize() {
1097
1092
  var _this27 = this;
@@ -1112,7 +1107,7 @@ var script = {
1112
1107
  return isEmpty(this.fluid) ? !!this.$pcFluid : this.fluid;
1113
1108
  },
1114
1109
  isClearIconVisible: function isClearIconVisible() {
1115
- return this.showClear && this.d_value != null && isNotEmpty(this.options);
1110
+ return this.showClear && this.d_value && this.d_value.length && this.d_value != null && isNotEmpty(this.options);
1116
1111
  }
1117
1112
  },
1118
1113
  directives: {
@@ -1135,9 +1130,9 @@ var script = {
1135
1130
  };
1136
1131
 
1137
1132
  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); }
1138
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
1133
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
1139
1134
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1140
- 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); }
1135
+ 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); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1141
1136
  var _hoisted_1 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
1142
1137
  var _hoisted_2 = {
1143
1138
  key: 0
@@ -1180,7 +1175,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1180
1175
  "aria-labelledby": _ctx.ariaLabelledby,
1181
1176
  "aria-haspopup": "listbox",
1182
1177
  "aria-expanded": $data.overlayVisible,
1183
- "aria-controls": $data.id + '_list',
1178
+ "aria-controls": _ctx.$id + '_list',
1184
1179
  "aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
1185
1180
  "aria-invalid": _ctx.invalid || undefined,
1186
1181
  onFocus: _cache[0] || (_cache[0] = function () {
@@ -1329,7 +1324,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1329
1324
  "aria-label": $options.toggleAllAriaLabel,
1330
1325
  onChange: $options.onToggleAll,
1331
1326
  unstyled: _ctx.unstyled,
1332
- pt: $options.getHeaderCheckboxPTOptions('pcHeaderCheckbox')
1327
+ pt: $options.getHeaderCheckboxPTOptions('pcHeaderCheckbox'),
1328
+ formControl: {
1329
+ novalidate: true
1330
+ }
1333
1331
  }, {
1334
1332
  icon: withCtx(function (slotProps) {
1335
1333
  return [_ctx.$slots.headercheckboxicon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.headercheckboxicon), {
@@ -1361,12 +1359,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1361
1359
  unstyled: _ctx.unstyled,
1362
1360
  role: "searchbox",
1363
1361
  autocomplete: "off",
1364
- "aria-owns": $data.id + '_list',
1362
+ "aria-owns": _ctx.$id + '_list',
1365
1363
  "aria-activedescendant": $options.focusedOptionId,
1366
1364
  onKeydown: $options.onFilterKeyDown,
1367
1365
  onBlur: $options.onFilterBlur,
1368
1366
  onInput: $options.onFilterChange,
1369
- pt: _ctx.ptm('pcFilter')
1367
+ pt: _ctx.ptm('pcFilter'),
1368
+ formControl: {
1369
+ novalidate: true
1370
+ }
1370
1371
  }, null, 8, ["value", "onVnodeMounted", "onVnodeUpdated", "class", "placeholder", "disabled", "variant", "unstyled", "aria-owns", "aria-activedescendant", "onKeydown", "onBlur", "onInput", "pt"]), createVNode(_component_InputIcon, {
1371
1372
  unstyled: _ctx.unstyled,
1372
1373
  pt: _ctx.ptm('pcFilterIconContainer')
@@ -1419,7 +1420,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1419
1420
  ref: function ref(el) {
1420
1421
  return $options.listRef(el, contentRef);
1421
1422
  },
1422
- id: $data.id + '_list',
1423
+ id: _ctx.$id + '_list',
1423
1424
  "class": [_ctx.cx('list'), styleClass],
1424
1425
  style: contentStyle,
1425
1426
  role: "listbox",
@@ -1430,7 +1431,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1430
1431
  key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
1431
1432
  }, [$options.isOptionGroup(option) ? (openBlock(), createElementBlock("li", mergeProps({
1432
1433
  key: 0,
1433
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1434
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1434
1435
  style: {
1435
1436
  height: itemSize ? itemSize + 'px' : undefined
1436
1437
  },
@@ -1444,7 +1445,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1444
1445
  return [createTextVNode(toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)];
1445
1446
  })], 16, _hoisted_4)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1446
1447
  key: 1,
1447
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1448
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1448
1449
  style: {
1449
1450
  height: itemSize ? itemSize + 'px' : undefined
1450
1451
  },
@@ -1476,7 +1477,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1476
1477
  tabindex: -1,
1477
1478
  variant: _ctx.variant,
1478
1479
  unstyled: _ctx.unstyled,
1479
- pt: $options.getCheckboxPTOptions(option, getItemOptions, i, 'pcOptionCheckbox')
1480
+ pt: $options.getCheckboxPTOptions(option, getItemOptions, i, 'pcOptionCheckbox'),
1481
+ formControl: {
1482
+ novalidate: true
1483
+ }
1480
1484
  }, {
1481
1485
  icon: withCtx(function (slotProps) {
1482
1486
  return [_ctx.$slots.optioncheckboxicon || _ctx.$slots.itemcheckboxicon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.optioncheckboxicon || _ctx.$slots.itemcheckboxicon), {