primevue 3.31.0 → 3.32.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 (574) hide show
  1. package/accordion/Accordion.d.ts +5 -5
  2. package/accordion/Accordion.vue +1 -1
  3. package/accordion/accordion.cjs.js +3 -3
  4. package/accordion/accordion.cjs.min.js +1 -1
  5. package/accordion/accordion.esm.js +3 -3
  6. package/accordion/accordion.esm.min.js +1 -1
  7. package/accordion/accordion.js +3 -3
  8. package/accordion/accordion.min.js +1 -1
  9. package/accordiontab/AccordionTab.d.ts +18 -12
  10. package/autocomplete/AutoComplete.d.ts +34 -23
  11. package/autocomplete/AutoComplete.vue +3 -3
  12. package/autocomplete/BaseAutoComplete.vue +4 -0
  13. package/autocomplete/autocomplete.cjs.js +9 -5
  14. package/autocomplete/autocomplete.cjs.min.js +1 -1
  15. package/autocomplete/autocomplete.esm.js +9 -5
  16. package/autocomplete/autocomplete.esm.min.js +1 -1
  17. package/autocomplete/autocomplete.js +9 -5
  18. package/autocomplete/autocomplete.min.js +1 -1
  19. package/avatar/Avatar.d.ts +7 -7
  20. package/avatar/Avatar.vue +2 -2
  21. package/avatar/avatar.cjs.js +2 -2
  22. package/avatar/avatar.cjs.min.js +1 -1
  23. package/avatar/avatar.esm.js +2 -2
  24. package/avatar/avatar.esm.min.js +1 -1
  25. package/avatar/avatar.js +2 -2
  26. package/avatar/avatar.min.js +1 -1
  27. package/avatargroup/AvatarGroup.d.ts +3 -3
  28. package/badge/Badge.d.ts +3 -3
  29. package/badgedirective/BadgeDirective.d.ts +45 -4
  30. package/badgedirective/badgedirective.cjs.js +11 -1
  31. package/badgedirective/badgedirective.cjs.min.js +1 -1
  32. package/badgedirective/badgedirective.esm.js +11 -1
  33. package/badgedirective/badgedirective.esm.min.js +1 -1
  34. package/badgedirective/badgedirective.js +11 -1
  35. package/badgedirective/badgedirective.min.js +1 -1
  36. package/basecomponent/BaseComponent.vue +51 -25
  37. package/basecomponent/basecomponent.cjs.js +66 -42
  38. package/basecomponent/basecomponent.cjs.min.js +1 -1
  39. package/basecomponent/basecomponent.esm.js +66 -42
  40. package/basecomponent/basecomponent.esm.min.js +1 -1
  41. package/basecomponent/basecomponent.js +66 -42
  42. package/basecomponent/basecomponent.min.js +1 -1
  43. package/basedirective/basedirective.cjs.js +9 -3
  44. package/basedirective/basedirective.cjs.min.js +1 -1
  45. package/basedirective/basedirective.esm.js +9 -3
  46. package/basedirective/basedirective.esm.min.js +1 -1
  47. package/basedirective/basedirective.js +9 -3
  48. package/basedirective/basedirective.min.js +1 -1
  49. package/blockui/BaseBlockUI.vue +0 -8
  50. package/blockui/BlockUI.d.ts +7 -3
  51. package/blockui/BlockUI.vue +35 -10
  52. package/blockui/blockui.cjs.js +34 -12
  53. package/blockui/blockui.cjs.min.js +1 -1
  54. package/blockui/blockui.esm.js +34 -12
  55. package/blockui/blockui.esm.min.js +1 -1
  56. package/blockui/blockui.js +34 -12
  57. package/blockui/blockui.min.js +1 -1
  58. package/breadcrumb/Breadcrumb.d.ts +10 -10
  59. package/button/Button.d.ts +8 -7
  60. package/button/Button.vue +4 -0
  61. package/button/button.cjs.js +5 -0
  62. package/button/button.cjs.min.js +1 -1
  63. package/button/button.esm.js +5 -0
  64. package/button/button.esm.min.js +1 -1
  65. package/button/button.js +5 -0
  66. package/button/button.min.js +1 -1
  67. package/calendar/Calendar.d.ts +129 -53
  68. package/calendar/Calendar.vue +49 -7
  69. package/calendar/calendar.cjs.js +72 -35
  70. package/calendar/calendar.cjs.min.js +1 -1
  71. package/calendar/calendar.esm.js +72 -35
  72. package/calendar/calendar.esm.min.js +1 -1
  73. package/calendar/calendar.js +72 -35
  74. package/calendar/calendar.min.js +1 -1
  75. package/card/Card.d.ts +9 -9
  76. package/carousel/Carousel.d.ts +32 -20
  77. package/carousel/Carousel.vue +10 -2
  78. package/carousel/carousel.cjs.js +11 -2
  79. package/carousel/carousel.cjs.min.js +1 -1
  80. package/carousel/carousel.esm.js +11 -2
  81. package/carousel/carousel.esm.min.js +1 -1
  82. package/carousel/carousel.js +11 -2
  83. package/carousel/carousel.min.js +1 -1
  84. package/cascadeselect/CascadeSelect.d.ts +25 -19
  85. package/cascadeselect/CascadeSelect.vue +1 -1
  86. package/cascadeselect/cascadeselect.cjs.js +3 -3
  87. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  88. package/cascadeselect/cascadeselect.esm.js +3 -3
  89. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  90. package/cascadeselect/cascadeselect.js +3 -3
  91. package/cascadeselect/cascadeselect.min.js +1 -1
  92. package/chart/Chart.d.ts +5 -5
  93. package/checkbox/Checkbox.d.ts +8 -8
  94. package/chip/Chip.d.ts +7 -7
  95. package/chips/Chips.d.ts +10 -10
  96. package/colorpicker/ColorPicker.d.ts +18 -11
  97. package/colorpicker/ColorPicker.vue +1 -1
  98. package/colorpicker/colorpicker.cjs.js +3 -3
  99. package/colorpicker/colorpicker.cjs.min.js +1 -1
  100. package/colorpicker/colorpicker.esm.js +3 -3
  101. package/colorpicker/colorpicker.esm.min.js +1 -1
  102. package/colorpicker/colorpicker.js +3 -3
  103. package/colorpicker/colorpicker.min.js +1 -1
  104. package/column/Column.d.ts +58 -58
  105. package/columngroup/ColumnGroup.d.ts +3 -3
  106. package/config/PrimeVue.d.ts +8 -0
  107. package/config/config.cjs.js +4 -1
  108. package/config/config.cjs.min.js +1 -1
  109. package/config/config.esm.js +4 -1
  110. package/config/config.esm.min.js +1 -1
  111. package/config/config.js +4 -1
  112. package/config/config.min.js +1 -1
  113. package/confirmdialog/ConfirmDialog.d.ts +14 -14
  114. package/confirmpopup/ConfirmPopup.d.ts +16 -10
  115. package/confirmpopup/ConfirmPopup.vue +1 -1
  116. package/confirmpopup/confirmpopup.cjs.js +3 -3
  117. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  118. package/confirmpopup/confirmpopup.esm.js +4 -4
  119. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  120. package/confirmpopup/confirmpopup.js +3 -3
  121. package/confirmpopup/confirmpopup.min.js +1 -1
  122. package/contextmenu/ContextMenu.d.ts +19 -13
  123. package/contextmenu/ContextMenu.vue +1 -1
  124. package/contextmenu/ContextMenuSub.vue +1 -1
  125. package/contextmenu/contextmenu.cjs.js +6 -6
  126. package/contextmenu/contextmenu.cjs.min.js +1 -1
  127. package/contextmenu/contextmenu.esm.js +7 -7
  128. package/contextmenu/contextmenu.esm.min.js +1 -1
  129. package/contextmenu/contextmenu.js +6 -6
  130. package/contextmenu/contextmenu.min.js +1 -1
  131. package/core/core.js +1958 -1326
  132. package/core/core.min.js +18 -16
  133. package/datatable/BaseDataTable.vue +1 -1
  134. package/datatable/BodyCell.vue +1 -0
  135. package/datatable/ColumnFilter.vue +1 -1
  136. package/datatable/DataTable.d.ts +37 -31
  137. package/datatable/DataTable.vue +4 -1
  138. package/datatable/datatable.cjs.js +10 -5
  139. package/datatable/datatable.cjs.min.js +1 -1
  140. package/datatable/datatable.esm.js +10 -5
  141. package/datatable/datatable.esm.min.js +1 -1
  142. package/datatable/datatable.js +10 -5
  143. package/datatable/datatable.min.js +1 -1
  144. package/dataview/DataView.d.ts +10 -10
  145. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +7 -7
  146. package/deferredcontent/DeferredContent.d.ts +3 -3
  147. package/dialog/BaseDialog.vue +3 -7
  148. package/dialog/Dialog.d.ts +21 -15
  149. package/dialog/Dialog.vue +2 -1
  150. package/dialog/dialog.cjs.js +9 -6
  151. package/dialog/dialog.cjs.min.js +1 -1
  152. package/dialog/dialog.esm.js +9 -6
  153. package/dialog/dialog.esm.min.js +1 -1
  154. package/dialog/dialog.js +9 -6
  155. package/dialog/dialog.min.js +1 -1
  156. package/divider/BaseDivider.vue +9 -24
  157. package/divider/Divider.d.ts +4 -4
  158. package/divider/Divider.vue +1 -1
  159. package/divider/divider.cjs.js +15 -2
  160. package/divider/divider.cjs.min.js +1 -1
  161. package/divider/divider.esm.js +15 -2
  162. package/divider/divider.esm.min.js +1 -1
  163. package/divider/divider.js +15 -2
  164. package/divider/divider.min.js +1 -1
  165. package/dock/BaseDock.vue +1 -1
  166. package/dock/Dock.d.ts +9 -9
  167. package/dock/Dock.vue +19 -2
  168. package/dock/dock.cjs.js +10 -4
  169. package/dock/dock.cjs.min.js +1 -1
  170. package/dock/dock.esm.js +10 -4
  171. package/dock/dock.esm.min.js +1 -1
  172. package/dock/dock.js +10 -4
  173. package/dock/dock.min.js +1 -1
  174. package/dropdown/BaseDropdown.vue +5 -5
  175. package/dropdown/Dropdown.d.ts +34 -28
  176. package/dropdown/Dropdown.vue +2 -2
  177. package/dropdown/dropdown.cjs.js +9 -9
  178. package/dropdown/dropdown.cjs.min.js +1 -1
  179. package/dropdown/dropdown.esm.js +9 -9
  180. package/dropdown/dropdown.esm.min.js +1 -1
  181. package/dropdown/dropdown.js +9 -9
  182. package/dropdown/dropdown.min.js +1 -1
  183. package/editor/BaseEditor.vue +0 -14
  184. package/editor/Editor.d.ts +19 -19
  185. package/editor/Editor.vue +20 -20
  186. package/editor/editor.cjs.js +20 -34
  187. package/editor/editor.cjs.min.js +1 -1
  188. package/editor/editor.esm.js +20 -34
  189. package/editor/editor.esm.min.js +1 -1
  190. package/editor/editor.js +20 -34
  191. package/editor/editor.min.js +1 -1
  192. package/fieldset/Fieldset.d.ts +17 -11
  193. package/fieldset/Fieldset.vue +1 -1
  194. package/fieldset/fieldset.cjs.js +3 -3
  195. package/fieldset/fieldset.cjs.min.js +1 -1
  196. package/fieldset/fieldset.esm.js +3 -3
  197. package/fieldset/fieldset.esm.min.js +1 -1
  198. package/fieldset/fieldset.js +3 -3
  199. package/fieldset/fieldset.min.js +1 -1
  200. package/fileupload/FileUpload.d.ts +24 -24
  201. package/fileupload/FileUpload.vue +4 -4
  202. package/fileupload/fileupload.cjs.js +10 -4
  203. package/fileupload/fileupload.cjs.min.js +1 -1
  204. package/fileupload/fileupload.esm.js +10 -4
  205. package/fileupload/fileupload.esm.min.js +1 -1
  206. package/fileupload/fileupload.js +10 -4
  207. package/fileupload/fileupload.min.js +1 -1
  208. package/focustrap/FocusTrap.d.ts +5 -5
  209. package/galleria/Galleria.d.ts +53 -34
  210. package/galleria/Galleria.vue +1 -1
  211. package/galleria/GalleriaItem.vue +9 -2
  212. package/galleria/GalleriaThumbnails.vue +1 -0
  213. package/galleria/galleria.cjs.js +14 -5
  214. package/galleria/galleria.cjs.min.js +1 -1
  215. package/galleria/galleria.esm.js +14 -5
  216. package/galleria/galleria.esm.min.js +1 -1
  217. package/galleria/galleria.js +14 -5
  218. package/galleria/galleria.min.js +1 -1
  219. package/image/Image.d.ts +28 -21
  220. package/image/Image.vue +2 -2
  221. package/image/image.cjs.js +4 -3
  222. package/image/image.cjs.min.js +1 -1
  223. package/image/image.esm.js +4 -3
  224. package/image/image.esm.min.js +1 -1
  225. package/image/image.js +4 -3
  226. package/image/image.min.js +1 -1
  227. package/inlinemessage/InlineMessage.d.ts +5 -5
  228. package/inplace/Inplace.d.ts +8 -8
  229. package/inputmask/InputMask.d.ts +32 -4
  230. package/inputmask/InputMask.vue +9 -1
  231. package/inputmask/inputmask.cjs.js +9 -1
  232. package/inputmask/inputmask.cjs.min.js +1 -1
  233. package/inputmask/inputmask.esm.js +9 -1
  234. package/inputmask/inputmask.esm.min.js +1 -1
  235. package/inputmask/inputmask.js +9 -1
  236. package/inputmask/inputmask.min.js +1 -1
  237. package/inputnumber/InputNumber.d.ts +10 -10
  238. package/inputswitch/InputSwitch.d.ts +7 -7
  239. package/inputtext/InputText.d.ts +3 -3
  240. package/knob/Knob.d.ts +7 -7
  241. package/listbox/Listbox.d.ts +18 -18
  242. package/megamenu/MegaMenu.d.ts +18 -18
  243. package/megamenu/MegaMenuSub.vue +1 -0
  244. package/megamenu/megamenu.cjs.js +2 -1
  245. package/megamenu/megamenu.cjs.min.js +1 -1
  246. package/megamenu/megamenu.esm.js +2 -1
  247. package/megamenu/megamenu.esm.min.js +1 -1
  248. package/megamenu/megamenu.js +2 -1
  249. package/megamenu/megamenu.min.js +1 -1
  250. package/menu/Menu.d.ts +20 -14
  251. package/menu/Menu.vue +1 -1
  252. package/menu/menu.cjs.js +3 -3
  253. package/menu/menu.cjs.min.js +1 -1
  254. package/menu/menu.esm.js +3 -3
  255. package/menu/menu.esm.min.js +1 -1
  256. package/menu/menu.js +3 -3
  257. package/menu/menu.min.js +1 -1
  258. package/menubar/Menubar.d.ts +21 -17
  259. package/menubar/MenubarSub.vue +3 -1
  260. package/menubar/menubar.cjs.js +4 -2
  261. package/menubar/menubar.cjs.min.js +1 -1
  262. package/menubar/menubar.esm.js +4 -2
  263. package/menubar/menubar.esm.min.js +1 -1
  264. package/menubar/menubar.js +4 -2
  265. package/menubar/menubar.min.js +1 -1
  266. package/message/Message.d.ts +18 -12
  267. package/message/Message.vue +1 -1
  268. package/message/message.cjs.js +3 -3
  269. package/message/message.cjs.min.js +1 -1
  270. package/message/message.esm.js +4 -4
  271. package/message/message.esm.min.js +1 -1
  272. package/message/message.js +3 -3
  273. package/message/message.min.js +1 -1
  274. package/multiselect/MultiSelect.d.ts +47 -41
  275. package/multiselect/MultiSelect.vue +1 -1
  276. package/multiselect/multiselect.cjs.js +3 -3
  277. package/multiselect/multiselect.cjs.min.js +1 -1
  278. package/multiselect/multiselect.esm.js +3 -3
  279. package/multiselect/multiselect.esm.min.js +1 -1
  280. package/multiselect/multiselect.js +3 -3
  281. package/multiselect/multiselect.min.js +1 -1
  282. package/orderlist/OrderList.d.ts +24 -18
  283. package/orderlist/OrderList.vue +2 -1
  284. package/orderlist/orderlist.cjs.js +3 -1
  285. package/orderlist/orderlist.cjs.min.js +1 -1
  286. package/orderlist/orderlist.esm.js +3 -1
  287. package/orderlist/orderlist.esm.min.js +1 -1
  288. package/orderlist/orderlist.js +3 -1
  289. package/orderlist/orderlist.min.js +1 -1
  290. package/organizationchart/OrganizationChart.d.ts +15 -15
  291. package/overlaypanel/OverlayPanel.d.ts +13 -7
  292. package/overlaypanel/OverlayPanel.vue +2 -1
  293. package/overlaypanel/overlaypanel.cjs.js +5 -3
  294. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  295. package/overlaypanel/overlaypanel.esm.js +6 -4
  296. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  297. package/overlaypanel/overlaypanel.js +5 -3
  298. package/overlaypanel/overlaypanel.min.js +1 -1
  299. package/package.json +15 -15
  300. package/paginator/Paginator.d.ts +20 -20
  301. package/paginator/Paginator.vue +2 -1
  302. package/paginator/paginator.cjs.js +2 -0
  303. package/paginator/paginator.cjs.min.js +1 -1
  304. package/paginator/paginator.esm.js +3 -1
  305. package/paginator/paginator.esm.min.js +1 -1
  306. package/paginator/paginator.js +2 -0
  307. package/paginator/paginator.min.js +1 -1
  308. package/panel/Panel.d.ts +19 -13
  309. package/panel/Panel.vue +1 -1
  310. package/panel/panel.cjs.js +3 -3
  311. package/panel/panel.cjs.min.js +1 -1
  312. package/panel/panel.esm.js +3 -3
  313. package/panel/panel.esm.min.js +1 -1
  314. package/panel/panel.js +3 -3
  315. package/panel/panel.min.js +1 -1
  316. package/panelmenu/PanelMenu.d.ts +27 -21
  317. package/panelmenu/PanelMenu.vue +1 -1
  318. package/panelmenu/PanelMenuSub.vue +1 -1
  319. package/panelmenu/panelmenu.cjs.js +6 -6
  320. package/panelmenu/panelmenu.cjs.min.js +1 -1
  321. package/panelmenu/panelmenu.esm.js +6 -6
  322. package/panelmenu/panelmenu.esm.min.js +1 -1
  323. package/panelmenu/panelmenu.js +6 -6
  324. package/panelmenu/panelmenu.min.js +1 -1
  325. package/passthrough/index.cjs.js +74 -0
  326. package/passthrough/index.cjs.min.js +1 -0
  327. package/passthrough/index.d.ts +15 -0
  328. package/passthrough/index.esm.js +70 -0
  329. package/passthrough/index.esm.min.js +1 -0
  330. package/passthrough/index.js +77 -0
  331. package/passthrough/index.min.js +1 -0
  332. package/passthrough/package.json +6 -0
  333. package/{tailwind/tailwind.cjs.js → passthrough/tailwind/index.cjs.js} +1268 -828
  334. package/passthrough/tailwind/index.cjs.min.js +1 -0
  335. package/{tailwind/Tailwind.d.ts → passthrough/tailwind/index.d.ts} +1 -1
  336. package/{tailwind/tailwind.esm.js → passthrough/tailwind/index.esm.js} +1265 -828
  337. package/passthrough/tailwind/index.esm.min.js +1 -0
  338. package/{tailwind/tailwind.js → passthrough/tailwind/index.js} +1273 -830
  339. package/passthrough/tailwind/index.min.js +1 -0
  340. package/passthrough/tailwind/package.json +6 -0
  341. package/password/Password.d.ts +25 -14
  342. package/password/Password.vue +2 -1
  343. package/password/password.cjs.js +4 -3
  344. package/password/password.cjs.min.js +1 -1
  345. package/password/password.esm.js +4 -3
  346. package/password/password.esm.min.js +1 -1
  347. package/password/password.js +4 -3
  348. package/password/password.min.js +1 -1
  349. package/picklist/PickList.d.ts +42 -36
  350. package/picklist/PickList.vue +3 -2
  351. package/picklist/picklist.cjs.js +4 -2
  352. package/picklist/picklist.cjs.min.js +1 -1
  353. package/picklist/picklist.esm.js +4 -2
  354. package/picklist/picklist.esm.min.js +1 -1
  355. package/picklist/picklist.js +4 -2
  356. package/picklist/picklist.min.js +1 -1
  357. package/progressbar/ProgressBar.d.ts +5 -5
  358. package/progressspinner/ProgressSpinner.d.ts +5 -5
  359. package/radiobutton/RadioButton.d.ts +10 -10
  360. package/rating/Rating.d.ts +12 -12
  361. package/rating/Rating.vue +3 -3
  362. package/rating/rating.cjs.js +3 -3
  363. package/rating/rating.cjs.min.js +1 -1
  364. package/rating/rating.esm.js +3 -3
  365. package/rating/rating.esm.min.js +1 -1
  366. package/rating/rating.js +3 -3
  367. package/rating/rating.min.js +1 -1
  368. package/resources/themes/arya-blue/theme.css +7 -0
  369. package/resources/themes/arya-green/theme.css +7 -0
  370. package/resources/themes/arya-orange/theme.css +7 -0
  371. package/resources/themes/arya-purple/theme.css +7 -0
  372. package/resources/themes/bootstrap4-dark-blue/theme.css +14 -0
  373. package/resources/themes/bootstrap4-dark-purple/theme.css +14 -0
  374. package/resources/themes/bootstrap4-light-blue/theme.css +14 -0
  375. package/resources/themes/bootstrap4-light-purple/theme.css +14 -0
  376. package/resources/themes/fluent-light/theme.css +7 -0
  377. package/resources/themes/lara-dark-blue/theme.css +7 -0
  378. package/resources/themes/lara-dark-indigo/theme.css +7 -0
  379. package/resources/themes/lara-dark-purple/theme.css +7 -0
  380. package/resources/themes/lara-dark-teal/theme.css +7 -0
  381. package/resources/themes/lara-light-blue/theme.css +7 -0
  382. package/resources/themes/lara-light-indigo/theme.css +7 -0
  383. package/resources/themes/lara-light-purple/theme.css +7 -0
  384. package/resources/themes/lara-light-teal/theme.css +7 -0
  385. package/resources/themes/luna-amber/theme.css +7 -0
  386. package/resources/themes/luna-blue/theme.css +7 -0
  387. package/resources/themes/luna-green/theme.css +7 -0
  388. package/resources/themes/luna-pink/theme.css +7 -0
  389. package/resources/themes/md-dark-deeppurple/theme.css +7 -0
  390. package/resources/themes/md-dark-indigo/theme.css +7 -0
  391. package/resources/themes/md-light-deeppurple/theme.css +7 -0
  392. package/resources/themes/md-light-indigo/theme.css +7 -0
  393. package/resources/themes/mdc-dark-deeppurple/theme.css +7 -0
  394. package/resources/themes/mdc-dark-indigo/theme.css +7 -0
  395. package/resources/themes/mdc-light-deeppurple/theme.css +7 -0
  396. package/resources/themes/mdc-light-indigo/theme.css +7 -0
  397. package/resources/themes/mira/theme.css +7 -0
  398. package/resources/themes/nano/theme.css +7 -0
  399. package/resources/themes/nova/theme.css +7 -0
  400. package/resources/themes/nova-accent/theme.css +7 -0
  401. package/resources/themes/nova-alt/theme.css +7 -0
  402. package/resources/themes/nova-vue/theme.css +7 -0
  403. package/resources/themes/rhea/theme.css +7 -0
  404. package/resources/themes/saga-blue/theme.css +7 -0
  405. package/resources/themes/saga-green/theme.css +7 -0
  406. package/resources/themes/saga-orange/theme.css +7 -0
  407. package/resources/themes/saga-purple/theme.css +7 -0
  408. package/resources/themes/soho-dark/theme.css +7 -0
  409. package/resources/themes/soho-light/theme.css +7 -0
  410. package/resources/themes/tailwind-light/theme.css +7 -0
  411. package/resources/themes/vela-blue/theme.css +7 -0
  412. package/resources/themes/vela-green/theme.css +7 -0
  413. package/resources/themes/vela-orange/theme.css +7 -0
  414. package/resources/themes/vela-purple/theme.css +7 -0
  415. package/resources/themes/viva-dark/theme.css +7 -0
  416. package/resources/themes/viva-light/theme.css +7 -0
  417. package/ripple/Ripple.d.ts +3 -3
  418. package/row/Row.d.ts +2 -2
  419. package/scrollpanel/ScrollPanel.d.ts +7 -7
  420. package/scrolltop/ScrollTop.d.ts +11 -5
  421. package/scrolltop/ScrollTop.vue +1 -1
  422. package/scrolltop/scrolltop.cjs.js +3 -3
  423. package/scrolltop/scrolltop.cjs.min.js +1 -1
  424. package/scrolltop/scrolltop.esm.js +4 -4
  425. package/scrolltop/scrolltop.esm.min.js +1 -1
  426. package/scrolltop/scrolltop.js +3 -3
  427. package/scrolltop/scrolltop.min.js +1 -1
  428. package/selectbutton/SelectButton.d.ts +5 -5
  429. package/sidebar/Sidebar.d.ts +16 -10
  430. package/sidebar/Sidebar.vue +1 -1
  431. package/sidebar/sidebar.cjs.js +3 -3
  432. package/sidebar/sidebar.cjs.min.js +1 -1
  433. package/sidebar/sidebar.esm.js +3 -3
  434. package/sidebar/sidebar.esm.min.js +1 -1
  435. package/sidebar/sidebar.js +3 -3
  436. package/sidebar/sidebar.min.js +1 -1
  437. package/skeleton/Skeleton.d.ts +3 -3
  438. package/slider/Slider.d.ts +7 -7
  439. package/speeddial/BaseSpeedDial.vue +12 -36
  440. package/speeddial/SpeedDial.d.ts +14 -9
  441. package/speeddial/SpeedDial.vue +5 -4
  442. package/speeddial/speeddial.cjs.js +44 -23
  443. package/speeddial/speeddial.cjs.min.js +1 -1
  444. package/speeddial/speeddial.esm.js +44 -23
  445. package/speeddial/speeddial.esm.min.js +1 -1
  446. package/speeddial/speeddial.js +44 -23
  447. package/speeddial/speeddial.min.js +1 -1
  448. package/splitbutton/SplitButton.d.ts +8 -8
  449. package/splitbutton/SplitButton.vue +22 -3
  450. package/splitbutton/splitbutton.cjs.js +17 -5
  451. package/splitbutton/splitbutton.cjs.min.js +1 -1
  452. package/splitbutton/splitbutton.esm.js +17 -5
  453. package/splitbutton/splitbutton.esm.min.js +1 -1
  454. package/splitbutton/splitbutton.js +17 -5
  455. package/splitbutton/splitbutton.min.js +1 -1
  456. package/splitter/Splitter.d.ts +16 -5
  457. package/splitter/Splitter.vue +8 -1
  458. package/splitter/splitter.cjs.js +9 -1
  459. package/splitter/splitter.cjs.min.js +1 -1
  460. package/splitter/splitter.esm.js +9 -1
  461. package/splitter/splitter.esm.min.js +1 -1
  462. package/splitter/splitter.js +9 -1
  463. package/splitter/splitter.min.js +1 -1
  464. package/splitterpanel/SplitterPanel.d.ts +3 -3
  465. package/splitterpanel/SplitterPanel.vue +1 -1
  466. package/splitterpanel/splitterpanel.cjs.js +1 -1
  467. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  468. package/splitterpanel/splitterpanel.esm.js +1 -1
  469. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  470. package/splitterpanel/splitterpanel.js +1 -1
  471. package/splitterpanel/splitterpanel.min.js +1 -1
  472. package/steps/Steps.d.ts +8 -8
  473. package/styleclass/StyleClass.d.ts +2 -2
  474. package/tabmenu/TabMenu.d.ts +9 -9
  475. package/tabpanel/TabPanel.d.ts +10 -10
  476. package/tabview/TabView.d.ts +16 -16
  477. package/tag/Tag.d.ts +5 -5
  478. package/terminal/Terminal.d.ts +11 -11
  479. package/textarea/Textarea.d.ts +3 -3
  480. package/tieredmenu/TieredMenu.d.ts +19 -13
  481. package/tieredmenu/TieredMenu.vue +1 -1
  482. package/tieredmenu/tieredmenu.cjs.js +3 -3
  483. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  484. package/tieredmenu/tieredmenu.esm.js +3 -3
  485. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  486. package/tieredmenu/tieredmenu.js +3 -3
  487. package/tieredmenu/tieredmenu.min.js +1 -1
  488. package/timeline/Timeline.d.ts +9 -9
  489. package/toast/BaseToast.vue +4 -0
  490. package/toast/Toast.d.ts +23 -17
  491. package/toast/Toast.vue +3 -2
  492. package/toast/toast.cjs.js +4 -2
  493. package/toast/toast.cjs.min.js +1 -1
  494. package/toast/toast.esm.js +5 -3
  495. package/toast/toast.esm.min.js +1 -1
  496. package/toast/toast.js +4 -2
  497. package/toast/toast.min.js +1 -1
  498. package/togglebutton/ToggleButton.d.ts +31 -9
  499. package/togglebutton/ToggleButton.vue +12 -3
  500. package/togglebutton/togglebutton.cjs.js +12 -3
  501. package/togglebutton/togglebutton.cjs.min.js +1 -1
  502. package/togglebutton/togglebutton.esm.js +12 -3
  503. package/togglebutton/togglebutton.esm.min.js +1 -1
  504. package/togglebutton/togglebutton.js +12 -3
  505. package/togglebutton/togglebutton.min.js +1 -1
  506. package/toolbar/Toolbar.d.ts +6 -6
  507. package/toolbar/Toolbar.vue +3 -3
  508. package/toolbar/toolbar.cjs.js +3 -6
  509. package/toolbar/toolbar.cjs.min.js +1 -1
  510. package/toolbar/toolbar.esm.js +3 -6
  511. package/toolbar/toolbar.esm.min.js +1 -1
  512. package/toolbar/toolbar.js +3 -6
  513. package/toolbar/toolbar.min.js +1 -1
  514. package/tooltip/Tooltip.d.ts +35 -6
  515. package/tooltip/tooltip.cjs.js +17 -4
  516. package/tooltip/tooltip.cjs.min.js +1 -1
  517. package/tooltip/tooltip.esm.js +17 -4
  518. package/tooltip/tooltip.esm.min.js +1 -1
  519. package/tooltip/tooltip.js +413 -400
  520. package/tooltip/tooltip.min.js +1 -1
  521. package/tree/Tree.d.ts +20 -20
  522. package/tree/Tree.vue +1 -0
  523. package/tree/tree.cjs.js +3 -2
  524. package/tree/tree.cjs.min.js +1 -1
  525. package/tree/tree.esm.js +3 -2
  526. package/tree/tree.esm.min.js +1 -1
  527. package/tree/tree.js +3 -2
  528. package/tree/tree.min.js +1 -1
  529. package/treeselect/TreeSelect.d.ts +23 -17
  530. package/treeselect/TreeSelect.vue +2 -2
  531. package/treeselect/treeselect.cjs.js +4 -4
  532. package/treeselect/treeselect.cjs.min.js +1 -1
  533. package/treeselect/treeselect.esm.js +4 -4
  534. package/treeselect/treeselect.esm.min.js +1 -1
  535. package/treeselect/treeselect.js +4 -4
  536. package/treeselect/treeselect.min.js +1 -1
  537. package/treetable/TreeTable.d.ts +21 -21
  538. package/treetable/TreeTable.vue +2 -1
  539. package/treetable/treetable.cjs.js +1 -1
  540. package/treetable/treetable.cjs.min.js +1 -1
  541. package/treetable/treetable.esm.js +1 -1
  542. package/treetable/treetable.esm.min.js +1 -1
  543. package/treetable/treetable.js +1 -1
  544. package/treetable/treetable.min.js +1 -1
  545. package/tristatecheckbox/TriStateCheckbox.d.ts +11 -11
  546. package/usestyle/UseStyle.d.ts +2 -1
  547. package/usestyle/usestyle.cjs.js +20 -7
  548. package/usestyle/usestyle.cjs.min.js +1 -1
  549. package/usestyle/usestyle.esm.js +20 -7
  550. package/usestyle/usestyle.esm.min.js +1 -1
  551. package/usestyle/usestyle.js +20 -7
  552. package/usestyle/usestyle.min.js +1 -1
  553. package/utils/Utils.d.ts +4 -0
  554. package/utils/utils.cjs.js +48 -8
  555. package/utils/utils.cjs.min.js +1 -1
  556. package/utils/utils.esm.js +48 -8
  557. package/utils/utils.esm.min.js +1 -1
  558. package/utils/utils.js +48 -8
  559. package/utils/utils.min.js +1 -1
  560. package/vetur-attributes.json +129 -125
  561. package/vetur-tags.json +1 -0
  562. package/virtualscroller/BaseVirtualScroller.vue +1 -1
  563. package/virtualscroller/VirtualScroller.d.ts +7 -7
  564. package/virtualscroller/virtualscroller.cjs.js +2 -1
  565. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  566. package/virtualscroller/virtualscroller.esm.js +2 -1
  567. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  568. package/virtualscroller/virtualscroller.js +2 -1
  569. package/virtualscroller/virtualscroller.min.js +1 -1
  570. package/web-types.json +160 -127
  571. package/tailwind/package.json +0 -6
  572. package/tailwind/tailwind.cjs.min.js +0 -1
  573. package/tailwind/tailwind.esm.min.js +0 -1
  574. package/tailwind/tailwind.min.js +0 -1
@@ -7,11 +7,14 @@
7
7
  * @module galleria
8
8
  *
9
9
  */
10
- import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
10
+ import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue';
11
11
  import { ComponentHooks } from '../basecomponent';
12
12
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
13
+
13
14
  export declare type GalleriaPassThroughOptionType = GalleriaPassThroughAttributes | ((options: GalleriaPassThroughMethodOptions) => GalleriaPassThroughAttributes | string) | string | null | undefined;
14
15
 
16
+ export declare type GalleriaPassThroughTransitionType = TransitionProps | ((options: GalleriaPassThroughMethodOptions) => TransitionProps) | undefined;
17
+
15
18
  /**
16
19
  * Custom passthrough(pt) option method.
17
20
  */
@@ -19,6 +22,7 @@ export interface GalleriaPassThroughMethodOptions {
19
22
  instance: any;
20
23
  props: GalleriaProps;
21
24
  state: GalleriaState;
25
+ context: GalleriaContext;
22
26
  }
23
27
 
24
28
  export interface GalleriaResponsiveOptions {
@@ -38,122 +42,126 @@ export interface GalleriaResponsiveOptions {
38
42
  */
39
43
  export interface GalleriaPassThroughOptions {
40
44
  /**
41
- * Uses to pass attributes to the root's DOM element.
45
+ * Used to pass attributes to the root's DOM element.
42
46
  */
43
47
  root?: GalleriaPassThroughOptionType;
44
48
  /**
45
- * Uses to pass attributes to the close button's DOM element.
49
+ * Used to pass attributes to the close button's DOM element.
46
50
  */
47
51
  closeButton?: GalleriaPassThroughOptionType;
48
52
  /**
49
- * Uses to pass attributes to the close icon's DOM element.
53
+ * Used to pass attributes to the close icon's DOM element.
50
54
  */
51
55
  closeIcon?: GalleriaPassThroughOptionType;
52
56
  /**
53
- * Uses to pass attributes to the header's DOM element.
57
+ * Used to pass attributes to the header's DOM element.
54
58
  */
55
59
  header?: GalleriaPassThroughOptionType;
56
60
  /**
57
- * Uses to pass attributes to the content's DOM element.
61
+ * Used to pass attributes to the content's DOM element.
58
62
  */
59
63
  content?: GalleriaPassThroughOptionType;
60
64
  /**
61
- * Uses to pass attributes to the footer's DOM element.
65
+ * Used to pass attributes to the footer's DOM element.
62
66
  */
63
67
  footer?: GalleriaPassThroughOptionType;
64
68
  /**
65
- * Uses to pass attributes to the item wrapper's DOM element.
69
+ * Used to pass attributes to the item wrapper's DOM element.
66
70
  */
67
71
  itemWrapper?: GalleriaPassThroughOptionType;
68
72
  /**
69
- * Uses to pass attributes to the item container's DOM element.
73
+ * Used to pass attributes to the item container's DOM element.
70
74
  */
71
75
  itemContainer?: GalleriaPassThroughOptionType;
72
76
  /**
73
- * Uses to pass attributes to the previous item button's DOM element.
77
+ * Used to pass attributes to the previous item button's DOM element.
74
78
  */
75
79
  previousItemButton?: GalleriaPassThroughOptionType;
76
80
  /**
77
- * Uses to pass attributes to the previous item icon's DOM element.
81
+ * Used to pass attributes to the previous item icon's DOM element.
78
82
  */
79
83
  previousItemIcon?: GalleriaPassThroughOptionType;
80
84
  /**
81
- * Uses to pass attributes to the item's DOM element.
85
+ * Used to pass attributes to the item's DOM element.
82
86
  */
83
87
  item?: GalleriaPassThroughOptionType;
84
88
  /**
85
- * Uses to pass attributes to the next item button's DOM element.
89
+ * Used to pass attributes to the next item button's DOM element.
86
90
  */
87
91
  nextItemButton?: GalleriaPassThroughOptionType;
88
92
  /**
89
- * Uses to pass attributes to the next item icon's DOM element.
93
+ * Used to pass attributes to the next item icon's DOM element.
90
94
  */
91
95
  nextItemIcon?: GalleriaPassThroughOptionType;
92
96
  /**
93
- * Uses to pass attributes to the caption's DOM element.
97
+ * Used to pass attributes to the caption's DOM element.
94
98
  */
95
99
  caption?: GalleriaPassThroughOptionType;
96
100
  /**
97
- * Uses to pass attributes to the indicators's DOM element.
101
+ * Used to pass attributes to the indicators's DOM element.
98
102
  */
99
103
  indicators?: GalleriaPassThroughOptionType;
100
104
  /**
101
- * Uses to pass attributes to the indicator's DOM element.
105
+ * Used to pass attributes to the indicator's DOM element.
102
106
  */
103
107
  indicator?: GalleriaPassThroughOptionType;
104
108
  /**
105
- * Uses to pass attributes to the indicator button's DOM element.
109
+ * Used to pass attributes to the indicator button's DOM element.
106
110
  */
107
111
  indicatorButton?: GalleriaPassThroughOptionType;
108
112
  /**
109
- * Uses to pass attributes to the thumbnail wrapper's DOM element.
113
+ * Used to pass attributes to the thumbnail wrapper's DOM element.
110
114
  */
111
115
  thumbnailWrapper?: GalleriaPassThroughOptionType;
112
116
  /**
113
- * Uses to pass attributes to the thumbnail container's DOM element.
117
+ * Used to pass attributes to the thumbnail container's DOM element.
114
118
  */
115
119
  thumbnailContainer?: GalleriaPassThroughOptionType;
116
120
  /**
117
- * Uses to pass attributes to the previous thumbnail button's DOM element.
121
+ * Used to pass attributes to the previous thumbnail button's DOM element.
118
122
  */
119
123
  previousThumbnailButton?: GalleriaPassThroughOptionType;
120
124
  /**
121
- * Uses to pass attributes to the previous thumbnail icon's DOM element.
125
+ * Used to pass attributes to the previous thumbnail icon's DOM element.
122
126
  */
123
127
  previousThumbnailIcon?: GalleriaPassThroughOptionType;
124
128
  /**
125
- * Uses to pass attributes to the thumbnail items container's DOM element.
129
+ * Used to pass attributes to the thumbnail items container's DOM element.
126
130
  */
127
131
  thumbnailItemsContainer?: GalleriaPassThroughOptionType;
128
132
  /**
129
- * Uses to pass attributes to the thumbnail items' DOM element.
133
+ * Used to pass attributes to the thumbnail items' DOM element.
130
134
  */
131
135
  thumbnailItems?: GalleriaPassThroughOptionType;
132
136
  /**
133
- * Uses to pass attributes to the thumbnail item's DOM element.
137
+ * Used to pass attributes to the thumbnail item's DOM element.
134
138
  */
135
139
  thumbnailItem?: GalleriaPassThroughOptionType;
136
140
  /**
137
- * Uses to pass attributes to the thumbnail item content's DOM element.
141
+ * Used to pass attributes to the thumbnail item content's DOM element.
138
142
  */
139
143
  thumbnailItemContent?: GalleriaPassThroughOptionType;
140
144
  /**
141
- * Uses to pass attributes to the next thumbnail button's DOM element.
145
+ * Used to pass attributes to the next thumbnail button's DOM element.
142
146
  */
143
147
  nextThumbnailButton?: GalleriaPassThroughOptionType;
144
148
  /**
145
- * Uses to pass attributes to the next thumbnail icon's DOM element.
149
+ * Used to pass attributes to the next thumbnail icon's DOM element.
146
150
  */
147
151
  nextThumbnailIcon?: GalleriaPassThroughOptionType;
148
152
  /**
149
- * Uses to pass attributes to the mask's DOM element.
153
+ * Used to pass attributes to the mask's DOM element.
150
154
  */
151
155
  mask?: GalleriaPassThroughOptionType;
152
156
  /**
153
- * Uses to manage all lifecycle hooks
157
+ * Used to manage all lifecycle hooks
154
158
  * @see {@link BaseComponent.ComponentHooks}
155
159
  */
156
160
  hooks?: ComponentHooks;
161
+ /**
162
+ * Used to control Vue Transition API.
163
+ */
164
+ transition?: GalleriaPassThroughTransitionType;
157
165
  }
158
166
 
159
167
  /**
@@ -223,6 +231,17 @@ export interface GalleriaState {
223
231
  totalShiftedItems: number;
224
232
  }
225
233
 
234
+ /**
235
+ * Defines current inline options in Galleria component.
236
+ */
237
+ export interface GalleriaContext {
238
+ /**
239
+ * Current highlighted state of the indicator as a boolean.
240
+ * @defaultValue false
241
+ */
242
+ highlighted: boolean;
243
+ }
244
+
226
245
  /**
227
246
  * Defines valid properties in Galleria component.
228
247
  */
@@ -343,19 +362,19 @@ export interface GalleriaProps {
343
362
  */
344
363
  containerClass?: any | undefined;
345
364
  /**
346
- * Uses to pass all properties of the HTMLDivElement to the container element on fullscreen mode.
365
+ * Used to pass all properties of the HTMLDivElement to the container element on fullscreen mode.
347
366
  */
348
367
  containerProps?: HTMLAttributes | undefined;
349
368
  /**
350
- * Uses to pass all properties of the HTMLButtonElement to the previous navigation button.
369
+ * Used to pass all properties of the HTMLButtonElement to the previous navigation button.
351
370
  */
352
371
  prevButtonProps?: ButtonHTMLAttributes | undefined;
353
372
  /**
354
- * Uses to pass all properties of the HTMLButtonElement to the next navigation button.
373
+ * Used to pass all properties of the HTMLButtonElement to the next navigation button.
355
374
  */
356
375
  nextButtonProps?: ButtonHTMLAttributes | undefined;
357
376
  /**
358
- * Uses to pass attributes to DOM elements inside the component.
377
+ * Used to pass attributes to DOM elements inside the component.
359
378
  * @type {GalleriaPassThroughOptions}
360
379
  */
361
380
  pt?: GalleriaPassThroughOptions;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <Portal v-if="fullScreen">
3
3
  <div v-if="containerVisible" :ref="maskRef" :class="[cx('mask'), maskClass]" :role="fullScreen ? 'dialog' : 'region'" :aria-modal="fullScreen ? 'true' : undefined" v-bind="ptm('mask')">
4
- <transition name="p-galleria" @before-enter="onBeforeEnter" @enter="onEnter" @before-leave="onBeforeLeave" @after-leave="onAfterLeave" appear>
4
+ <transition name="p-galleria" @before-enter="onBeforeEnter" @enter="onEnter" @before-leave="onBeforeLeave" @after-leave="onAfterLeave" appear v-bind="ptm('transition')">
5
5
  <GalleriaContent v-if="visible" :ref="containerRef" v-focustrap @mask-hide="maskHide" :templates="$slots" @activeitem-change="onActiveItemChange" :pt="pt" :unstyled="unstyled" v-bind="$props" />
6
6
  </transition>
7
7
  </div>
@@ -26,10 +26,10 @@
26
26
  @click="onIndicatorClick(index)"
27
27
  @mouseenter="onIndicatorMouseEnter(index)"
28
28
  @keydown="onIndicatorKeyDown($event, index)"
29
- v-bind="ptm('indicator')"
29
+ v-bind="ptm('indicator', getIndicatorPTOptions(index))"
30
30
  :data-p-highlight="isIndicatorItemActive(index)"
31
31
  >
32
- <button v-if="!templates['indicator']" type="button" tabindex="-1" :class="cx('indicatorButton')" v-bind="ptm('indicatorButton')"></button>
32
+ <button v-if="!templates['indicator']" type="button" tabindex="-1" :class="cx('indicatorButton')" v-bind="ptm('indicatorButton', getIndicatorPTOptions(index))"></button>
33
33
  <component v-if="templates.indicator" :is="templates.indicator" :index="index" />
34
34
  </li>
35
35
  </ul>
@@ -95,6 +95,13 @@ export default {
95
95
  }
96
96
  },
97
97
  methods: {
98
+ getIndicatorPTOptions(index) {
99
+ return {
100
+ context: {
101
+ highlighted: this.activeIndex === index
102
+ }
103
+ };
104
+ },
98
105
  next() {
99
106
  let nextItemIndex = this.activeIndex + 1;
100
107
  let activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex;
@@ -424,6 +424,7 @@ export default {
424
424
  if (!this.thumbnailsStyle) {
425
425
  this.thumbnailsStyle = document.createElement('style');
426
426
  this.thumbnailsStyle.type = 'text/css';
427
+ DomHandler.setAttribute(this.thumbnailsStyle, 'nonce', this.$primevue?.config?.csp?.nonce);
427
428
  document.body.appendChild(this.thumbnailsStyle);
428
429
  }
429
430
 
@@ -289,6 +289,13 @@ var script$3 = {
289
289
  }
290
290
  },
291
291
  methods: {
292
+ getIndicatorPTOptions: function getIndicatorPTOptions(index) {
293
+ return {
294
+ context: {
295
+ highlighted: this.activeIndex === index
296
+ }
297
+ };
298
+ },
292
299
  next: function next() {
293
300
  var nextItemIndex = this.activeIndex + 1;
294
301
  var activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex;
@@ -442,14 +449,14 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
442
449
  onKeydown: function onKeydown($event) {
443
450
  return $options.onIndicatorKeyDown($event, index);
444
451
  }
445
- }, _ctx.ptm('indicator'), {
452
+ }, _ctx.ptm('indicator', $options.getIndicatorPTOptions(index)), {
446
453
  "data-p-highlight": $options.isIndicatorItemActive(index)
447
454
  }), [!$props.templates['indicator'] ? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
448
455
  key: 0,
449
456
  type: "button",
450
457
  tabindex: "-1",
451
458
  "class": _ctx.cx('indicatorButton')
452
- }, _ctx.ptm('indicatorButton')), null, 16)) : vue.createCommentVNode("", true), $props.templates.indicator ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.indicator), {
459
+ }, _ctx.ptm('indicatorButton', $options.getIndicatorPTOptions(index))), null, 16)) : vue.createCommentVNode("", true), $props.templates.indicator ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.indicator), {
453
460
  key: 1,
454
461
  index: index
455
462
  }, null, 8, ["index"])) : vue.createCommentVNode("", true)], 16, _hoisted_4$1);
@@ -776,8 +783,10 @@ var script$2 = {
776
783
  },
777
784
  createStyle: function createStyle() {
778
785
  if (!this.thumbnailsStyle) {
786
+ var _this$$primevue;
779
787
  this.thumbnailsStyle = document.createElement('style');
780
788
  this.thumbnailsStyle.type = 'text/css';
789
+ utils.DomHandler.setAttribute(this.thumbnailsStyle, 'nonce', (_this$$primevue = this.$primevue) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.config) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.csp) === null || _this$$primevue === void 0 ? void 0 : _this$$primevue.nonce);
781
790
  document.body.appendChild(this.thumbnailsStyle);
782
791
  }
783
792
  var innerHTML = "\n #".concat(this.containerId, " [data-pc-section=\"thumbnailitem\"] {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
@@ -1240,14 +1249,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1240
1249
  "class": [_ctx.cx('mask'), _ctx.maskClass],
1241
1250
  role: _ctx.fullScreen ? 'dialog' : 'region',
1242
1251
  "aria-modal": _ctx.fullScreen ? 'true' : undefined
1243
- }, _ctx.ptm('mask')), [vue.createVNode(vue.Transition, {
1252
+ }, _ctx.ptm('mask')), [vue.createVNode(vue.Transition, vue.mergeProps({
1244
1253
  name: "p-galleria",
1245
1254
  onBeforeEnter: $options.onBeforeEnter,
1246
1255
  onEnter: $options.onEnter,
1247
1256
  onBeforeLeave: $options.onBeforeLeave,
1248
1257
  onAfterLeave: $options.onAfterLeave,
1249
1258
  appear: ""
1250
- }, {
1259
+ }, _ctx.ptm('transition')), {
1251
1260
  "default": vue.withCtx(function () {
1252
1261
  return [_ctx.visible ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
1253
1262
  key: 0,
@@ -1260,7 +1269,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1260
1269
  }, _ctx.$props), null, 16, ["onMaskHide", "templates", "onActiveitemChange", "pt", "unstyled"])), [[_directive_focustrap]]) : vue.createCommentVNode("", true)];
1261
1270
  }),
1262
1271
  _: 1
1263
- }, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])], 16, _hoisted_1)) : vue.createCommentVNode("", true)];
1272
+ }, 16, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])], 16, _hoisted_1)) : vue.createCommentVNode("", true)];
1264
1273
  }),
1265
1274
  _: 1
1266
1275
  })) : (vue.openBlock(), vue.createBlock(_component_GalleriaContent, vue.mergeProps({
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/focustrap"),t=require("primevue/portal"),n=require("primevue/utils"),i=require("primevue/basecomponent"),a=require("primevue/usestyle"),r=require("primevue/icons/times"),o=require("primevue/ripple"),l=require("primevue/icons/chevronleft"),s=require("primevue/icons/chevronright"),c=require("vue"),u=require("primevue/icons/chevrondown"),d=require("primevue/icons/chevronup");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),h=m(t),v=m(i),f=m(r),b=m(o),g=m(l),y=m(s),I=m(u),x=m(d),w=a.useStyle("\n.p-galleria-content {\n display: flex;\n flex-direction: column;\n}\n\n.p-galleria-item-wrapper {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.p-galleria-item-container {\n position: relative;\n display: flex;\n height: 100%;\n}\n\n.p-galleria-item-nav {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.p-galleria-item-prev {\n left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-galleria-item-next {\n right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-galleria-item {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-nav {\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav {\n pointer-events: all;\n opacity: 1;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled {\n pointer-events: none;\n}\n\n.p-galleria-caption {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n/* Thumbnails */\n.p-galleria-thumbnail-wrapper {\n display: flex;\n flex-direction: column;\n overflow: auto;\n flex-shrink: 0;\n}\n\n.p-galleria-thumbnail-prev,\n.p-galleria-thumbnail-next {\n align-self: center;\n flex: 0 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-galleria-thumbnail-prev span,\n.p-galleria-thumbnail-next span {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-galleria-thumbnail-container {\n display: flex;\n flex-direction: row;\n}\n\n.p-galleria-thumbnail-items-container {\n overflow: hidden;\n width: 100%;\n}\n\n.p-galleria-thumbnail-items {\n display: flex;\n}\n\n.p-galleria-thumbnail-item {\n overflow: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n}\n\n.p-galleria-thumbnail-item:hover {\n opacity: 1;\n transition: opacity 0.3s;\n}\n\n.p-galleria-thumbnail-item-current {\n opacity: 1;\n}\n\n/* Positions */\n/* Thumbnails */\n.p-galleria-thumbnails-left .p-galleria-content,\n.p-galleria-thumbnails-right .p-galleria-content {\n flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-right .p-galleria-item-wrapper {\n flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-top .p-galleria-item-wrapper {\n order: 2;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,\n.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper {\n order: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-container,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-container {\n flex-direction: column;\n flex-grow: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-items,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-items {\n flex-direction: column;\n height: 100%;\n}\n\n/* Indicators */\n.p-galleria-indicators {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-galleria-indicator > button {\n display: inline-flex;\n align-items: center;\n}\n\n.p-galleria-indicators-left .p-galleria-item-wrapper,\n.p-galleria-indicators-right .p-galleria-item-wrapper {\n flex-direction: row;\n align-items: center;\n}\n\n.p-galleria-indicators-left .p-galleria-item-container,\n.p-galleria-indicators-top .p-galleria-item-container {\n order: 2;\n}\n\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-top .p-galleria-indicators {\n order: 1;\n}\n\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-right .p-galleria-indicators {\n flex-direction: column;\n}\n\n.p-galleria-indicator-onitem .p-galleria-indicators {\n position: absolute;\n display: flex;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators {\n top: 0;\n left: 0;\n width: 100%;\n align-items: flex-start;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators {\n right: 0;\n top: 0;\n height: 100%;\n align-items: flex-end;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators {\n bottom: 0;\n left: 0;\n width: 100%;\n align-items: flex-end;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators {\n left: 0;\n top: 0;\n height: 100%;\n align-items: flex-start;\n}\n\n/* FullScreen */\n.p-galleria-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-galleria-close {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.p-galleria-mask .p-galleria-item-nav {\n position: fixed;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n/* Animation */\n.p-galleria-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-galleria-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.p-galleria-enter-from,\n.p-galleria-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n\n.p-galleria-enter-active .p-galleria-item-nav {\n opacity: 0;\n}\n\n/* Keyboard Support */\n.p-items-hidden .p-galleria-thumbnail-item {\n visibility: hidden;\n}\n\n.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {\n visibility: visible;\n}\n",{name:"galleria",manual:!0}),S={name:"BaseGalleria",extends:v.default,props:{id:{type:String,default:null},value:{type:Array,default:null},activeIndex:{type:Number,default:0},fullScreen:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},numVisible:{type:Number,default:3},responsiveOptions:{type:Array,default:null},showItemNavigators:{type:Boolean,default:!1},showThumbnailNavigators:{type:Boolean,default:!0},showItemNavigatorsOnHover:{type:Boolean,default:!1},changeItemOnIndicatorHover:{type:Boolean,default:!1},circular:{type:Boolean,default:!1},autoPlay:{type:Boolean,default:!1},transitionInterval:{type:Number,default:4e3},showThumbnails:{type:Boolean,default:!0},thumbnailsPosition:{type:String,default:"bottom"},verticalThumbnailViewPortHeight:{type:String,default:"300px"},showIndicators:{type:Boolean,default:!1},showIndicatorsOnItem:{type:Boolean,default:!1},indicatorsPosition:{type:String,default:"bottom"},baseZIndex:{type:Number,default:0},maskClass:{type:String,default:null},containerStyle:{type:null,default:null},containerClass:{type:null,default:null},containerProps:{type:null,default:null},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},css:{classes:{mask:function(e){var t=e.instance;return["p-galleria-mask p-component-overlay p-component-overlay-enter",{"p-input-filled":"filled"===t.$primevue.config.inputStyle,"p-ripple-disabled":!1===t.$primevue.config.ripple}]},root:function(e){var t=e.instance,n=t.$attrs.showThumbnails&&t.getPositionClass("p-galleria-thumbnails",t.$attrs.thumbnailsPosition),i=t.$attrs.showIndicators&&t.getPositionClass("p-galleria-indicators",t.$attrs.indicatorsPosition);return["p-galleria p-component",{"p-galleria-fullscreen":t.$attrs.fullScreen,"p-galleria-indicator-onitem":t.$attrs.showIndicatorsOnItem,"p-galleria-item-nav-onhover":t.$attrs.showItemNavigatorsOnHover&&!t.$attrs.fullScreen},n,i]},closeButton:"p-galleria-close p-link",closeIcon:"p-galleria-close-icon",header:"p-galleria-header",content:"p-galleria-content",footer:"p-galleria-footer",itemWrapper:"p-galleria-item-wrapper",itemContainer:"p-galleria-item-container",previousItemButton:function(e){return["p-galleria-item-prev p-galleria-item-nav p-link",{"p-disabled":e.instance.isNavBackwardDisabled()}]},previousItemIcon:"p-galleria-item-prev-icon",item:"p-galleria-item",nextItemButton:function(e){return["p-galleria-item-next p-galleria-item-nav p-link",{"p-disabled":e.instance.isNavForwardDisabled()}]},nextItemIcon:"p-galleria-item-next-icon",caption:"p-galleria-caption",indicators:"p-galleria-indicators p-reset",indicator:function(e){return["p-galleria-indicator",{"p-highlight":e.instance.isIndicatorItemActive(e.index)}]},indicatorButton:"p-link",thumbnailWrapper:"p-galleria-thumbnail-wrapper",thumbnailContainer:"p-galleria-thumbnail-container",previousThumbnailButton:function(e){return["p-galleria-thumbnail-prev p-link",{"p-disabled":e.instance.isNavBackwardDisabled()}]},previousThumbnailIcon:"p-galleria-thumbnail-prev-icon",thumbnailItemsContainer:"p-galleria-thumbnail-items-container",thumbnailItems:"p-galleria-thumbnail-items",thumbnailItem:function(e){var t=e.instance,n=e.index;return["p-galleria-thumbnail-item",{"p-galleria-thumbnail-item-current":e.activeIndex===n,"p-galleria-thumbnail-item-active":t.isItemActive(n),"p-galleria-thumbnail-item-start":t.firstItemAciveIndex()===n,"p-galleria-thumbnail-item-end":t.lastItemActiveIndex()===n}]},thumbnailItemContent:"p-galleria-thumbnail-item-content",nextThumbnailButton:function(e){return["p-galleria-thumbnail-next p-link",{"p-disabled":e.instance.isNavForwardDisabled()}]},nextThumbnailIcon:"p-galleria-thumbnail-next-icon"},loadStyle:w.load},provide:function(){return{$parentInstance:this}}},k={name:"GalleriaItem",hostName:"Galleria",extends:v.default,emits:["start-slideshow","stop-slideshow","update:activeIndex"],props:{circular:{type:Boolean,default:!1},activeIndex:{type:Number,default:0},value:{type:Array,default:null},showItemNavigators:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},slideShowActive:{type:Boolean,default:!0},changeItemOnIndicatorHover:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!1},templates:{type:null,default:null},id:{type:String,default:null}},mounted:function(){this.autoPlay&&this.$emit("start-slideshow")},methods:{next:function(){this.$emit("update:activeIndex",this.circular&&this.value.length-1===this.activeIndex?0:this.activeIndex+1)},prev:function(){this.$emit("update:activeIndex",this.circular&&0===this.activeIndex?this.value.length-1:0!==this.activeIndex?this.activeIndex-1:0)},stopSlideShow:function(){this.slideShowActive&&this.stopSlideShow&&this.$emit("stop-slideshow")},navBackward:function(e){this.stopSlideShow(),this.prev(),e&&e.cancelable&&e.preventDefault()},navForward:function(e){this.stopSlideShow(),this.next(),e&&e.cancelable&&e.preventDefault()},onIndicatorClick:function(e){this.stopSlideShow(),this.$emit("update:activeIndex",e)},onIndicatorMouseEnter:function(e){this.changeItemOnIndicatorHover&&(this.stopSlideShow(),this.$emit("update:activeIndex",e))},onIndicatorKeyDown:function(e,t){switch(e.code){case"Enter":case"Space":this.stopSlideShow(),this.$emit("update:activeIndex",t),e.preventDefault();break;case"ArrowDown":case"ArrowUp":e.preventDefault()}},isIndicatorItemActive:function(e){return this.activeIndex===e},isNavBackwardDisabled:function(){return!this.circular&&0===this.activeIndex},isNavForwardDisabled:function(){return!this.circular&&this.activeIndex===this.value.length-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{activeItem:function(){return this.value[this.activeIndex]},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0}},components:{ChevronLeftIcon:g.default,ChevronRightIcon:y.default},directives:{ripple:b.default}},B=["disabled"],P=["id","aria-label","aria-roledescription"],C=["disabled"],$=["aria-label","aria-selected","aria-controls","onClick","onMouseenter","onKeydown","data-p-highlight"];function V(e){return A(e)||D(e)||N(e)||O()}function O(){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 N(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}function D(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function A(e){if(Array.isArray(e))return T(e)}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}k.render=function(e,t,n,i,a,r){var o=c.resolveDirective("ripple");return c.openBlock(),c.createElementBlock("div",c.mergeProps({class:e.cx("itemWrapper")},e.ptm("itemWrapper")),[c.createElementVNode("div",c.mergeProps({class:e.cx("itemContainer")},e.ptm("itemContainer")),[n.showItemNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,type:"button",class:e.cx("previousItemButton"),onClick:t[0]||(t[0]=function(e){return r.navBackward(e)}),disabled:r.isNavBackwardDisabled()},e.ptm("previousItemButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.previousitemicon||"ChevronLeftIcon"),c.mergeProps({class:e.cx("previousItemIcon")},e.ptm("previousItemIcon")),null,16,["class"]))],16,B)),[[o]]):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({id:n.id+"_item_"+n.activeIndex,class:e.cx("item"),role:"group","aria-label":r.ariaSlideNumber(n.activeIndex+1),"aria-roledescription":r.ariaSlideLabel},e.ptm("item")),[n.templates.item?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.item),{key:0,item:r.activeItem},null,8,["item"])):c.createCommentVNode("",!0)],16,P),n.showItemNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:1,type:"button",class:e.cx("nextItemButton"),onClick:t[1]||(t[1]=function(e){return r.navForward(e)}),disabled:r.isNavForwardDisabled()},e.ptm("nextItemButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.nextitemicon||"ChevronRightIcon"),c.mergeProps({class:e.cx("nextItemIcon")},e.ptm("nextItemIcon")),null,16,["class"]))],16,C)),[[o]]):c.createCommentVNode("",!0),n.templates.caption?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:2,class:e.cx("caption")},e.ptm("caption")),[n.templates.caption?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.caption),{key:0,item:r.activeItem},null,8,["item"])):c.createCommentVNode("",!0)],16)):c.createCommentVNode("",!0)],16),n.showIndicators?(c.openBlock(),c.createElementBlock("ul",c.mergeProps({key:0,class:e.cx("indicators")},e.ptm("indicators")),[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(function(t,i){return c.openBlock(),c.createElementBlock("li",c.mergeProps({key:"p-galleria-indicator-".concat(i),class:e.cx("indicator",{index:i}),tabindex:"0","aria-label":r.ariaPageLabel(i+1),"aria-selected":n.activeIndex===i,"aria-controls":n.id+"_item_"+i,onClick:function(e){return r.onIndicatorClick(i)},onMouseenter:function(e){return r.onIndicatorMouseEnter(i)},onKeydown:function(e){return r.onIndicatorKeyDown(e,i)}},e.ptm("indicator"),{"data-p-highlight":r.isIndicatorItemActive(i)}),[n.templates.indicator?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,type:"button",tabindex:"-1",class:e.cx("indicatorButton")},e.ptm("indicatorButton")),null,16)),n.templates.indicator?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.indicator),{key:1,index:i},null,8,["index"])):c.createCommentVNode("",!0)],16,$)})),128))],16)):c.createCommentVNode("",!0)],16)};var _={name:"GalleriaThumbnails",hostName:"Galleria",extends:v.default,emits:["stop-slideshow","update:activeIndex"],props:{containerId:{type:String,default:null},value:{type:Array,default:null},numVisible:{type:Number,default:3},activeIndex:{type:Number,default:0},isVertical:{type:Boolean,default:!1},slideShowActive:{type:Boolean,default:!1},circular:{type:Boolean,default:!1},responsiveOptions:{type:Array,default:null},contentHeight:{type:String,default:"300px"},showThumbnailNavigators:{type:Boolean,default:!0},templates:{type:null,default:null},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},startPos:null,thumbnailsStyle:null,sortedResponsiveOptions:null,data:function(){return{d_numVisible:this.numVisible,d_oldNumVisible:this.numVisible,d_activeIndex:this.activeIndex,d_oldActiveItemIndex:this.activeIndex,totalShiftedItems:0,page:0}},watch:{numVisible:function(e,t){this.d_numVisible=e,this.d_oldNumVisible=t},activeIndex:function(e,t){this.d_activeIndex=e,this.d_oldActiveItemIndex=t}},mounted:function(){this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners()},updated:function(){var e=this.totalShiftedItems;this.d_oldNumVisible===this.d_numVisible&&this.d_oldActiveItemIndex===this.d_activeIndex||((e=this.d_activeIndex<=this.getMedianItemIndex()?0:this.value.length-this.d_numVisible+this.getMedianItemIndex()<this.d_activeIndex?this.d_numVisible-this.value.length:this.value.length-this.d_numVisible<this.d_activeIndex&&this.d_numVisible%2==0?-1*this.d_activeIndex+this.getMedianItemIndex()+1:-1*this.d_activeIndex+this.getMedianItemIndex())!==this.totalShiftedItems&&(this.totalShiftedItems=e),this.$refs.itemsContainer.style.transform=this.isVertical?"translate3d(0, ".concat(e*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(e*(100/this.d_numVisible),"%, 0, 0)"),this.d_oldActiveItemIndex!==this.d_activeIndex&&(document.body.setAttribute("data-p-items-hidden","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.d_oldActiveItemIndex=this.d_activeIndex,this.d_oldNumVisible=this.d_numVisible)},beforeUnmount:function(){this.responsiveOptions&&this.unbindDocumentListeners(),this.thumbnailsStyle&&this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle)},methods:{step:function(e){var t=this.totalShiftedItems+e;e<0&&-1*t+this.d_numVisible>this.value.length-1?t=this.d_numVisible-this.value.length:e>0&&t>0&&(t=0),this.circular&&(e<0&&this.value.length-1===this.d_activeIndex?t=0:e>0&&0===this.d_activeIndex&&(t=this.d_numVisible-this.value.length)),this.$refs.itemsContainer&&(document.body.setAttribute("data-p-items-hidden","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transform=this.isVertical?"translate3d(0, ".concat(t*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(t*(100/this.d_numVisible),"%, 0, 0)"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=t},stopSlideShow:function(){this.slideShowActive&&this.stopSlideShow&&this.$emit("stop-slideshow")},getMedianItemIndex:function(){var e=Math.floor(this.d_numVisible/2);return this.d_numVisible%2?e:e-1},navBackward:function(e){this.stopSlideShow();var t=0!==this.d_activeIndex?this.d_activeIndex-1:0;this.d_numVisible-(t+this.totalShiftedItems)-1>this.getMedianItemIndex()&&(-1*this.totalShiftedItems!=0||this.circular)&&this.step(1),this.$emit("update:activeIndex",this.circular&&0===this.d_activeIndex?this.value.length-1:t),e.cancelable&&e.preventDefault()},navForward:function(e){this.stopSlideShow();var t=this.d_activeIndex===this.value.length-1?this.value.length-1:this.d_activeIndex+1;t+this.totalShiftedItems>this.getMedianItemIndex()&&(-1*this.totalShiftedItems<this.getTotalPageNumber()-1||this.circular)&&this.step(-1),this.$emit("update:activeIndex",this.circular&&this.value.length-1===this.d_activeIndex?0:t),e.cancelable&&e.preventDefault()},onItemClick:function(e){this.stopSlideShow();var t=e;if(t!==this.d_activeIndex){var n=t+this.totalShiftedItems,i=0;t<this.d_activeIndex?(i=this.d_numVisible-n-1-this.getMedianItemIndex())>0&&-1*this.totalShiftedItems!=0&&this.step(i):(i=this.getMedianItemIndex()-n)<0&&-1*this.totalShiftedItems<this.getTotalPageNumber()-1&&this.step(i),this.$emit("update:activeIndex",t)}},onThumbnailKeydown:function(e,t){switch("Enter"!==e.code&&"Space"!==e.code||(this.onItemClick(t),e.preventDefault()),e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Tab":this.onTabKey()}},onRightKey:function(){var e=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]'),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,t+1===e.length?e.length-1:t+1)},onLeftKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)},onHomeKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)},onEndKey:function(){var e=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]'),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,e.length-1)},onTabKey:function(){var e=V(n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]')),t=e.findIndex((function(e){return!0===n.DomHandler.getAttribute(e,"data-p-active")})),i=n.DomHandler.findSingle(this.$refs.itemsContainer,'[tabindex="0"]'),a=e.findIndex((function(e){return e===i.parentElement}));e[a].children[0].tabIndex="-1",e[t].children[0].tabIndex="0"},findFocusedIndicatorIndex:function(){var e=V(n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]')),t=n.DomHandler.findSingle(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"] > [tabindex="0"]');return e.findIndex((function(e){return e===t.parentElement}))},changedFocusedIndicator:function(e,t){var i=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]');i[e].children[0].tabIndex="-1",i[t].children[0].tabIndex="0",i[t].children[0].focus()},onTransitionEnd:function(){this.$refs.itemsContainer&&(document.body.setAttribute("data-p-items-hidden","true"),!this.isUnstyled&&n.DomHandler.addClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="")},onTouchStart:function(e){var t=e.changedTouches[0];this.startPos={x:t.pageX,y:t.pageY}},onTouchMove:function(e){e.cancelable&&e.preventDefault()},onTouchEnd:function(e){var t=e.changedTouches[0];this.changePageOnTouch(e,this.isVertical?t.pageY-this.startPos.y:t.pageX-this.startPos.x)},changePageOnTouch:function(e,t){t<0?this.navForward(e):this.navBackward(e)},getTotalPageNumber:function(){return this.value.length>this.d_numVisible?this.value.length-this.d_numVisible+1:0},createStyle:function(){this.thumbnailsStyle||(this.thumbnailsStyle=document.createElement("style"),this.thumbnailsStyle.type="text/css",document.body.appendChild(this.thumbnailsStyle));var e="\n #".concat(this.containerId,' [data-pc-section="thumbnailitem"] {\n flex: 1 0 ').concat(100/this.d_numVisible,"%\n }\n ");if(this.responsiveOptions&&!this.isUnstyled){this.sortedResponsiveOptions=V(this.responsiveOptions),this.sortedResponsiveOptions.sort((function(e,t){var n=e.breakpoint,i=t.breakpoint;return-1*(null==n&&null!=i?-1:null!=n&&null==i?1:null==n&&null==i?0:"string"==typeof n&&"string"==typeof i?n.localeCompare(i,void 0,{numeric:!0}):n<i?-1:n>i?1:0)}));for(var t=0;t<this.sortedResponsiveOptions.length;t++){var n=this.sortedResponsiveOptions[t];e+="\n @media screen and (max-width: ".concat(n.breakpoint,") {\n #").concat(this.containerId," .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100/n.numVisible,"%\n }\n }\n ")}}this.thumbnailsStyle.innerHTML=e},calculatePosition:function(){if(this.$refs.itemsContainer&&this.sortedResponsiveOptions){for(var e=window.innerWidth,t={numVisible:this.numVisible},n=0;n<this.sortedResponsiveOptions.length;n++){var i=this.sortedResponsiveOptions[n];parseInt(i.breakpoint,10)>=e&&(t=i)}this.d_numVisible!==t.numVisible&&(this.d_numVisible=t.numVisible)}},bindDocumentListeners:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(){e.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentListeners:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)},isNavBackwardDisabled:function(){return!this.circular&&0===this.d_activeIndex||this.value.length<=this.d_numVisible},isNavForwardDisabled:function(){return!this.circular&&this.d_activeIndex===this.value.length-1||this.value.length<=this.d_numVisible},firstItemAciveIndex:function(){return-1*this.totalShiftedItems},lastItemActiveIndex:function(){return this.firstItemAciveIndex()+this.d_numVisible-1},isItemActive:function(e){return this.firstItemAciveIndex()<=e&&this.lastItemActiveIndex()>=e},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0}},components:{ChevronLeftIcon:g.default,ChevronRightIcon:y.default,ChevronUpIcon:x.default,ChevronDownIcon:I.default},directives:{ripple:b.default}};function E(e){return E="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},E(e)}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return(t=R(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){var t=F(e,"string");return"symbol"===E(t)?t:String(t)}function F(e,t){if("object"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==E(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var U=["disabled","aria-label"],M=["data-p-active","aria-selected","aria-controls","onKeydown","data-p-galleria-thumbnail-item-current","data-p-galleria-thumbnail-item-active","data-p-galleria-thumbnail-item-start","data-p-galleria-thumbnail-item-end"],K=["tabindex","aria-label","aria-current","onClick"],q=["disabled","aria-label"];function G(e){return G="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},G(e)}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e,t,n){return(t=X(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){var t=Y(e,"string");return"symbol"===G(t)?t:String(t)}function Y(e,t){if("object"!==G(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==G(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}_.render=function(e,t,n,i,a,r){var o=c.resolveDirective("ripple");return c.openBlock(),c.createElementBlock("div",c.mergeProps({class:e.cx("thumbnailWrapper")},e.ptm("thumbnailWrapper")),[c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailContainer")},e.ptm("thumbnailContainer")),[n.showThumbnailNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,class:e.cx("previousThumbnailButton"),disabled:r.isNavBackwardDisabled(),type:"button","aria-label":r.ariaPrevButtonLabel,onClick:t[0]||(t[0]=function(e){return r.navBackward(e)})},L(L({},n.prevButtonProps),e.ptm("previousThumbnailButton"))),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.previousthumbnailicon||(n.isVertical?"ChevronUpIcon":"ChevronLeftIcon")),c.mergeProps({class:e.cx("previousThumbnailIcon")},e.ptm("previousThumbnailIcon")),null,16,["class"]))],16,U)),[[o]]):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailItemsContainer"),style:{height:n.isVertical?n.contentHeight:""}},e.ptm("thumbnailItemsContainer")),[c.createElementVNode("div",c.mergeProps({ref:"itemsContainer",class:e.cx("thumbnailItems"),role:"tablist",onTransitionend:t[1]||(t[1]=function(){return r.onTransitionEnd&&r.onTransitionEnd.apply(r,arguments)}),onTouchstart:t[2]||(t[2]=function(e){return r.onTouchStart(e)}),onTouchmove:t[3]||(t[3]=function(e){return r.onTouchMove(e)}),onTouchend:t[4]||(t[4]=function(e){return r.onTouchEnd(e)})},e.ptm("thumbnailItems")),[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(function(t,i){return c.openBlock(),c.createElementBlock("div",c.mergeProps({key:"p-galleria-thumbnail-item-".concat(i),class:e.cx("thumbnailItem",{index:i,activeIndex:n.activeIndex}),role:"tab","data-p-active":n.activeIndex===i,"aria-selected":n.activeIndex===i,"aria-controls":n.containerId+"_item_"+i,onKeydown:function(e){return r.onThumbnailKeydown(e,i)}},e.ptm("thumbnailItem"),{"data-p-galleria-thumbnail-item-current":n.activeIndex===i,"data-p-galleria-thumbnail-item-active":r.isItemActive(i),"data-p-galleria-thumbnail-item-start":r.firstItemAciveIndex()===i,"data-p-galleria-thumbnail-item-end":r.lastItemActiveIndex()===i}),[c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailItemContent"),tabindex:n.activeIndex===i?"0":"-1","aria-label":r.ariaPageLabel(i+1),"aria-current":n.activeIndex===i?"page":void 0,onClick:function(e){return r.onItemClick(i)}},e.ptm("thumbnailItemContent")),[n.templates.thumbnail?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.thumbnail),{key:0,item:t},null,8,["item"])):c.createCommentVNode("",!0)],16,K)],16,M)})),128))],16)],16),n.showThumbnailNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:1,class:e.cx("nextThumbnailButton"),disabled:r.isNavForwardDisabled(),type:"button","aria-label":r.ariaNextButtonLabel,onClick:t[5]||(t[5]=function(e){return r.navForward(e)})},L(L({},n.nextButtonProps),e.ptm("nextThumbnailButton"))),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.nextthumbnailicon||(n.isVertical?"ChevronDownIcon":"ChevronRightIcon")),c.mergeProps({class:e.cx("nextThumbnailIcon")},e.ptm("nextThumbnailIcon")),null,16,["class"]))],16,q)),[[o]]):c.createCommentVNode("",!0)],16)],16)};var J={name:"GalleriaContent",hostName:"Galleria",extends:v.default,inheritAttrs:!1,interval:null,emits:["activeitem-change","mask-hide"],data:function(){return{id:this.$attrs.id||n.UniqueComponentId(),activeIndex:this.$attrs.activeIndex,numVisible:this.$attrs.numVisible,slideShowActive:!1}},watch:{"$attrs.value":function(e){e&&e.length<this.numVisible&&(this.numVisible=e.length)},"$attrs.activeIndex":function(e){this.activeIndex=e},"$attrs.numVisible":function(e){this.numVisible=e},"$attrs.autoPlay":function(e){e?this.startSlideShow():this.stopSlideShow()}},updated:function(){this.$emit("activeitem-change",this.activeIndex)},beforeUnmount:function(){this.slideShowActive&&this.stopSlideShow()},methods:{getPTOptions:function(e){return this.ptm(e,{props:W(W({},this.$attrs),{},{pt:this.pt,unstyled:this.unstyled})})},isAutoPlayActive:function(){return this.slideShowActive},startSlideShow:function(){var e=this;this.interval=setInterval((function(){e.activeIndex=e.$attrs.circular&&e.$attrs.value.length-1===e.activeIndex?0:e.activeIndex+1}),this.$attrs.transitionInterval),this.slideShowActive=!0},stopSlideShow:function(){this.interval&&clearInterval(this.interval),this.slideShowActive=!1},getPositionClass:function(e,t){var n=["top","left","bottom","right"].find((function(e){return e===t}));return n?"".concat(e,"-").concat(n):""},isVertical:function(){return"left"===this.$attrs.thumbnailsPosition||"right"===this.$attrs.thumbnailsPosition}},computed:{closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{GalleriaItem:k,GalleriaThumbnails:_,TimesIcon:f.default},directives:{ripple:b.default}};function Q(e){return Q="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},Q(e)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t,n){return(t=ie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e){var t=ae(e,"string");return"symbol"===Q(t)?t:String(t)}function ae(e,t){if("object"!==Q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==Q(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var re=["id"],oe=["aria-label"],le=["aria-live"];J.render=function(e,t,n,i,a,r){var o=c.resolveComponent("GalleriaItem"),l=c.resolveComponent("GalleriaThumbnails"),s=c.resolveDirective("ripple");return e.$attrs.value&&e.$attrs.value.length>0?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0,id:a.id,class:[e.cx("root"),e.$attrs.containerClass],style:e.$attrs.containerStyle},te(te({},e.$attrs.containerProps),r.getPTOptions("root")),{"data-pc-name":"galleria"}),[e.$attrs.fullScreen?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,autofocus:"",type:"button",class:e.cx("closeButton"),"aria-label":r.closeAriaLabel,onClick:t[0]||(t[0]=function(t){return e.$emit("mask-hide")})},r.getPTOptions("closeButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.closeicon||"TimesIcon"),c.mergeProps({class:e.cx("closeIcon")},r.getPTOptions("closeIcon")),null,16,["class"]))],16,oe)),[[s]]):c.createCommentVNode("",!0),e.$attrs.templates&&e.$attrs.templates.header?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:1,class:e.cx("header")},r.getPTOptions("header")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.header)))],16)):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({class:e.cx("content"),"aria-live":e.$attrs.autoPlay?"polite":"off"},r.getPTOptions("content")),[c.createVNode(o,{id:a.id,activeIndex:a.activeIndex,"onUpdate:activeIndex":t[1]||(t[1]=function(e){return a.activeIndex=e}),slideShowActive:a.slideShowActive,"onUpdate:slideShowActive":t[2]||(t[2]=function(e){return a.slideShowActive=e}),value:e.$attrs.value,circular:e.$attrs.circular,templates:e.$attrs.templates,showIndicators:e.$attrs.showIndicators,changeItemOnIndicatorHover:e.$attrs.changeItemOnIndicatorHover,showItemNavigators:e.$attrs.showItemNavigators,autoPlay:e.$attrs.autoPlay,onStartSlideshow:r.startSlideShow,onStopSlideshow:r.stopSlideShow,pt:e.pt,unstyled:e.unstyled},null,8,["id","activeIndex","slideShowActive","value","circular","templates","showIndicators","changeItemOnIndicatorHover","showItemNavigators","autoPlay","onStartSlideshow","onStopSlideshow","pt","unstyled"]),e.$attrs.showThumbnails?(c.openBlock(),c.createBlock(l,{key:0,activeIndex:a.activeIndex,"onUpdate:activeIndex":t[3]||(t[3]=function(e){return a.activeIndex=e}),slideShowActive:a.slideShowActive,"onUpdate:slideShowActive":t[4]||(t[4]=function(e){return a.slideShowActive=e}),containerId:a.id,value:e.$attrs.value,templates:e.$attrs.templates,numVisible:a.numVisible,responsiveOptions:e.$attrs.responsiveOptions,circular:e.$attrs.circular,isVertical:r.isVertical(),contentHeight:e.$attrs.verticalThumbnailViewPortHeight,showThumbnailNavigators:e.$attrs.showThumbnailNavigators,prevButtonProps:e.$attrs.prevButtonProps,nextButtonProps:e.$attrs.nextButtonProps,onStopSlideshow:r.stopSlideShow,pt:e.pt,unstyled:e.unstyled},null,8,["activeIndex","slideShowActive","containerId","value","templates","numVisible","responsiveOptions","circular","isVertical","contentHeight","showThumbnailNavigators","prevButtonProps","nextButtonProps","onStopSlideshow","pt","unstyled"])):c.createCommentVNode("",!0)],16,le),e.$attrs.templates&&e.$attrs.templates.footer?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:2,class:e.cx("footer")},r.getPTOptions("footer")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.footer)))],16)):c.createCommentVNode("",!0)],16,re)):c.createCommentVNode("",!0)};var se={name:"Galleria",extends:S,inheritAttrs:!1,emits:["update:activeIndex","update:visible"],container:null,mask:null,data:function(){return{containerVisible:this.visible}},updated:function(){this.fullScreen&&this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.fullScreen&&n.DomHandler.removeClass(document.body,"p-overflow-hidden"),this.mask=null,this.container&&(n.ZIndexUtils.clear(this.container),this.container=null)},methods:{onBeforeEnter:function(e){n.ZIndexUtils.set("modal",e,this.baseZIndex||this.$primevue.config.zIndex.modal)},onEnter:function(e){this.mask.style.zIndex=String(parseInt(e.style.zIndex,10)-1),n.DomHandler.addClass(document.body,"p-overflow-hidden"),this.focus()},onBeforeLeave:function(){!this.isUnstyled&&n.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onAfterLeave:function(e){n.ZIndexUtils.clear(e),this.containerVisible=!1,n.DomHandler.removeClass(document.body,"p-overflow-hidden")},onActiveItemChange:function(e){this.activeIndex!==e&&this.$emit("update:activeIndex",e)},maskHide:function(){this.$emit("update:visible",!1)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},focus:function(){var e=this.container.$el.querySelector("[autofocus]");e&&e.focus()}},components:{GalleriaContent:J,Portal:h.default},directives:{focustrap:p.default}},ce=["role","aria-modal"];se.render=function(e,t,n,i,a,r){var o=c.resolveComponent("GalleriaContent"),l=c.resolveComponent("Portal"),s=c.resolveDirective("focustrap");return e.fullScreen?(c.openBlock(),c.createBlock(l,{key:0},{default:c.withCtx((function(){return[a.containerVisible?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0,ref:r.maskRef,class:[e.cx("mask"),e.maskClass],role:e.fullScreen?"dialog":"region","aria-modal":e.fullScreen?"true":void 0},e.ptm("mask")),[c.createVNode(c.Transition,{name:"p-galleria",onBeforeEnter:r.onBeforeEnter,onEnter:r.onEnter,onBeforeLeave:r.onBeforeLeave,onAfterLeave:r.onAfterLeave,appear:""},{default:c.withCtx((function(){return[e.visible?c.withDirectives((c.openBlock(),c.createBlock(o,c.mergeProps({key:0,ref:r.containerRef,onMaskHide:r.maskHide,templates:e.$slots,onActiveitemChange:r.onActiveItemChange,pt:e.pt,unstyled:e.unstyled},e.$props),null,16,["onMaskHide","templates","onActiveitemChange","pt","unstyled"])),[[s]]):c.createCommentVNode("",!0)]})),_:1},8,["onBeforeEnter","onEnter","onBeforeLeave","onAfterLeave"])],16,ce)):c.createCommentVNode("",!0)]})),_:1})):(c.openBlock(),c.createBlock(o,c.mergeProps({key:1,templates:e.$slots,onActiveitemChange:r.onActiveItemChange,pt:e.pt,unstyled:e.unstyled},e.$props),null,16,["templates","onActiveitemChange","pt","unstyled"]))},module.exports=se;
1
+ "use strict";var e=require("primevue/focustrap"),t=require("primevue/portal"),n=require("primevue/utils"),i=require("primevue/basecomponent"),a=require("primevue/usestyle"),r=require("primevue/icons/times"),o=require("primevue/ripple"),l=require("primevue/icons/chevronleft"),s=require("primevue/icons/chevronright"),c=require("vue"),u=require("primevue/icons/chevrondown"),d=require("primevue/icons/chevronup");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=m(e),h=m(t),v=m(i),f=m(r),b=m(o),g=m(l),y=m(s),I=m(u),x=m(d),w=a.useStyle("\n.p-galleria-content {\n display: flex;\n flex-direction: column;\n}\n\n.p-galleria-item-wrapper {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n.p-galleria-item-container {\n position: relative;\n display: flex;\n height: 100%;\n}\n\n.p-galleria-item-nav {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.p-galleria-item-prev {\n left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-galleria-item-next {\n right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-galleria-item {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-nav {\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav {\n pointer-events: all;\n opacity: 1;\n}\n\n.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled {\n pointer-events: none;\n}\n\n.p-galleria-caption {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n}\n\n/* Thumbnails */\n.p-galleria-thumbnail-wrapper {\n display: flex;\n flex-direction: column;\n overflow: auto;\n flex-shrink: 0;\n}\n\n.p-galleria-thumbnail-prev,\n.p-galleria-thumbnail-next {\n align-self: center;\n flex: 0 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-galleria-thumbnail-prev span,\n.p-galleria-thumbnail-next span {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-galleria-thumbnail-container {\n display: flex;\n flex-direction: row;\n}\n\n.p-galleria-thumbnail-items-container {\n overflow: hidden;\n width: 100%;\n}\n\n.p-galleria-thumbnail-items {\n display: flex;\n}\n\n.p-galleria-thumbnail-item {\n overflow: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n opacity: 0.5;\n}\n\n.p-galleria-thumbnail-item:hover {\n opacity: 1;\n transition: opacity 0.3s;\n}\n\n.p-galleria-thumbnail-item-current {\n opacity: 1;\n}\n\n/* Positions */\n/* Thumbnails */\n.p-galleria-thumbnails-left .p-galleria-content,\n.p-galleria-thumbnails-right .p-galleria-content {\n flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-right .p-galleria-item-wrapper {\n flex-direction: row;\n}\n\n.p-galleria-thumbnails-left .p-galleria-item-wrapper,\n.p-galleria-thumbnails-top .p-galleria-item-wrapper {\n order: 2;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,\n.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper {\n order: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-container,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-container {\n flex-direction: column;\n flex-grow: 1;\n}\n\n.p-galleria-thumbnails-left .p-galleria-thumbnail-items,\n.p-galleria-thumbnails-right .p-galleria-thumbnail-items {\n flex-direction: column;\n height: 100%;\n}\n\n/* Indicators */\n.p-galleria-indicators {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-galleria-indicator > button {\n display: inline-flex;\n align-items: center;\n}\n\n.p-galleria-indicators-left .p-galleria-item-wrapper,\n.p-galleria-indicators-right .p-galleria-item-wrapper {\n flex-direction: row;\n align-items: center;\n}\n\n.p-galleria-indicators-left .p-galleria-item-container,\n.p-galleria-indicators-top .p-galleria-item-container {\n order: 2;\n}\n\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-top .p-galleria-indicators {\n order: 1;\n}\n\n.p-galleria-indicators-left .p-galleria-indicators,\n.p-galleria-indicators-right .p-galleria-indicators {\n flex-direction: column;\n}\n\n.p-galleria-indicator-onitem .p-galleria-indicators {\n position: absolute;\n display: flex;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators {\n top: 0;\n left: 0;\n width: 100%;\n align-items: flex-start;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators {\n right: 0;\n top: 0;\n height: 100%;\n align-items: flex-end;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators {\n bottom: 0;\n left: 0;\n width: 100%;\n align-items: flex-end;\n}\n\n.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators {\n left: 0;\n top: 0;\n height: 100%;\n align-items: flex-start;\n}\n\n/* FullScreen */\n.p-galleria-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-galleria-close {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n}\n\n.p-galleria-mask .p-galleria-item-nav {\n position: fixed;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n/* Animation */\n.p-galleria-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-galleria-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.p-galleria-enter-from,\n.p-galleria-leave-to {\n opacity: 0;\n transform: scale(0.7);\n}\n\n.p-galleria-enter-active .p-galleria-item-nav {\n opacity: 0;\n}\n\n/* Keyboard Support */\n.p-items-hidden .p-galleria-thumbnail-item {\n visibility: hidden;\n}\n\n.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active {\n visibility: visible;\n}\n",{name:"galleria",manual:!0}),S={name:"BaseGalleria",extends:v.default,props:{id:{type:String,default:null},value:{type:Array,default:null},activeIndex:{type:Number,default:0},fullScreen:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},numVisible:{type:Number,default:3},responsiveOptions:{type:Array,default:null},showItemNavigators:{type:Boolean,default:!1},showThumbnailNavigators:{type:Boolean,default:!0},showItemNavigatorsOnHover:{type:Boolean,default:!1},changeItemOnIndicatorHover:{type:Boolean,default:!1},circular:{type:Boolean,default:!1},autoPlay:{type:Boolean,default:!1},transitionInterval:{type:Number,default:4e3},showThumbnails:{type:Boolean,default:!0},thumbnailsPosition:{type:String,default:"bottom"},verticalThumbnailViewPortHeight:{type:String,default:"300px"},showIndicators:{type:Boolean,default:!1},showIndicatorsOnItem:{type:Boolean,default:!1},indicatorsPosition:{type:String,default:"bottom"},baseZIndex:{type:Number,default:0},maskClass:{type:String,default:null},containerStyle:{type:null,default:null},containerClass:{type:null,default:null},containerProps:{type:null,default:null},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},css:{classes:{mask:function(e){var t=e.instance;return["p-galleria-mask p-component-overlay p-component-overlay-enter",{"p-input-filled":"filled"===t.$primevue.config.inputStyle,"p-ripple-disabled":!1===t.$primevue.config.ripple}]},root:function(e){var t=e.instance,n=t.$attrs.showThumbnails&&t.getPositionClass("p-galleria-thumbnails",t.$attrs.thumbnailsPosition),i=t.$attrs.showIndicators&&t.getPositionClass("p-galleria-indicators",t.$attrs.indicatorsPosition);return["p-galleria p-component",{"p-galleria-fullscreen":t.$attrs.fullScreen,"p-galleria-indicator-onitem":t.$attrs.showIndicatorsOnItem,"p-galleria-item-nav-onhover":t.$attrs.showItemNavigatorsOnHover&&!t.$attrs.fullScreen},n,i]},closeButton:"p-galleria-close p-link",closeIcon:"p-galleria-close-icon",header:"p-galleria-header",content:"p-galleria-content",footer:"p-galleria-footer",itemWrapper:"p-galleria-item-wrapper",itemContainer:"p-galleria-item-container",previousItemButton:function(e){return["p-galleria-item-prev p-galleria-item-nav p-link",{"p-disabled":e.instance.isNavBackwardDisabled()}]},previousItemIcon:"p-galleria-item-prev-icon",item:"p-galleria-item",nextItemButton:function(e){return["p-galleria-item-next p-galleria-item-nav p-link",{"p-disabled":e.instance.isNavForwardDisabled()}]},nextItemIcon:"p-galleria-item-next-icon",caption:"p-galleria-caption",indicators:"p-galleria-indicators p-reset",indicator:function(e){return["p-galleria-indicator",{"p-highlight":e.instance.isIndicatorItemActive(e.index)}]},indicatorButton:"p-link",thumbnailWrapper:"p-galleria-thumbnail-wrapper",thumbnailContainer:"p-galleria-thumbnail-container",previousThumbnailButton:function(e){return["p-galleria-thumbnail-prev p-link",{"p-disabled":e.instance.isNavBackwardDisabled()}]},previousThumbnailIcon:"p-galleria-thumbnail-prev-icon",thumbnailItemsContainer:"p-galleria-thumbnail-items-container",thumbnailItems:"p-galleria-thumbnail-items",thumbnailItem:function(e){var t=e.instance,n=e.index;return["p-galleria-thumbnail-item",{"p-galleria-thumbnail-item-current":e.activeIndex===n,"p-galleria-thumbnail-item-active":t.isItemActive(n),"p-galleria-thumbnail-item-start":t.firstItemAciveIndex()===n,"p-galleria-thumbnail-item-end":t.lastItemActiveIndex()===n}]},thumbnailItemContent:"p-galleria-thumbnail-item-content",nextThumbnailButton:function(e){return["p-galleria-thumbnail-next p-link",{"p-disabled":e.instance.isNavForwardDisabled()}]},nextThumbnailIcon:"p-galleria-thumbnail-next-icon"},loadStyle:w.load},provide:function(){return{$parentInstance:this}}},k={name:"GalleriaItem",hostName:"Galleria",extends:v.default,emits:["start-slideshow","stop-slideshow","update:activeIndex"],props:{circular:{type:Boolean,default:!1},activeIndex:{type:Number,default:0},value:{type:Array,default:null},showItemNavigators:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},slideShowActive:{type:Boolean,default:!0},changeItemOnIndicatorHover:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!1},templates:{type:null,default:null},id:{type:String,default:null}},mounted:function(){this.autoPlay&&this.$emit("start-slideshow")},methods:{getIndicatorPTOptions:function(e){return{context:{highlighted:this.activeIndex===e}}},next:function(){this.$emit("update:activeIndex",this.circular&&this.value.length-1===this.activeIndex?0:this.activeIndex+1)},prev:function(){this.$emit("update:activeIndex",this.circular&&0===this.activeIndex?this.value.length-1:0!==this.activeIndex?this.activeIndex-1:0)},stopSlideShow:function(){this.slideShowActive&&this.stopSlideShow&&this.$emit("stop-slideshow")},navBackward:function(e){this.stopSlideShow(),this.prev(),e&&e.cancelable&&e.preventDefault()},navForward:function(e){this.stopSlideShow(),this.next(),e&&e.cancelable&&e.preventDefault()},onIndicatorClick:function(e){this.stopSlideShow(),this.$emit("update:activeIndex",e)},onIndicatorMouseEnter:function(e){this.changeItemOnIndicatorHover&&(this.stopSlideShow(),this.$emit("update:activeIndex",e))},onIndicatorKeyDown:function(e,t){switch(e.code){case"Enter":case"Space":this.stopSlideShow(),this.$emit("update:activeIndex",t),e.preventDefault();break;case"ArrowDown":case"ArrowUp":e.preventDefault()}},isIndicatorItemActive:function(e){return this.activeIndex===e},isNavBackwardDisabled:function(){return!this.circular&&0===this.activeIndex},isNavForwardDisabled:function(){return!this.circular&&this.activeIndex===this.value.length-1},ariaSlideNumber:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slideNumber.replace(/{slideNumber}/g,e):void 0},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{activeItem:function(){return this.value[this.activeIndex]},ariaSlideLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.slide:void 0}},components:{ChevronLeftIcon:g.default,ChevronRightIcon:y.default},directives:{ripple:b.default}},B=["disabled"],P=["id","aria-label","aria-roledescription"],C=["disabled"],$=["aria-label","aria-selected","aria-controls","onClick","onMouseenter","onKeydown","data-p-highlight"];function O(e){return A(e)||N(e)||D(e)||V()}function V(){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 D(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}function N(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function A(e){if(Array.isArray(e))return T(e)}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}k.render=function(e,t,n,i,a,r){var o=c.resolveDirective("ripple");return c.openBlock(),c.createElementBlock("div",c.mergeProps({class:e.cx("itemWrapper")},e.ptm("itemWrapper")),[c.createElementVNode("div",c.mergeProps({class:e.cx("itemContainer")},e.ptm("itemContainer")),[n.showItemNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,type:"button",class:e.cx("previousItemButton"),onClick:t[0]||(t[0]=function(e){return r.navBackward(e)}),disabled:r.isNavBackwardDisabled()},e.ptm("previousItemButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.previousitemicon||"ChevronLeftIcon"),c.mergeProps({class:e.cx("previousItemIcon")},e.ptm("previousItemIcon")),null,16,["class"]))],16,B)),[[o]]):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({id:n.id+"_item_"+n.activeIndex,class:e.cx("item"),role:"group","aria-label":r.ariaSlideNumber(n.activeIndex+1),"aria-roledescription":r.ariaSlideLabel},e.ptm("item")),[n.templates.item?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.item),{key:0,item:r.activeItem},null,8,["item"])):c.createCommentVNode("",!0)],16,P),n.showItemNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:1,type:"button",class:e.cx("nextItemButton"),onClick:t[1]||(t[1]=function(e){return r.navForward(e)}),disabled:r.isNavForwardDisabled()},e.ptm("nextItemButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.nextitemicon||"ChevronRightIcon"),c.mergeProps({class:e.cx("nextItemIcon")},e.ptm("nextItemIcon")),null,16,["class"]))],16,C)),[[o]]):c.createCommentVNode("",!0),n.templates.caption?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:2,class:e.cx("caption")},e.ptm("caption")),[n.templates.caption?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.caption),{key:0,item:r.activeItem},null,8,["item"])):c.createCommentVNode("",!0)],16)):c.createCommentVNode("",!0)],16),n.showIndicators?(c.openBlock(),c.createElementBlock("ul",c.mergeProps({key:0,class:e.cx("indicators")},e.ptm("indicators")),[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(function(t,i){return c.openBlock(),c.createElementBlock("li",c.mergeProps({key:"p-galleria-indicator-".concat(i),class:e.cx("indicator",{index:i}),tabindex:"0","aria-label":r.ariaPageLabel(i+1),"aria-selected":n.activeIndex===i,"aria-controls":n.id+"_item_"+i,onClick:function(e){return r.onIndicatorClick(i)},onMouseenter:function(e){return r.onIndicatorMouseEnter(i)},onKeydown:function(e){return r.onIndicatorKeyDown(e,i)}},e.ptm("indicator",r.getIndicatorPTOptions(i)),{"data-p-highlight":r.isIndicatorItemActive(i)}),[n.templates.indicator?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,type:"button",tabindex:"-1",class:e.cx("indicatorButton")},e.ptm("indicatorButton",r.getIndicatorPTOptions(i))),null,16)),n.templates.indicator?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.indicator),{key:1,index:i},null,8,["index"])):c.createCommentVNode("",!0)],16,$)})),128))],16)):c.createCommentVNode("",!0)],16)};var _={name:"GalleriaThumbnails",hostName:"Galleria",extends:v.default,emits:["stop-slideshow","update:activeIndex"],props:{containerId:{type:String,default:null},value:{type:Array,default:null},numVisible:{type:Number,default:3},activeIndex:{type:Number,default:0},isVertical:{type:Boolean,default:!1},slideShowActive:{type:Boolean,default:!1},circular:{type:Boolean,default:!1},responsiveOptions:{type:Array,default:null},contentHeight:{type:String,default:"300px"},showThumbnailNavigators:{type:Boolean,default:!0},templates:{type:null,default:null},prevButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null}},startPos:null,thumbnailsStyle:null,sortedResponsiveOptions:null,data:function(){return{d_numVisible:this.numVisible,d_oldNumVisible:this.numVisible,d_activeIndex:this.activeIndex,d_oldActiveItemIndex:this.activeIndex,totalShiftedItems:0,page:0}},watch:{numVisible:function(e,t){this.d_numVisible=e,this.d_oldNumVisible=t},activeIndex:function(e,t){this.d_activeIndex=e,this.d_oldActiveItemIndex=t}},mounted:function(){this.createStyle(),this.calculatePosition(),this.responsiveOptions&&this.bindDocumentListeners()},updated:function(){var e=this.totalShiftedItems;this.d_oldNumVisible===this.d_numVisible&&this.d_oldActiveItemIndex===this.d_activeIndex||((e=this.d_activeIndex<=this.getMedianItemIndex()?0:this.value.length-this.d_numVisible+this.getMedianItemIndex()<this.d_activeIndex?this.d_numVisible-this.value.length:this.value.length-this.d_numVisible<this.d_activeIndex&&this.d_numVisible%2==0?-1*this.d_activeIndex+this.getMedianItemIndex()+1:-1*this.d_activeIndex+this.getMedianItemIndex())!==this.totalShiftedItems&&(this.totalShiftedItems=e),this.$refs.itemsContainer.style.transform=this.isVertical?"translate3d(0, ".concat(e*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(e*(100/this.d_numVisible),"%, 0, 0)"),this.d_oldActiveItemIndex!==this.d_activeIndex&&(document.body.setAttribute("data-p-items-hidden","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.d_oldActiveItemIndex=this.d_activeIndex,this.d_oldNumVisible=this.d_numVisible)},beforeUnmount:function(){this.responsiveOptions&&this.unbindDocumentListeners(),this.thumbnailsStyle&&this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle)},methods:{step:function(e){var t=this.totalShiftedItems+e;e<0&&-1*t+this.d_numVisible>this.value.length-1?t=this.d_numVisible-this.value.length:e>0&&t>0&&(t=0),this.circular&&(e<0&&this.value.length-1===this.d_activeIndex?t=0:e>0&&0===this.d_activeIndex&&(t=this.d_numVisible-this.value.length)),this.$refs.itemsContainer&&(document.body.setAttribute("data-p-items-hidden","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transform=this.isVertical?"translate3d(0, ".concat(t*(100/this.d_numVisible),"%, 0)"):"translate3d(".concat(t*(100/this.d_numVisible),"%, 0, 0)"),this.$refs.itemsContainer.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=t},stopSlideShow:function(){this.slideShowActive&&this.stopSlideShow&&this.$emit("stop-slideshow")},getMedianItemIndex:function(){var e=Math.floor(this.d_numVisible/2);return this.d_numVisible%2?e:e-1},navBackward:function(e){this.stopSlideShow();var t=0!==this.d_activeIndex?this.d_activeIndex-1:0;this.d_numVisible-(t+this.totalShiftedItems)-1>this.getMedianItemIndex()&&(-1*this.totalShiftedItems!=0||this.circular)&&this.step(1),this.$emit("update:activeIndex",this.circular&&0===this.d_activeIndex?this.value.length-1:t),e.cancelable&&e.preventDefault()},navForward:function(e){this.stopSlideShow();var t=this.d_activeIndex===this.value.length-1?this.value.length-1:this.d_activeIndex+1;t+this.totalShiftedItems>this.getMedianItemIndex()&&(-1*this.totalShiftedItems<this.getTotalPageNumber()-1||this.circular)&&this.step(-1),this.$emit("update:activeIndex",this.circular&&this.value.length-1===this.d_activeIndex?0:t),e.cancelable&&e.preventDefault()},onItemClick:function(e){this.stopSlideShow();var t=e;if(t!==this.d_activeIndex){var n=t+this.totalShiftedItems,i=0;t<this.d_activeIndex?(i=this.d_numVisible-n-1-this.getMedianItemIndex())>0&&-1*this.totalShiftedItems!=0&&this.step(i):(i=this.getMedianItemIndex()-n)<0&&-1*this.totalShiftedItems<this.getTotalPageNumber()-1&&this.step(i),this.$emit("update:activeIndex",t)}},onThumbnailKeydown:function(e,t){switch("Enter"!==e.code&&"Space"!==e.code||(this.onItemClick(t),e.preventDefault()),e.code){case"ArrowRight":this.onRightKey();break;case"ArrowLeft":this.onLeftKey();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Tab":this.onTabKey()}},onRightKey:function(){var e=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]'),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,t+1===e.length?e.length-1:t+1)},onLeftKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,e-1<=0?0:e-1)},onHomeKey:function(){var e=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(e,0)},onEndKey:function(){var e=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]'),t=this.findFocusedIndicatorIndex();this.changedFocusedIndicator(t,e.length-1)},onTabKey:function(){var e=O(n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]')),t=e.findIndex((function(e){return!0===n.DomHandler.getAttribute(e,"data-p-active")})),i=n.DomHandler.findSingle(this.$refs.itemsContainer,'[tabindex="0"]'),a=e.findIndex((function(e){return e===i.parentElement}));e[a].children[0].tabIndex="-1",e[t].children[0].tabIndex="0"},findFocusedIndicatorIndex:function(){var e=O(n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]')),t=n.DomHandler.findSingle(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"] > [tabindex="0"]');return e.findIndex((function(e){return e===t.parentElement}))},changedFocusedIndicator:function(e,t){var i=n.DomHandler.find(this.$refs.itemsContainer,'[data-pc-section="thumbnailitem"]');i[e].children[0].tabIndex="-1",i[t].children[0].tabIndex="0",i[t].children[0].focus()},onTransitionEnd:function(){this.$refs.itemsContainer&&(document.body.setAttribute("data-p-items-hidden","true"),!this.isUnstyled&&n.DomHandler.addClass(this.$refs.itemsContainer,"p-items-hidden"),this.$refs.itemsContainer.style.transition="")},onTouchStart:function(e){var t=e.changedTouches[0];this.startPos={x:t.pageX,y:t.pageY}},onTouchMove:function(e){e.cancelable&&e.preventDefault()},onTouchEnd:function(e){var t=e.changedTouches[0];this.changePageOnTouch(e,this.isVertical?t.pageY-this.startPos.y:t.pageX-this.startPos.x)},changePageOnTouch:function(e,t){t<0?this.navForward(e):this.navBackward(e)},getTotalPageNumber:function(){return this.value.length>this.d_numVisible?this.value.length-this.d_numVisible+1:0},createStyle:function(){var e;this.thumbnailsStyle||(this.thumbnailsStyle=document.createElement("style"),this.thumbnailsStyle.type="text/css",n.DomHandler.setAttribute(this.thumbnailsStyle,"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.body.appendChild(this.thumbnailsStyle));var t="\n #".concat(this.containerId,' [data-pc-section="thumbnailitem"] {\n flex: 1 0 ').concat(100/this.d_numVisible,"%\n }\n ");if(this.responsiveOptions&&!this.isUnstyled){this.sortedResponsiveOptions=O(this.responsiveOptions),this.sortedResponsiveOptions.sort((function(e,t){var n=e.breakpoint,i=t.breakpoint;return-1*(null==n&&null!=i?-1:null!=n&&null==i?1:null==n&&null==i?0:"string"==typeof n&&"string"==typeof i?n.localeCompare(i,void 0,{numeric:!0}):n<i?-1:n>i?1:0)}));for(var i=0;i<this.sortedResponsiveOptions.length;i++){var a=this.sortedResponsiveOptions[i];t+="\n @media screen and (max-width: ".concat(a.breakpoint,") {\n #").concat(this.containerId," .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100/a.numVisible,"%\n }\n }\n ")}}this.thumbnailsStyle.innerHTML=t},calculatePosition:function(){if(this.$refs.itemsContainer&&this.sortedResponsiveOptions){for(var e=window.innerWidth,t={numVisible:this.numVisible},n=0;n<this.sortedResponsiveOptions.length;n++){var i=this.sortedResponsiveOptions[n];parseInt(i.breakpoint,10)>=e&&(t=i)}this.d_numVisible!==t.numVisible&&(this.d_numVisible=t.numVisible)}},bindDocumentListeners:function(){var e=this;this.documentResizeListener||(this.documentResizeListener=function(){e.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))},unbindDocumentListeners:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)},isNavBackwardDisabled:function(){return!this.circular&&0===this.d_activeIndex||this.value.length<=this.d_numVisible},isNavForwardDisabled:function(){return!this.circular&&this.d_activeIndex===this.value.length-1||this.value.length<=this.d_numVisible},firstItemAciveIndex:function(){return-1*this.totalShiftedItems},lastItemActiveIndex:function(){return this.firstItemAciveIndex()+this.d_numVisible-1},isItemActive:function(e){return this.firstItemAciveIndex()<=e&&this.lastItemActiveIndex()>=e},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},computed:{ariaPrevButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.prevPageLabel:void 0},ariaNextButtonLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.nextPageLabel:void 0}},components:{ChevronLeftIcon:g.default,ChevronRightIcon:y.default,ChevronUpIcon:x.default,ChevronDownIcon:I.default},directives:{ripple:b.default}};function E(e){return E="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},E(e)}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return(t=R(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){var t=F(e,"string");return"symbol"===E(t)?t:String(t)}function F(e,t){if("object"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==E(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var U=["disabled","aria-label"],M=["data-p-active","aria-selected","aria-controls","onKeydown","data-p-galleria-thumbnail-item-current","data-p-galleria-thumbnail-item-active","data-p-galleria-thumbnail-item-start","data-p-galleria-thumbnail-item-end"],K=["tabindex","aria-label","aria-current","onClick"],q=["disabled","aria-label"];function G(e){return G="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},G(e)}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e,t,n){return(t=X(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){var t=Y(e,"string");return"symbol"===G(t)?t:String(t)}function Y(e,t){if("object"!==G(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==G(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}_.render=function(e,t,n,i,a,r){var o=c.resolveDirective("ripple");return c.openBlock(),c.createElementBlock("div",c.mergeProps({class:e.cx("thumbnailWrapper")},e.ptm("thumbnailWrapper")),[c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailContainer")},e.ptm("thumbnailContainer")),[n.showThumbnailNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,class:e.cx("previousThumbnailButton"),disabled:r.isNavBackwardDisabled(),type:"button","aria-label":r.ariaPrevButtonLabel,onClick:t[0]||(t[0]=function(e){return r.navBackward(e)})},L(L({},n.prevButtonProps),e.ptm("previousThumbnailButton"))),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.previousthumbnailicon||(n.isVertical?"ChevronUpIcon":"ChevronLeftIcon")),c.mergeProps({class:e.cx("previousThumbnailIcon")},e.ptm("previousThumbnailIcon")),null,16,["class"]))],16,U)),[[o]]):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailItemsContainer"),style:{height:n.isVertical?n.contentHeight:""}},e.ptm("thumbnailItemsContainer")),[c.createElementVNode("div",c.mergeProps({ref:"itemsContainer",class:e.cx("thumbnailItems"),role:"tablist",onTransitionend:t[1]||(t[1]=function(){return r.onTransitionEnd&&r.onTransitionEnd.apply(r,arguments)}),onTouchstart:t[2]||(t[2]=function(e){return r.onTouchStart(e)}),onTouchmove:t[3]||(t[3]=function(e){return r.onTouchMove(e)}),onTouchend:t[4]||(t[4]=function(e){return r.onTouchEnd(e)})},e.ptm("thumbnailItems")),[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,(function(t,i){return c.openBlock(),c.createElementBlock("div",c.mergeProps({key:"p-galleria-thumbnail-item-".concat(i),class:e.cx("thumbnailItem",{index:i,activeIndex:n.activeIndex}),role:"tab","data-p-active":n.activeIndex===i,"aria-selected":n.activeIndex===i,"aria-controls":n.containerId+"_item_"+i,onKeydown:function(e){return r.onThumbnailKeydown(e,i)}},e.ptm("thumbnailItem"),{"data-p-galleria-thumbnail-item-current":n.activeIndex===i,"data-p-galleria-thumbnail-item-active":r.isItemActive(i),"data-p-galleria-thumbnail-item-start":r.firstItemAciveIndex()===i,"data-p-galleria-thumbnail-item-end":r.lastItemActiveIndex()===i}),[c.createElementVNode("div",c.mergeProps({class:e.cx("thumbnailItemContent"),tabindex:n.activeIndex===i?"0":"-1","aria-label":r.ariaPageLabel(i+1),"aria-current":n.activeIndex===i?"page":void 0,onClick:function(e){return r.onItemClick(i)}},e.ptm("thumbnailItemContent")),[n.templates.thumbnail?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.thumbnail),{key:0,item:t},null,8,["item"])):c.createCommentVNode("",!0)],16,K)],16,M)})),128))],16)],16),n.showThumbnailNavigators?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:1,class:e.cx("nextThumbnailButton"),disabled:r.isNavForwardDisabled(),type:"button","aria-label":r.ariaNextButtonLabel,onClick:t[5]||(t[5]=function(e){return r.navForward(e)})},L(L({},n.nextButtonProps),e.ptm("nextThumbnailButton"))),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(n.templates.nextthumbnailicon||(n.isVertical?"ChevronDownIcon":"ChevronRightIcon")),c.mergeProps({class:e.cx("nextThumbnailIcon")},e.ptm("nextThumbnailIcon")),null,16,["class"]))],16,q)),[[o]]):c.createCommentVNode("",!0)],16)],16)};var J={name:"GalleriaContent",hostName:"Galleria",extends:v.default,inheritAttrs:!1,interval:null,emits:["activeitem-change","mask-hide"],data:function(){return{id:this.$attrs.id||n.UniqueComponentId(),activeIndex:this.$attrs.activeIndex,numVisible:this.$attrs.numVisible,slideShowActive:!1}},watch:{"$attrs.value":function(e){e&&e.length<this.numVisible&&(this.numVisible=e.length)},"$attrs.activeIndex":function(e){this.activeIndex=e},"$attrs.numVisible":function(e){this.numVisible=e},"$attrs.autoPlay":function(e){e?this.startSlideShow():this.stopSlideShow()}},updated:function(){this.$emit("activeitem-change",this.activeIndex)},beforeUnmount:function(){this.slideShowActive&&this.stopSlideShow()},methods:{getPTOptions:function(e){return this.ptm(e,{props:W(W({},this.$attrs),{},{pt:this.pt,unstyled:this.unstyled})})},isAutoPlayActive:function(){return this.slideShowActive},startSlideShow:function(){var e=this;this.interval=setInterval((function(){e.activeIndex=e.$attrs.circular&&e.$attrs.value.length-1===e.activeIndex?0:e.activeIndex+1}),this.$attrs.transitionInterval),this.slideShowActive=!0},stopSlideShow:function(){this.interval&&clearInterval(this.interval),this.slideShowActive=!1},getPositionClass:function(e,t){var n=["top","left","bottom","right"].find((function(e){return e===t}));return n?"".concat(e,"-").concat(n):""},isVertical:function(){return"left"===this.$attrs.thumbnailsPosition||"right"===this.$attrs.thumbnailsPosition}},computed:{closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{GalleriaItem:k,GalleriaThumbnails:_,TimesIcon:f.default},directives:{ripple:b.default}};function Q(e){return Q="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},Q(e)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t,n){return(t=ie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e){var t=ae(e,"string");return"symbol"===Q(t)?t:String(t)}function ae(e,t){if("object"!==Q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==Q(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var re=["id"],oe=["aria-label"],le=["aria-live"];J.render=function(e,t,n,i,a,r){var o=c.resolveComponent("GalleriaItem"),l=c.resolveComponent("GalleriaThumbnails"),s=c.resolveDirective("ripple");return e.$attrs.value&&e.$attrs.value.length>0?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0,id:a.id,class:[e.cx("root"),e.$attrs.containerClass],style:e.$attrs.containerStyle},te(te({},e.$attrs.containerProps),r.getPTOptions("root")),{"data-pc-name":"galleria"}),[e.$attrs.fullScreen?c.withDirectives((c.openBlock(),c.createElementBlock("button",c.mergeProps({key:0,autofocus:"",type:"button",class:e.cx("closeButton"),"aria-label":r.closeAriaLabel,onClick:t[0]||(t[0]=function(t){return e.$emit("mask-hide")})},r.getPTOptions("closeButton")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.closeicon||"TimesIcon"),c.mergeProps({class:e.cx("closeIcon")},r.getPTOptions("closeIcon")),null,16,["class"]))],16,oe)),[[s]]):c.createCommentVNode("",!0),e.$attrs.templates&&e.$attrs.templates.header?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:1,class:e.cx("header")},r.getPTOptions("header")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.header)))],16)):c.createCommentVNode("",!0),c.createElementVNode("div",c.mergeProps({class:e.cx("content"),"aria-live":e.$attrs.autoPlay?"polite":"off"},r.getPTOptions("content")),[c.createVNode(o,{id:a.id,activeIndex:a.activeIndex,"onUpdate:activeIndex":t[1]||(t[1]=function(e){return a.activeIndex=e}),slideShowActive:a.slideShowActive,"onUpdate:slideShowActive":t[2]||(t[2]=function(e){return a.slideShowActive=e}),value:e.$attrs.value,circular:e.$attrs.circular,templates:e.$attrs.templates,showIndicators:e.$attrs.showIndicators,changeItemOnIndicatorHover:e.$attrs.changeItemOnIndicatorHover,showItemNavigators:e.$attrs.showItemNavigators,autoPlay:e.$attrs.autoPlay,onStartSlideshow:r.startSlideShow,onStopSlideshow:r.stopSlideShow,pt:e.pt,unstyled:e.unstyled},null,8,["id","activeIndex","slideShowActive","value","circular","templates","showIndicators","changeItemOnIndicatorHover","showItemNavigators","autoPlay","onStartSlideshow","onStopSlideshow","pt","unstyled"]),e.$attrs.showThumbnails?(c.openBlock(),c.createBlock(l,{key:0,activeIndex:a.activeIndex,"onUpdate:activeIndex":t[3]||(t[3]=function(e){return a.activeIndex=e}),slideShowActive:a.slideShowActive,"onUpdate:slideShowActive":t[4]||(t[4]=function(e){return a.slideShowActive=e}),containerId:a.id,value:e.$attrs.value,templates:e.$attrs.templates,numVisible:a.numVisible,responsiveOptions:e.$attrs.responsiveOptions,circular:e.$attrs.circular,isVertical:r.isVertical(),contentHeight:e.$attrs.verticalThumbnailViewPortHeight,showThumbnailNavigators:e.$attrs.showThumbnailNavigators,prevButtonProps:e.$attrs.prevButtonProps,nextButtonProps:e.$attrs.nextButtonProps,onStopSlideshow:r.stopSlideShow,pt:e.pt,unstyled:e.unstyled},null,8,["activeIndex","slideShowActive","containerId","value","templates","numVisible","responsiveOptions","circular","isVertical","contentHeight","showThumbnailNavigators","prevButtonProps","nextButtonProps","onStopSlideshow","pt","unstyled"])):c.createCommentVNode("",!0)],16,le),e.$attrs.templates&&e.$attrs.templates.footer?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:2,class:e.cx("footer")},r.getPTOptions("footer")),[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.$attrs.templates.footer)))],16)):c.createCommentVNode("",!0)],16,re)):c.createCommentVNode("",!0)};var se={name:"Galleria",extends:S,inheritAttrs:!1,emits:["update:activeIndex","update:visible"],container:null,mask:null,data:function(){return{containerVisible:this.visible}},updated:function(){this.fullScreen&&this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.fullScreen&&n.DomHandler.removeClass(document.body,"p-overflow-hidden"),this.mask=null,this.container&&(n.ZIndexUtils.clear(this.container),this.container=null)},methods:{onBeforeEnter:function(e){n.ZIndexUtils.set("modal",e,this.baseZIndex||this.$primevue.config.zIndex.modal)},onEnter:function(e){this.mask.style.zIndex=String(parseInt(e.style.zIndex,10)-1),n.DomHandler.addClass(document.body,"p-overflow-hidden"),this.focus()},onBeforeLeave:function(){!this.isUnstyled&&n.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onAfterLeave:function(e){n.ZIndexUtils.clear(e),this.containerVisible=!1,n.DomHandler.removeClass(document.body,"p-overflow-hidden")},onActiveItemChange:function(e){this.activeIndex!==e&&this.$emit("update:activeIndex",e)},maskHide:function(){this.$emit("update:visible",!1)},containerRef:function(e){this.container=e},maskRef:function(e){this.mask=e},focus:function(){var e=this.container.$el.querySelector("[autofocus]");e&&e.focus()}},components:{GalleriaContent:J,Portal:h.default},directives:{focustrap:p.default}},ce=["role","aria-modal"];se.render=function(e,t,n,i,a,r){var o=c.resolveComponent("GalleriaContent"),l=c.resolveComponent("Portal"),s=c.resolveDirective("focustrap");return e.fullScreen?(c.openBlock(),c.createBlock(l,{key:0},{default:c.withCtx((function(){return[a.containerVisible?(c.openBlock(),c.createElementBlock("div",c.mergeProps({key:0,ref:r.maskRef,class:[e.cx("mask"),e.maskClass],role:e.fullScreen?"dialog":"region","aria-modal":e.fullScreen?"true":void 0},e.ptm("mask")),[c.createVNode(c.Transition,c.mergeProps({name:"p-galleria",onBeforeEnter:r.onBeforeEnter,onEnter:r.onEnter,onBeforeLeave:r.onBeforeLeave,onAfterLeave:r.onAfterLeave,appear:""},e.ptm("transition")),{default:c.withCtx((function(){return[e.visible?c.withDirectives((c.openBlock(),c.createBlock(o,c.mergeProps({key:0,ref:r.containerRef,onMaskHide:r.maskHide,templates:e.$slots,onActiveitemChange:r.onActiveItemChange,pt:e.pt,unstyled:e.unstyled},e.$props),null,16,["onMaskHide","templates","onActiveitemChange","pt","unstyled"])),[[s]]):c.createCommentVNode("",!0)]})),_:1},16,["onBeforeEnter","onEnter","onBeforeLeave","onAfterLeave"])],16,ce)):c.createCommentVNode("",!0)]})),_:1})):(c.openBlock(),c.createBlock(o,c.mergeProps({key:1,templates:e.$slots,onActiveitemChange:r.onActiveItemChange,pt:e.pt,unstyled:e.unstyled},e.$props),null,16,["templates","onActiveitemChange","pt","unstyled"]))},module.exports=se;
@@ -275,6 +275,13 @@ var script$3 = {
275
275
  }
276
276
  },
277
277
  methods: {
278
+ getIndicatorPTOptions: function getIndicatorPTOptions(index) {
279
+ return {
280
+ context: {
281
+ highlighted: this.activeIndex === index
282
+ }
283
+ };
284
+ },
278
285
  next: function next() {
279
286
  var nextItemIndex = this.activeIndex + 1;
280
287
  var activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex;
@@ -428,14 +435,14 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
428
435
  onKeydown: function onKeydown($event) {
429
436
  return $options.onIndicatorKeyDown($event, index);
430
437
  }
431
- }, _ctx.ptm('indicator'), {
438
+ }, _ctx.ptm('indicator', $options.getIndicatorPTOptions(index)), {
432
439
  "data-p-highlight": $options.isIndicatorItemActive(index)
433
440
  }), [!$props.templates['indicator'] ? (openBlock(), createElementBlock("button", mergeProps({
434
441
  key: 0,
435
442
  type: "button",
436
443
  tabindex: "-1",
437
444
  "class": _ctx.cx('indicatorButton')
438
- }, _ctx.ptm('indicatorButton')), null, 16)) : createCommentVNode("", true), $props.templates.indicator ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.indicator), {
445
+ }, _ctx.ptm('indicatorButton', $options.getIndicatorPTOptions(index))), null, 16)) : createCommentVNode("", true), $props.templates.indicator ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.indicator), {
439
446
  key: 1,
440
447
  index: index
441
448
  }, null, 8, ["index"])) : createCommentVNode("", true)], 16, _hoisted_4$1);
@@ -762,8 +769,10 @@ var script$2 = {
762
769
  },
763
770
  createStyle: function createStyle() {
764
771
  if (!this.thumbnailsStyle) {
772
+ var _this$$primevue;
765
773
  this.thumbnailsStyle = document.createElement('style');
766
774
  this.thumbnailsStyle.type = 'text/css';
775
+ DomHandler.setAttribute(this.thumbnailsStyle, 'nonce', (_this$$primevue = this.$primevue) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.config) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.csp) === null || _this$$primevue === void 0 ? void 0 : _this$$primevue.nonce);
767
776
  document.body.appendChild(this.thumbnailsStyle);
768
777
  }
769
778
  var innerHTML = "\n #".concat(this.containerId, " [data-pc-section=\"thumbnailitem\"] {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
@@ -1226,14 +1235,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1226
1235
  "class": [_ctx.cx('mask'), _ctx.maskClass],
1227
1236
  role: _ctx.fullScreen ? 'dialog' : 'region',
1228
1237
  "aria-modal": _ctx.fullScreen ? 'true' : undefined
1229
- }, _ctx.ptm('mask')), [createVNode(Transition, {
1238
+ }, _ctx.ptm('mask')), [createVNode(Transition, mergeProps({
1230
1239
  name: "p-galleria",
1231
1240
  onBeforeEnter: $options.onBeforeEnter,
1232
1241
  onEnter: $options.onEnter,
1233
1242
  onBeforeLeave: $options.onBeforeLeave,
1234
1243
  onAfterLeave: $options.onAfterLeave,
1235
1244
  appear: ""
1236
- }, {
1245
+ }, _ctx.ptm('transition')), {
1237
1246
  "default": withCtx(function () {
1238
1247
  return [_ctx.visible ? withDirectives((openBlock(), createBlock(_component_GalleriaContent, mergeProps({
1239
1248
  key: 0,
@@ -1246,7 +1255,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1246
1255
  }, _ctx.$props), null, 16, ["onMaskHide", "templates", "onActiveitemChange", "pt", "unstyled"])), [[_directive_focustrap]]) : createCommentVNode("", true)];
1247
1256
  }),
1248
1257
  _: 1
1249
- }, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])], 16, _hoisted_1)) : createCommentVNode("", true)];
1258
+ }, 16, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onAfterLeave"])], 16, _hoisted_1)) : createCommentVNode("", true)];
1250
1259
  }),
1251
1260
  _: 1
1252
1261
  })) : (openBlock(), createBlock(_component_GalleriaContent, mergeProps({