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
package/select/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { focus, isAndroid, getFirstFocusableElement, getLastFocusableElement, addStyle, relativePosition, getOuterWidth, absolutePosition, isTouchDevice, isVisible, getFocusableElements, findSingle } from '@primeuix/utils/dom';
2
- import { resolveFieldData, isPrintableCharacter, isNotEmpty, equals, findLastIndex } from '@primeuix/utils/object';
1
+ import { findSingle, getFocusableElements, isVisible, focus, isTouchDevice, relativePosition, getOuterWidth, absolutePosition, addStyle, getLastFocusableElement, getFirstFocusableElement, isAndroid } from '@primeuix/utils/dom';
2
+ import { isNotEmpty, 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 BlankIcon from '@primevue/icons/blank';
7
7
  import CheckIcon from '@primevue/icons/check';
8
8
  import ChevronDownIcon from '@primevue/icons/chevrondown';
@@ -18,7 +18,7 @@ import Ripple from 'primevue/ripple';
18
18
  import VirtualScroller from 'primevue/virtualscroller';
19
19
  import BaseInput from '@primevue/core/baseinput';
20
20
  import SelectStyle from 'primevue/select/style';
21
- import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, renderSlot, createTextVNode, toDisplayString, normalizeClass, createBlock, resolveDynamicComponent, createCommentVNode, createElementVNode, createVNode, withCtx, Transition, normalizeProps, createSlots, Fragment, renderList, withDirectives } from 'vue';
21
+ import { resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, renderSlot, createCommentVNode, createElementVNode, createVNode, createTextVNode, toDisplayString, normalizeClass, createBlock, resolveDynamicComponent, withCtx, Transition, normalizeProps, createSlots, Fragment, renderList, withDirectives } from 'vue';
22
22
 
23
23
  var script$1 = {
24
24
  name: 'BaseSelect',
@@ -205,10 +205,10 @@ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Sym
205
205
  function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
206
206
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
207
207
  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; }
208
- 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(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; }
209
- 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; }
208
+ 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(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; }
209
+ 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; }
210
210
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
211
- 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); }
211
+ 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); }
212
212
  var script = {
213
213
  name: 'Select',
214
214
  "extends": script$1,
@@ -218,6 +218,7 @@ var script = {
218
218
  scrollHandler: null,
219
219
  resizeListener: null,
220
220
  labelClickListener: null,
221
+ matchMediaOrientationListener: null,
221
222
  overlay: null,
222
223
  list: null,
223
224
  virtualScroller: null,
@@ -226,18 +227,15 @@ var script = {
226
227
  isModelValueChanged: false,
227
228
  data: function data() {
228
229
  return {
229
- id: this.$attrs.id,
230
230
  clicked: false,
231
231
  focused: false,
232
232
  focusedOptionIndex: -1,
233
233
  filterValue: null,
234
- overlayVisible: false
234
+ overlayVisible: false,
235
+ queryOrientation: null
235
236
  };
236
237
  },
237
238
  watch: {
238
- '$attrs.id': function $attrsId(newValue) {
239
- this.id = newValue || UniqueComponentId();
240
- },
241
239
  modelValue: function modelValue() {
242
240
  this.isModelValueChanged = true;
243
241
  },
@@ -246,9 +244,9 @@ var script = {
246
244
  }
247
245
  },
248
246
  mounted: function mounted() {
249
- this.id = this.id || UniqueComponentId();
250
247
  this.autoUpdateModel();
251
248
  this.bindLabelClickListener();
249
+ this.bindMatchMediaOrientationListener();
252
250
  },
253
251
  updated: function updated() {
254
252
  if (this.overlayVisible && this.isModelValueChanged) {
@@ -260,6 +258,7 @@ var script = {
260
258
  this.unbindOutsideClickListener();
261
259
  this.unbindResizeListener();
262
260
  this.unbindLabelClickListener();
261
+ this.unbindMatchMediaOrientationListener();
263
262
  if (this.scrollHandler) {
264
263
  this.scrollHandler.destroy();
265
264
  this.scrollHandler = null;
@@ -639,6 +638,7 @@ var script = {
639
638
  this.scrollInView();
640
639
  setTimeout(function () {
641
640
  _this3.autoFilterFocus && _this3.filter && focus(_this3.$refs.filterInput.$el);
641
+ _this3.autoUpdateModel();
642
642
  }, 1);
643
643
  },
644
644
  onOverlayAfterEnter: function onOverlayAfterEnter() {
@@ -654,7 +654,9 @@ var script = {
654
654
  this.unbindResizeListener();
655
655
  if (this.autoFilterFocus && this.filter && !this.editable) {
656
656
  this.$nextTick(function () {
657
- focus(_this4.$refs.filterInput.$el);
657
+ if (_this4.$refs.filterInput) {
658
+ focus(_this4.$refs.filterInput.$el);
659
+ }
658
660
  });
659
661
  }
660
662
  this.$emit('hide');
@@ -679,12 +681,12 @@ var script = {
679
681
  _this5.hide();
680
682
  }
681
683
  };
682
- document.addEventListener('click', this.outsideClickListener);
684
+ document.addEventListener('click', this.outsideClickListener, true);
683
685
  }
684
686
  },
685
687
  unbindOutsideClickListener: function unbindOutsideClickListener() {
686
688
  if (this.outsideClickListener) {
687
- document.removeEventListener('click', this.outsideClickListener);
689
+ document.removeEventListener('click', this.outsideClickListener, true);
688
690
  this.outsideClickListener = null;
689
691
  }
690
692
  },
@@ -741,12 +743,34 @@ var script = {
741
743
  }
742
744
  }
743
745
  },
746
+ bindMatchMediaOrientationListener: function bindMatchMediaOrientationListener() {
747
+ var _this9 = this;
748
+ if (!this.matchMediaOrientationListener) {
749
+ var query = matchMedia("(orientation: portrait)");
750
+ this.queryOrientation = query;
751
+ this.matchMediaOrientationListener = function () {
752
+ _this9.alignOverlay();
753
+ };
754
+ this.queryOrientation.addEventListener('change', this.matchMediaOrientationListener);
755
+ }
756
+ },
757
+ unbindMatchMediaOrientationListener: function unbindMatchMediaOrientationListener() {
758
+ if (this.matchMediaOrientationListener) {
759
+ this.queryOrientation.removeEventListener('change', this.matchMediaOrientationListener);
760
+ this.queryOrientation = null;
761
+ this.matchMediaOrientationListener = null;
762
+ }
763
+ },
744
764
  hasFocusableElements: function hasFocusableElements() {
745
765
  return getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
746
766
  },
747
- isOptionMatched: function isOptionMatched(option) {
767
+ isOptionExactMatched: function isOptionExactMatched(option) {
748
768
  var _this$getOptionLabel;
749
- return this.isValidOption(option) && typeof this.getOptionLabel(option) === 'string' && ((_this$getOptionLabel = this.getOptionLabel(option)) === null || _this$getOptionLabel === void 0 ? void 0 : _this$getOptionLabel.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
769
+ return this.isValidOption(option) && typeof this.getOptionLabel(option) === 'string' && ((_this$getOptionLabel = this.getOptionLabel(option)) === null || _this$getOptionLabel === void 0 ? void 0 : _this$getOptionLabel.toLocaleLowerCase(this.filterLocale)) == this.searchValue.toLocaleLowerCase(this.filterLocale);
770
+ },
771
+ isOptionStartsWith: function isOptionStartsWith(option) {
772
+ var _this$getOptionLabel2;
773
+ return this.isValidOption(option) && typeof this.getOptionLabel(option) === 'string' && ((_this$getOptionLabel2 = this.getOptionLabel(option)) === null || _this$getOptionLabel2 === void 0 ? void 0 : _this$getOptionLabel2.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
750
774
  },
751
775
  isValidOption: function isValidOption(option) {
752
776
  return isNotEmpty(option) && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
@@ -758,35 +782,35 @@ var script = {
758
782
  return equals(this.d_value, this.getOptionValue(option), this.equalityKey);
759
783
  },
760
784
  findFirstOptionIndex: function findFirstOptionIndex() {
761
- var _this9 = this;
785
+ var _this10 = this;
762
786
  return this.visibleOptions.findIndex(function (option) {
763
- return _this9.isValidOption(option);
787
+ return _this10.isValidOption(option);
764
788
  });
765
789
  },
766
790
  findLastOptionIndex: function findLastOptionIndex() {
767
- var _this10 = this;
791
+ var _this11 = this;
768
792
  return findLastIndex(this.visibleOptions, function (option) {
769
- return _this10.isValidOption(option);
793
+ return _this11.isValidOption(option);
770
794
  });
771
795
  },
772
796
  findNextOptionIndex: function findNextOptionIndex(index) {
773
- var _this11 = this;
797
+ var _this12 = this;
774
798
  var matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function (option) {
775
- return _this11.isValidOption(option);
799
+ return _this12.isValidOption(option);
776
800
  }) : -1;
777
801
  return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
778
802
  },
779
803
  findPrevOptionIndex: function findPrevOptionIndex(index) {
780
- var _this12 = this;
804
+ var _this13 = this;
781
805
  var matchedOptionIndex = index > 0 ? findLastIndex(this.visibleOptions.slice(0, index), function (option) {
782
- return _this12.isValidOption(option);
806
+ return _this13.isValidOption(option);
783
807
  }) : -1;
784
808
  return matchedOptionIndex > -1 ? matchedOptionIndex : index;
785
809
  },
786
810
  findSelectedOptionIndex: function findSelectedOptionIndex() {
787
- var _this13 = this;
811
+ var _this14 = this;
788
812
  return this.$filled ? this.visibleOptions.findIndex(function (option) {
789
- return _this13.isValidSelectedOption(option);
813
+ return _this14.isValidSelectedOption(option);
790
814
  }) : -1;
791
815
  },
792
816
  findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
@@ -798,21 +822,17 @@ var script = {
798
822
  return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
799
823
  },
800
824
  searchOptions: function searchOptions(event, _char) {
801
- var _this14 = this;
825
+ var _this15 = this;
802
826
  this.searchValue = (this.searchValue || '') + _char;
803
827
  var optionIndex = -1;
804
828
  var matched = false;
805
829
  if (isNotEmpty(this.searchValue)) {
806
- if (this.focusedOptionIndex !== -1) {
807
- optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function (option) {
808
- return _this14.isOptionMatched(option);
809
- });
810
- optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function (option) {
811
- return _this14.isOptionMatched(option);
812
- }) : optionIndex + this.focusedOptionIndex;
813
- } else {
830
+ optionIndex = this.visibleOptions.findIndex(function (option) {
831
+ return _this15.isOptionExactMatched(option);
832
+ });
833
+ if (optionIndex === -1) {
814
834
  optionIndex = this.visibleOptions.findIndex(function (option) {
815
- return _this14.isOptionMatched(option);
835
+ return _this15.isOptionStartsWith(option);
816
836
  });
817
837
  }
818
838
  if (optionIndex !== -1) {
@@ -829,8 +849,8 @@ var script = {
829
849
  clearTimeout(this.searchTimeout);
830
850
  }
831
851
  this.searchTimeout = setTimeout(function () {
832
- _this14.searchValue = '';
833
- _this14.searchTimeout = null;
852
+ _this15.searchValue = '';
853
+ _this15.searchTimeout = null;
834
854
  }, 500);
835
855
  return matched;
836
856
  },
@@ -844,24 +864,26 @@ var script = {
844
864
  }
845
865
  },
846
866
  scrollInView: function scrollInView() {
847
- var _this15 = this;
867
+ var _this16 = this;
848
868
  var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
849
869
  this.$nextTick(function () {
850
- var id = index !== -1 ? "".concat(_this15.id, "_").concat(index) : _this15.focusedOptionId;
851
- var element = findSingle(_this15.list, "li[id=\"".concat(id, "\"]"));
870
+ var id = index !== -1 ? "".concat(_this16.$id, "_").concat(index) : _this16.focusedOptionId;
871
+ var element = findSingle(_this16.list, "li[id=\"".concat(id, "\"]"));
852
872
  if (element) {
853
873
  element.scrollIntoView && element.scrollIntoView({
854
874
  block: 'nearest',
855
875
  inline: 'start'
856
876
  });
857
- } else if (!_this15.virtualScrollerDisabled) {
858
- _this15.virtualScroller && _this15.virtualScroller.scrollToIndex(index !== -1 ? index : _this15.focusedOptionIndex);
877
+ } else if (!_this16.virtualScrollerDisabled) {
878
+ _this16.virtualScroller && _this16.virtualScroller.scrollToIndex(index !== -1 ? index : _this16.focusedOptionIndex);
859
879
  }
860
880
  });
861
881
  },
862
882
  autoUpdateModel: function autoUpdateModel() {
863
- if (this.selectOnFocus && this.autoOptionFocus && !this.$filled) {
883
+ if (this.autoOptionFocus) {
864
884
  this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
885
+ }
886
+ if (this.selectOnFocus && this.autoOptionFocus && !this.$filled) {
865
887
  this.onOptionSelect(null, this.visibleOptions[this.focusedOptionIndex], false);
866
888
  }
867
889
  },
@@ -873,14 +895,14 @@ var script = {
873
895
  });
874
896
  },
875
897
  flatOptions: function flatOptions(options) {
876
- var _this16 = this;
898
+ var _this17 = this;
877
899
  return (options || []).reduce(function (result, option, index) {
878
900
  result.push({
879
901
  optionGroup: option,
880
902
  group: true,
881
903
  index: index
882
904
  });
883
- var optionGroupChildren = _this16.getOptionGroupChildren(option);
905
+ var optionGroupChildren = _this17.getOptionGroupChildren(option);
884
906
  optionGroupChildren && optionGroupChildren.forEach(function (o) {
885
907
  return result.push(o);
886
908
  });
@@ -900,7 +922,7 @@ var script = {
900
922
  },
901
923
  computed: {
902
924
  visibleOptions: function visibleOptions() {
903
- var _this17 = this;
925
+ var _this18 = this;
904
926
  var options = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
905
927
  if (this.filterValue) {
906
928
  var filteredOptions = FilterService.filter(options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
@@ -908,11 +930,11 @@ var script = {
908
930
  var optionGroups = this.options || [];
909
931
  var filtered = [];
910
932
  optionGroups.forEach(function (group) {
911
- var groupChildren = _this17.getOptionGroupChildren(group);
933
+ var groupChildren = _this18.getOptionGroupChildren(group);
912
934
  var filteredItems = groupChildren.filter(function (item) {
913
935
  return filteredOptions.includes(item);
914
936
  });
915
- if (filteredItems.length > 0) filtered.push(_objectSpread(_objectSpread({}, group), {}, _defineProperty({}, typeof _this17.optionGroupChildren === 'string' ? _this17.optionGroupChildren : 'items', _toConsumableArray(filteredItems))));
937
+ if (filteredItems.length > 0) filtered.push(_objectSpread(_objectSpread({}, group), {}, _defineProperty({}, typeof _this18.optionGroupChildren === 'string' ? _this18.optionGroupChildren : 'items', _toConsumableArray(filteredItems))));
916
938
  });
917
939
  return this.flatOptions(filtered);
918
940
  }
@@ -960,12 +982,12 @@ var script = {
960
982
  return this.$filled ? this.selectionMessageText.replaceAll('{0}', '1') : this.emptySelectionMessageText;
961
983
  },
962
984
  focusedOptionId: function focusedOptionId() {
963
- return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
985
+ return this.focusedOptionIndex !== -1 ? "".concat(this.$id, "_").concat(this.focusedOptionIndex) : null;
964
986
  },
965
987
  ariaSetSize: function ariaSetSize() {
966
- var _this18 = this;
988
+ var _this19 = this;
967
989
  return this.visibleOptions.filter(function (option) {
968
- return !_this18.isOptionGroup(option);
990
+ return !_this19.isOptionGroup(option);
969
991
  }).length;
970
992
  },
971
993
  isClearIconVisible: function isClearIconVisible() {
@@ -995,7 +1017,7 @@ var script = {
995
1017
 
996
1018
  var _hoisted_1 = ["id"];
997
1019
  var _hoisted_2 = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
998
- var _hoisted_3 = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
1020
+ var _hoisted_3 = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid", "aria-disabled"];
999
1021
  var _hoisted_4 = ["id"];
1000
1022
  var _hoisted_5 = ["id"];
1001
1023
  var _hoisted_6 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-selected", "data-p-focused", "data-p-disabled"];
@@ -1012,7 +1034,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1012
1034
  var _directive_ripple = resolveDirective("ripple");
1013
1035
  return openBlock(), createElementBlock("div", mergeProps({
1014
1036
  ref: "container",
1015
- id: $data.id,
1037
+ id: _ctx.$id,
1016
1038
  "class": _ctx.cx('root'),
1017
1039
  onClick: _cache[11] || (_cache[11] = function () {
1018
1040
  return $options.onContainerClick && $options.onContainerClick.apply($options, arguments);
@@ -1034,7 +1056,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1034
1056
  "aria-labelledby": _ctx.ariaLabelledby,
1035
1057
  "aria-haspopup": "listbox",
1036
1058
  "aria-expanded": $data.overlayVisible,
1037
- "aria-controls": $data.id + '_list',
1059
+ "aria-controls": _ctx.$id + '_list',
1038
1060
  "aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
1039
1061
  "aria-invalid": _ctx.invalid || undefined,
1040
1062
  onFocus: _cache[0] || (_cache[0] = function () {
@@ -1061,8 +1083,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1061
1083
  "aria-labelledby": _ctx.ariaLabelledby,
1062
1084
  "aria-haspopup": "listbox",
1063
1085
  "aria-expanded": $data.overlayVisible,
1064
- "aria-controls": $data.id + '_list',
1086
+ "aria-controls": _ctx.$id + '_list',
1065
1087
  "aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
1088
+ "aria-invalid": _ctx.invalid || undefined,
1066
1089
  "aria-disabled": _ctx.disabled,
1067
1090
  onFocus: _cache[4] || (_cache[4] = function () {
1068
1091
  return $options.onFocus && $options.onFocus.apply($options, arguments);
@@ -1173,12 +1196,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1173
1196
  unstyled: _ctx.unstyled,
1174
1197
  role: "searchbox",
1175
1198
  autocomplete: "off",
1176
- "aria-owns": $data.id + '_list',
1199
+ "aria-owns": _ctx.$id + '_list',
1177
1200
  "aria-activedescendant": $options.focusedOptionId,
1178
1201
  onKeydown: $options.onFilterKeyDown,
1179
1202
  onBlur: $options.onFilterBlur,
1180
1203
  onInput: $options.onFilterChange,
1181
- pt: _ctx.ptm('pcFilter')
1204
+ pt: _ctx.ptm('pcFilter'),
1205
+ formControl: {
1206
+ novalidate: true
1207
+ }
1182
1208
  }, null, 8, ["value", "onVnodeMounted", "onVnodeUpdated", "class", "placeholder", "variant", "unstyled", "aria-owns", "aria-activedescendant", "onKeydown", "onBlur", "onInput", "pt"]), createVNode(_component_InputIcon, {
1183
1209
  unstyled: _ctx.unstyled,
1184
1210
  pt: _ctx.ptm('pcFilterIconContainer')
@@ -1230,7 +1256,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1230
1256
  ref: function ref(el) {
1231
1257
  return $options.listRef(el, contentRef);
1232
1258
  },
1233
- id: $data.id + '_list',
1259
+ id: _ctx.$id + '_list',
1234
1260
  "class": [_ctx.cx('list'), styleClass],
1235
1261
  style: contentStyle,
1236
1262
  role: "listbox"
@@ -1239,7 +1265,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1239
1265
  key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
1240
1266
  }, [$options.isOptionGroup(option) ? (openBlock(), createElementBlock("li", mergeProps({
1241
1267
  key: 0,
1242
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1268
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1243
1269
  style: {
1244
1270
  height: itemSize ? itemSize + 'px' : undefined
1245
1271
  },
@@ -1256,7 +1282,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1256
1282
  }, _ctx.ptm('optionGroupLabel')), toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 17)];
1257
1283
  })], 16, _hoisted_5)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1258
1284
  key: 1,
1259
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1285
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1260
1286
  "class": _ctx.cx('option', {
1261
1287
  option: option,
1262
1288
  focusedOption: $options.getOptionIndex(i, getItemOptions)