primeng 19.0.6 → 19.0.7

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 (345) hide show
  1. package/dataview/dataview.interface.d.ts +9 -19
  2. package/dragdrop/dragdrop.d.ts +3 -2
  3. package/dynamicdialog/dynamicdialog.d.ts +1 -1
  4. package/fesm2022/primeng-accordion.mjs +347 -560
  5. package/fesm2022/primeng-accordion.mjs.map +1 -1
  6. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  7. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  8. package/fesm2022/primeng-api.mjs +79 -89
  9. package/fesm2022/primeng-api.mjs.map +1 -1
  10. package/fesm2022/primeng-autocomplete.mjs +505 -786
  11. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  12. package/fesm2022/primeng-autofocus.mjs +26 -27
  13. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  14. package/fesm2022/primeng-avatar.mjs +70 -120
  15. package/fesm2022/primeng-avatar.mjs.map +1 -1
  16. package/fesm2022/primeng-avatargroup.mjs +44 -54
  17. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  18. package/fesm2022/primeng-badge.mjs +62 -71
  19. package/fesm2022/primeng-badge.mjs.map +1 -1
  20. package/fesm2022/primeng-base.mjs +6 -6
  21. package/fesm2022/primeng-base.mjs.map +1 -1
  22. package/fesm2022/primeng-basecomponent.mjs +15 -15
  23. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  24. package/fesm2022/primeng-blockui.mjs +66 -87
  25. package/fesm2022/primeng-blockui.mjs.map +1 -1
  26. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +223 -328
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +36 -40
  31. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  32. package/fesm2022/primeng-calendar.mjs +727 -1127
  33. package/fesm2022/primeng-calendar.mjs.map +1 -1
  34. package/fesm2022/primeng-card.mjs +88 -192
  35. package/fesm2022/primeng-card.mjs.map +1 -1
  36. package/fesm2022/primeng-carousel.mjs +218 -405
  37. package/fesm2022/primeng-carousel.mjs.map +1 -1
  38. package/fesm2022/primeng-cascadeselect.mjs +392 -576
  39. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  40. package/fesm2022/primeng-chart.mjs +57 -63
  41. package/fesm2022/primeng-chart.mjs.map +1 -1
  42. package/fesm2022/primeng-checkbox.mjs +131 -183
  43. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  44. package/fesm2022/primeng-chip.mjs +92 -188
  45. package/fesm2022/primeng-chip.mjs.map +1 -1
  46. package/fesm2022/primeng-colorpicker.mjs +142 -167
  47. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  48. package/fesm2022/primeng-config.mjs +12 -12
  49. package/fesm2022/primeng-config.mjs.map +1 -1
  50. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  51. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  52. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  53. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  54. package/fesm2022/primeng-contextmenu.mjs +336 -450
  55. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  56. package/fesm2022/primeng-dataview.mjs +249 -352
  57. package/fesm2022/primeng-dataview.mjs.map +1 -1
  58. package/fesm2022/primeng-datepicker.mjs +740 -1136
  59. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  60. package/fesm2022/primeng-defer.mjs +25 -31
  61. package/fesm2022/primeng-defer.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +277 -478
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +68 -77
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +138 -167
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-dragdrop.mjs +85 -79
  69. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  70. package/fesm2022/primeng-drawer.mjs +171 -268
  71. package/fesm2022/primeng-drawer.mjs.map +1 -1
  72. package/fesm2022/primeng-dropdown.mjs +529 -867
  73. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  74. package/fesm2022/primeng-dynamicdialog.mjs +152 -301
  75. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  76. package/fesm2022/primeng-editor.mjs +118 -156
  77. package/fesm2022/primeng-editor.mjs.map +1 -1
  78. package/fesm2022/primeng-fieldset.mjs +153 -247
  79. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  80. package/fesm2022/primeng-fileupload.mjs +370 -687
  81. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  82. package/fesm2022/primeng-floatlabel.mjs +38 -46
  83. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  84. package/fesm2022/primeng-fluid.mjs +33 -41
  85. package/fesm2022/primeng-fluid.mjs.map +1 -1
  86. package/fesm2022/primeng-focustrap.mjs +23 -24
  87. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  88. package/fesm2022/primeng-galleria.mjs +529 -761
  89. package/fesm2022/primeng-galleria.mjs.map +1 -1
  90. package/fesm2022/primeng-iconfield.mjs +42 -51
  91. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  92. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  93. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  94. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  95. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  96. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  97. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  101. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  103. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  105. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  107. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  109. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  111. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  113. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  117. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  119. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-ban.mjs +24 -26
  121. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-bars.mjs +19 -19
  123. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  125. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-blank.mjs +14 -16
  127. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  129. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  131. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  133. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-check.mjs +17 -19
  135. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  137. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  139. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  141. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  145. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-eye.mjs +19 -19
  147. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  149. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-filter.mjs +24 -26
  151. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  153. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-home.mjs +26 -26
  155. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  157. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-minus.mjs +17 -19
  159. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  161. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-plus.mjs +24 -26
  163. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  165. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-search.mjs +26 -26
  167. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  169. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  171. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  173. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  175. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  177. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  179. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-star.mjs +24 -26
  181. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  183. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  185. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-times.mjs +17 -19
  187. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  189. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-trash.mjs +26 -26
  191. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-undo.mjs +26 -26
  193. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-upload.mjs +26 -26
  195. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  197. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  199. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  200. package/fesm2022/primeng-iftalabel.mjs +32 -38
  201. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  202. package/fesm2022/primeng-image.mjs +189 -370
  203. package/fesm2022/primeng-image.mjs.map +1 -1
  204. package/fesm2022/primeng-imagecompare.mjs +57 -86
  205. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  206. package/fesm2022/primeng-inplace.mjs +108 -206
  207. package/fesm2022/primeng-inplace.mjs.map +1 -1
  208. package/fesm2022/primeng-inputgroup.mjs +40 -50
  209. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  210. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  211. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  212. package/fesm2022/primeng-inputicon.mjs +39 -48
  213. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  214. package/fesm2022/primeng-inputmask.mjs +156 -181
  215. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  216. package/fesm2022/primeng-inputnumber.mjs +299 -416
  217. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  218. package/fesm2022/primeng-inputotp.mjs +97 -121
  219. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  220. package/fesm2022/primeng-inputswitch.mjs +87 -92
  221. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  222. package/fesm2022/primeng-inputtext.mjs +51 -57
  223. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  224. package/fesm2022/primeng-inputtextarea.mjs +50 -55
  225. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  226. package/fesm2022/primeng-keyfilter.mjs +44 -47
  227. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  228. package/fesm2022/primeng-knob.mjs +105 -111
  229. package/fesm2022/primeng-knob.mjs.map +1 -1
  230. package/fesm2022/primeng-listbox.mjs +473 -790
  231. package/fesm2022/primeng-listbox.mjs.map +1 -1
  232. package/fesm2022/primeng-megamenu.mjs +377 -611
  233. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  234. package/fesm2022/primeng-menu.mjs +289 -460
  235. package/fesm2022/primeng-menu.mjs.map +1 -1
  236. package/fesm2022/primeng-menubar.mjs +357 -549
  237. package/fesm2022/primeng-menubar.mjs.map +1 -1
  238. package/fesm2022/primeng-message.mjs +156 -244
  239. package/fesm2022/primeng-message.mjs.map +1 -1
  240. package/fesm2022/primeng-messages.mjs +162 -278
  241. package/fesm2022/primeng-messages.mjs.map +1 -1
  242. package/fesm2022/primeng-metergroup.mjs +135 -264
  243. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  244. package/fesm2022/primeng-multiselect.mjs +655 -1132
  245. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  246. package/fesm2022/primeng-orderlist.mjs +228 -330
  247. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  248. package/fesm2022/primeng-organizationchart.mjs +161 -311
  249. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  250. package/fesm2022/primeng-overlay.mjs +135 -147
  251. package/fesm2022/primeng-overlay.mjs.map +1 -1
  252. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  253. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  254. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  255. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  256. package/fesm2022/primeng-paginator.mjs +212 -447
  257. package/fesm2022/primeng-paginator.mjs.map +1 -1
  258. package/fesm2022/primeng-panel.mjs +219 -317
  259. package/fesm2022/primeng-panel.mjs.map +1 -1
  260. package/fesm2022/primeng-panelmenu.mjs +439 -783
  261. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  262. package/fesm2022/primeng-password.mjs +268 -408
  263. package/fesm2022/primeng-password.mjs.map +1 -1
  264. package/fesm2022/primeng-picklist.mjs +560 -856
  265. package/fesm2022/primeng-picklist.mjs.map +1 -1
  266. package/fesm2022/primeng-popover.mjs +129 -148
  267. package/fesm2022/primeng-popover.mjs.map +1 -1
  268. package/fesm2022/primeng-progressbar.mjs +81 -121
  269. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  270. package/fesm2022/primeng-progressspinner.mjs +48 -58
  271. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  272. package/fesm2022/primeng-radiobutton.mjs +115 -106
  273. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  274. package/fesm2022/primeng-rating.mjs +120 -208
  275. package/fesm2022/primeng-rating.mjs.map +1 -1
  276. package/fesm2022/primeng-ripple.mjs +28 -29
  277. package/fesm2022/primeng-ripple.mjs.map +1 -1
  278. package/fesm2022/primeng-scroller.mjs +167 -295
  279. package/fesm2022/primeng-scroller.mjs.map +1 -1
  280. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  281. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  282. package/fesm2022/primeng-scrolltop.mjs +106 -150
  283. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  284. package/fesm2022/primeng-select.mjs +579 -955
  285. package/fesm2022/primeng-select.mjs.map +1 -1
  286. package/fesm2022/primeng-selectbutton.mjs +106 -133
  287. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  288. package/fesm2022/primeng-sidebar.mjs +151 -239
  289. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  290. package/fesm2022/primeng-skeleton.mjs +46 -54
  291. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  292. package/fesm2022/primeng-slider.mjs +186 -182
  293. package/fesm2022/primeng-slider.mjs.map +1 -1
  294. package/fesm2022/primeng-speeddial.mjs +192 -254
  295. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  296. package/fesm2022/primeng-splitbutton.mjs +211 -231
  297. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  298. package/fesm2022/primeng-splitter.mjs +126 -159
  299. package/fesm2022/primeng-splitter.mjs.map +1 -1
  300. package/fesm2022/primeng-stepper.mjs +227 -342
  301. package/fesm2022/primeng-stepper.mjs.map +1 -1
  302. package/fesm2022/primeng-steps.mjs +117 -170
  303. package/fesm2022/primeng-steps.mjs.map +1 -1
  304. package/fesm2022/primeng-styleclass.mjs +50 -53
  305. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  306. package/fesm2022/primeng-table.mjs +1808 -2584
  307. package/fesm2022/primeng-table.mjs.map +1 -1
  308. package/fesm2022/primeng-tabmenu.mjs +173 -319
  309. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  310. package/fesm2022/primeng-tabs.mjs +185 -300
  311. package/fesm2022/primeng-tabs.mjs.map +1 -1
  312. package/fesm2022/primeng-tabview.mjs +263 -435
  313. package/fesm2022/primeng-tabview.mjs.map +1 -1
  314. package/fesm2022/primeng-tag.mjs +63 -110
  315. package/fesm2022/primeng-tag.mjs.map +1 -1
  316. package/fesm2022/primeng-terminal.mjs +60 -104
  317. package/fesm2022/primeng-terminal.mjs.map +1 -1
  318. package/fesm2022/primeng-textarea.mjs +56 -61
  319. package/fesm2022/primeng-textarea.mjs.map +1 -1
  320. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  321. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  322. package/fesm2022/primeng-timeline.mjs +90 -156
  323. package/fesm2022/primeng-timeline.mjs.map +1 -1
  324. package/fesm2022/primeng-toast.mjs +251 -358
  325. package/fesm2022/primeng-toast.mjs.map +1 -1
  326. package/fesm2022/primeng-togglebutton.mjs +113 -150
  327. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  328. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  329. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  330. package/fesm2022/primeng-toolbar.mjs +62 -121
  331. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  332. package/fesm2022/primeng-tooltip.mjs +73 -74
  333. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  334. package/fesm2022/primeng-tree.mjs +441 -730
  335. package/fesm2022/primeng-tree.mjs.map +1 -1
  336. package/fesm2022/primeng-treeselect.mjs +342 -531
  337. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  338. package/fesm2022/primeng-treetable.mjs +1026 -1583
  339. package/fesm2022/primeng-treetable.mjs.map +1 -1
  340. package/fesm2022/primeng-usestyle.mjs +6 -6
  341. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  342. package/listbox/listbox.d.ts +2 -2
  343. package/package.json +178 -179
  344. package/password/password.d.ts +7 -1
  345. package/picklist/picklist.d.ts +11 -1
@@ -2,7 +2,7 @@ import { trigger, transition, style, animate } from '@angular/animations';
2
2
  import * as i1 from '@angular/common';
3
3
  import { isPlatformBrowser, DOCUMENT, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, EventEmitter, inject, PLATFORM_ID, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, ViewChild, ContentChild, ContentChildren, HostListener, NgModule } from '@angular/core';
5
+ import { Injectable, EventEmitter, inject, PLATFORM_ID, numberAttribute, booleanAttribute, ContentChildren, ContentChild, ViewChild, Output, Input, Inject, ViewEncapsulation, ChangeDetectionStrategy, Component, HostListener, NgModule } from '@angular/core';
6
6
  import { addClass, focus, findSingle, blockBodyScroll, unblockBodyScroll, removeClass, uuid, setAttribute, find, getAttribute } from '@primeuix/utils';
7
7
  import { PrimeTemplate, SharedModule } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
@@ -522,12 +522,12 @@ class GalleriaStyle extends BaseStyle {
522
522
  name = 'galleria';
523
523
  theme = theme;
524
524
  classes = classes;
525
- static ɵfac = /*@__PURE__*/ (() => { let ɵGalleriaStyle_BaseFactory; return function GalleriaStyle_Factory(__ngFactoryType__) { return (ɵGalleriaStyle_BaseFactory || (ɵGalleriaStyle_BaseFactory = i0.ɵɵgetInheritedFactory(GalleriaStyle)))(__ngFactoryType__ || GalleriaStyle); }; })();
526
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GalleriaStyle, factory: GalleriaStyle.ɵfac });
525
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
526
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaStyle });
527
527
  }
528
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaStyle, [{
529
- type: Injectable
530
- }], null, null); })();
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaStyle, decorators: [{
529
+ type: Injectable
530
+ }] });
531
531
  /**
532
532
  *
533
533
  * Galleria is an advanced content gallery component.
@@ -653,346 +653,6 @@ var GalleriaClasses;
653
653
  GalleriaClasses["nextThumbnailIcon"] = "p-galleria-thumbnail-next-icon";
654
654
  })(GalleriaClasses || (GalleriaClasses = {}));
655
655
 
656
- const _c0 = ["header"];
657
- const _c1 = ["footer"];
658
- const _c2 = ["indicator"];
659
- const _c3 = ["caption"];
660
- const _c4 = ["closeicon"];
661
- const _c5 = ["previousthumbnailicon"];
662
- const _c6 = ["nextthumbnailicon"];
663
- const _c7 = ["itempreviousicon"];
664
- const _c8 = ["itemnexticon"];
665
- const _c9 = ["item"];
666
- const _c10 = ["thumbnail"];
667
- const _c11 = ["mask"];
668
- const _c12 = ["container"];
669
- const _c13 = () => ({ "p-galleria-mask p-overlay-mask p-overlay-mask-enter": true });
670
- const _c14 = (a0, a1) => ({ showTransitionParams: a0, hideTransitionParams: a1 });
671
- const _c15 = a0 => ({ value: "visible", params: a0 });
672
- function Galleria_div_0_div_2_p_galleriaContent_2_Template(rf, ctx) { if (rf & 1) {
673
- const _r1 = i0.ɵɵgetCurrentView();
674
- i0.ɵɵelementStart(0, "p-galleriaContent", 7);
675
- i0.ɵɵlistener("@animation.start", function Galleria_div_0_div_2_p_galleriaContent_2_Template_p_galleriaContent_animation_animation_start_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onAnimationStart($event)); })("@animation.done", function Galleria_div_0_div_2_p_galleriaContent_2_Template_p_galleriaContent_animation_animation_done_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onAnimationEnd($event)); })("maskHide", function Galleria_div_0_div_2_p_galleriaContent_2_Template_p_galleriaContent_maskHide_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onMaskHide()); })("activeItemChange", function Galleria_div_0_div_2_p_galleriaContent_2_Template_p_galleriaContent_activeItemChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onActiveItemChange($event)); });
676
- i0.ɵɵelementEnd();
677
- } if (rf & 2) {
678
- const ctx_r1 = i0.ɵɵnextContext(3);
679
- i0.ɵɵproperty("@animation", i0.ɵɵpureFunction1(9, _c15, i0.ɵɵpureFunction2(6, _c14, ctx_r1.showTransitionOptions, ctx_r1.hideTransitionOptions)))("value", ctx_r1.value)("activeIndex", ctx_r1.activeIndex)("numVisible", ctx_r1.numVisibleLimit || ctx_r1.numVisible)("ngStyle", ctx_r1.containerStyle)("fullScreen", ctx_r1.fullScreen);
680
- } }
681
- function Galleria_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
682
- i0.ɵɵelementStart(0, "div", 5, 2);
683
- i0.ɵɵtemplate(2, Galleria_div_0_div_2_p_galleriaContent_2_Template, 1, 11, "p-galleriaContent", 6);
684
- i0.ɵɵelementEnd();
685
- } if (rf & 2) {
686
- const ctx_r1 = i0.ɵɵnextContext(2);
687
- i0.ɵɵclassMap(ctx_r1.maskClass);
688
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction0(6, _c13));
689
- i0.ɵɵattribute("role", ctx_r1.fullScreen ? "dialog" : "region")("aria-modal", ctx_r1.fullScreen ? "true" : undefined);
690
- i0.ɵɵadvance(2);
691
- i0.ɵɵproperty("ngIf", ctx_r1.visible);
692
- } }
693
- function Galleria_div_0_Template(rf, ctx) { if (rf & 1) {
694
- i0.ɵɵelementStart(0, "div", null, 1);
695
- i0.ɵɵtemplate(2, Galleria_div_0_div_2_Template, 3, 7, "div", 4);
696
- i0.ɵɵelementEnd();
697
- } if (rf & 2) {
698
- const ctx_r1 = i0.ɵɵnextContext();
699
- i0.ɵɵadvance(2);
700
- i0.ɵɵproperty("ngIf", ctx_r1.maskVisible);
701
- } }
702
- function Galleria_ng_template_1_Template(rf, ctx) { if (rf & 1) {
703
- const _r3 = i0.ɵɵgetCurrentView();
704
- i0.ɵɵelementStart(0, "p-galleriaContent", 8);
705
- i0.ɵɵlistener("activeItemChange", function Galleria_ng_template_1_Template_p_galleriaContent_activeItemChange_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onActiveItemChange($event)); });
706
- i0.ɵɵelementEnd();
707
- } if (rf & 2) {
708
- const ctx_r1 = i0.ɵɵnextContext();
709
- i0.ɵɵproperty("value", ctx_r1.value)("activeIndex", ctx_r1.activeIndex)("numVisible", ctx_r1.numVisibleLimit || ctx_r1.numVisible);
710
- } }
711
- const _c16 = ["closeButton"];
712
- const _c17 = (a0, a1, a2) => ({ "p-galleria p-component": true, "p-galleria-fullscreen": a0, "p-galleria-inset-indicators": a1, "p-galleria-hover-navigators": a2 });
713
- const _c18 = () => ({});
714
- function GalleriaContent_div_0_button_1_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
715
- i0.ɵɵelement(0, "TimesIcon", 11);
716
- } if (rf & 2) {
717
- i0.ɵɵproperty("styleClass", "p-galleria-close-icon");
718
- } }
719
- function GalleriaContent_div_0_button_1_2_ng_template_0_Template(rf, ctx) { }
720
- function GalleriaContent_div_0_button_1_2_Template(rf, ctx) { if (rf & 1) {
721
- i0.ɵɵtemplate(0, GalleriaContent_div_0_button_1_2_ng_template_0_Template, 0, 0, "ng-template");
722
- } }
723
- function GalleriaContent_div_0_button_1_Template(rf, ctx) { if (rf & 1) {
724
- const _r2 = i0.ɵɵgetCurrentView();
725
- i0.ɵɵelementStart(0, "button", 8);
726
- i0.ɵɵlistener("click", function GalleriaContent_div_0_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.maskHide.emit()); });
727
- i0.ɵɵtemplate(1, GalleriaContent_div_0_button_1_TimesIcon_1_Template, 1, 1, "TimesIcon", 9)(2, GalleriaContent_div_0_button_1_2_Template, 1, 0, null, 10);
728
- i0.ɵɵelementEnd();
729
- } if (rf & 2) {
730
- const ctx_r2 = i0.ɵɵnextContext(2);
731
- i0.ɵɵattribute("aria-label", ctx_r2.closeAriaLabel())("data-pc-section", "closebutton");
732
- i0.ɵɵadvance();
733
- i0.ɵɵproperty("ngIf", !ctx_r2.galleria.closeIconTemplate && !ctx_r2.galleria._closeIconTemplate);
734
- i0.ɵɵadvance();
735
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.galleria.closeIconTemplate || ctx_r2.galleria._closeIconTemplate);
736
- } }
737
- function GalleriaContent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
738
- i0.ɵɵelementStart(0, "div", 12);
739
- i0.ɵɵelement(1, "p-galleriaItemSlot", 13);
740
- i0.ɵɵelementEnd();
741
- } if (rf & 2) {
742
- const ctx_r2 = i0.ɵɵnextContext(2);
743
- i0.ɵɵadvance();
744
- i0.ɵɵproperty("templates", ctx_r2.galleria.templates);
745
- } }
746
- function GalleriaContent_div_0_p_galleriaThumbnails_5_Template(rf, ctx) { if (rf & 1) {
747
- const _r4 = i0.ɵɵgetCurrentView();
748
- i0.ɵɵelementStart(0, "p-galleriaThumbnails", 14);
749
- i0.ɵɵlistener("onActiveIndexChange", function GalleriaContent_div_0_p_galleriaThumbnails_5_Template_p_galleriaThumbnails_onActiveIndexChange_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onActiveIndexChange($event)); })("stopSlideShow", function GalleriaContent_div_0_p_galleriaThumbnails_5_Template_p_galleriaThumbnails_stopSlideShow_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.stopSlideShow()); });
750
- i0.ɵɵelementEnd();
751
- } if (rf & 2) {
752
- const ctx_r2 = i0.ɵɵnextContext(2);
753
- i0.ɵɵproperty("containerId", ctx_r2.id)("value", ctx_r2.value)("activeIndex", ctx_r2.activeIndex)("templates", ctx_r2.galleria.templates)("numVisible", ctx_r2.numVisible)("responsiveOptions", ctx_r2.galleria.responsiveOptions)("circular", ctx_r2.galleria.circular)("isVertical", ctx_r2.isVertical())("contentHeight", ctx_r2.galleria.verticalThumbnailViewPortHeight)("showThumbnailNavigators", ctx_r2.galleria.showThumbnailNavigators)("slideShowActive", ctx_r2.slideShowActive);
754
- } }
755
- function GalleriaContent_div_0_div_6_Template(rf, ctx) { if (rf & 1) {
756
- i0.ɵɵelementStart(0, "div", 15);
757
- i0.ɵɵelement(1, "p-galleriaItemSlot", 16);
758
- i0.ɵɵelementEnd();
759
- } if (rf & 2) {
760
- const ctx_r2 = i0.ɵɵnextContext(2);
761
- i0.ɵɵadvance();
762
- i0.ɵɵproperty("templates", ctx_r2.galleria.templates);
763
- } }
764
- function GalleriaContent_div_0_Template(rf, ctx) { if (rf & 1) {
765
- const _r1 = i0.ɵɵgetCurrentView();
766
- i0.ɵɵelementStart(0, "div", 1);
767
- i0.ɵɵtemplate(1, GalleriaContent_div_0_button_1_Template, 3, 4, "button", 2)(2, GalleriaContent_div_0_div_2_Template, 2, 1, "div", 3);
768
- i0.ɵɵelementStart(3, "div", 4)(4, "p-galleriaItem", 5);
769
- i0.ɵɵlistener("onActiveIndexChange", function GalleriaContent_div_0_Template_p_galleriaItem_onActiveIndexChange_4_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onActiveIndexChange($event)); })("startSlideShow", function GalleriaContent_div_0_Template_p_galleriaItem_startSlideShow_4_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.startSlideShow()); })("stopSlideShow", function GalleriaContent_div_0_Template_p_galleriaItem_stopSlideShow_4_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.stopSlideShow()); });
770
- i0.ɵɵelementEnd();
771
- i0.ɵɵtemplate(5, GalleriaContent_div_0_p_galleriaThumbnails_5_Template, 1, 11, "p-galleriaThumbnails", 6);
772
- i0.ɵɵelementEnd();
773
- i0.ɵɵtemplate(6, GalleriaContent_div_0_div_6_Template, 2, 1, "div", 7);
774
- i0.ɵɵelementEnd();
775
- } if (rf & 2) {
776
- const ctx_r2 = i0.ɵɵnextContext();
777
- i0.ɵɵclassMap(ctx_r2.galleriaClass());
778
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(24, _c17, ctx_r2.galleria.fullScreen, ctx_r2.galleria.showIndicatorsOnItem, ctx_r2.galleria.showItemNavigatorsOnHover && !ctx_r2.galleria.fullScreen))("ngStyle", !ctx_r2.galleria.fullScreen ? ctx_r2.galleria.containerStyle : i0.ɵɵpureFunction0(28, _c18))("pFocusTrapDisabled", !ctx_r2.fullScreen);
779
- i0.ɵɵattribute("id", ctx_r2.id)("role", "region");
780
- i0.ɵɵadvance();
781
- i0.ɵɵproperty("ngIf", ctx_r2.galleria.fullScreen);
782
- i0.ɵɵadvance();
783
- i0.ɵɵproperty("ngIf", ctx_r2.galleria.templates && (ctx_r2.galleria.headerFacet || ctx_r2.galleria.headerTemplate));
784
- i0.ɵɵadvance();
785
- i0.ɵɵattribute("aria-live", ctx_r2.galleria.autoPlay ? "polite" : "off");
786
- i0.ɵɵadvance();
787
- i0.ɵɵproperty("id", ctx_r2.id)("value", ctx_r2.value)("activeIndex", ctx_r2.activeIndex)("circular", ctx_r2.galleria.circular)("templates", ctx_r2.galleria.templates)("showIndicators", ctx_r2.galleria.showIndicators)("changeItemOnIndicatorHover", ctx_r2.galleria.changeItemOnIndicatorHover)("indicatorFacet", ctx_r2.galleria.indicatorFacet)("captionFacet", ctx_r2.galleria.captionFacet)("showItemNavigators", ctx_r2.galleria.showItemNavigators)("autoPlay", ctx_r2.galleria.autoPlay)("slideShowActive", ctx_r2.slideShowActive);
788
- i0.ɵɵadvance();
789
- i0.ɵɵproperty("ngIf", ctx_r2.galleria.showThumbnails);
790
- i0.ɵɵadvance();
791
- i0.ɵɵproperty("ngIf", ctx_r2.shouldRenderFooter());
792
- } }
793
- function GalleriaItemSlot_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
794
- i0.ɵɵelementContainer(0);
795
- } }
796
- function GalleriaItemSlot_ng_container_0_Template(rf, ctx) { if (rf & 1) {
797
- i0.ɵɵelementContainerStart(0);
798
- i0.ɵɵtemplate(1, GalleriaItemSlot_ng_container_0_ng_container_1_Template, 1, 0, "ng-container", 1);
799
- i0.ɵɵelementContainerEnd();
800
- } if (rf & 2) {
801
- const ctx_r0 = i0.ɵɵnextContext();
802
- i0.ɵɵadvance();
803
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.contentTemplate)("ngTemplateOutletContext", ctx_r0.context);
804
- } }
805
- const _c19 = a0 => ({ "p-galleria-prev-button p-galleria-nav-button": true, "p-disabled": a0 });
806
- const _c20 = a0 => ({ "p-galleria-next-button p-galleria-nav-button": true, "p-disabled": a0 });
807
- const _c21 = a0 => ({ "p-galleria-indicator": true, "p-galleria-indicator-active": a0 });
808
- function GalleriaItem_button_1_ChevronLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
809
- i0.ɵɵelement(0, "ChevronLeftIcon", 9);
810
- } if (rf & 2) {
811
- i0.ɵɵproperty("styleClass", "p-galleria-prev-icon");
812
- } }
813
- function GalleriaItem_button_1_2_ng_template_0_Template(rf, ctx) { }
814
- function GalleriaItem_button_1_2_Template(rf, ctx) { if (rf & 1) {
815
- i0.ɵɵtemplate(0, GalleriaItem_button_1_2_ng_template_0_Template, 0, 0, "ng-template");
816
- } }
817
- function GalleriaItem_button_1_Template(rf, ctx) { if (rf & 1) {
818
- const _r1 = i0.ɵɵgetCurrentView();
819
- i0.ɵɵelementStart(0, "button", 6);
820
- i0.ɵɵlistener("click", function GalleriaItem_button_1_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navBackward($event)); })("focus", function GalleriaItem_button_1_Template_button_focus_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onButtonFocus("left")); })("blur", function GalleriaItem_button_1_Template_button_blur_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onButtonBlur("left")); });
821
- i0.ɵɵtemplate(1, GalleriaItem_button_1_ChevronLeftIcon_1_Template, 1, 1, "ChevronLeftIcon", 7)(2, GalleriaItem_button_1_2_Template, 1, 0, null, 8);
822
- i0.ɵɵelementEnd();
823
- } if (rf & 2) {
824
- const ctx_r1 = i0.ɵɵnextContext();
825
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c19, ctx_r1.isNavBackwardDisabled()))("disabled", ctx_r1.isNavBackwardDisabled());
826
- i0.ɵɵadvance();
827
- i0.ɵɵproperty("ngIf", !ctx_r1.galleria.itemPreviousIconTemplate && !ctx_r1.galleria._itemPreviousIconTemplate);
828
- i0.ɵɵadvance();
829
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.galleria.itemPreviousIconTemplate || ctx_r1.galleria._itemPreviousIconTemplate);
830
- } }
831
- function GalleriaItem_button_4_ChevronRightIcon_1_Template(rf, ctx) { if (rf & 1) {
832
- i0.ɵɵelement(0, "ChevronRightIcon", 9);
833
- } if (rf & 2) {
834
- i0.ɵɵproperty("styleClass", "p-galleria-next-icon");
835
- } }
836
- function GalleriaItem_button_4_2_ng_template_0_Template(rf, ctx) { }
837
- function GalleriaItem_button_4_2_Template(rf, ctx) { if (rf & 1) {
838
- i0.ɵɵtemplate(0, GalleriaItem_button_4_2_ng_template_0_Template, 0, 0, "ng-template");
839
- } }
840
- function GalleriaItem_button_4_Template(rf, ctx) { if (rf & 1) {
841
- const _r3 = i0.ɵɵgetCurrentView();
842
- i0.ɵɵelementStart(0, "button", 6);
843
- i0.ɵɵlistener("click", function GalleriaItem_button_4_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navForward($event)); })("focus", function GalleriaItem_button_4_Template_button_focus_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onButtonFocus("right")); })("blur", function GalleriaItem_button_4_Template_button_blur_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onButtonBlur("right")); });
844
- i0.ɵɵtemplate(1, GalleriaItem_button_4_ChevronRightIcon_1_Template, 1, 1, "ChevronRightIcon", 7)(2, GalleriaItem_button_4_2_Template, 1, 0, null, 8);
845
- i0.ɵɵelementEnd();
846
- } if (rf & 2) {
847
- const ctx_r1 = i0.ɵɵnextContext();
848
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c20, ctx_r1.isNavForwardDisabled()))("disabled", ctx_r1.isNavForwardDisabled());
849
- i0.ɵɵadvance();
850
- i0.ɵɵproperty("ngIf", !ctx_r1.galleria.itemNextIconTemplate && !ctx_r1.galleria._itemNextIconTemplate);
851
- i0.ɵɵadvance();
852
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.galleria.itemNextIconTemplate || ctx_r1.galleria._itemNextIconTemplate);
853
- } }
854
- function GalleriaItem_div_5_Template(rf, ctx) { if (rf & 1) {
855
- i0.ɵɵelementStart(0, "div", 10);
856
- i0.ɵɵelement(1, "p-galleriaItemSlot", 11);
857
- i0.ɵɵelementEnd();
858
- } if (rf & 2) {
859
- const ctx_r1 = i0.ɵɵnextContext();
860
- i0.ɵɵadvance();
861
- i0.ɵɵproperty("item", ctx_r1.activeItem)("templates", ctx_r1.templates);
862
- } }
863
- function GalleriaItem_ul_6_li_1_button_1_Template(rf, ctx) { if (rf & 1) {
864
- i0.ɵɵelement(0, "button", 17);
865
- } }
866
- function GalleriaItem_ul_6_li_1_Template(rf, ctx) { if (rf & 1) {
867
- const _r4 = i0.ɵɵgetCurrentView();
868
- i0.ɵɵelementStart(0, "li", 14);
869
- i0.ɵɵlistener("click", function GalleriaItem_ul_6_li_1_Template_li_click_0_listener() { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onIndicatorClick(index_r5)); })("mouseenter", function GalleriaItem_ul_6_li_1_Template_li_mouseenter_0_listener() { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onIndicatorMouseEnter(index_r5)); })("keydown", function GalleriaItem_ul_6_li_1_Template_li_keydown_0_listener($event) { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onIndicatorKeyDown($event, index_r5)); });
870
- i0.ɵɵtemplate(1, GalleriaItem_ul_6_li_1_button_1_Template, 1, 0, "button", 15);
871
- i0.ɵɵelement(2, "p-galleriaItemSlot", 16);
872
- i0.ɵɵelementEnd();
873
- } if (rf & 2) {
874
- const index_r5 = ctx.index;
875
- const ctx_r1 = i0.ɵɵnextContext(2);
876
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c21, ctx_r1.isIndicatorItemActive(index_r5)));
877
- i0.ɵɵattribute("aria-label", ctx_r1.ariaPageLabel(index_r5 + 1))("aria-selected", ctx_r1.activeIndex === index_r5)("aria-controls", ctx_r1.id + "_item_" + index_r5);
878
- i0.ɵɵadvance();
879
- i0.ɵɵproperty("ngIf", !ctx_r1.indicatorFacet && !ctx_r1.galleria.indicatorTemplate);
880
- i0.ɵɵadvance();
881
- i0.ɵɵproperty("index", index_r5)("templates", ctx_r1.templates);
882
- } }
883
- function GalleriaItem_ul_6_Template(rf, ctx) { if (rf & 1) {
884
- i0.ɵɵelementStart(0, "ul", 12);
885
- i0.ɵɵtemplate(1, GalleriaItem_ul_6_li_1_Template, 3, 9, "li", 13);
886
- i0.ɵɵelementEnd();
887
- } if (rf & 2) {
888
- const ctx_r1 = i0.ɵɵnextContext();
889
- i0.ɵɵadvance();
890
- i0.ɵɵproperty("ngForOf", ctx_r1.value);
891
- } }
892
- const _c22 = ["itemsContainer"];
893
- const _c23 = a0 => ({ height: a0 });
894
- const _c24 = a0 => ({ "p-galleria-thumbnail-prev-button p-galleria-thumbnail-nav-button": true, "p-disabled": a0 });
895
- const _c25 = (a0, a1, a2, a3) => ({ "p-galleria-thumbnail-item": true, "p-galleria-thumbnail-item-current": a0, "p-galleria-thumbnail-item-active": a1, "p-galleria-thumbnail-item-start": a2, "p-galleria-thumbnail-item-end": a3 });
896
- const _c26 = a0 => ({ "p-galleria-thumbnail-next-button p-galleria-thumbnail-nav-button": true, "p-disabled": a0 });
897
- function GalleriaThumbnails_button_2_ng_container_1_ChevronLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
898
- i0.ɵɵelement(0, "ChevronLeftIcon", 11);
899
- } if (rf & 2) {
900
- i0.ɵɵproperty("styleClass", "p-galleria-thumbnail-prev-icon");
901
- } }
902
- function GalleriaThumbnails_button_2_ng_container_1_ChevronUpIcon_2_Template(rf, ctx) { if (rf & 1) {
903
- i0.ɵɵelement(0, "ChevronUpIcon", 11);
904
- } if (rf & 2) {
905
- i0.ɵɵproperty("styleClass", "p-galleria-thumbnail-prev-icon");
906
- } }
907
- function GalleriaThumbnails_button_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
908
- i0.ɵɵelementContainerStart(0);
909
- i0.ɵɵtemplate(1, GalleriaThumbnails_button_2_ng_container_1_ChevronLeftIcon_1_Template, 1, 1, "ChevronLeftIcon", 10)(2, GalleriaThumbnails_button_2_ng_container_1_ChevronUpIcon_2_Template, 1, 1, "ChevronUpIcon", 10);
910
- i0.ɵɵelementContainerEnd();
911
- } if (rf & 2) {
912
- const ctx_r2 = i0.ɵɵnextContext(2);
913
- i0.ɵɵadvance();
914
- i0.ɵɵproperty("ngIf", !ctx_r2.isVertical);
915
- i0.ɵɵadvance();
916
- i0.ɵɵproperty("ngIf", ctx_r2.isVertical);
917
- } }
918
- function GalleriaThumbnails_button_2_2_ng_template_0_Template(rf, ctx) { }
919
- function GalleriaThumbnails_button_2_2_Template(rf, ctx) { if (rf & 1) {
920
- i0.ɵɵtemplate(0, GalleriaThumbnails_button_2_2_ng_template_0_Template, 0, 0, "ng-template");
921
- } }
922
- function GalleriaThumbnails_button_2_Template(rf, ctx) { if (rf & 1) {
923
- const _r2 = i0.ɵɵgetCurrentView();
924
- i0.ɵɵelementStart(0, "button", 7);
925
- i0.ɵɵlistener("click", function GalleriaThumbnails_button_2_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.navBackward($event)); });
926
- i0.ɵɵtemplate(1, GalleriaThumbnails_button_2_ng_container_1_Template, 3, 2, "ng-container", 8)(2, GalleriaThumbnails_button_2_2_Template, 1, 0, null, 9);
927
- i0.ɵɵelementEnd();
928
- } if (rf & 2) {
929
- const ctx_r2 = i0.ɵɵnextContext();
930
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c24, ctx_r2.isNavBackwardDisabled()))("disabled", ctx_r2.isNavBackwardDisabled());
931
- i0.ɵɵattribute("aria-label", ctx_r2.ariaPrevButtonLabel());
932
- i0.ɵɵadvance();
933
- i0.ɵɵproperty("ngIf", !ctx_r2.galleria.previousThumbnailIconTemplate && !ctx_r2.galleria._previousThumbnailIconTemplate);
934
- i0.ɵɵadvance();
935
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.galleria.previousThumbnailIconTemplate || ctx_r2.galleria._previousThumbnailIconTemplate);
936
- } }
937
- function GalleriaThumbnails_div_6_Template(rf, ctx) { if (rf & 1) {
938
- const _r4 = i0.ɵɵgetCurrentView();
939
- i0.ɵɵelementStart(0, "div", 12);
940
- i0.ɵɵlistener("keydown", function GalleriaThumbnails_div_6_Template_div_keydown_0_listener($event) { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onThumbnailKeydown($event, index_r5)); });
941
- i0.ɵɵelementStart(1, "div", 13);
942
- i0.ɵɵlistener("click", function GalleriaThumbnails_div_6_Template_div_click_1_listener() { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onItemClick(index_r5)); })("touchend", function GalleriaThumbnails_div_6_Template_div_touchend_1_listener() { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onItemClick(index_r5)); })("keydown.enter", function GalleriaThumbnails_div_6_Template_div_keydown_enter_1_listener() { const index_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onItemClick(index_r5)); });
943
- i0.ɵɵelement(2, "p-galleriaItemSlot", 14);
944
- i0.ɵɵelementEnd()();
945
- } if (rf & 2) {
946
- const item_r6 = ctx.$implicit;
947
- const index_r5 = ctx.index;
948
- const ctx_r2 = i0.ɵɵnextContext();
949
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(10, _c25, ctx_r2.activeIndex === index_r5, ctx_r2.isItemActive(index_r5), ctx_r2.firstItemAciveIndex() === index_r5, ctx_r2.lastItemActiveIndex() === index_r5));
950
- i0.ɵɵattribute("aria-selected", ctx_r2.activeIndex === index_r5)("aria-controls", ctx_r2.containerId + "_item_" + index_r5)("data-pc-section", "thumbnailitem")("data-p-active", ctx_r2.activeIndex === index_r5);
951
- i0.ɵɵadvance();
952
- i0.ɵɵattribute("tabindex", ctx_r2.activeIndex === index_r5 ? 0 : -1)("aria-current", ctx_r2.activeIndex === index_r5 ? "page" : undefined)("aria-label", ctx_r2.ariaPageLabel(index_r5 + 1));
953
- i0.ɵɵadvance();
954
- i0.ɵɵproperty("item", item_r6)("templates", ctx_r2.templates);
955
- } }
956
- function GalleriaThumbnails_button_7_ng_container_1_ChevronRightIcon_1_Template(rf, ctx) { if (rf & 1) {
957
- i0.ɵɵelement(0, "ChevronRightIcon", 16);
958
- } if (rf & 2) {
959
- i0.ɵɵproperty("ngClass", "p-galleria-thumbnail-next-icon");
960
- } }
961
- function GalleriaThumbnails_button_7_ng_container_1_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
962
- i0.ɵɵelement(0, "ChevronDownIcon", 16);
963
- } if (rf & 2) {
964
- i0.ɵɵproperty("ngClass", "p-galleria-thumbnail-next-icon");
965
- } }
966
- function GalleriaThumbnails_button_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
967
- i0.ɵɵelementContainerStart(0);
968
- i0.ɵɵtemplate(1, GalleriaThumbnails_button_7_ng_container_1_ChevronRightIcon_1_Template, 1, 1, "ChevronRightIcon", 15)(2, GalleriaThumbnails_button_7_ng_container_1_ChevronDownIcon_2_Template, 1, 1, "ChevronDownIcon", 15);
969
- i0.ɵɵelementContainerEnd();
970
- } if (rf & 2) {
971
- const ctx_r2 = i0.ɵɵnextContext(2);
972
- i0.ɵɵadvance();
973
- i0.ɵɵproperty("ngIf", !ctx_r2.isVertical);
974
- i0.ɵɵadvance();
975
- i0.ɵɵproperty("ngIf", ctx_r2.isVertical);
976
- } }
977
- function GalleriaThumbnails_button_7_2_ng_template_0_Template(rf, ctx) { }
978
- function GalleriaThumbnails_button_7_2_Template(rf, ctx) { if (rf & 1) {
979
- i0.ɵɵtemplate(0, GalleriaThumbnails_button_7_2_ng_template_0_Template, 0, 0, "ng-template");
980
- } }
981
- function GalleriaThumbnails_button_7_Template(rf, ctx) { if (rf & 1) {
982
- const _r7 = i0.ɵɵgetCurrentView();
983
- i0.ɵɵelementStart(0, "button", 7);
984
- i0.ɵɵlistener("click", function GalleriaThumbnails_button_7_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.navForward($event)); });
985
- i0.ɵɵtemplate(1, GalleriaThumbnails_button_7_ng_container_1_Template, 3, 2, "ng-container", 8)(2, GalleriaThumbnails_button_7_2_Template, 1, 0, null, 9);
986
- i0.ɵɵelementEnd();
987
- } if (rf & 2) {
988
- const ctx_r2 = i0.ɵɵnextContext();
989
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c26, ctx_r2.isNavForwardDisabled()))("disabled", ctx_r2.isNavForwardDisabled());
990
- i0.ɵɵattribute("aria-label", ctx_r2.ariaNextButtonLabel());
991
- i0.ɵɵadvance();
992
- i0.ɵɵproperty("ngIf", !ctx_r2.galleria.nextThumbnailIconTemplate && !ctx_r2.galleria._nextThumbnailIconTemplate);
993
- i0.ɵɵadvance();
994
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.galleria.nextThumbnailIconTemplate || ctx_r2.galleria._nextThumbnailIconTemplate);
995
- } }
996
656
  /**
997
657
  * Galleria is an advanced content gallery component.
998
658
  * @group Components
@@ -1299,59 +959,45 @@ class Galleria extends BaseComponent {
1299
959
  this.disableModality();
1300
960
  }
1301
961
  }
1302
- static ɵfac = function Galleria_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Galleria)(i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
1303
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Galleria, selectors: [["p-galleria"]], contentQueries: function Galleria_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
1304
- i0.ɵɵcontentQuery(dirIndex, _c0, 4);
1305
- i0.ɵɵcontentQuery(dirIndex, _c1, 4);
1306
- i0.ɵɵcontentQuery(dirIndex, _c2, 4);
1307
- i0.ɵɵcontentQuery(dirIndex, _c3, 4);
1308
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
1309
- i0.ɵɵcontentQuery(dirIndex, _c5, 4);
1310
- i0.ɵɵcontentQuery(dirIndex, _c6, 4);
1311
- i0.ɵɵcontentQuery(dirIndex, _c7, 4);
1312
- i0.ɵɵcontentQuery(dirIndex, _c8, 4);
1313
- i0.ɵɵcontentQuery(dirIndex, _c9, 4);
1314
- i0.ɵɵcontentQuery(dirIndex, _c10, 4);
1315
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
1316
- } if (rf & 2) {
1317
- let _t;
1318
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
1319
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
1320
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.indicatorTemplate = _t.first);
1321
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.captionTemplate = _t.first);
1322
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._closeIconTemplate = _t.first);
1323
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._previousThumbnailIconTemplate = _t.first);
1324
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._nextThumbnailIconTemplate = _t.first);
1325
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._itemPreviousIconTemplate = _t.first);
1326
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._itemNextIconTemplate = _t.first);
1327
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._itemTemplate = _t.first);
1328
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._thumbnailTemplate = _t.first);
1329
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
1330
- } }, viewQuery: function Galleria_Query(rf, ctx) { if (rf & 1) {
1331
- i0.ɵɵviewQuery(_c11, 5);
1332
- i0.ɵɵviewQuery(_c12, 5);
1333
- } if (rf & 2) {
1334
- let _t;
1335
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.mask = _t.first);
1336
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
1337
- } }, inputs: { activeIndex: "activeIndex", fullScreen: [2, "fullScreen", "fullScreen", booleanAttribute], id: "id", value: "value", numVisible: [2, "numVisible", "numVisible", numberAttribute], responsiveOptions: "responsiveOptions", showItemNavigators: [2, "showItemNavigators", "showItemNavigators", booleanAttribute], showThumbnailNavigators: [2, "showThumbnailNavigators", "showThumbnailNavigators", booleanAttribute], showItemNavigatorsOnHover: [2, "showItemNavigatorsOnHover", "showItemNavigatorsOnHover", booleanAttribute], changeItemOnIndicatorHover: [2, "changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], circular: [2, "circular", "circular", booleanAttribute], autoPlay: [2, "autoPlay", "autoPlay", booleanAttribute], shouldStopAutoplayByClick: [2, "shouldStopAutoplayByClick", "shouldStopAutoplayByClick", booleanAttribute], transitionInterval: [2, "transitionInterval", "transitionInterval", numberAttribute], showThumbnails: [2, "showThumbnails", "showThumbnails", booleanAttribute], thumbnailsPosition: "thumbnailsPosition", verticalThumbnailViewPortHeight: "verticalThumbnailViewPortHeight", showIndicators: [2, "showIndicators", "showIndicators", booleanAttribute], showIndicatorsOnItem: [2, "showIndicatorsOnItem", "showIndicatorsOnItem", booleanAttribute], indicatorsPosition: "indicatorsPosition", baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], maskClass: "maskClass", containerClass: "containerClass", containerStyle: "containerStyle", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", visible: "visible" }, outputs: { activeIndexChange: "activeIndexChange", visibleChange: "visibleChange" }, standalone: false, features: [i0.ɵɵProvidersFeature([GalleriaStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["windowed", ""], ["container", ""], ["mask", ""], [4, "ngIf", "ngIfElse"], [3, "ngClass", "class", 4, "ngIf"], [3, "ngClass"], [3, "value", "activeIndex", "numVisible", "ngStyle", "fullScreen", "maskHide", "activeItemChange", 4, "ngIf"], [3, "maskHide", "activeItemChange", "value", "activeIndex", "numVisible", "ngStyle", "fullScreen"], [3, "activeItemChange", "value", "activeIndex", "numVisible"]], template: function Galleria_Template(rf, ctx) { if (rf & 1) {
1338
- i0.ɵɵtemplate(0, Galleria_div_0_Template, 3, 1, "div", 3)(1, Galleria_ng_template_1_Template, 1, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
1339
- } if (rf & 2) {
1340
- const windowed_r4 = i0.ɵɵreference(2);
1341
- i0.ɵɵproperty("ngIf", ctx.fullScreen)("ngIfElse", windowed_r4);
1342
- } }, dependencies: () => [i1.NgClass, i1.NgIf, i1.NgStyle, GalleriaContent], encapsulation: 2, data: { animation: [
1343
- trigger('animation', [
1344
- transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
1345
- transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
1346
- ])
1347
- ] }, changeDetection: 0 });
1348
- }
1349
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Galleria, [{
1350
- type: Component,
1351
- args: [{
1352
- selector: 'p-galleria',
1353
- standalone: false,
1354
- template: `
962
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Galleria, deps: [{ token: PLATFORM_ID }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
963
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: Galleria, isStandalone: false, selector: "p-galleria", inputs: { activeIndex: "activeIndex", fullScreen: ["fullScreen", "fullScreen", booleanAttribute], id: "id", value: "value", numVisible: ["numVisible", "numVisible", numberAttribute], responsiveOptions: "responsiveOptions", showItemNavigators: ["showItemNavigators", "showItemNavigators", booleanAttribute], showThumbnailNavigators: ["showThumbnailNavigators", "showThumbnailNavigators", booleanAttribute], showItemNavigatorsOnHover: ["showItemNavigatorsOnHover", "showItemNavigatorsOnHover", booleanAttribute], changeItemOnIndicatorHover: ["changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], circular: ["circular", "circular", booleanAttribute], autoPlay: ["autoPlay", "autoPlay", booleanAttribute], shouldStopAutoplayByClick: ["shouldStopAutoplayByClick", "shouldStopAutoplayByClick", booleanAttribute], transitionInterval: ["transitionInterval", "transitionInterval", numberAttribute], showThumbnails: ["showThumbnails", "showThumbnails", booleanAttribute], thumbnailsPosition: "thumbnailsPosition", verticalThumbnailViewPortHeight: "verticalThumbnailViewPortHeight", showIndicators: ["showIndicators", "showIndicators", booleanAttribute], showIndicatorsOnItem: ["showIndicatorsOnItem", "showIndicatorsOnItem", booleanAttribute], indicatorsPosition: "indicatorsPosition", baseZIndex: ["baseZIndex", "baseZIndex", numberAttribute], maskClass: "maskClass", containerClass: "containerClass", containerStyle: "containerStyle", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", visible: "visible" }, outputs: { activeIndexChange: "activeIndexChange", visibleChange: "visibleChange" }, providers: [GalleriaStyle], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "indicatorTemplate", first: true, predicate: ["indicator"] }, { propertyName: "captionTemplate", first: true, predicate: ["caption"] }, { propertyName: "_closeIconTemplate", first: true, predicate: ["closeicon"] }, { propertyName: "_previousThumbnailIconTemplate", first: true, predicate: ["previousthumbnailicon"] }, { propertyName: "_nextThumbnailIconTemplate", first: true, predicate: ["nextthumbnailicon"] }, { propertyName: "_itemPreviousIconTemplate", first: true, predicate: ["itempreviousicon"] }, { propertyName: "_itemNextIconTemplate", first: true, predicate: ["itemnexticon"] }, { propertyName: "_itemTemplate", first: true, predicate: ["item"] }, { propertyName: "_thumbnailTemplate", first: true, predicate: ["thumbnail"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "mask", first: true, predicate: ["mask"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
964
+ <div *ngIf="fullScreen; else windowed" #container>
965
+ <div *ngIf="maskVisible" #mask [ngClass]="{ 'p-galleria-mask p-overlay-mask p-overlay-mask-enter': true }" [class]="maskClass" [attr.role]="fullScreen ? 'dialog' : 'region'" [attr.aria-modal]="fullScreen ? 'true' : undefined">
966
+ <p-galleriaContent
967
+ *ngIf="visible"
968
+ [@animation]="{
969
+ value: 'visible',
970
+ params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }
971
+ }"
972
+ (@animation.start)="onAnimationStart($event)"
973
+ (@animation.done)="onAnimationEnd($event)"
974
+ [value]="value"
975
+ [activeIndex]="activeIndex"
976
+ [numVisible]="numVisibleLimit || numVisible"
977
+ (maskHide)="onMaskHide()"
978
+ (activeItemChange)="onActiveItemChange($event)"
979
+ [ngStyle]="containerStyle"
980
+ [fullScreen]="fullScreen"
981
+ ></p-galleriaContent>
982
+ </div>
983
+ </div>
984
+
985
+ <ng-template #windowed>
986
+ <p-galleriaContent [value]="value" [activeIndex]="activeIndex" [numVisible]="numVisibleLimit || numVisible" (activeItemChange)="onActiveItemChange($event)"></p-galleriaContent>
987
+ </ng-template>
988
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => GalleriaContent), selector: "p-galleriaContent", inputs: ["activeIndex", "value", "numVisible", "fullScreen"], outputs: ["maskHide", "activeItemChange"] }], animations: [
989
+ trigger('animation', [
990
+ transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
991
+ transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
992
+ ])
993
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
994
+ }
995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Galleria, decorators: [{
996
+ type: Component,
997
+ args: [{
998
+ selector: 'p-galleria',
999
+ standalone: false,
1000
+ template: `
1355
1001
  <div *ngIf="fullScreen; else windowed" #container>
1356
1002
  <div *ngIf="maskVisible" #mask [ngClass]="{ 'p-galleria-mask p-overlay-mask p-overlay-mask-enter': true }" [class]="maskClass" [attr.role]="fullScreen ? 'dialog' : 'region'" [attr.aria-modal]="fullScreen ? 'true' : undefined">
1357
1003
  <p-galleriaContent
@@ -1377,135 +1023,134 @@ class Galleria extends BaseComponent {
1377
1023
  <p-galleriaContent [value]="value" [activeIndex]="activeIndex" [numVisible]="numVisibleLimit || numVisible" (activeItemChange)="onActiveItemChange($event)"></p-galleriaContent>
1378
1024
  </ng-template>
1379
1025
  `,
1380
- animations: [
1381
- trigger('animation', [
1382
- transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
1383
- transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
1384
- ])
1385
- ],
1386
- changeDetection: ChangeDetectionStrategy.OnPush,
1387
- encapsulation: ViewEncapsulation.None,
1388
- providers: [GalleriaStyle]
1389
- }]
1390
- }], () => [{ type: undefined, decorators: [{
1391
- type: Inject,
1392
- args: [PLATFORM_ID]
1393
- }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], { activeIndex: [{
1394
- type: Input
1395
- }], fullScreen: [{
1396
- type: Input,
1397
- args: [{ transform: booleanAttribute }]
1398
- }], id: [{
1399
- type: Input
1400
- }], value: [{
1401
- type: Input
1402
- }], numVisible: [{
1403
- type: Input,
1404
- args: [{ transform: numberAttribute }]
1405
- }], responsiveOptions: [{
1406
- type: Input
1407
- }], showItemNavigators: [{
1408
- type: Input,
1409
- args: [{ transform: booleanAttribute }]
1410
- }], showThumbnailNavigators: [{
1411
- type: Input,
1412
- args: [{ transform: booleanAttribute }]
1413
- }], showItemNavigatorsOnHover: [{
1414
- type: Input,
1415
- args: [{ transform: booleanAttribute }]
1416
- }], changeItemOnIndicatorHover: [{
1417
- type: Input,
1418
- args: [{ transform: booleanAttribute }]
1419
- }], circular: [{
1420
- type: Input,
1421
- args: [{ transform: booleanAttribute }]
1422
- }], autoPlay: [{
1423
- type: Input,
1424
- args: [{ transform: booleanAttribute }]
1425
- }], shouldStopAutoplayByClick: [{
1426
- type: Input,
1427
- args: [{ transform: booleanAttribute }]
1428
- }], transitionInterval: [{
1429
- type: Input,
1430
- args: [{ transform: numberAttribute }]
1431
- }], showThumbnails: [{
1432
- type: Input,
1433
- args: [{ transform: booleanAttribute }]
1434
- }], thumbnailsPosition: [{
1435
- type: Input
1436
- }], verticalThumbnailViewPortHeight: [{
1437
- type: Input
1438
- }], showIndicators: [{
1439
- type: Input,
1440
- args: [{ transform: booleanAttribute }]
1441
- }], showIndicatorsOnItem: [{
1442
- type: Input,
1443
- args: [{ transform: booleanAttribute }]
1444
- }], indicatorsPosition: [{
1445
- type: Input
1446
- }], baseZIndex: [{
1447
- type: Input,
1448
- args: [{ transform: numberAttribute }]
1449
- }], maskClass: [{
1450
- type: Input
1451
- }], containerClass: [{
1452
- type: Input
1453
- }], containerStyle: [{
1454
- type: Input
1455
- }], showTransitionOptions: [{
1456
- type: Input
1457
- }], hideTransitionOptions: [{
1458
- type: Input
1459
- }], visible: [{
1460
- type: Input
1461
- }], activeIndexChange: [{
1462
- type: Output
1463
- }], visibleChange: [{
1464
- type: Output
1465
- }], mask: [{
1466
- type: ViewChild,
1467
- args: ['mask']
1468
- }], container: [{
1469
- type: ViewChild,
1470
- args: ['container']
1471
- }], headerTemplate: [{
1472
- type: ContentChild,
1473
- args: ['header', { descendants: false }]
1474
- }], footerTemplate: [{
1475
- type: ContentChild,
1476
- args: ['footer', { descendants: false, static: false }]
1477
- }], indicatorTemplate: [{
1478
- type: ContentChild,
1479
- args: ['indicator', { descendants: false }]
1480
- }], captionTemplate: [{
1481
- type: ContentChild,
1482
- args: ['caption', { descendants: false }]
1483
- }], _closeIconTemplate: [{
1484
- type: ContentChild,
1485
- args: ['closeicon', { descendants: false }]
1486
- }], _previousThumbnailIconTemplate: [{
1487
- type: ContentChild,
1488
- args: ['previousthumbnailicon', { descendants: false }]
1489
- }], _nextThumbnailIconTemplate: [{
1490
- type: ContentChild,
1491
- args: ['nextthumbnailicon', { descendants: false }]
1492
- }], _itemPreviousIconTemplate: [{
1493
- type: ContentChild,
1494
- args: ['itempreviousicon', { descendants: false }]
1495
- }], _itemNextIconTemplate: [{
1496
- type: ContentChild,
1497
- args: ['itemnexticon', { descendants: false }]
1498
- }], _itemTemplate: [{
1499
- type: ContentChild,
1500
- args: ['item', { descendants: false }]
1501
- }], _thumbnailTemplate: [{
1502
- type: ContentChild,
1503
- args: ['thumbnail', { descendants: false, static: false }]
1504
- }], templates: [{
1505
- type: ContentChildren,
1506
- args: [PrimeTemplate]
1507
- }] }); })();
1508
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Galleria, { className: "Galleria", filePath: "galleria.ts", lineNumber: 89 }); })();
1026
+ animations: [
1027
+ trigger('animation', [
1028
+ transition('void => visible', [style({ transform: 'scale(0.7)', opacity: 0 }), animate('{{showTransitionParams}}')]),
1029
+ transition('visible => void', [animate('{{hideTransitionParams}}', style({ transform: 'scale(0.7)', opacity: 0 }))])
1030
+ ])
1031
+ ],
1032
+ changeDetection: ChangeDetectionStrategy.OnPush,
1033
+ encapsulation: ViewEncapsulation.None,
1034
+ providers: [GalleriaStyle]
1035
+ }]
1036
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1037
+ type: Inject,
1038
+ args: [PLATFORM_ID]
1039
+ }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { activeIndex: [{
1040
+ type: Input
1041
+ }], fullScreen: [{
1042
+ type: Input,
1043
+ args: [{ transform: booleanAttribute }]
1044
+ }], id: [{
1045
+ type: Input
1046
+ }], value: [{
1047
+ type: Input
1048
+ }], numVisible: [{
1049
+ type: Input,
1050
+ args: [{ transform: numberAttribute }]
1051
+ }], responsiveOptions: [{
1052
+ type: Input
1053
+ }], showItemNavigators: [{
1054
+ type: Input,
1055
+ args: [{ transform: booleanAttribute }]
1056
+ }], showThumbnailNavigators: [{
1057
+ type: Input,
1058
+ args: [{ transform: booleanAttribute }]
1059
+ }], showItemNavigatorsOnHover: [{
1060
+ type: Input,
1061
+ args: [{ transform: booleanAttribute }]
1062
+ }], changeItemOnIndicatorHover: [{
1063
+ type: Input,
1064
+ args: [{ transform: booleanAttribute }]
1065
+ }], circular: [{
1066
+ type: Input,
1067
+ args: [{ transform: booleanAttribute }]
1068
+ }], autoPlay: [{
1069
+ type: Input,
1070
+ args: [{ transform: booleanAttribute }]
1071
+ }], shouldStopAutoplayByClick: [{
1072
+ type: Input,
1073
+ args: [{ transform: booleanAttribute }]
1074
+ }], transitionInterval: [{
1075
+ type: Input,
1076
+ args: [{ transform: numberAttribute }]
1077
+ }], showThumbnails: [{
1078
+ type: Input,
1079
+ args: [{ transform: booleanAttribute }]
1080
+ }], thumbnailsPosition: [{
1081
+ type: Input
1082
+ }], verticalThumbnailViewPortHeight: [{
1083
+ type: Input
1084
+ }], showIndicators: [{
1085
+ type: Input,
1086
+ args: [{ transform: booleanAttribute }]
1087
+ }], showIndicatorsOnItem: [{
1088
+ type: Input,
1089
+ args: [{ transform: booleanAttribute }]
1090
+ }], indicatorsPosition: [{
1091
+ type: Input
1092
+ }], baseZIndex: [{
1093
+ type: Input,
1094
+ args: [{ transform: numberAttribute }]
1095
+ }], maskClass: [{
1096
+ type: Input
1097
+ }], containerClass: [{
1098
+ type: Input
1099
+ }], containerStyle: [{
1100
+ type: Input
1101
+ }], showTransitionOptions: [{
1102
+ type: Input
1103
+ }], hideTransitionOptions: [{
1104
+ type: Input
1105
+ }], visible: [{
1106
+ type: Input
1107
+ }], activeIndexChange: [{
1108
+ type: Output
1109
+ }], visibleChange: [{
1110
+ type: Output
1111
+ }], mask: [{
1112
+ type: ViewChild,
1113
+ args: ['mask']
1114
+ }], container: [{
1115
+ type: ViewChild,
1116
+ args: ['container']
1117
+ }], headerTemplate: [{
1118
+ type: ContentChild,
1119
+ args: ['header', { descendants: false }]
1120
+ }], footerTemplate: [{
1121
+ type: ContentChild,
1122
+ args: ['footer', { descendants: false, static: false }]
1123
+ }], indicatorTemplate: [{
1124
+ type: ContentChild,
1125
+ args: ['indicator', { descendants: false }]
1126
+ }], captionTemplate: [{
1127
+ type: ContentChild,
1128
+ args: ['caption', { descendants: false }]
1129
+ }], _closeIconTemplate: [{
1130
+ type: ContentChild,
1131
+ args: ['closeicon', { descendants: false }]
1132
+ }], _previousThumbnailIconTemplate: [{
1133
+ type: ContentChild,
1134
+ args: ['previousthumbnailicon', { descendants: false }]
1135
+ }], _nextThumbnailIconTemplate: [{
1136
+ type: ContentChild,
1137
+ args: ['nextthumbnailicon', { descendants: false }]
1138
+ }], _itemPreviousIconTemplate: [{
1139
+ type: ContentChild,
1140
+ args: ['itempreviousicon', { descendants: false }]
1141
+ }], _itemNextIconTemplate: [{
1142
+ type: ContentChild,
1143
+ args: ['itemnexticon', { descendants: false }]
1144
+ }], _itemTemplate: [{
1145
+ type: ContentChild,
1146
+ args: ['item', { descendants: false }]
1147
+ }], _thumbnailTemplate: [{
1148
+ type: ContentChild,
1149
+ args: ['thumbnail', { descendants: false, static: false }]
1150
+ }], templates: [{
1151
+ type: ContentChildren,
1152
+ args: [PrimeTemplate]
1153
+ }] } });
1509
1154
  class GalleriaContent extends BaseComponent {
1510
1155
  galleria;
1511
1156
  cd;
@@ -1603,26 +1248,78 @@ class GalleriaContent extends BaseComponent {
1603
1248
  closeAriaLabel() {
1604
1249
  return this.config.translation.aria ? this.config.translation.aria.close : undefined;
1605
1250
  }
1606
- static ɵfac = function GalleriaContent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GalleriaContent)(i0.ɵɵdirectiveInject(Galleria), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.ElementRef)); };
1607
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GalleriaContent, selectors: [["p-galleriaContent"]], viewQuery: function GalleriaContent_Query(rf, ctx) { if (rf & 1) {
1608
- i0.ɵɵviewQuery(_c16, 5);
1609
- } if (rf & 2) {
1610
- let _t;
1611
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.closeButton = _t.first);
1612
- } }, hostBindings: function GalleriaContent_HostBindings(rf, ctx) { if (rf & 1) {
1613
- i0.ɵɵlistener("fullscreenchange", function GalleriaContent_fullscreenchange_HostBindingHandler($event) { return ctx.handleFullscreenChange($event); }, false, i0.ɵɵresolveDocument);
1614
- } }, inputs: { activeIndex: "activeIndex", value: "value", numVisible: [2, "numVisible", "numVisible", numberAttribute], fullScreen: [2, "fullScreen", "fullScreen", booleanAttribute] }, outputs: { maskHide: "maskHide", activeItemChange: "activeItemChange" }, standalone: false, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["pFocusTrap", "", 3, "ngClass", "ngStyle", "class", "pFocusTrapDisabled", 4, "ngIf"], ["pFocusTrap", "", 3, "ngClass", "ngStyle", "pFocusTrapDisabled"], ["type", "button", "class", "p-galleria-close-button", 3, "click", 4, "ngIf"], ["class", "p-galleria-header", 4, "ngIf"], [1, "p-galleria-content"], [3, "onActiveIndexChange", "startSlideShow", "stopSlideShow", "id", "value", "activeIndex", "circular", "templates", "showIndicators", "changeItemOnIndicatorHover", "indicatorFacet", "captionFacet", "showItemNavigators", "autoPlay", "slideShowActive"], [3, "containerId", "value", "activeIndex", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "slideShowActive", "onActiveIndexChange", "stopSlideShow", 4, "ngIf"], ["class", "p-galleria-footer", 4, "ngIf"], ["type", "button", 1, "p-galleria-close-button", 3, "click"], [3, "styleClass", 4, "ngIf"], [4, "ngTemplateOutlet"], [3, "styleClass"], [1, "p-galleria-header"], ["type", "header", 3, "templates"], [3, "onActiveIndexChange", "stopSlideShow", "containerId", "value", "activeIndex", "templates", "numVisible", "responsiveOptions", "circular", "isVertical", "contentHeight", "showThumbnailNavigators", "slideShowActive"], [1, "p-galleria-footer"], ["type", "footer", 3, "templates"]], template: function GalleriaContent_Template(rf, ctx) { if (rf & 1) {
1615
- i0.ɵɵtemplate(0, GalleriaContent_div_0_Template, 7, 29, "div", 0);
1616
- } if (rf & 2) {
1617
- i0.ɵɵproperty("ngIf", ctx.value && ctx.value.length > 0);
1618
- } }, dependencies: () => [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, TimesIcon, FocusTrap, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails], encapsulation: 2, changeDetection: 0 });
1619
- }
1620
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaContent, [{
1621
- type: Component,
1622
- args: [{
1623
- selector: 'p-galleriaContent',
1624
- standalone: false,
1625
- template: `
1251
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaContent, deps: [{ token: Galleria }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1252
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: GalleriaContent, isStandalone: false, selector: "p-galleriaContent", inputs: { activeIndex: "activeIndex", value: "value", numVisible: ["numVisible", "numVisible", numberAttribute], fullScreen: ["fullScreen", "fullScreen", booleanAttribute] }, outputs: { maskHide: "maskHide", activeItemChange: "activeItemChange" }, host: { listeners: { "document:fullscreenchange": "handleFullscreenChange($event)" } }, viewQueries: [{ propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1253
+ <div
1254
+ [attr.id]="id"
1255
+ [attr.role]="'region'"
1256
+ *ngIf="value && value.length > 0"
1257
+ [ngClass]="{
1258
+ 'p-galleria p-component': true,
1259
+ 'p-galleria-fullscreen': this.galleria.fullScreen,
1260
+ 'p-galleria-inset-indicators': this.galleria.showIndicatorsOnItem,
1261
+ 'p-galleria-hover-navigators': this.galleria.showItemNavigatorsOnHover && !this.galleria.fullScreen
1262
+ }"
1263
+ [ngStyle]="!galleria.fullScreen ? galleria.containerStyle : {}"
1264
+ [class]="galleriaClass()"
1265
+ pFocusTrap
1266
+ [pFocusTrapDisabled]="!fullScreen"
1267
+ >
1268
+ <button *ngIf="galleria.fullScreen" type="button" class="p-galleria-close-button" (click)="maskHide.emit()" [attr.aria-label]="closeAriaLabel()" [attr.data-pc-section]="'closebutton'">
1269
+ <TimesIcon *ngIf="!galleria.closeIconTemplate && !galleria._closeIconTemplate" [styleClass]="'p-galleria-close-icon'" />
1270
+ <ng-template *ngTemplateOutlet="galleria.closeIconTemplate || galleria._closeIconTemplate"></ng-template>
1271
+ </button>
1272
+ <div *ngIf="galleria.templates && (galleria.headerFacet || galleria.headerTemplate)" class="p-galleria-header">
1273
+ <p-galleriaItemSlot type="header" [templates]="galleria.templates"></p-galleriaItemSlot>
1274
+ </div>
1275
+ <div class="p-galleria-content" [attr.aria-live]="galleria.autoPlay ? 'polite' : 'off'">
1276
+ <p-galleriaItem
1277
+ [id]="id"
1278
+ [value]="value"
1279
+ [activeIndex]="activeIndex"
1280
+ [circular]="galleria.circular"
1281
+ [templates]="galleria.templates"
1282
+ (onActiveIndexChange)="onActiveIndexChange($event)"
1283
+ [showIndicators]="galleria.showIndicators"
1284
+ [changeItemOnIndicatorHover]="galleria.changeItemOnIndicatorHover"
1285
+ [indicatorFacet]="galleria.indicatorFacet"
1286
+ [captionFacet]="galleria.captionFacet"
1287
+ [showItemNavigators]="galleria.showItemNavigators"
1288
+ [autoPlay]="galleria.autoPlay"
1289
+ [slideShowActive]="slideShowActive"
1290
+ (startSlideShow)="startSlideShow()"
1291
+ (stopSlideShow)="stopSlideShow()"
1292
+ ></p-galleriaItem>
1293
+
1294
+ <p-galleriaThumbnails
1295
+ *ngIf="galleria.showThumbnails"
1296
+ [containerId]="id"
1297
+ [value]="value"
1298
+ (onActiveIndexChange)="onActiveIndexChange($event)"
1299
+ [activeIndex]="activeIndex"
1300
+ [templates]="galleria.templates"
1301
+ [numVisible]="numVisible"
1302
+ [responsiveOptions]="galleria.responsiveOptions"
1303
+ [circular]="galleria.circular"
1304
+ [isVertical]="isVertical()"
1305
+ [contentHeight]="galleria.verticalThumbnailViewPortHeight"
1306
+ [showThumbnailNavigators]="galleria.showThumbnailNavigators"
1307
+ [slideShowActive]="slideShowActive"
1308
+ (stopSlideShow)="stopSlideShow()"
1309
+ ></p-galleriaThumbnails>
1310
+ </div>
1311
+ <div *ngIf="shouldRenderFooter()" class="p-galleria-footer">
1312
+ <p-galleriaItemSlot type="footer" [templates]="galleria.templates"></p-galleriaItemSlot>
1313
+ </div>
1314
+ </div>
1315
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "directive", type: i0.forwardRef(() => FocusTrap), selector: "[pFocusTrap]", inputs: ["pFocusTrapDisabled"] }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }, { kind: "component", type: i0.forwardRef(() => GalleriaItem), selector: "p-galleriaItem", inputs: ["id", "circular", "value", "showItemNavigators", "showIndicators", "slideShowActive", "changeItemOnIndicatorHover", "autoPlay", "templates", "indicatorFacet", "captionFacet", "activeIndex"], outputs: ["startSlideShow", "stopSlideShow", "onActiveIndexChange"] }, { kind: "component", type: i0.forwardRef(() => GalleriaThumbnails), selector: "p-galleriaThumbnails", inputs: ["containerId", "value", "isVertical", "slideShowActive", "circular", "responsiveOptions", "contentHeight", "showThumbnailNavigators", "templates", "numVisible", "activeIndex"], outputs: ["onActiveIndexChange", "stopSlideShow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1316
+ }
1317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaContent, decorators: [{
1318
+ type: Component,
1319
+ args: [{
1320
+ selector: 'p-galleriaContent',
1321
+ standalone: false,
1322
+ template: `
1626
1323
  <div
1627
1324
  [attr.id]="id"
1628
1325
  [attr.role]="'region'"
@@ -1686,30 +1383,29 @@ class GalleriaContent extends BaseComponent {
1686
1383
  </div>
1687
1384
  </div>
1688
1385
  `,
1689
- changeDetection: ChangeDetectionStrategy.OnPush
1690
- }]
1691
- }], () => [{ type: Galleria }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }], { activeIndex: [{
1692
- type: Input
1693
- }], value: [{
1694
- type: Input
1695
- }], numVisible: [{
1696
- type: Input,
1697
- args: [{ transform: numberAttribute }]
1698
- }], fullScreen: [{
1699
- type: Input,
1700
- args: [{ transform: booleanAttribute }]
1701
- }], maskHide: [{
1702
- type: Output
1703
- }], activeItemChange: [{
1704
- type: Output
1705
- }], closeButton: [{
1706
- type: ViewChild,
1707
- args: ['closeButton']
1708
- }], handleFullscreenChange: [{
1709
- type: HostListener,
1710
- args: ['document:fullscreenchange', ['$event']]
1711
- }] }); })();
1712
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GalleriaContent, { className: "GalleriaContent", filePath: "galleria.ts", lineNumber: 503 }); })();
1386
+ changeDetection: ChangeDetectionStrategy.OnPush
1387
+ }]
1388
+ }], ctorParameters: () => [{ type: Galleria }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }], propDecorators: { activeIndex: [{
1389
+ type: Input
1390
+ }], value: [{
1391
+ type: Input
1392
+ }], numVisible: [{
1393
+ type: Input,
1394
+ args: [{ transform: numberAttribute }]
1395
+ }], fullScreen: [{
1396
+ type: Input,
1397
+ args: [{ transform: booleanAttribute }]
1398
+ }], maskHide: [{
1399
+ type: Output
1400
+ }], activeItemChange: [{
1401
+ type: Output
1402
+ }], closeButton: [{
1403
+ type: ViewChild,
1404
+ args: ['closeButton']
1405
+ }], handleFullscreenChange: [{
1406
+ type: HostListener,
1407
+ args: ['document:fullscreenchange', ['$event']]
1408
+ }] } });
1713
1409
  class GalleriaItemSlot {
1714
1410
  templates;
1715
1411
  index;
@@ -1814,36 +1510,35 @@ class GalleriaItemSlot {
1814
1510
  this.getContentTemplate();
1815
1511
  }
1816
1512
  }
1817
- static ɵfac = function GalleriaItemSlot_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GalleriaItemSlot)(); };
1818
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GalleriaItemSlot, selectors: [["p-galleriaItemSlot"]], inputs: { templates: "templates", index: [2, "index", "index", numberAttribute], item: "item", type: "type" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function GalleriaItemSlot_Template(rf, ctx) { if (rf & 1) {
1819
- i0.ɵɵtemplate(0, GalleriaItemSlot_ng_container_0_Template, 2, 2, "ng-container", 0);
1820
- } if (rf & 2) {
1821
- i0.ɵɵproperty("ngIf", ctx.shouldRender());
1822
- } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet], encapsulation: 2, changeDetection: 0 });
1823
- }
1824
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaItemSlot, [{
1825
- type: Component,
1826
- args: [{
1827
- selector: 'p-galleriaItemSlot',
1828
- standalone: false,
1829
- template: `
1513
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaItemSlot, deps: [], target: i0.ɵɵFactoryTarget.Component });
1514
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: GalleriaItemSlot, isStandalone: false, selector: "p-galleriaItemSlot", inputs: { templates: "templates", index: ["index", "index", numberAttribute], item: "item", type: "type" }, ngImport: i0, template: `
1515
+ <ng-container *ngIf="shouldRender()">
1516
+ <ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
1517
+ </ng-container>
1518
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1519
+ }
1520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaItemSlot, decorators: [{
1521
+ type: Component,
1522
+ args: [{
1523
+ selector: 'p-galleriaItemSlot',
1524
+ standalone: false,
1525
+ template: `
1830
1526
  <ng-container *ngIf="shouldRender()">
1831
1527
  <ng-container *ngTemplateOutlet="contentTemplate; context: context"></ng-container>
1832
1528
  </ng-container>
1833
1529
  `,
1834
- changeDetection: ChangeDetectionStrategy.OnPush
1835
- }]
1836
- }], null, { templates: [{
1837
- type: Input
1838
- }], index: [{
1839
- type: Input,
1840
- args: [{ transform: numberAttribute }]
1841
- }], item: [{
1842
- type: Input
1843
- }], type: [{
1844
- type: Input
1845
- }] }); })();
1846
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GalleriaItemSlot, { className: "GalleriaItemSlot", filePath: "galleria.ts", lineNumber: 637 }); })();
1530
+ changeDetection: ChangeDetectionStrategy.OnPush
1531
+ }]
1532
+ }], propDecorators: { templates: [{
1533
+ type: Input
1534
+ }], index: [{
1535
+ type: Input,
1536
+ args: [{ transform: numberAttribute }]
1537
+ }], item: [{
1538
+ type: Input
1539
+ }], type: [{
1540
+ type: Input
1541
+ }] } });
1847
1542
  class GalleriaItem {
1848
1543
  galleria;
1849
1544
  id;
@@ -1970,38 +1665,66 @@ class GalleriaItem {
1970
1665
  ariaPageLabel(value) {
1971
1666
  return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel.replace(/{page}/g, value) : undefined;
1972
1667
  }
1973
- static ɵfac = function GalleriaItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GalleriaItem)(i0.ɵɵdirectiveInject(Galleria)); };
1974
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GalleriaItem, selectors: [["p-galleriaItem"]], hostAttrs: [1, "p-galleria-items-container"], inputs: { id: "id", circular: [2, "circular", "circular", booleanAttribute], value: "value", showItemNavigators: [2, "showItemNavigators", "showItemNavigators", booleanAttribute], showIndicators: [2, "showIndicators", "showIndicators", booleanAttribute], slideShowActive: [2, "slideShowActive", "slideShowActive", booleanAttribute], changeItemOnIndicatorHover: [2, "changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], autoPlay: [2, "autoPlay", "autoPlay", booleanAttribute], templates: "templates", indicatorFacet: "indicatorFacet", captionFacet: "captionFacet", activeIndex: "activeIndex" }, outputs: { startSlideShow: "startSlideShow", stopSlideShow: "stopSlideShow", onActiveIndexChange: "onActiveIndexChange" }, standalone: false, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵNgOnChangesFeature], decls: 7, vars: 9, consts: [[1, "p-galleria-items"], ["type", "button", "role", "navigation", 3, "ngClass", "disabled", "click", "focus", "blur", 4, "ngIf"], ["role", "group", 1, "p-galleria-item", 3, "id"], ["type", "item", 1, "p-galleria-item", 3, "item", "templates"], ["class", "p-galleria-caption", 4, "ngIf"], ["class", "p-galleria-indicator-list", 4, "ngIf"], ["type", "button", "role", "navigation", 3, "click", "focus", "blur", "ngClass", "disabled"], [3, "styleClass", 4, "ngIf"], [4, "ngTemplateOutlet"], [3, "styleClass"], [1, "p-galleria-caption"], ["type", "caption", 3, "item", "templates"], [1, "p-galleria-indicator-list"], ["tabindex", "0", 3, "ngClass", "click", "mouseenter", "keydown", 4, "ngFor", "ngForOf"], ["tabindex", "0", 3, "click", "mouseenter", "keydown", "ngClass"], ["type", "button", "tabIndex", "-1", "class", "p-galleria-indicator-button", 4, "ngIf"], ["type", "indicator", 3, "index", "templates"], ["type", "button", "tabIndex", "-1", 1, "p-galleria-indicator-button"]], template: function GalleriaItem_Template(rf, ctx) { if (rf & 1) {
1975
- i0.ɵɵelementStart(0, "div", 0);
1976
- i0.ɵɵtemplate(1, GalleriaItem_button_1_Template, 3, 6, "button", 1);
1977
- i0.ɵɵelementStart(2, "div", 2);
1978
- i0.ɵɵelement(3, "p-galleriaItemSlot", 3);
1979
- i0.ɵɵelementEnd();
1980
- i0.ɵɵtemplate(4, GalleriaItem_button_4_Template, 3, 6, "button", 1)(5, GalleriaItem_div_5_Template, 2, 2, "div", 4);
1981
- i0.ɵɵelementEnd();
1982
- i0.ɵɵtemplate(6, GalleriaItem_ul_6_Template, 2, 1, "ul", 5);
1983
- } if (rf & 2) {
1984
- i0.ɵɵadvance();
1985
- i0.ɵɵproperty("ngIf", ctx.showItemNavigators);
1986
- i0.ɵɵadvance();
1987
- i0.ɵɵproperty("id", ctx.id + "_item_" + ctx.activeIndex);
1988
- i0.ɵɵattribute("aria-label", ctx.ariaSlideNumber(ctx.activeIndex + 1))("aria-roledescription", ctx.ariaSlideLabel());
1989
- i0.ɵɵadvance();
1990
- i0.ɵɵproperty("item", ctx.activeItem)("templates", ctx.templates);
1991
- i0.ɵɵadvance();
1992
- i0.ɵɵproperty("ngIf", ctx.showItemNavigators);
1993
- i0.ɵɵadvance();
1994
- i0.ɵɵproperty("ngIf", ctx.captionFacet || ctx.galleria.captionTemplate);
1995
- i0.ɵɵadvance();
1996
- i0.ɵɵproperty("ngIf", ctx.showIndicators);
1997
- } }, dependencies: () => [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, ChevronRightIcon, ChevronLeftIcon, GalleriaItemSlot], encapsulation: 2, changeDetection: 0 });
1998
- }
1999
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaItem, [{
2000
- type: Component,
2001
- args: [{
2002
- selector: 'p-galleriaItem',
2003
- standalone: false,
2004
- template: `
1668
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaItem, deps: [{ token: Galleria }], target: i0.ɵɵFactoryTarget.Component });
1669
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: GalleriaItem, isStandalone: false, selector: "p-galleriaItem", inputs: { id: "id", circular: ["circular", "circular", booleanAttribute], value: "value", showItemNavigators: ["showItemNavigators", "showItemNavigators", booleanAttribute], showIndicators: ["showIndicators", "showIndicators", booleanAttribute], slideShowActive: ["slideShowActive", "slideShowActive", booleanAttribute], changeItemOnIndicatorHover: ["changeItemOnIndicatorHover", "changeItemOnIndicatorHover", booleanAttribute], autoPlay: ["autoPlay", "autoPlay", booleanAttribute], templates: "templates", indicatorFacet: "indicatorFacet", captionFacet: "captionFacet", activeIndex: "activeIndex" }, outputs: { startSlideShow: "startSlideShow", stopSlideShow: "stopSlideShow", onActiveIndexChange: "onActiveIndexChange" }, host: { classAttribute: "p-galleria-items-container" }, usesOnChanges: true, ngImport: i0, template: `
1670
+ <div class="p-galleria-items">
1671
+ <button
1672
+ *ngIf="showItemNavigators"
1673
+ type="button"
1674
+ role="navigation"
1675
+ [ngClass]="{ 'p-galleria-prev-button p-galleria-nav-button': true, 'p-disabled': this.isNavBackwardDisabled() }"
1676
+ (click)="navBackward($event)"
1677
+ [disabled]="isNavBackwardDisabled()"
1678
+ (focus)="onButtonFocus('left')"
1679
+ (blur)="onButtonBlur('left')"
1680
+ >
1681
+ <ChevronLeftIcon *ngIf="!galleria.itemPreviousIconTemplate && !galleria._itemPreviousIconTemplate" [styleClass]="'p-galleria-prev-icon'" />
1682
+ <ng-template *ngTemplateOutlet="galleria.itemPreviousIconTemplate || galleria._itemPreviousIconTemplate"></ng-template>
1683
+ </button>
1684
+ <div [id]="id + '_item_' + activeIndex" role="group" class="p-galleria-item" [attr.aria-label]="ariaSlideNumber(activeIndex + 1)" [attr.aria-roledescription]="ariaSlideLabel()">
1685
+ <p-galleriaItemSlot type="item" [item]="activeItem" [templates]="templates" class="p-galleria-item"></p-galleriaItemSlot>
1686
+ </div>
1687
+ <button
1688
+ *ngIf="showItemNavigators"
1689
+ type="button"
1690
+ [ngClass]="{ 'p-galleria-next-button p-galleria-nav-button': true, 'p-disabled': this.isNavForwardDisabled() }"
1691
+ (click)="navForward($event)"
1692
+ [disabled]="isNavForwardDisabled()"
1693
+ role="navigation"
1694
+ (focus)="onButtonFocus('right')"
1695
+ (blur)="onButtonBlur('right')"
1696
+ >
1697
+ <ChevronRightIcon *ngIf="!galleria.itemNextIconTemplate && !galleria._itemNextIconTemplate" [styleClass]="'p-galleria-next-icon'" />
1698
+ <ng-template *ngTemplateOutlet="galleria.itemNextIconTemplate || galleria._itemNextIconTemplate"></ng-template>
1699
+ </button>
1700
+ <div class="p-galleria-caption" *ngIf="captionFacet || galleria.captionTemplate">
1701
+ <p-galleriaItemSlot type="caption" [item]="activeItem" [templates]="templates"></p-galleriaItemSlot>
1702
+ </div>
1703
+ </div>
1704
+ <ul *ngIf="showIndicators" class="p-galleria-indicator-list">
1705
+ <li
1706
+ *ngFor="let item of value; let index = index"
1707
+ tabindex="0"
1708
+ (click)="onIndicatorClick(index)"
1709
+ (mouseenter)="onIndicatorMouseEnter(index)"
1710
+ (keydown)="onIndicatorKeyDown($event, index)"
1711
+ [ngClass]="{ 'p-galleria-indicator': true, 'p-galleria-indicator-active': isIndicatorItemActive(index) }"
1712
+ [attr.aria-label]="ariaPageLabel(index + 1)"
1713
+ [attr.aria-selected]="activeIndex === index"
1714
+ [attr.aria-controls]="id + '_item_' + index"
1715
+ >
1716
+ <button type="button" tabIndex="-1" class="p-galleria-indicator-button" *ngIf="!indicatorFacet && !galleria.indicatorTemplate"></button>
1717
+ <p-galleriaItemSlot type="indicator" [index]="index" [templates]="templates"></p-galleriaItemSlot>
1718
+ </li>
1719
+ </ul>
1720
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronLeftIcon), selector: "ChevronLeftIcon" }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1721
+ }
1722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaItem, decorators: [{
1723
+ type: Component,
1724
+ args: [{
1725
+ selector: 'p-galleriaItem',
1726
+ standalone: false,
1727
+ template: `
2005
1728
  <div class="p-galleria-items">
2006
1729
  <button
2007
1730
  *ngIf="showItemNavigators"
@@ -2053,49 +1776,48 @@ class GalleriaItem {
2053
1776
  </li>
2054
1777
  </ul>
2055
1778
  `,
2056
- host: {
2057
- class: 'p-galleria-items-container'
2058
- },
2059
- changeDetection: ChangeDetectionStrategy.OnPush
2060
- }]
2061
- }], () => [{ type: Galleria }], { id: [{
2062
- type: Input
2063
- }], circular: [{
2064
- type: Input,
2065
- args: [{ transform: booleanAttribute }]
2066
- }], value: [{
2067
- type: Input
2068
- }], showItemNavigators: [{
2069
- type: Input,
2070
- args: [{ transform: booleanAttribute }]
2071
- }], showIndicators: [{
2072
- type: Input,
2073
- args: [{ transform: booleanAttribute }]
2074
- }], slideShowActive: [{
2075
- type: Input,
2076
- args: [{ transform: booleanAttribute }]
2077
- }], changeItemOnIndicatorHover: [{
2078
- type: Input,
2079
- args: [{ transform: booleanAttribute }]
2080
- }], autoPlay: [{
2081
- type: Input,
2082
- args: [{ transform: booleanAttribute }]
2083
- }], templates: [{
2084
- type: Input
2085
- }], indicatorFacet: [{
2086
- type: Input
2087
- }], captionFacet: [{
2088
- type: Input
2089
- }], startSlideShow: [{
2090
- type: Output
2091
- }], stopSlideShow: [{
2092
- type: Output
2093
- }], onActiveIndexChange: [{
2094
- type: Output
2095
- }], activeIndex: [{
2096
- type: Input
2097
- }] }); })();
2098
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GalleriaItem, { className: "GalleriaItem", filePath: "galleria.ts", lineNumber: 817 }); })();
1779
+ host: {
1780
+ class: 'p-galleria-items-container'
1781
+ },
1782
+ changeDetection: ChangeDetectionStrategy.OnPush
1783
+ }]
1784
+ }], ctorParameters: () => [{ type: Galleria }], propDecorators: { id: [{
1785
+ type: Input
1786
+ }], circular: [{
1787
+ type: Input,
1788
+ args: [{ transform: booleanAttribute }]
1789
+ }], value: [{
1790
+ type: Input
1791
+ }], showItemNavigators: [{
1792
+ type: Input,
1793
+ args: [{ transform: booleanAttribute }]
1794
+ }], showIndicators: [{
1795
+ type: Input,
1796
+ args: [{ transform: booleanAttribute }]
1797
+ }], slideShowActive: [{
1798
+ type: Input,
1799
+ args: [{ transform: booleanAttribute }]
1800
+ }], changeItemOnIndicatorHover: [{
1801
+ type: Input,
1802
+ args: [{ transform: booleanAttribute }]
1803
+ }], autoPlay: [{
1804
+ type: Input,
1805
+ args: [{ transform: booleanAttribute }]
1806
+ }], templates: [{
1807
+ type: Input
1808
+ }], indicatorFacet: [{
1809
+ type: Input
1810
+ }], captionFacet: [{
1811
+ type: Input
1812
+ }], startSlideShow: [{
1813
+ type: Output
1814
+ }], stopSlideShow: [{
1815
+ type: Output
1816
+ }], onActiveIndexChange: [{
1817
+ type: Output
1818
+ }], activeIndex: [{
1819
+ type: Input
1820
+ }] } });
2099
1821
  class GalleriaThumbnails {
2100
1822
  galleria;
2101
1823
  document;
@@ -2488,39 +2210,87 @@ class GalleriaThumbnails {
2488
2210
  ariaPageLabel(value) {
2489
2211
  return this.galleria.config.translation.aria ? this.galleria.config.translation.aria.pageLabel.replace(/{page}/g, value) : undefined;
2490
2212
  }
2491
- static ɵfac = function GalleriaThumbnails_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GalleriaThumbnails)(i0.ɵɵdirectiveInject(Galleria), i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
2492
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GalleriaThumbnails, selectors: [["p-galleriaThumbnails"]], viewQuery: function GalleriaThumbnails_Query(rf, ctx) { if (rf & 1) {
2493
- i0.ɵɵviewQuery(_c22, 5);
2494
- } if (rf & 2) {
2495
- let _t;
2496
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsContainer = _t.first);
2497
- } }, inputs: { containerId: "containerId", value: "value", isVertical: [2, "isVertical", "isVertical", booleanAttribute], slideShowActive: [2, "slideShowActive", "slideShowActive", booleanAttribute], circular: [2, "circular", "circular", booleanAttribute], responsiveOptions: "responsiveOptions", contentHeight: "contentHeight", showThumbnailNavigators: "showThumbnailNavigators", templates: "templates", numVisible: "numVisible", activeIndex: "activeIndex" }, outputs: { onActiveIndexChange: "onActiveIndexChange", stopSlideShow: "stopSlideShow" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], decls: 8, vars: 6, consts: [["itemsContainer", ""], [1, "p-galleria-thumbnails"], [1, "p-galleria-thumbnails-content"], ["type", "button", "pRipple", "", 3, "ngClass", "disabled", "click", 4, "ngIf"], [1, "p-galleria-thumbnails-viewport", 3, "ngStyle"], ["role", "tablist", 1, "p-galleria-thumbnail-items", 3, "transitionend", "touchstart", "touchmove"], [3, "ngClass", "keydown", 4, "ngFor", "ngForOf"], ["type", "button", "pRipple", "", 3, "click", "ngClass", "disabled"], [4, "ngIf"], [4, "ngTemplateOutlet"], [3, "styleClass", 4, "ngIf"], [3, "styleClass"], [3, "keydown", "ngClass"], [1, "p-galleria-thumbnail", 3, "click", "touchend", "keydown.enter"], ["type", "thumbnail", 3, "item", "templates"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"]], template: function GalleriaThumbnails_Template(rf, ctx) { if (rf & 1) {
2498
- const _r1 = i0.ɵɵgetCurrentView();
2499
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
2500
- i0.ɵɵtemplate(2, GalleriaThumbnails_button_2_Template, 3, 7, "button", 3);
2501
- i0.ɵɵelementStart(3, "div", 4)(4, "div", 5, 0);
2502
- i0.ɵɵlistener("transitionend", function GalleriaThumbnails_Template_div_transitionend_4_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onTransitionEnd()); })("touchstart", function GalleriaThumbnails_Template_div_touchstart_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onTouchStart($event)); })("touchmove", function GalleriaThumbnails_Template_div_touchmove_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onTouchMove($event)); });
2503
- i0.ɵɵtemplate(6, GalleriaThumbnails_div_6_Template, 3, 15, "div", 6);
2504
- i0.ɵɵelementEnd()();
2505
- i0.ɵɵtemplate(7, GalleriaThumbnails_button_7_Template, 3, 7, "button", 3);
2506
- i0.ɵɵelementEnd()();
2507
- } if (rf & 2) {
2508
- i0.ɵɵadvance(2);
2509
- i0.ɵɵproperty("ngIf", ctx.showThumbnailNavigators);
2510
- i0.ɵɵadvance();
2511
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c23, ctx.isVertical ? ctx.contentHeight : ""));
2512
- i0.ɵɵadvance(3);
2513
- i0.ɵɵproperty("ngForOf", ctx.value);
2514
- i0.ɵɵadvance();
2515
- i0.ɵɵproperty("ngIf", ctx.showThumbnailNavigators);
2516
- } }, dependencies: () => [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Ripple, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, GalleriaItemSlot], encapsulation: 2, changeDetection: 0 });
2517
- }
2518
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaThumbnails, [{
2519
- type: Component,
2520
- args: [{
2521
- selector: 'p-galleriaThumbnails',
2522
- standalone: false,
2523
- template: `
2213
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaThumbnails, deps: [{ token: Galleria }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2214
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: GalleriaThumbnails, isStandalone: false, selector: "p-galleriaThumbnails", inputs: { containerId: "containerId", value: "value", isVertical: ["isVertical", "isVertical", booleanAttribute], slideShowActive: ["slideShowActive", "slideShowActive", booleanAttribute], circular: ["circular", "circular", booleanAttribute], responsiveOptions: "responsiveOptions", contentHeight: "contentHeight", showThumbnailNavigators: "showThumbnailNavigators", templates: "templates", numVisible: "numVisible", activeIndex: "activeIndex" }, outputs: { onActiveIndexChange: "onActiveIndexChange", stopSlideShow: "stopSlideShow" }, viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true }], ngImport: i0, template: `
2215
+ <div class="p-galleria-thumbnails">
2216
+ <div class="p-galleria-thumbnails-content">
2217
+ <button
2218
+ *ngIf="showThumbnailNavigators"
2219
+ type="button"
2220
+ [ngClass]="{
2221
+ 'p-galleria-thumbnail-prev-button p-galleria-thumbnail-nav-button': true,
2222
+ 'p-disabled': this.isNavBackwardDisabled()
2223
+ }"
2224
+ (click)="navBackward($event)"
2225
+ [disabled]="isNavBackwardDisabled()"
2226
+ pRipple
2227
+ [attr.aria-label]="ariaPrevButtonLabel()"
2228
+ >
2229
+ <ng-container *ngIf="!galleria.previousThumbnailIconTemplate && !galleria._previousThumbnailIconTemplate">
2230
+ <ChevronLeftIcon *ngIf="!isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
2231
+ <ChevronUpIcon *ngIf="isVertical" [styleClass]="'p-galleria-thumbnail-prev-icon'" />
2232
+ </ng-container>
2233
+ <ng-template *ngTemplateOutlet="galleria.previousThumbnailIconTemplate || galleria._previousThumbnailIconTemplate"></ng-template>
2234
+ </button>
2235
+ <div class="p-galleria-thumbnails-viewport" [ngStyle]="{ height: isVertical ? contentHeight : '' }">
2236
+ <div #itemsContainer class="p-galleria-thumbnail-items" (transitionend)="onTransitionEnd()" (touchstart)="onTouchStart($event)" (touchmove)="onTouchMove($event)" role="tablist">
2237
+ <div
2238
+ *ngFor="let item of value; let index = index"
2239
+ [ngClass]="{
2240
+ 'p-galleria-thumbnail-item': true,
2241
+ 'p-galleria-thumbnail-item-current': activeIndex === index,
2242
+ 'p-galleria-thumbnail-item-active': isItemActive(index),
2243
+ 'p-galleria-thumbnail-item-start': firstItemAciveIndex() === index,
2244
+ 'p-galleria-thumbnail-item-end': lastItemActiveIndex() === index
2245
+ }"
2246
+ [attr.aria-selected]="activeIndex === index"
2247
+ [attr.aria-controls]="containerId + '_item_' + index"
2248
+ [attr.data-pc-section]="'thumbnailitem'"
2249
+ [attr.data-p-active]="activeIndex === index"
2250
+ (keydown)="onThumbnailKeydown($event, index)"
2251
+ >
2252
+ <div
2253
+ class="p-galleria-thumbnail"
2254
+ [attr.tabindex]="activeIndex === index ? 0 : -1"
2255
+ [attr.aria-current]="activeIndex === index ? 'page' : undefined"
2256
+ [attr.aria-label]="ariaPageLabel(index + 1)"
2257
+ (click)="onItemClick(index)"
2258
+ (touchend)="onItemClick(index)"
2259
+ (keydown.enter)="onItemClick(index)"
2260
+ >
2261
+ <p-galleriaItemSlot type="thumbnail" [item]="item" [templates]="templates"></p-galleriaItemSlot>
2262
+ </div>
2263
+ </div>
2264
+ </div>
2265
+ </div>
2266
+ <button
2267
+ *ngIf="showThumbnailNavigators"
2268
+ type="button"
2269
+ [ngClass]="{
2270
+ 'p-galleria-thumbnail-next-button p-galleria-thumbnail-nav-button': true,
2271
+ 'p-disabled': this.isNavForwardDisabled()
2272
+ }"
2273
+ (click)="navForward($event)"
2274
+ [disabled]="isNavForwardDisabled()"
2275
+ pRipple
2276
+ [attr.aria-label]="ariaNextButtonLabel()"
2277
+ >
2278
+ <ng-container *ngIf="!galleria.nextThumbnailIconTemplate && !galleria._nextThumbnailIconTemplate">
2279
+ <ChevronRightIcon *ngIf="!isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
2280
+ <ChevronDownIcon *ngIf="isVertical" [ngClass]="'p-galleria-thumbnail-next-icon'" />
2281
+ </ng-container>
2282
+ <ng-template *ngTemplateOutlet="galleria.nextThumbnailIconTemplate || galleria._nextThumbnailIconTemplate"></ng-template>
2283
+ </button>
2284
+ </div>
2285
+ </div>
2286
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => Ripple), selector: "[pRipple]" }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronUpIcon), selector: "ChevronUpIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "ChevronDownIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronLeftIcon), selector: "ChevronLeftIcon" }, { kind: "component", type: i0.forwardRef(() => GalleriaItemSlot), selector: "p-galleriaItemSlot", inputs: ["templates", "index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2287
+ }
2288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaThumbnails, decorators: [{
2289
+ type: Component,
2290
+ args: [{
2291
+ selector: 'p-galleriaThumbnails',
2292
+ standalone: false,
2293
+ template: `
2524
2294
  <div class="p-galleria-thumbnails">
2525
2295
  <div class="p-galleria-thumbnails-content">
2526
2296
  <button
@@ -2593,62 +2363,60 @@ class GalleriaThumbnails {
2593
2363
  </div>
2594
2364
  </div>
2595
2365
  `,
2596
- changeDetection: ChangeDetectionStrategy.OnPush
2597
- }]
2598
- }], () => [{ type: Galleria }, { type: Document, decorators: [{
2599
- type: Inject,
2600
- args: [DOCUMENT]
2601
- }] }, { type: undefined, decorators: [{
2602
- type: Inject,
2603
- args: [PLATFORM_ID]
2604
- }] }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], { containerId: [{
2605
- type: Input
2606
- }], value: [{
2607
- type: Input
2608
- }], isVertical: [{
2609
- type: Input,
2610
- args: [{ transform: booleanAttribute }]
2611
- }], slideShowActive: [{
2612
- type: Input,
2613
- args: [{ transform: booleanAttribute }]
2614
- }], circular: [{
2615
- type: Input,
2616
- args: [{ transform: booleanAttribute }]
2617
- }], responsiveOptions: [{
2618
- type: Input
2619
- }], contentHeight: [{
2620
- type: Input
2621
- }], showThumbnailNavigators: [{
2622
- type: Input
2623
- }], templates: [{
2624
- type: Input
2625
- }], onActiveIndexChange: [{
2626
- type: Output
2627
- }], stopSlideShow: [{
2628
- type: Output
2629
- }], itemsContainer: [{
2630
- type: ViewChild,
2631
- args: ['itemsContainer']
2632
- }], numVisible: [{
2633
- type: Input
2634
- }], activeIndex: [{
2635
- type: Input
2636
- }] }); })();
2637
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GalleriaThumbnails, { className: "GalleriaThumbnails", filePath: "galleria.ts", lineNumber: 1058 }); })();
2366
+ changeDetection: ChangeDetectionStrategy.OnPush
2367
+ }]
2368
+ }], ctorParameters: () => [{ type: Galleria }, { type: Document, decorators: [{
2369
+ type: Inject,
2370
+ args: [DOCUMENT]
2371
+ }] }, { type: undefined, decorators: [{
2372
+ type: Inject,
2373
+ args: [PLATFORM_ID]
2374
+ }] }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], propDecorators: { containerId: [{
2375
+ type: Input
2376
+ }], value: [{
2377
+ type: Input
2378
+ }], isVertical: [{
2379
+ type: Input,
2380
+ args: [{ transform: booleanAttribute }]
2381
+ }], slideShowActive: [{
2382
+ type: Input,
2383
+ args: [{ transform: booleanAttribute }]
2384
+ }], circular: [{
2385
+ type: Input,
2386
+ args: [{ transform: booleanAttribute }]
2387
+ }], responsiveOptions: [{
2388
+ type: Input
2389
+ }], contentHeight: [{
2390
+ type: Input
2391
+ }], showThumbnailNavigators: [{
2392
+ type: Input
2393
+ }], templates: [{
2394
+ type: Input
2395
+ }], onActiveIndexChange: [{
2396
+ type: Output
2397
+ }], stopSlideShow: [{
2398
+ type: Output
2399
+ }], itemsContainer: [{
2400
+ type: ViewChild,
2401
+ args: ['itemsContainer']
2402
+ }], numVisible: [{
2403
+ type: Input
2404
+ }], activeIndex: [{
2405
+ type: Input
2406
+ }] } });
2638
2407
  class GalleriaModule {
2639
- static ɵfac = function GalleriaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GalleriaModule)(); };
2640
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: GalleriaModule });
2641
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, SharedModule, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, CommonModule, SharedModule] });
2642
- }
2643
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GalleriaModule, [{
2644
- type: NgModule,
2645
- args: [{
2646
- imports: [CommonModule, SharedModule, Ripple, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrap],
2647
- exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule],
2648
- declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails]
2649
- }]
2650
- }], null, null); })();
2651
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(GalleriaModule, { declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails], imports: [CommonModule, SharedModule, Ripple, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrap], exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule] }); })();
2408
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2409
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: GalleriaModule, declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails], imports: [CommonModule, SharedModule, Ripple, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrap], exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule] });
2410
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaModule, imports: [CommonModule, SharedModule, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, CommonModule, SharedModule] });
2411
+ }
2412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: GalleriaModule, decorators: [{
2413
+ type: NgModule,
2414
+ args: [{
2415
+ imports: [CommonModule, SharedModule, Ripple, TimesIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronLeftIcon, WindowMaximizeIcon, WindowMinimizeIcon, FocusTrap],
2416
+ exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule],
2417
+ declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails]
2418
+ }]
2419
+ }] });
2652
2420
 
2653
2421
  /**
2654
2422
  * Generated bundle index. Do not edit.