primeng 22.1.0 → 22.1.1

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 (460) hide show
  1. package/fesm2022/primeng-accordion.mjs +69 -53
  2. package/fesm2022/primeng-accordion.mjs.map +1 -1
  3. package/fesm2022/primeng-animateonscroll.mjs +19 -10
  4. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/primeng-api.mjs +60 -59
  6. package/fesm2022/primeng-api.mjs.map +1 -1
  7. package/fesm2022/primeng-autocomplete.mjs +72 -33
  8. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  9. package/fesm2022/primeng-autofocus.mjs +7 -7
  10. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  11. package/fesm2022/primeng-avatar.mjs +13 -13
  12. package/fesm2022/primeng-avatar.mjs.map +1 -1
  13. package/fesm2022/primeng-avatargroup.mjs +13 -13
  14. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  15. package/fesm2022/primeng-badge.mjs +13 -13
  16. package/fesm2022/primeng-badge.mjs.map +1 -1
  17. package/fesm2022/primeng-base.mjs +12 -30
  18. package/fesm2022/primeng-base.mjs.map +1 -1
  19. package/fesm2022/primeng-basecomponent.mjs +12 -23
  20. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  21. package/fesm2022/primeng-baseeditableholder.mjs +8 -3
  22. package/fesm2022/primeng-baseeditableholder.mjs.map +1 -1
  23. package/fesm2022/primeng-baseinput.mjs +3 -3
  24. package/fesm2022/primeng-baseinput.mjs.map +1 -1
  25. package/fesm2022/primeng-basemodelholder.mjs +3 -3
  26. package/fesm2022/primeng-basemodelholder.mjs.map +1 -1
  27. package/fesm2022/primeng-bind.mjs +9 -8
  28. package/fesm2022/primeng-bind.mjs.map +1 -1
  29. package/fesm2022/primeng-blockui.mjs +10 -13
  30. package/fesm2022/primeng-blockui.mjs.map +1 -1
  31. package/fesm2022/primeng-breadcrumb.mjs +10 -10
  32. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  33. package/fesm2022/primeng-button.mjs +45 -38
  34. package/fesm2022/primeng-button.mjs.map +1 -1
  35. package/fesm2022/primeng-buttongroup.mjs +10 -10
  36. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  37. package/fesm2022/primeng-card.mjs +10 -10
  38. package/fesm2022/primeng-card.mjs.map +1 -1
  39. package/fesm2022/primeng-carousel.mjs +44 -45
  40. package/fesm2022/primeng-carousel.mjs.map +1 -1
  41. package/fesm2022/primeng-cascadeselect.mjs +111 -76
  42. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  43. package/fesm2022/primeng-chart.mjs +13 -13
  44. package/fesm2022/primeng-chart.mjs.map +1 -1
  45. package/fesm2022/primeng-checkbox.mjs +17 -19
  46. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  47. package/fesm2022/primeng-chip.mjs +13 -13
  48. package/fesm2022/primeng-chip.mjs.map +1 -1
  49. package/fesm2022/primeng-classnames.mjs +7 -7
  50. package/fesm2022/primeng-classnames.mjs.map +1 -1
  51. package/fesm2022/primeng-colorpicker.mjs +20 -20
  52. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  53. package/fesm2022/primeng-commandmenu.mjs +14 -16
  54. package/fesm2022/primeng-commandmenu.mjs.map +1 -1
  55. package/fesm2022/primeng-compare.mjs +20 -19
  56. package/fesm2022/primeng-compare.mjs.map +1 -1
  57. package/fesm2022/primeng-config.mjs +10 -10
  58. package/fesm2022/primeng-config.mjs.map +1 -1
  59. package/fesm2022/primeng-confirmdialog.mjs +23 -27
  60. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  61. package/fesm2022/primeng-confirmpopup.mjs +34 -47
  62. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  63. package/fesm2022/primeng-contextmenu.mjs +70 -39
  64. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  65. package/fesm2022/primeng-dataview.mjs +15 -14
  66. package/fesm2022/primeng-dataview.mjs.map +1 -1
  67. package/fesm2022/primeng-datepicker.mjs +100 -98
  68. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  69. package/fesm2022/primeng-dialog.mjs +47 -40
  70. package/fesm2022/primeng-dialog.mjs.map +1 -1
  71. package/fesm2022/primeng-divider.mjs +15 -17
  72. package/fesm2022/primeng-divider.mjs.map +1 -1
  73. package/fesm2022/primeng-dock.mjs +20 -14
  74. package/fesm2022/primeng-dock.mjs.map +1 -1
  75. package/fesm2022/primeng-dom.mjs +14 -8
  76. package/fesm2022/primeng-dom.mjs.map +1 -1
  77. package/fesm2022/primeng-dragdrop.mjs +11 -10
  78. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  79. package/fesm2022/primeng-drawer.mjs +26 -24
  80. package/fesm2022/primeng-drawer.mjs.map +1 -1
  81. package/fesm2022/primeng-dynamicdialog.mjs +82 -93
  82. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  83. package/fesm2022/primeng-editor.mjs +16 -15
  84. package/fesm2022/primeng-editor.mjs.map +1 -1
  85. package/fesm2022/primeng-fieldset.mjs +14 -17
  86. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  87. package/fesm2022/primeng-fileupload.mjs +26 -19
  88. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  89. package/fesm2022/primeng-floatlabel.mjs +13 -13
  90. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  91. package/fesm2022/primeng-fluid.mjs +11 -11
  92. package/fesm2022/primeng-fluid.mjs.map +1 -1
  93. package/fesm2022/primeng-focustrap.mjs +19 -19
  94. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  95. package/fesm2022/primeng-galleria.mjs +55 -51
  96. package/fesm2022/primeng-galleria.mjs.map +1 -1
  97. package/fesm2022/primeng-gallery.mjs +103 -105
  98. package/fesm2022/primeng-gallery.mjs.map +1 -1
  99. package/fesm2022/primeng-iconfield.mjs +13 -13
  100. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  101. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  102. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  103. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  104. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  105. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  106. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  107. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  108. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  109. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  110. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  111. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  112. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  113. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  114. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  115. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  116. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  117. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  118. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  119. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  120. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  121. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  122. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  123. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  124. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  125. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  126. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  127. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  128. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  129. package/fesm2022/primeng-icons-ban.mjs +3 -3
  130. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  131. package/fesm2022/primeng-icons-bars.mjs +3 -3
  132. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  133. package/fesm2022/primeng-icons-baseicon.mjs +6 -6
  134. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  135. package/fesm2022/primeng-icons-blank.mjs +3 -3
  136. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  137. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  138. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  139. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  140. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  141. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  142. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  143. package/fesm2022/primeng-icons-check.mjs +3 -3
  144. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  145. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  146. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  147. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  148. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  149. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  150. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  151. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  152. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  153. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  154. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  155. package/fesm2022/primeng-icons-eye.mjs +3 -3
  156. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  157. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  158. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  159. package/fesm2022/primeng-icons-filter.mjs +3 -3
  160. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  161. package/fesm2022/primeng-icons-filterfill.mjs +3 -3
  162. package/fesm2022/primeng-icons-filterfill.mjs.map +1 -1
  163. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  164. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  165. package/fesm2022/primeng-icons-home.mjs +3 -3
  166. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  167. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  168. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  169. package/fesm2022/primeng-icons-minus.mjs +3 -3
  170. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  171. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  172. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  173. package/fesm2022/primeng-icons-plus.mjs +3 -3
  174. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  175. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  176. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  177. package/fesm2022/primeng-icons-search.mjs +3 -3
  178. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  179. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  180. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  181. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  182. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  183. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  184. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  185. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  186. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  187. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  188. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  189. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  190. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  191. package/fesm2022/primeng-icons-star.mjs +3 -3
  192. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  193. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  194. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  195. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  196. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  197. package/fesm2022/primeng-icons-times.mjs +3 -3
  198. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  199. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  200. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  201. package/fesm2022/primeng-icons-trash.mjs +3 -3
  202. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  203. package/fesm2022/primeng-icons-undo.mjs +3 -3
  204. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  205. package/fesm2022/primeng-icons-upload.mjs +3 -3
  206. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  207. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  208. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  209. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  210. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  211. package/fesm2022/primeng-iftalabel.mjs +10 -10
  212. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  213. package/fesm2022/primeng-image.mjs +21 -23
  214. package/fesm2022/primeng-image.mjs.map +1 -1
  215. package/fesm2022/primeng-imagecompare.mjs +10 -10
  216. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  217. package/fesm2022/primeng-inplace.mjs +16 -16
  218. package/fesm2022/primeng-inplace.mjs.map +1 -1
  219. package/fesm2022/primeng-inputcolor.mjs +55 -46
  220. package/fesm2022/primeng-inputcolor.mjs.map +1 -1
  221. package/fesm2022/primeng-inputgroup.mjs +10 -10
  222. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  223. package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
  224. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  225. package/fesm2022/primeng-inputicon.mjs +10 -10
  226. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  227. package/fesm2022/primeng-inputmask.mjs +27 -19
  228. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  229. package/fesm2022/primeng-inputnumber.mjs +21 -21
  230. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  231. package/fesm2022/primeng-inputotp.mjs +15 -14
  232. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  233. package/fesm2022/primeng-inputpassword.mjs +13 -15
  234. package/fesm2022/primeng-inputpassword.mjs.map +1 -1
  235. package/fesm2022/primeng-inputtags.mjs +10 -10
  236. package/fesm2022/primeng-inputtags.mjs.map +1 -1
  237. package/fesm2022/primeng-inputtext.mjs +18 -13
  238. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  239. package/fesm2022/primeng-keyfilter.mjs +13 -12
  240. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  241. package/fesm2022/primeng-knob.mjs +15 -13
  242. package/fesm2022/primeng-knob.mjs.map +1 -1
  243. package/fesm2022/primeng-label.mjs +10 -10
  244. package/fesm2022/primeng-label.mjs.map +1 -1
  245. package/fesm2022/primeng-license.mjs.map +1 -1
  246. package/fesm2022/primeng-listbox.mjs +67 -52
  247. package/fesm2022/primeng-listbox.mjs.map +1 -1
  248. package/fesm2022/primeng-megamenu.mjs +51 -31
  249. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  250. package/fesm2022/primeng-menu.mjs +48 -45
  251. package/fesm2022/primeng-menu.mjs.map +1 -1
  252. package/fesm2022/primeng-menubar.mjs +60 -38
  253. package/fesm2022/primeng-menubar.mjs.map +1 -1
  254. package/fesm2022/primeng-message.mjs +25 -29
  255. package/fesm2022/primeng-message.mjs.map +1 -1
  256. package/fesm2022/primeng-metergroup.mjs +16 -16
  257. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  258. package/fesm2022/primeng-motion.mjs +18 -18
  259. package/fesm2022/primeng-motion.mjs.map +1 -1
  260. package/fesm2022/primeng-multiselect.mjs +184 -150
  261. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  262. package/fesm2022/primeng-orderlist.mjs +14 -28
  263. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  264. package/fesm2022/primeng-organizationchart.mjs +16 -18
  265. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  266. package/fesm2022/primeng-overlay.mjs +48 -34
  267. package/fesm2022/primeng-overlay.mjs.map +1 -1
  268. package/fesm2022/primeng-overlaybadge.mjs +10 -10
  269. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  270. package/fesm2022/primeng-paginator.mjs +16 -16
  271. package/fesm2022/primeng-paginator.mjs.map +1 -1
  272. package/fesm2022/primeng-panel.mjs +20 -24
  273. package/fesm2022/primeng-panel.mjs.map +1 -1
  274. package/fesm2022/primeng-panelmenu.mjs +62 -30
  275. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  276. package/fesm2022/primeng-passthrough.mjs +5 -7
  277. package/fesm2022/primeng-passthrough.mjs.map +1 -1
  278. package/fesm2022/primeng-password.mjs +39 -31
  279. package/fesm2022/primeng-password.mjs.map +1 -1
  280. package/fesm2022/primeng-picklist.mjs +23 -20
  281. package/fesm2022/primeng-picklist.mjs.map +1 -1
  282. package/fesm2022/primeng-popover.mjs +23 -21
  283. package/fesm2022/primeng-popover.mjs.map +1 -1
  284. package/fesm2022/primeng-progressbar.mjs +13 -13
  285. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  286. package/fesm2022/primeng-progressspinner.mjs +10 -10
  287. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  288. package/fesm2022/primeng-radiobutton.mjs +17 -19
  289. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  290. package/fesm2022/primeng-rating.mjs +13 -13
  291. package/fesm2022/primeng-rating.mjs.map +1 -1
  292. package/fesm2022/primeng-ripple.mjs +31 -17
  293. package/fesm2022/primeng-ripple.mjs.map +1 -1
  294. package/fesm2022/primeng-scrollarea.mjs +25 -25
  295. package/fesm2022/primeng-scrollarea.mjs.map +1 -1
  296. package/fesm2022/primeng-scroller.mjs +65 -29
  297. package/fesm2022/primeng-scroller.mjs.map +1 -1
  298. package/fesm2022/primeng-scrollpanel.mjs +52 -26
  299. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  300. package/fesm2022/primeng-scrolltop.mjs +18 -19
  301. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  302. package/fesm2022/primeng-select.mjs +102 -51
  303. package/fesm2022/primeng-select.mjs.map +1 -1
  304. package/fesm2022/primeng-selectbutton.mjs +10 -10
  305. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  306. package/fesm2022/primeng-sidebar.mjs +143 -140
  307. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  308. package/fesm2022/primeng-skeleton.mjs +10 -10
  309. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  310. package/fesm2022/primeng-slider.mjs +22 -22
  311. package/fesm2022/primeng-slider.mjs.map +1 -1
  312. package/fesm2022/primeng-speeddial.mjs +30 -17
  313. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  314. package/fesm2022/primeng-splitbutton.mjs +18 -19
  315. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  316. package/fesm2022/primeng-splitter.mjs +20 -23
  317. package/fesm2022/primeng-splitter.mjs.map +1 -1
  318. package/fesm2022/primeng-stepper.mjs +64 -68
  319. package/fesm2022/primeng-stepper.mjs.map +1 -1
  320. package/fesm2022/primeng-steps.mjs +150 -127
  321. package/fesm2022/primeng-steps.mjs.map +1 -1
  322. package/fesm2022/primeng-styleclass.mjs +13 -9
  323. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  324. package/fesm2022/primeng-table.mjs +213 -190
  325. package/fesm2022/primeng-table.mjs.map +1 -1
  326. package/fesm2022/primeng-tabs.mjs +66 -50
  327. package/fesm2022/primeng-tabs.mjs.map +1 -1
  328. package/fesm2022/primeng-tag.mjs +10 -10
  329. package/fesm2022/primeng-tag.mjs.map +1 -1
  330. package/fesm2022/primeng-terminal.mjs +13 -13
  331. package/fesm2022/primeng-terminal.mjs.map +1 -1
  332. package/fesm2022/primeng-textarea.mjs +16 -12
  333. package/fesm2022/primeng-textarea.mjs.map +1 -1
  334. package/fesm2022/primeng-tieredmenu.mjs +65 -34
  335. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  336. package/fesm2022/primeng-timeline.mjs +13 -13
  337. package/fesm2022/primeng-timeline.mjs.map +1 -1
  338. package/fesm2022/primeng-toast.mjs +115 -121
  339. package/fesm2022/primeng-toast.mjs.map +1 -1
  340. package/fesm2022/primeng-togglebutton.mjs +10 -10
  341. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  342. package/fesm2022/primeng-toggleswitch.mjs +10 -10
  343. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  344. package/fesm2022/primeng-toolbar.mjs +16 -16
  345. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  346. package/fesm2022/primeng-tooltip.mjs +27 -14
  347. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  348. package/fesm2022/primeng-tree.mjs +55 -66
  349. package/fesm2022/primeng-tree.mjs.map +1 -1
  350. package/fesm2022/primeng-treeselect.mjs +28 -16
  351. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  352. package/fesm2022/primeng-treetable.mjs +139 -127
  353. package/fesm2022/primeng-treetable.mjs.map +1 -1
  354. package/fesm2022/primeng-usestyle.mjs +10 -6
  355. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  356. package/fesm2022/primeng-utils.mjs +13 -22
  357. package/fesm2022/primeng-utils.mjs.map +1 -1
  358. package/package.json +2 -2
  359. package/types/primeng-accordion.d.ts +27 -29
  360. package/types/primeng-api.d.ts +7 -1
  361. package/types/primeng-autocomplete.d.ts +64 -66
  362. package/types/primeng-avatar.d.ts +19 -21
  363. package/types/primeng-avatargroup.d.ts +9 -11
  364. package/types/primeng-badge.d.ts +15 -17
  365. package/types/primeng-basecomponent.d.ts +1 -1
  366. package/types/primeng-button.d.ts +34 -36
  367. package/types/primeng-buttongroup.d.ts +9 -11
  368. package/types/primeng-card.d.ts +16 -18
  369. package/types/primeng-carousel.d.ts +67 -69
  370. package/types/primeng-cascadeselect.d.ts +69 -71
  371. package/types/primeng-chart.d.ts +15 -17
  372. package/types/primeng-checkbox.d.ts +22 -24
  373. package/types/primeng-chip.d.ts +25 -27
  374. package/types/primeng-colorpicker.d.ts +31 -33
  375. package/types/primeng-commandmenu.d.ts +1 -1
  376. package/types/primeng-compare.d.ts +17 -19
  377. package/types/primeng-config.d.ts +1 -1
  378. package/types/primeng-confirmdialog.d.ts +14 -16
  379. package/types/primeng-confirmpopup.d.ts +23 -29
  380. package/types/primeng-contextmenu.d.ts +36 -38
  381. package/types/primeng-dataview.d.ts +25 -27
  382. package/types/primeng-datepicker.d.ts +107 -109
  383. package/types/primeng-dialog.d.ts +39 -41
  384. package/types/primeng-divider.d.ts +18 -20
  385. package/types/primeng-dock.d.ts +26 -28
  386. package/types/primeng-drawer.d.ts +30 -32
  387. package/types/primeng-dynamicdialog.d.ts +52 -56
  388. package/types/primeng-editor.d.ts +17 -19
  389. package/types/primeng-fieldset.d.ts +20 -22
  390. package/types/primeng-fileupload.d.ts +27 -29
  391. package/types/primeng-floatlabel.d.ts +15 -17
  392. package/types/primeng-fluid.d.ts +9 -11
  393. package/types/primeng-galleria.d.ts +69 -71
  394. package/types/primeng-gallery.d.ts +6 -6
  395. package/types/primeng-iconfield.d.ts +10 -12
  396. package/types/primeng-icons-baseicon.d.ts +6 -8
  397. package/types/primeng-iftalabel.d.ts +9 -11
  398. package/types/primeng-image.d.ts +31 -33
  399. package/types/primeng-imagecompare.d.ts +10 -12
  400. package/types/primeng-inplace.d.ts +15 -17
  401. package/types/primeng-inputcolor.d.ts +27 -29
  402. package/types/primeng-inputgroup.d.ts +13 -15
  403. package/types/primeng-inputmask.d.ts +15 -17
  404. package/types/primeng-inputnumber.d.ts +35 -37
  405. package/types/primeng-inputotp.d.ts +11 -13
  406. package/types/primeng-inputpassword.d.ts +9 -12
  407. package/types/primeng-inputtags.d.ts +13 -15
  408. package/types/primeng-inputtext.d.ts +14 -16
  409. package/types/primeng-knob.d.ts +17 -19
  410. package/types/primeng-label.d.ts +9 -11
  411. package/types/primeng-listbox.d.ts +4 -4
  412. package/types/primeng-megamenu.d.ts +52 -54
  413. package/types/primeng-menu.d.ts +40 -42
  414. package/types/primeng-menubar.d.ts +1 -1
  415. package/types/primeng-message.d.ts +20 -22
  416. package/types/primeng-metergroup.d.ts +27 -29
  417. package/types/primeng-motion.d.ts +1 -3
  418. package/types/primeng-multiselect.d.ts +104 -106
  419. package/types/primeng-orderlist.d.ts +16 -18
  420. package/types/primeng-organizationchart.d.ts +21 -23
  421. package/types/primeng-overlay.d.ts +1 -1
  422. package/types/primeng-paginator.d.ts +48 -52
  423. package/types/primeng-panelmenu.d.ts +45 -47
  424. package/types/primeng-password.d.ts +47 -49
  425. package/types/primeng-picklist.d.ts +16 -18
  426. package/types/primeng-popover.d.ts +3 -3
  427. package/types/primeng-progressbar.d.ts +17 -19
  428. package/types/primeng-progressspinner.d.ts +13 -15
  429. package/types/primeng-radiobutton.d.ts +22 -24
  430. package/types/primeng-rating.d.ts +26 -28
  431. package/types/primeng-ripple.d.ts +9 -11
  432. package/types/primeng-scrollarea.d.ts +34 -36
  433. package/types/primeng-scroller.d.ts +28 -30
  434. package/types/primeng-scrollpanel.d.ts +15 -17
  435. package/types/primeng-scrolltop.d.ts +17 -19
  436. package/types/primeng-select.d.ts +56 -58
  437. package/types/primeng-selectbutton.d.ts +14 -16
  438. package/types/primeng-sidebar.d.ts +33 -35
  439. package/types/primeng-skeleton.d.ts +14 -16
  440. package/types/primeng-slider.d.ts +34 -36
  441. package/types/primeng-speeddial.d.ts +39 -41
  442. package/types/primeng-splitbutton.d.ts +20 -22
  443. package/types/primeng-splitter.d.ts +15 -17
  444. package/types/primeng-stepper.d.ts +19 -31
  445. package/types/primeng-steps.d.ts +25 -27
  446. package/types/primeng-table.d.ts +17 -18
  447. package/types/primeng-tabs.d.ts +13 -23
  448. package/types/primeng-tag.d.ts +21 -23
  449. package/types/primeng-terminal.d.ts +17 -19
  450. package/types/primeng-textarea.d.ts +14 -16
  451. package/types/primeng-tieredmenu.d.ts +43 -45
  452. package/types/primeng-timeline.d.ts +18 -20
  453. package/types/primeng-toast.d.ts +48 -50
  454. package/types/primeng-togglebutton.d.ts +23 -25
  455. package/types/primeng-toggleswitch.d.ts +22 -24
  456. package/types/primeng-toolbar.d.ts +14 -16
  457. package/types/primeng-tooltip.d.ts +23 -25
  458. package/types/primeng-tree.d.ts +52 -54
  459. package/types/primeng-treeselect.d.ts +52 -48
  460. package/types/primeng-treetable.d.ts +109 -111
@@ -13,10 +13,10 @@ const classes = {
13
13
  class FluidStyle extends BaseStyle {
14
14
  name = 'fluid';
15
15
  classes = classes;
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
17
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidStyle });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
17
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidStyle });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidStyle, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidStyle, decorators: [{
20
20
  type: Injectable
21
21
  }] });
22
22
  /**
@@ -45,14 +45,14 @@ class Fluid extends BaseComponent {
45
45
  componentName = 'Fluid';
46
46
  $pcFluid = inject(FLUID_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
47
47
  bindDirectiveInstance = inject(Bind, { self: true });
48
+ _componentStyle = inject(FluidStyle);
48
49
  onAfterViewChecked() {
49
50
  this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
50
51
  }
51
- _componentStyle = inject(FluidStyle);
52
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: Fluid, deps: null, target: i0.ɵɵFactoryTarget.Component });
53
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: Fluid, isStandalone: true, selector: "p-fluid", host: { properties: { "class": "cx('root')" } }, providers: [FluidStyle, { provide: FLUID_INSTANCE, useExisting: Fluid }, { provide: PARENT_INSTANCE, useExisting: Fluid }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Fluid, deps: null, target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.5", type: Fluid, isStandalone: true, selector: "p-fluid", host: { properties: { "class": "cx('root')" } }, providers: [FluidStyle, { provide: FLUID_INSTANCE, useExisting: Fluid }, { provide: PARENT_INSTANCE, useExisting: Fluid }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: Fluid, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Fluid, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  selector: 'p-fluid',
@@ -69,11 +69,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
69
69
  }]
70
70
  }] });
71
71
  class FluidModule {
72
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: FluidModule, imports: [Fluid], exports: [Fluid] });
74
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidModule, imports: [Fluid] });
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.5", ngImport: i0, type: FluidModule, imports: [Fluid], exports: [Fluid] });
74
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidModule, imports: [Fluid] });
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FluidModule, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FluidModule, decorators: [{
77
77
  type: NgModule,
78
78
  args: [{
79
79
  imports: [Fluid],
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-fluid.mjs","sources":["../../src/fluid/style/fluidstyle.ts","../../src/fluid/fluid.ts","../../src/fluid/primeng-fluid.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: 'p-fluid'\n};\n\n@Injectable()\nexport class FluidStyle extends BaseStyle {\n name = 'fluid';\n\n classes = classes;\n}\n\n/**\n *\n * Fluid is a layout component to make descendant components span full width of their container.\n *\n * [Live Demo](https://www.primeng.org/fluid/)\n *\n * @module fluidstyle\n *\n */\nexport enum FluidClasses {\n /**\n * Class name of the root element\n */\n root = 'p-fluid'\n}\n\nexport interface FluidStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, InjectionToken, NgModule, ViewEncapsulation } from '@angular/core';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind } from 'primeng/bind';\nimport { FluidPassThrough } from 'primeng/types/fluid';\nimport { FluidStyle } from './style/fluidstyle';\n\nconst FLUID_INSTANCE = new InjectionToken<Fluid>('FLUID_INSTANCE');\n\n/**\n * Fluid is a layout component to make descendant components span full width of their container.\n * @group Components\n */\n@Component({\n selector: 'p-fluid',\n template: ` <ng-content></ng-content> `,\n standalone: true,\n imports: [CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [FluidStyle, { provide: FLUID_INSTANCE, useExisting: Fluid }, { provide: PARENT_INSTANCE, useExisting: Fluid }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Fluid extends BaseComponent<FluidPassThrough> {\n componentName = 'Fluid';\n\n $pcFluid: Fluid | undefined = inject(FLUID_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n _componentStyle = inject(FluidStyle);\n}\n\n@NgModule({\n imports: [Fluid],\n exports: [Fluid]\n})\nexport class FluidModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAGA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE;CACT;AAGK,MAAO,UAAW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A,EAAA,CAAL,KAAK,CAAA,EAAA,CAAA;AAkBL,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAHV,KAAK,CAAA,EAAA,CAAA;;2FAGN,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,KAAK,CAAC;oBAChB,OAAO,EAAE,CAAC,KAAK;AAClB,iBAAA;;;AC3CD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-fluid.mjs","sources":["../../src/fluid/style/fluidstyle.ts","../../src/fluid/fluid.ts","../../src/fluid/primeng-fluid.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: 'p-fluid'\n};\n\n@Injectable()\nexport class FluidStyle extends BaseStyle {\n name = 'fluid';\n\n classes = classes;\n}\n\n/**\n *\n * Fluid is a layout component to make descendant components span full width of their container.\n *\n * [Live Demo](https://www.primeng.org/fluid/)\n *\n * @module fluidstyle\n *\n */\nexport enum FluidClasses {\n /**\n * Class name of the root element\n */\n root = 'p-fluid'\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, InjectionToken, NgModule, ViewEncapsulation } from '@angular/core';\nimport { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';\nimport { Bind } from 'primeng/bind';\nimport { FluidPassThrough } from 'primeng/types/fluid';\nimport { FluidStyle } from './style/fluidstyle';\n\nconst FLUID_INSTANCE = new InjectionToken<Fluid>('FLUID_INSTANCE');\n\n/**\n * Fluid is a layout component to make descendant components span full width of their container.\n * @group Components\n */\n@Component({\n selector: 'p-fluid',\n template: ` <ng-content></ng-content> `,\n standalone: true,\n imports: [CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [FluidStyle, { provide: FLUID_INSTANCE, useExisting: Fluid }, { provide: PARENT_INSTANCE, useExisting: Fluid }],\n host: {\n '[class]': \"cx('root')\"\n },\n hostDirectives: [Bind]\n})\nexport class Fluid extends BaseComponent<FluidPassThrough> {\n componentName = 'Fluid';\n\n $pcFluid: Fluid | undefined = inject(FLUID_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n _componentStyle = inject(FluidStyle);\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n}\n\n@NgModule({\n imports: [Fluid],\n exports: [Fluid]\n})\nexport class FluidModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAGA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE;CACT;AAGK,MAAO,UAAW,SAAQ,SAAS,CAAA;IACrC,IAAI,GAAG,OAAO;IAEd,OAAO,GAAG,OAAO;uGAHR,UAAU,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAV,UAAU,EAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBADtB;;AAOD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,YAAY,EAAA;AACpB;;AAEG;AACH,IAAA,YAAA,CAAA,MAAA,CAAA,GAAA,SAAgB;AACpB,CAAC,EALW,YAAY,KAAZ,YAAY,GAAA,EAAA,CAAA,CAAA;;AChBxB,MAAM,cAAc,GAAG,IAAI,cAAc,CAAQ,gBAAgB,CAAC;AAElE;;;AAGG;AAcG,MAAO,KAAM,SAAQ,aAA+B,CAAA;IACtD,aAAa,GAAG,OAAO;AAEvB,IAAA,QAAQ,GAAsB,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EA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2BAAA,CAA6B;AACvC,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,SAAS,EAAE,CAAC,UAAU,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAA,KAAO,EAAE,CAAC;AAC1H,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE;AACd,qBAAA;oBACD,cAAc,EAAE,CAAC,IAAI;AACxB,iBAAA;;MAmBY,WAAW,CAAA;uGAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAX,WAAW,EAAA,OAAA,EAAA,CAlBX,KAAK,CAAA,EAAA,OAAA,EAAA,CAAL,KAAK,CAAA,EAAA,CAAA;AAkBL,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAHV,KAAK,CAAA,EAAA,CAAA;;2FAGN,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,KAAK,CAAC;oBAChB,OAAO,EAAE,CAAC,KAAK;AAClB,iBAAA;;;AC3CD;;AAEG;;"}
@@ -32,7 +32,9 @@ class FocusTrap extends BaseComponent {
32
32
  }
33
33
  onInit() {
34
34
  if (isPlatformBrowser(this.platformId) && !this.pFocusTrapDisabled()) {
35
- !this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement && this.createHiddenFocusableElements();
35
+ if (!this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement) {
36
+ this.createHiddenFocusableElements();
37
+ }
36
38
  }
37
39
  }
38
40
  removeHiddenFocusableElements() {
@@ -50,17 +52,15 @@ class FocusTrap extends BaseComponent {
50
52
  }
51
53
  createHiddenFocusableElements() {
52
54
  const tabindex = '0';
53
- const createFocusableElement = (onFocus) => {
54
- return createElement('span', {
55
- class: 'p-hidden-accessible p-hidden-focusable',
56
- tabindex,
57
- role: 'presentation',
58
- 'aria-hidden': true,
59
- 'data-p-hidden-accessible': true,
60
- 'data-p-hidden-focusable': true,
61
- onFocus: onFocus?.bind(this)
62
- });
63
- };
55
+ const createFocusableElement = (onFocus) => createElement('span', {
56
+ class: 'p-hidden-accessible p-hidden-focusable',
57
+ tabindex,
58
+ role: 'presentation',
59
+ 'aria-hidden': true,
60
+ 'data-p-hidden-accessible': true,
61
+ 'data-p-hidden-focusable': true,
62
+ onFocus: onFocus?.bind(this)
63
+ });
64
64
  this.firstHiddenFocusableElement = createFocusableElement(this.onFirstHiddenElementFocus);
65
65
  this.lastHiddenFocusableElement = createFocusableElement(this.onLastHiddenElementFocus);
66
66
  this.firstHiddenFocusableElement.setAttribute('data-pc-section', 'firstfocusableelement');
@@ -82,10 +82,10 @@ class FocusTrap extends BaseComponent {
82
82
  : this.firstHiddenFocusableElement;
83
83
  focus(focusableElement);
84
84
  }
85
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FocusTrap, deps: [], target: i0.ɵɵFactoryTarget.Directive });
86
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: FocusTrap, isStandalone: true, selector: "[pFocusTrap]", inputs: { pFocusTrapDisabled: { classPropertyName: "pFocusTrapDisabled", publicName: "pFocusTrapDisabled", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
85
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FocusTrap, deps: [], target: i0.ɵɵFactoryTarget.Directive });
86
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: FocusTrap, isStandalone: true, selector: "[pFocusTrap]", inputs: { pFocusTrapDisabled: { classPropertyName: "pFocusTrapDisabled", publicName: "pFocusTrapDisabled", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FocusTrap, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FocusTrap, decorators: [{
89
89
  type: Directive,
90
90
  args: [{
91
91
  selector: '[pFocusTrap]',
@@ -93,11 +93,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
93
93
  }]
94
94
  }], ctorParameters: () => [], propDecorators: { pFocusTrapDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pFocusTrapDisabled", required: false }] }] } });
95
95
  class FocusTrapModule {
96
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FocusTrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: FocusTrapModule, imports: [FocusTrap], exports: [FocusTrap] });
98
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FocusTrapModule });
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FocusTrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
97
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.5", ngImport: i0, type: FocusTrapModule, imports: [FocusTrap], exports: [FocusTrap] });
98
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FocusTrapModule });
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: FocusTrapModule, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FocusTrapModule, decorators: [{
101
101
  type: NgModule,
102
102
  args: [{
103
103
  imports: [FocusTrap],
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-focustrap.mjs","sources":["../../src/focustrap/focustrap.ts","../../src/focustrap/primeng-focustrap.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { booleanAttribute, Directive, effect, input, NgModule } from '@angular/core';\nimport { createElement, focus, getFirstFocusableElement, getLastFocusableElement } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\n\n/**\n * Focus Trap keeps focus within a certain DOM element while tabbing.\n * @group Components\n */\n@Directive({\n selector: '[pFocusTrap]',\n standalone: true\n})\nexport class FocusTrap extends BaseComponent {\n /**\n * When set as true, focus wouldn't be managed.\n * @group Props\n */\n pFocusTrapDisabled = input(false, { transform: booleanAttribute });\n\n firstHiddenFocusableElement!: HTMLElement;\n\n lastHiddenFocusableElement!: HTMLElement;\n\n constructor() {\n super();\n\n effect(() => {\n const disabled = this.pFocusTrapDisabled();\n if (isPlatformBrowser(this.platformId)) {\n if (disabled) {\n this.removeHiddenFocusableElements();\n } else if (!this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement) {\n this.createHiddenFocusableElements();\n }\n }\n });\n }\n\n onInit() {\n if (isPlatformBrowser(this.platformId) && !this.pFocusTrapDisabled()) {\n !this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement && this.createHiddenFocusableElements();\n }\n }\n\n removeHiddenFocusableElements() {\n if (this.firstHiddenFocusableElement && this.firstHiddenFocusableElement.parentNode) {\n this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement);\n }\n\n if (this.lastHiddenFocusableElement && this.lastHiddenFocusableElement.parentNode) {\n this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement);\n }\n\n this.firstHiddenFocusableElement = null!;\n this.lastHiddenFocusableElement = null!;\n }\n\n getComputedSelector(selector: string | null) {\n return `:not(.p-hidden-focusable):not([data-p-hidden-focusable=\"true\"])${selector ?? ''}`;\n }\n\n createHiddenFocusableElements() {\n const tabindex = '0';\n\n const createFocusableElement = (onFocus: (event: FocusEvent) => void) => {\n return createElement('span', {\n class: 'p-hidden-accessible p-hidden-focusable',\n tabindex,\n role: 'presentation',\n 'aria-hidden': true,\n 'data-p-hidden-accessible': true,\n 'data-p-hidden-focusable': true,\n onFocus: onFocus?.bind(this)\n }) as HTMLElement;\n };\n\n this.firstHiddenFocusableElement = createFocusableElement(this.onFirstHiddenElementFocus);\n this.lastHiddenFocusableElement = createFocusableElement(this.onLastHiddenElementFocus);\n\n this.firstHiddenFocusableElement.setAttribute('data-pc-section', 'firstfocusableelement');\n this.lastHiddenFocusableElement.setAttribute('data-pc-section', 'lastfocusableelement');\n\n this.el.nativeElement.prepend(this.firstHiddenFocusableElement);\n this.el.nativeElement.append(this.lastHiddenFocusableElement);\n }\n\n onFirstHiddenElementFocus(event: FocusEvent) {\n const { currentTarget, relatedTarget } = event;\n const focusableElement =\n relatedTarget === this.lastHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget as Node)\n ? getFirstFocusableElement((currentTarget as HTMLElement).parentElement!, ':not(.p-hidden-focusable)')\n : this.lastHiddenFocusableElement;\n\n focus(focusableElement as HTMLElement);\n }\n\n onLastHiddenElementFocus(event: FocusEvent) {\n const { currentTarget, relatedTarget } = event;\n const focusableElement =\n relatedTarget === this.firstHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget as Node)\n ? getLastFocusableElement((currentTarget as HTMLElement).parentElement!, ':not(.p-hidden-focusable)')\n : this.firstHiddenFocusableElement;\n\n focus(focusableElement as HTMLElement);\n }\n}\n\n@NgModule({\n imports: [FocusTrap],\n exports: [FocusTrap]\n})\nexport class FocusTrapModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;AAKG,MAAO,SAAU,SAAQ,aAAa,CAAA;AACxC;;;AAGG;IACH,kBAAkB,GAAG,KAAK,CAAC,KAAK,0FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAElE,IAAA,2BAA2B;AAE3B,IAAA,0BAA0B;AAE1B,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACR,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE;AAC1C,YAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;gBACpC,IAAI,QAAQ,EAAE;oBACV,IAAI,CAAC,6BAA6B,EAAE;gBACxC;qBAAO,IAAI,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,IAAI,CAAC,0BAA0B,EAAE;oBAC9E,IAAI,CAAC,6BAA6B,EAAE;gBACxC;YACJ;AACJ,QAAA,CAAC,CAAC;IACN;IAEA,MAAM,GAAA;AACF,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE;AAClE,YAAA,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,IAAI,CAAC,0BAA0B,IAAI,IAAI,CAAC,6BAA6B,EAAE;QACjH;IACJ;IAEA,6BAA6B,GAAA;QACzB,IAAI,IAAI,CAAC,2BAA2B,IAAI,IAAI,CAAC,2BAA2B,CAAC,UAAU,EAAE;YACjF,IAAI,CAAC,2BAA2B,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,2BAA2B,CAAC;QAC7F;QAEA,IAAI,IAAI,CAAC,0BAA0B,IAAI,IAAI,CAAC,0BAA0B,CAAC,UAA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AAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAf,eAAe,EAAA,OAAA,EAAA,CAnGf,SAAS,CAAA,EAAA,OAAA,EAAA,CAAT,SAAS,CAAA,EAAA,CAAA;wGAmGT,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS;AACtB,iBAAA;;;AC/GD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-focustrap.mjs","sources":["../../src/focustrap/focustrap.ts","../../src/focustrap/primeng-focustrap.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { booleanAttribute, Directive, effect, input, NgModule } from '@angular/core';\nimport { createElement, focus, getFirstFocusableElement, getLastFocusableElement } from '@primeuix/utils';\nimport { BaseComponent } from 'primeng/basecomponent';\n\n/**\n * Focus Trap keeps focus within a certain DOM element while tabbing.\n * @group Components\n */\n@Directive({\n selector: '[pFocusTrap]',\n standalone: true\n})\nexport class FocusTrap extends BaseComponent {\n /**\n * When set as true, focus wouldn't be managed.\n * @group Props\n */\n pFocusTrapDisabled = input(false, { transform: booleanAttribute });\n\n firstHiddenFocusableElement!: HTMLElement;\n\n lastHiddenFocusableElement!: HTMLElement;\n\n constructor() {\n super();\n\n effect(() => {\n const disabled = this.pFocusTrapDisabled();\n\n if (isPlatformBrowser(this.platformId)) {\n if (disabled) {\n this.removeHiddenFocusableElements();\n } else if (!this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement) {\n this.createHiddenFocusableElements();\n }\n }\n });\n }\n\n onInit() {\n if (isPlatformBrowser(this.platformId) && !this.pFocusTrapDisabled()) {\n if (!this.firstHiddenFocusableElement && !this.lastHiddenFocusableElement) {\n this.createHiddenFocusableElements();\n }\n }\n }\n\n removeHiddenFocusableElements() {\n if (this.firstHiddenFocusableElement && this.firstHiddenFocusableElement.parentNode) {\n this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement);\n }\n\n if (this.lastHiddenFocusableElement && this.lastHiddenFocusableElement.parentNode) {\n this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement);\n }\n\n this.firstHiddenFocusableElement = null!;\n this.lastHiddenFocusableElement = null!;\n }\n\n getComputedSelector(selector: string | null) {\n return `:not(.p-hidden-focusable):not([data-p-hidden-focusable=\"true\"])${selector ?? ''}`;\n }\n\n createHiddenFocusableElements() {\n const tabindex = '0';\n\n const createFocusableElement = (onFocus: (event: FocusEvent) => void) =>\n createElement('span', {\n class: 'p-hidden-accessible p-hidden-focusable',\n tabindex,\n role: 'presentation',\n 'aria-hidden': true,\n 'data-p-hidden-accessible': true,\n 'data-p-hidden-focusable': true,\n onFocus: onFocus?.bind(this)\n }) as HTMLElement;\n\n this.firstHiddenFocusableElement = createFocusableElement(this.onFirstHiddenElementFocus);\n this.lastHiddenFocusableElement = createFocusableElement(this.onLastHiddenElementFocus);\n\n this.firstHiddenFocusableElement.setAttribute('data-pc-section', 'firstfocusableelement');\n this.lastHiddenFocusableElement.setAttribute('data-pc-section', 'lastfocusableelement');\n\n this.el.nativeElement.prepend(this.firstHiddenFocusableElement);\n this.el.nativeElement.append(this.lastHiddenFocusableElement);\n }\n\n onFirstHiddenElementFocus(event: FocusEvent) {\n const { currentTarget, relatedTarget } = event;\n const focusableElement =\n relatedTarget === this.lastHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget as Node)\n ? getFirstFocusableElement((currentTarget as HTMLElement).parentElement!, ':not(.p-hidden-focusable)')\n : this.lastHiddenFocusableElement;\n\n focus(focusableElement as HTMLElement);\n }\n\n onLastHiddenElementFocus(event: FocusEvent) {\n const { currentTarget, relatedTarget } = event;\n const focusableElement =\n relatedTarget === this.firstHiddenFocusableElement || !this.el.nativeElement?.contains(relatedTarget as Node)\n ? getLastFocusableElement((currentTarget as HTMLElement).parentElement!, ':not(.p-hidden-focusable)')\n : this.firstHiddenFocusableElement;\n\n focus(focusableElement as HTMLElement);\n }\n}\n\n@NgModule({\n imports: [FocusTrap],\n exports: [FocusTrap]\n})\nexport class FocusTrapModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;AAKG,MAAO,SAAU,SAAQ,aAAa,CAAA;AACxC;;;AAGG;IACH,kBAAkB,GAAG,KAAK,CAAC,KAAK,0FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAElE,IAAA,2BAA2B;AAE3B,IAAA,0BAA0B;AAE1B,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE;QAEP,MAAM,CAAC,MAAK;AACR,YAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE;AAE1C,YAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;gBACpC,IAAI,QAAQ,EAAE;oBACV,IAAI,CAAC,6BAA6B,EAAE;gBACxC;qBAAO,IAAI,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,IAAI,CAAC,0BAA0B,EAAE;oBAC9E,IAAI,CAAC,6BAA6B,EAAE;gBACxC;YACJ;AACJ,QAAA,CAAC,CAAC;IACN;IAEA,MAAM,GAAA;AACF,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE;YAClE,IAAI,CAAC,IAAI,CAAC,2BAA2B,IAAI,CAAC,IAAI,CAAC,0BAA0B,EAAE;gBACvE,IAAI,CAAC,6BAA6B,EAAE;YACxC;QACJ;IACJ;IAEA,6BAA6B,GAAA;QACzB,IAAI,IAAI,CAAC,2BAA2B,IAAI,IAAI,CAAC,2BAA2B,CAAC,UAAU,EAAE;YACjF,IAAI,CAAC,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,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,UAAU,EAAE;AACf,iBAAA;;MAsGY,eAAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAf,eAAe,EAAA,OAAA,EAAA,CArGf,SAAS,CAAA,EAAA,OAAA,EAAA,CAAT,SAAS,CAAA,EAAA,CAAA;wGAqGT,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,SAAS,CAAC;oBACpB,OAAO,EAAE,CAAC,SAAS;AACtB,iBAAA;;;ACjHD;;AAEG;;"}
@@ -64,14 +64,14 @@ class GalleriaItemSlot extends BaseComponent {
64
64
  shouldRender() {
65
65
  return !!this.contentTemplate();
66
66
  }
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaItemSlot, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: GalleriaItemSlot, isStandalone: true, selector: "div[pGalleriaItemSlot]", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaItemSlot, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: GalleriaItemSlot, isStandalone: true, selector: "div[pGalleriaItemSlot]", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
69
69
  @if (shouldRender()) {
70
70
  <ng-container [ngTemplateOutlet]="contentTemplate()" [ngTemplateOutletContext]="context()"></ng-container>
71
71
  }
72
72
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
73
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaItemSlot, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaItemSlot, decorators: [{
75
75
  type: Component,
76
76
  args: [{
77
77
  selector: 'div[pGalleriaItemSlot]',
@@ -166,10 +166,10 @@ class GalleriaStyle extends BaseStyle {
166
166
  name = 'galleria';
167
167
  style = style;
168
168
  classes = classes;
169
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
170
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaStyle });
169
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
170
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaStyle });
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaStyle, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaStyle, decorators: [{
173
173
  type: Injectable
174
174
  }] });
175
175
  /**
@@ -301,9 +301,6 @@ class GalleriaItem extends BaseComponent {
301
301
  hostName = 'Galleria';
302
302
  galleria = inject(GALLERIA_INSTANCE);
303
303
  bindDirectiveInstance = inject(Bind, { self: true });
304
- onAfterViewChecked() {
305
- this.bindDirectiveInstance.setAttrs(this.ptm('itemsContainer'));
306
- }
307
304
  id = input(/* @ts-ignore */
308
305
  ...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
309
306
  circular = input(false, { ...(ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
@@ -342,7 +339,11 @@ class GalleriaItem extends BaseComponent {
342
339
  }
343
340
  });
344
341
  }
342
+ // eslint-disable-next-line @angular-eslint/no-input-rename
345
343
  activeIndexInput = input(0, { ...(ngDevMode ? { debugName: "activeIndexInput" } : /* istanbul ignore next */ {}), alias: 'activeIndex' });
344
+ onAfterViewChecked() {
345
+ this.bindDirectiveInstance.setAttrs(this.ptm('itemsContainer'));
346
+ }
346
347
  getIndicatorPTOptions(index) {
347
348
  return this.ptm('indicator', {
348
349
  context: {
@@ -444,8 +445,8 @@ class GalleriaItem extends BaseComponent {
444
445
  ariaPageLabel(value) {
445
446
  return this.aria?.pageLabel?.replace(/{page}/g, value);
446
447
  }
447
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
448
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: GalleriaItem, isStandalone: true, selector: "div[pGalleriaItem]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigators: { classPropertyName: "showItemNavigators", publicName: "showItemNavigators", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, slideShowActive: { classPropertyName: "slideShowActive", publicName: "slideShowActive", isSignal: true, isRequired: false, transformFunction: null }, changeItemOnIndicatorHover: { classPropertyName: "changeItemOnIndicatorHover", publicName: "changeItemOnIndicatorHover", isSignal: true, isRequired: false, transformFunction: null }, autoPlay: { classPropertyName: "autoPlay", publicName: "autoPlay", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { startSlideShow: "startSlideShow", stopSlideShow: "stopSlideShow", onActiveIndexChange: "onActiveIndexChange" }, providers: [GalleriaStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
448
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
449
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: GalleriaItem, isStandalone: true, selector: "div[pGalleriaItem]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigators: { classPropertyName: "showItemNavigators", publicName: "showItemNavigators", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, slideShowActive: { classPropertyName: "slideShowActive", publicName: "slideShowActive", isSignal: true, isRequired: false, transformFunction: null }, changeItemOnIndicatorHover: { classPropertyName: "changeItemOnIndicatorHover", publicName: "changeItemOnIndicatorHover", isSignal: true, isRequired: false, transformFunction: null }, autoPlay: { classPropertyName: "autoPlay", publicName: "autoPlay", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { startSlideShow: "startSlideShow", stopSlideShow: "stopSlideShow", onActiveIndexChange: "onActiveIndexChange" }, providers: [GalleriaStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
449
450
  <div [pBind]="ptm('items')" [class]="cx('items')">
450
451
  @if (showItemNavigators()) {
451
452
  <button type="button" role="navigation" [pBind]="ptm('prevButton')" [class]="cx('prevButton')" (click)="navBackward($event)" (focus)="onButtonFocus('left')" (blur)="onButtonBlur('left')" data-pc-group-section="itemnavigator">
@@ -505,7 +506,7 @@ class GalleriaItem extends BaseComponent {
505
506
  }
506
507
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: ChevronLeft, selector: "svg[data-p-icon=\"chevron-left\"]" }, { kind: "component", type: ChevronRight, selector: "svg[data-p-icon=\"chevron-right\"]" }, { kind: "component", type: GalleriaItemSlot, selector: "div[pGalleriaItemSlot]", inputs: ["index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
507
508
  }
508
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaItem, decorators: [{
509
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaItem, decorators: [{
509
510
  type: Component,
510
511
  args: [{
511
512
  selector: 'div[pGalleriaItem]',
@@ -580,9 +581,6 @@ class GalleriaThumbnails extends BaseComponent {
580
581
  hostName = 'Galleria';
581
582
  galleria = inject(GALLERIA_INSTANCE);
582
583
  bindDirectiveInstance = inject(Bind, { self: true });
583
- onAfterViewChecked() {
584
- this.bindDirectiveInstance.setAttrs(this.ptm('thumbnails'));
585
- }
586
584
  containerId = input(/* @ts-ignore */
587
585
  ...(ngDevMode ? [undefined, { debugName: "containerId" }] : /* istanbul ignore next */ []));
588
586
  value = input(/* @ts-ignore */
@@ -595,7 +593,9 @@ class GalleriaThumbnails extends BaseComponent {
595
593
  contentHeight = input('300px', /* @ts-ignore */
596
594
  ...(ngDevMode ? [{ debugName: "contentHeight" }] : /* istanbul ignore next */ []));
597
595
  showThumbnailNavigators = input(true, { ...(ngDevMode ? { debugName: "showThumbnailNavigators" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
596
+ // eslint-disable-next-line @angular-eslint/no-input-rename
598
597
  numVisibleInput = input(0, { ...(ngDevMode ? { debugName: "numVisibleInput" } : /* istanbul ignore next */ {}), alias: 'numVisible' });
598
+ // eslint-disable-next-line @angular-eslint/no-input-rename
599
599
  activeIndexInput = input(0, { ...(ngDevMode ? { debugName: "activeIndexInput" } : /* istanbul ignore next */ {}), alias: 'activeIndex' });
600
600
  onActiveIndexChange = output();
601
601
  stopSlideShow = output();
@@ -632,6 +632,9 @@ class GalleriaThumbnails extends BaseComponent {
632
632
  get aria() {
633
633
  return this.galleria.config.translation.aria;
634
634
  }
635
+ onAfterViewChecked() {
636
+ this.bindDirectiveInstance.setAttrs(this.ptm('thumbnails'));
637
+ }
635
638
  isActiveItem(index) {
636
639
  return this._activeIndex() === index;
637
640
  }
@@ -679,7 +682,9 @@ class GalleriaThumbnails extends BaseComponent {
679
682
  }
680
683
  if (this._oldactiveIndex !== activeIndex) {
681
684
  this.document.body.setAttribute('data-p-items-hidden', 'false');
682
- !this.$unstyled() && removeClass(itemsContainer.nativeElement, 'p-items-hidden');
685
+ if (!this.$unstyled()) {
686
+ removeClass(itemsContainer.nativeElement, 'p-items-hidden');
687
+ }
683
688
  itemsContainer.nativeElement.style.transition = 'transform 500ms ease 0s';
684
689
  }
685
690
  this._oldactiveIndex = activeIndex;
@@ -906,7 +911,9 @@ class GalleriaThumbnails extends BaseComponent {
906
911
  const itemsContainer = this.itemsContainer();
907
912
  if (itemsContainer) {
908
913
  this.document.body.setAttribute('data-p-items-hidden', 'false');
909
- !this.$unstyled() && removeClass(itemsContainer.nativeElement, 'p-items-hidden');
914
+ if (!this.$unstyled()) {
915
+ removeClass(itemsContainer.nativeElement, 'p-items-hidden');
916
+ }
910
917
  itemsContainer.nativeElement.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100 / d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100 / d_numVisible)}%, 0, 0)`;
911
918
  itemsContainer.nativeElement.style.transition = 'transform 500ms ease 0s';
912
919
  }
@@ -941,7 +948,9 @@ class GalleriaThumbnails extends BaseComponent {
941
948
  const itemsContainer = this.itemsContainer();
942
949
  if (itemsContainer && itemsContainer.nativeElement) {
943
950
  this.document.body.setAttribute('data-p-items-hidden', 'true');
944
- !this.$unstyled() && addClass(itemsContainer.nativeElement, 'p-items-hidden');
951
+ if (!this.$unstyled()) {
952
+ addClass(itemsContainer.nativeElement, 'p-items-hidden');
953
+ }
945
954
  itemsContainer.nativeElement.style.transition = '';
946
955
  }
947
956
  }
@@ -1016,8 +1025,8 @@ class GalleriaThumbnails extends BaseComponent {
1016
1025
  ariaPageLabel(value) {
1017
1026
  return this.aria?.pageLabel?.replace(/{page}/g, value);
1018
1027
  }
1019
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaThumbnails, deps: null, target: i0.ɵɵFactoryTarget.Component });
1020
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: GalleriaThumbnails, isStandalone: true, selector: "div[pGalleriaThumbnails]", inputs: { containerId: { classPropertyName: "containerId", publicName: "containerId", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, slideShowActive: { classPropertyName: "slideShowActive", publicName: "slideShowActive", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, contentHeight: { classPropertyName: "contentHeight", publicName: "contentHeight", isSignal: true, isRequired: false, transformFunction: null }, showThumbnailNavigators: { classPropertyName: "showThumbnailNavigators", publicName: "showThumbnailNavigators", isSignal: true, isRequired: false, transformFunction: null }, numVisibleInput: { classPropertyName: "numVisibleInput", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onActiveIndexChange: "onActiveIndexChange", stopSlideShow: "stopSlideShow" }, host: { properties: { "class": "cx(\"thumbnails\")" } }, providers: [GalleriaStyle], viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1028
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaThumbnails, deps: null, target: i0.ɵɵFactoryTarget.Component });
1029
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: GalleriaThumbnails, isStandalone: true, selector: "div[pGalleriaThumbnails]", inputs: { containerId: { classPropertyName: "containerId", publicName: "containerId", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, slideShowActive: { classPropertyName: "slideShowActive", publicName: "slideShowActive", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, contentHeight: { classPropertyName: "contentHeight", publicName: "contentHeight", isSignal: true, isRequired: false, transformFunction: null }, showThumbnailNavigators: { classPropertyName: "showThumbnailNavigators", publicName: "showThumbnailNavigators", isSignal: true, isRequired: false, transformFunction: null }, numVisibleInput: { classPropertyName: "numVisibleInput", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onActiveIndexChange: "onActiveIndexChange", stopSlideShow: "stopSlideShow" }, host: { properties: { "class": "cx(\"thumbnails\")" } }, providers: [GalleriaStyle], viewQueries: [{ propertyName: "itemsContainer", first: true, predicate: ["itemsContainer"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1021
1030
  <div [pBind]="ptm('thumbnailContent')" [class]="cx('thumbnailContent')">
1022
1031
  @if (showThumbnailNavigators()) {
1023
1032
  <button type="button" [pBind]="ptm('thumbnailPrevButton')" [class]="cx('thumbnailPrevButton')" (click)="navBackward($event)" pRipple [attr.aria-label]="ariaPrevButtonLabel()" data-pc-group-section="thumbnailnavigator">
@@ -1073,7 +1082,7 @@ class GalleriaThumbnails extends BaseComponent {
1073
1082
  </div>
1074
1083
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: ChevronLeft, selector: "svg[data-p-icon=\"chevron-left\"]" }, { kind: "component", type: ChevronRight, selector: "svg[data-p-icon=\"chevron-right\"]" }, { kind: "component", type: ChevronUp, selector: "svg[data-p-icon=\"chevron-up\"]" }, { kind: "component", type: ChevronDown, selector: "svg[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: GalleriaItemSlot, selector: "div[pGalleriaItemSlot]", inputs: ["index", "item", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1075
1084
  }
1076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaThumbnails, decorators: [{
1085
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaThumbnails, decorators: [{
1077
1086
  type: Component,
1078
1087
  args: [{
1079
1088
  selector: 'div[pGalleriaThumbnails]',
@@ -1147,15 +1156,13 @@ class GalleriaContent extends BaseComponent {
1147
1156
  hostName = 'Galleria';
1148
1157
  galleria = inject(GALLERIA_INSTANCE);
1149
1158
  bindDirectiveInstance = inject(Bind, { self: true });
1150
- onAfterViewChecked() {
1151
- this.bindDirectiveInstance.setAttrs(this.getPTOptions('root'));
1152
- }
1153
1159
  value = input([], /* @ts-ignore */
1154
1160
  ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
1155
1161
  numVisible = input(3, /* @ts-ignore */
1156
1162
  ...(ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []));
1157
1163
  fullScreen = model(false, /* @ts-ignore */
1158
1164
  ...(ngDevMode ? [{ debugName: "fullScreen" }] : /* istanbul ignore next */ []));
1165
+ // eslint-disable-next-line @angular-eslint/no-input-rename
1159
1166
  activeIndexInput = input(0, { ...(ngDevMode ? { debugName: "activeIndexInput" } : /* istanbul ignore next */ {}), alias: 'activeIndex' });
1160
1167
  maskHide = output();
1161
1168
  activeItemChange = output();
@@ -1181,6 +1188,9 @@ class GalleriaContent extends BaseComponent {
1181
1188
  return val && val.length > 0;
1182
1189
  }, /* @ts-ignore */
1183
1190
  ...(ngDevMode ? [{ debugName: "hasValue" }] : /* istanbul ignore next */ []));
1191
+ onAfterViewChecked() {
1192
+ this.bindDirectiveInstance.setAttrs(this.getPTOptions('root'));
1193
+ }
1184
1194
  // For custom fullscreen
1185
1195
  handleFullscreenChange() {
1186
1196
  if (document?.fullscreenElement === this.el.nativeElement?.children[0]) {
@@ -1246,8 +1256,8 @@ class GalleriaContent extends BaseComponent {
1246
1256
  }
1247
1257
  });
1248
1258
  }
1249
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1250
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: GalleriaContent, isStandalone: true, selector: "div[pGalleriaContent]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, fullScreen: { classPropertyName: "fullScreen", publicName: "fullScreen", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { fullScreen: "fullScreenChange", maskHide: "maskHide", activeItemChange: "activeItemChange" }, host: { listeners: { "document:fullscreenchange": "handleFullscreenChange()" }, properties: { "attr.id": "id()", "attr.role": "\"region\"", "style": "hostStyle()", "class": "cx('root')" } }, providers: [GalleriaStyle], viewQueries: [{ propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1259
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1260
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: GalleriaContent, isStandalone: true, selector: "div[pGalleriaContent]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, fullScreen: { classPropertyName: "fullScreen", publicName: "fullScreen", isSignal: true, isRequired: false, transformFunction: null }, activeIndexInput: { classPropertyName: "activeIndexInput", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { fullScreen: "fullScreenChange", maskHide: "maskHide", activeItemChange: "activeItemChange" }, host: { listeners: { "document:fullscreenchange": "handleFullscreenChange()" }, properties: { "attr.id": "id()", "attr.role": "\"region\"", "style": "hostStyle()", "class": "cx('root')" } }, providers: [GalleriaStyle], viewQueries: [{ propertyName: "closeButton", first: true, predicate: ["closeButton"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1251
1261
  @if (hasValue()) {
1252
1262
  @if (galleria.fullScreen()) {
1253
1263
  <button type="button" [pBind]="getPTOptions('closeButton')" [class]="cx('closeButton')" (click)="maskHide.emit(true)" [attr.aria-label]="closeAriaLabel()">
@@ -1306,7 +1316,7 @@ class GalleriaContent extends BaseComponent {
1306
1316
  }
1307
1317
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: Times, selector: "svg[data-p-icon=\"times\"]" }, { kind: "component", type: GalleriaItemSlot, selector: "div[pGalleriaItemSlot]", inputs: ["index", "item", "type"] }, { kind: "component", type: GalleriaItem, selector: "div[pGalleriaItem]", inputs: ["id", "circular", "value", "showItemNavigators", "showIndicators", "slideShowActive", "changeItemOnIndicatorHover", "autoPlay", "activeIndex"], outputs: ["startSlideShow", "stopSlideShow", "onActiveIndexChange"] }, { kind: "component", type: GalleriaThumbnails, selector: "div[pGalleriaThumbnails]", inputs: ["containerId", "value", "isVertical", "slideShowActive", "circular", "responsiveOptions", "contentHeight", "showThumbnailNavigators", "numVisible", "activeIndex"], outputs: ["onActiveIndexChange", "stopSlideShow"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1308
1318
  }
1309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaContent, decorators: [{
1319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaContent, decorators: [{
1310
1320
  type: Component,
1311
1321
  args: [{
1312
1322
  selector: 'div[pGalleriaContent]',
@@ -1394,9 +1404,6 @@ class Galleria extends BaseComponent {
1394
1404
  componentName = 'Galleria';
1395
1405
  bindDirectiveInstance = inject(Bind, { self: true });
1396
1406
  $pcGalleria = inject(GALLERIA_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
1397
- onAfterViewChecked() {
1398
- this.bindDirectiveInstance.setAttrs(this.ptm('host'));
1399
- }
1400
1407
  /**
1401
1408
  * Index of the first item.
1402
1409
  * @group Props
@@ -1533,12 +1540,10 @@ class Galleria extends BaseComponent {
1533
1540
  */
1534
1541
  motionOptions = input(/* @ts-ignore */
1535
1542
  ...(ngDevMode ? [undefined, { debugName: "motionOptions" }] : /* istanbul ignore next */ []));
1536
- computedMotionOptions = computed(() => {
1537
- return {
1538
- ...this.ptm('motion'),
1539
- ...this.motionOptions()
1540
- };
1541
- }, /* @ts-ignore */
1543
+ computedMotionOptions = computed(() => ({
1544
+ ...this.ptm('motion'),
1545
+ ...this.motionOptions()
1546
+ }), /* @ts-ignore */
1542
1547
  ...(ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []));
1543
1548
  /**
1544
1549
  * The mask motion options.
@@ -1546,12 +1551,10 @@ class Galleria extends BaseComponent {
1546
1551
  */
1547
1552
  maskMotionOptions = input(/* @ts-ignore */
1548
1553
  ...(ngDevMode ? [undefined, { debugName: "maskMotionOptions" }] : /* istanbul ignore next */ []));
1549
- computedMaskMotionOptions = computed(() => {
1550
- return {
1551
- ...this.ptm('maskMotion'),
1552
- ...this.maskMotionOptions()
1553
- };
1554
- }, /* @ts-ignore */
1554
+ computedMaskMotionOptions = computed(() => ({
1555
+ ...this.ptm('maskMotion'),
1556
+ ...this.maskMotionOptions()
1557
+ }), /* @ts-ignore */
1555
1558
  ...(ngDevMode ? [{ debugName: "computedMaskMotionOptions" }] : /* istanbul ignore next */ []));
1556
1559
  maskEnterActiveClass = computed(() => (this.fullScreen() ? 'p-overlay-mask-enter-active' : ''), /* @ts-ignore */
1557
1560
  ...(ngDevMode ? [{ debugName: "maskEnterActiveClass" }] : /* istanbul ignore next */ []));
@@ -1669,6 +1672,9 @@ class Galleria extends BaseComponent {
1669
1672
  }
1670
1673
  });
1671
1674
  }
1675
+ onAfterViewChecked() {
1676
+ this.bindDirectiveInstance.setAttrs(this.ptm('host'));
1677
+ }
1672
1678
  onMaskHide(event) {
1673
1679
  if (!event || event.target === event.currentTarget) {
1674
1680
  this.visible.set(false);
@@ -1704,14 +1710,12 @@ class Galleria extends BaseComponent {
1704
1710
  }
1705
1711
  }
1706
1712
  enableModality() {
1707
- //@ts-ignore
1708
1713
  blockBodyScroll();
1709
1714
  if (this.mask) {
1710
1715
  ZIndexUtils.set('modal', this.mask, this.baseZIndex() || this.config.zIndex.modal);
1711
1716
  }
1712
1717
  }
1713
1718
  disableModality() {
1714
- //@ts-ignore
1715
1719
  unblockBodyScroll();
1716
1720
  if (this.mask) {
1717
1721
  ZIndexUtils.clear(this.mask);
@@ -1725,8 +1729,8 @@ class Galleria extends BaseComponent {
1725
1729
  this.disableModality();
1726
1730
  }
1727
1731
  }
1728
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: Galleria, deps: [], target: i0.ɵɵFactoryTarget.Component });
1729
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: Galleria, isStandalone: true, selector: "p-galleria", inputs: { activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, fullScreen: { classPropertyName: "fullScreen", publicName: "fullScreen", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigators: { classPropertyName: "showItemNavigators", publicName: "showItemNavigators", isSignal: true, isRequired: false, transformFunction: null }, showThumbnailNavigators: { classPropertyName: "showThumbnailNavigators", publicName: "showThumbnailNavigators", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigatorsOnHover: { classPropertyName: "showItemNavigatorsOnHover", publicName: "showItemNavigatorsOnHover", isSignal: true, isRequired: false, transformFunction: null }, changeItemOnIndicatorHover: { classPropertyName: "changeItemOnIndicatorHover", publicName: "changeItemOnIndicatorHover", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, autoPlay: { classPropertyName: "autoPlay", publicName: "autoPlay", isSignal: true, isRequired: false, transformFunction: null }, shouldStopAutoplayByClick: { classPropertyName: "shouldStopAutoplayByClick", publicName: "shouldStopAutoplayByClick", isSignal: true, isRequired: false, transformFunction: null }, transitionInterval: { classPropertyName: "transitionInterval", publicName: "transitionInterval", isSignal: true, isRequired: false, transformFunction: null }, showThumbnails: { classPropertyName: "showThumbnails", publicName: "showThumbnails", isSignal: true, isRequired: false, transformFunction: null }, thumbnailsPosition: { classPropertyName: "thumbnailsPosition", publicName: "thumbnailsPosition", isSignal: true, isRequired: false, transformFunction: null }, verticalThumbnailViewPortHeight: { classPropertyName: "verticalThumbnailViewPortHeight", publicName: "verticalThumbnailViewPortHeight", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, showIndicatorsOnItem: { classPropertyName: "showIndicatorsOnItem", publicName: "showIndicatorsOnItem", isSignal: true, isRequired: false, transformFunction: null }, indicatorsPosition: { classPropertyName: "indicatorsPosition", publicName: "indicatorsPosition", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null }, maskClass: { classPropertyName: "maskClass", publicName: "maskClass", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, containerStyle: { classPropertyName: "containerStyle", publicName: "containerStyle", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, maskMotionOptions: { classPropertyName: "maskMotionOptions", publicName: "maskMotionOptions", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", activeIndexChange: "activeIndexChange" }, providers: [GalleriaStyle, { provide: GALLERIA_INSTANCE, useExisting: Galleria }, { provide: PARENT_INSTANCE, useExisting: Galleria }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "indicatorTemplate", first: true, predicate: ["indicator"], isSignal: true }, { propertyName: "captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: ["closeicon"], isSignal: true }, { propertyName: "previousThumbnailIconTemplate", first: true, predicate: ["previousthumbnailicon"], isSignal: true }, { propertyName: "nextThumbnailIconTemplate", first: true, predicate: ["nextthumbnailicon"], isSignal: true }, { propertyName: "itemPreviousIconTemplate", first: true, predicate: ["itempreviousicon"], isSignal: true }, { propertyName: "itemNextIconTemplate", first: true, predicate: ["itemnexticon"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "thumbnailTemplate", first: true, predicate: ["thumbnail"], isSignal: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1732
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Galleria, deps: [], target: i0.ɵɵFactoryTarget.Component });
1733
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: Galleria, isStandalone: true, selector: "p-galleria", inputs: { activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, fullScreen: { classPropertyName: "fullScreen", publicName: "fullScreen", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigators: { classPropertyName: "showItemNavigators", publicName: "showItemNavigators", isSignal: true, isRequired: false, transformFunction: null }, showThumbnailNavigators: { classPropertyName: "showThumbnailNavigators", publicName: "showThumbnailNavigators", isSignal: true, isRequired: false, transformFunction: null }, showItemNavigatorsOnHover: { classPropertyName: "showItemNavigatorsOnHover", publicName: "showItemNavigatorsOnHover", isSignal: true, isRequired: false, transformFunction: null }, changeItemOnIndicatorHover: { classPropertyName: "changeItemOnIndicatorHover", publicName: "changeItemOnIndicatorHover", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, autoPlay: { classPropertyName: "autoPlay", publicName: "autoPlay", isSignal: true, isRequired: false, transformFunction: null }, shouldStopAutoplayByClick: { classPropertyName: "shouldStopAutoplayByClick", publicName: "shouldStopAutoplayByClick", isSignal: true, isRequired: false, transformFunction: null }, transitionInterval: { classPropertyName: "transitionInterval", publicName: "transitionInterval", isSignal: true, isRequired: false, transformFunction: null }, showThumbnails: { classPropertyName: "showThumbnails", publicName: "showThumbnails", isSignal: true, isRequired: false, transformFunction: null }, thumbnailsPosition: { classPropertyName: "thumbnailsPosition", publicName: "thumbnailsPosition", isSignal: true, isRequired: false, transformFunction: null }, verticalThumbnailViewPortHeight: { classPropertyName: "verticalThumbnailViewPortHeight", publicName: "verticalThumbnailViewPortHeight", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, showIndicatorsOnItem: { classPropertyName: "showIndicatorsOnItem", publicName: "showIndicatorsOnItem", isSignal: true, isRequired: false, transformFunction: null }, indicatorsPosition: { classPropertyName: "indicatorsPosition", publicName: "indicatorsPosition", isSignal: true, isRequired: false, transformFunction: null }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: true, isRequired: false, transformFunction: null }, maskClass: { classPropertyName: "maskClass", publicName: "maskClass", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, containerStyle: { classPropertyName: "containerStyle", publicName: "containerStyle", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, maskMotionOptions: { classPropertyName: "maskMotionOptions", publicName: "maskMotionOptions", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", activeIndexChange: "activeIndexChange" }, providers: [GalleriaStyle, { provide: GALLERIA_INSTANCE, useExisting: Galleria }, { provide: PARENT_INSTANCE, useExisting: Galleria }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "indicatorTemplate", first: true, predicate: ["indicator"], isSignal: true }, { propertyName: "captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: ["closeicon"], isSignal: true }, { propertyName: "previousThumbnailIconTemplate", first: true, predicate: ["previousthumbnailicon"], isSignal: true }, { propertyName: "nextThumbnailIconTemplate", first: true, predicate: ["nextthumbnailicon"], isSignal: true }, { propertyName: "itemPreviousIconTemplate", first: true, predicate: ["itempreviousicon"], isSignal: true }, { propertyName: "itemNextIconTemplate", first: true, predicate: ["itemnexticon"], isSignal: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "thumbnailTemplate", first: true, predicate: ["thumbnail"], isSignal: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1730
1734
  @if (fullScreen()) {
1731
1735
  <div #container>
1732
1736
  @if (renderMask()) {
@@ -1774,7 +1778,7 @@ class Galleria extends BaseComponent {
1774
1778
  }
1775
1779
  `, isInline: true, dependencies: [{ kind: "component", type: GalleriaContent, selector: "div[pGalleriaContent]", inputs: ["value", "numVisible", "fullScreen", "activeIndex"], outputs: ["fullScreenChange", "maskHide", "activeItemChange"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i2.MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }, { kind: "directive", type: FocusTrap, selector: "[pFocusTrap]", inputs: ["pFocusTrapDisabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1776
1780
  }
1777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: Galleria, decorators: [{
1781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Galleria, decorators: [{
1778
1782
  type: Component,
1779
1783
  args: [{
1780
1784
  selector: 'p-galleria',
@@ -1834,11 +1838,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
1834
1838
  }]
1835
1839
  }], ctorParameters: () => [], propDecorators: { activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }], fullScreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullScreen", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], numVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "numVisible", required: false }] }], responsiveOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsiveOptions", required: false }] }], showItemNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showItemNavigators", required: false }] }], showThumbnailNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThumbnailNavigators", required: false }] }], showItemNavigatorsOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "showItemNavigatorsOnHover", required: false }] }], changeItemOnIndicatorHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "changeItemOnIndicatorHover", required: false }] }], circular: [{ type: i0.Input, args: [{ isSignal: true, alias: "circular", required: false }] }], autoPlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoPlay", required: false }] }], shouldStopAutoplayByClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "shouldStopAutoplayByClick", required: false }] }], transitionInterval: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionInterval", required: false }] }], showThumbnails: [{ type: i0.Input, args: [{ isSignal: true, alias: "showThumbnails", required: false }] }], thumbnailsPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "thumbnailsPosition", required: false }] }], verticalThumbnailViewPortHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "verticalThumbnailViewPortHeight", required: false }] }], showIndicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIndicators", required: false }] }], showIndicatorsOnItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIndicatorsOnItem", required: false }] }], indicatorsPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorsPosition", required: false }] }], baseZIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseZIndex", required: false }] }], maskClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskClass", required: false }] }], containerClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerClass", required: false }] }], containerStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerStyle", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], maskMotionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskMotionOptions", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], activeIndexChange: [{ type: i0.Output, args: ["activeIndexChange"] }], container: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], indicatorTemplate: [{ type: i0.ContentChild, args: ['indicator', { ...{ descendants: false }, isSignal: true }] }], captionTemplate: [{ type: i0.ContentChild, args: ['caption', { ...{ descendants: false }, isSignal: true }] }], closeIconTemplate: [{ type: i0.ContentChild, args: ['closeicon', { ...{ descendants: false }, isSignal: true }] }], previousThumbnailIconTemplate: [{ type: i0.ContentChild, args: ['previousthumbnailicon', { ...{ descendants: false }, isSignal: true }] }], nextThumbnailIconTemplate: [{ type: i0.ContentChild, args: ['nextthumbnailicon', { ...{ descendants: false }, isSignal: true }] }], itemPreviousIconTemplate: [{ type: i0.ContentChild, args: ['itempreviousicon', { ...{ descendants: false }, isSignal: true }] }], itemNextIconTemplate: [{ type: i0.ContentChild, args: ['itemnexticon', { ...{ descendants: false }, isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], thumbnailTemplate: [{ type: i0.ContentChild, args: ['thumbnail', { ...{ descendants: false }, isSignal: true }] }] } });
1836
1840
  class GalleriaModule {
1837
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1838
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.2", ngImport: i0, type: GalleriaModule, imports: [Galleria, SharedModule], exports: [Galleria, SharedModule] });
1839
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaModule, imports: [Galleria, SharedModule, SharedModule] });
1841
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1842
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.5", ngImport: i0, type: GalleriaModule, imports: [Galleria, SharedModule], exports: [Galleria, SharedModule] });
1843
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaModule, imports: [Galleria, SharedModule, SharedModule] });
1840
1844
  }
1841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: GalleriaModule, decorators: [{
1845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: GalleriaModule, decorators: [{
1842
1846
  type: NgModule,
1843
1847
  args: [{
1844
1848
  imports: [Galleria, SharedModule],