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,7 +1,7 @@
1
- import { focus, addStyle, relativePosition, getOuterWidth, absolutePosition, isTouchDevice, findSingle } from '@primeuix/utils/dom';
2
- import { resolveFieldData, isEmpty, isNotEmpty, equals, findLastIndex } from '@primeuix/utils/object';
1
+ import { findSingle, focus, isTouchDevice, relativePosition, getOuterWidth, absolutePosition, addStyle } from '@primeuix/utils/dom';
2
+ import { isNotEmpty, findLastIndex, equals, isEmpty, resolveFieldData } from '@primeuix/utils/object';
3
3
  import { ZIndex } from '@primeuix/utils/zindex';
4
- import { UniqueComponentId, ConnectedOverlayScrollHandler } from '@primevue/core/utils';
4
+ import { ConnectedOverlayScrollHandler } from '@primevue/core/utils';
5
5
  import ChevronDownIcon from '@primevue/icons/chevrondown';
6
6
  import SpinnerIcon from '@primevue/icons/spinner';
7
7
  import Chip from 'primevue/chip';
@@ -12,7 +12,7 @@ import Ripple from 'primevue/ripple';
12
12
  import VirtualScroller from 'primevue/virtualscroller';
13
13
  import BaseInput from '@primevue/core/baseinput';
14
14
  import AutoCompleteStyle from 'primevue/autocomplete/style';
15
- import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, normalizeStyle, createCommentVNode, Fragment, renderList, renderSlot, createVNode, withCtx, createElementVNode, resolveDynamicComponent, toDisplayString, Transition, createSlots, createTextVNode, withDirectives } from 'vue';
15
+ import { resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, createBlock, createCommentVNode, renderSlot, createElementVNode, createVNode, normalizeStyle, normalizeClass, Fragment, renderList, withCtx, resolveDynamicComponent, toDisplayString, Transition, createSlots, withDirectives, createTextVNode } from 'vue';
16
16
 
17
17
  var script$1 = {
18
18
  name: 'BaseAutoComplete',
@@ -216,9 +216,9 @@ var script = {
216
216
  virtualScroller: null,
217
217
  searchTimeout: null,
218
218
  dirty: false,
219
+ startRangeIndex: -1,
219
220
  data: function data() {
220
221
  return {
221
- id: this.$attrs.id,
222
222
  clicked: false,
223
223
  focused: false,
224
224
  focusedOptionIndex: -1,
@@ -228,9 +228,6 @@ var script = {
228
228
  };
229
229
  },
230
230
  watch: {
231
- '$attrs.id': function $attrsId(newValue) {
232
- this.id = newValue || UniqueComponentId();
233
- },
234
231
  suggestions: function suggestions() {
235
232
  if (this.searching) {
236
233
  this.show();
@@ -242,7 +239,6 @@ var script = {
242
239
  }
243
240
  },
244
241
  mounted: function mounted() {
245
- this.id = this.id || UniqueComponentId();
246
242
  this.autoUpdateModel();
247
243
  },
248
244
  updated: function updated() {
@@ -278,6 +274,8 @@ var script = {
278
274
  getPTOptions: function getPTOptions(option, itemOptions, index, key) {
279
275
  return this.ptm(key, {
280
276
  context: {
277
+ option: option,
278
+ index: index,
281
279
  selected: this.isSelected(option),
282
280
  focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
283
281
  disabled: this.isOptionDisabled(option)
@@ -380,6 +378,7 @@ var script = {
380
378
  break;
381
379
  case 'Enter':
382
380
  case 'NumpadEnter':
381
+ case 'Space':
383
382
  this.onEnterKey(event);
384
383
  break;
385
384
  case 'Escape':
@@ -388,6 +387,10 @@ var script = {
388
387
  case 'Tab':
389
388
  this.onTabKey(event);
390
389
  break;
390
+ case 'ShiftLeft':
391
+ case 'ShiftRight':
392
+ this.onShiftKey(event);
393
+ break;
391
394
  case 'Backspace':
392
395
  this.onBackspaceKey(event);
393
396
  break;
@@ -520,6 +523,23 @@ var script = {
520
523
  this.changeFocusedOptionIndex(event, index);
521
524
  }
522
525
  },
526
+ onOptionSelectRange: function onOptionSelectRange(event) {
527
+ var _this5 = this;
528
+ var start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
529
+ var end = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;
530
+ start === -1 && (start = this.findNearestSelectedOptionIndex(end, true));
531
+ end === -1 && (end = this.findNearestSelectedOptionIndex(start));
532
+ if (start !== -1 && end !== -1) {
533
+ var rangeStart = Math.min(start, end);
534
+ var rangeEnd = Math.max(start, end);
535
+ var value = this.visibleOptions.slice(rangeStart, rangeEnd + 1).filter(function (option) {
536
+ return _this5.isValidOption(option);
537
+ }).map(function (option) {
538
+ return _this5.getOptionValue(option);
539
+ });
540
+ this.updateModel(event, value);
541
+ }
542
+ },
523
543
  onOverlayClick: function onOverlayClick(event) {
524
544
  OverlayEventBus.emit('overlay-click', {
525
545
  originalEvent: event,
@@ -538,6 +558,9 @@ var script = {
538
558
  return;
539
559
  }
540
560
  var optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
561
+ if (this.multiple && event.shiftKey) {
562
+ this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
563
+ }
541
564
  this.changeFocusedOptionIndex(event, optionIndex);
542
565
  event.preventDefault();
543
566
  },
@@ -553,6 +576,9 @@ var script = {
553
576
  event.preventDefault();
554
577
  } else {
555
578
  var optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
579
+ if (this.multiple && event.shiftKey) {
580
+ this.onOptionSelectRange(event, optionIndex, this.startRangeIndex);
581
+ }
556
582
  this.changeFocusedOptionIndex(event, optionIndex);
557
583
  event.preventDefault();
558
584
  }
@@ -576,6 +602,11 @@ var script = {
576
602
  onHomeKey: function onHomeKey(event) {
577
603
  var currentTarget = event.currentTarget;
578
604
  var len = currentTarget.value.length;
605
+ var metaKey = event.metaKey || event.ctrlKey;
606
+ var optionIndex = this.findFirstOptionIndex();
607
+ if (this.multiple && event.shiftKey && metaKey) {
608
+ this.onOptionSelectRange(event, optionIndex, this.startRangeIndex);
609
+ }
579
610
  currentTarget.setSelectionRange(0, event.shiftKey ? len : 0);
580
611
  this.focusedOptionIndex = -1;
581
612
  event.preventDefault();
@@ -583,6 +614,11 @@ var script = {
583
614
  onEndKey: function onEndKey(event) {
584
615
  var currentTarget = event.currentTarget;
585
616
  var len = currentTarget.value.length;
617
+ var metaKey = event.metaKey || event.ctrlKey;
618
+ var optionIndex = this.findLastOptionIndex();
619
+ if (this.multiple && event.shiftKey && metaKey) {
620
+ this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
621
+ }
586
622
  currentTarget.setSelectionRange(event.shiftKey ? 0 : len, len);
587
623
  this.focusedOptionIndex = -1;
588
624
  event.preventDefault();
@@ -607,7 +643,12 @@ var script = {
607
643
  this.onArrowDownKey(event);
608
644
  } else {
609
645
  if (this.focusedOptionIndex !== -1) {
610
- this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
646
+ if (this.multiple && event.shiftKey) {
647
+ this.onOptionSelectRange(event, this.focusedOptionIndex);
648
+ event.preventDefault();
649
+ } else {
650
+ this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
651
+ }
611
652
  }
612
653
  this.hide();
613
654
  }
@@ -624,6 +665,9 @@ var script = {
624
665
  }
625
666
  this.overlayVisible && this.hide();
626
667
  },
668
+ onShiftKey: function onShiftKey() {
669
+ this.startRangeIndex = this.focusedOptionIndex;
670
+ },
627
671
  onBackspaceKey: function onBackspaceKey(event) {
628
672
  if (this.multiple) {
629
673
  if (isNotEmpty(this.d_value) && !this.$refs.focusInput.value) {
@@ -692,28 +736,28 @@ var script = {
692
736
  }
693
737
  },
694
738
  bindOutsideClickListener: function bindOutsideClickListener() {
695
- var _this5 = this;
739
+ var _this6 = this;
696
740
  if (!this.outsideClickListener) {
697
741
  this.outsideClickListener = function (event) {
698
- if (_this5.overlayVisible && _this5.overlay && _this5.isOutsideClicked(event)) {
699
- _this5.hide();
742
+ if (_this6.overlayVisible && _this6.overlay && _this6.isOutsideClicked(event)) {
743
+ _this6.hide();
700
744
  }
701
745
  };
702
- document.addEventListener('click', this.outsideClickListener);
746
+ document.addEventListener('click', this.outsideClickListener, true);
703
747
  }
704
748
  },
705
749
  unbindOutsideClickListener: function unbindOutsideClickListener() {
706
750
  if (this.outsideClickListener) {
707
- document.removeEventListener('click', this.outsideClickListener);
751
+ document.removeEventListener('click', this.outsideClickListener, true);
708
752
  this.outsideClickListener = null;
709
753
  }
710
754
  },
711
755
  bindScrollListener: function bindScrollListener() {
712
- var _this6 = this;
756
+ var _this7 = this;
713
757
  if (!this.scrollHandler) {
714
758
  this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, function () {
715
- if (_this6.overlayVisible) {
716
- _this6.hide();
759
+ if (_this7.overlayVisible) {
760
+ _this7.hide();
717
761
  }
718
762
  });
719
763
  }
@@ -725,11 +769,11 @@ var script = {
725
769
  }
726
770
  },
727
771
  bindResizeListener: function bindResizeListener() {
728
- var _this7 = this;
772
+ var _this8 = this;
729
773
  if (!this.resizeListener) {
730
774
  this.resizeListener = function () {
731
- if (_this7.overlayVisible && !isTouchDevice()) {
732
- _this7.hide();
775
+ if (_this8.overlayVisible && !isTouchDevice()) {
776
+ _this8.hide();
733
777
  }
734
778
  };
735
779
  window.addEventListener('resize', this.resizeListener);
@@ -764,42 +808,42 @@ var script = {
764
808
  return equals(value1, value2, this.equalityKey);
765
809
  },
766
810
  isSelected: function isSelected(option) {
767
- var _this8 = this;
811
+ var _this9 = this;
768
812
  var optionValue = this.getOptionValue(option);
769
813
  return this.multiple ? (this.d_value || []).some(function (value) {
770
- return _this8.isEquals(value, optionValue);
814
+ return _this9.isEquals(value, optionValue);
771
815
  }) : this.isEquals(this.d_value, this.getOptionValue(option));
772
816
  },
773
817
  findFirstOptionIndex: function findFirstOptionIndex() {
774
- var _this9 = this;
818
+ var _this10 = this;
775
819
  return this.visibleOptions.findIndex(function (option) {
776
- return _this9.isValidOption(option);
820
+ return _this10.isValidOption(option);
777
821
  });
778
822
  },
779
823
  findLastOptionIndex: function findLastOptionIndex() {
780
- var _this10 = this;
824
+ var _this11 = this;
781
825
  return findLastIndex(this.visibleOptions, function (option) {
782
- return _this10.isValidOption(option);
826
+ return _this11.isValidOption(option);
783
827
  });
784
828
  },
785
829
  findNextOptionIndex: function findNextOptionIndex(index) {
786
- var _this11 = this;
830
+ var _this12 = this;
787
831
  var matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function (option) {
788
- return _this11.isValidOption(option);
832
+ return _this12.isValidOption(option);
789
833
  }) : -1;
790
834
  return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
791
835
  },
792
836
  findPrevOptionIndex: function findPrevOptionIndex(index) {
793
- var _this12 = this;
837
+ var _this13 = this;
794
838
  var matchedOptionIndex = index > 0 ? findLastIndex(this.visibleOptions.slice(0, index), function (option) {
795
- return _this12.isValidOption(option);
839
+ return _this13.isValidOption(option);
796
840
  }) : -1;
797
841
  return matchedOptionIndex > -1 ? matchedOptionIndex : index;
798
842
  },
799
843
  findSelectedOptionIndex: function findSelectedOptionIndex() {
800
- var _this13 = this;
844
+ var _this14 = this;
801
845
  return this.$filled ? this.visibleOptions.findIndex(function (option) {
802
- return _this13.isValidSelectedOption(option);
846
+ return _this14.isValidSelectedOption(option);
803
847
  }) : -1;
804
848
  },
805
849
  findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
@@ -827,12 +871,12 @@ var script = {
827
871
  });
828
872
  },
829
873
  removeOption: function removeOption(event, index) {
830
- var _this14 = this;
874
+ var _this15 = this;
831
875
  var removedOption = this.d_value[index];
832
876
  var value = this.d_value.filter(function (_, i) {
833
877
  return i !== index;
834
878
  }).map(function (option) {
835
- return _this14.getOptionValue(option);
879
+ return _this15.getOptionValue(option);
836
880
  });
837
881
  this.updateModel(event, value);
838
882
  this.$emit('item-unselect', {
@@ -856,18 +900,18 @@ var script = {
856
900
  }
857
901
  },
858
902
  scrollInView: function scrollInView() {
859
- var _this15 = this;
903
+ var _this16 = this;
860
904
  var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
861
905
  this.$nextTick(function () {
862
- var id = index !== -1 ? "".concat(_this15.id, "_").concat(index) : _this15.focusedOptionId;
863
- var element = findSingle(_this15.list, "li[id=\"".concat(id, "\"]"));
906
+ var id = index !== -1 ? "".concat(_this16.$id, "_").concat(index) : _this16.focusedOptionId;
907
+ var element = findSingle(_this16.list, "li[id=\"".concat(id, "\"]"));
864
908
  if (element) {
865
909
  element.scrollIntoView && element.scrollIntoView({
866
910
  block: 'nearest',
867
911
  inline: 'start'
868
912
  });
869
- } else if (!_this15.virtualScrollerDisabled) {
870
- _this15.virtualScroller && _this15.virtualScroller.scrollToIndex(index !== -1 ? index : _this15.focusedOptionIndex);
913
+ } else if (!_this16.virtualScrollerDisabled) {
914
+ _this16.virtualScroller && _this16.virtualScroller.scrollToIndex(index !== -1 ? index : _this16.focusedOptionIndex);
871
915
  }
872
916
  });
873
917
  },
@@ -885,14 +929,14 @@ var script = {
885
929
  });
886
930
  },
887
931
  flatOptions: function flatOptions(options) {
888
- var _this16 = this;
932
+ var _this17 = this;
889
933
  return (options || []).reduce(function (result, option, index) {
890
934
  result.push({
891
935
  optionGroup: option,
892
936
  group: true,
893
937
  index: index
894
938
  });
895
- var optionGroupChildren = _this16.getOptionGroupChildren(option);
939
+ var optionGroupChildren = _this17.getOptionGroupChildren(option);
896
940
  optionGroupChildren && optionGroupChildren.forEach(function (o) {
897
941
  return result.push(o);
898
942
  });
@@ -908,6 +952,34 @@ var script = {
908
952
  },
909
953
  virtualScrollerRef: function virtualScrollerRef(el) {
910
954
  this.virtualScroller = el;
955
+ },
956
+ findNextSelectedOptionIndex: function findNextSelectedOptionIndex(index) {
957
+ var _this18 = this;
958
+ var matchedOptionIndex = this.$filled && index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function (option) {
959
+ return _this18.isValidSelectedOption(option);
960
+ }) : -1;
961
+ return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : -1;
962
+ },
963
+ findPrevSelectedOptionIndex: function findPrevSelectedOptionIndex(index) {
964
+ var _this19 = this;
965
+ var matchedOptionIndex = this.$filled && index > 0 ? findLastIndex(this.visibleOptions.slice(0, index), function (option) {
966
+ return _this19.isValidSelectedOption(option);
967
+ }) : -1;
968
+ return matchedOptionIndex > -1 ? matchedOptionIndex : -1;
969
+ },
970
+ findNearestSelectedOptionIndex: function findNearestSelectedOptionIndex(index) {
971
+ var firstCheckUp = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
972
+ var matchedOptionIndex = -1;
973
+ if (this.$filled) {
974
+ if (firstCheckUp) {
975
+ matchedOptionIndex = this.findPrevSelectedOptionIndex(index);
976
+ matchedOptionIndex = matchedOptionIndex === -1 ? this.findNextSelectedOptionIndex(index) : matchedOptionIndex;
977
+ } else {
978
+ matchedOptionIndex = this.findNextSelectedOptionIndex(index);
979
+ matchedOptionIndex = matchedOptionIndex === -1 ? this.findPrevSelectedOptionIndex(index) : matchedOptionIndex;
980
+ }
981
+ }
982
+ return matchedOptionIndex > -1 ? matchedOptionIndex : index;
911
983
  }
912
984
  },
913
985
  computed: {
@@ -956,22 +1028,22 @@ var script = {
956
1028
  return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.listLabel : undefined;
957
1029
  },
958
1030
  focusedOptionId: function focusedOptionId() {
959
- return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
1031
+ return this.focusedOptionIndex !== -1 ? "".concat(this.$id, "_").concat(this.focusedOptionIndex) : null;
960
1032
  },
961
1033
  focusedMultipleOptionId: function focusedMultipleOptionId() {
962
- return this.focusedMultipleOptionIndex !== -1 ? "".concat(this.id, "_multiple_option_").concat(this.focusedMultipleOptionIndex) : null;
1034
+ return this.focusedMultipleOptionIndex !== -1 ? "".concat(this.$id, "_multiple_option_").concat(this.focusedMultipleOptionIndex) : null;
963
1035
  },
964
1036
  ariaSetSize: function ariaSetSize() {
965
- var _this17 = this;
1037
+ var _this20 = this;
966
1038
  return this.visibleOptions.filter(function (option) {
967
- return !_this17.isOptionGroup(option);
1039
+ return !_this20.isOptionGroup(option);
968
1040
  }).length;
969
1041
  },
970
1042
  virtualScrollerDisabled: function virtualScrollerDisabled() {
971
1043
  return !this.virtualScrollerOptions;
972
1044
  },
973
1045
  panelId: function panelId() {
974
- return this.id + '_panel';
1046
+ return this.$id + '_panel';
975
1047
  }
976
1048
  },
977
1049
  components: {
@@ -989,10 +1061,10 @@ var script = {
989
1061
 
990
1062
  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); }
991
1063
  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; }
992
- 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; }
993
- 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; }
1064
+ 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; }
1065
+ 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; }
994
1066
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
995
- 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); }
1067
+ 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); }
996
1068
  var _hoisted_1 = ["aria-activedescendant"];
997
1069
  var _hoisted_2 = ["id", "aria-label", "aria-setsize", "aria-posinset"];
998
1070
  var _hoisted_3 = ["id", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
@@ -1067,7 +1139,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1067
1139
  }, _ctx.ptm('inputMultiple')), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.d_value, function (option, i) {
1068
1140
  return openBlock(), createElementBlock("li", mergeProps({
1069
1141
  key: "".concat(i, "_").concat($options.getOptionLabel(option)),
1070
- id: $data.id + '_multiple_option_' + i,
1142
+ id: _ctx.$id + '_multiple_option_' + i,
1071
1143
  "class": _ctx.cx('chipItem', {
1072
1144
  i: i
1073
1145
  }),
@@ -1128,7 +1200,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1128
1200
  "aria-haspopup": "listbox",
1129
1201
  "aria-autocomplete": "list",
1130
1202
  "aria-expanded": $data.overlayVisible,
1131
- "aria-controls": $data.id + '_list',
1203
+ "aria-controls": _ctx.$id + '_list',
1132
1204
  "aria-activedescendant": $data.focused ? $options.focusedOptionId : undefined,
1133
1205
  "aria-invalid": _ctx.invalid || undefined,
1134
1206
  onFocus: _cache[0] || (_cache[0] = function () {
@@ -1244,7 +1316,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1244
1316
  ref: function ref(el) {
1245
1317
  return $options.listRef(el, contentRef);
1246
1318
  },
1247
- id: $data.id + '_list',
1319
+ id: _ctx.$id + '_list',
1248
1320
  "class": [_ctx.cx('list'), styleClass],
1249
1321
  style: contentStyle,
1250
1322
  role: "listbox",
@@ -1254,7 +1326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1254
1326
  key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
1255
1327
  }, [$options.isOptionGroup(option) ? (openBlock(), createElementBlock("li", mergeProps({
1256
1328
  key: 0,
1257
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1329
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1258
1330
  style: {
1259
1331
  height: itemSize ? itemSize + 'px' : undefined
1260
1332
  },
@@ -1268,7 +1340,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1268
1340
  return [createTextVNode(toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)];
1269
1341
  })], 16, _hoisted_7)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1270
1342
  key: 1,
1271
- id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1343
+ id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1272
1344
  style: {
1273
1345
  height: itemSize ? itemSize + 'px' : undefined
1274
1346
  },