primevue 3.46.0 → 3.47.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 (738) hide show
  1. package/README.md +2 -2
  2. package/api/api.cjs.js +6 -6
  3. package/api/api.cjs.min.js +1 -1
  4. package/api/api.esm.js +6 -6
  5. package/api/api.esm.min.js +1 -1
  6. package/api/api.js +6 -6
  7. package/api/api.min.js +1 -1
  8. package/autocomplete/AutoComplete.d.ts +6 -1
  9. package/autocomplete/AutoComplete.vue +24 -15
  10. package/autocomplete/BaseAutoComplete.vue +5 -1
  11. package/autocomplete/autocomplete.cjs.js +29 -18
  12. package/autocomplete/autocomplete.cjs.min.js +1 -1
  13. package/autocomplete/autocomplete.esm.js +29 -18
  14. package/autocomplete/autocomplete.esm.min.js +1 -1
  15. package/autocomplete/autocomplete.js +29 -18
  16. package/autocomplete/autocomplete.min.js +1 -1
  17. package/basecomponent/basecomponent.cjs.js +1 -3
  18. package/basecomponent/basecomponent.cjs.min.js +1 -1
  19. package/basecomponent/basecomponent.esm.js +1 -3
  20. package/basecomponent/basecomponent.esm.min.js +1 -1
  21. package/basecomponent/basecomponent.js +1 -3
  22. package/basecomponent/basecomponent.min.js +1 -1
  23. package/basecomponent/style/basecomponentstyle.cjs.js +1 -3
  24. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
  25. package/basecomponent/style/basecomponentstyle.esm.js +1 -3
  26. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
  27. package/basecomponent/style/basecomponentstyle.js +1 -3
  28. package/basecomponent/style/basecomponentstyle.min.js +1 -1
  29. package/basedirective/basedirective.cjs.js +11 -2
  30. package/basedirective/basedirective.cjs.min.js +1 -1
  31. package/basedirective/basedirective.esm.js +11 -2
  32. package/basedirective/basedirective.esm.min.js +1 -1
  33. package/basedirective/basedirective.js +11 -2
  34. package/basedirective/basedirective.min.js +1 -1
  35. package/baseicon/BaseIcon.vue +6 -1
  36. package/baseicon/baseicon.cjs.js +5 -0
  37. package/baseicon/baseicon.cjs.min.js +1 -1
  38. package/baseicon/baseicon.esm.js +6 -1
  39. package/baseicon/baseicon.esm.min.js +1 -1
  40. package/baseicon/baseicon.js +5 -0
  41. package/baseicon/baseicon.min.js +1 -1
  42. package/calendar/Calendar.d.ts +53 -2
  43. package/calendar/Calendar.vue +12 -0
  44. package/calendar/calendar.cjs.js +12 -0
  45. package/calendar/calendar.cjs.min.js +1 -1
  46. package/calendar/calendar.esm.js +12 -0
  47. package/calendar/calendar.esm.min.js +1 -1
  48. package/calendar/calendar.js +12 -0
  49. package/calendar/calendar.min.js +1 -1
  50. package/cascadeselect/BaseCascadeSelect.vue +5 -1
  51. package/cascadeselect/CascadeSelect.d.ts +6 -1
  52. package/cascadeselect/CascadeSelect.vue +56 -35
  53. package/cascadeselect/CascadeSelectSub.vue +9 -2
  54. package/cascadeselect/cascadeselect.cjs.js +99 -52
  55. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  56. package/cascadeselect/cascadeselect.esm.js +99 -52
  57. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  58. package/cascadeselect/cascadeselect.js +99 -52
  59. package/cascadeselect/cascadeselect.min.js +1 -1
  60. package/checkbox/BaseCheckbox.vue +0 -4
  61. package/checkbox/Checkbox.d.ts +17 -34
  62. package/checkbox/Checkbox.vue +24 -35
  63. package/checkbox/checkbox.cjs.js +21 -49
  64. package/checkbox/checkbox.cjs.min.js +1 -1
  65. package/checkbox/checkbox.esm.js +21 -49
  66. package/checkbox/checkbox.esm.min.js +1 -1
  67. package/checkbox/checkbox.js +21 -49
  68. package/checkbox/checkbox.min.js +1 -1
  69. package/checkbox/style/checkboxstyle.cjs.js +5 -11
  70. package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
  71. package/checkbox/style/checkboxstyle.esm.js +5 -11
  72. package/checkbox/style/checkboxstyle.esm.min.js +1 -1
  73. package/checkbox/style/checkboxstyle.js +5 -11
  74. package/checkbox/style/checkboxstyle.min.js +1 -1
  75. package/chips/Chips.vue +2 -1
  76. package/chips/chips.cjs.js +2 -1
  77. package/chips/chips.cjs.min.js +1 -1
  78. package/chips/chips.esm.js +2 -1
  79. package/chips/chips.esm.min.js +1 -1
  80. package/chips/chips.js +2 -1
  81. package/chips/chips.min.js +1 -1
  82. package/column/Column.d.ts +11 -44
  83. package/confirmpopup/ConfirmPopup.vue +1 -1
  84. package/confirmpopup/confirmpopup.cjs.js +1 -1
  85. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  86. package/confirmpopup/confirmpopup.esm.js +1 -1
  87. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  88. package/confirmpopup/confirmpopup.js +1 -1
  89. package/confirmpopup/confirmpopup.min.js +1 -1
  90. package/contextmenu/ContextMenu.vue +8 -8
  91. package/contextmenu/contextmenu.cjs.js +7 -6
  92. package/contextmenu/contextmenu.cjs.min.js +1 -1
  93. package/contextmenu/contextmenu.esm.js +7 -6
  94. package/contextmenu/contextmenu.esm.min.js +1 -1
  95. package/contextmenu/contextmenu.js +7 -6
  96. package/contextmenu/contextmenu.min.js +1 -1
  97. package/core/core.js +918 -628
  98. package/core/core.min.js +63 -55
  99. package/datatable/BaseDataTable.vue +4 -0
  100. package/datatable/BodyCell.vue +11 -1
  101. package/datatable/BodyRow.vue +5 -2
  102. package/datatable/ColumnFilter.vue +5 -2
  103. package/datatable/DataTable.d.ts +5 -0
  104. package/datatable/DataTable.vue +2 -2
  105. package/datatable/HeaderCell.vue +2 -1
  106. package/datatable/HeaderCheckbox.vue +14 -42
  107. package/datatable/RowCheckbox.vue +10 -52
  108. package/datatable/RowRadioButton.vue +11 -32
  109. package/datatable/TableHeader.vue +3 -1
  110. package/datatable/datatable.cjs.js +110 -193
  111. package/datatable/datatable.cjs.min.js +1 -1
  112. package/datatable/datatable.esm.js +109 -194
  113. package/datatable/datatable.esm.min.js +1 -1
  114. package/datatable/datatable.js +110 -195
  115. package/datatable/datatable.min.js +1 -1
  116. package/datatable/style/datatablestyle.cjs.js +23 -72
  117. package/datatable/style/datatablestyle.cjs.min.js +1 -1
  118. package/datatable/style/datatablestyle.esm.js +23 -72
  119. package/datatable/style/datatablestyle.esm.min.js +1 -1
  120. package/datatable/style/datatablestyle.js +23 -72
  121. package/datatable/style/datatablestyle.min.js +1 -1
  122. package/dialog/style/dialogstyle.cjs.js +1 -1
  123. package/dialog/style/dialogstyle.cjs.min.js +1 -1
  124. package/dialog/style/dialogstyle.esm.js +1 -1
  125. package/dialog/style/dialogstyle.esm.min.js +1 -1
  126. package/dialog/style/dialogstyle.js +1 -1
  127. package/dialog/style/dialogstyle.min.js +1 -1
  128. package/dropdown/BaseDropdown.vue +17 -1
  129. package/dropdown/Dropdown.d.ts +37 -1
  130. package/dropdown/Dropdown.vue +68 -40
  131. package/dropdown/dropdown.cjs.js +95 -45
  132. package/dropdown/dropdown.cjs.min.js +1 -1
  133. package/dropdown/dropdown.esm.js +93 -45
  134. package/dropdown/dropdown.esm.min.js +1 -1
  135. package/dropdown/dropdown.js +95 -47
  136. package/dropdown/dropdown.min.js +1 -1
  137. package/dropdown/style/dropdownstyle.cjs.js +7 -2
  138. package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
  139. package/dropdown/style/dropdownstyle.esm.js +7 -2
  140. package/dropdown/style/dropdownstyle.esm.min.js +1 -1
  141. package/dropdown/style/dropdownstyle.js +7 -2
  142. package/dropdown/style/dropdownstyle.min.js +1 -1
  143. package/focustrap/focustrap.cjs.js +15 -2
  144. package/focustrap/focustrap.cjs.min.js +1 -1
  145. package/focustrap/focustrap.esm.js +15 -2
  146. package/focustrap/focustrap.esm.min.js +1 -1
  147. package/focustrap/focustrap.js +15 -2
  148. package/focustrap/focustrap.min.js +1 -1
  149. package/icons/arrowdown/index.cjs.js +3 -9
  150. package/icons/arrowdown/index.cjs.min.js +1 -1
  151. package/icons/arrowdown/index.esm.js +3 -9
  152. package/icons/arrowdown/index.esm.min.js +1 -1
  153. package/icons/arrowdown/index.js +5 -10
  154. package/icons/arrowdown/index.min.js +1 -1
  155. package/icons/arrowdown/index.vue +1 -7
  156. package/icons/arrowup/index.cjs.js +3 -9
  157. package/icons/arrowup/index.cjs.min.js +1 -1
  158. package/icons/arrowup/index.esm.js +3 -9
  159. package/icons/arrowup/index.esm.min.js +1 -1
  160. package/icons/arrowup/index.js +5 -10
  161. package/icons/arrowup/index.min.js +1 -1
  162. package/icons/arrowup/index.vue +1 -7
  163. package/icons/ban/index.cjs.js +3 -9
  164. package/icons/ban/index.cjs.min.js +1 -1
  165. package/icons/ban/index.esm.js +3 -9
  166. package/icons/ban/index.esm.min.js +1 -1
  167. package/icons/ban/index.js +5 -10
  168. package/icons/ban/index.min.js +1 -1
  169. package/icons/ban/index.vue +1 -7
  170. package/icons/blank/index.cjs.js +34 -0
  171. package/icons/blank/index.cjs.min.js +1 -0
  172. package/icons/blank/index.d.ts +12 -0
  173. package/icons/blank/index.esm.js +28 -0
  174. package/icons/blank/index.esm.min.js +1 -0
  175. package/icons/blank/index.js +36 -0
  176. package/icons/blank/index.min.js +1 -0
  177. package/icons/blank/index.vue +13 -0
  178. package/icons/blank/package.json +9 -0
  179. package/icons/exclamationtriangle/index.cjs.js +3 -9
  180. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  181. package/icons/exclamationtriangle/index.esm.js +3 -9
  182. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  183. package/icons/exclamationtriangle/index.js +5 -10
  184. package/icons/exclamationtriangle/index.min.js +1 -1
  185. package/icons/exclamationtriangle/index.vue +1 -7
  186. package/icons/eyeslash/index.cjs.js +3 -9
  187. package/icons/eyeslash/index.cjs.min.js +1 -1
  188. package/icons/eyeslash/index.esm.js +3 -9
  189. package/icons/eyeslash/index.esm.min.js +1 -1
  190. package/icons/eyeslash/index.js +5 -10
  191. package/icons/eyeslash/index.min.js +1 -1
  192. package/icons/eyeslash/index.vue +1 -7
  193. package/icons/filter/index.cjs.js +3 -9
  194. package/icons/filter/index.cjs.min.js +1 -1
  195. package/icons/filter/index.esm.js +3 -9
  196. package/icons/filter/index.esm.min.js +1 -1
  197. package/icons/filter/index.js +5 -10
  198. package/icons/filter/index.min.js +1 -1
  199. package/icons/filter/index.vue +1 -7
  200. package/icons/filterslash/index.cjs.js +3 -9
  201. package/icons/filterslash/index.cjs.min.js +1 -1
  202. package/icons/filterslash/index.esm.js +3 -9
  203. package/icons/filterslash/index.esm.min.js +1 -1
  204. package/icons/filterslash/index.js +5 -10
  205. package/icons/filterslash/index.min.js +1 -1
  206. package/icons/filterslash/index.vue +1 -7
  207. package/icons/infocircle/index.cjs.js +3 -9
  208. package/icons/infocircle/index.cjs.min.js +1 -1
  209. package/icons/infocircle/index.esm.js +3 -9
  210. package/icons/infocircle/index.esm.min.js +1 -1
  211. package/icons/infocircle/index.js +5 -10
  212. package/icons/infocircle/index.min.js +1 -1
  213. package/icons/infocircle/index.vue +1 -7
  214. package/icons/pencil/index.cjs.js +3 -9
  215. package/icons/pencil/index.cjs.min.js +1 -1
  216. package/icons/pencil/index.esm.js +3 -9
  217. package/icons/pencil/index.esm.min.js +1 -1
  218. package/icons/pencil/index.js +5 -10
  219. package/icons/pencil/index.min.js +1 -1
  220. package/icons/pencil/index.vue +1 -7
  221. package/icons/plus/index.cjs.js +3 -9
  222. package/icons/plus/index.cjs.min.js +1 -1
  223. package/icons/plus/index.esm.js +3 -9
  224. package/icons/plus/index.esm.min.js +1 -1
  225. package/icons/plus/index.js +5 -10
  226. package/icons/plus/index.min.js +1 -1
  227. package/icons/plus/index.vue +1 -7
  228. package/icons/refresh/index.cjs.js +3 -9
  229. package/icons/refresh/index.cjs.min.js +1 -1
  230. package/icons/refresh/index.esm.js +3 -9
  231. package/icons/refresh/index.esm.min.js +1 -1
  232. package/icons/refresh/index.js +5 -10
  233. package/icons/refresh/index.min.js +1 -1
  234. package/icons/refresh/index.vue +1 -7
  235. package/icons/search/index.cjs.js +3 -9
  236. package/icons/search/index.cjs.min.js +1 -1
  237. package/icons/search/index.esm.js +3 -9
  238. package/icons/search/index.esm.min.js +1 -1
  239. package/icons/search/index.js +5 -10
  240. package/icons/search/index.min.js +1 -1
  241. package/icons/search/index.vue +1 -7
  242. package/icons/searchminus/index.cjs.js +3 -9
  243. package/icons/searchminus/index.cjs.min.js +1 -1
  244. package/icons/searchminus/index.esm.js +3 -9
  245. package/icons/searchminus/index.esm.min.js +1 -1
  246. package/icons/searchminus/index.js +5 -10
  247. package/icons/searchminus/index.min.js +1 -1
  248. package/icons/searchminus/index.vue +1 -7
  249. package/icons/searchplus/index.cjs.js +3 -9
  250. package/icons/searchplus/index.cjs.min.js +1 -1
  251. package/icons/searchplus/index.esm.js +3 -9
  252. package/icons/searchplus/index.esm.min.js +1 -1
  253. package/icons/searchplus/index.js +5 -10
  254. package/icons/searchplus/index.min.js +1 -1
  255. package/icons/searchplus/index.vue +1 -7
  256. package/icons/sortalt/index.cjs.js +3 -9
  257. package/icons/sortalt/index.cjs.min.js +1 -1
  258. package/icons/sortalt/index.esm.js +3 -9
  259. package/icons/sortalt/index.esm.min.js +1 -1
  260. package/icons/sortalt/index.js +5 -10
  261. package/icons/sortalt/index.min.js +1 -1
  262. package/icons/sortalt/index.vue +1 -7
  263. package/icons/sortamountdown/index.cjs.js +3 -9
  264. package/icons/sortamountdown/index.cjs.min.js +1 -1
  265. package/icons/sortamountdown/index.esm.js +3 -9
  266. package/icons/sortamountdown/index.esm.min.js +1 -1
  267. package/icons/sortamountdown/index.js +5 -10
  268. package/icons/sortamountdown/index.min.js +1 -1
  269. package/icons/sortamountdown/index.vue +1 -7
  270. package/icons/sortamountupalt/index.cjs.js +3 -9
  271. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  272. package/icons/sortamountupalt/index.esm.js +3 -9
  273. package/icons/sortamountupalt/index.esm.min.js +1 -1
  274. package/icons/sortamountupalt/index.js +5 -10
  275. package/icons/sortamountupalt/index.min.js +1 -1
  276. package/icons/sortamountupalt/index.vue +1 -7
  277. package/icons/spinner/index.cjs.js +3 -9
  278. package/icons/spinner/index.cjs.min.js +1 -1
  279. package/icons/spinner/index.esm.js +3 -9
  280. package/icons/spinner/index.esm.min.js +1 -1
  281. package/icons/spinner/index.js +5 -10
  282. package/icons/spinner/index.min.js +1 -1
  283. package/icons/spinner/index.vue +1 -7
  284. package/icons/star/index.cjs.js +3 -9
  285. package/icons/star/index.cjs.min.js +1 -1
  286. package/icons/star/index.esm.js +3 -9
  287. package/icons/star/index.esm.min.js +1 -1
  288. package/icons/star/index.js +5 -10
  289. package/icons/star/index.min.js +1 -1
  290. package/icons/star/index.vue +1 -7
  291. package/icons/starfill/index.cjs.js +3 -9
  292. package/icons/starfill/index.cjs.min.js +1 -1
  293. package/icons/starfill/index.esm.js +3 -9
  294. package/icons/starfill/index.esm.min.js +1 -1
  295. package/icons/starfill/index.js +5 -10
  296. package/icons/starfill/index.min.js +1 -1
  297. package/icons/starfill/index.vue +1 -7
  298. package/icons/thlarge/index.cjs.js +3 -9
  299. package/icons/thlarge/index.cjs.min.js +1 -1
  300. package/icons/thlarge/index.esm.js +3 -9
  301. package/icons/thlarge/index.esm.min.js +1 -1
  302. package/icons/thlarge/index.js +5 -10
  303. package/icons/thlarge/index.min.js +1 -1
  304. package/icons/thlarge/index.vue +1 -7
  305. package/icons/timescircle/index.cjs.js +3 -9
  306. package/icons/timescircle/index.cjs.min.js +1 -1
  307. package/icons/timescircle/index.esm.js +3 -9
  308. package/icons/timescircle/index.esm.min.js +1 -1
  309. package/icons/timescircle/index.js +5 -10
  310. package/icons/timescircle/index.min.js +1 -1
  311. package/icons/timescircle/index.vue +1 -7
  312. package/icons/trash/index.cjs.js +3 -9
  313. package/icons/trash/index.cjs.min.js +1 -1
  314. package/icons/trash/index.esm.js +3 -9
  315. package/icons/trash/index.esm.min.js +1 -1
  316. package/icons/trash/index.js +5 -10
  317. package/icons/trash/index.min.js +1 -1
  318. package/icons/trash/index.vue +1 -7
  319. package/icons/undo/index.cjs.js +3 -9
  320. package/icons/undo/index.cjs.min.js +1 -1
  321. package/icons/undo/index.esm.js +3 -9
  322. package/icons/undo/index.esm.min.js +1 -1
  323. package/icons/undo/index.js +5 -10
  324. package/icons/undo/index.min.js +1 -1
  325. package/icons/undo/index.vue +1 -7
  326. package/icons/upload/index.cjs.js +3 -9
  327. package/icons/upload/index.cjs.min.js +1 -1
  328. package/icons/upload/index.esm.js +3 -9
  329. package/icons/upload/index.esm.min.js +1 -1
  330. package/icons/upload/index.js +5 -10
  331. package/icons/upload/index.min.js +1 -1
  332. package/icons/upload/index.vue +1 -7
  333. package/icons/windowmaximize/index.cjs.js +3 -9
  334. package/icons/windowmaximize/index.cjs.min.js +1 -1
  335. package/icons/windowmaximize/index.esm.js +3 -9
  336. package/icons/windowmaximize/index.esm.min.js +1 -1
  337. package/icons/windowmaximize/index.js +5 -10
  338. package/icons/windowmaximize/index.min.js +1 -1
  339. package/icons/windowmaximize/index.vue +1 -7
  340. package/icons/windowminimize/index.cjs.js +3 -9
  341. package/icons/windowminimize/index.cjs.min.js +1 -1
  342. package/icons/windowminimize/index.esm.js +3 -9
  343. package/icons/windowminimize/index.esm.min.js +1 -1
  344. package/icons/windowminimize/index.js +5 -10
  345. package/icons/windowminimize/index.min.js +1 -1
  346. package/icons/windowminimize/index.vue +1 -7
  347. package/inputnumber/InputNumber.vue +18 -9
  348. package/inputnumber/inputnumber.cjs.js +14 -6
  349. package/inputnumber/inputnumber.cjs.min.js +1 -1
  350. package/inputnumber/inputnumber.esm.js +15 -7
  351. package/inputnumber/inputnumber.esm.min.js +1 -1
  352. package/inputnumber/inputnumber.js +14 -6
  353. package/inputnumber/inputnumber.min.js +1 -1
  354. package/inputswitch/BaseInputSwitch.vue +8 -4
  355. package/inputswitch/InputSwitch.d.ts +41 -20
  356. package/inputswitch/InputSwitch.vue +31 -33
  357. package/inputswitch/inputswitch.cjs.js +38 -42
  358. package/inputswitch/inputswitch.cjs.min.js +1 -1
  359. package/inputswitch/inputswitch.esm.js +38 -42
  360. package/inputswitch/inputswitch.esm.min.js +1 -1
  361. package/inputswitch/inputswitch.js +38 -42
  362. package/inputswitch/inputswitch.min.js +1 -1
  363. package/inputswitch/style/inputswitchstyle.cjs.js +4 -4
  364. package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
  365. package/inputswitch/style/inputswitchstyle.esm.js +4 -4
  366. package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
  367. package/inputswitch/style/inputswitchstyle.js +4 -4
  368. package/inputswitch/style/inputswitchstyle.min.js +1 -1
  369. package/listbox/BaseListbox.vue +4 -0
  370. package/listbox/Listbox.d.ts +6 -1
  371. package/listbox/Listbox.vue +47 -26
  372. package/listbox/listbox.cjs.js +88 -50
  373. package/listbox/listbox.cjs.min.js +1 -1
  374. package/listbox/listbox.esm.js +88 -50
  375. package/listbox/listbox.esm.min.js +1 -1
  376. package/listbox/listbox.js +88 -50
  377. package/listbox/listbox.min.js +1 -1
  378. package/listbox/style/listboxstyle.cjs.js +2 -3
  379. package/listbox/style/listboxstyle.cjs.min.js +1 -1
  380. package/listbox/style/listboxstyle.esm.js +2 -3
  381. package/listbox/style/listboxstyle.esm.min.js +1 -1
  382. package/listbox/style/listboxstyle.js +2 -3
  383. package/listbox/style/listboxstyle.min.js +1 -1
  384. package/megamenu/MegaMenu.vue +1 -1
  385. package/megamenu/megamenu.cjs.js +2 -1
  386. package/megamenu/megamenu.cjs.min.js +1 -1
  387. package/megamenu/megamenu.esm.js +2 -1
  388. package/megamenu/megamenu.esm.min.js +1 -1
  389. package/megamenu/megamenu.js +2 -1
  390. package/megamenu/megamenu.min.js +1 -1
  391. package/menubar/Menubar.vue +1 -1
  392. package/menubar/menubar.cjs.js +2 -1
  393. package/menubar/menubar.cjs.min.js +1 -1
  394. package/menubar/menubar.esm.js +2 -1
  395. package/menubar/menubar.esm.min.js +1 -1
  396. package/menubar/menubar.js +2 -1
  397. package/menubar/menubar.min.js +1 -1
  398. package/message/Message.d.ts +4 -0
  399. package/message/Message.vue +2 -1
  400. package/message/message.cjs.js +2 -1
  401. package/message/message.cjs.min.js +1 -1
  402. package/message/message.esm.js +2 -1
  403. package/message/message.esm.min.js +1 -1
  404. package/message/message.js +2 -1
  405. package/message/message.min.js +1 -1
  406. package/metergroup/BaseMeterGroup.vue +41 -0
  407. package/metergroup/MeterGroup.d.ts +302 -0
  408. package/metergroup/MeterGroup.vue +73 -0
  409. package/metergroup/MeterGroupLabel.vue +36 -0
  410. package/metergroup/metergroup.cjs.js +218 -0
  411. package/metergroup/metergroup.cjs.min.js +1 -0
  412. package/metergroup/metergroup.esm.js +211 -0
  413. package/metergroup/metergroup.esm.min.js +1 -0
  414. package/metergroup/metergroup.js +218 -0
  415. package/metergroup/metergroup.min.js +1 -0
  416. package/metergroup/package.json +9 -0
  417. package/metergroup/style/MeterGroupStyle.d.ts +3 -0
  418. package/metergroup/style/metergroupstyle.cjs.js +40 -0
  419. package/metergroup/style/metergroupstyle.cjs.min.js +1 -0
  420. package/metergroup/style/metergroupstyle.esm.js +34 -0
  421. package/metergroup/style/metergroupstyle.esm.min.js +1 -0
  422. package/metergroup/style/metergroupstyle.js +43 -0
  423. package/metergroup/style/metergroupstyle.min.js +1 -0
  424. package/metergroup/style/package.json +6 -0
  425. package/multiselect/BaseMultiSelect.vue +9 -1
  426. package/multiselect/MultiSelect.d.ts +13 -19
  427. package/multiselect/MultiSelect.vue +108 -76
  428. package/multiselect/multiselect.cjs.js +173 -133
  429. package/multiselect/multiselect.cjs.min.js +1 -1
  430. package/multiselect/multiselect.esm.js +173 -134
  431. package/multiselect/multiselect.esm.min.js +1 -1
  432. package/multiselect/multiselect.js +174 -135
  433. package/multiselect/multiselect.min.js +1 -1
  434. package/multiselect/style/multiselectstyle.cjs.js +7 -30
  435. package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
  436. package/multiselect/style/multiselectstyle.esm.js +7 -30
  437. package/multiselect/style/multiselectstyle.esm.min.js +1 -1
  438. package/multiselect/style/multiselectstyle.js +7 -30
  439. package/multiselect/style/multiselectstyle.min.js +1 -1
  440. package/orderlist/BaseOrderList.vue +8 -0
  441. package/orderlist/OrderList.d.ts +10 -0
  442. package/orderlist/OrderList.vue +72 -52
  443. package/orderlist/orderlist.cjs.js +79 -56
  444. package/orderlist/orderlist.cjs.min.js +1 -1
  445. package/orderlist/orderlist.esm.js +79 -56
  446. package/orderlist/orderlist.esm.min.js +1 -1
  447. package/orderlist/orderlist.js +79 -56
  448. package/orderlist/orderlist.min.js +1 -1
  449. package/orderlist/style/orderliststyle.cjs.js +1 -1
  450. package/orderlist/style/orderliststyle.cjs.min.js +1 -1
  451. package/orderlist/style/orderliststyle.esm.js +1 -1
  452. package/orderlist/style/orderliststyle.esm.min.js +1 -1
  453. package/orderlist/style/orderliststyle.js +1 -1
  454. package/orderlist/style/orderliststyle.min.js +1 -1
  455. package/overlaypanel/OverlayPanel.d.ts +4 -0
  456. package/overlaypanel/OverlayPanel.vue +1 -1
  457. package/overlaypanel/overlaypanel.cjs.js +1 -1
  458. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  459. package/overlaypanel/overlaypanel.esm.js +1 -1
  460. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  461. package/overlaypanel/overlaypanel.js +1 -1
  462. package/overlaypanel/overlaypanel.min.js +1 -1
  463. package/package.json +1 -1
  464. package/panelmenu/PanelMenuList.vue +1 -1
  465. package/panelmenu/panelmenu.cjs.js +2 -1
  466. package/panelmenu/panelmenu.cjs.min.js +1 -1
  467. package/panelmenu/panelmenu.esm.js +2 -1
  468. package/panelmenu/panelmenu.esm.min.js +1 -1
  469. package/panelmenu/panelmenu.js +2 -1
  470. package/panelmenu/panelmenu.min.js +1 -1
  471. package/picklist/BasePickList.vue +8 -0
  472. package/picklist/PickList.d.ts +10 -0
  473. package/picklist/PickList.vue +72 -37
  474. package/picklist/picklist.cjs.js +81 -46
  475. package/picklist/picklist.cjs.min.js +1 -1
  476. package/picklist/picklist.esm.js +81 -46
  477. package/picklist/picklist.esm.min.js +1 -1
  478. package/picklist/picklist.js +81 -46
  479. package/picklist/picklist.min.js +1 -1
  480. package/progressbar/ProgressBar.vue +1 -1
  481. package/progressbar/progressbar.cjs.js +3 -1
  482. package/progressbar/progressbar.cjs.min.js +1 -1
  483. package/progressbar/progressbar.esm.js +3 -1
  484. package/progressbar/progressbar.esm.min.js +1 -1
  485. package/progressbar/progressbar.js +3 -1
  486. package/progressbar/progressbar.min.js +1 -1
  487. package/radiobutton/BaseRadioButton.vue +9 -4
  488. package/radiobutton/RadioButton.d.ts +48 -22
  489. package/radiobutton/RadioButton.vue +36 -23
  490. package/radiobutton/radiobutton.cjs.js +42 -50
  491. package/radiobutton/radiobutton.cjs.min.js +1 -1
  492. package/radiobutton/radiobutton.esm.js +42 -50
  493. package/radiobutton/radiobutton.esm.min.js +1 -1
  494. package/radiobutton/radiobutton.js +42 -50
  495. package/radiobutton/radiobutton.min.js +1 -1
  496. package/radiobutton/style/radiobuttonstyle.cjs.js +5 -11
  497. package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
  498. package/radiobutton/style/radiobuttonstyle.esm.js +5 -11
  499. package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
  500. package/radiobutton/style/radiobuttonstyle.js +5 -11
  501. package/radiobutton/style/radiobuttonstyle.min.js +1 -1
  502. package/resources/themes/arya-blue/theme.css +432 -351
  503. package/resources/themes/arya-green/theme.css +432 -351
  504. package/resources/themes/arya-orange/theme.css +432 -351
  505. package/resources/themes/arya-purple/theme.css +432 -351
  506. package/resources/themes/aura-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  507. package/resources/themes/aura-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  508. package/resources/themes/aura-dark-amber/theme.css +7012 -0
  509. package/resources/themes/aura-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  510. package/resources/themes/aura-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  511. package/resources/themes/aura-dark-blue/theme.css +7012 -0
  512. package/resources/themes/aura-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  513. package/resources/themes/aura-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  514. package/resources/themes/aura-dark-cyan/theme.css +7012 -0
  515. package/resources/themes/aura-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  516. package/resources/themes/aura-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  517. package/resources/themes/aura-dark-green/theme.css +7012 -0
  518. package/resources/themes/aura-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  519. package/resources/themes/aura-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  520. package/resources/themes/aura-dark-indigo/theme.css +7012 -0
  521. package/resources/themes/aura-dark-lime/fonts/Inter-italic.var.woff2 +0 -0
  522. package/resources/themes/aura-dark-lime/fonts/Inter-roman.var.woff2 +0 -0
  523. package/resources/themes/aura-dark-lime/theme.css +7012 -0
  524. package/resources/themes/aura-dark-noir/fonts/Inter-italic.var.woff2 +0 -0
  525. package/resources/themes/aura-dark-noir/fonts/Inter-roman.var.woff2 +0 -0
  526. package/resources/themes/aura-dark-noir/theme.css +7012 -0
  527. package/resources/themes/aura-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  528. package/resources/themes/aura-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  529. package/resources/themes/aura-dark-pink/theme.css +7012 -0
  530. package/resources/themes/aura-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  531. package/resources/themes/aura-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  532. package/resources/themes/aura-dark-purple/theme.css +7012 -0
  533. package/resources/themes/aura-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  534. package/resources/themes/aura-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  535. package/resources/themes/aura-dark-teal/theme.css +7012 -0
  536. package/resources/themes/aura-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  537. package/resources/themes/aura-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  538. package/resources/themes/aura-light-amber/theme.css +7014 -0
  539. package/resources/themes/aura-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  540. package/resources/themes/aura-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  541. package/resources/themes/aura-light-blue/theme.css +7014 -0
  542. package/resources/themes/aura-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  543. package/resources/themes/aura-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  544. package/resources/themes/aura-light-cyan/theme.css +7014 -0
  545. package/resources/themes/aura-light-green/fonts/Inter-italic.var.woff2 +0 -0
  546. package/resources/themes/aura-light-green/fonts/Inter-roman.var.woff2 +0 -0
  547. package/resources/themes/aura-light-green/theme.css +7014 -0
  548. package/resources/themes/aura-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  549. package/resources/themes/aura-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  550. package/resources/themes/aura-light-indigo/theme.css +7014 -0
  551. package/resources/themes/aura-light-lime/fonts/Inter-italic.var.woff2 +0 -0
  552. package/resources/themes/aura-light-lime/fonts/Inter-roman.var.woff2 +0 -0
  553. package/resources/themes/aura-light-lime/theme.css +7014 -0
  554. package/resources/themes/aura-light-noir/fonts/Inter-italic.var.woff2 +0 -0
  555. package/resources/themes/aura-light-noir/fonts/Inter-roman.var.woff2 +0 -0
  556. package/resources/themes/aura-light-noir/theme.css +7022 -0
  557. package/resources/themes/aura-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  558. package/resources/themes/aura-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  559. package/resources/themes/aura-light-pink/theme.css +7014 -0
  560. package/resources/themes/aura-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  561. package/resources/themes/aura-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  562. package/resources/themes/aura-light-purple/theme.css +7014 -0
  563. package/resources/themes/aura-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  564. package/resources/themes/aura-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  565. package/resources/themes/aura-light-teal/theme.css +7014 -0
  566. package/resources/themes/bootstrap4-dark-blue/theme.css +533 -403
  567. package/resources/themes/bootstrap4-dark-purple/theme.css +533 -403
  568. package/resources/themes/bootstrap4-light-blue/theme.css +533 -403
  569. package/resources/themes/bootstrap4-light-purple/theme.css +533 -403
  570. package/resources/themes/fluent-light/theme.css +431 -350
  571. package/resources/themes/lara-dark-amber/theme.css +534 -404
  572. package/resources/themes/lara-dark-blue/theme.css +534 -404
  573. package/resources/themes/lara-dark-cyan/theme.css +534 -404
  574. package/resources/themes/lara-dark-green/theme.css +534 -404
  575. package/resources/themes/lara-dark-indigo/theme.css +534 -404
  576. package/resources/themes/lara-dark-pink/theme.css +534 -404
  577. package/resources/themes/lara-dark-purple/theme.css +534 -404
  578. package/resources/themes/lara-dark-teal/theme.css +534 -404
  579. package/resources/themes/lara-light-amber/theme.css +535 -405
  580. package/resources/themes/lara-light-blue/theme.css +535 -405
  581. package/resources/themes/lara-light-cyan/theme.css +535 -405
  582. package/resources/themes/lara-light-green/theme.css +535 -405
  583. package/resources/themes/lara-light-indigo/theme.css +535 -405
  584. package/resources/themes/lara-light-pink/theme.css +535 -405
  585. package/resources/themes/lara-light-purple/theme.css +535 -405
  586. package/resources/themes/lara-light-teal/theme.css +535 -405
  587. package/resources/themes/luna-amber/theme.css +432 -351
  588. package/resources/themes/luna-blue/theme.css +432 -351
  589. package/resources/themes/luna-green/theme.css +432 -351
  590. package/resources/themes/luna-pink/theme.css +432 -351
  591. package/resources/themes/md-dark-deeppurple/theme.css +696 -431
  592. package/resources/themes/md-dark-indigo/theme.css +696 -431
  593. package/resources/themes/md-light-deeppurple/theme.css +700 -435
  594. package/resources/themes/md-light-indigo/theme.css +700 -435
  595. package/resources/themes/mdc-dark-deeppurple/theme.css +696 -431
  596. package/resources/themes/mdc-dark-indigo/theme.css +696 -431
  597. package/resources/themes/mdc-light-deeppurple/theme.css +700 -435
  598. package/resources/themes/mdc-light-indigo/theme.css +700 -435
  599. package/resources/themes/mira/theme.css +486 -405
  600. package/resources/themes/nano/theme.css +432 -351
  601. package/resources/themes/nova/theme.css +432 -351
  602. package/resources/themes/nova-accent/theme.css +432 -351
  603. package/resources/themes/nova-alt/theme.css +432 -351
  604. package/resources/themes/nova-vue/theme.css +432 -351
  605. package/resources/themes/rhea/theme.css +432 -351
  606. package/resources/themes/saga-blue/theme.css +432 -351
  607. package/resources/themes/saga-green/theme.css +432 -351
  608. package/resources/themes/saga-orange/theme.css +432 -351
  609. package/resources/themes/saga-purple/theme.css +432 -351
  610. package/resources/themes/soho-dark/theme.css +534 -404
  611. package/resources/themes/soho-light/theme.css +534 -404
  612. package/resources/themes/tailwind-light/theme.css +432 -351
  613. package/resources/themes/vela-blue/theme.css +432 -351
  614. package/resources/themes/vela-green/theme.css +432 -351
  615. package/resources/themes/vela-orange/theme.css +432 -351
  616. package/resources/themes/vela-purple/theme.css +432 -351
  617. package/resources/themes/viva-dark/theme.css +535 -405
  618. package/resources/themes/viva-light/theme.css +535 -405
  619. package/slider/Slider.vue +0 -1
  620. package/slider/slider.cjs.js +0 -1
  621. package/slider/slider.cjs.min.js +1 -1
  622. package/slider/slider.esm.js +0 -1
  623. package/slider/slider.esm.min.js +1 -1
  624. package/slider/slider.js +0 -1
  625. package/slider/slider.min.js +1 -1
  626. package/speeddial/SpeedDial.vue +2 -2
  627. package/speeddial/speeddial.cjs.js +2 -2
  628. package/speeddial/speeddial.cjs.min.js +1 -1
  629. package/speeddial/speeddial.esm.js +2 -2
  630. package/speeddial/speeddial.esm.min.js +1 -1
  631. package/speeddial/speeddial.js +2 -2
  632. package/speeddial/speeddial.min.js +1 -1
  633. package/splitbutton/style/splitbuttonstyle.cjs.js +8 -5
  634. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
  635. package/splitbutton/style/splitbuttonstyle.esm.js +8 -5
  636. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
  637. package/splitbutton/style/splitbuttonstyle.js +8 -5
  638. package/splitbutton/style/splitbuttonstyle.min.js +1 -1
  639. package/tabview/TabView.vue +2 -3
  640. package/tabview/tabview.cjs.js +3 -3
  641. package/tabview/tabview.cjs.min.js +1 -1
  642. package/tabview/tabview.esm.js +3 -3
  643. package/tabview/tabview.esm.min.js +1 -1
  644. package/tabview/tabview.js +3 -3
  645. package/tabview/tabview.min.js +1 -1
  646. package/tag/Tag.vue +1 -1
  647. package/tag/tag.cjs.js +4 -2
  648. package/tag/tag.cjs.min.js +1 -1
  649. package/tag/tag.esm.js +4 -2
  650. package/tag/tag.esm.min.js +1 -1
  651. package/tag/tag.js +4 -2
  652. package/tag/tag.min.js +1 -1
  653. package/textarea/Textarea.d.ts +2 -2
  654. package/tieredmenu/TieredMenu.vue +1 -1
  655. package/tieredmenu/tieredmenu.cjs.js +2 -1
  656. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  657. package/tieredmenu/tieredmenu.esm.js +2 -1
  658. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  659. package/tieredmenu/tieredmenu.js +2 -1
  660. package/tieredmenu/tieredmenu.min.js +1 -1
  661. package/togglebutton/BaseToggleButton.vue +4 -4
  662. package/togglebutton/ToggleButton.d.ts +17 -24
  663. package/togglebutton/ToggleButton.vue +41 -67
  664. package/togglebutton/style/togglebuttonstyle.cjs.js +15 -8
  665. package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
  666. package/togglebutton/style/togglebuttonstyle.esm.js +15 -8
  667. package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
  668. package/togglebutton/style/togglebuttonstyle.js +15 -8
  669. package/togglebutton/style/togglebuttonstyle.min.js +1 -1
  670. package/togglebutton/togglebutton.cjs.js +45 -80
  671. package/togglebutton/togglebutton.cjs.min.js +1 -1
  672. package/togglebutton/togglebutton.esm.js +46 -81
  673. package/togglebutton/togglebutton.esm.min.js +1 -1
  674. package/togglebutton/togglebutton.js +46 -82
  675. package/togglebutton/togglebutton.min.js +1 -1
  676. package/tree/BaseTree.vue +4 -0
  677. package/tree/Tree.d.ts +6 -9
  678. package/tree/Tree.vue +1 -1
  679. package/tree/TreeNode.vue +14 -11
  680. package/tree/style/treestyle.cjs.js +3 -6
  681. package/tree/style/treestyle.cjs.min.js +1 -1
  682. package/tree/style/treestyle.esm.js +3 -6
  683. package/tree/style/treestyle.esm.min.js +1 -1
  684. package/tree/style/treestyle.js +3 -6
  685. package/tree/style/treestyle.min.js +1 -1
  686. package/tree/tree.cjs.js +34 -21
  687. package/tree/tree.cjs.min.js +1 -1
  688. package/tree/tree.esm.js +34 -22
  689. package/tree/tree.esm.min.js +1 -1
  690. package/tree/tree.js +35 -23
  691. package/tree/tree.min.js +1 -1
  692. package/treetable/BodyCell.vue +26 -24
  693. package/treetable/TreeTable.vue +3 -1
  694. package/treetable/TreeTableRow.vue +2 -0
  695. package/treetable/style/treetablestyle.cjs.js +4 -13
  696. package/treetable/style/treetablestyle.cjs.min.js +1 -1
  697. package/treetable/style/treetablestyle.esm.js +4 -13
  698. package/treetable/style/treetablestyle.esm.min.js +1 -1
  699. package/treetable/style/treetablestyle.js +4 -13
  700. package/treetable/style/treetablestyle.min.js +1 -1
  701. package/treetable/treetable.cjs.js +39 -44
  702. package/treetable/treetable.cjs.min.js +1 -1
  703. package/treetable/treetable.esm.js +39 -45
  704. package/treetable/treetable.esm.min.js +1 -1
  705. package/treetable/treetable.js +40 -46
  706. package/treetable/treetable.min.js +1 -1
  707. package/tristatecheckbox/BaseTriStateCheckbox.vue +17 -9
  708. package/tristatecheckbox/TriStateCheckbox.d.ts +34 -23
  709. package/tristatecheckbox/TriStateCheckbox.vue +49 -61
  710. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +7 -13
  711. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
  712. package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +7 -13
  713. package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
  714. package/tristatecheckbox/style/tristatecheckboxstyle.js +7 -13
  715. package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
  716. package/tristatecheckbox/tristatecheckbox.cjs.js +69 -87
  717. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  718. package/tristatecheckbox/tristatecheckbox.esm.js +70 -88
  719. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  720. package/tristatecheckbox/tristatecheckbox.js +69 -87
  721. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  722. package/utils/utils.cjs.js +14 -6
  723. package/utils/utils.cjs.min.js +1 -1
  724. package/utils/utils.esm.js +14 -6
  725. package/utils/utils.esm.min.js +1 -1
  726. package/utils/utils.js +14 -6
  727. package/utils/utils.min.js +1 -1
  728. package/vetur-attributes.json +24 -0
  729. package/vetur-tags.json +6 -0
  730. package/virtualscroller/BaseVirtualScroller.vue +1 -1
  731. package/virtualscroller/VirtualScroller.vue +58 -50
  732. package/virtualscroller/virtualscroller.cjs.js +90 -77
  733. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  734. package/virtualscroller/virtualscroller.esm.js +90 -77
  735. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  736. package/virtualscroller/virtualscroller.js +90 -77
  737. package/virtualscroller/virtualscroller.min.js +1 -1
  738. package/web-types.json +71 -6
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var api = require('primevue/api');
4
+ var Checkbox = require('primevue/checkbox');
4
5
  var CheckIcon = require('primevue/icons/check');
5
6
  var ChevronDownIcon = require('primevue/icons/chevrondown');
6
7
  var SearchIcon = require('primevue/icons/search');
@@ -18,6 +19,7 @@ var vue = require('vue');
18
19
 
19
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
21
 
22
+ var Checkbox__default = /*#__PURE__*/_interopDefaultLegacy(Checkbox);
21
23
  var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
22
24
  var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
23
25
  var SearchIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchIcon);
@@ -154,12 +156,20 @@ var script$1 = {
154
156
  },
155
157
  autoOptionFocus: {
156
158
  type: Boolean,
157
- "default": true
159
+ "default": false
158
160
  },
159
161
  autoFilterFocus: {
160
162
  type: Boolean,
161
163
  "default": false
162
164
  },
165
+ focusOnHover: {
166
+ type: Boolean,
167
+ "default": true
168
+ },
169
+ highlightOnSelect: {
170
+ type: Boolean,
171
+ "default": false
172
+ },
163
173
  filterMessage: {
164
174
  type: String,
165
175
  "default": null
@@ -227,13 +237,12 @@ var script = {
227
237
  searchTimeout: null,
228
238
  searchValue: '',
229
239
  selectOnFocus: false,
230
- focusOnHover: false,
231
240
  data: function data() {
232
241
  return {
233
242
  id: this.$attrs.id,
243
+ clicked: false,
234
244
  focused: false,
235
245
  focusedOptionIndex: -1,
236
- headerCheckboxFocused: false,
237
246
  filterValue: null,
238
247
  overlayVisible: false
239
248
  };
@@ -278,8 +287,7 @@ var script = {
278
287
  getHeaderCheckboxPTOptions: function getHeaderCheckboxPTOptions(key) {
279
288
  return this.ptm(key, {
280
289
  context: {
281
- selected: this.allSelected,
282
- focused: this.headerCheckboxFocused
290
+ selected: this.allSelected
283
291
  }
284
292
  });
285
293
  },
@@ -316,7 +324,7 @@ var script = {
316
324
  show: function show(isFocus) {
317
325
  this.$emit('before-show');
318
326
  this.overlayVisible = true;
319
- this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
327
+ this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
320
328
  isFocus && utils.DomHandler.focus(this.$refs.focusInput);
321
329
  },
322
330
  hide: function hide(isFocus) {
@@ -324,6 +332,7 @@ var script = {
324
332
  var _hide = function _hide() {
325
333
  _this2.$emit('before-hide');
326
334
  _this2.overlayVisible = false;
335
+ _this2.clicked = false;
327
336
  _this2.focusedOptionIndex = -1;
328
337
  _this2.searchValue = '';
329
338
  _this2.resetFilterOnHide && (_this2.filterValue = null);
@@ -339,11 +348,14 @@ var script = {
339
348
  return;
340
349
  }
341
350
  this.focused = true;
342
- this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.overlayVisible && this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1;
343
- this.overlayVisible && this.scrollInView(this.focusedOptionIndex);
351
+ if (this.overlayVisible) {
352
+ this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
353
+ this.scrollInView(this.focusedOptionIndex);
354
+ }
344
355
  this.$emit('focus', event);
345
356
  },
346
357
  onBlur: function onBlur(event) {
358
+ this.clicked = false;
347
359
  this.focused = false;
348
360
  this.focusedOptionIndex = -1;
349
361
  this.searchValue = '';
@@ -408,6 +420,7 @@ var script = {
408
420
  }
409
421
  break;
410
422
  }
423
+ this.clicked = false;
411
424
  },
412
425
  onContainerClick: function onContainerClick(event) {
413
426
  if (this.disabled || this.loading) {
@@ -416,6 +429,7 @@ var script = {
416
429
  if (!this.overlay || !this.overlay.contains(event.target)) {
417
430
  this.overlayVisible ? this.hide(true) : this.show(true);
418
431
  }
432
+ this.clicked = true;
419
433
  },
420
434
  onFirstHiddenFocus: function onFirstHiddenFocus(event) {
421
435
  var focusableEl = event.relatedTarget === this.$refs.focusInput ? utils.DomHandler.getFirstFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
@@ -428,12 +442,6 @@ var script = {
428
442
  onCloseClick: function onCloseClick() {
429
443
  this.hide(true);
430
444
  },
431
- onHeaderCheckboxFocus: function onHeaderCheckboxFocus() {
432
- this.headerCheckboxFocused = true;
433
- },
434
- onHeaderCheckboxBlur: function onHeaderCheckboxBlur() {
435
- this.headerCheckboxFocused = false;
436
- },
437
445
  onOptionSelect: function onOptionSelect(event, option) {
438
446
  var _this4 = this;
439
447
  var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;
@@ -534,12 +542,15 @@ var script = {
534
542
  }
535
543
  },
536
544
  onArrowDownKey: function onArrowDownKey(event) {
537
- var optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.findFirstFocusedOptionIndex();
538
- if (event.shiftKey) {
539
- this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
545
+ if (!this.overlayVisible) {
546
+ this.show();
547
+ } else {
548
+ var optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
549
+ if (event.shiftKey) {
550
+ this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
551
+ }
552
+ this.changeFocusedOptionIndex(event, optionIndex);
540
553
  }
541
- this.changeFocusedOptionIndex(event, optionIndex);
542
- !this.overlayVisible && this.show();
543
554
  event.preventDefault();
544
555
  },
545
556
  onArrowUpKey: function onArrowUpKey(event) {
@@ -551,7 +562,7 @@ var script = {
551
562
  this.overlayVisible && this.hide();
552
563
  event.preventDefault();
553
564
  } else {
554
- var optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.findLastFocusedOptionIndex();
565
+ var optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
555
566
  if (event.shiftKey) {
556
567
  this.onOptionSelectRange(event, optionIndex, this.startRangeIndex);
557
568
  }
@@ -610,6 +621,7 @@ var script = {
610
621
  },
611
622
  onEnterKey: function onEnterKey(event) {
612
623
  if (!this.overlayVisible) {
624
+ this.focusedOptionIndex = -1; // reset
613
625
  this.onArrowDownKey(event);
614
626
  } else {
615
627
  if (this.focusedOptionIndex !== -1) {
@@ -758,7 +770,6 @@ var script = {
758
770
  });
759
771
  this.updateModel(event, value);
760
772
  }
761
- this.headerCheckboxFocused = true;
762
773
  },
763
774
  removeOption: function removeOption(event, optionValue) {
764
775
  var _this11 = this;
@@ -774,7 +785,8 @@ var script = {
774
785
  return utils.DomHandler.getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
775
786
  },
776
787
  isOptionMatched: function isOptionMatched(option) {
777
- return this.isValidOption(option) && this.getOptionLabel(option).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
788
+ var _this$getOptionLabel;
789
+ return this.isValidOption(option) && ((_this$getOptionLabel = this.getOptionLabel(option)) === null || _this$getOptionLabel === void 0 ? void 0 : _this$getOptionLabel.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
778
790
  },
779
791
  isValidOption: function isValidOption(option) {
780
792
  return utils.ObjectUtils.isNotEmpty(option) && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
@@ -782,11 +794,14 @@ var script = {
782
794
  isValidSelectedOption: function isValidSelectedOption(option) {
783
795
  return this.isValidOption(option) && this.isSelected(option);
784
796
  },
797
+ isEquals: function isEquals(value1, value2) {
798
+ return utils.ObjectUtils.equals(value1, value2, this.equalityKey);
799
+ },
785
800
  isSelected: function isSelected(option) {
786
801
  var _this12 = this;
787
802
  var optionValue = this.getOptionValue(option);
788
803
  return (this.modelValue || []).some(function (value) {
789
- return utils.ObjectUtils.equals(value, optionValue, _this12.equalityKey);
804
+ return _this12.isEquals(value, optionValue);
790
805
  });
791
806
  },
792
807
  findFirstOptionIndex: function findFirstOptionIndex() {
@@ -815,29 +830,49 @@ var script = {
815
830
  }) : -1;
816
831
  return matchedOptionIndex > -1 ? matchedOptionIndex : index;
817
832
  },
818
- findFirstSelectedOptionIndex: function findFirstSelectedOptionIndex() {
833
+ findSelectedOptionIndex: function findSelectedOptionIndex() {
819
834
  var _this17 = this;
835
+ if (this.hasSelectedOption) {
836
+ var _loop = function _loop() {
837
+ var value = _this17.modelValue[index];
838
+ var matchedOptionIndex = _this17.visibleOptions.findIndex(function (option) {
839
+ return _this17.isValidSelectedOption(option) && _this17.isEquals(value, _this17.getOptionValue(option));
840
+ });
841
+ if (matchedOptionIndex > -1) return {
842
+ v: matchedOptionIndex
843
+ };
844
+ },
845
+ _ret;
846
+ for (var index = this.modelValue.length - 1; index >= 0; index--) {
847
+ _ret = _loop();
848
+ if (_ret) return _ret.v;
849
+ }
850
+ }
851
+ return -1;
852
+ },
853
+ findFirstSelectedOptionIndex: function findFirstSelectedOptionIndex() {
854
+ var _this18 = this;
820
855
  return this.hasSelectedOption ? this.visibleOptions.findIndex(function (option) {
821
- return _this17.isValidSelectedOption(option);
856
+ return _this18.isValidSelectedOption(option);
822
857
  }) : -1;
823
858
  },
824
859
  findLastSelectedOptionIndex: function findLastSelectedOptionIndex() {
825
- var _this18 = this;
860
+ var _this19 = this;
826
861
  return this.hasSelectedOption ? utils.ObjectUtils.findLastIndex(this.visibleOptions, function (option) {
827
- return _this18.isValidSelectedOption(option);
862
+ return _this19.isValidSelectedOption(option);
828
863
  }) : -1;
829
864
  },
830
865
  findNextSelectedOptionIndex: function findNextSelectedOptionIndex(index) {
831
- var _this19 = this;
866
+ var _this20 = this;
832
867
  var matchedOptionIndex = this.hasSelectedOption && index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function (option) {
833
- return _this19.isValidSelectedOption(option);
868
+ return _this20.isValidSelectedOption(option);
834
869
  }) : -1;
835
870
  return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : -1;
836
871
  },
837
872
  findPrevSelectedOptionIndex: function findPrevSelectedOptionIndex(index) {
838
- var _this20 = this;
873
+ var _this21 = this;
839
874
  var matchedOptionIndex = this.hasSelectedOption && index > 0 ? utils.ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), function (option) {
840
- return _this20.isValidSelectedOption(option);
875
+ return _this21.isValidSelectedOption(option);
841
876
  }) : -1;
842
877
  return matchedOptionIndex > -1 ? matchedOptionIndex : -1;
843
878
  },
@@ -856,61 +891,69 @@ var script = {
856
891
  return matchedOptionIndex > -1 ? matchedOptionIndex : index;
857
892
  },
858
893
  findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
859
- var selectedIndex = this.findFirstSelectedOptionIndex();
894
+ var selectedIndex = this.findSelectedOptionIndex();
860
895
  return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
861
896
  },
862
897
  findLastFocusedOptionIndex: function findLastFocusedOptionIndex() {
863
- var selectedIndex = this.findLastSelectedOptionIndex();
898
+ var selectedIndex = this.findSelectedOptionIndex();
864
899
  return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
865
900
  },
866
901
  searchOptions: function searchOptions(event) {
867
- var _this21 = this;
902
+ var _this22 = this;
868
903
  this.searchValue = (this.searchValue || '') + event.key;
869
904
  var optionIndex = -1;
870
- if (this.focusedOptionIndex !== -1) {
871
- optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function (option) {
872
- return _this21.isOptionMatched(option);
873
- });
874
- optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function (option) {
875
- return _this21.isOptionMatched(option);
876
- }) : optionIndex + this.focusedOptionIndex;
877
- } else {
878
- optionIndex = this.visibleOptions.findIndex(function (option) {
879
- return _this21.isOptionMatched(option);
880
- });
881
- }
882
- if (optionIndex === -1 && this.focusedOptionIndex === -1) {
883
- optionIndex = this.findFirstFocusedOptionIndex();
884
- }
885
- if (optionIndex !== -1) {
886
- this.changeFocusedOptionIndex(event, optionIndex);
905
+ if (utils.ObjectUtils.isNotEmpty(this.searchValue)) {
906
+ if (this.focusedOptionIndex !== -1) {
907
+ optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function (option) {
908
+ return _this22.isOptionMatched(option);
909
+ });
910
+ optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function (option) {
911
+ return _this22.isOptionMatched(option);
912
+ }) : optionIndex + this.focusedOptionIndex;
913
+ } else {
914
+ optionIndex = this.visibleOptions.findIndex(function (option) {
915
+ return _this22.isOptionMatched(option);
916
+ });
917
+ }
918
+ if (optionIndex === -1 && this.focusedOptionIndex === -1) {
919
+ optionIndex = this.findFirstFocusedOptionIndex();
920
+ }
921
+ if (optionIndex !== -1) {
922
+ this.changeFocusedOptionIndex(event, optionIndex);
923
+ }
887
924
  }
888
925
  if (this.searchTimeout) {
889
926
  clearTimeout(this.searchTimeout);
890
927
  }
891
928
  this.searchTimeout = setTimeout(function () {
892
- _this21.searchValue = '';
893
- _this21.searchTimeout = null;
929
+ _this22.searchValue = '';
930
+ _this22.searchTimeout = null;
894
931
  }, 500);
895
932
  },
896
933
  changeFocusedOptionIndex: function changeFocusedOptionIndex(event, index) {
897
934
  if (this.focusedOptionIndex !== index) {
898
935
  this.focusedOptionIndex = index;
899
936
  this.scrollInView();
937
+ if (this.selectOnFocus) {
938
+ this.onOptionSelect(event, this.visibleOptions[index]);
939
+ }
900
940
  }
901
941
  },
902
942
  scrollInView: function scrollInView() {
943
+ var _this23 = this;
903
944
  var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
904
- var id = index !== -1 ? "".concat(this.id, "_").concat(index) : this.focusedOptionId;
905
- var element = utils.DomHandler.findSingle(this.list, "li[id=\"".concat(id, "\"]"));
906
- if (element) {
907
- element.scrollIntoView && element.scrollIntoView({
908
- block: 'nearest',
909
- inline: 'nearest'
910
- });
911
- } else if (!this.virtualScrollerDisabled) {
912
- this.virtualScroller && this.virtualScroller.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex);
913
- }
945
+ this.$nextTick(function () {
946
+ var id = index !== -1 ? "".concat(_this23.id, "_").concat(index) : _this23.focusedOptionId;
947
+ var element = utils.DomHandler.findSingle(_this23.list, "li[id=\"".concat(id, "\"]"));
948
+ if (element) {
949
+ element.scrollIntoView && element.scrollIntoView({
950
+ block: 'nearest',
951
+ inline: 'nearest'
952
+ });
953
+ } else if (!_this23.virtualScrollerDisabled) {
954
+ _this23.virtualScroller && _this23.virtualScroller.scrollToIndex(index !== -1 ? index : _this23.focusedOptionIndex);
955
+ }
956
+ });
914
957
  },
915
958
  autoUpdateModel: function autoUpdateModel() {
916
959
  if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
@@ -927,14 +970,14 @@ var script = {
927
970
  });
928
971
  },
929
972
  flatOptions: function flatOptions(options) {
930
- var _this22 = this;
973
+ var _this24 = this;
931
974
  return (options || []).reduce(function (result, option, index) {
932
975
  result.push({
933
976
  optionGroup: option,
934
977
  group: true,
935
978
  index: index
936
979
  });
937
- var optionGroupChildren = _this22.getOptionGroupChildren(option);
980
+ var optionGroupChildren = _this24.getOptionGroupChildren(option);
938
981
  optionGroupChildren && optionGroupChildren.forEach(function (o) {
939
982
  return result.push(o);
940
983
  });
@@ -954,7 +997,7 @@ var script = {
954
997
  },
955
998
  computed: {
956
999
  visibleOptions: function visibleOptions() {
957
- var _this23 = this;
1000
+ var _this25 = this;
958
1001
  var options = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
959
1002
  if (this.filterValue) {
960
1003
  var filteredOptions = api.FilterService.filter(options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
@@ -962,11 +1005,11 @@ var script = {
962
1005
  var optionGroups = this.options || [];
963
1006
  var filtered = [];
964
1007
  optionGroups.forEach(function (group) {
965
- var groupChildren = _this23.getOptionGroupChildren(group);
1008
+ var groupChildren = _this25.getOptionGroupChildren(group);
966
1009
  var filteredItems = groupChildren.filter(function (item) {
967
1010
  return filteredOptions.includes(item);
968
1011
  });
969
- if (filteredItems.length > 0) filtered.push(_objectSpread$1(_objectSpread$1({}, group), {}, _defineProperty$1({}, typeof _this23.optionGroupChildren === 'string' ? _this23.optionGroupChildren : 'items', _toConsumableArray(filteredItems))));
1012
+ if (filteredItems.length > 0) filtered.push(_objectSpread$1(_objectSpread$1({}, group), {}, _defineProperty$1({}, typeof _this25.optionGroupChildren === 'string' ? _this25.optionGroupChildren : 'items', _toConsumableArray(filteredItems))));
970
1013
  });
971
1014
  return this.flatOptions(filtered);
972
1015
  }
@@ -998,9 +1041,9 @@ var script = {
998
1041
  return utils.ObjectUtils.isNotEmpty(this.maxSelectedLabels) && this.modelValue && this.modelValue.length > this.maxSelectedLabels ? this.modelValue.slice(0, this.maxSelectedLabels) : this.modelValue;
999
1042
  },
1000
1043
  allSelected: function allSelected() {
1001
- var _this24 = this;
1044
+ var _this26 = this;
1002
1045
  return this.selectAll !== null ? this.selectAll : utils.ObjectUtils.isNotEmpty(this.visibleOptions) && this.visibleOptions.every(function (option) {
1003
- return _this24.isOptionGroup(option) || _this24.isOptionDisabled(option) || _this24.isSelected(option);
1046
+ return _this26.isOptionGroup(option) || _this26.isOptionDisabled(option) || _this26.isSelected(option);
1004
1047
  });
1005
1048
  },
1006
1049
  hasSelectedOption: function hasSelectedOption() {
@@ -1040,9 +1083,9 @@ var script = {
1040
1083
  return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
1041
1084
  },
1042
1085
  ariaSetSize: function ariaSetSize() {
1043
- var _this25 = this;
1086
+ var _this27 = this;
1044
1087
  return this.visibleOptions.filter(function (option) {
1045
- return !_this25.isOptionGroup(option);
1088
+ return !_this27.isOptionGroup(option);
1046
1089
  }).length;
1047
1090
  },
1048
1091
  toggleAllAriaLabel: function toggleAllAriaLabel() {
@@ -1059,6 +1102,7 @@ var script = {
1059
1102
  ripple: Ripple__default["default"]
1060
1103
  },
1061
1104
  components: {
1105
+ Checkbox: Checkbox__default["default"],
1062
1106
  VirtualScroller: VirtualScroller__default["default"],
1063
1107
  Portal: Portal__default["default"],
1064
1108
  TimesIcon: TimesIcon__default["default"],
@@ -1078,22 +1122,22 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
1078
1122
  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); }
1079
1123
  var _hoisted_1 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant"];
1080
1124
  var _hoisted_2 = ["onClick"];
1081
- var _hoisted_3 = ["checked", "aria-label"];
1082
- var _hoisted_4 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
1083
- var _hoisted_5 = ["aria-label"];
1125
+ var _hoisted_3 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
1126
+ var _hoisted_4 = ["aria-label"];
1127
+ var _hoisted_5 = ["id"];
1084
1128
  var _hoisted_6 = ["id"];
1085
- var _hoisted_7 = ["id"];
1086
- var _hoisted_8 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
1129
+ var _hoisted_7 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
1087
1130
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1088
1131
  var _component_TimesCircleIcon = vue.resolveComponent("TimesCircleIcon");
1089
1132
  var _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
1133
+ var _component_Checkbox = vue.resolveComponent("Checkbox");
1090
1134
  var _component_VirtualScroller = vue.resolveComponent("VirtualScroller");
1091
1135
  var _component_Portal = vue.resolveComponent("Portal");
1092
1136
  var _directive_ripple = vue.resolveDirective("ripple");
1093
1137
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1094
1138
  ref: "container",
1095
1139
  "class": _ctx.cx('root'),
1096
- onClick: _cache[15] || (_cache[15] = function () {
1140
+ onClick: _cache[12] || (_cache[12] = function () {
1097
1141
  return $options.onContainerClick && $options.onContainerClick.apply($options, arguments);
1098
1142
  })
1099
1143
  }, _ctx.ptm('root'), {
@@ -1217,10 +1261,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1217
1261
  ref: $options.overlayRef,
1218
1262
  style: _ctx.panelStyle,
1219
1263
  "class": [_ctx.cx('panel'), _ctx.panelClass],
1220
- onClick: _cache[13] || (_cache[13] = function () {
1264
+ onClick: _cache[10] || (_cache[10] = function () {
1221
1265
  return $options.onOverlayClick && $options.onOverlayClick.apply($options, arguments);
1222
1266
  }),
1223
- onKeydown: _cache[14] || (_cache[14] = function () {
1267
+ onKeydown: _cache[11] || (_cache[11] = function () {
1224
1268
  return $options.onOverlayKeyDown && $options.onOverlayKeyDown.apply($options, arguments);
1225
1269
  })
1226
1270
  }, _objectSpread(_objectSpread({}, _ctx.panelProps), _ctx.ptm('panel'))), [vue.createElementVNode("span", vue.mergeProps({
@@ -1241,44 +1285,35 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1241
1285
  }), _ctx.showToggleAll && _ctx.selectionLimit == null || _ctx.filter ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1242
1286
  key: 0,
1243
1287
  "class": _ctx.cx('header')
1244
- }, _ctx.ptm('header')), [_ctx.showToggleAll && _ctx.selectionLimit == null ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1288
+ }, _ctx.ptm('header')), [_ctx.showToggleAll && _ctx.selectionLimit == null ? (vue.openBlock(), vue.createBlock(_component_Checkbox, {
1245
1289
  key: 0,
1246
- "class": _ctx.cx('headerCheckboxContainer'),
1247
- onClick: _cache[6] || (_cache[6] = function () {
1248
- return $options.onToggleAll && $options.onToggleAll.apply($options, arguments);
1249
- })
1250
- }, _ctx.ptm('headerCheckboxContainer')), [vue.createElementVNode("div", vue.mergeProps({
1251
- "class": "p-hidden-accessible"
1252
- }, _ctx.ptm('hiddenInputWrapper'), {
1253
- "data-p-hidden-accessible": true
1254
- }), [vue.createElementVNode("input", vue.mergeProps({
1255
- type: "checkbox",
1256
- readonly: "",
1257
- checked: $options.allSelected,
1290
+ modelValue: $options.allSelected,
1291
+ binary: true,
1292
+ disabled: _ctx.disabled,
1258
1293
  "aria-label": $options.toggleAllAriaLabel,
1259
- onFocus: _cache[4] || (_cache[4] = function () {
1260
- return $options.onHeaderCheckboxFocus && $options.onHeaderCheckboxFocus.apply($options, arguments);
1294
+ onChange: $options.onToggleAll,
1295
+ unstyled: _ctx.unstyled,
1296
+ pt: $options.getHeaderCheckboxPTOptions('headerCheckbox')
1297
+ }, {
1298
+ icon: vue.withCtx(function (slotProps) {
1299
+ return [_ctx.$slots.headercheckboxicon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.headercheckboxicon), {
1300
+ key: 0,
1301
+ checked: slotProps.checked,
1302
+ "class": vue.normalizeClass(slotProps["class"])
1303
+ }, null, 8, ["checked", "class"])) : slotProps.checked ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.checkboxIcon ? 'span' : 'CheckIcon'), vue.mergeProps({
1304
+ key: 1,
1305
+ "class": [slotProps["class"], _defineProperty({}, _ctx.checkboxIcon, slotProps.checked)]
1306
+ }, $options.getHeaderCheckboxPTOptions('headerCheckbox.icon')), null, 16, ["class"])) : vue.createCommentVNode("", true)];
1261
1307
  }),
1262
- onBlur: _cache[5] || (_cache[5] = function () {
1263
- return $options.onHeaderCheckboxBlur && $options.onHeaderCheckboxBlur.apply($options, arguments);
1264
- })
1265
- }, _ctx.ptm('headerCheckbox')), null, 16, _hoisted_3)], 16), vue.createElementVNode("div", vue.mergeProps({
1266
- "class": _ctx.cx('headerCheckbox')
1267
- }, $options.getHeaderCheckboxPTOptions('headerCheckbox')), [vue.renderSlot(_ctx.$slots, "headercheckboxicon", {
1268
- allSelected: $options.allSelected,
1269
- "class": vue.normalizeClass(_ctx.cx('headerCheckboxIcon'))
1270
- }, function () {
1271
- return [vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.checkboxIcon ? 'span' : 'CheckIcon'), vue.mergeProps({
1272
- "class": [_ctx.cx('headerCheckboxIcon'), _defineProperty({}, _ctx.checkboxIcon, $options.allSelected)]
1273
- }, $options.getHeaderCheckboxPTOptions('headerCheckboxIcon')), null, 16, ["class"])), [[vue.vShow, $options.allSelected]])];
1274
- })], 16)], 16)) : vue.createCommentVNode("", true), _ctx.filter ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1308
+ _: 1
1309
+ }, 8, ["modelValue", "disabled", "aria-label", "onChange", "unstyled", "pt"])) : vue.createCommentVNode("", true), _ctx.filter ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
1275
1310
  key: 1,
1276
1311
  "class": _ctx.cx('filterContainer')
1277
1312
  }, _ctx.ptm('filterContainer')), [vue.createElementVNode("input", vue.mergeProps({
1278
1313
  ref: "filterInput",
1279
1314
  type: "text",
1280
1315
  value: $data.filterValue,
1281
- onVnodeMounted: _cache[7] || (_cache[7] = function () {
1316
+ onVnodeMounted: _cache[4] || (_cache[4] = function () {
1282
1317
  return $options.onFilterUpdated && $options.onFilterUpdated.apply($options, arguments);
1283
1318
  }),
1284
1319
  "class": _ctx.cx('filterInput'),
@@ -1287,16 +1322,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1287
1322
  autocomplete: "off",
1288
1323
  "aria-owns": $data.id + '_list',
1289
1324
  "aria-activedescendant": $options.focusedOptionId,
1290
- onKeydown: _cache[8] || (_cache[8] = function () {
1325
+ onKeydown: _cache[5] || (_cache[5] = function () {
1291
1326
  return $options.onFilterKeyDown && $options.onFilterKeyDown.apply($options, arguments);
1292
1327
  }),
1293
- onBlur: _cache[9] || (_cache[9] = function () {
1328
+ onBlur: _cache[6] || (_cache[6] = function () {
1294
1329
  return $options.onFilterBlur && $options.onFilterBlur.apply($options, arguments);
1295
1330
  }),
1296
- onInput: _cache[10] || (_cache[10] = function () {
1331
+ onInput: _cache[7] || (_cache[7] = function () {
1297
1332
  return $options.onFilterChange && $options.onFilterChange.apply($options, arguments);
1298
1333
  })
1299
- }, _objectSpread(_objectSpread({}, _ctx.filterInputProps), _ctx.ptm('filterInput'))), null, 16, _hoisted_4), vue.renderSlot(_ctx.$slots, "filtericon", {
1334
+ }, _objectSpread(_objectSpread({}, _ctx.filterInputProps), _ctx.ptm('filterInput'))), null, 16, _hoisted_3), vue.renderSlot(_ctx.$slots, "filtericon", {
1300
1335
  "class": vue.normalizeClass(_ctx.cx('filterIcon'))
1301
1336
  }, function () {
1302
1337
  return [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.filterIcon ? 'span' : 'SearchIcon'), vue.mergeProps({
@@ -1312,7 +1347,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1312
1347
  }), vue.toDisplayString($options.filterResultMessageText), 17)) : vue.createCommentVNode("", true), vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
1313
1348
  "class": _ctx.cx('closeButton'),
1314
1349
  "aria-label": $options.closeAriaLabel,
1315
- onClick: _cache[11] || (_cache[11] = function () {
1350
+ onClick: _cache[8] || (_cache[8] = function () {
1316
1351
  return $options.onCloseClick && $options.onCloseClick.apply($options, arguments);
1317
1352
  }),
1318
1353
  type: "button"
@@ -1322,7 +1357,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1322
1357
  return [(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({
1323
1358
  "class": [_ctx.cx('closeIcon'), _ctx.closeIcon]
1324
1359
  }, _ctx.ptm('closeIcon')), null, 16, ["class"]))];
1325
- })], 16, _hoisted_5)), [[_directive_ripple]])], 16)) : vue.createCommentVNode("", true), vue.createElementVNode("div", vue.mergeProps({
1360
+ })], 16, _hoisted_4)), [[_directive_ripple]])], 16)) : vue.createCommentVNode("", true), vue.createElementVNode("div", vue.mergeProps({
1326
1361
  "class": _ctx.cx('wrapper'),
1327
1362
  style: {
1328
1363
  'max-height': $options.virtualScrollerDisabled ? _ctx.scrollHeight : ''
@@ -1370,7 +1405,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1370
1405
  index: $options.getOptionIndex(i, getItemOptions)
1371
1406
  }, function () {
1372
1407
  return [vue.createTextVNode(vue.toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)];
1373
- })], 16, _hoisted_7)) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
1408
+ })], 16, _hoisted_6)) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
1374
1409
  key: 1,
1375
1410
  id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
1376
1411
  style: {
@@ -1397,25 +1432,30 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1397
1432
  "data-p-highlight": $options.isSelected(option),
1398
1433
  "data-p-focused": $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions),
1399
1434
  "data-p-disabled": $options.isOptionDisabled(option)
1400
- }), [vue.createElementVNode("div", vue.mergeProps({
1401
- "class": _ctx.cx('checkboxContainer')
1402
- }, _ctx.ptm('checkboxContainer')), [vue.createElementVNode("div", vue.mergeProps({
1403
- "class": _ctx.cx('checkbox', {
1404
- option: option
1405
- })
1406
- }, $options.getCheckboxPTOptions(option, getItemOptions, i, 'checkbox')), [vue.renderSlot(_ctx.$slots, "itemcheckboxicon", {
1407
- selected: $options.isSelected(option),
1408
- "class": vue.normalizeClass(_ctx.cx('checkboxIcon'))
1409
- }, function () {
1410
- return [vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.checkboxIcon ? 'span' : 'CheckIcon'), vue.mergeProps({
1411
- "class": [_ctx.cx('checkboxIcon'), _defineProperty({}, _ctx.checkboxIcon, $options.isSelected(option))]
1412
- }, $options.getCheckboxPTOptions(option, getItemOptions, i, 'checkboxIcon')), null, 16, ["class"])), [[vue.vShow, $options.isSelected(option)]])];
1413
- })], 16)], 16), vue.renderSlot(_ctx.$slots, "option", {
1435
+ }), [vue.createVNode(_component_Checkbox, {
1436
+ modelValue: $options.isSelected(option),
1437
+ binary: true,
1438
+ tabindex: -1,
1439
+ unstyled: _ctx.unstyled,
1440
+ pt: $options.getCheckboxPTOptions(option, getItemOptions, i, 'itemCheckbox')
1441
+ }, {
1442
+ icon: vue.withCtx(function (slotProps) {
1443
+ return [_ctx.$slots.itemcheckboxicon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.itemcheckboxicon), {
1444
+ key: 0,
1445
+ checked: slotProps.checked,
1446
+ "class": vue.normalizeClass(slotProps["class"])
1447
+ }, null, 8, ["checked", "class"])) : slotProps.checked ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.checkboxIcon ? 'span' : 'CheckIcon'), vue.mergeProps({
1448
+ key: 1,
1449
+ "class": [slotProps["class"], _defineProperty({}, _ctx.checkboxIcon, slotProps.checked)]
1450
+ }, $options.getCheckboxPTOptions(option, getItemOptions, i, 'itemCheckbox.icon')), null, 16, ["class"])) : vue.createCommentVNode("", true)];
1451
+ }),
1452
+ _: 2
1453
+ }, 1032, ["modelValue", "unstyled", "pt"]), vue.renderSlot(_ctx.$slots, "option", {
1414
1454
  option: option,
1415
1455
  index: $options.getOptionIndex(i, getItemOptions)
1416
1456
  }, function () {
1417
1457
  return [vue.createElementVNode("span", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('option'))), vue.toDisplayString($options.getOptionLabel(option)), 17)];
1418
- })], 16, _hoisted_8)), [[_directive_ripple]])], 64);
1458
+ })], 16, _hoisted_7)), [[_directive_ripple]])], 64);
1419
1459
  }), 128)), $data.filterValue && (!items || items && items.length === 0) ? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
1420
1460
  key: 0,
1421
1461
  "class": _ctx.cx('emptyMessage'),
@@ -1428,7 +1468,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1428
1468
  role: "option"
1429
1469
  }, _ctx.ptm('emptyMessage')), [vue.renderSlot(_ctx.$slots, "empty", {}, function () {
1430
1470
  return [vue.createTextVNode(vue.toDisplayString($options.emptyMessageText), 1)];
1431
- })], 16)) : vue.createCommentVNode("", true)], 16, _hoisted_6)];
1471
+ })], 16)) : vue.createCommentVNode("", true)], 16, _hoisted_5)];
1432
1472
  }),
1433
1473
  _: 2
1434
1474
  }, [_ctx.$slots.loader ? {
@@ -1462,7 +1502,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1462
1502
  "aria-hidden": "true",
1463
1503
  "class": "p-hidden-accessible p-hidden-focusable",
1464
1504
  tabindex: 0,
1465
- onFocus: _cache[12] || (_cache[12] = function () {
1505
+ onFocus: _cache[9] || (_cache[9] = function () {
1466
1506
  return $options.onLastHiddenFocus && $options.onLastHiddenFocus.apply($options, arguments);
1467
1507
  })
1468
1508
  }, _ctx.ptm('hiddenLastFocusableEl'), {