primevue 3.48.0 → 3.49.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 (904) hide show
  1. package/accordion/Accordion.vue +2 -1
  2. package/accordion/accordion.cjs.js +2 -1
  3. package/accordion/accordion.cjs.min.js +1 -1
  4. package/accordion/accordion.esm.js +2 -1
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +2 -1
  7. package/accordion/accordion.min.js +1 -1
  8. package/accordiontab/AccordionTab.vue +2 -1
  9. package/accordiontab/accordiontab.cjs.js +2 -1
  10. package/accordiontab/accordiontab.cjs.min.js +1 -1
  11. package/accordiontab/accordiontab.esm.js +2 -1
  12. package/accordiontab/accordiontab.esm.min.js +1 -1
  13. package/accordiontab/accordiontab.js +2 -1
  14. package/accordiontab/accordiontab.min.js +1 -1
  15. package/autocomplete/AutoComplete.d.ts +2 -2
  16. package/autocomplete/AutoComplete.vue +4 -1
  17. package/autocomplete/autocomplete.cjs.js +6 -3
  18. package/autocomplete/autocomplete.cjs.min.js +1 -1
  19. package/autocomplete/autocomplete.esm.js +6 -3
  20. package/autocomplete/autocomplete.esm.min.js +1 -1
  21. package/autocomplete/autocomplete.js +6 -3
  22. package/autocomplete/autocomplete.min.js +1 -1
  23. package/avatar/Avatar.vue +2 -1
  24. package/avatar/avatar.cjs.js +2 -1
  25. package/avatar/avatar.cjs.min.js +1 -1
  26. package/avatar/avatar.esm.js +2 -1
  27. package/avatar/avatar.esm.min.js +1 -1
  28. package/avatar/avatar.js +2 -1
  29. package/avatar/avatar.min.js +1 -1
  30. package/avatargroup/AvatarGroup.d.ts +37 -5
  31. package/avatargroup/AvatarGroup.vue +3 -2
  32. package/avatargroup/avatargroup.cjs.js +3 -2
  33. package/avatargroup/avatargroup.cjs.min.js +1 -1
  34. package/avatargroup/avatargroup.esm.js +3 -2
  35. package/avatargroup/avatargroup.esm.min.js +1 -1
  36. package/avatargroup/avatargroup.js +3 -2
  37. package/avatargroup/avatargroup.min.js +1 -1
  38. package/badge/Badge.d.ts +2 -2
  39. package/badge/Badge.vue +3 -2
  40. package/badge/badge.cjs.js +3 -2
  41. package/badge/badge.cjs.min.js +1 -1
  42. package/badge/badge.esm.js +3 -2
  43. package/badge/badge.esm.min.js +1 -1
  44. package/badge/badge.js +3 -2
  45. package/badge/badge.min.js +1 -1
  46. package/basecomponent/BaseComponent.vue +36 -1
  47. package/basecomponent/basecomponent.cjs.js +58 -1
  48. package/basecomponent/basecomponent.cjs.min.js +1 -1
  49. package/basecomponent/basecomponent.esm.js +58 -1
  50. package/basecomponent/basecomponent.esm.min.js +1 -1
  51. package/basecomponent/basecomponent.js +58 -1
  52. package/basecomponent/basecomponent.min.js +1 -1
  53. package/blockui/BlockUI.vue +2 -1
  54. package/blockui/blockui.cjs.js +2 -1
  55. package/blockui/blockui.cjs.min.js +1 -1
  56. package/blockui/blockui.esm.js +2 -1
  57. package/blockui/blockui.esm.min.js +1 -1
  58. package/blockui/blockui.js +2 -1
  59. package/blockui/blockui.min.js +1 -1
  60. package/breadcrumb/Breadcrumb.vue +4 -3
  61. package/breadcrumb/breadcrumb.cjs.js +2 -1
  62. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  63. package/breadcrumb/breadcrumb.esm.js +2 -1
  64. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  65. package/breadcrumb/breadcrumb.js +2 -1
  66. package/breadcrumb/breadcrumb.min.js +1 -1
  67. package/button/Button.d.ts +3 -3
  68. package/button/Button.vue +5 -2
  69. package/button/button.cjs.js +5 -3
  70. package/button/button.cjs.min.js +1 -1
  71. package/button/button.esm.js +5 -3
  72. package/button/button.esm.min.js +1 -1
  73. package/button/button.js +5 -3
  74. package/button/button.min.js +1 -1
  75. package/buttongroup/BaseButtonGroup.vue +15 -0
  76. package/buttongroup/ButtonGroup.d.ts +113 -0
  77. package/buttongroup/ButtonGroup.vue +15 -0
  78. package/buttongroup/buttongroup.cjs.js +38 -0
  79. package/buttongroup/buttongroup.cjs.min.js +1 -0
  80. package/buttongroup/buttongroup.esm.js +31 -0
  81. package/buttongroup/buttongroup.esm.min.js +1 -0
  82. package/buttongroup/buttongroup.js +38 -0
  83. package/buttongroup/buttongroup.min.js +1 -0
  84. package/buttongroup/package.json +9 -0
  85. package/buttongroup/style/ButtonGroupStyle.d.ts +3 -0
  86. package/buttongroup/style/buttongroupstyle.cjs.js +17 -0
  87. package/buttongroup/style/buttongroupstyle.cjs.min.js +1 -0
  88. package/buttongroup/style/buttongroupstyle.esm.js +11 -0
  89. package/buttongroup/style/buttongroupstyle.esm.min.js +1 -0
  90. package/buttongroup/style/buttongroupstyle.js +20 -0
  91. package/buttongroup/style/buttongroupstyle.min.js +1 -0
  92. package/buttongroup/style/package.json +6 -0
  93. package/calendar/Calendar.d.ts +2 -2
  94. package/calendar/Calendar.vue +9 -3
  95. package/calendar/calendar.cjs.js +10 -4
  96. package/calendar/calendar.cjs.min.js +1 -1
  97. package/calendar/calendar.esm.js +10 -4
  98. package/calendar/calendar.esm.min.js +1 -1
  99. package/calendar/calendar.js +10 -4
  100. package/calendar/calendar.min.js +1 -1
  101. package/calendar/style/calendarstyle.cjs.js +2 -2
  102. package/calendar/style/calendarstyle.cjs.min.js +1 -1
  103. package/calendar/style/calendarstyle.esm.js +2 -2
  104. package/calendar/style/calendarstyle.esm.min.js +1 -1
  105. package/calendar/style/calendarstyle.js +2 -2
  106. package/calendar/style/calendarstyle.min.js +1 -1
  107. package/card/Card.d.ts +23 -1
  108. package/card/Card.vue +3 -2
  109. package/card/card.cjs.js +3 -2
  110. package/card/card.cjs.min.js +1 -1
  111. package/card/card.esm.js +3 -2
  112. package/card/card.esm.min.js +1 -1
  113. package/card/card.js +3 -2
  114. package/card/card.min.js +1 -1
  115. package/carousel/Carousel.vue +2 -1
  116. package/carousel/carousel.cjs.js +2 -1
  117. package/carousel/carousel.cjs.min.js +1 -1
  118. package/carousel/carousel.esm.js +2 -1
  119. package/carousel/carousel.esm.min.js +1 -1
  120. package/carousel/carousel.js +2 -1
  121. package/carousel/carousel.min.js +1 -1
  122. package/cascadeselect/CascadeSelect.d.ts +2 -2
  123. package/cascadeselect/CascadeSelect.vue +18 -5
  124. package/cascadeselect/cascadeselect.cjs.js +32 -12
  125. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  126. package/cascadeselect/cascadeselect.esm.js +32 -12
  127. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  128. package/cascadeselect/cascadeselect.js +32 -12
  129. package/cascadeselect/cascadeselect.min.js +1 -1
  130. package/chart/Chart.vue +2 -1
  131. package/chart/chart.cjs.js +2 -1
  132. package/chart/chart.cjs.min.js +1 -1
  133. package/chart/chart.esm.js +2 -1
  134. package/chart/chart.esm.min.js +1 -1
  135. package/chart/chart.js +2 -1
  136. package/chart/chart.min.js +1 -1
  137. package/checkbox/Checkbox.vue +5 -1
  138. package/checkbox/checkbox.cjs.js +5 -2
  139. package/checkbox/checkbox.cjs.min.js +1 -1
  140. package/checkbox/checkbox.esm.js +5 -2
  141. package/checkbox/checkbox.esm.min.js +1 -1
  142. package/checkbox/checkbox.js +5 -2
  143. package/checkbox/checkbox.min.js +1 -1
  144. package/chip/Chip.vue +2 -1
  145. package/chip/chip.cjs.js +2 -1
  146. package/chip/chip.cjs.min.js +1 -1
  147. package/chip/chip.esm.js +2 -1
  148. package/chip/chip.esm.min.js +1 -1
  149. package/chip/chip.js +2 -1
  150. package/chip/chip.min.js +1 -1
  151. package/chips/Chips.vue +3 -1
  152. package/chips/chips.cjs.js +4 -2
  153. package/chips/chips.cjs.min.js +1 -1
  154. package/chips/chips.esm.js +4 -2
  155. package/chips/chips.esm.min.js +1 -1
  156. package/chips/chips.js +4 -2
  157. package/chips/chips.min.js +1 -1
  158. package/colorpicker/ColorPicker.d.ts +2 -2
  159. package/colorpicker/ColorPicker.vue +3 -2
  160. package/colorpicker/colorpicker.cjs.js +3 -2
  161. package/colorpicker/colorpicker.cjs.min.js +1 -1
  162. package/colorpicker/colorpicker.esm.js +3 -2
  163. package/colorpicker/colorpicker.esm.min.js +1 -1
  164. package/colorpicker/colorpicker.js +3 -2
  165. package/colorpicker/colorpicker.min.js +1 -1
  166. package/column/Column.vue +1 -0
  167. package/column/column.cjs.js +1 -0
  168. package/column/column.cjs.min.js +1 -1
  169. package/column/column.esm.js +1 -0
  170. package/column/column.esm.min.js +1 -1
  171. package/column/column.js +1 -0
  172. package/column/column.min.js +1 -1
  173. package/columngroup/ColumnGroup.vue +1 -0
  174. package/columngroup/columngroup.cjs.js +1 -0
  175. package/columngroup/columngroup.cjs.min.js +1 -1
  176. package/columngroup/columngroup.esm.js +1 -0
  177. package/columngroup/columngroup.esm.min.js +1 -1
  178. package/columngroup/columngroup.js +1 -0
  179. package/columngroup/columngroup.min.js +1 -1
  180. package/config/PrimeVue.d.ts +1 -1
  181. package/confirmpopup/ConfirmPopup.vue +1 -1
  182. package/confirmpopup/confirmpopup.cjs.js +1 -7
  183. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  184. package/confirmpopup/confirmpopup.esm.js +1 -7
  185. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  186. package/confirmpopup/confirmpopup.js +1 -7
  187. package/confirmpopup/confirmpopup.min.js +1 -1
  188. package/contextmenu/ContextMenu.d.ts +2 -2
  189. package/contextmenu/ContextMenu.vue +7 -1
  190. package/contextmenu/ContextMenuSub.vue +13 -3
  191. package/contextmenu/contextmenu.cjs.js +25 -12
  192. package/contextmenu/contextmenu.cjs.min.js +1 -1
  193. package/contextmenu/contextmenu.esm.js +25 -12
  194. package/contextmenu/contextmenu.esm.min.js +1 -1
  195. package/contextmenu/contextmenu.js +25 -12
  196. package/contextmenu/contextmenu.min.js +1 -1
  197. package/core/core.js +223 -99
  198. package/core/core.min.js +23 -21
  199. package/datatable/BaseDataTable.vue +4 -4
  200. package/datatable/BodyCell.vue +0 -3
  201. package/datatable/DataTable.d.ts +6 -6
  202. package/datatable/DataTable.vue +5 -3
  203. package/datatable/datatable.cjs.js +8 -10
  204. package/datatable/datatable.cjs.min.js +1 -1
  205. package/datatable/datatable.esm.js +8 -10
  206. package/datatable/datatable.esm.min.js +1 -1
  207. package/datatable/datatable.js +8 -10
  208. package/datatable/datatable.min.js +1 -1
  209. package/dataview/DataView.vue +2 -1
  210. package/dataview/dataview.cjs.js +2 -1
  211. package/dataview/dataview.cjs.min.js +1 -1
  212. package/dataview/dataview.esm.js +2 -1
  213. package/dataview/dataview.esm.min.js +1 -1
  214. package/dataview/dataview.js +2 -1
  215. package/dataview/dataview.min.js +1 -1
  216. package/dataviewlayoutoptions/DataViewLayoutOptions.vue +2 -1
  217. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +2 -1
  218. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  219. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +2 -1
  220. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  221. package/dataviewlayoutoptions/dataviewlayoutoptions.js +2 -1
  222. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  223. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.js +1 -1
  224. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.min.js +1 -1
  225. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.js +1 -1
  226. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.min.js +1 -1
  227. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.js +1 -1
  228. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.min.js +1 -1
  229. package/deferredcontent/DeferredContent.vue +2 -1
  230. package/deferredcontent/deferredcontent.cjs.js +2 -1
  231. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  232. package/deferredcontent/deferredcontent.esm.js +2 -1
  233. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  234. package/deferredcontent/deferredcontent.js +2 -1
  235. package/deferredcontent/deferredcontent.min.js +1 -1
  236. package/dialog/Dialog.d.ts +2 -2
  237. package/dialog/Dialog.vue +2 -2
  238. package/dialog/dialog.cjs.js +2 -2
  239. package/dialog/dialog.cjs.min.js +1 -1
  240. package/dialog/dialog.esm.js +2 -2
  241. package/dialog/dialog.esm.min.js +1 -1
  242. package/dialog/dialog.js +2 -2
  243. package/dialog/dialog.min.js +1 -1
  244. package/divider/Divider.vue +3 -2
  245. package/divider/divider.cjs.js +3 -2
  246. package/divider/divider.cjs.min.js +1 -1
  247. package/divider/divider.esm.js +3 -2
  248. package/divider/divider.esm.min.js +1 -1
  249. package/divider/divider.js +3 -2
  250. package/divider/divider.min.js +1 -1
  251. package/dock/Dock.vue +2 -1
  252. package/dock/dock.cjs.js +2 -1
  253. package/dock/dock.cjs.min.js +1 -1
  254. package/dock/dock.esm.js +2 -1
  255. package/dock/dock.esm.min.js +1 -1
  256. package/dock/dock.js +2 -1
  257. package/dock/dock.min.js +1 -1
  258. package/dropdown/Dropdown.d.ts +3 -3
  259. package/dropdown/Dropdown.vue +5 -1
  260. package/dropdown/dropdown.cjs.js +15 -9
  261. package/dropdown/dropdown.cjs.min.js +1 -1
  262. package/dropdown/dropdown.esm.js +15 -9
  263. package/dropdown/dropdown.esm.min.js +1 -1
  264. package/dropdown/dropdown.js +15 -9
  265. package/dropdown/dropdown.min.js +1 -1
  266. package/editor/Editor.vue +2 -1
  267. package/editor/editor.cjs.js +2 -1
  268. package/editor/editor.cjs.min.js +1 -1
  269. package/editor/editor.esm.js +2 -1
  270. package/editor/editor.esm.min.js +1 -1
  271. package/editor/editor.js +2 -1
  272. package/editor/editor.min.js +1 -1
  273. package/fieldset/Fieldset.vue +2 -1
  274. package/fieldset/fieldset.cjs.js +2 -1
  275. package/fieldset/fieldset.cjs.min.js +1 -1
  276. package/fieldset/fieldset.esm.js +2 -1
  277. package/fieldset/fieldset.esm.min.js +1 -1
  278. package/fieldset/fieldset.js +2 -1
  279. package/fieldset/fieldset.min.js +1 -1
  280. package/fileupload/FileUpload.vue +8 -5
  281. package/fileupload/fileupload.cjs.js +9 -8
  282. package/fileupload/fileupload.cjs.min.js +1 -1
  283. package/fileupload/fileupload.esm.js +9 -8
  284. package/fileupload/fileupload.esm.min.js +1 -1
  285. package/fileupload/fileupload.js +9 -8
  286. package/fileupload/fileupload.min.js +1 -1
  287. package/floatlabel/FloatLabel.d.ts +0 -4
  288. package/floatlabel/FloatLabel.vue +3 -2
  289. package/floatlabel/floatlabel.cjs.js +3 -2
  290. package/floatlabel/floatlabel.cjs.min.js +1 -1
  291. package/floatlabel/floatlabel.esm.js +3 -2
  292. package/floatlabel/floatlabel.esm.min.js +1 -1
  293. package/floatlabel/floatlabel.js +3 -2
  294. package/floatlabel/floatlabel.min.js +1 -1
  295. package/galleria/GalleriaContent.vue +1 -1
  296. package/galleria/GalleriaThumbnails.vue +12 -3
  297. package/galleria/galleria.cjs.js +5 -5
  298. package/galleria/galleria.cjs.min.js +1 -1
  299. package/galleria/galleria.esm.js +5 -5
  300. package/galleria/galleria.esm.min.js +1 -1
  301. package/galleria/galleria.js +5 -5
  302. package/galleria/galleria.min.js +1 -1
  303. package/iconfield/IconField.vue +4 -3
  304. package/iconfield/iconfield.cjs.js +3 -2
  305. package/iconfield/iconfield.cjs.min.js +1 -1
  306. package/iconfield/iconfield.esm.js +3 -2
  307. package/iconfield/iconfield.esm.min.js +1 -1
  308. package/iconfield/iconfield.js +3 -2
  309. package/iconfield/iconfield.min.js +1 -1
  310. package/iconfield/style/iconfieldstyle.cjs.js +3 -3
  311. package/iconfield/style/iconfieldstyle.cjs.min.js +1 -1
  312. package/iconfield/style/iconfieldstyle.esm.js +3 -3
  313. package/iconfield/style/iconfieldstyle.esm.min.js +1 -1
  314. package/iconfield/style/iconfieldstyle.js +3 -3
  315. package/iconfield/style/iconfieldstyle.min.js +1 -1
  316. package/image/Image.vue +1 -1
  317. package/image/image.cjs.js +1 -1
  318. package/image/image.cjs.min.js +1 -1
  319. package/image/image.esm.js +1 -1
  320. package/image/image.esm.min.js +1 -1
  321. package/image/image.js +1 -1
  322. package/image/image.min.js +1 -1
  323. package/inlinemessage/InlineMessage.d.ts +2 -2
  324. package/inlinemessage/InlineMessage.vue +2 -1
  325. package/inlinemessage/inlinemessage.cjs.js +2 -1
  326. package/inlinemessage/inlinemessage.cjs.min.js +1 -1
  327. package/inlinemessage/inlinemessage.esm.js +2 -1
  328. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  329. package/inlinemessage/inlinemessage.js +2 -1
  330. package/inlinemessage/inlinemessage.min.js +1 -1
  331. package/inplace/Inplace.vue +2 -1
  332. package/inplace/inplace.cjs.js +2 -1
  333. package/inplace/inplace.cjs.min.js +1 -1
  334. package/inplace/inplace.esm.js +2 -1
  335. package/inplace/inplace.esm.min.js +1 -1
  336. package/inplace/inplace.js +2 -1
  337. package/inplace/inplace.min.js +1 -1
  338. package/inputgroup/InputGroup.vue +3 -2
  339. package/inputgroup/inputgroup.cjs.js +3 -2
  340. package/inputgroup/inputgroup.cjs.min.js +1 -1
  341. package/inputgroup/inputgroup.esm.js +3 -2
  342. package/inputgroup/inputgroup.esm.min.js +1 -1
  343. package/inputgroup/inputgroup.js +3 -2
  344. package/inputgroup/inputgroup.min.js +1 -1
  345. package/inputgroupaddon/InputGroupAddon.vue +3 -2
  346. package/inputgroupaddon/inputgroupaddon.cjs.js +3 -2
  347. package/inputgroupaddon/inputgroupaddon.cjs.min.js +1 -1
  348. package/inputgroupaddon/inputgroupaddon.esm.js +3 -2
  349. package/inputgroupaddon/inputgroupaddon.esm.min.js +1 -1
  350. package/inputgroupaddon/inputgroupaddon.js +3 -2
  351. package/inputgroupaddon/inputgroupaddon.min.js +1 -1
  352. package/inputicon/BaseInputIcon.vue +3 -0
  353. package/inputicon/InputIcon.vue +10 -2
  354. package/inputicon/inputicon.cjs.js +13 -2
  355. package/inputicon/inputicon.cjs.min.js +1 -1
  356. package/inputicon/inputicon.esm.js +14 -3
  357. package/inputicon/inputicon.esm.min.js +1 -1
  358. package/inputicon/inputicon.js +13 -2
  359. package/inputicon/inputicon.min.js +1 -1
  360. package/inputicon/style/inputiconstyle.cjs.js +13 -1
  361. package/inputicon/style/inputiconstyle.cjs.min.js +1 -1
  362. package/inputicon/style/inputiconstyle.esm.js +9 -1
  363. package/inputicon/style/inputiconstyle.esm.min.js +1 -1
  364. package/inputicon/style/inputiconstyle.js +15 -5
  365. package/inputicon/style/inputiconstyle.min.js +1 -1
  366. package/inputmask/InputMask.vue +2 -1
  367. package/inputmask/inputmask.cjs.js +4 -2
  368. package/inputmask/inputmask.cjs.min.js +1 -1
  369. package/inputmask/inputmask.esm.js +4 -2
  370. package/inputmask/inputmask.esm.min.js +1 -1
  371. package/inputmask/inputmask.js +4 -2
  372. package/inputmask/inputmask.min.js +1 -1
  373. package/inputnumber/InputNumber.vue +3 -1
  374. package/inputnumber/inputnumber.cjs.js +4 -2
  375. package/inputnumber/inputnumber.cjs.min.js +1 -1
  376. package/inputnumber/inputnumber.esm.js +4 -2
  377. package/inputnumber/inputnumber.esm.min.js +1 -1
  378. package/inputnumber/inputnumber.js +4 -2
  379. package/inputnumber/inputnumber.min.js +1 -1
  380. package/inputotp/BaseInputOtp.vue +53 -0
  381. package/inputotp/InputOtp.d.ts +275 -0
  382. package/inputotp/InputOtp.vue +201 -0
  383. package/inputotp/inputotp.cjs.js +265 -0
  384. package/inputotp/inputotp.cjs.min.js +1 -0
  385. package/inputotp/inputotp.esm.js +257 -0
  386. package/inputotp/inputotp.esm.min.js +1 -0
  387. package/inputotp/inputotp.js +264 -0
  388. package/inputotp/inputotp.min.js +1 -0
  389. package/inputotp/package.json +9 -0
  390. package/inputotp/style/InputOtpStyle.d.ts +3 -0
  391. package/inputotp/style/inputotpstyle.cjs.js +18 -0
  392. package/inputotp/style/inputotpstyle.cjs.min.js +1 -0
  393. package/inputotp/style/inputotpstyle.esm.js +12 -0
  394. package/inputotp/style/inputotpstyle.esm.min.js +1 -0
  395. package/inputotp/style/inputotpstyle.js +21 -0
  396. package/inputotp/style/inputotpstyle.min.js +1 -0
  397. package/inputotp/style/package.json +6 -0
  398. package/inputswitch/InputSwitch.d.ts +0 -16
  399. package/inputswitch/InputSwitch.vue +5 -1
  400. package/inputswitch/inputswitch.cjs.js +5 -2
  401. package/inputswitch/inputswitch.cjs.min.js +1 -1
  402. package/inputswitch/inputswitch.esm.js +5 -2
  403. package/inputswitch/inputswitch.esm.min.js +1 -1
  404. package/inputswitch/inputswitch.js +5 -2
  405. package/inputswitch/inputswitch.min.js +1 -1
  406. package/inputtext/InputText.vue +5 -2
  407. package/inputtext/inputtext.cjs.js +5 -2
  408. package/inputtext/inputtext.cjs.min.js +1 -1
  409. package/inputtext/inputtext.esm.js +5 -2
  410. package/inputtext/inputtext.esm.min.js +1 -1
  411. package/inputtext/inputtext.js +5 -2
  412. package/inputtext/inputtext.min.js +1 -1
  413. package/knob/Knob.vue +2 -1
  414. package/knob/knob.cjs.js +2 -1
  415. package/knob/knob.cjs.min.js +1 -1
  416. package/knob/knob.esm.js +2 -1
  417. package/knob/knob.esm.min.js +1 -1
  418. package/knob/knob.js +2 -1
  419. package/knob/knob.min.js +1 -1
  420. package/listbox/Listbox.d.ts +2 -2
  421. package/listbox/Listbox.vue +2 -3
  422. package/listbox/listbox.cjs.js +2 -2
  423. package/listbox/listbox.cjs.min.js +1 -1
  424. package/listbox/listbox.esm.js +2 -2
  425. package/listbox/listbox.esm.min.js +1 -1
  426. package/listbox/listbox.js +2 -2
  427. package/listbox/listbox.min.js +1 -1
  428. package/megamenu/MegaMenu.vue +2 -1
  429. package/megamenu/MegaMenuSub.vue +1 -1
  430. package/megamenu/megamenu.cjs.js +3 -2
  431. package/megamenu/megamenu.cjs.min.js +1 -1
  432. package/megamenu/megamenu.esm.js +3 -2
  433. package/megamenu/megamenu.esm.min.js +1 -1
  434. package/megamenu/megamenu.js +3 -2
  435. package/megamenu/megamenu.min.js +1 -1
  436. package/menu/Menu.d.ts +2 -2
  437. package/menu/Menu.vue +18 -11
  438. package/menu/Menuitem.vue +6 -3
  439. package/menu/menu.cjs.js +23 -18
  440. package/menu/menu.cjs.min.js +1 -1
  441. package/menu/menu.esm.js +23 -18
  442. package/menu/menu.esm.min.js +1 -1
  443. package/menu/menu.js +23 -18
  444. package/menu/menu.min.js +1 -1
  445. package/menubar/Menubar.vue +19 -6
  446. package/menubar/MenubarSub.vue +7 -3
  447. package/menubar/menubar.cjs.js +41 -18
  448. package/menubar/menubar.cjs.min.js +1 -1
  449. package/menubar/menubar.esm.js +41 -18
  450. package/menubar/menubar.esm.min.js +1 -1
  451. package/menubar/menubar.js +41 -18
  452. package/menubar/menubar.min.js +1 -1
  453. package/message/Message.d.ts +2 -2
  454. package/message/Message.vue +2 -1
  455. package/message/message.cjs.js +2 -1
  456. package/message/message.cjs.min.js +1 -1
  457. package/message/message.esm.js +2 -1
  458. package/message/message.esm.min.js +1 -1
  459. package/message/message.js +2 -1
  460. package/message/message.min.js +1 -1
  461. package/metergroup/MeterGroup.vue +3 -2
  462. package/metergroup/metergroup.cjs.js +5 -3
  463. package/metergroup/metergroup.cjs.min.js +1 -1
  464. package/metergroup/metergroup.esm.js +5 -3
  465. package/metergroup/metergroup.esm.min.js +1 -1
  466. package/metergroup/metergroup.js +5 -3
  467. package/metergroup/metergroup.min.js +1 -1
  468. package/multiselect/MultiSelect.d.ts +3 -3
  469. package/multiselect/MultiSelect.vue +4 -1
  470. package/multiselect/multiselect.cjs.js +15 -10
  471. package/multiselect/multiselect.cjs.min.js +1 -1
  472. package/multiselect/multiselect.esm.js +15 -10
  473. package/multiselect/multiselect.esm.min.js +1 -1
  474. package/multiselect/multiselect.js +15 -10
  475. package/multiselect/multiselect.min.js +1 -1
  476. package/orderlist/OrderList.vue +2 -1
  477. package/orderlist/orderlist.cjs.js +2 -1
  478. package/orderlist/orderlist.cjs.min.js +1 -1
  479. package/orderlist/orderlist.esm.js +2 -1
  480. package/orderlist/orderlist.esm.min.js +1 -1
  481. package/orderlist/orderlist.js +2 -1
  482. package/orderlist/orderlist.min.js +1 -1
  483. package/organizationchart/OrganizationChart.vue +2 -1
  484. package/organizationchart/organizationchart.cjs.js +2 -1
  485. package/organizationchart/organizationchart.cjs.min.js +1 -1
  486. package/organizationchart/organizationchart.esm.js +2 -1
  487. package/organizationchart/organizationchart.esm.min.js +1 -1
  488. package/organizationchart/organizationchart.js +2 -1
  489. package/organizationchart/organizationchart.min.js +1 -1
  490. package/overlaypanel/OverlayPanel.d.ts +2 -2
  491. package/overlaypanel/OverlayPanel.vue +1 -1
  492. package/overlaypanel/overlaypanel.cjs.js +1 -7
  493. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  494. package/overlaypanel/overlaypanel.esm.js +1 -7
  495. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  496. package/overlaypanel/overlaypanel.js +1 -7
  497. package/overlaypanel/overlaypanel.min.js +1 -1
  498. package/package.json +1 -1
  499. package/paginator/Paginator.vue +2 -1
  500. package/paginator/paginator.cjs.js +2 -1
  501. package/paginator/paginator.cjs.min.js +1 -1
  502. package/paginator/paginator.esm.js +2 -1
  503. package/paginator/paginator.esm.min.js +1 -1
  504. package/paginator/paginator.js +2 -1
  505. package/paginator/paginator.min.js +1 -1
  506. package/panel/Panel.vue +2 -1
  507. package/panel/panel.cjs.js +2 -1
  508. package/panel/panel.cjs.min.js +1 -1
  509. package/panel/panel.esm.js +2 -1
  510. package/panel/panel.esm.min.js +1 -1
  511. package/panel/panel.js +2 -1
  512. package/panel/panel.min.js +1 -1
  513. package/panelmenu/PanelMenu.vue +2 -1
  514. package/panelmenu/PanelMenuList.vue +6 -0
  515. package/panelmenu/PanelMenuSub.vue +7 -3
  516. package/panelmenu/panelmenu.cjs.js +24 -5
  517. package/panelmenu/panelmenu.cjs.min.js +1 -1
  518. package/panelmenu/panelmenu.esm.js +24 -5
  519. package/panelmenu/panelmenu.esm.min.js +1 -1
  520. package/panelmenu/panelmenu.js +24 -5
  521. package/panelmenu/panelmenu.min.js +1 -1
  522. package/password/Password.d.ts +2 -2
  523. package/password/Password.vue +10 -4
  524. package/password/password.cjs.js +9 -4
  525. package/password/password.cjs.min.js +1 -1
  526. package/password/password.esm.js +9 -4
  527. package/password/password.esm.min.js +1 -1
  528. package/password/password.js +9 -4
  529. package/password/password.min.js +1 -1
  530. package/password/style/passwordstyle.cjs.js +4 -3
  531. package/password/style/passwordstyle.cjs.min.js +1 -1
  532. package/password/style/passwordstyle.esm.js +4 -3
  533. package/password/style/passwordstyle.esm.min.js +1 -1
  534. package/password/style/passwordstyle.js +4 -3
  535. package/password/style/passwordstyle.min.js +1 -1
  536. package/picklist/PickList.vue +2 -1
  537. package/picklist/picklist.cjs.js +2 -1
  538. package/picklist/picklist.cjs.min.js +1 -1
  539. package/picklist/picklist.esm.js +2 -1
  540. package/picklist/picklist.esm.min.js +1 -1
  541. package/picklist/picklist.js +2 -1
  542. package/picklist/picklist.min.js +1 -1
  543. package/portal/Portal.d.ts +2 -2
  544. package/progressbar/ProgressBar.vue +2 -1
  545. package/progressbar/progressbar.cjs.js +2 -1
  546. package/progressbar/progressbar.cjs.min.js +1 -1
  547. package/progressbar/progressbar.esm.js +2 -1
  548. package/progressbar/progressbar.esm.min.js +1 -1
  549. package/progressbar/progressbar.js +2 -1
  550. package/progressbar/progressbar.min.js +1 -1
  551. package/progressspinner/ProgressSpinner.vue +2 -1
  552. package/progressspinner/progressspinner.cjs.js +2 -1
  553. package/progressspinner/progressspinner.cjs.min.js +1 -1
  554. package/progressspinner/progressspinner.esm.js +2 -1
  555. package/progressspinner/progressspinner.esm.min.js +1 -1
  556. package/progressspinner/progressspinner.js +2 -1
  557. package/progressspinner/progressspinner.min.js +1 -1
  558. package/radiobutton/RadioButton.vue +5 -1
  559. package/radiobutton/radiobutton.cjs.js +5 -2
  560. package/radiobutton/radiobutton.cjs.min.js +1 -1
  561. package/radiobutton/radiobutton.esm.js +5 -2
  562. package/radiobutton/radiobutton.esm.min.js +1 -1
  563. package/radiobutton/radiobutton.js +5 -2
  564. package/radiobutton/radiobutton.min.js +1 -1
  565. package/rating/Rating.vue +2 -1
  566. package/rating/rating.cjs.js +2 -1
  567. package/rating/rating.cjs.min.js +1 -1
  568. package/rating/rating.esm.js +2 -1
  569. package/rating/rating.esm.min.js +1 -1
  570. package/rating/rating.js +2 -1
  571. package/rating/rating.min.js +1 -1
  572. package/resources/themes/arya-blue/theme.css +346 -119
  573. package/resources/themes/arya-green/theme.css +346 -119
  574. package/resources/themes/arya-orange/theme.css +346 -119
  575. package/resources/themes/arya-purple/theme.css +346 -119
  576. package/resources/themes/aura-dark-amber/theme.css +379 -134
  577. package/resources/themes/aura-dark-blue/theme.css +379 -134
  578. package/resources/themes/aura-dark-cyan/theme.css +379 -134
  579. package/resources/themes/aura-dark-green/theme.css +379 -134
  580. package/resources/themes/aura-dark-indigo/theme.css +379 -134
  581. package/resources/themes/aura-dark-lime/theme.css +379 -134
  582. package/resources/themes/aura-dark-noir/theme.css +379 -134
  583. package/resources/themes/aura-dark-pink/theme.css +379 -134
  584. package/resources/themes/aura-dark-purple/theme.css +379 -134
  585. package/resources/themes/aura-dark-teal/theme.css +379 -134
  586. package/resources/themes/aura-light-amber/theme.css +379 -137
  587. package/resources/themes/aura-light-blue/theme.css +379 -137
  588. package/resources/themes/aura-light-cyan/theme.css +379 -137
  589. package/resources/themes/aura-light-green/theme.css +379 -137
  590. package/resources/themes/aura-light-indigo/theme.css +379 -137
  591. package/resources/themes/aura-light-lime/theme.css +379 -137
  592. package/resources/themes/aura-light-noir/theme.css +379 -137
  593. package/resources/themes/aura-light-pink/theme.css +379 -137
  594. package/resources/themes/aura-light-purple/theme.css +379 -137
  595. package/resources/themes/aura-light-teal/theme.css +379 -137
  596. package/resources/themes/bootstrap4-dark-blue/theme.css +356 -129
  597. package/resources/themes/bootstrap4-dark-purple/theme.css +356 -129
  598. package/resources/themes/bootstrap4-light-blue/theme.css +356 -129
  599. package/resources/themes/bootstrap4-light-purple/theme.css +356 -129
  600. package/resources/themes/fluent-light/theme.css +340 -119
  601. package/resources/themes/lara-dark-amber/theme.css +365 -129
  602. package/resources/themes/lara-dark-blue/theme.css +365 -129
  603. package/resources/themes/lara-dark-cyan/theme.css +365 -129
  604. package/resources/themes/lara-dark-green/theme.css +365 -129
  605. package/resources/themes/lara-dark-indigo/theme.css +365 -129
  606. package/resources/themes/lara-dark-pink/theme.css +365 -129
  607. package/resources/themes/lara-dark-purple/theme.css +365 -129
  608. package/resources/themes/lara-dark-teal/theme.css +365 -129
  609. package/resources/themes/lara-light-amber/theme.css +361 -129
  610. package/resources/themes/lara-light-blue/theme.css +361 -129
  611. package/resources/themes/lara-light-cyan/theme.css +361 -129
  612. package/resources/themes/lara-light-green/theme.css +361 -129
  613. package/resources/themes/lara-light-indigo/theme.css +361 -129
  614. package/resources/themes/lara-light-pink/theme.css +361 -129
  615. package/resources/themes/lara-light-purple/theme.css +361 -129
  616. package/resources/themes/lara-light-teal/theme.css +361 -129
  617. package/resources/themes/luna-amber/theme.css +346 -119
  618. package/resources/themes/luna-blue/theme.css +346 -119
  619. package/resources/themes/luna-green/theme.css +346 -119
  620. package/resources/themes/luna-pink/theme.css +346 -119
  621. package/resources/themes/md-dark-deeppurple/theme.css +431 -185
  622. package/resources/themes/md-dark-indigo/theme.css +431 -185
  623. package/resources/themes/md-light-deeppurple/theme.css +431 -185
  624. package/resources/themes/md-light-indigo/theme.css +431 -185
  625. package/resources/themes/mdc-dark-deeppurple/theme.css +431 -185
  626. package/resources/themes/mdc-dark-indigo/theme.css +431 -185
  627. package/resources/themes/mdc-light-deeppurple/theme.css +431 -185
  628. package/resources/themes/mdc-light-indigo/theme.css +431 -185
  629. package/resources/themes/mira/theme.css +346 -119
  630. package/resources/themes/nano/theme.css +346 -119
  631. package/resources/themes/nova/theme.css +346 -119
  632. package/resources/themes/nova-accent/theme.css +346 -119
  633. package/resources/themes/nova-alt/theme.css +346 -119
  634. package/resources/themes/nova-vue/theme.css +346 -119
  635. package/resources/themes/rhea/theme.css +346 -119
  636. package/resources/themes/saga-blue/theme.css +346 -119
  637. package/resources/themes/saga-green/theme.css +346 -119
  638. package/resources/themes/saga-orange/theme.css +346 -119
  639. package/resources/themes/saga-purple/theme.css +346 -119
  640. package/resources/themes/soho-dark/theme.css +356 -129
  641. package/resources/themes/soho-light/theme.css +356 -129
  642. package/resources/themes/tailwind-light/theme.css +346 -119
  643. package/resources/themes/vela-blue/theme.css +346 -119
  644. package/resources/themes/vela-green/theme.css +346 -119
  645. package/resources/themes/vela-orange/theme.css +346 -119
  646. package/resources/themes/vela-purple/theme.css +346 -119
  647. package/resources/themes/viva-dark/theme.css +357 -130
  648. package/resources/themes/viva-light/theme.css +357 -130
  649. package/scrollpanel/ScrollPanel.vue +2 -1
  650. package/scrollpanel/scrollpanel.cjs.js +2 -1
  651. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  652. package/scrollpanel/scrollpanel.esm.js +2 -1
  653. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  654. package/scrollpanel/scrollpanel.js +2 -1
  655. package/scrollpanel/scrollpanel.min.js +1 -1
  656. package/scrolltop/ScrollTop.vue +2 -1
  657. package/scrolltop/scrolltop.cjs.js +2 -1
  658. package/scrolltop/scrolltop.cjs.min.js +1 -1
  659. package/scrolltop/scrolltop.esm.js +2 -1
  660. package/scrolltop/scrolltop.esm.min.js +1 -1
  661. package/scrolltop/scrolltop.js +2 -1
  662. package/scrolltop/scrolltop.min.js +1 -1
  663. package/selectbutton/SelectButton.vue +44 -17
  664. package/selectbutton/selectbutton.cjs.js +41 -18
  665. package/selectbutton/selectbutton.cjs.min.js +1 -1
  666. package/selectbutton/selectbutton.esm.js +41 -18
  667. package/selectbutton/selectbutton.esm.min.js +1 -1
  668. package/selectbutton/selectbutton.js +41 -18
  669. package/selectbutton/selectbutton.min.js +1 -1
  670. package/selectbutton/style/selectbuttonstyle.cjs.js +1 -1
  671. package/selectbutton/style/selectbuttonstyle.cjs.min.js +1 -1
  672. package/selectbutton/style/selectbuttonstyle.esm.js +1 -1
  673. package/selectbutton/style/selectbuttonstyle.esm.min.js +1 -1
  674. package/selectbutton/style/selectbuttonstyle.js +1 -1
  675. package/selectbutton/style/selectbuttonstyle.min.js +1 -1
  676. package/sidebar/Sidebar.vue +1 -1
  677. package/sidebar/sidebar.cjs.js +1 -7
  678. package/sidebar/sidebar.cjs.min.js +1 -1
  679. package/sidebar/sidebar.esm.js +1 -7
  680. package/sidebar/sidebar.esm.min.js +1 -1
  681. package/sidebar/sidebar.js +1 -7
  682. package/sidebar/sidebar.min.js +1 -1
  683. package/skeleton/Skeleton.vue +2 -1
  684. package/skeleton/skeleton.cjs.js +2 -1
  685. package/skeleton/skeleton.cjs.min.js +1 -1
  686. package/skeleton/skeleton.esm.js +2 -1
  687. package/skeleton/skeleton.esm.min.js +1 -1
  688. package/skeleton/skeleton.js +2 -1
  689. package/skeleton/skeleton.min.js +1 -1
  690. package/slider/Slider.vue +2 -1
  691. package/slider/slider.cjs.js +2 -1
  692. package/slider/slider.cjs.min.js +1 -1
  693. package/slider/slider.esm.js +2 -1
  694. package/slider/slider.esm.min.js +1 -1
  695. package/slider/slider.js +2 -1
  696. package/slider/slider.min.js +1 -1
  697. package/speeddial/SpeedDial.vue +2 -1
  698. package/speeddial/speeddial.cjs.js +2 -1
  699. package/speeddial/speeddial.cjs.min.js +1 -1
  700. package/speeddial/speeddial.esm.js +2 -1
  701. package/speeddial/speeddial.esm.min.js +1 -1
  702. package/speeddial/speeddial.js +2 -1
  703. package/speeddial/speeddial.min.js +1 -1
  704. package/splitbutton/SplitButton.d.ts +3 -3
  705. package/splitbutton/SplitButton.vue +2 -1
  706. package/splitbutton/splitbutton.cjs.js +4 -3
  707. package/splitbutton/splitbutton.cjs.min.js +1 -1
  708. package/splitbutton/splitbutton.esm.js +4 -3
  709. package/splitbutton/splitbutton.esm.min.js +1 -1
  710. package/splitbutton/splitbutton.js +4 -3
  711. package/splitbutton/splitbutton.min.js +1 -1
  712. package/splitter/Splitter.vue +16 -13
  713. package/splitter/splitter.cjs.js +17 -14
  714. package/splitter/splitter.cjs.min.js +1 -1
  715. package/splitter/splitter.esm.js +17 -14
  716. package/splitter/splitter.esm.min.js +1 -1
  717. package/splitter/splitter.js +17 -14
  718. package/splitter/splitter.min.js +1 -1
  719. package/splitterpanel/SplitterPanel.vue +10 -2
  720. package/splitterpanel/splitterpanel.cjs.js +10 -2
  721. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  722. package/splitterpanel/splitterpanel.esm.js +10 -2
  723. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  724. package/splitterpanel/splitterpanel.js +10 -2
  725. package/splitterpanel/splitterpanel.min.js +1 -1
  726. package/stepper/BaseStepper.vue +4 -0
  727. package/stepper/Stepper.d.ts +197 -0
  728. package/stepper/Stepper.vue +162 -129
  729. package/stepper/StepperContent.vue +47 -0
  730. package/stepper/StepperHeader.vue +41 -0
  731. package/stepper/StepperSeparator.vue +23 -0
  732. package/stepper/package.json +9 -0
  733. package/stepper/stepper.cjs.js +347 -129
  734. package/stepper/stepper.cjs.min.js +1 -1
  735. package/stepper/stepper.esm.js +348 -130
  736. package/stepper/stepper.esm.min.js +1 -1
  737. package/stepper/stepper.js +347 -129
  738. package/stepper/stepper.min.js +1 -1
  739. package/stepper/style/StepperStyle.d.ts +3 -0
  740. package/stepper/style/package.json +6 -0
  741. package/stepper/style/stepperstyle.cjs.js +25 -19
  742. package/stepper/style/stepperstyle.cjs.min.js +1 -1
  743. package/stepper/style/stepperstyle.esm.js +25 -19
  744. package/stepper/style/stepperstyle.esm.min.js +1 -1
  745. package/stepper/style/stepperstyle.js +25 -19
  746. package/stepper/style/stepperstyle.min.js +1 -1
  747. package/stepperpanel/BaseStepperPanel.vue +18 -0
  748. package/stepperpanel/StepperPanel.d.ts +286 -0
  749. package/stepperpanel/StepperPanel.vue +12 -0
  750. package/stepperpanel/package.json +9 -0
  751. package/{step/step.cjs.js → stepperpanel/stepperpanel.cjs.js} +11 -11
  752. package/stepperpanel/stepperpanel.cjs.min.js +1 -0
  753. package/{step/step.esm.js → stepperpanel/stepperpanel.esm.js} +10 -10
  754. package/stepperpanel/stepperpanel.esm.min.js +1 -0
  755. package/{step/step.js → stepperpanel/stepperpanel.js} +12 -12
  756. package/stepperpanel/stepperpanel.min.js +1 -0
  757. package/stepperpanel/style/StepperPanelStyle.d.ts +3 -0
  758. package/stepperpanel/style/package.json +6 -0
  759. package/stepperpanel/style/stepperpanelstyle.cjs.js +5 -0
  760. package/stepperpanel/style/stepperpanelstyle.esm.js +3 -0
  761. package/stepperpanel/style/stepperpanelstyle.js +10 -0
  762. package/stepperpanel/style/stepperpanelstyle.min.js +1 -0
  763. package/steps/Steps.vue +2 -1
  764. package/steps/steps.cjs.js +2 -1
  765. package/steps/steps.cjs.min.js +1 -1
  766. package/steps/steps.esm.js +2 -1
  767. package/steps/steps.esm.min.js +1 -1
  768. package/steps/steps.js +2 -1
  769. package/steps/steps.min.js +1 -1
  770. package/styleclass/StyleClass.d.ts +2 -2
  771. package/tabmenu/TabMenu.vue +3 -2
  772. package/tabmenu/tabmenu.cjs.js +3 -2
  773. package/tabmenu/tabmenu.cjs.min.js +1 -1
  774. package/tabmenu/tabmenu.esm.js +3 -2
  775. package/tabmenu/tabmenu.esm.min.js +1 -1
  776. package/tabmenu/tabmenu.js +3 -2
  777. package/tabmenu/tabmenu.min.js +1 -1
  778. package/tabpanel/TabPanel.d.ts +1 -1
  779. package/tabview/TabView.d.ts +31 -1
  780. package/tabview/TabView.vue +4 -3
  781. package/tabview/tabview.cjs.js +4 -3
  782. package/tabview/tabview.cjs.min.js +1 -1
  783. package/tabview/tabview.esm.js +4 -3
  784. package/tabview/tabview.esm.min.js +1 -1
  785. package/tabview/tabview.js +4 -3
  786. package/tabview/tabview.min.js +1 -1
  787. package/tag/Tag.d.ts +2 -2
  788. package/tag/Tag.vue +3 -2
  789. package/tag/tag.cjs.js +3 -2
  790. package/tag/tag.cjs.min.js +1 -1
  791. package/tag/tag.esm.js +3 -2
  792. package/tag/tag.esm.min.js +1 -1
  793. package/tag/tag.js +3 -2
  794. package/tag/tag.min.js +1 -1
  795. package/terminal/Terminal.vue +2 -1
  796. package/terminal/terminal.cjs.js +2 -1
  797. package/terminal/terminal.cjs.min.js +1 -1
  798. package/terminal/terminal.esm.js +2 -1
  799. package/terminal/terminal.esm.min.js +1 -1
  800. package/terminal/terminal.js +2 -1
  801. package/terminal/terminal.min.js +1 -1
  802. package/textarea/Textarea.vue +2 -1
  803. package/textarea/textarea.cjs.js +4 -2
  804. package/textarea/textarea.cjs.min.js +1 -1
  805. package/textarea/textarea.esm.js +4 -2
  806. package/textarea/textarea.esm.min.js +1 -1
  807. package/textarea/textarea.js +4 -2
  808. package/textarea/textarea.min.js +1 -1
  809. package/tieredmenu/TieredMenu.d.ts +2 -2
  810. package/tieredmenu/TieredMenu.vue +11 -4
  811. package/tieredmenu/TieredMenuSub.vue +13 -3
  812. package/tieredmenu/tieredmenu.cjs.js +31 -22
  813. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  814. package/tieredmenu/tieredmenu.esm.js +31 -22
  815. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  816. package/tieredmenu/tieredmenu.js +31 -22
  817. package/tieredmenu/tieredmenu.min.js +1 -1
  818. package/timeline/Timeline.vue +2 -1
  819. package/timeline/timeline.cjs.js +2 -1
  820. package/timeline/timeline.cjs.min.js +1 -1
  821. package/timeline/timeline.esm.js +2 -1
  822. package/timeline/timeline.esm.min.js +1 -1
  823. package/timeline/timeline.js +2 -1
  824. package/timeline/timeline.min.js +1 -1
  825. package/toast/Toast.vue +1 -1
  826. package/toast/toast.cjs.js +1 -1
  827. package/toast/toast.cjs.min.js +1 -1
  828. package/toast/toast.esm.js +1 -1
  829. package/toast/toast.esm.min.js +1 -1
  830. package/toast/toast.js +1 -1
  831. package/toast/toast.min.js +1 -1
  832. package/togglebutton/ToggleButton.vue +5 -1
  833. package/togglebutton/togglebutton.cjs.js +5 -2
  834. package/togglebutton/togglebutton.cjs.min.js +1 -1
  835. package/togglebutton/togglebutton.esm.js +5 -2
  836. package/togglebutton/togglebutton.esm.min.js +1 -1
  837. package/togglebutton/togglebutton.js +5 -2
  838. package/togglebutton/togglebutton.min.js +1 -1
  839. package/toolbar/Toolbar.vue +3 -2
  840. package/toolbar/toolbar.cjs.js +3 -2
  841. package/toolbar/toolbar.cjs.min.js +1 -1
  842. package/toolbar/toolbar.esm.js +3 -2
  843. package/toolbar/toolbar.esm.min.js +1 -1
  844. package/toolbar/toolbar.js +3 -2
  845. package/toolbar/toolbar.min.js +1 -1
  846. package/tooltip/tooltip.cjs.js +6 -7
  847. package/tooltip/tooltip.cjs.min.js +1 -1
  848. package/tooltip/tooltip.esm.js +6 -7
  849. package/tooltip/tooltip.esm.min.js +1 -1
  850. package/tooltip/tooltip.js +6 -7
  851. package/tooltip/tooltip.min.js +1 -1
  852. package/tree/Tree.d.ts +2 -2
  853. package/tree/Tree.vue +2 -1
  854. package/tree/tree.cjs.js +2 -1
  855. package/tree/tree.cjs.min.js +1 -1
  856. package/tree/tree.esm.js +2 -1
  857. package/tree/tree.esm.min.js +1 -1
  858. package/tree/tree.js +2 -1
  859. package/tree/tree.min.js +1 -1
  860. package/treeselect/TreeSelect.d.ts +2 -2
  861. package/treeselect/TreeSelect.vue +2 -1
  862. package/treeselect/treeselect.cjs.js +2 -1
  863. package/treeselect/treeselect.cjs.min.js +1 -1
  864. package/treeselect/treeselect.esm.js +2 -1
  865. package/treeselect/treeselect.esm.min.js +1 -1
  866. package/treeselect/treeselect.js +2 -1
  867. package/treeselect/treeselect.min.js +1 -1
  868. package/treetable/TreeTable.d.ts +4 -4
  869. package/treetable/TreeTable.vue +2 -1
  870. package/treetable/treetable.cjs.js +2 -1
  871. package/treetable/treetable.cjs.min.js +1 -1
  872. package/treetable/treetable.esm.js +2 -1
  873. package/treetable/treetable.esm.min.js +1 -1
  874. package/treetable/treetable.js +2 -1
  875. package/treetable/treetable.min.js +1 -1
  876. package/tristatecheckbox/TriStateCheckbox.vue +5 -1
  877. package/tristatecheckbox/tristatecheckbox.cjs.js +5 -2
  878. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  879. package/tristatecheckbox/tristatecheckbox.esm.js +5 -2
  880. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  881. package/tristatecheckbox/tristatecheckbox.js +5 -2
  882. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  883. package/ts-helpers.d.ts +2 -0
  884. package/vetur-attributes.json +36 -0
  885. package/vetur-tags.json +14 -0
  886. package/virtualscroller/VirtualScroller.vue +17 -10
  887. package/virtualscroller/virtualscroller.cjs.js +23 -16
  888. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  889. package/virtualscroller/virtualscroller.esm.js +23 -16
  890. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  891. package/virtualscroller/virtualscroller.js +23 -16
  892. package/virtualscroller/virtualscroller.min.js +1 -1
  893. package/web-types.json +119 -1
  894. package/step/BaseStep.vue +0 -18
  895. package/step/Step.vue +0 -12
  896. package/step/step.cjs.min.js +0 -1
  897. package/step/step.esm.min.js +0 -1
  898. package/step/step.min.js +0 -1
  899. package/step/style/stepstyle.cjs.js +0 -5
  900. package/step/style/stepstyle.esm.js +0 -3
  901. package/step/style/stepstyle.js +0 -10
  902. package/step/style/stepstyle.min.js +0 -1
  903. /package/{step/style/stepstyle.cjs.min.js → stepperpanel/style/stepperpanelstyle.cjs.min.js} +0 -0
  904. /package/{step/style/stepstyle.esm.min.js → stepperpanel/style/stepperpanelstyle.esm.min.js} +0 -0
@@ -1 +1 @@
1
- import e from"primevue/button";import t from"primevue/icons/angledoubledown";import o from"primevue/icons/angledoubleleft";import n from"primevue/icons/angledoubleright";import i from"primevue/icons/angledoubleup";import r from"primevue/icons/angledown";import s from"primevue/icons/angleleft";import l from"primevue/icons/angleright";import a from"primevue/icons/angleup";import c from"primevue/ripple";import{UniqueComponentId as u,ObjectUtils as d,DomHandler as p}from"primevue/utils";import m from"primevue/basecomponent";import h from"primevue/picklist/style";import{resolveComponent as f,resolveDirective as v,openBlock as g,createElementBlock as b,mergeProps as y,renderSlot as I,createVNode as L,withCtx as w,createCommentVNode as $,createElementVNode as T,TransitionGroup as x,Fragment as A,renderList as D,withDirectives as S,createBlock as O,resolveDynamicComponent as _}from"vue";function k(e){return V(e)||M(e)||B(e)||C()}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(e,t){if(e){if("string"==typeof e)return E(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?E(e,t):void 0}}function M(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function V(e){if(Array.isArray(e))return E(e)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var P={name:"PickList",extends:{name:"BasePickList",extends:m,props:{modelValue:{type:Array,default:function(){return[[],[]]}},selection:{type:Array,default:function(){return[[],[]]}},dataKey:{type:String,default:null},listStyle:{type:null,default:null},metaKeySelection:{type:Boolean,default:!1},autoOptionFocus:{type:Boolean,default:!0},focusOnHover:{type:Boolean,default:!0},responsive:{type:Boolean,default:!0},breakpoint:{type:String,default:"960px"},stripedRows:{type:Boolean,default:!1},showSourceControls:{type:Boolean,default:!0},showTargetControls:{type:Boolean,default:!0},targetListProps:{type:null,default:null},sourceListProps:{type:null,default:null},moveUpButtonProps:{type:null,default:null},moveTopButtonProps:{type:null,default:null},moveDownButtonProps:{type:null,default:null},moveBottomButtonProps:{type:null,default:null},moveToTargetProps:{type:null,default:null},moveAllToTargetProps:{type:null,default:null},moveToSourceProps:{type:null,default:null},moveAllToSourceProps:{type:null,default:null},tabindex:{type:Number,default:0}},style:h,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","reorder","update:selection","selection-change","move-to-target","move-to-source","move-all-to-target","move-all-to-source","focus","blur"],itemTouched:!1,reorderDirection:null,styleElement:null,media:null,mediaChangeListener:null,data:function(){return{id:this.$attrs.id,d_selection:this.selection,focused:{sourceList:!1,targetList:!1},focusedOptionIndex:-1,viewChanged:!1}},watch:{"$attrs.id":function(e){this.id=e||u()},selection:function(e){this.d_selection=e},breakpoint:function(){this.destroyMedia(),this.initMedia()}},updated:function(){this.reorderDirection&&(this.updateListScroll(this.$refs.sourceList.$el),this.updateListScroll(this.$refs.targetList.$el),this.reorderDirection=null)},beforeUnmount:function(){this.destroyStyle(),this.destroyMedia()},mounted:function(){this.id=this.id||u(),this.responsive&&(this.createStyle(),this.initMedia())},methods:{getItemKey:function(e,t){return this.dataKey?d.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t,o,n){return this.ptm(t,{context:{active:this.isSelected(e,n),focused:o===this.focusedOptionId}})},isSelected:function(e,t){return-1!=d.findIndexInList(e,this.d_selection[t])},onListFocus:function(e,t){this.focused[t]=!0,this.findCurrentFocusedIndex(t),this.scrollInView(this.focusedOptionIndex,t),this.$emit("focus",e)},onListBlur:function(e,t){this.focused[t]=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onOptionMouseDown:function(e,t,o){this.focused[o]=!0,this.focusedOptionIndex=t},onOptionMouseMove:function(e,t){this.focusOnHover&&this.focused[t]&&this.changeFocusedOptionIndex(e,t)},moveUp:function(e,t){if(this.d_selection&&this.d_selection[t]){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=d.findIndexInList(n[i],o);if(0===r)break;var s=o[r-1];o[r-1]=o[r],o[r]=s}var l=k(this.modelValue);l[t]=o,this.reorderDirection="up",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveTop:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=d.findIndexInList(n[i],o);if(0===r)break;var s=o.splice(r,1)[0];o.unshift(s)}var l=k(this.modelValue);l[t]=o,this.reorderDirection="top",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveDown:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=d.findIndexInList(n[i],o);if(r===o.length-1)break;var s=o[r+1];o[r+1]=o[r],o[r]=s}var l=k(this.modelValue);l[t]=o,this.reorderDirection="down",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveBottom:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=d.findIndexInList(n[i],o);if(r===o.length-1)break;var s=o.splice(r,1)[0];o.push(s)}var l=k(this.modelValue);l[t]=o,this.reorderDirection="bottom",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveToTarget:function(e){var t=this.d_selection&&this.d_selection[0]?this.d_selection[0]:null,o=k(this.modelValue[0]),n=k(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==d.findIndexInList(r,n)&&n.push(o.splice(d.findIndexInList(r,o),1)[0])}var s=k(this.modelValue);s[0]=o,s[1]=n,this.$emit("update:modelValue",s),this.$emit("move-to-target",{originalEvent:e,items:k(new Set(t))}),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToTarget:function(e){if(this.modelValue[0]){var t=k(this.modelValue[0]),o=k(this.modelValue[1]);this.$emit("move-all-to-target",{originalEvent:e,items:t}),o=[].concat(k(o),k(t)),t=[];var n=k(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveToSource:function(e){var t=this.d_selection&&this.d_selection[1]?this.d_selection[1]:null,o=k(this.modelValue[0]),n=k(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==d.findIndexInList(r,o)&&o.push(n.splice(d.findIndexInList(r,n),1)[0])}var s=k(this.modelValue);s[0]=o,s[1]=n,this.$emit("update:modelValue",s),this.$emit("move-to-source",{originalEvent:e,items:k(new Set(t))}),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToSource:function(e){if(this.modelValue[1]){var t=k(this.modelValue[0]),o=k(this.modelValue[1]);this.$emit("move-all-to-source",{originalEvent:e,items:o}),t=[].concat(k(t),k(o)),o=[];var n=k(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},onItemClick:function(e,t,o,n){var i=0===n?"sourceList":"targetList";this.itemTouched=!1;var r,s=this.d_selection[n],l=d.findIndexInList(t,s),a=-1!=l,c=!this.itemTouched&&this.metaKeySelection,u=p.find(this.$refs[i].$el,'[data-pc-section="item"]')[o].getAttribute("id");if(this.focusedOptionIndex=u,c){var m=e.metaKey||e.ctrlKey;a&&m?r=s.filter((function(e,t){return t!==l})):(r=m&&s?k(s):[]).push(t)}else a?r=s.filter((function(e,t){return t!==l})):(r=s?k(s):[]).push(t);var h=k(this.d_selection);h[n]=r,this.d_selection=h,this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})},onItemDblClick:function(e,t,o){0===o?this.moveToTarget(e):1===o&&this.moveToSource(e)},onItemTouchEnd:function(){this.itemTouched=!0},onItemKeyDown:function(e,t){switch(e.code){case"ArrowDown":this.onArrowDownKey(e,t);break;case"ArrowUp":this.onArrowUpKey(e,t);break;case"Home":this.onHomeKey(e,t);break;case"End":this.onEndKey(e,t);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,t);break;case"Space":this.onSpaceKey(e,t);break;case"KeyA":e.ctrlKey&&(this.d_selection=k(this.modelValue),this.$emit("update:selection",this.d_selection),e.preventDefault())}},onArrowDownKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findNextOptionIndex(t):this.findFirstSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onArrowUpKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(t):this.findLastSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onEnterKey:function(e,t){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.onItemClick(e,this.modelValue[o][n],n,o),e.preventDefault()},onSpaceKey:function(e,t){if(e.preventDefault(),e.shiftKey&&this.d_selection&&this.d_selection.length>0){var o="sourceList"===t?0:1,n=d.findIndexInList(this.d_selection[o][0],k(this.modelValue[o])),i=this.findMatchedOptionIndex(t);this.d_selection[o]=k(this.modelValue[o]).slice(Math.min(n,i),Math.max(n,i)+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.onEnterKey(e,t)},onHomeKey:function(e,t){if(e.ctrlKey&&e.shiftKey){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.d_selection[o]=k(this.modelValue[o]).slice(0,n+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(0,t);e.preventDefault()},onEndKey:function(e,t){var o=this.findAllItems(t);if(e.ctrlKey&&e.shiftKey){var n="sourceList"===t?0:1,i=this.findMatchedOptionIndex(t);this.d_selection[n]=k(this.modelValue[n]).slice(i,o.length),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(o.length-1,t);e.preventDefault()},findAllItems:function(e){return p.find(this.$refs[e].$el,'[data-pc-section="item"]')},findFocusedItem:function(e){return p.findSingle(this.$refs[e].$el,'[data-pc-section="item"][id='.concat(this.focusedOptionIndex,"]"))},findCurrentFocusedIndex:function(e){-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstSelectedOptionIndex(e),this.autoOptionFocus&&-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(e)))},findFirstFocusedOptionIndex:function(e){var t=p.findSingle(this.$refs[e].$el,'[data-pc-section="item"]');return p.getAttribute(t,"id")},findFirstSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=p.findSingle(this.$refs[e].$el,'[data-p-highlight="true"]');return p.getAttribute(t,"id")}return-1},findLastSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=p.find(this.$refs[e].$el,'[data-p-highlight="true"]');return d.findIndexInList(t[t.length-1],this.list.children)}return-1},findMatchedOptionIndex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focusedOptionIndex;return k(this.findAllItems(e)).findIndex((function(e){return e.id===t}))},findNextOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t+1:0},findPrevOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t-1:0},changeFocusedOptionIndex:function(e,t){var o=this.findAllItems(t),n=e>=o.length?o.length-1:e<0?0:e;this.focusedOptionIndex=o[n].getAttribute("id"),this.scrollInView(o[n].getAttribute("id"),t)},scrollInView:function(e,t){var o=p.findSingle(this.$refs[t].$el,'[data-pc-section="item"][id="'.concat(e,'"]'));o&&o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"start",behavior:"smooth"})},updateListScroll:function(e){var t=p.find(e,'[data-pc-section="item"][data-p-highlight="true"]');if(t&&t.length)switch(this.reorderDirection){case"up":p.scrollInView(e,t[0]);break;case"top":e.scrollTop=0;break;case"down":p.scrollInView(e,t[t.length-1]);break;case"bottom":e.scrollTop=e.scrollHeight}},initMedia:function(){this.media=window.matchMedia("(max-width: ".concat(this.breakpoint,")")),this.viewChanged=this.media.matches,this.bindMediaChangeListener()},destroyMedia:function(){this.unbindMediaChangeListener()},bindMediaChangeListener:function(){var e=this;this.media&&!this.mediaChangeListener&&(this.mediaChangeListener=function(t){e.viewChanged=t.matches},this.media.addEventListener("change",this.mediaChangeListener))},unbindMediaChangeListener:function(){this.media&&this.mediaChangeListener&&(this.media.removeEventListener("change",this.mediaChangeListener),this.mediaChangeListener=null)},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.$el.setAttribute(this.attributeSelector,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",p.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="\n@media screen and (max-width: ".concat(this.breakpoint,") {\n .p-picklist[").concat(this.attributeSelector,"] {\n flex-direction: column;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons {\n padding: var(--content-padding);\n flex-direction: row;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button {\n margin-right: var(--inline-spacing);\n margin-bottom: 0;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button:last-child {\n margin-right: 0;\n }\n}\n");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},moveDisabled:function(e){if(!this.d_selection[e]||!this.d_selection[e].length)return!0},moveAllDisabled:function(e){return d.isEmpty(this[e])},hasSelectedOption:function(e){return d.isNotEmpty("sourceList"===e?this.d_selection[0]:this.d_selection[1])}},computed:{idSource:function(){return"".concat(this.id,"_source")},idTarget:function(){return"".concat(this.id,"_target")},focusedOptionId:function(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null},sourceList:function(){return this.modelValue&&this.modelValue[0]?this.modelValue[0]:null},targetList:function(){return this.modelValue&&this.modelValue[1]?this.modelValue[1]:null},attributeSelector:function(){return u()},moveUpAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveUp:void 0},moveTopAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveTop:void 0},moveDownAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveDown:void 0},moveBottomAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveBottom:void 0},moveToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToTarget:void 0},moveAllToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToTarget:void 0},moveToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToSource:void 0},moveAllToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToSource:void 0}},components:{PLButton:e,AngleRightIcon:l,AngleLeftIcon:s,AngleDownIcon:r,AngleUpIcon:a,AngleDoubleRightIcon:n,AngleDoubleLeftIcon:o,AngleDoubleDownIcon:t,AngleDoubleUpIcon:i},directives:{ripple:c}};function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function F(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(Object(o),!0).forEach((function(t){j(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function j(e,t,o){var n;return(t="symbol"==K(n=H(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function H(e,t){if("object"!=K(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var N=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"],R=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"];P.render=function(e,t,o,n,i,r){var s=f("AngleUpIcon"),l=f("PLButton"),a=f("AngleDoubleUpIcon"),c=f("AngleDownIcon"),u=f("AngleDoubleDownIcon"),d=v("ripple");return g(),b("div",y({class:e.cx("root")},e.ptm("root")),[e.showSourceControls?(g(),b("div",y({key:0,class:e.cx("sourceControls")},e.ptm("sourceControls"),{"data-pc-group-section":"controls"}),[I(e.$slots,"sourcecontrolsstart"),L(l,y({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[0]||(t[0]=function(e){return r.moveUp(e,0)})},e.moveUpButtonProps,{pt:e.ptm("sourceMoveUpButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"moveupicon",{},(function(){return[L(s,y(e.ptm("sourceMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[1]||(t[1]=function(e){return r.moveTop(e,0)})},e.moveTopButtonProps,{pt:e.ptm("sourceMoveTopButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetopicon",{},(function(){return[L(a,y(e.ptm("sourceMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[2]||(t[2]=function(e){return r.moveDown(e,0)})},e.moveDownButtonProps,{pt:e.ptm("sourceMoveDownButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movedownicon",{},(function(){return[L(c,y(e.ptm("sourceMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[3]||(t[3]=function(e){return r.moveBottom(e,0)})},e.moveBottomButtonProps,{pt:e.ptm("sourceMoveBottomButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movebottomicon",{},(function(){return[L(u,y(e.ptm("sourceMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),I(e.$slots,"sourcecontrolsend")],16)):$("",!0),T("div",y({class:e.cx("sourceWrapper")},e.ptm("sourceWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.sourceheader?(g(),b("div",y({key:0,class:e.cx("sourceHeader")},e.ptm("sourceHeader"),{"data-pc-group-section":"header"}),[I(e.$slots,"sourceheader")],16)):$("",!0),L(x,y({ref:"sourceList",id:r.idSource+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("sourceList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.sourceList?r.focusedOptionId:void 0,tabindex:r.sourceList&&r.sourceList.length>0?e.tabindex:-1,onFocus:t[5]||(t[5]=function(e){return r.onListFocus(e,"sourceList")}),onBlur:t[6]||(t[6]=function(e){return r.onListBlur(e,"sourceList")}),onKeydown:t[7]||(t[7]=function(e){return r.onItemKeyDown(e,"sourceList")})},F(F(F({},e.sourceListProps),e.ptm("sourceList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:w((function(){return[(g(!0),b(A,null,D(r.sourceList,(function(o,n){return S((g(),b("li",y({key:r.getItemKey(o,n),id:r.idSource+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idSource,"_").concat(n),listIndex:0}),onClick:function(e){return r.onItemClick(e,o,n,0)},onDblclick:function(e){return r.onItemDblClick(e,o,0)},onTouchend:t[4]||(t[4]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"sourceList")},onMousemove:function(e){return r.onOptionMouseMove(n,"sourceList")},role:"option","aria-selected":r.isSelected(o,0)},r.getPTOptions(o,"item","".concat(r.idSource,"_").concat(n),0),{"data-p-highlight":r.isSelected(o,0),"data-p-focused":"".concat(r.idSource,"_").concat(n)===r.focusedOptionId}),[I(e.$slots,"item",{item:o,index:n})],16,N)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),T("div",y({class:e.cx("buttons")},e.ptm("buttons"),{"data-pc-group-section":"controls"}),[I(e.$slots,"movecontrolsstart"),L(l,y({"aria-label":r.moveToTargetAriaLabel,type:"button",onClick:r.moveToTarget,disabled:r.moveDisabled(0)},e.moveToTargetProps,{pt:e.ptm("moveToTargetButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetotargeticon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDownIcon":"AngleRightIcon"),y(e.ptm("moveToTargetButton").icon,{"data-pc-section":"movetotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveAllToTargetAriaLabel,type:"button",onClick:r.moveAllToTarget,disabled:r.moveAllDisabled("sourceList")},e.moveAllToTargetProps,{pt:e.ptm("moveAllToTargetButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movealltotargeticon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDoubleDownIcon":"AngleDoubleRightIcon"),y(e.ptm("moveAllToTargetButton").icon,{"data-pc-section":"movealltotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveToSourceAriaLabel,type:"button",onClick:r.moveToSource,disabled:r.moveDisabled(1)},e.moveToSourceProps,{pt:e.ptm("moveToSourceButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetosourceicon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleUpIcon":"AngleLeftIcon"),y(e.ptm("moveToSourceButton").icon,{"data-pc-section":"movetosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveAllToSourceAriaLabel,type:"button",onClick:r.moveAllToSource,disabled:r.moveAllDisabled("targetList")},e.moveAllToSourceProps,{pt:e.ptm("moveAllToSourceButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movealltosourceicon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDoubleUpIcon":"AngleDoubleLeftIcon"),y(e.ptm("moveAllToSourceButton").icon,{"data-pc-section":"movealltosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),I(e.$slots,"movecontrolsend")],16),T("div",y({class:e.cx("targetWrapper")},e.ptm("targetWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.targetheader?(g(),b("div",y({key:0,class:e.cx("targetHeader")},e.ptm("targetHeader"),{"data-pc-group-section":"header"}),[I(e.$slots,"targetheader")],16)):$("",!0),L(x,y({ref:"targetList",id:r.idTarget+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("targetList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.targetList?r.focusedOptionId:void 0,tabindex:r.targetList&&r.targetList.length>0?e.tabindex:-1,onFocus:t[10]||(t[10]=function(e){return r.onListFocus(e,"targetList")}),onBlur:t[11]||(t[11]=function(e){return r.onListBlur(e,"targetList")}),onKeydown:t[12]||(t[12]=function(e){return r.onItemKeyDown(e,"targetList")})},F(F(F({},e.targetListProps),e.ptm("targetList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:w((function(){return[(g(!0),b(A,null,D(r.targetList,(function(o,n){return S((g(),b("li",y({key:r.getItemKey(o,n),id:r.idTarget+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idTarget,"_").concat(n),listIndex:1}),onClick:function(e){return r.onItemClick(e,o,n,1)},onDblclick:function(e){return r.onItemDblClick(e,o,1)},onKeydown:t[8]||(t[8]=function(e){return r.onItemKeyDown(e,"targetList")}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"targetList")},onMousemove:function(e){return r.onOptionMouseMove(n,"targetList")},onTouchend:t[9]||(t[9]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),role:"option","aria-selected":r.isSelected(o,1)},r.getPTOptions(o,"item","".concat(r.idTarget,"_").concat(n),1),{"data-p-highlight":r.isSelected(o,1),"data-p-focused":"".concat(r.idTarget,"_").concat(n)===r.focusedOptionId}),[I(e.$slots,"item",{item:o,index:n})],16,R)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),e.showTargetControls?(g(),b("div",y({key:1,class:e.cx("targetControls")},e.ptm("targetControls"),{"data-pc-group-section":"controls"}),[I(e.$slots,"targetcontrolsstart"),L(l,y({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[13]||(t[13]=function(e){return r.moveUp(e,1)})},e.moveUpButtonProps,{pt:e.ptm("targetMoveUpButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"moveupicon",{},(function(){return[L(s,y(e.ptm("targetMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[14]||(t[14]=function(e){return r.moveTop(e,1)})},e.moveTopButtonProps,{pt:e.ptm("targetMoveTopButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetopicon",{},(function(){return[L(a,y(e.ptm("targetMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[15]||(t[15]=function(e){return r.moveDown(e,1)})},e.moveDownButtonProps,{pt:e.ptm("targetMoveDownButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movedownicon",{},(function(){return[L(c,y(e.ptm("targetMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[16]||(t[16]=function(e){return r.moveBottom(e,1)})},e.moveBottomButtonProps,{pt:e.ptm("targetMoveBottomButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movebottomicon",{},(function(){return[L(u,y(e.ptm("targetMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),I(e.$slots,"targetcontrolsend")],16)):$("",!0)],16)};export{P as default};
1
+ import e from"primevue/button";import t from"primevue/icons/angledoubledown";import o from"primevue/icons/angledoubleleft";import n from"primevue/icons/angledoubleright";import i from"primevue/icons/angledoubleup";import r from"primevue/icons/angledown";import s from"primevue/icons/angleleft";import l from"primevue/icons/angleright";import a from"primevue/icons/angleup";import c from"primevue/ripple";import{UniqueComponentId as u,ObjectUtils as d,DomHandler as p}from"primevue/utils";import m from"primevue/basecomponent";import h from"primevue/picklist/style";import{resolveComponent as f,resolveDirective as v,openBlock as g,createElementBlock as b,mergeProps as y,renderSlot as I,createVNode as L,withCtx as w,createCommentVNode as $,createElementVNode as T,TransitionGroup as x,Fragment as A,renderList as D,withDirectives as S,createBlock as O,resolveDynamicComponent as _}from"vue";function k(e){return V(e)||M(e)||B(e)||C()}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(e,t){if(e){if("string"==typeof e)return E(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?E(e,t):void 0}}function M(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function V(e){if(Array.isArray(e))return E(e)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var P={name:"PickList",extends:{name:"BasePickList",extends:m,props:{modelValue:{type:Array,default:function(){return[[],[]]}},selection:{type:Array,default:function(){return[[],[]]}},dataKey:{type:String,default:null},listStyle:{type:null,default:null},metaKeySelection:{type:Boolean,default:!1},autoOptionFocus:{type:Boolean,default:!0},focusOnHover:{type:Boolean,default:!0},responsive:{type:Boolean,default:!0},breakpoint:{type:String,default:"960px"},stripedRows:{type:Boolean,default:!1},showSourceControls:{type:Boolean,default:!0},showTargetControls:{type:Boolean,default:!0},targetListProps:{type:null,default:null},sourceListProps:{type:null,default:null},moveUpButtonProps:{type:null,default:null},moveTopButtonProps:{type:null,default:null},moveDownButtonProps:{type:null,default:null},moveBottomButtonProps:{type:null,default:null},moveToTargetProps:{type:null,default:null},moveAllToTargetProps:{type:null,default:null},moveToSourceProps:{type:null,default:null},moveAllToSourceProps:{type:null,default:null},tabindex:{type:Number,default:0}},style:h,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","reorder","update:selection","selection-change","move-to-target","move-to-source","move-all-to-target","move-all-to-source","focus","blur"],itemTouched:!1,reorderDirection:null,styleElement:null,media:null,mediaChangeListener:null,data:function(){return{id:this.$attrs.id,d_selection:this.selection,focused:{sourceList:!1,targetList:!1},focusedOptionIndex:-1,viewChanged:!1}},watch:{"$attrs.id":function(e){this.id=e||u()},selection:function(e){this.d_selection=e},breakpoint:function(){this.destroyMedia(),this.initMedia()}},updated:function(){this.reorderDirection&&(this.updateListScroll(this.$refs.sourceList.$el),this.updateListScroll(this.$refs.targetList.$el),this.reorderDirection=null)},beforeUnmount:function(){this.destroyStyle(),this.destroyMedia()},mounted:function(){this.id=this.id||u(),this.responsive&&(this.createStyle(),this.initMedia())},methods:{getItemKey:function(e,t){return this.dataKey?d.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t,o,n){return this.ptm(t,{context:{active:this.isSelected(e,n),focused:o===this.focusedOptionId}})},isSelected:function(e,t){return-1!=d.findIndexInList(e,this.d_selection[t])},onListFocus:function(e,t){this.focused[t]=!0,this.findCurrentFocusedIndex(t),this.scrollInView(this.focusedOptionIndex,t),this.$emit("focus",e)},onListBlur:function(e,t){this.focused[t]=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onOptionMouseDown:function(e,t,o){this.focused[o]=!0,this.focusedOptionIndex=t},onOptionMouseMove:function(e,t){this.focusOnHover&&this.focused[t]&&this.changeFocusedOptionIndex(e,t)},moveUp:function(e,t){if(this.d_selection&&this.d_selection[t]){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=d.findIndexInList(n[i],o);if(0===r)break;var s=o[r-1];o[r-1]=o[r],o[r]=s}var l=k(this.modelValue);l[t]=o,this.reorderDirection="up",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveTop:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=d.findIndexInList(n[i],o);if(0===r)break;var s=o.splice(r,1)[0];o.unshift(s)}var l=k(this.modelValue);l[t]=o,this.reorderDirection="top",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveDown:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=d.findIndexInList(n[i],o);if(r===o.length-1)break;var s=o[r+1];o[r+1]=o[r],o[r]=s}var l=k(this.modelValue);l[t]=o,this.reorderDirection="down",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveBottom:function(e,t){if(this.d_selection){for(var o=k(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=d.findIndexInList(n[i],o);if(r===o.length-1)break;var s=o.splice(r,1)[0];o.push(s)}var l=k(this.modelValue);l[t]=o,this.reorderDirection="bottom",this.$emit("update:modelValue",l),this.$emit("reorder",{originalEvent:e,value:l,direction:this.reorderDirection,listIndex:t})}},moveToTarget:function(e){var t=this.d_selection&&this.d_selection[0]?this.d_selection[0]:null,o=k(this.modelValue[0]),n=k(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==d.findIndexInList(r,n)&&n.push(o.splice(d.findIndexInList(r,o),1)[0])}var s=k(this.modelValue);s[0]=o,s[1]=n,this.$emit("update:modelValue",s),this.$emit("move-to-target",{originalEvent:e,items:k(new Set(t))}),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToTarget:function(e){if(this.modelValue[0]){var t=k(this.modelValue[0]),o=k(this.modelValue[1]);this.$emit("move-all-to-target",{originalEvent:e,items:t}),o=[].concat(k(o),k(t)),t=[];var n=k(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveToSource:function(e){var t=this.d_selection&&this.d_selection[1]?this.d_selection[1]:null,o=k(this.modelValue[0]),n=k(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==d.findIndexInList(r,o)&&o.push(n.splice(d.findIndexInList(r,n),1)[0])}var s=k(this.modelValue);s[0]=o,s[1]=n,this.$emit("update:modelValue",s),this.$emit("move-to-source",{originalEvent:e,items:k(new Set(t))}),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToSource:function(e){if(this.modelValue[1]){var t=k(this.modelValue[0]),o=k(this.modelValue[1]);this.$emit("move-all-to-source",{originalEvent:e,items:o}),t=[].concat(k(t),k(o)),o=[];var n=k(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},onItemClick:function(e,t,o,n){var i=0===n?"sourceList":"targetList";this.itemTouched=!1;var r,s=this.d_selection[n],l=d.findIndexInList(t,s),a=-1!=l,c=!this.itemTouched&&this.metaKeySelection,u=p.find(this.$refs[i].$el,'[data-pc-section="item"]')[o].getAttribute("id");if(this.focusedOptionIndex=u,c){var m=e.metaKey||e.ctrlKey;a&&m?r=s.filter((function(e,t){return t!==l})):(r=m&&s?k(s):[]).push(t)}else a?r=s.filter((function(e,t){return t!==l})):(r=s?k(s):[]).push(t);var h=k(this.d_selection);h[n]=r,this.d_selection=h,this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})},onItemDblClick:function(e,t,o){0===o?this.moveToTarget(e):1===o&&this.moveToSource(e)},onItemTouchEnd:function(){this.itemTouched=!0},onItemKeyDown:function(e,t){switch(e.code){case"ArrowDown":this.onArrowDownKey(e,t);break;case"ArrowUp":this.onArrowUpKey(e,t);break;case"Home":this.onHomeKey(e,t);break;case"End":this.onEndKey(e,t);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,t);break;case"Space":this.onSpaceKey(e,t);break;case"KeyA":e.ctrlKey&&(this.d_selection=k(this.modelValue),this.$emit("update:selection",this.d_selection),e.preventDefault())}},onArrowDownKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findNextOptionIndex(t):this.findFirstSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onArrowUpKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(t):this.findLastSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onEnterKey:function(e,t){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.onItemClick(e,this.modelValue[o][n],n,o),e.preventDefault()},onSpaceKey:function(e,t){if(e.preventDefault(),e.shiftKey&&this.d_selection&&this.d_selection.length>0){var o="sourceList"===t?0:1,n=d.findIndexInList(this.d_selection[o][0],k(this.modelValue[o])),i=this.findMatchedOptionIndex(t);this.d_selection[o]=k(this.modelValue[o]).slice(Math.min(n,i),Math.max(n,i)+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.onEnterKey(e,t)},onHomeKey:function(e,t){if(e.ctrlKey&&e.shiftKey){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.d_selection[o]=k(this.modelValue[o]).slice(0,n+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(0,t);e.preventDefault()},onEndKey:function(e,t){var o=this.findAllItems(t);if(e.ctrlKey&&e.shiftKey){var n="sourceList"===t?0:1,i=this.findMatchedOptionIndex(t);this.d_selection[n]=k(this.modelValue[n]).slice(i,o.length),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(o.length-1,t);e.preventDefault()},findAllItems:function(e){return p.find(this.$refs[e].$el,'[data-pc-section="item"]')},findFocusedItem:function(e){return p.findSingle(this.$refs[e].$el,'[data-pc-section="item"][id='.concat(this.focusedOptionIndex,"]"))},findCurrentFocusedIndex:function(e){-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstSelectedOptionIndex(e),this.autoOptionFocus&&-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(e)))},findFirstFocusedOptionIndex:function(e){var t=p.findSingle(this.$refs[e].$el,'[data-pc-section="item"]');return p.getAttribute(t,"id")},findFirstSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=p.findSingle(this.$refs[e].$el,'[data-p-highlight="true"]');return p.getAttribute(t,"id")}return-1},findLastSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=p.find(this.$refs[e].$el,'[data-p-highlight="true"]');return d.findIndexInList(t[t.length-1],this.list.children)}return-1},findMatchedOptionIndex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focusedOptionIndex;return k(this.findAllItems(e)).findIndex((function(e){return e.id===t}))},findNextOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t+1:0},findPrevOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t-1:0},changeFocusedOptionIndex:function(e,t){var o=this.findAllItems(t),n=e>=o.length?o.length-1:e<0?0:e;this.focusedOptionIndex=o[n].getAttribute("id"),this.scrollInView(o[n].getAttribute("id"),t)},scrollInView:function(e,t){var o=p.findSingle(this.$refs[t].$el,'[data-pc-section="item"][id="'.concat(e,'"]'));o&&o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"start",behavior:"smooth"})},updateListScroll:function(e){var t=p.find(e,'[data-pc-section="item"][data-p-highlight="true"]');if(t&&t.length)switch(this.reorderDirection){case"up":p.scrollInView(e,t[0]);break;case"top":e.scrollTop=0;break;case"down":p.scrollInView(e,t[t.length-1]);break;case"bottom":e.scrollTop=e.scrollHeight}},initMedia:function(){this.media=window.matchMedia("(max-width: ".concat(this.breakpoint,")")),this.viewChanged=this.media.matches,this.bindMediaChangeListener()},destroyMedia:function(){this.unbindMediaChangeListener()},bindMediaChangeListener:function(){var e=this;this.media&&!this.mediaChangeListener&&(this.mediaChangeListener=function(t){e.viewChanged=t.matches},this.media.addEventListener("change",this.mediaChangeListener))},unbindMediaChangeListener:function(){this.media&&this.mediaChangeListener&&(this.media.removeEventListener("change",this.mediaChangeListener),this.mediaChangeListener=null)},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.$el.setAttribute(this.attributeSelector,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",p.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="\n@media screen and (max-width: ".concat(this.breakpoint,") {\n .p-picklist[").concat(this.attributeSelector,"] {\n flex-direction: column;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons {\n padding: var(--content-padding);\n flex-direction: row;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button {\n margin-right: var(--inline-spacing);\n margin-bottom: 0;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button:last-child {\n margin-right: 0;\n }\n}\n");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},moveDisabled:function(e){if(!this.d_selection[e]||!this.d_selection[e].length)return!0},moveAllDisabled:function(e){return d.isEmpty(this[e])},hasSelectedOption:function(e){return d.isNotEmpty("sourceList"===e?this.d_selection[0]:this.d_selection[1])}},computed:{idSource:function(){return"".concat(this.id,"_source")},idTarget:function(){return"".concat(this.id,"_target")},focusedOptionId:function(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null},sourceList:function(){return this.modelValue&&this.modelValue[0]?this.modelValue[0]:null},targetList:function(){return this.modelValue&&this.modelValue[1]?this.modelValue[1]:null},attributeSelector:function(){return u()},moveUpAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveUp:void 0},moveTopAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveTop:void 0},moveDownAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveDown:void 0},moveBottomAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveBottom:void 0},moveToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToTarget:void 0},moveAllToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToTarget:void 0},moveToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToSource:void 0},moveAllToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToSource:void 0}},components:{PLButton:e,AngleRightIcon:l,AngleLeftIcon:s,AngleDownIcon:r,AngleUpIcon:a,AngleDoubleRightIcon:n,AngleDoubleLeftIcon:o,AngleDoubleDownIcon:t,AngleDoubleUpIcon:i},directives:{ripple:c}};function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}function U(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function F(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?U(Object(o),!0).forEach((function(t){j(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):U(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function j(e,t,o){var n;return(t="symbol"==K(n=H(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function H(e,t){if("object"!=K(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var N=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"],R=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"];P.render=function(e,t,o,n,i,r){var s=f("AngleUpIcon"),l=f("PLButton"),a=f("AngleDoubleUpIcon"),c=f("AngleDownIcon"),u=f("AngleDoubleDownIcon"),d=v("ripple");return g(),b("div",y({class:e.cx("root")},e.ptmi("root")),[e.showSourceControls?(g(),b("div",y({key:0,class:e.cx("sourceControls")},e.ptm("sourceControls"),{"data-pc-group-section":"controls"}),[I(e.$slots,"sourcecontrolsstart"),L(l,y({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[0]||(t[0]=function(e){return r.moveUp(e,0)})},e.moveUpButtonProps,{pt:e.ptm("sourceMoveUpButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"moveupicon",{},(function(){return[L(s,y(e.ptm("sourceMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[1]||(t[1]=function(e){return r.moveTop(e,0)})},e.moveTopButtonProps,{pt:e.ptm("sourceMoveTopButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetopicon",{},(function(){return[L(a,y(e.ptm("sourceMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[2]||(t[2]=function(e){return r.moveDown(e,0)})},e.moveDownButtonProps,{pt:e.ptm("sourceMoveDownButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movedownicon",{},(function(){return[L(c,y(e.ptm("sourceMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[3]||(t[3]=function(e){return r.moveBottom(e,0)})},e.moveBottomButtonProps,{pt:e.ptm("sourceMoveBottomButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movebottomicon",{},(function(){return[L(u,y(e.ptm("sourceMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),I(e.$slots,"sourcecontrolsend")],16)):$("",!0),T("div",y({class:e.cx("sourceWrapper")},e.ptm("sourceWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.sourceheader?(g(),b("div",y({key:0,class:e.cx("sourceHeader")},e.ptm("sourceHeader"),{"data-pc-group-section":"header"}),[I(e.$slots,"sourceheader")],16)):$("",!0),L(x,y({ref:"sourceList",id:r.idSource+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("sourceList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.sourceList?r.focusedOptionId:void 0,tabindex:r.sourceList&&r.sourceList.length>0?e.tabindex:-1,onFocus:t[5]||(t[5]=function(e){return r.onListFocus(e,"sourceList")}),onBlur:t[6]||(t[6]=function(e){return r.onListBlur(e,"sourceList")}),onKeydown:t[7]||(t[7]=function(e){return r.onItemKeyDown(e,"sourceList")})},F(F(F({},e.sourceListProps),e.ptm("sourceList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:w((function(){return[(g(!0),b(A,null,D(r.sourceList,(function(o,n){return S((g(),b("li",y({key:r.getItemKey(o,n),id:r.idSource+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idSource,"_").concat(n),listIndex:0}),onClick:function(e){return r.onItemClick(e,o,n,0)},onDblclick:function(e){return r.onItemDblClick(e,o,0)},onTouchend:t[4]||(t[4]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"sourceList")},onMousemove:function(e){return r.onOptionMouseMove(n,"sourceList")},role:"option","aria-selected":r.isSelected(o,0)},r.getPTOptions(o,"item","".concat(r.idSource,"_").concat(n),0),{"data-p-highlight":r.isSelected(o,0),"data-p-focused":"".concat(r.idSource,"_").concat(n)===r.focusedOptionId}),[I(e.$slots,"item",{item:o,index:n})],16,N)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),T("div",y({class:e.cx("buttons")},e.ptm("buttons"),{"data-pc-group-section":"controls"}),[I(e.$slots,"movecontrolsstart"),L(l,y({"aria-label":r.moveToTargetAriaLabel,type:"button",onClick:r.moveToTarget,disabled:r.moveDisabled(0)},e.moveToTargetProps,{pt:e.ptm("moveToTargetButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetotargeticon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDownIcon":"AngleRightIcon"),y(e.ptm("moveToTargetButton").icon,{"data-pc-section":"movetotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveAllToTargetAriaLabel,type:"button",onClick:r.moveAllToTarget,disabled:r.moveAllDisabled("sourceList")},e.moveAllToTargetProps,{pt:e.ptm("moveAllToTargetButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movealltotargeticon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDoubleDownIcon":"AngleDoubleRightIcon"),y(e.ptm("moveAllToTargetButton").icon,{"data-pc-section":"movealltotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveToSourceAriaLabel,type:"button",onClick:r.moveToSource,disabled:r.moveDisabled(1)},e.moveToSourceProps,{pt:e.ptm("moveToSourceButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetosourceicon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleUpIcon":"AngleLeftIcon"),y(e.ptm("moveToSourceButton").icon,{"data-pc-section":"movetosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveAllToSourceAriaLabel,type:"button",onClick:r.moveAllToSource,disabled:r.moveAllDisabled("targetList")},e.moveAllToSourceProps,{pt:e.ptm("moveAllToSourceButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movealltosourceicon",{viewChanged:i.viewChanged},(function(){return[(g(),O(_(i.viewChanged?"AngleDoubleUpIcon":"AngleDoubleLeftIcon"),y(e.ptm("moveAllToSourceButton").icon,{"data-pc-section":"movealltosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),I(e.$slots,"movecontrolsend")],16),T("div",y({class:e.cx("targetWrapper")},e.ptm("targetWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.targetheader?(g(),b("div",y({key:0,class:e.cx("targetHeader")},e.ptm("targetHeader"),{"data-pc-group-section":"header"}),[I(e.$slots,"targetheader")],16)):$("",!0),L(x,y({ref:"targetList",id:r.idTarget+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("targetList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.targetList?r.focusedOptionId:void 0,tabindex:r.targetList&&r.targetList.length>0?e.tabindex:-1,onFocus:t[10]||(t[10]=function(e){return r.onListFocus(e,"targetList")}),onBlur:t[11]||(t[11]=function(e){return r.onListBlur(e,"targetList")}),onKeydown:t[12]||(t[12]=function(e){return r.onItemKeyDown(e,"targetList")})},F(F(F({},e.targetListProps),e.ptm("targetList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:w((function(){return[(g(!0),b(A,null,D(r.targetList,(function(o,n){return S((g(),b("li",y({key:r.getItemKey(o,n),id:r.idTarget+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idTarget,"_").concat(n),listIndex:1}),onClick:function(e){return r.onItemClick(e,o,n,1)},onDblclick:function(e){return r.onItemDblClick(e,o,1)},onKeydown:t[8]||(t[8]=function(e){return r.onItemKeyDown(e,"targetList")}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"targetList")},onMousemove:function(e){return r.onOptionMouseMove(n,"targetList")},onTouchend:t[9]||(t[9]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),role:"option","aria-selected":r.isSelected(o,1)},r.getPTOptions(o,"item","".concat(r.idTarget,"_").concat(n),1),{"data-p-highlight":r.isSelected(o,1),"data-p-focused":"".concat(r.idTarget,"_").concat(n)===r.focusedOptionId}),[I(e.$slots,"item",{item:o,index:n})],16,R)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),e.showTargetControls?(g(),b("div",y({key:1,class:e.cx("targetControls")},e.ptm("targetControls"),{"data-pc-group-section":"controls"}),[I(e.$slots,"targetcontrolsstart"),L(l,y({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[13]||(t[13]=function(e){return r.moveUp(e,1)})},e.moveUpButtonProps,{pt:e.ptm("targetMoveUpButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"moveupicon",{},(function(){return[L(s,y(e.ptm("targetMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[14]||(t[14]=function(e){return r.moveTop(e,1)})},e.moveTopButtonProps,{pt:e.ptm("targetMoveTopButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movetopicon",{},(function(){return[L(a,y(e.ptm("targetMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[15]||(t[15]=function(e){return r.moveDown(e,1)})},e.moveDownButtonProps,{pt:e.ptm("targetMoveDownButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movedownicon",{},(function(){return[L(c,y(e.ptm("targetMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),L(l,y({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[16]||(t[16]=function(e){return r.moveBottom(e,1)})},e.moveBottomButtonProps,{pt:e.ptm("targetMoveBottomButton"),unstyled:e.unstyled}),{icon:w((function(){return[I(e.$slots,"movebottomicon",{},(function(){return[L(u,y(e.ptm("targetMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),I(e.$slots,"targetcontrolsend")],16)):$("",!0)],16)};export{P as default};
@@ -135,6 +135,7 @@ this.primevue.picklist = (function (Button, AngleDoubleDownIcon, AngleDoubleLeft
135
135
  var script = {
136
136
  name: 'PickList',
137
137
  "extends": script$1,
138
+ inheritAttrs: false,
138
139
  emits: ['update:modelValue', 'reorder', 'update:selection', 'selection-change', 'move-to-target', 'move-to-source', 'move-all-to-target', 'move-all-to-source', 'focus', 'blur'],
139
140
  itemTouched: false,
140
141
  reorderDirection: null,
@@ -779,7 +780,7 @@ this.primevue.picklist = (function (Button, AngleDoubleDownIcon, AngleDoubleLeft
779
780
  var _directive_ripple = vue.resolveDirective("ripple");
780
781
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
781
782
  "class": _ctx.cx('root')
782
- }, _ctx.ptm('root')), [_ctx.showSourceControls ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
783
+ }, _ctx.ptmi('root')), [_ctx.showSourceControls ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
783
784
  key: 0,
784
785
  "class": _ctx.cx('sourceControls')
785
786
  }, _ctx.ptm('sourceControls'), {
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.picklist=function(e,t,o,n,i,r,l,s,a,c,u,d,m,p){"use strict";function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=h(e),v=h(t),g=h(o),b=h(n),y=h(i),I=h(r),w=h(l),L=h(s),x=h(a),S=h(c);function D(e){return C(e)||O(e)||$(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(e,t){if(e){if("string"==typeof e)return k(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?k(e,t):void 0}}function O(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function C(e){if(Array.isArray(e))return k(e)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var B={name:"PickList",extends:{name:"BasePickList",extends:h(d).default,props:{modelValue:{type:Array,default:function(){return[[],[]]}},selection:{type:Array,default:function(){return[[],[]]}},dataKey:{type:String,default:null},listStyle:{type:null,default:null},metaKeySelection:{type:Boolean,default:!1},autoOptionFocus:{type:Boolean,default:!0},focusOnHover:{type:Boolean,default:!0},responsive:{type:Boolean,default:!0},breakpoint:{type:String,default:"960px"},stripedRows:{type:Boolean,default:!1},showSourceControls:{type:Boolean,default:!0},showTargetControls:{type:Boolean,default:!0},targetListProps:{type:null,default:null},sourceListProps:{type:null,default:null},moveUpButtonProps:{type:null,default:null},moveTopButtonProps:{type:null,default:null},moveDownButtonProps:{type:null,default:null},moveBottomButtonProps:{type:null,default:null},moveToTargetProps:{type:null,default:null},moveAllToTargetProps:{type:null,default:null},moveToSourceProps:{type:null,default:null},moveAllToSourceProps:{type:null,default:null},tabindex:{type:Number,default:0}},style:h(m).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","reorder","update:selection","selection-change","move-to-target","move-to-source","move-all-to-target","move-all-to-source","focus","blur"],itemTouched:!1,reorderDirection:null,styleElement:null,media:null,mediaChangeListener:null,data:function(){return{id:this.$attrs.id,d_selection:this.selection,focused:{sourceList:!1,targetList:!1},focusedOptionIndex:-1,viewChanged:!1}},watch:{"$attrs.id":function(e){this.id=e||u.UniqueComponentId()},selection:function(e){this.d_selection=e},breakpoint:function(){this.destroyMedia(),this.initMedia()}},updated:function(){this.reorderDirection&&(this.updateListScroll(this.$refs.sourceList.$el),this.updateListScroll(this.$refs.targetList.$el),this.reorderDirection=null)},beforeUnmount:function(){this.destroyStyle(),this.destroyMedia()},mounted:function(){this.id=this.id||u.UniqueComponentId(),this.responsive&&(this.createStyle(),this.initMedia())},methods:{getItemKey:function(e,t){return this.dataKey?u.ObjectUtils.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t,o,n){return this.ptm(t,{context:{active:this.isSelected(e,n),focused:o===this.focusedOptionId}})},isSelected:function(e,t){return-1!=u.ObjectUtils.findIndexInList(e,this.d_selection[t])},onListFocus:function(e,t){this.focused[t]=!0,this.findCurrentFocusedIndex(t),this.scrollInView(this.focusedOptionIndex,t),this.$emit("focus",e)},onListBlur:function(e,t){this.focused[t]=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onOptionMouseDown:function(e,t,o){this.focused[o]=!0,this.focusedOptionIndex=t},onOptionMouseMove:function(e,t){this.focusOnHover&&this.focused[t]&&this.changeFocusedOptionIndex(e,t)},moveUp:function(e,t){if(this.d_selection&&this.d_selection[t]){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=u.ObjectUtils.findIndexInList(n[i],o);if(0===r)break;var l=o[r-1];o[r-1]=o[r],o[r]=l}var s=D(this.modelValue);s[t]=o,this.reorderDirection="up",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveTop:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=u.ObjectUtils.findIndexInList(n[i],o);if(0===r)break;var l=o.splice(r,1)[0];o.unshift(l)}var s=D(this.modelValue);s[t]=o,this.reorderDirection="top",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveDown:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=u.ObjectUtils.findIndexInList(n[i],o);if(r===o.length-1)break;var l=o[r+1];o[r+1]=o[r],o[r]=l}var s=D(this.modelValue);s[t]=o,this.reorderDirection="down",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveBottom:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=u.ObjectUtils.findIndexInList(n[i],o);if(r===o.length-1)break;var l=o.splice(r,1)[0];o.push(l)}var s=D(this.modelValue);s[t]=o,this.reorderDirection="bottom",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveToTarget:function(e){var t=this.d_selection&&this.d_selection[0]?this.d_selection[0]:null,o=D(this.modelValue[0]),n=D(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==u.ObjectUtils.findIndexInList(r,n)&&n.push(o.splice(u.ObjectUtils.findIndexInList(r,o),1)[0])}var l=D(this.modelValue);l[0]=o,l[1]=n,this.$emit("update:modelValue",l),this.$emit("move-to-target",{originalEvent:e,items:D(new Set(t))}),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToTarget:function(e){if(this.modelValue[0]){var t=D(this.modelValue[0]),o=D(this.modelValue[1]);this.$emit("move-all-to-target",{originalEvent:e,items:t}),o=[].concat(D(o),D(t)),t=[];var n=D(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveToSource:function(e){var t=this.d_selection&&this.d_selection[1]?this.d_selection[1]:null,o=D(this.modelValue[0]),n=D(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==u.ObjectUtils.findIndexInList(r,o)&&o.push(n.splice(u.ObjectUtils.findIndexInList(r,n),1)[0])}var l=D(this.modelValue);l[0]=o,l[1]=n,this.$emit("update:modelValue",l),this.$emit("move-to-source",{originalEvent:e,items:D(new Set(t))}),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToSource:function(e){if(this.modelValue[1]){var t=D(this.modelValue[0]),o=D(this.modelValue[1]);this.$emit("move-all-to-source",{originalEvent:e,items:o}),t=[].concat(D(t),D(o)),o=[];var n=D(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},onItemClick:function(e,t,o,n){var i=0===n?"sourceList":"targetList";this.itemTouched=!1;var r,l=this.d_selection[n],s=u.ObjectUtils.findIndexInList(t,l),a=-1!=s,c=!this.itemTouched&&this.metaKeySelection,d=u.DomHandler.find(this.$refs[i].$el,'[data-pc-section="item"]')[o].getAttribute("id");if(this.focusedOptionIndex=d,c){var m=e.metaKey||e.ctrlKey;a&&m?r=l.filter((function(e,t){return t!==s})):(r=m&&l?D(l):[]).push(t)}else a?r=l.filter((function(e,t){return t!==s})):(r=l?D(l):[]).push(t);var p=D(this.d_selection);p[n]=r,this.d_selection=p,this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})},onItemDblClick:function(e,t,o){0===o?this.moveToTarget(e):1===o&&this.moveToSource(e)},onItemTouchEnd:function(){this.itemTouched=!0},onItemKeyDown:function(e,t){switch(e.code){case"ArrowDown":this.onArrowDownKey(e,t);break;case"ArrowUp":this.onArrowUpKey(e,t);break;case"Home":this.onHomeKey(e,t);break;case"End":this.onEndKey(e,t);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,t);break;case"Space":this.onSpaceKey(e,t);break;case"KeyA":e.ctrlKey&&(this.d_selection=D(this.modelValue),this.$emit("update:selection",this.d_selection),e.preventDefault())}},onArrowDownKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findNextOptionIndex(t):this.findFirstSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onArrowUpKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(t):this.findLastSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onEnterKey:function(e,t){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.onItemClick(e,this.modelValue[o][n],n,o),e.preventDefault()},onSpaceKey:function(e,t){if(e.preventDefault(),e.shiftKey&&this.d_selection&&this.d_selection.length>0){var o="sourceList"===t?0:1,n=u.ObjectUtils.findIndexInList(this.d_selection[o][0],D(this.modelValue[o])),i=this.findMatchedOptionIndex(t);this.d_selection[o]=D(this.modelValue[o]).slice(Math.min(n,i),Math.max(n,i)+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.onEnterKey(e,t)},onHomeKey:function(e,t){if(e.ctrlKey&&e.shiftKey){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.d_selection[o]=D(this.modelValue[o]).slice(0,n+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(0,t);e.preventDefault()},onEndKey:function(e,t){var o=this.findAllItems(t);if(e.ctrlKey&&e.shiftKey){var n="sourceList"===t?0:1,i=this.findMatchedOptionIndex(t);this.d_selection[n]=D(this.modelValue[n]).slice(i,o.length),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(o.length-1,t);e.preventDefault()},findAllItems:function(e){return u.DomHandler.find(this.$refs[e].$el,'[data-pc-section="item"]')},findFocusedItem:function(e){return u.DomHandler.findSingle(this.$refs[e].$el,'[data-pc-section="item"][id='.concat(this.focusedOptionIndex,"]"))},findCurrentFocusedIndex:function(e){-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstSelectedOptionIndex(e),this.autoOptionFocus&&-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(e)))},findFirstFocusedOptionIndex:function(e){var t=u.DomHandler.findSingle(this.$refs[e].$el,'[data-pc-section="item"]');return u.DomHandler.getAttribute(t,"id")},findFirstSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=u.DomHandler.findSingle(this.$refs[e].$el,'[data-p-highlight="true"]');return u.DomHandler.getAttribute(t,"id")}return-1},findLastSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=u.DomHandler.find(this.$refs[e].$el,'[data-p-highlight="true"]');return u.ObjectUtils.findIndexInList(t[t.length-1],this.list.children)}return-1},findMatchedOptionIndex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focusedOptionIndex;return D(this.findAllItems(e)).findIndex((function(e){return e.id===t}))},findNextOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t+1:0},findPrevOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t-1:0},changeFocusedOptionIndex:function(e,t){var o=this.findAllItems(t),n=e>=o.length?o.length-1:e<0?0:e;this.focusedOptionIndex=o[n].getAttribute("id"),this.scrollInView(o[n].getAttribute("id"),t)},scrollInView:function(e,t){var o=u.DomHandler.findSingle(this.$refs[t].$el,'[data-pc-section="item"][id="'.concat(e,'"]'));o&&o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"start",behavior:"smooth"})},updateListScroll:function(e){var t=u.DomHandler.find(e,'[data-pc-section="item"][data-p-highlight="true"]');if(t&&t.length)switch(this.reorderDirection){case"up":u.DomHandler.scrollInView(e,t[0]);break;case"top":e.scrollTop=0;break;case"down":u.DomHandler.scrollInView(e,t[t.length-1]);break;case"bottom":e.scrollTop=e.scrollHeight}},initMedia:function(){this.media=window.matchMedia("(max-width: ".concat(this.breakpoint,")")),this.viewChanged=this.media.matches,this.bindMediaChangeListener()},destroyMedia:function(){this.unbindMediaChangeListener()},bindMediaChangeListener:function(){var e=this;this.media&&!this.mediaChangeListener&&(this.mediaChangeListener=function(t){e.viewChanged=t.matches},this.media.addEventListener("change",this.mediaChangeListener))},unbindMediaChangeListener:function(){this.media&&this.mediaChangeListener&&(this.media.removeEventListener("change",this.mediaChangeListener),this.mediaChangeListener=null)},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.$el.setAttribute(this.attributeSelector,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",u.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="\n@media screen and (max-width: ".concat(this.breakpoint,") {\n .p-picklist[").concat(this.attributeSelector,"] {\n flex-direction: column;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons {\n padding: var(--content-padding);\n flex-direction: row;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button {\n margin-right: var(--inline-spacing);\n margin-bottom: 0;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button:last-child {\n margin-right: 0;\n }\n}\n");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},moveDisabled:function(e){if(!this.d_selection[e]||!this.d_selection[e].length)return!0},moveAllDisabled:function(e){return u.ObjectUtils.isEmpty(this[e])},hasSelectedOption:function(e){return u.ObjectUtils.isNotEmpty("sourceList"===e?this.d_selection[0]:this.d_selection[1])}},computed:{idSource:function(){return"".concat(this.id,"_source")},idTarget:function(){return"".concat(this.id,"_target")},focusedOptionId:function(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null},sourceList:function(){return this.modelValue&&this.modelValue[0]?this.modelValue[0]:null},targetList:function(){return this.modelValue&&this.modelValue[1]?this.modelValue[1]:null},attributeSelector:function(){return u.UniqueComponentId()},moveUpAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveUp:void 0},moveTopAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveTop:void 0},moveDownAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveDown:void 0},moveBottomAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveBottom:void 0},moveToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToTarget:void 0},moveAllToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToTarget:void 0},moveToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToSource:void 0},moveAllToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToSource:void 0}},components:{PLButton:f.default,AngleRightIcon:L.default,AngleLeftIcon:w.default,AngleDownIcon:I.default,AngleUpIcon:x.default,AngleDoubleRightIcon:b.default,AngleDoubleLeftIcon:g.default,AngleDoubleDownIcon:v.default,AngleDoubleUpIcon:y.default},directives:{ripple:S.default}};function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){_(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _(e,t,o){var n;return(t="symbol"==A(n=E(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function E(e,t){if("object"!=A(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var M=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"],U=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"];return B.render=function(e,t,o,n,i,r){var l=p.resolveComponent("AngleUpIcon"),s=p.resolveComponent("PLButton"),a=p.resolveComponent("AngleDoubleUpIcon"),c=p.resolveComponent("AngleDownIcon"),u=p.resolveComponent("AngleDoubleDownIcon"),d=p.resolveDirective("ripple");return p.openBlock(),p.createElementBlock("div",p.mergeProps({class:e.cx("root")},e.ptm("root")),[e.showSourceControls?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("sourceControls")},e.ptm("sourceControls"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"sourcecontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[0]||(t[0]=function(e){return r.moveUp(e,0)})},e.moveUpButtonProps,{pt:e.ptm("sourceMoveUpButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"moveupicon",{},(function(){return[p.createVNode(l,p.mergeProps(e.ptm("sourceMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[1]||(t[1]=function(e){return r.moveTop(e,0)})},e.moveTopButtonProps,{pt:e.ptm("sourceMoveTopButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetopicon",{},(function(){return[p.createVNode(a,p.mergeProps(e.ptm("sourceMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[2]||(t[2]=function(e){return r.moveDown(e,0)})},e.moveDownButtonProps,{pt:e.ptm("sourceMoveDownButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movedownicon",{},(function(){return[p.createVNode(c,p.mergeProps(e.ptm("sourceMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[3]||(t[3]=function(e){return r.moveBottom(e,0)})},e.moveBottomButtonProps,{pt:e.ptm("sourceMoveBottomButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movebottomicon",{},(function(){return[p.createVNode(u,p.mergeProps(e.ptm("sourceMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"sourcecontrolsend")],16)):p.createCommentVNode("",!0),p.createElementVNode("div",p.mergeProps({class:e.cx("sourceWrapper")},e.ptm("sourceWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.sourceheader?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("sourceHeader")},e.ptm("sourceHeader"),{"data-pc-group-section":"header"}),[p.renderSlot(e.$slots,"sourceheader")],16)):p.createCommentVNode("",!0),p.createVNode(p.TransitionGroup,p.mergeProps({ref:"sourceList",id:r.idSource+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("sourceList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.sourceList?r.focusedOptionId:void 0,tabindex:r.sourceList&&r.sourceList.length>0?e.tabindex:-1,onFocus:t[5]||(t[5]=function(e){return r.onListFocus(e,"sourceList")}),onBlur:t[6]||(t[6]=function(e){return r.onListBlur(e,"sourceList")}),onKeydown:t[7]||(t[7]=function(e){return r.onItemKeyDown(e,"sourceList")})},P(P(P({},e.sourceListProps),e.ptm("sourceList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:p.withCtx((function(){return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.sourceList,(function(o,n){return p.withDirectives((p.openBlock(),p.createElementBlock("li",p.mergeProps({key:r.getItemKey(o,n),id:r.idSource+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idSource,"_").concat(n),listIndex:0}),onClick:function(e){return r.onItemClick(e,o,n,0)},onDblclick:function(e){return r.onItemDblClick(e,o,0)},onTouchend:t[4]||(t[4]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"sourceList")},onMousemove:function(e){return r.onOptionMouseMove(n,"sourceList")},role:"option","aria-selected":r.isSelected(o,0)},r.getPTOptions(o,"item","".concat(r.idSource,"_").concat(n),0),{"data-p-highlight":r.isSelected(o,0),"data-p-focused":"".concat(r.idSource,"_").concat(n)===r.focusedOptionId}),[p.renderSlot(e.$slots,"item",{item:o,index:n})],16,M)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),p.createElementVNode("div",p.mergeProps({class:e.cx("buttons")},e.ptm("buttons"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"movecontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveToTargetAriaLabel,type:"button",onClick:r.moveToTarget,disabled:r.moveDisabled(0)},e.moveToTargetProps,{pt:e.ptm("moveToTargetButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetotargeticon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDownIcon":"AngleRightIcon"),p.mergeProps(e.ptm("moveToTargetButton").icon,{"data-pc-section":"movetotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveAllToTargetAriaLabel,type:"button",onClick:r.moveAllToTarget,disabled:r.moveAllDisabled("sourceList")},e.moveAllToTargetProps,{pt:e.ptm("moveAllToTargetButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movealltotargeticon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDoubleDownIcon":"AngleDoubleRightIcon"),p.mergeProps(e.ptm("moveAllToTargetButton").icon,{"data-pc-section":"movealltotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveToSourceAriaLabel,type:"button",onClick:r.moveToSource,disabled:r.moveDisabled(1)},e.moveToSourceProps,{pt:e.ptm("moveToSourceButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetosourceicon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleUpIcon":"AngleLeftIcon"),p.mergeProps(e.ptm("moveToSourceButton").icon,{"data-pc-section":"movetosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveAllToSourceAriaLabel,type:"button",onClick:r.moveAllToSource,disabled:r.moveAllDisabled("targetList")},e.moveAllToSourceProps,{pt:e.ptm("moveAllToSourceButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movealltosourceicon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDoubleUpIcon":"AngleDoubleLeftIcon"),p.mergeProps(e.ptm("moveAllToSourceButton").icon,{"data-pc-section":"movealltosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"movecontrolsend")],16),p.createElementVNode("div",p.mergeProps({class:e.cx("targetWrapper")},e.ptm("targetWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.targetheader?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("targetHeader")},e.ptm("targetHeader"),{"data-pc-group-section":"header"}),[p.renderSlot(e.$slots,"targetheader")],16)):p.createCommentVNode("",!0),p.createVNode(p.TransitionGroup,p.mergeProps({ref:"targetList",id:r.idTarget+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("targetList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.targetList?r.focusedOptionId:void 0,tabindex:r.targetList&&r.targetList.length>0?e.tabindex:-1,onFocus:t[10]||(t[10]=function(e){return r.onListFocus(e,"targetList")}),onBlur:t[11]||(t[11]=function(e){return r.onListBlur(e,"targetList")}),onKeydown:t[12]||(t[12]=function(e){return r.onItemKeyDown(e,"targetList")})},P(P(P({},e.targetListProps),e.ptm("targetList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:p.withCtx((function(){return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.targetList,(function(o,n){return p.withDirectives((p.openBlock(),p.createElementBlock("li",p.mergeProps({key:r.getItemKey(o,n),id:r.idTarget+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idTarget,"_").concat(n),listIndex:1}),onClick:function(e){return r.onItemClick(e,o,n,1)},onDblclick:function(e){return r.onItemDblClick(e,o,1)},onKeydown:t[8]||(t[8]=function(e){return r.onItemKeyDown(e,"targetList")}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"targetList")},onMousemove:function(e){return r.onOptionMouseMove(n,"targetList")},onTouchend:t[9]||(t[9]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),role:"option","aria-selected":r.isSelected(o,1)},r.getPTOptions(o,"item","".concat(r.idTarget,"_").concat(n),1),{"data-p-highlight":r.isSelected(o,1),"data-p-focused":"".concat(r.idTarget,"_").concat(n)===r.focusedOptionId}),[p.renderSlot(e.$slots,"item",{item:o,index:n})],16,U)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),e.showTargetControls?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:1,class:e.cx("targetControls")},e.ptm("targetControls"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"targetcontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[13]||(t[13]=function(e){return r.moveUp(e,1)})},e.moveUpButtonProps,{pt:e.ptm("targetMoveUpButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"moveupicon",{},(function(){return[p.createVNode(l,p.mergeProps(e.ptm("targetMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[14]||(t[14]=function(e){return r.moveTop(e,1)})},e.moveTopButtonProps,{pt:e.ptm("targetMoveTopButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetopicon",{},(function(){return[p.createVNode(a,p.mergeProps(e.ptm("targetMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[15]||(t[15]=function(e){return r.moveDown(e,1)})},e.moveDownButtonProps,{pt:e.ptm("targetMoveDownButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movedownicon",{},(function(){return[p.createVNode(c,p.mergeProps(e.ptm("targetMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[16]||(t[16]=function(e){return r.moveBottom(e,1)})},e.moveBottomButtonProps,{pt:e.ptm("targetMoveBottomButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movebottomicon",{},(function(){return[p.createVNode(u,p.mergeProps(e.ptm("targetMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"targetcontrolsend")],16)):p.createCommentVNode("",!0)],16)},B}(primevue.button,primevue.icons.angledoubledown,primevue.icons.angledoubleleft,primevue.icons.angledoubleright,primevue.icons.angledoubleup,primevue.icons.angledown,primevue.icons.angleleft,primevue.icons.angleright,primevue.icons.angleup,primevue.ripple,primevue.utils,primevue.basecomponent,primevue.picklist.style,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.picklist=function(e,t,o,n,i,r,l,s,a,c,u,d,m,p){"use strict";function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=h(e),v=h(t),g=h(o),b=h(n),y=h(i),I=h(r),w=h(l),L=h(s),x=h(a),S=h(c);function D(e){return C(e)||O(e)||$(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(e,t){if(e){if("string"==typeof e)return k(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?k(e,t):void 0}}function O(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function C(e){if(Array.isArray(e))return k(e)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var B={name:"PickList",extends:{name:"BasePickList",extends:h(d).default,props:{modelValue:{type:Array,default:function(){return[[],[]]}},selection:{type:Array,default:function(){return[[],[]]}},dataKey:{type:String,default:null},listStyle:{type:null,default:null},metaKeySelection:{type:Boolean,default:!1},autoOptionFocus:{type:Boolean,default:!0},focusOnHover:{type:Boolean,default:!0},responsive:{type:Boolean,default:!0},breakpoint:{type:String,default:"960px"},stripedRows:{type:Boolean,default:!1},showSourceControls:{type:Boolean,default:!0},showTargetControls:{type:Boolean,default:!0},targetListProps:{type:null,default:null},sourceListProps:{type:null,default:null},moveUpButtonProps:{type:null,default:null},moveTopButtonProps:{type:null,default:null},moveDownButtonProps:{type:null,default:null},moveBottomButtonProps:{type:null,default:null},moveToTargetProps:{type:null,default:null},moveAllToTargetProps:{type:null,default:null},moveToSourceProps:{type:null,default:null},moveAllToSourceProps:{type:null,default:null},tabindex:{type:Number,default:0}},style:h(m).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["update:modelValue","reorder","update:selection","selection-change","move-to-target","move-to-source","move-all-to-target","move-all-to-source","focus","blur"],itemTouched:!1,reorderDirection:null,styleElement:null,media:null,mediaChangeListener:null,data:function(){return{id:this.$attrs.id,d_selection:this.selection,focused:{sourceList:!1,targetList:!1},focusedOptionIndex:-1,viewChanged:!1}},watch:{"$attrs.id":function(e){this.id=e||u.UniqueComponentId()},selection:function(e){this.d_selection=e},breakpoint:function(){this.destroyMedia(),this.initMedia()}},updated:function(){this.reorderDirection&&(this.updateListScroll(this.$refs.sourceList.$el),this.updateListScroll(this.$refs.targetList.$el),this.reorderDirection=null)},beforeUnmount:function(){this.destroyStyle(),this.destroyMedia()},mounted:function(){this.id=this.id||u.UniqueComponentId(),this.responsive&&(this.createStyle(),this.initMedia())},methods:{getItemKey:function(e,t){return this.dataKey?u.ObjectUtils.resolveFieldData(e,this.dataKey):t},getPTOptions:function(e,t,o,n){return this.ptm(t,{context:{active:this.isSelected(e,n),focused:o===this.focusedOptionId}})},isSelected:function(e,t){return-1!=u.ObjectUtils.findIndexInList(e,this.d_selection[t])},onListFocus:function(e,t){this.focused[t]=!0,this.findCurrentFocusedIndex(t),this.scrollInView(this.focusedOptionIndex,t),this.$emit("focus",e)},onListBlur:function(e,t){this.focused[t]=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onOptionMouseDown:function(e,t,o){this.focused[o]=!0,this.focusedOptionIndex=t},onOptionMouseMove:function(e,t){this.focusOnHover&&this.focused[t]&&this.changeFocusedOptionIndex(e,t)},moveUp:function(e,t){if(this.d_selection&&this.d_selection[t]){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=u.ObjectUtils.findIndexInList(n[i],o);if(0===r)break;var l=o[r-1];o[r-1]=o[r],o[r]=l}var s=D(this.modelValue);s[t]=o,this.reorderDirection="up",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveTop:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=0;i<n.length;i++){var r=u.ObjectUtils.findIndexInList(n[i],o);if(0===r)break;var l=o.splice(r,1)[0];o.unshift(l)}var s=D(this.modelValue);s[t]=o,this.reorderDirection="top",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveDown:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=u.ObjectUtils.findIndexInList(n[i],o);if(r===o.length-1)break;var l=o[r+1];o[r+1]=o[r],o[r]=l}var s=D(this.modelValue);s[t]=o,this.reorderDirection="down",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveBottom:function(e,t){if(this.d_selection){for(var o=D(this.modelValue[t]),n=this.d_selection[t],i=n.length-1;i>=0;i--){var r=u.ObjectUtils.findIndexInList(n[i],o);if(r===o.length-1)break;var l=o.splice(r,1)[0];o.push(l)}var s=D(this.modelValue);s[t]=o,this.reorderDirection="bottom",this.$emit("update:modelValue",s),this.$emit("reorder",{originalEvent:e,value:s,direction:this.reorderDirection,listIndex:t})}},moveToTarget:function(e){var t=this.d_selection&&this.d_selection[0]?this.d_selection[0]:null,o=D(this.modelValue[0]),n=D(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==u.ObjectUtils.findIndexInList(r,n)&&n.push(o.splice(u.ObjectUtils.findIndexInList(r,o),1)[0])}var l=D(this.modelValue);l[0]=o,l[1]=n,this.$emit("update:modelValue",l),this.$emit("move-to-target",{originalEvent:e,items:D(new Set(t))}),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToTarget:function(e){if(this.modelValue[0]){var t=D(this.modelValue[0]),o=D(this.modelValue[1]);this.$emit("move-all-to-target",{originalEvent:e,items:t}),o=[].concat(D(o),D(t)),t=[];var n=D(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[0]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveToSource:function(e){var t=this.d_selection&&this.d_selection[1]?this.d_selection[1]:null,o=D(this.modelValue[0]),n=D(this.modelValue[1]);if(t){for(var i=0;i<t.length;i++){var r=t[i];-1==u.ObjectUtils.findIndexInList(r,o)&&o.push(n.splice(u.ObjectUtils.findIndexInList(r,n),1)[0])}var l=D(this.modelValue);l[0]=o,l[1]=n,this.$emit("update:modelValue",l),this.$emit("move-to-source",{originalEvent:e,items:D(new Set(t))}),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},moveAllToSource:function(e){if(this.modelValue[1]){var t=D(this.modelValue[0]),o=D(this.modelValue[1]);this.$emit("move-all-to-source",{originalEvent:e,items:o}),t=[].concat(D(t),D(o)),o=[];var n=D(this.modelValue);n[0]=t,n[1]=o,this.$emit("update:modelValue",n),this.d_selection[1]=[],this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}},onItemClick:function(e,t,o,n){var i=0===n?"sourceList":"targetList";this.itemTouched=!1;var r,l=this.d_selection[n],s=u.ObjectUtils.findIndexInList(t,l),a=-1!=s,c=!this.itemTouched&&this.metaKeySelection,d=u.DomHandler.find(this.$refs[i].$el,'[data-pc-section="item"]')[o].getAttribute("id");if(this.focusedOptionIndex=d,c){var m=e.metaKey||e.ctrlKey;a&&m?r=l.filter((function(e,t){return t!==s})):(r=m&&l?D(l):[]).push(t)}else a?r=l.filter((function(e,t){return t!==s})):(r=l?D(l):[]).push(t);var p=D(this.d_selection);p[n]=r,this.d_selection=p,this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})},onItemDblClick:function(e,t,o){0===o?this.moveToTarget(e):1===o&&this.moveToSource(e)},onItemTouchEnd:function(){this.itemTouched=!0},onItemKeyDown:function(e,t){switch(e.code){case"ArrowDown":this.onArrowDownKey(e,t);break;case"ArrowUp":this.onArrowUpKey(e,t);break;case"Home":this.onHomeKey(e,t);break;case"End":this.onEndKey(e,t);break;case"Enter":case"NumpadEnter":this.onEnterKey(e,t);break;case"Space":this.onSpaceKey(e,t);break;case"KeyA":e.ctrlKey&&(this.d_selection=D(this.modelValue),this.$emit("update:selection",this.d_selection),e.preventDefault())}},onArrowDownKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findNextOptionIndex(t):this.findFirstSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onArrowUpKey:function(e,t){var o=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(t):this.findLastSelectedOptionIndex(t);this.changeFocusedOptionIndex(o,t),e.shiftKey&&this.onEnterKey(e,t),e.preventDefault()},onEnterKey:function(e,t){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.onItemClick(e,this.modelValue[o][n],n,o),e.preventDefault()},onSpaceKey:function(e,t){if(e.preventDefault(),e.shiftKey&&this.d_selection&&this.d_selection.length>0){var o="sourceList"===t?0:1,n=u.ObjectUtils.findIndexInList(this.d_selection[o][0],D(this.modelValue[o])),i=this.findMatchedOptionIndex(t);this.d_selection[o]=D(this.modelValue[o]).slice(Math.min(n,i),Math.max(n,i)+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.onEnterKey(e,t)},onHomeKey:function(e,t){if(e.ctrlKey&&e.shiftKey){var o="sourceList"===t?0:1,n=this.findMatchedOptionIndex(t);this.d_selection[o]=D(this.modelValue[o]).slice(0,n+1),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(0,t);e.preventDefault()},onEndKey:function(e,t){var o=this.findAllItems(t);if(e.ctrlKey&&e.shiftKey){var n="sourceList"===t?0:1,i=this.findMatchedOptionIndex(t);this.d_selection[n]=D(this.modelValue[n]).slice(i,o.length),this.$emit("update:selection",this.d_selection),this.$emit("selection-change",{originalEvent:e,value:this.d_selection})}else this.changeFocusedOptionIndex(o.length-1,t);e.preventDefault()},findAllItems:function(e){return u.DomHandler.find(this.$refs[e].$el,'[data-pc-section="item"]')},findFocusedItem:function(e){return u.DomHandler.findSingle(this.$refs[e].$el,'[data-pc-section="item"][id='.concat(this.focusedOptionIndex,"]"))},findCurrentFocusedIndex:function(e){-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstSelectedOptionIndex(e),this.autoOptionFocus&&-1===this.focusedOptionIndex&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(e)))},findFirstFocusedOptionIndex:function(e){var t=u.DomHandler.findSingle(this.$refs[e].$el,'[data-pc-section="item"]');return u.DomHandler.getAttribute(t,"id")},findFirstSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=u.DomHandler.findSingle(this.$refs[e].$el,'[data-p-highlight="true"]');return u.DomHandler.getAttribute(t,"id")}return-1},findLastSelectedOptionIndex:function(e){if(this.hasSelectedOption(e)){var t=u.DomHandler.find(this.$refs[e].$el,'[data-p-highlight="true"]');return u.ObjectUtils.findIndexInList(t[t.length-1],this.list.children)}return-1},findMatchedOptionIndex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focusedOptionIndex;return D(this.findAllItems(e)).findIndex((function(e){return e.id===t}))},findNextOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t+1:0},findPrevOptionIndex:function(e){var t=this.findMatchedOptionIndex(e);return t>-1?t-1:0},changeFocusedOptionIndex:function(e,t){var o=this.findAllItems(t),n=e>=o.length?o.length-1:e<0?0:e;this.focusedOptionIndex=o[n].getAttribute("id"),this.scrollInView(o[n].getAttribute("id"),t)},scrollInView:function(e,t){var o=u.DomHandler.findSingle(this.$refs[t].$el,'[data-pc-section="item"][id="'.concat(e,'"]'));o&&o.scrollIntoView&&o.scrollIntoView({block:"nearest",inline:"start",behavior:"smooth"})},updateListScroll:function(e){var t=u.DomHandler.find(e,'[data-pc-section="item"][data-p-highlight="true"]');if(t&&t.length)switch(this.reorderDirection){case"up":u.DomHandler.scrollInView(e,t[0]);break;case"top":e.scrollTop=0;break;case"down":u.DomHandler.scrollInView(e,t[t.length-1]);break;case"bottom":e.scrollTop=e.scrollHeight}},initMedia:function(){this.media=window.matchMedia("(max-width: ".concat(this.breakpoint,")")),this.viewChanged=this.media.matches,this.bindMediaChangeListener()},destroyMedia:function(){this.unbindMediaChangeListener()},bindMediaChangeListener:function(){var e=this;this.media&&!this.mediaChangeListener&&(this.mediaChangeListener=function(t){e.viewChanged=t.matches},this.media.addEventListener("change",this.mediaChangeListener))},unbindMediaChangeListener:function(){this.media&&this.mediaChangeListener&&(this.media.removeEventListener("change",this.mediaChangeListener),this.mediaChangeListener=null)},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var e;this.$el.setAttribute(this.attributeSelector,""),this.styleElement=document.createElement("style"),this.styleElement.type="text/css",u.DomHandler.setAttribute(this.styleElement,"nonce",null===(e=this.$primevue)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce),document.head.appendChild(this.styleElement);var t="\n@media screen and (max-width: ".concat(this.breakpoint,") {\n .p-picklist[").concat(this.attributeSelector,"] {\n flex-direction: column;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons {\n padding: var(--content-padding);\n flex-direction: row;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button {\n margin-right: var(--inline-spacing);\n margin-bottom: 0;\n }\n\n .p-picklist[").concat(this.attributeSelector,"] .p-picklist-buttons .p-button:last-child {\n margin-right: 0;\n }\n}\n");this.styleElement.innerHTML=t}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},moveDisabled:function(e){if(!this.d_selection[e]||!this.d_selection[e].length)return!0},moveAllDisabled:function(e){return u.ObjectUtils.isEmpty(this[e])},hasSelectedOption:function(e){return u.ObjectUtils.isNotEmpty("sourceList"===e?this.d_selection[0]:this.d_selection[1])}},computed:{idSource:function(){return"".concat(this.id,"_source")},idTarget:function(){return"".concat(this.id,"_target")},focusedOptionId:function(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null},sourceList:function(){return this.modelValue&&this.modelValue[0]?this.modelValue[0]:null},targetList:function(){return this.modelValue&&this.modelValue[1]?this.modelValue[1]:null},attributeSelector:function(){return u.UniqueComponentId()},moveUpAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveUp:void 0},moveTopAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveTop:void 0},moveDownAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveDown:void 0},moveBottomAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveBottom:void 0},moveToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToTarget:void 0},moveAllToTargetAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToTarget:void 0},moveToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveToSource:void 0},moveAllToSourceAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.moveAllToSource:void 0}},components:{PLButton:f.default,AngleRightIcon:L.default,AngleLeftIcon:w.default,AngleDownIcon:I.default,AngleUpIcon:x.default,AngleDoubleRightIcon:b.default,AngleDoubleLeftIcon:g.default,AngleDoubleDownIcon:v.default,AngleDoubleUpIcon:y.default},directives:{ripple:S.default}};function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function V(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function P(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?V(Object(o),!0).forEach((function(t){_(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):V(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _(e,t,o){var n;return(t="symbol"==A(n=E(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function E(e,t){if("object"!=A(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var M=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"],U=["id","onClick","onDblclick","onMousedown","onMousemove","aria-selected","data-p-highlight","data-p-focused"];return B.render=function(e,t,o,n,i,r){var l=p.resolveComponent("AngleUpIcon"),s=p.resolveComponent("PLButton"),a=p.resolveComponent("AngleDoubleUpIcon"),c=p.resolveComponent("AngleDownIcon"),u=p.resolveComponent("AngleDoubleDownIcon"),d=p.resolveDirective("ripple");return p.openBlock(),p.createElementBlock("div",p.mergeProps({class:e.cx("root")},e.ptmi("root")),[e.showSourceControls?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("sourceControls")},e.ptm("sourceControls"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"sourcecontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[0]||(t[0]=function(e){return r.moveUp(e,0)})},e.moveUpButtonProps,{pt:e.ptm("sourceMoveUpButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"moveupicon",{},(function(){return[p.createVNode(l,p.mergeProps(e.ptm("sourceMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[1]||(t[1]=function(e){return r.moveTop(e,0)})},e.moveTopButtonProps,{pt:e.ptm("sourceMoveTopButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetopicon",{},(function(){return[p.createVNode(a,p.mergeProps(e.ptm("sourceMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[2]||(t[2]=function(e){return r.moveDown(e,0)})},e.moveDownButtonProps,{pt:e.ptm("sourceMoveDownButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movedownicon",{},(function(){return[p.createVNode(c,p.mergeProps(e.ptm("sourceMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(0),type:"button",onClick:t[3]||(t[3]=function(e){return r.moveBottom(e,0)})},e.moveBottomButtonProps,{pt:e.ptm("sourceMoveBottomButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movebottomicon",{},(function(){return[p.createVNode(u,p.mergeProps(e.ptm("sourceMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"sourcecontrolsend")],16)):p.createCommentVNode("",!0),p.createElementVNode("div",p.mergeProps({class:e.cx("sourceWrapper")},e.ptm("sourceWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.sourceheader?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("sourceHeader")},e.ptm("sourceHeader"),{"data-pc-group-section":"header"}),[p.renderSlot(e.$slots,"sourceheader")],16)):p.createCommentVNode("",!0),p.createVNode(p.TransitionGroup,p.mergeProps({ref:"sourceList",id:r.idSource+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("sourceList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.sourceList?r.focusedOptionId:void 0,tabindex:r.sourceList&&r.sourceList.length>0?e.tabindex:-1,onFocus:t[5]||(t[5]=function(e){return r.onListFocus(e,"sourceList")}),onBlur:t[6]||(t[6]=function(e){return r.onListBlur(e,"sourceList")}),onKeydown:t[7]||(t[7]=function(e){return r.onItemKeyDown(e,"sourceList")})},P(P(P({},e.sourceListProps),e.ptm("sourceList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:p.withCtx((function(){return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.sourceList,(function(o,n){return p.withDirectives((p.openBlock(),p.createElementBlock("li",p.mergeProps({key:r.getItemKey(o,n),id:r.idSource+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idSource,"_").concat(n),listIndex:0}),onClick:function(e){return r.onItemClick(e,o,n,0)},onDblclick:function(e){return r.onItemDblClick(e,o,0)},onTouchend:t[4]||(t[4]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"sourceList")},onMousemove:function(e){return r.onOptionMouseMove(n,"sourceList")},role:"option","aria-selected":r.isSelected(o,0)},r.getPTOptions(o,"item","".concat(r.idSource,"_").concat(n),0),{"data-p-highlight":r.isSelected(o,0),"data-p-focused":"".concat(r.idSource,"_").concat(n)===r.focusedOptionId}),[p.renderSlot(e.$slots,"item",{item:o,index:n})],16,M)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),p.createElementVNode("div",p.mergeProps({class:e.cx("buttons")},e.ptm("buttons"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"movecontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveToTargetAriaLabel,type:"button",onClick:r.moveToTarget,disabled:r.moveDisabled(0)},e.moveToTargetProps,{pt:e.ptm("moveToTargetButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetotargeticon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDownIcon":"AngleRightIcon"),p.mergeProps(e.ptm("moveToTargetButton").icon,{"data-pc-section":"movetotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveAllToTargetAriaLabel,type:"button",onClick:r.moveAllToTarget,disabled:r.moveAllDisabled("sourceList")},e.moveAllToTargetProps,{pt:e.ptm("moveAllToTargetButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movealltotargeticon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDoubleDownIcon":"AngleDoubleRightIcon"),p.mergeProps(e.ptm("moveAllToTargetButton").icon,{"data-pc-section":"movealltotargeticon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveToSourceAriaLabel,type:"button",onClick:r.moveToSource,disabled:r.moveDisabled(1)},e.moveToSourceProps,{pt:e.ptm("moveToSourceButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetosourceicon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleUpIcon":"AngleLeftIcon"),p.mergeProps(e.ptm("moveToSourceButton").icon,{"data-pc-section":"movetosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveAllToSourceAriaLabel,type:"button",onClick:r.moveAllToSource,disabled:r.moveAllDisabled("targetList")},e.moveAllToSourceProps,{pt:e.ptm("moveAllToSourceButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movealltosourceicon",{viewChanged:i.viewChanged},(function(){return[(p.openBlock(),p.createBlock(p.resolveDynamicComponent(i.viewChanged?"AngleDoubleUpIcon":"AngleDoubleLeftIcon"),p.mergeProps(e.ptm("moveAllToSourceButton").icon,{"data-pc-section":"movealltosourceicon"}),null,16))]}))]})),_:3},16,["aria-label","onClick","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"movecontrolsend")],16),p.createElementVNode("div",p.mergeProps({class:e.cx("targetWrapper")},e.ptm("targetWrapper"),{"data-pc-group-section":"listwrapper"}),[e.$slots.targetheader?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:0,class:e.cx("targetHeader")},e.ptm("targetHeader"),{"data-pc-group-section":"header"}),[p.renderSlot(e.$slots,"targetheader")],16)):p.createCommentVNode("",!0),p.createVNode(p.TransitionGroup,p.mergeProps({ref:"targetList",id:r.idTarget+"_list",name:"p-picklist-flip",tag:"ul",class:e.cx("targetList"),style:e.listStyle,role:"listbox","aria-multiselectable":"true","aria-activedescendant":i.focused.targetList?r.focusedOptionId:void 0,tabindex:r.targetList&&r.targetList.length>0?e.tabindex:-1,onFocus:t[10]||(t[10]=function(e){return r.onListFocus(e,"targetList")}),onBlur:t[11]||(t[11]=function(e){return r.onListBlur(e,"targetList")}),onKeydown:t[12]||(t[12]=function(e){return r.onItemKeyDown(e,"targetList")})},P(P(P({},e.targetListProps),e.ptm("targetList")),e.ptm("transition")),{"data-pc-group-section":"list"}),{default:p.withCtx((function(){return[(p.openBlock(!0),p.createElementBlock(p.Fragment,null,p.renderList(r.targetList,(function(o,n){return p.withDirectives((p.openBlock(),p.createElementBlock("li",p.mergeProps({key:r.getItemKey(o,n),id:r.idTarget+"_"+n,class:e.cx("item",{item:o,id:"".concat(r.idTarget,"_").concat(n),listIndex:1}),onClick:function(e){return r.onItemClick(e,o,n,1)},onDblclick:function(e){return r.onItemDblClick(e,o,1)},onKeydown:t[8]||(t[8]=function(e){return r.onItemKeyDown(e,"targetList")}),onMousedown:function(e){return r.onOptionMouseDown(e,n,"targetList")},onMousemove:function(e){return r.onOptionMouseMove(n,"targetList")},onTouchend:t[9]||(t[9]=function(){return r.onItemTouchEnd&&r.onItemTouchEnd.apply(r,arguments)}),role:"option","aria-selected":r.isSelected(o,1)},r.getPTOptions(o,"item","".concat(r.idTarget,"_").concat(n),1),{"data-p-highlight":r.isSelected(o,1),"data-p-focused":"".concat(r.idTarget,"_").concat(n)===r.focusedOptionId}),[p.renderSlot(e.$slots,"item",{item:o,index:n})],16,U)),[[d]])})),128))]})),_:3},16,["id","class","style","aria-activedescendant","tabindex"])],16),e.showTargetControls?(p.openBlock(),p.createElementBlock("div",p.mergeProps({key:1,class:e.cx("targetControls")},e.ptm("targetControls"),{"data-pc-group-section":"controls"}),[p.renderSlot(e.$slots,"targetcontrolsstart"),p.createVNode(s,p.mergeProps({"aria-label":r.moveUpAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[13]||(t[13]=function(e){return r.moveUp(e,1)})},e.moveUpButtonProps,{pt:e.ptm("targetMoveUpButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"moveupicon",{},(function(){return[p.createVNode(l,p.mergeProps(e.ptm("targetMoveUpButton").icon,{"data-pc-section":"moveupicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveTopAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[14]||(t[14]=function(e){return r.moveTop(e,1)})},e.moveTopButtonProps,{pt:e.ptm("targetMoveTopButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movetopicon",{},(function(){return[p.createVNode(a,p.mergeProps(e.ptm("targetMoveTopButton").icon,{"data-pc-section":"movetopicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveDownAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[15]||(t[15]=function(e){return r.moveDown(e,1)})},e.moveDownButtonProps,{pt:e.ptm("targetMoveDownButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movedownicon",{},(function(){return[p.createVNode(c,p.mergeProps(e.ptm("targetMoveDownButton").icon,{"data-pc-section":"movedownicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.createVNode(s,p.mergeProps({"aria-label":r.moveBottomAriaLabel,disabled:r.moveDisabled(1),type:"button",onClick:t[16]||(t[16]=function(e){return r.moveBottom(e,1)})},e.moveBottomButtonProps,{pt:e.ptm("targetMoveBottomButton"),unstyled:e.unstyled}),{icon:p.withCtx((function(){return[p.renderSlot(e.$slots,"movebottomicon",{},(function(){return[p.createVNode(u,p.mergeProps(e.ptm("targetMoveBottomButton").icon,{"data-pc-section":"movebottomicon"}),null,16)]}))]})),_:3},16,["aria-label","disabled","pt","unstyled"]),p.renderSlot(e.$slots,"targetcontrolsend")],16)):p.createCommentVNode("",!0)],16)},B}(primevue.button,primevue.icons.angledoubledown,primevue.icons.angledoubleleft,primevue.icons.angledoubleright,primevue.icons.angledoubleup,primevue.icons.angledown,primevue.icons.angleleft,primevue.icons.angleright,primevue.icons.angleup,primevue.ripple,primevue.utils,primevue.basecomponent,primevue.picklist.style,Vue);
@@ -1,7 +1,7 @@
1
1
  import { VNode } from 'vue';
2
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
+ import { ClassComponent, GlobalComponentConstructor, HintedString } from '../ts-helpers';
3
3
 
4
- type PortalAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
4
+ type PortalAppendToType = HintedString<'body' | 'self'> | undefined | HTMLElement;
5
5
 
6
6
  export interface PortalProps {
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div role="progressbar" :class="cx('root')" aria-valuemin="0" :aria-valuenow="value" aria-valuemax="100" v-bind="ptm('root')">
2
+ <div role="progressbar" :class="cx('root')" aria-valuemin="0" :aria-valuenow="value" aria-valuemax="100" v-bind="ptmi('root')">
3
3
  <div v-if="determinate" :class="cx('value')" :style="progressStyle" v-bind="ptm('value')">
4
4
  <div v-if="value != null && value !== 0 && showValue" :class="cx('label')" v-bind="ptm('label')">
5
5
  <slot>{{ value + '%' }}</slot>
@@ -17,6 +17,7 @@ import BaseProgressBar from './BaseProgressBar.vue';
17
17
  export default {
18
18
  name: 'ProgressBar',
19
19
  extends: BaseProgressBar,
20
+ inheritAttrs: false,
20
21
  computed: {
21
22
  progressStyle() {
22
23
  return {
@@ -37,6 +37,7 @@ var script$1 = {
37
37
  var script = {
38
38
  name: 'ProgressBar',
39
39
  "extends": script$1,
40
+ inheritAttrs: false,
40
41
  computed: {
41
42
  progressStyle: function progressStyle() {
42
43
  return {
@@ -61,7 +62,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
61
62
  "aria-valuemin": "0",
62
63
  "aria-valuenow": _ctx.value,
63
64
  "aria-valuemax": "100"
64
- }, _ctx.ptm('root')), [$options.determinate ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
65
+ }, _ctx.ptmi('root')), [$options.determinate ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
65
66
  key: 0,
66
67
  "class": _ctx.cx('value'),
67
68
  style: $options.progressStyle
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/basecomponent"),t=require("primevue/progressbar/style"),r=require("vue");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:a(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:a(t).default,provide:function(){return{$parentInstance:this}}},computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},o=["aria-valuenow"];n.render=function(e,t,a,n,l,u){return r.openBlock(),r.createElementBlock("div",r.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptm("root")),[u.determinate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("value"),style:u.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("label")},e.ptm("label")),[r.renderSlot(e.$slots,"default",{},(function(){return[r.createTextVNode(r.toDisplayString(e.value+"%"),1)]}))],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),u.indeterminate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:e.cx("container")},e.ptm("container")),[r.createElementVNode("div",r.mergeProps({class:e.cx("value")},e.ptm("value")),null,16)],16)):r.createCommentVNode("",!0)],16,o)},module.exports=n;
1
+ "use strict";var e=require("primevue/basecomponent"),t=require("primevue/progressbar/style"),r=require("vue");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:a(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:a(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},o=["aria-valuenow"];n.render=function(e,t,a,n,l,u){return r.openBlock(),r.createElementBlock("div",r.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptmi("root")),[u.determinate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("value"),style:u.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("label")},e.ptm("label")),[r.renderSlot(e.$slots,"default",{},(function(){return[r.createTextVNode(r.toDisplayString(e.value+"%"),1)]}))],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),u.indeterminate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:e.cx("container")},e.ptm("container")),[r.createElementVNode("div",r.mergeProps({class:e.cx("value")},e.ptm("value")),null,16)],16)):r.createCommentVNode("",!0)],16,o)},module.exports=n;
@@ -30,6 +30,7 @@ var script$1 = {
30
30
  var script = {
31
31
  name: 'ProgressBar',
32
32
  "extends": script$1,
33
+ inheritAttrs: false,
33
34
  computed: {
34
35
  progressStyle: function progressStyle() {
35
36
  return {
@@ -54,7 +55,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
54
55
  "aria-valuemin": "0",
55
56
  "aria-valuenow": _ctx.value,
56
57
  "aria-valuemax": "100"
57
- }, _ctx.ptm('root')), [$options.determinate ? (openBlock(), createElementBlock("div", mergeProps({
58
+ }, _ctx.ptmi('root')), [$options.determinate ? (openBlock(), createElementBlock("div", mergeProps({
58
59
  key: 0,
59
60
  "class": _ctx.cx('value'),
60
61
  style: $options.progressStyle
@@ -1 +1 @@
1
- import e from"primevue/basecomponent";import t from"primevue/progressbar/style";import{openBlock as r,createElementBlock as a,mergeProps as n,renderSlot as l,createTextVNode as i,toDisplayString as o,createCommentVNode as s,createElementVNode as u}from"vue";var m={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:e,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:t,provide:function(){return{$parentInstance:this}}},computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},d=["aria-valuenow"];m.render=function(e,t,m,p,v,c){return r(),a("div",n({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptm("root")),[c.determinate?(r(),a("div",n({key:0,class:e.cx("value"),style:c.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r(),a("div",n({key:0,class:e.cx("label")},e.ptm("label")),[l(e.$slots,"default",{},(function(){return[i(o(e.value+"%"),1)]}))],16)):s("",!0)],16)):s("",!0),c.indeterminate?(r(),a("div",n({key:1,class:e.cx("container")},e.ptm("container")),[u("div",n({class:e.cx("value")},e.ptm("value")),null,16)],16)):s("",!0)],16,d)};export{m as default};
1
+ import e from"primevue/basecomponent";import t from"primevue/progressbar/style";import{openBlock as r,createElementBlock as a,mergeProps as n,renderSlot as l,createTextVNode as i,toDisplayString as s,createCommentVNode as o,createElementVNode as u}from"vue";var m={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:e,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:t,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},d=["aria-valuenow"];m.render=function(e,t,m,p,v,c){return r(),a("div",n({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptmi("root")),[c.determinate?(r(),a("div",n({key:0,class:e.cx("value"),style:c.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r(),a("div",n({key:0,class:e.cx("label")},e.ptm("label")),[l(e.$slots,"default",{},(function(){return[i(s(e.value+"%"),1)]}))],16)):o("",!0)],16)):o("",!0),c.indeterminate?(r(),a("div",n({key:1,class:e.cx("container")},e.ptm("container")),[u("div",n({class:e.cx("value")},e.ptm("value")),null,16)],16)):o("",!0)],16,d)};export{m as default};
@@ -35,6 +35,7 @@ this.primevue.progressbar = (function (BaseComponent, ProgressBarStyle, vue) {
35
35
  var script = {
36
36
  name: 'ProgressBar',
37
37
  "extends": script$1,
38
+ inheritAttrs: false,
38
39
  computed: {
39
40
  progressStyle: function progressStyle() {
40
41
  return {
@@ -59,7 +60,7 @@ this.primevue.progressbar = (function (BaseComponent, ProgressBarStyle, vue) {
59
60
  "aria-valuemin": "0",
60
61
  "aria-valuenow": _ctx.value,
61
62
  "aria-valuemax": "100"
62
- }, _ctx.ptm('root')), [$options.determinate ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
63
+ }, _ctx.ptmi('root')), [$options.determinate ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
63
64
  key: 0,
64
65
  "class": _ctx.cx('value'),
65
66
  style: $options.progressStyle
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.progressbar=function(e,t,r){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:a(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:a(t).default,provide:function(){return{$parentInstance:this}}},computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},o=["aria-valuenow"];return n.render=function(e,t,a,n,l,s){return r.openBlock(),r.createElementBlock("div",r.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptm("root")),[s.determinate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("value"),style:s.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("label")},e.ptm("label")),[r.renderSlot(e.$slots,"default",{},(function(){return[r.createTextVNode(r.toDisplayString(e.value+"%"),1)]}))],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),s.indeterminate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:e.cx("container")},e.ptm("container")),[r.createElementVNode("div",r.mergeProps({class:e.cx("value")},e.ptm("value")),null,16)],16)):r.createCommentVNode("",!0)],16,o)},n}(primevue.basecomponent,primevue.progressbar.style,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.progressbar=function(e,t,r){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"ProgressBar",extends:{name:"BaseProgressBar",extends:a(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},style:a(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+"%",display:"flex"}},indeterminate:function(){return"indeterminate"===this.mode},determinate:function(){return"determinate"===this.mode}}},o=["aria-valuenow"];return n.render=function(e,t,a,n,l,s){return r.openBlock(),r.createElementBlock("div",r.mergeProps({role:"progressbar",class:e.cx("root"),"aria-valuemin":"0","aria-valuenow":e.value,"aria-valuemax":"100"},e.ptmi("root")),[s.determinate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("value"),style:s.progressStyle},e.ptm("value")),[null!=e.value&&0!==e.value&&e.showValue?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,class:e.cx("label")},e.ptm("label")),[r.renderSlot(e.$slots,"default",{},(function(){return[r.createTextVNode(r.toDisplayString(e.value+"%"),1)]}))],16)):r.createCommentVNode("",!0)],16)):r.createCommentVNode("",!0),s.indeterminate?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:1,class:e.cx("container")},e.ptm("container")),[r.createElementVNode("div",r.mergeProps({class:e.cx("value")},e.ptm("value")),null,16)],16)):r.createCommentVNode("",!0)],16,o)},n}(primevue.basecomponent,primevue.progressbar.style,Vue);
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :class="cx('root')" role="progressbar" v-bind="ptm('root')">
2
+ <div :class="cx('root')" role="progressbar" v-bind="ptmi('root')">
3
3
  <svg :class="cx('spinner')" viewBox="25 25 50 50" :style="svgStyle" v-bind="ptm('spinner')">
4
4
  <circle :class="cx('circle')" cx="50" cy="50" r="20" :fill="fill" :stroke-width="strokeWidth" strokeMiterlimit="10" v-bind="ptm('circle')" />
5
5
  </svg>
@@ -12,6 +12,7 @@ import BaseProgressSpinner from './BaseProgressSpinner.vue';
12
12
  export default {
13
13
  name: 'ProgressSpinner',
14
14
  extends: BaseProgressSpinner,
15
+ inheritAttrs: false,
15
16
  computed: {
16
17
  svgStyle() {
17
18
  return {
@@ -37,6 +37,7 @@ var script$1 = {
37
37
  var script = {
38
38
  name: 'ProgressSpinner',
39
39
  "extends": script$1,
40
+ inheritAttrs: false,
40
41
  computed: {
41
42
  svgStyle: function svgStyle() {
42
43
  return {
@@ -51,7 +52,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
51
52
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
52
53
  "class": _ctx.cx('root'),
53
54
  role: "progressbar"
54
- }, _ctx.ptm('root')), [(vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
55
+ }, _ctx.ptmi('root')), [(vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
55
56
  "class": _ctx.cx('spinner'),
56
57
  viewBox: "25 25 50 50",
57
58
  style: $options.svgStyle
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/basecomponent"),r=require("primevue/progressspinner/style"),t=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:n(r).default,provide:function(){return{$parentInstance:this}}},computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},o=["fill","stroke-width"];i.render=function(e,r,n,i,s,l){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:e.cx("root"),role:"progressbar"},e.ptm("root")),[(t.openBlock(),t.createElementBlock("svg",t.mergeProps({class:e.cx("spinner"),viewBox:"25 25 50 50",style:l.svgStyle},e.ptm("spinner")),[t.createElementVNode("circle",t.mergeProps({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,o)],16))],16)},module.exports=i;
1
+ "use strict";var e=require("primevue/basecomponent"),t=require("primevue/progressspinner/style"),r=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:n(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},o=["fill","stroke-width"];i.render=function(e,t,n,i,s,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),role:"progressbar"},e.ptmi("root")),[(r.openBlock(),r.createElementBlock("svg",r.mergeProps({class:e.cx("spinner"),viewBox:"25 25 50 50",style:l.svgStyle},e.ptm("spinner")),[r.createElementVNode("circle",r.mergeProps({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,o)],16))],16)},module.exports=i;
@@ -30,6 +30,7 @@ var script$1 = {
30
30
  var script = {
31
31
  name: 'ProgressSpinner',
32
32
  "extends": script$1,
33
+ inheritAttrs: false,
33
34
  computed: {
34
35
  svgStyle: function svgStyle() {
35
36
  return {
@@ -44,7 +45,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
44
45
  return openBlock(), createElementBlock("div", mergeProps({
45
46
  "class": _ctx.cx('root'),
46
47
  role: "progressbar"
47
- }, _ctx.ptm('root')), [(openBlock(), createElementBlock("svg", mergeProps({
48
+ }, _ctx.ptmi('root')), [(openBlock(), createElementBlock("svg", mergeProps({
48
49
  "class": _ctx.cx('spinner'),
49
50
  viewBox: "25 25 50 50",
50
51
  style: $options.svgStyle
@@ -1 +1 @@
1
- import e from"primevue/basecomponent";import t from"primevue/progressspinner/style";import{openBlock as r,createElementBlock as i,mergeProps as n,createElementVNode as s}from"vue";var o={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:e,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:t,provide:function(){return{$parentInstance:this}}},computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},l=["fill","stroke-width"];o.render=function(e,t,o,a,p,c){return r(),i("div",n({class:e.cx("root"),role:"progressbar"},e.ptm("root")),[(r(),i("svg",n({class:e.cx("spinner"),viewBox:"25 25 50 50",style:c.svgStyle},e.ptm("spinner")),[s("circle",n({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,l)],16))],16)};export{o as default};
1
+ import e from"primevue/basecomponent";import t from"primevue/progressspinner/style";import{openBlock as r,createElementBlock as i,mergeProps as n,createElementVNode as s}from"vue";var o={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:e,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:t,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},l=["fill","stroke-width"];o.render=function(e,t,o,a,p,c){return r(),i("div",n({class:e.cx("root"),role:"progressbar"},e.ptmi("root")),[(r(),i("svg",n({class:e.cx("spinner"),viewBox:"25 25 50 50",style:c.svgStyle},e.ptm("spinner")),[s("circle",n({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,l)],16))],16)};export{o as default};
@@ -35,6 +35,7 @@ this.primevue.progressspinner = (function (BaseComponent, ProgressSpinnerStyle,
35
35
  var script = {
36
36
  name: 'ProgressSpinner',
37
37
  "extends": script$1,
38
+ inheritAttrs: false,
38
39
  computed: {
39
40
  svgStyle: function svgStyle() {
40
41
  return {
@@ -49,7 +50,7 @@ this.primevue.progressspinner = (function (BaseComponent, ProgressSpinnerStyle,
49
50
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
50
51
  "class": _ctx.cx('root'),
51
52
  role: "progressbar"
52
- }, _ctx.ptm('root')), [(vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
53
+ }, _ctx.ptmi('root')), [(vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
53
54
  "class": _ctx.cx('spinner'),
54
55
  viewBox: "25 25 50 50",
55
56
  style: $options.svgStyle
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.progressspinner=function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:n(t).default,provide:function(){return{$parentInstance:this}}},computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},s=["fill","stroke-width"];return i.render=function(e,t,n,i,o,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),role:"progressbar"},e.ptm("root")),[(r.openBlock(),r.createElementBlock("svg",r.mergeProps({class:e.cx("spinner"),viewBox:"25 25 50 50",style:l.svgStyle},e.ptm("spinner")),[r.createElementVNode("circle",r.mergeProps({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,s)],16))],16)},i}(primevue.basecomponent,primevue.progressspinner.style,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.progressspinner=function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"ProgressSpinner",extends:{name:"BaseProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},style:n(t).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},s=["fill","stroke-width"];return i.render=function(e,t,n,i,o,l){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root"),role:"progressbar"},e.ptmi("root")),[(r.openBlock(),r.createElementBlock("svg",r.mergeProps({class:e.cx("spinner"),viewBox:"25 25 50 50",style:l.svgStyle},e.ptm("spinner")),[r.createElementVNode("circle",r.mergeProps({class:e.cx("circle"),cx:"50",cy:"50",r:"20",fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,s)],16))],16)},i}(primevue.basecomponent,primevue.progressspinner.style,Vue);
@@ -13,6 +13,7 @@
13
13
  :readonly="readonly"
14
14
  :aria-labelledby="ariaLabelledby"
15
15
  :aria-label="ariaLabel"
16
+ :aria-invalid="invalid || undefined"
16
17
  @focus="onFocus"
17
18
  @blur="onBlur"
18
19
  @change="onChange"
@@ -31,10 +32,13 @@ import BaseRadioButton from './BaseRadioButton.vue';
31
32
  export default {
32
33
  name: 'RadioButton',
33
34
  extends: BaseRadioButton,
35
+ inheritAttrs: false,
34
36
  emits: ['update:modelValue', 'change', 'focus', 'blur'],
35
37
  methods: {
36
38
  getPTOptions(key) {
37
- return this.ptm(key, {
39
+ const _ptm = key === 'root' ? this.ptmi : this.ptm;
40
+
41
+ return _ptm(key, {
38
42
  context: {
39
43
  checked: this.checked,
40
44
  disabled: this.disabled