primenglab 22.0.0-beta.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 (852) hide show
  1. package/LICENSE.md +77 -0
  2. package/README.md +11 -0
  3. package/fesm2022/primenglab-accordion.mjs +656 -0
  4. package/fesm2022/primenglab-accordion.mjs.map +1 -0
  5. package/fesm2022/primenglab-animateonscroll.mjs +166 -0
  6. package/fesm2022/primenglab-animateonscroll.mjs.map +1 -0
  7. package/fesm2022/primenglab-api.mjs +850 -0
  8. package/fesm2022/primenglab-api.mjs.map +1 -0
  9. package/fesm2022/primenglab-autocomplete.mjs +2140 -0
  10. package/fesm2022/primenglab-autocomplete.mjs.map +1 -0
  11. package/fesm2022/primenglab-autofocus.mjs +78 -0
  12. package/fesm2022/primenglab-autofocus.mjs.map +1 -0
  13. package/fesm2022/primenglab-avatar.mjs +211 -0
  14. package/fesm2022/primenglab-avatar.mjs.map +1 -0
  15. package/fesm2022/primenglab-avatargroup.mjs +99 -0
  16. package/fesm2022/primenglab-avatargroup.mjs.map +1 -0
  17. package/fesm2022/primenglab-badge.mjs +161 -0
  18. package/fesm2022/primenglab-badge.mjs.map +1 -0
  19. package/fesm2022/primenglab-base.mjs +124 -0
  20. package/fesm2022/primenglab-base.mjs.map +1 -0
  21. package/fesm2022/primenglab-basecomponent.mjs +477 -0
  22. package/fesm2022/primenglab-basecomponent.mjs.map +1 -0
  23. package/fesm2022/primenglab-baseeditableholder.mjs +70 -0
  24. package/fesm2022/primenglab-baseeditableholder.mjs.map +1 -0
  25. package/fesm2022/primenglab-baseinput.mjs +100 -0
  26. package/fesm2022/primenglab-baseinput.mjs.map +1 -0
  27. package/fesm2022/primenglab-basemodelholder.mjs +27 -0
  28. package/fesm2022/primenglab-basemodelholder.mjs.map +1 -0
  29. package/fesm2022/primenglab-bind.mjs +97 -0
  30. package/fesm2022/primenglab-bind.mjs.map +1 -0
  31. package/fesm2022/primenglab-blockui.mjs +240 -0
  32. package/fesm2022/primenglab-blockui.mjs.map +1 -0
  33. package/fesm2022/primenglab-breadcrumb.mjs +582 -0
  34. package/fesm2022/primenglab-breadcrumb.mjs.map +1 -0
  35. package/fesm2022/primenglab-button.mjs +799 -0
  36. package/fesm2022/primenglab-button.mjs.map +1 -0
  37. package/fesm2022/primenglab-buttongroup.mjs +110 -0
  38. package/fesm2022/primenglab-buttongroup.mjs.map +1 -0
  39. package/fesm2022/primenglab-card.mjs +252 -0
  40. package/fesm2022/primenglab-card.mjs.map +1 -0
  41. package/fesm2022/primenglab-carousel.mjs +2052 -0
  42. package/fesm2022/primenglab-carousel.mjs.map +1 -0
  43. package/fesm2022/primenglab-cascadeselect.mjs +1756 -0
  44. package/fesm2022/primenglab-cascadeselect.mjs.map +1 -0
  45. package/fesm2022/primenglab-chart.mjs +235 -0
  46. package/fesm2022/primenglab-chart.mjs.map +1 -0
  47. package/fesm2022/primenglab-checkbox.mjs +441 -0
  48. package/fesm2022/primenglab-checkbox.mjs.map +1 -0
  49. package/fesm2022/primenglab-chip.mjs +304 -0
  50. package/fesm2022/primenglab-chip.mjs.map +1 -0
  51. package/fesm2022/primenglab-classnames.mjs +49 -0
  52. package/fesm2022/primenglab-classnames.mjs.map +1 -0
  53. package/fesm2022/primenglab-colorpicker.mjs +741 -0
  54. package/fesm2022/primenglab-colorpicker.mjs.map +1 -0
  55. package/fesm2022/primenglab-commandmenu.mjs +419 -0
  56. package/fesm2022/primenglab-commandmenu.mjs.map +1 -0
  57. package/fesm2022/primenglab-compare.mjs +520 -0
  58. package/fesm2022/primenglab-compare.mjs.map +1 -0
  59. package/fesm2022/primenglab-config.mjs +322 -0
  60. package/fesm2022/primenglab-config.mjs.map +1 -0
  61. package/fesm2022/primenglab-confirmdialog.mjs +746 -0
  62. package/fesm2022/primenglab-confirmdialog.mjs.map +1 -0
  63. package/fesm2022/primenglab-confirmpopup.mjs +685 -0
  64. package/fesm2022/primenglab-confirmpopup.mjs.map +1 -0
  65. package/fesm2022/primenglab-contextmenu.mjs +1485 -0
  66. package/fesm2022/primenglab-contextmenu.mjs.map +1 -0
  67. package/fesm2022/primenglab-dataview.mjs +765 -0
  68. package/fesm2022/primenglab-dataview.mjs.map +1 -0
  69. package/fesm2022/primenglab-datepicker.mjs +4373 -0
  70. package/fesm2022/primenglab-datepicker.mjs.map +1 -0
  71. package/fesm2022/primenglab-dialog.mjs +1234 -0
  72. package/fesm2022/primenglab-dialog.mjs.map +1 -0
  73. package/fesm2022/primenglab-divider.mjs +160 -0
  74. package/fesm2022/primenglab-divider.mjs.map +1 -0
  75. package/fesm2022/primenglab-dock.mjs +580 -0
  76. package/fesm2022/primenglab-dock.mjs.map +1 -0
  77. package/fesm2022/primenglab-dom.mjs +778 -0
  78. package/fesm2022/primenglab-dom.mjs.map +1 -0
  79. package/fesm2022/primenglab-dragdrop.mjs +312 -0
  80. package/fesm2022/primenglab-dragdrop.mjs.map +1 -0
  81. package/fesm2022/primenglab-drawer.mjs +708 -0
  82. package/fesm2022/primenglab-drawer.mjs.map +1 -0
  83. package/fesm2022/primenglab-dynamicdialog.mjs +1096 -0
  84. package/fesm2022/primenglab-dynamicdialog.mjs.map +1 -0
  85. package/fesm2022/primenglab-editor.mjs +496 -0
  86. package/fesm2022/primenglab-editor.mjs.map +1 -0
  87. package/fesm2022/primenglab-fieldset.mjs +418 -0
  88. package/fesm2022/primenglab-fieldset.mjs.map +1 -0
  89. package/fesm2022/primenglab-fileupload.mjs +1486 -0
  90. package/fesm2022/primenglab-fileupload.mjs.map +1 -0
  91. package/fesm2022/primenglab-floatlabel.mjs +106 -0
  92. package/fesm2022/primenglab-floatlabel.mjs.map +1 -0
  93. package/fesm2022/primenglab-fluid.mjs +89 -0
  94. package/fesm2022/primenglab-fluid.mjs.map +1 -0
  95. package/fesm2022/primenglab-focustrap.mjs +113 -0
  96. package/fesm2022/primenglab-focustrap.mjs.map +1 -0
  97. package/fesm2022/primenglab-galleria.mjs +1854 -0
  98. package/fesm2022/primenglab-galleria.mjs.map +1 -0
  99. package/fesm2022/primenglab-gallery.mjs +1859 -0
  100. package/fesm2022/primenglab-gallery.mjs.map +1 -0
  101. package/fesm2022/primenglab-iconfield.mjs +97 -0
  102. package/fesm2022/primenglab-iconfield.mjs.map +1 -0
  103. package/fesm2022/primenglab-icons-angledoubledown.mjs +37 -0
  104. package/fesm2022/primenglab-icons-angledoubledown.mjs.map +1 -0
  105. package/fesm2022/primenglab-icons-angledoubleleft.mjs +37 -0
  106. package/fesm2022/primenglab-icons-angledoubleleft.mjs.map +1 -0
  107. package/fesm2022/primenglab-icons-angledoubleright.mjs +37 -0
  108. package/fesm2022/primenglab-icons-angledoubleright.mjs.map +1 -0
  109. package/fesm2022/primenglab-icons-angledoubleup.mjs +37 -0
  110. package/fesm2022/primenglab-icons-angledoubleup.mjs.map +1 -0
  111. package/fesm2022/primenglab-icons-angledown.mjs +33 -0
  112. package/fesm2022/primenglab-icons-angledown.mjs.map +1 -0
  113. package/fesm2022/primenglab-icons-angleleft.mjs +33 -0
  114. package/fesm2022/primenglab-icons-angleleft.mjs.map +1 -0
  115. package/fesm2022/primenglab-icons-angleright.mjs +33 -0
  116. package/fesm2022/primenglab-icons-angleright.mjs.map +1 -0
  117. package/fesm2022/primenglab-icons-angleup.mjs +33 -0
  118. package/fesm2022/primenglab-icons-angleup.mjs.map +1 -0
  119. package/fesm2022/primenglab-icons-arrowdown.mjs +56 -0
  120. package/fesm2022/primenglab-icons-arrowdown.mjs.map +1 -0
  121. package/fesm2022/primenglab-icons-arrowdownleft.mjs +33 -0
  122. package/fesm2022/primenglab-icons-arrowdownleft.mjs.map +1 -0
  123. package/fesm2022/primenglab-icons-arrowdownright.mjs +33 -0
  124. package/fesm2022/primenglab-icons-arrowdownright.mjs.map +1 -0
  125. package/fesm2022/primenglab-icons-arrowleft.mjs +56 -0
  126. package/fesm2022/primenglab-icons-arrowleft.mjs.map +1 -0
  127. package/fesm2022/primenglab-icons-arrowright.mjs +37 -0
  128. package/fesm2022/primenglab-icons-arrowright.mjs.map +1 -0
  129. package/fesm2022/primenglab-icons-arrowup.mjs +56 -0
  130. package/fesm2022/primenglab-icons-arrowup.mjs.map +1 -0
  131. package/fesm2022/primenglab-icons-ban.mjs +52 -0
  132. package/fesm2022/primenglab-icons-ban.mjs.map +1 -0
  133. package/fesm2022/primenglab-icons-bars.mjs +37 -0
  134. package/fesm2022/primenglab-icons-bars.mjs.map +1 -0
  135. package/fesm2022/primenglab-icons-baseicon.mjs +103 -0
  136. package/fesm2022/primenglab-icons-baseicon.mjs.map +1 -0
  137. package/fesm2022/primenglab-icons-blank.mjs +23 -0
  138. package/fesm2022/primenglab-icons-blank.mjs.map +1 -0
  139. package/fesm2022/primenglab-icons-calendar.mjs +33 -0
  140. package/fesm2022/primenglab-icons-calendar.mjs.map +1 -0
  141. package/fesm2022/primenglab-icons-caretleft.mjs +33 -0
  142. package/fesm2022/primenglab-icons-caretleft.mjs.map +1 -0
  143. package/fesm2022/primenglab-icons-caretright.mjs +33 -0
  144. package/fesm2022/primenglab-icons-caretright.mjs.map +1 -0
  145. package/fesm2022/primenglab-icons-check.mjs +33 -0
  146. package/fesm2022/primenglab-icons-check.mjs.map +1 -0
  147. package/fesm2022/primenglab-icons-chevrondown.mjs +33 -0
  148. package/fesm2022/primenglab-icons-chevrondown.mjs.map +1 -0
  149. package/fesm2022/primenglab-icons-chevronleft.mjs +33 -0
  150. package/fesm2022/primenglab-icons-chevronleft.mjs.map +1 -0
  151. package/fesm2022/primenglab-icons-chevronright.mjs +33 -0
  152. package/fesm2022/primenglab-icons-chevronright.mjs.map +1 -0
  153. package/fesm2022/primenglab-icons-chevronup.mjs +33 -0
  154. package/fesm2022/primenglab-icons-chevronup.mjs.map +1 -0
  155. package/fesm2022/primenglab-icons-exclamationtriangle.mjs +68 -0
  156. package/fesm2022/primenglab-icons-exclamationtriangle.mjs.map +1 -0
  157. package/fesm2022/primenglab-icons-eye.mjs +37 -0
  158. package/fesm2022/primenglab-icons-eye.mjs.map +1 -0
  159. package/fesm2022/primenglab-icons-eyeslash.mjs +56 -0
  160. package/fesm2022/primenglab-icons-eyeslash.mjs.map +1 -0
  161. package/fesm2022/primenglab-icons-filter.mjs +52 -0
  162. package/fesm2022/primenglab-icons-filter.mjs.map +1 -0
  163. package/fesm2022/primenglab-icons-filterfill.mjs +33 -0
  164. package/fesm2022/primenglab-icons-filterfill.mjs.map +1 -0
  165. package/fesm2022/primenglab-icons-filterslash.mjs +56 -0
  166. package/fesm2022/primenglab-icons-filterslash.mjs.map +1 -0
  167. package/fesm2022/primenglab-icons-home.mjs +56 -0
  168. package/fesm2022/primenglab-icons-home.mjs.map +1 -0
  169. package/fesm2022/primenglab-icons-infocircle.mjs +56 -0
  170. package/fesm2022/primenglab-icons-infocircle.mjs.map +1 -0
  171. package/fesm2022/primenglab-icons-minus.mjs +33 -0
  172. package/fesm2022/primenglab-icons-minus.mjs.map +1 -0
  173. package/fesm2022/primenglab-icons-pencil.mjs +52 -0
  174. package/fesm2022/primenglab-icons-pencil.mjs.map +1 -0
  175. package/fesm2022/primenglab-icons-plus.mjs +52 -0
  176. package/fesm2022/primenglab-icons-plus.mjs.map +1 -0
  177. package/fesm2022/primenglab-icons-refresh.mjs +56 -0
  178. package/fesm2022/primenglab-icons-refresh.mjs.map +1 -0
  179. package/fesm2022/primenglab-icons-search.mjs +56 -0
  180. package/fesm2022/primenglab-icons-search.mjs.map +1 -0
  181. package/fesm2022/primenglab-icons-searchminus.mjs +56 -0
  182. package/fesm2022/primenglab-icons-searchminus.mjs.map +1 -0
  183. package/fesm2022/primenglab-icons-searchplus.mjs +56 -0
  184. package/fesm2022/primenglab-icons-searchplus.mjs.map +1 -0
  185. package/fesm2022/primenglab-icons-sortalt.mjs +64 -0
  186. package/fesm2022/primenglab-icons-sortalt.mjs.map +1 -0
  187. package/fesm2022/primenglab-icons-sortamountdown.mjs +52 -0
  188. package/fesm2022/primenglab-icons-sortamountdown.mjs.map +1 -0
  189. package/fesm2022/primenglab-icons-sortamountupalt.mjs +52 -0
  190. package/fesm2022/primenglab-icons-sortamountupalt.mjs.map +1 -0
  191. package/fesm2022/primenglab-icons-spinner.mjs +52 -0
  192. package/fesm2022/primenglab-icons-spinner.mjs.map +1 -0
  193. package/fesm2022/primenglab-icons-star.mjs +52 -0
  194. package/fesm2022/primenglab-icons-star.mjs.map +1 -0
  195. package/fesm2022/primenglab-icons-starfill.mjs +52 -0
  196. package/fesm2022/primenglab-icons-starfill.mjs.map +1 -0
  197. package/fesm2022/primenglab-icons-thlarge.mjs +56 -0
  198. package/fesm2022/primenglab-icons-thlarge.mjs.map +1 -0
  199. package/fesm2022/primenglab-icons-times.mjs +33 -0
  200. package/fesm2022/primenglab-icons-times.mjs.map +1 -0
  201. package/fesm2022/primenglab-icons-timescircle.mjs +56 -0
  202. package/fesm2022/primenglab-icons-timescircle.mjs.map +1 -0
  203. package/fesm2022/primenglab-icons-trash.mjs +56 -0
  204. package/fesm2022/primenglab-icons-trash.mjs.map +1 -0
  205. package/fesm2022/primenglab-icons-undo.mjs +56 -0
  206. package/fesm2022/primenglab-icons-undo.mjs.map +1 -0
  207. package/fesm2022/primenglab-icons-upload.mjs +56 -0
  208. package/fesm2022/primenglab-icons-upload.mjs.map +1 -0
  209. package/fesm2022/primenglab-icons-windowmaximize.mjs +56 -0
  210. package/fesm2022/primenglab-icons-windowmaximize.mjs.map +1 -0
  211. package/fesm2022/primenglab-icons-windowminimize.mjs +56 -0
  212. package/fesm2022/primenglab-icons-windowminimize.mjs.map +1 -0
  213. package/fesm2022/primenglab-icons.mjs +63 -0
  214. package/fesm2022/primenglab-icons.mjs.map +1 -0
  215. package/fesm2022/primenglab-iftalabel.mjs +90 -0
  216. package/fesm2022/primenglab-iftalabel.mjs.map +1 -0
  217. package/fesm2022/primenglab-image.mjs +728 -0
  218. package/fesm2022/primenglab-image.mjs.map +1 -0
  219. package/fesm2022/primenglab-imagecompare.mjs +177 -0
  220. package/fesm2022/primenglab-imagecompare.mjs.map +1 -0
  221. package/fesm2022/primenglab-inplace.mjs +237 -0
  222. package/fesm2022/primenglab-inplace.mjs.map +1 -0
  223. package/fesm2022/primenglab-inputcolor.mjs +2262 -0
  224. package/fesm2022/primenglab-inputcolor.mjs.map +1 -0
  225. package/fesm2022/primenglab-inputgroup.mjs +121 -0
  226. package/fesm2022/primenglab-inputgroup.mjs.map +1 -0
  227. package/fesm2022/primenglab-inputgroupaddon.mjs +70 -0
  228. package/fesm2022/primenglab-inputgroupaddon.mjs.map +1 -0
  229. package/fesm2022/primenglab-inputicon.mjs +74 -0
  230. package/fesm2022/primenglab-inputicon.mjs.map +1 -0
  231. package/fesm2022/primenglab-inputmask.mjs +1495 -0
  232. package/fesm2022/primenglab-inputmask.mjs.map +1 -0
  233. package/fesm2022/primenglab-inputnumber.mjs +1624 -0
  234. package/fesm2022/primenglab-inputnumber.mjs.map +1 -0
  235. package/fesm2022/primenglab-inputotp.mjs +445 -0
  236. package/fesm2022/primenglab-inputotp.mjs.map +1 -0
  237. package/fesm2022/primenglab-inputpassword.mjs +102 -0
  238. package/fesm2022/primenglab-inputpassword.mjs.map +1 -0
  239. package/fesm2022/primenglab-inputtags.mjs +748 -0
  240. package/fesm2022/primenglab-inputtags.mjs.map +1 -0
  241. package/fesm2022/primenglab-inputtext.mjs +174 -0
  242. package/fesm2022/primenglab-inputtext.mjs.map +1 -0
  243. package/fesm2022/primenglab-keyfilter.mjs +252 -0
  244. package/fesm2022/primenglab-keyfilter.mjs.map +1 -0
  245. package/fesm2022/primenglab-knob.mjs +467 -0
  246. package/fesm2022/primenglab-knob.mjs.map +1 -0
  247. package/fesm2022/primenglab-label.mjs +85 -0
  248. package/fesm2022/primenglab-label.mjs.map +1 -0
  249. package/fesm2022/primenglab-license.mjs +39 -0
  250. package/fesm2022/primenglab-license.mjs.map +1 -0
  251. package/fesm2022/primenglab-listbox.mjs +2108 -0
  252. package/fesm2022/primenglab-listbox.mjs.map +1 -0
  253. package/fesm2022/primenglab-megamenu.mjs +1595 -0
  254. package/fesm2022/primenglab-megamenu.mjs.map +1 -0
  255. package/fesm2022/primenglab-menu.mjs +1224 -0
  256. package/fesm2022/primenglab-menu.mjs.map +1 -0
  257. package/fesm2022/primenglab-menubar.mjs +1448 -0
  258. package/fesm2022/primenglab-menubar.mjs.map +1 -0
  259. package/fesm2022/primenglab-message.mjs +306 -0
  260. package/fesm2022/primenglab-message.mjs.map +1 -0
  261. package/fesm2022/primenglab-metergroup.mjs +412 -0
  262. package/fesm2022/primenglab-metergroup.mjs.map +1 -0
  263. package/fesm2022/primenglab-motion.mjs +719 -0
  264. package/fesm2022/primenglab-motion.mjs.map +1 -0
  265. package/fesm2022/primenglab-multiselect.mjs +2543 -0
  266. package/fesm2022/primenglab-multiselect.mjs.map +1 -0
  267. package/fesm2022/primenglab-orderlist.mjs +868 -0
  268. package/fesm2022/primenglab-orderlist.mjs.map +1 -0
  269. package/fesm2022/primenglab-organizationchart.mjs +617 -0
  270. package/fesm2022/primenglab-organizationchart.mjs.map +1 -0
  271. package/fesm2022/primenglab-overlay.mjs +751 -0
  272. package/fesm2022/primenglab-overlay.mjs.map +1 -0
  273. package/fesm2022/primenglab-overlaybadge.mjs +134 -0
  274. package/fesm2022/primenglab-overlaybadge.mjs.map +1 -0
  275. package/fesm2022/primenglab-paginator.mjs +759 -0
  276. package/fesm2022/primenglab-paginator.mjs.map +1 -0
  277. package/fesm2022/primenglab-panel.mjs +487 -0
  278. package/fesm2022/primenglab-panel.mjs.map +1 -0
  279. package/fesm2022/primenglab-panelmenu.mjs +1599 -0
  280. package/fesm2022/primenglab-panelmenu.mjs.map +1 -0
  281. package/fesm2022/primenglab-passthrough.mjs +21 -0
  282. package/fesm2022/primenglab-passthrough.mjs.map +1 -0
  283. package/fesm2022/primenglab-password.mjs +1089 -0
  284. package/fesm2022/primenglab-password.mjs.map +1 -0
  285. package/fesm2022/primenglab-picklist.mjs +1992 -0
  286. package/fesm2022/primenglab-picklist.mjs.map +1 -0
  287. package/fesm2022/primenglab-popover.mjs +488 -0
  288. package/fesm2022/primenglab-popover.mjs.map +1 -0
  289. package/fesm2022/primenglab-progressbar.mjs +200 -0
  290. package/fesm2022/primenglab-progressbar.mjs.map +1 -0
  291. package/fesm2022/primenglab-progressspinner.mjs +313 -0
  292. package/fesm2022/primenglab-progressspinner.mjs.map +1 -0
  293. package/fesm2022/primenglab-radiobutton.mjs +347 -0
  294. package/fesm2022/primenglab-radiobutton.mjs.map +1 -0
  295. package/fesm2022/primenglab-rating.mjs +488 -0
  296. package/fesm2022/primenglab-rating.mjs.map +1 -0
  297. package/fesm2022/primenglab-ripple.mjs +192 -0
  298. package/fesm2022/primenglab-ripple.mjs.map +1 -0
  299. package/fesm2022/primenglab-scrollarea.mjs +730 -0
  300. package/fesm2022/primenglab-scrollarea.mjs.map +1 -0
  301. package/fesm2022/primenglab-scroller.mjs +1183 -0
  302. package/fesm2022/primenglab-scroller.mjs.map +1 -0
  303. package/fesm2022/primenglab-scrollpanel.mjs +543 -0
  304. package/fesm2022/primenglab-scrollpanel.mjs.map +1 -0
  305. package/fesm2022/primenglab-scrolltop.mjs +323 -0
  306. package/fesm2022/primenglab-scrolltop.mjs.map +1 -0
  307. package/fesm2022/primenglab-select.mjs +2287 -0
  308. package/fesm2022/primenglab-select.mjs.map +1 -0
  309. package/fesm2022/primenglab-selectbutton.mjs +390 -0
  310. package/fesm2022/primenglab-selectbutton.mjs.map +1 -0
  311. package/fesm2022/primenglab-sidebar.mjs +1461 -0
  312. package/fesm2022/primenglab-sidebar.mjs.map +1 -0
  313. package/fesm2022/primenglab-skeleton.mjs +161 -0
  314. package/fesm2022/primenglab-skeleton.mjs.map +1 -0
  315. package/fesm2022/primenglab-slider.mjs +776 -0
  316. package/fesm2022/primenglab-slider.mjs.map +1 -0
  317. package/fesm2022/primenglab-speeddial.mjs +892 -0
  318. package/fesm2022/primenglab-speeddial.mjs.map +1 -0
  319. package/fesm2022/primenglab-splitbutton.mjs +544 -0
  320. package/fesm2022/primenglab-splitbutton.mjs.map +1 -0
  321. package/fesm2022/primenglab-splitter.mjs +853 -0
  322. package/fesm2022/primenglab-splitter.mjs.map +1 -0
  323. package/fesm2022/primenglab-stepper.mjs +724 -0
  324. package/fesm2022/primenglab-stepper.mjs.map +1 -0
  325. package/fesm2022/primenglab-steps.mjs +425 -0
  326. package/fesm2022/primenglab-steps.mjs.map +1 -0
  327. package/fesm2022/primenglab-styleclass.mjs +331 -0
  328. package/fesm2022/primenglab-styleclass.mjs.map +1 -0
  329. package/fesm2022/primenglab-table.mjs +7125 -0
  330. package/fesm2022/primenglab-table.mjs.map +1 -0
  331. package/fesm2022/primenglab-tabs.mjs +932 -0
  332. package/fesm2022/primenglab-tabs.mjs.map +1 -0
  333. package/fesm2022/primenglab-tag.mjs +179 -0
  334. package/fesm2022/primenglab-tag.mjs.map +1 -0
  335. package/fesm2022/primenglab-terminal.mjs +253 -0
  336. package/fesm2022/primenglab-terminal.mjs.map +1 -0
  337. package/fesm2022/primenglab-textarea.mjs +208 -0
  338. package/fesm2022/primenglab-textarea.mjs.map +1 -0
  339. package/fesm2022/primenglab-tieredmenu.mjs +1547 -0
  340. package/fesm2022/primenglab-tieredmenu.mjs.map +1 -0
  341. package/fesm2022/primenglab-timeline.mjs +211 -0
  342. package/fesm2022/primenglab-timeline.mjs.map +1 -0
  343. package/fesm2022/primenglab-toast.mjs +1140 -0
  344. package/fesm2022/primenglab-toast.mjs.map +1 -0
  345. package/fesm2022/primenglab-togglebutton.mjs +343 -0
  346. package/fesm2022/primenglab-togglebutton.mjs.map +1 -0
  347. package/fesm2022/primenglab-toggleswitch.mjs +296 -0
  348. package/fesm2022/primenglab-toggleswitch.mjs.map +1 -0
  349. package/fesm2022/primenglab-toolbar.mjs +167 -0
  350. package/fesm2022/primenglab-toolbar.mjs.map +1 -0
  351. package/fesm2022/primenglab-tooltip.mjs +770 -0
  352. package/fesm2022/primenglab-tooltip.mjs.map +1 -0
  353. package/fesm2022/primenglab-tree.mjs +2332 -0
  354. package/fesm2022/primenglab-tree.mjs.map +1 -0
  355. package/fesm2022/primenglab-treeselect.mjs +1263 -0
  356. package/fesm2022/primenglab-treeselect.mjs.map +1 -0
  357. package/fesm2022/primenglab-treetable.mjs +4817 -0
  358. package/fesm2022/primenglab-treetable.mjs.map +1 -0
  359. package/fesm2022/primenglab-ts-helpers.mjs +4 -0
  360. package/fesm2022/primenglab-ts-helpers.mjs.map +1 -0
  361. package/fesm2022/primenglab-types-accordion.mjs +4 -0
  362. package/fesm2022/primenglab-types-accordion.mjs.map +1 -0
  363. package/fesm2022/primenglab-types-autocomplete.mjs +4 -0
  364. package/fesm2022/primenglab-types-autocomplete.mjs.map +1 -0
  365. package/fesm2022/primenglab-types-avatar.mjs +4 -0
  366. package/fesm2022/primenglab-types-avatar.mjs.map +1 -0
  367. package/fesm2022/primenglab-types-avatargroup.mjs +4 -0
  368. package/fesm2022/primenglab-types-avatargroup.mjs.map +1 -0
  369. package/fesm2022/primenglab-types-badge.mjs +4 -0
  370. package/fesm2022/primenglab-types-badge.mjs.map +1 -0
  371. package/fesm2022/primenglab-types-blockui.mjs +4 -0
  372. package/fesm2022/primenglab-types-blockui.mjs.map +1 -0
  373. package/fesm2022/primenglab-types-breadcrumb.mjs +4 -0
  374. package/fesm2022/primenglab-types-breadcrumb.mjs.map +1 -0
  375. package/fesm2022/primenglab-types-button.mjs +4 -0
  376. package/fesm2022/primenglab-types-button.mjs.map +1 -0
  377. package/fesm2022/primenglab-types-card.mjs +4 -0
  378. package/fesm2022/primenglab-types-card.mjs.map +1 -0
  379. package/fesm2022/primenglab-types-carousel.mjs +4 -0
  380. package/fesm2022/primenglab-types-carousel.mjs.map +1 -0
  381. package/fesm2022/primenglab-types-cascadeselect.mjs +4 -0
  382. package/fesm2022/primenglab-types-cascadeselect.mjs.map +1 -0
  383. package/fesm2022/primenglab-types-chart.mjs +4 -0
  384. package/fesm2022/primenglab-types-chart.mjs.map +1 -0
  385. package/fesm2022/primenglab-types-checkbox.mjs +4 -0
  386. package/fesm2022/primenglab-types-checkbox.mjs.map +1 -0
  387. package/fesm2022/primenglab-types-chip.mjs +4 -0
  388. package/fesm2022/primenglab-types-chip.mjs.map +1 -0
  389. package/fesm2022/primenglab-types-colorpicker.mjs +4 -0
  390. package/fesm2022/primenglab-types-colorpicker.mjs.map +1 -0
  391. package/fesm2022/primenglab-types-commandmenu.mjs +4 -0
  392. package/fesm2022/primenglab-types-commandmenu.mjs.map +1 -0
  393. package/fesm2022/primenglab-types-compare.mjs +4 -0
  394. package/fesm2022/primenglab-types-compare.mjs.map +1 -0
  395. package/fesm2022/primenglab-types-confirmdialog.mjs +4 -0
  396. package/fesm2022/primenglab-types-confirmdialog.mjs.map +1 -0
  397. package/fesm2022/primenglab-types-confirmpopup.mjs +4 -0
  398. package/fesm2022/primenglab-types-confirmpopup.mjs.map +1 -0
  399. package/fesm2022/primenglab-types-contextmenu.mjs +4 -0
  400. package/fesm2022/primenglab-types-contextmenu.mjs.map +1 -0
  401. package/fesm2022/primenglab-types-dataview.mjs +4 -0
  402. package/fesm2022/primenglab-types-dataview.mjs.map +1 -0
  403. package/fesm2022/primenglab-types-datepicker.mjs +4 -0
  404. package/fesm2022/primenglab-types-datepicker.mjs.map +1 -0
  405. package/fesm2022/primenglab-types-dialog.mjs +4 -0
  406. package/fesm2022/primenglab-types-dialog.mjs.map +1 -0
  407. package/fesm2022/primenglab-types-divider.mjs +4 -0
  408. package/fesm2022/primenglab-types-divider.mjs.map +1 -0
  409. package/fesm2022/primenglab-types-dock.mjs +4 -0
  410. package/fesm2022/primenglab-types-dock.mjs.map +1 -0
  411. package/fesm2022/primenglab-types-drawer.mjs +4 -0
  412. package/fesm2022/primenglab-types-drawer.mjs.map +1 -0
  413. package/fesm2022/primenglab-types-editor.mjs +4 -0
  414. package/fesm2022/primenglab-types-editor.mjs.map +1 -0
  415. package/fesm2022/primenglab-types-fieldset.mjs +4 -0
  416. package/fesm2022/primenglab-types-fieldset.mjs.map +1 -0
  417. package/fesm2022/primenglab-types-fileupload.mjs +4 -0
  418. package/fesm2022/primenglab-types-fileupload.mjs.map +1 -0
  419. package/fesm2022/primenglab-types-floatlabel.mjs +4 -0
  420. package/fesm2022/primenglab-types-floatlabel.mjs.map +1 -0
  421. package/fesm2022/primenglab-types-fluid.mjs +4 -0
  422. package/fesm2022/primenglab-types-fluid.mjs.map +1 -0
  423. package/fesm2022/primenglab-types-galleria.mjs +4 -0
  424. package/fesm2022/primenglab-types-galleria.mjs.map +1 -0
  425. package/fesm2022/primenglab-types-gallery.mjs +4 -0
  426. package/fesm2022/primenglab-types-gallery.mjs.map +1 -0
  427. package/fesm2022/primenglab-types-iconfield.mjs +4 -0
  428. package/fesm2022/primenglab-types-iconfield.mjs.map +1 -0
  429. package/fesm2022/primenglab-types-iftalabel.mjs +4 -0
  430. package/fesm2022/primenglab-types-iftalabel.mjs.map +1 -0
  431. package/fesm2022/primenglab-types-image.mjs +4 -0
  432. package/fesm2022/primenglab-types-image.mjs.map +1 -0
  433. package/fesm2022/primenglab-types-imagecompare.mjs +4 -0
  434. package/fesm2022/primenglab-types-imagecompare.mjs.map +1 -0
  435. package/fesm2022/primenglab-types-inplace.mjs +4 -0
  436. package/fesm2022/primenglab-types-inplace.mjs.map +1 -0
  437. package/fesm2022/primenglab-types-inputcolor.mjs +4 -0
  438. package/fesm2022/primenglab-types-inputcolor.mjs.map +1 -0
  439. package/fesm2022/primenglab-types-inputgroup.mjs +4 -0
  440. package/fesm2022/primenglab-types-inputgroup.mjs.map +1 -0
  441. package/fesm2022/primenglab-types-inputgroupaddon.mjs +4 -0
  442. package/fesm2022/primenglab-types-inputgroupaddon.mjs.map +1 -0
  443. package/fesm2022/primenglab-types-inputicon.mjs +4 -0
  444. package/fesm2022/primenglab-types-inputicon.mjs.map +1 -0
  445. package/fesm2022/primenglab-types-inputmask.mjs +4 -0
  446. package/fesm2022/primenglab-types-inputmask.mjs.map +1 -0
  447. package/fesm2022/primenglab-types-inputnumber.mjs +4 -0
  448. package/fesm2022/primenglab-types-inputnumber.mjs.map +1 -0
  449. package/fesm2022/primenglab-types-inputotp.mjs +4 -0
  450. package/fesm2022/primenglab-types-inputotp.mjs.map +1 -0
  451. package/fesm2022/primenglab-types-inputpassword.mjs +4 -0
  452. package/fesm2022/primenglab-types-inputpassword.mjs.map +1 -0
  453. package/fesm2022/primenglab-types-inputtags.mjs +4 -0
  454. package/fesm2022/primenglab-types-inputtags.mjs.map +1 -0
  455. package/fesm2022/primenglab-types-inputtext.mjs +4 -0
  456. package/fesm2022/primenglab-types-inputtext.mjs.map +1 -0
  457. package/fesm2022/primenglab-types-knob.mjs +4 -0
  458. package/fesm2022/primenglab-types-knob.mjs.map +1 -0
  459. package/fesm2022/primenglab-types-label.mjs +4 -0
  460. package/fesm2022/primenglab-types-label.mjs.map +1 -0
  461. package/fesm2022/primenglab-types-listbox.mjs +4 -0
  462. package/fesm2022/primenglab-types-listbox.mjs.map +1 -0
  463. package/fesm2022/primenglab-types-megamenu.mjs +4 -0
  464. package/fesm2022/primenglab-types-megamenu.mjs.map +1 -0
  465. package/fesm2022/primenglab-types-menu.mjs +4 -0
  466. package/fesm2022/primenglab-types-menu.mjs.map +1 -0
  467. package/fesm2022/primenglab-types-menubar.mjs +4 -0
  468. package/fesm2022/primenglab-types-menubar.mjs.map +1 -0
  469. package/fesm2022/primenglab-types-message.mjs +4 -0
  470. package/fesm2022/primenglab-types-message.mjs.map +1 -0
  471. package/fesm2022/primenglab-types-metergroup.mjs +4 -0
  472. package/fesm2022/primenglab-types-metergroup.mjs.map +1 -0
  473. package/fesm2022/primenglab-types-motion.mjs +4 -0
  474. package/fesm2022/primenglab-types-motion.mjs.map +1 -0
  475. package/fesm2022/primenglab-types-multiselect.mjs +4 -0
  476. package/fesm2022/primenglab-types-multiselect.mjs.map +1 -0
  477. package/fesm2022/primenglab-types-orderlist.mjs +4 -0
  478. package/fesm2022/primenglab-types-orderlist.mjs.map +1 -0
  479. package/fesm2022/primenglab-types-organizationchart.mjs +4 -0
  480. package/fesm2022/primenglab-types-organizationchart.mjs.map +1 -0
  481. package/fesm2022/primenglab-types-overlay.mjs +4 -0
  482. package/fesm2022/primenglab-types-overlay.mjs.map +1 -0
  483. package/fesm2022/primenglab-types-overlaybadge.mjs +4 -0
  484. package/fesm2022/primenglab-types-overlaybadge.mjs.map +1 -0
  485. package/fesm2022/primenglab-types-paginator.mjs +4 -0
  486. package/fesm2022/primenglab-types-paginator.mjs.map +1 -0
  487. package/fesm2022/primenglab-types-panel.mjs +4 -0
  488. package/fesm2022/primenglab-types-panel.mjs.map +1 -0
  489. package/fesm2022/primenglab-types-panelmenu.mjs +4 -0
  490. package/fesm2022/primenglab-types-panelmenu.mjs.map +1 -0
  491. package/fesm2022/primenglab-types-password.mjs +4 -0
  492. package/fesm2022/primenglab-types-password.mjs.map +1 -0
  493. package/fesm2022/primenglab-types-picklist.mjs +4 -0
  494. package/fesm2022/primenglab-types-picklist.mjs.map +1 -0
  495. package/fesm2022/primenglab-types-popover.mjs +4 -0
  496. package/fesm2022/primenglab-types-popover.mjs.map +1 -0
  497. package/fesm2022/primenglab-types-progressbar.mjs +4 -0
  498. package/fesm2022/primenglab-types-progressbar.mjs.map +1 -0
  499. package/fesm2022/primenglab-types-progressspinner.mjs +4 -0
  500. package/fesm2022/primenglab-types-progressspinner.mjs.map +1 -0
  501. package/fesm2022/primenglab-types-radiobutton.mjs +4 -0
  502. package/fesm2022/primenglab-types-radiobutton.mjs.map +1 -0
  503. package/fesm2022/primenglab-types-rating.mjs +4 -0
  504. package/fesm2022/primenglab-types-rating.mjs.map +1 -0
  505. package/fesm2022/primenglab-types-scrollarea.mjs +4 -0
  506. package/fesm2022/primenglab-types-scrollarea.mjs.map +1 -0
  507. package/fesm2022/primenglab-types-scroller.mjs +4 -0
  508. package/fesm2022/primenglab-types-scroller.mjs.map +1 -0
  509. package/fesm2022/primenglab-types-scrollpanel.mjs +4 -0
  510. package/fesm2022/primenglab-types-scrollpanel.mjs.map +1 -0
  511. package/fesm2022/primenglab-types-scrolltop.mjs +4 -0
  512. package/fesm2022/primenglab-types-scrolltop.mjs.map +1 -0
  513. package/fesm2022/primenglab-types-select.mjs +4 -0
  514. package/fesm2022/primenglab-types-select.mjs.map +1 -0
  515. package/fesm2022/primenglab-types-selectbutton.mjs +4 -0
  516. package/fesm2022/primenglab-types-selectbutton.mjs.map +1 -0
  517. package/fesm2022/primenglab-types-shared.mjs +4 -0
  518. package/fesm2022/primenglab-types-shared.mjs.map +1 -0
  519. package/fesm2022/primenglab-types-sidebar.mjs +4 -0
  520. package/fesm2022/primenglab-types-sidebar.mjs.map +1 -0
  521. package/fesm2022/primenglab-types-skeleton.mjs +4 -0
  522. package/fesm2022/primenglab-types-skeleton.mjs.map +1 -0
  523. package/fesm2022/primenglab-types-slider.mjs +4 -0
  524. package/fesm2022/primenglab-types-slider.mjs.map +1 -0
  525. package/fesm2022/primenglab-types-speeddial.mjs +4 -0
  526. package/fesm2022/primenglab-types-speeddial.mjs.map +1 -0
  527. package/fesm2022/primenglab-types-splitbutton.mjs +4 -0
  528. package/fesm2022/primenglab-types-splitbutton.mjs.map +1 -0
  529. package/fesm2022/primenglab-types-splitter.mjs +4 -0
  530. package/fesm2022/primenglab-types-splitter.mjs.map +1 -0
  531. package/fesm2022/primenglab-types-stepper.mjs +4 -0
  532. package/fesm2022/primenglab-types-stepper.mjs.map +1 -0
  533. package/fesm2022/primenglab-types-table.mjs +4 -0
  534. package/fesm2022/primenglab-types-table.mjs.map +1 -0
  535. package/fesm2022/primenglab-types-tabs.mjs +4 -0
  536. package/fesm2022/primenglab-types-tabs.mjs.map +1 -0
  537. package/fesm2022/primenglab-types-tag.mjs +4 -0
  538. package/fesm2022/primenglab-types-tag.mjs.map +1 -0
  539. package/fesm2022/primenglab-types-terminal.mjs +4 -0
  540. package/fesm2022/primenglab-types-terminal.mjs.map +1 -0
  541. package/fesm2022/primenglab-types-textarea.mjs +4 -0
  542. package/fesm2022/primenglab-types-textarea.mjs.map +1 -0
  543. package/fesm2022/primenglab-types-tieredmenu.mjs +4 -0
  544. package/fesm2022/primenglab-types-tieredmenu.mjs.map +1 -0
  545. package/fesm2022/primenglab-types-timeline.mjs +4 -0
  546. package/fesm2022/primenglab-types-timeline.mjs.map +1 -0
  547. package/fesm2022/primenglab-types-toast.mjs +4 -0
  548. package/fesm2022/primenglab-types-toast.mjs.map +1 -0
  549. package/fesm2022/primenglab-types-togglebutton.mjs +4 -0
  550. package/fesm2022/primenglab-types-togglebutton.mjs.map +1 -0
  551. package/fesm2022/primenglab-types-toggleswitch.mjs +4 -0
  552. package/fesm2022/primenglab-types-toggleswitch.mjs.map +1 -0
  553. package/fesm2022/primenglab-types-toolbar.mjs +4 -0
  554. package/fesm2022/primenglab-types-toolbar.mjs.map +1 -0
  555. package/fesm2022/primenglab-types-tooltip.mjs +4 -0
  556. package/fesm2022/primenglab-types-tooltip.mjs.map +1 -0
  557. package/fesm2022/primenglab-types-tree.mjs +4 -0
  558. package/fesm2022/primenglab-types-tree.mjs.map +1 -0
  559. package/fesm2022/primenglab-types-treeselect.mjs +4 -0
  560. package/fesm2022/primenglab-types-treeselect.mjs.map +1 -0
  561. package/fesm2022/primenglab-types-treetable.mjs +4 -0
  562. package/fesm2022/primenglab-types-treetable.mjs.map +1 -0
  563. package/fesm2022/primenglab-usestyle.mjs +54 -0
  564. package/fesm2022/primenglab-usestyle.mjs.map +1 -0
  565. package/fesm2022/primenglab-utils.mjs +332 -0
  566. package/fesm2022/primenglab-utils.mjs.map +1 -0
  567. package/fesm2022/primenglab.mjs +6 -0
  568. package/fesm2022/primenglab.mjs.map +1 -0
  569. package/package.json +1188 -0
  570. package/types/primenglab-accordion.d.ts +252 -0
  571. package/types/primenglab-animateonscroll.d.ts +68 -0
  572. package/types/primenglab-api.d.ts +2000 -0
  573. package/types/primenglab-autocomplete.d.ts +774 -0
  574. package/types/primenglab-autofocus.d.ts +29 -0
  575. package/types/primenglab-avatar.d.ts +133 -0
  576. package/types/primenglab-avatargroup.d.ts +58 -0
  577. package/types/primenglab-badge.d.ts +96 -0
  578. package/types/primenglab-base.d.ts +58 -0
  579. package/types/primenglab-basecomponent.d.ts +178 -0
  580. package/types/primenglab-baseeditableholder.d.ts +45 -0
  581. package/types/primenglab-baseinput.d.ts +74 -0
  582. package/types/primenglab-basemodelholder.d.ts +12 -0
  583. package/types/primenglab-bind.d.ts +37 -0
  584. package/types/primenglab-blockui.d.ts +97 -0
  585. package/types/primenglab-breadcrumb.d.ts +150 -0
  586. package/types/primenglab-button.d.ts +468 -0
  587. package/types/primenglab-buttongroup.d.ts +44 -0
  588. package/types/primenglab-card.d.ts +138 -0
  589. package/types/primenglab-carousel.d.ts +687 -0
  590. package/types/primenglab-cascadeselect.d.ts +581 -0
  591. package/types/primenglab-chart.d.ts +133 -0
  592. package/types/primenglab-checkbox.d.ts +227 -0
  593. package/types/primenglab-chip.d.ts +159 -0
  594. package/types/primenglab-classnames.d.ts +32 -0
  595. package/types/primenglab-colorpicker.d.ts +295 -0
  596. package/types/primenglab-commandmenu.d.ts +182 -0
  597. package/types/primenglab-compare.d.ts +225 -0
  598. package/types/primenglab-config.d.ts +313 -0
  599. package/types/primenglab-confirmdialog.d.ts +344 -0
  600. package/types/primenglab-confirmpopup.d.ts +230 -0
  601. package/types/primenglab-contextmenu.d.ts +388 -0
  602. package/types/primenglab-dataview.d.ts +361 -0
  603. package/types/primenglab-datepicker.d.ts +967 -0
  604. package/types/primenglab-dialog.d.ts +481 -0
  605. package/types/primenglab-divider.d.ts +116 -0
  606. package/types/primenglab-dock.d.ts +189 -0
  607. package/types/primenglab-dom.d.ts +109 -0
  608. package/types/primenglab-dragdrop.d.ts +117 -0
  609. package/types/primenglab-drawer.d.ts +272 -0
  610. package/types/primenglab-dynamicdialog.d.ts +576 -0
  611. package/types/primenglab-editor.d.ts +182 -0
  612. package/types/primenglab-fieldset.d.ts +182 -0
  613. package/types/primenglab-fileupload.d.ts +542 -0
  614. package/types/primenglab-floatlabel.d.ts +67 -0
  615. package/types/primenglab-fluid.d.ts +54 -0
  616. package/types/primenglab-focustrap.d.ts +32 -0
  617. package/types/primenglab-galleria.d.ts +450 -0
  618. package/types/primenglab-gallery.d.ts +653 -0
  619. package/types/primenglab-iconfield.d.ts +61 -0
  620. package/types/primenglab-icons-angledoubledown.d.ts +9 -0
  621. package/types/primenglab-icons-angledoubleleft.d.ts +9 -0
  622. package/types/primenglab-icons-angledoubleright.d.ts +9 -0
  623. package/types/primenglab-icons-angledoubleup.d.ts +9 -0
  624. package/types/primenglab-icons-angledown.d.ts +9 -0
  625. package/types/primenglab-icons-angleleft.d.ts +9 -0
  626. package/types/primenglab-icons-angleright.d.ts +9 -0
  627. package/types/primenglab-icons-angleup.d.ts +9 -0
  628. package/types/primenglab-icons-arrowdown.d.ts +11 -0
  629. package/types/primenglab-icons-arrowdownleft.d.ts +9 -0
  630. package/types/primenglab-icons-arrowdownright.d.ts +9 -0
  631. package/types/primenglab-icons-arrowleft.d.ts +11 -0
  632. package/types/primenglab-icons-arrowright.d.ts +9 -0
  633. package/types/primenglab-icons-arrowup.d.ts +11 -0
  634. package/types/primenglab-icons-ban.d.ts +11 -0
  635. package/types/primenglab-icons-bars.d.ts +9 -0
  636. package/types/primenglab-icons-baseicon.d.ts +33 -0
  637. package/types/primenglab-icons-blank.d.ts +9 -0
  638. package/types/primenglab-icons-calendar.d.ts +9 -0
  639. package/types/primenglab-icons-caretleft.d.ts +9 -0
  640. package/types/primenglab-icons-caretright.d.ts +9 -0
  641. package/types/primenglab-icons-check.d.ts +9 -0
  642. package/types/primenglab-icons-chevrondown.d.ts +9 -0
  643. package/types/primenglab-icons-chevronleft.d.ts +9 -0
  644. package/types/primenglab-icons-chevronright.d.ts +9 -0
  645. package/types/primenglab-icons-chevronup.d.ts +9 -0
  646. package/types/primenglab-icons-exclamationtriangle.d.ts +11 -0
  647. package/types/primenglab-icons-eye.d.ts +9 -0
  648. package/types/primenglab-icons-eyeslash.d.ts +11 -0
  649. package/types/primenglab-icons-filter.d.ts +11 -0
  650. package/types/primenglab-icons-filterfill.d.ts +9 -0
  651. package/types/primenglab-icons-filterslash.d.ts +11 -0
  652. package/types/primenglab-icons-home.d.ts +11 -0
  653. package/types/primenglab-icons-infocircle.d.ts +11 -0
  654. package/types/primenglab-icons-minus.d.ts +9 -0
  655. package/types/primenglab-icons-pencil.d.ts +11 -0
  656. package/types/primenglab-icons-plus.d.ts +11 -0
  657. package/types/primenglab-icons-refresh.d.ts +11 -0
  658. package/types/primenglab-icons-search.d.ts +11 -0
  659. package/types/primenglab-icons-searchminus.d.ts +11 -0
  660. package/types/primenglab-icons-searchplus.d.ts +11 -0
  661. package/types/primenglab-icons-sortalt.d.ts +11 -0
  662. package/types/primenglab-icons-sortamountdown.d.ts +11 -0
  663. package/types/primenglab-icons-sortamountupalt.d.ts +11 -0
  664. package/types/primenglab-icons-spinner.d.ts +11 -0
  665. package/types/primenglab-icons-star.d.ts +11 -0
  666. package/types/primenglab-icons-starfill.d.ts +11 -0
  667. package/types/primenglab-icons-thlarge.d.ts +11 -0
  668. package/types/primenglab-icons-times.d.ts +9 -0
  669. package/types/primenglab-icons-timescircle.d.ts +11 -0
  670. package/types/primenglab-icons-trash.d.ts +11 -0
  671. package/types/primenglab-icons-undo.d.ts +11 -0
  672. package/types/primenglab-icons-upload.d.ts +11 -0
  673. package/types/primenglab-icons-windowmaximize.d.ts +11 -0
  674. package/types/primenglab-icons-windowminimize.d.ts +11 -0
  675. package/types/primenglab-icons.d.ts +53 -0
  676. package/types/primenglab-iftalabel.d.ts +56 -0
  677. package/types/primenglab-image.d.ts +336 -0
  678. package/types/primenglab-imagecompare.d.ts +97 -0
  679. package/types/primenglab-inplace.d.ts +132 -0
  680. package/types/primenglab-inputcolor.d.ts +568 -0
  681. package/types/primenglab-inputgroup.d.ts +59 -0
  682. package/types/primenglab-inputgroupaddon.d.ts +37 -0
  683. package/types/primenglab-inputicon.d.ts +38 -0
  684. package/types/primenglab-inputmask.d.ts +385 -0
  685. package/types/primenglab-inputnumber.d.ts +424 -0
  686. package/types/primenglab-inputotp.d.ts +177 -0
  687. package/types/primenglab-inputpassword.d.ts +63 -0
  688. package/types/primenglab-inputtags.d.ts +315 -0
  689. package/types/primenglab-inputtext.d.ts +112 -0
  690. package/types/primenglab-keyfilter.d.ts +58 -0
  691. package/types/primenglab-knob.d.ts +202 -0
  692. package/types/primenglab-label.d.ts +55 -0
  693. package/types/primenglab-license.d.ts +23 -0
  694. package/types/primenglab-listbox.d.ts +775 -0
  695. package/types/primenglab-megamenu.d.ts +402 -0
  696. package/types/primenglab-menu.d.ts +382 -0
  697. package/types/primenglab-menubar.d.ts +374 -0
  698. package/types/primenglab-message.d.ts +166 -0
  699. package/types/primenglab-metergroup.d.ts +209 -0
  700. package/types/primenglab-motion.d.ts +398 -0
  701. package/types/primenglab-multiselect.d.ts +877 -0
  702. package/types/primenglab-orderlist.d.ts +390 -0
  703. package/types/primenglab-organizationchart.d.ts +189 -0
  704. package/types/primenglab-overlay.d.ts +300 -0
  705. package/types/primenglab-overlaybadge.d.ts +70 -0
  706. package/types/primenglab-paginator.d.ts +330 -0
  707. package/types/primenglab-panel.d.ts +234 -0
  708. package/types/primenglab-panelmenu.d.ts +248 -0
  709. package/types/primenglab-passthrough.d.ts +14 -0
  710. package/types/primenglab-password.d.ts +459 -0
  711. package/types/primenglab-picklist.d.ts +751 -0
  712. package/types/primenglab-popover.d.ts +183 -0
  713. package/types/primenglab-progressbar.d.ts +118 -0
  714. package/types/primenglab-progressspinner.d.ts +126 -0
  715. package/types/primenglab-radiobutton.d.ts +188 -0
  716. package/types/primenglab-rating.d.ts +210 -0
  717. package/types/primenglab-ripple.d.ts +60 -0
  718. package/types/primenglab-scrollarea.d.ts +286 -0
  719. package/types/primenglab-scroller.d.ts +462 -0
  720. package/types/primenglab-scrollpanel.d.ts +147 -0
  721. package/types/primenglab-scrolltop.d.ts +143 -0
  722. package/types/primenglab-select.d.ts +757 -0
  723. package/types/primenglab-selectbutton.d.ts +184 -0
  724. package/types/primenglab-sidebar.d.ts +669 -0
  725. package/types/primenglab-skeleton.d.ts +103 -0
  726. package/types/primenglab-slider.d.ts +327 -0
  727. package/types/primenglab-speeddial.d.ts +394 -0
  728. package/types/primenglab-splitbutton.d.ts +259 -0
  729. package/types/primenglab-splitter.d.ts +334 -0
  730. package/types/primenglab-stepper.d.ts +311 -0
  731. package/types/primenglab-steps.d.ts +153 -0
  732. package/types/primenglab-styleclass.d.ts +110 -0
  733. package/types/primenglab-table.d.ts +1953 -0
  734. package/types/primenglab-tabs.d.ts +356 -0
  735. package/types/primenglab-tag.d.ts +104 -0
  736. package/types/primenglab-terminal.d.ts +137 -0
  737. package/types/primenglab-textarea.d.ts +126 -0
  738. package/types/primenglab-tieredmenu.d.ts +419 -0
  739. package/types/primenglab-timeline.d.ts +128 -0
  740. package/types/primenglab-toast.d.ts +268 -0
  741. package/types/primenglab-togglebutton.d.ts +200 -0
  742. package/types/primenglab-toggleswitch.d.ts +161 -0
  743. package/types/primenglab-toolbar.d.ts +95 -0
  744. package/types/primenglab-tooltip.d.ts +251 -0
  745. package/types/primenglab-tree.d.ts +571 -0
  746. package/types/primenglab-treeselect.d.ts +560 -0
  747. package/types/primenglab-treetable.d.ts +1290 -0
  748. package/types/primenglab-ts-helpers.d.ts +6 -0
  749. package/types/primenglab-types-accordion.d.ts +135 -0
  750. package/types/primenglab-types-autocomplete.d.ts +312 -0
  751. package/types/primenglab-types-avatar.d.ts +50 -0
  752. package/types/primenglab-types-avatargroup.d.ts +28 -0
  753. package/types/primenglab-types-badge.d.ts +36 -0
  754. package/types/primenglab-types-blockui.d.ts +39 -0
  755. package/types/primenglab-types-breadcrumb.d.ts +96 -0
  756. package/types/primenglab-types-button.d.ts +140 -0
  757. package/types/primenglab-types-card.d.ts +75 -0
  758. package/types/primenglab-types-carousel.d.ts +244 -0
  759. package/types/primenglab-types-cascadeselect.d.ts +278 -0
  760. package/types/primenglab-types-chart.d.ts +57 -0
  761. package/types/primenglab-types-checkbox.d.ts +85 -0
  762. package/types/primenglab-types-chip.d.ts +70 -0
  763. package/types/primenglab-types-colorpicker.d.ts +83 -0
  764. package/types/primenglab-types-commandmenu.d.ts +154 -0
  765. package/types/primenglab-types-compare.d.ts +55 -0
  766. package/types/primenglab-types-confirmdialog.d.ts +161 -0
  767. package/types/primenglab-types-confirmpopup.d.ts +110 -0
  768. package/types/primenglab-types-contextmenu.d.ts +135 -0
  769. package/types/primenglab-types-dataview.d.ts +263 -0
  770. package/types/primenglab-types-datepicker.d.ts +535 -0
  771. package/types/primenglab-types-dialog.d.ts +124 -0
  772. package/types/primenglab-types-divider.d.ts +43 -0
  773. package/types/primenglab-types-dock.d.ts +75 -0
  774. package/types/primenglab-types-drawer.d.ts +83 -0
  775. package/types/primenglab-types-editor.d.ts +210 -0
  776. package/types/primenglab-types-fieldset.d.ts +120 -0
  777. package/types/primenglab-types-fileupload.d.ts +416 -0
  778. package/types/primenglab-types-floatlabel.d.ts +27 -0
  779. package/types/primenglab-types-fluid.d.ts +28 -0
  780. package/types/primenglab-types-galleria.d.ts +259 -0
  781. package/types/primenglab-types-gallery.d.ts +434 -0
  782. package/types/primenglab-types-iconfield.d.ts +27 -0
  783. package/types/primenglab-types-iftalabel.d.ts +26 -0
  784. package/types/primenglab-types-image.d.ts +149 -0
  785. package/types/primenglab-types-imagecompare.d.ts +43 -0
  786. package/types/primenglab-types-inplace.d.ts +72 -0
  787. package/types/primenglab-types-inputcolor.d.ts +206 -0
  788. package/types/primenglab-types-inputgroup.d.ts +28 -0
  789. package/types/primenglab-types-inputgroupaddon.d.ts +28 -0
  790. package/types/primenglab-types-inputicon.d.ts +26 -0
  791. package/types/primenglab-types-inputmask.d.ts +56 -0
  792. package/types/primenglab-types-inputnumber.d.ts +115 -0
  793. package/types/primenglab-types-inputotp.d.ts +101 -0
  794. package/types/primenglab-types-inputpassword.d.ts +24 -0
  795. package/types/primenglab-types-inputtags.d.ts +178 -0
  796. package/types/primenglab-types-inputtext.d.ts +24 -0
  797. package/types/primenglab-types-knob.d.ts +40 -0
  798. package/types/primenglab-types-label.d.ts +24 -0
  799. package/types/primenglab-types-listbox.d.ts +359 -0
  800. package/types/primenglab-types-megamenu.d.ts +183 -0
  801. package/types/primenglab-types-menu.d.ts +135 -0
  802. package/types/primenglab-types-menubar.d.ts +171 -0
  803. package/types/primenglab-types-message.d.ts +112 -0
  804. package/types/primenglab-types-metergroup.d.ts +178 -0
  805. package/types/primenglab-types-motion.d.ts +26 -0
  806. package/types/primenglab-types-multiselect.d.ts +454 -0
  807. package/types/primenglab-types-orderlist.d.ts +177 -0
  808. package/types/primenglab-types-organizationchart.d.ts +187 -0
  809. package/types/primenglab-types-overlay.d.ts +60 -0
  810. package/types/primenglab-types-overlaybadge.d.ts +34 -0
  811. package/types/primenglab-types-paginator.d.ts +167 -0
  812. package/types/primenglab-types-panel.d.ts +139 -0
  813. package/types/primenglab-types-panelmenu.d.ts +180 -0
  814. package/types/primenglab-types-password.d.ts +120 -0
  815. package/types/primenglab-types-picklist.d.ts +358 -0
  816. package/types/primenglab-types-popover.d.ts +59 -0
  817. package/types/primenglab-types-progressbar.d.ts +63 -0
  818. package/types/primenglab-types-progressspinner.d.ts +44 -0
  819. package/types/primenglab-types-radiobutton.d.ts +51 -0
  820. package/types/primenglab-types-rating.d.ts +94 -0
  821. package/types/primenglab-types-scrollarea.d.ts +60 -0
  822. package/types/primenglab-types-scroller.d.ts +231 -0
  823. package/types/primenglab-types-scrollpanel.d.ts +56 -0
  824. package/types/primenglab-types-scrolltop.d.ts +71 -0
  825. package/types/primenglab-types-select.d.ts +330 -0
  826. package/types/primenglab-types-selectbutton.d.ts +92 -0
  827. package/types/primenglab-types-shared.d.ts +27 -0
  828. package/types/primenglab-types-sidebar.d.ts +108 -0
  829. package/types/primenglab-types-skeleton.d.ts +28 -0
  830. package/types/primenglab-types-slider.d.ts +91 -0
  831. package/types/primenglab-types-speeddial.d.ts +110 -0
  832. package/types/primenglab-types-splitbutton.d.ts +60 -0
  833. package/types/primenglab-types-splitter.d.ts +127 -0
  834. package/types/primenglab-types-stepper.d.ts +186 -0
  835. package/types/primenglab-types-table.d.ts +902 -0
  836. package/types/primenglab-types-tabs.d.ts +120 -0
  837. package/types/primenglab-types-tag.d.ts +48 -0
  838. package/types/primenglab-types-terminal.d.ts +60 -0
  839. package/types/primenglab-types-textarea.d.ts +28 -0
  840. package/types/primenglab-types-tieredmenu.d.ts +203 -0
  841. package/types/primenglab-types-timeline.d.ts +93 -0
  842. package/types/primenglab-types-toast.d.ts +148 -0
  843. package/types/primenglab-types-togglebutton.d.ts +91 -0
  844. package/types/primenglab-types-toggleswitch.d.ts +73 -0
  845. package/types/primenglab-types-toolbar.d.ts +55 -0
  846. package/types/primenglab-types-tooltip.d.ts +42 -0
  847. package/types/primenglab-types-tree.d.ts +355 -0
  848. package/types/primenglab-types-treeselect.d.ts +266 -0
  849. package/types/primenglab-types-treetable.d.ts +659 -0
  850. package/types/primenglab-usestyle.d.ts +15 -0
  851. package/types/primenglab-utils.d.ts +43 -0
  852. package/types/primenglab.d.ts +2 -0
@@ -0,0 +1,1859 @@
1
+ export * from 'primenglab/types/gallery';
2
+ import { NgTemplateOutlet, isPlatformServer } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Injectable, inject, input, numberAttribute, DestroyRef, signal, computed, afterNextRender, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive, viewChild, booleanAttribute, contentChildren, model, output, NgModule } from '@angular/core';
5
+ import { BaseComponent, PARENT_INSTANCE } from 'primenglab/basecomponent';
6
+ import * as i1 from 'primenglab/bind';
7
+ import { Bind, BindModule } from 'primenglab/bind';
8
+ import { SharedModule } from 'primenglab/api';
9
+ import { style } from '@primeuix/styles/gallery';
10
+ import { BaseStyle } from 'primenglab/base';
11
+ import * as i2 from 'primenglab/carousel';
12
+ import { CarouselModule } from 'primenglab/carousel';
13
+
14
+ const classes = {
15
+ root: 'p-gallery',
16
+ backdrop: 'p-gallery-backdrop',
17
+ header: 'p-gallery-header',
18
+ footer: 'p-gallery-footer',
19
+ content: 'p-gallery-content',
20
+ item: 'p-gallery-item',
21
+ next: 'p-gallery-next',
22
+ prev: 'p-gallery-prev',
23
+ toolbar: 'p-gallery-toolbar',
24
+ toolbarItem: 'p-gallery-toolbar-item',
25
+ zoomIn: 'p-gallery-action',
26
+ zoomOut: 'p-gallery-action',
27
+ zoomToggle: 'p-gallery-action',
28
+ rotateLeft: 'p-gallery-action',
29
+ rotateRight: 'p-gallery-action',
30
+ flipX: 'p-gallery-action',
31
+ flipY: 'p-gallery-action',
32
+ download: 'p-gallery-action',
33
+ fullScreen: 'p-gallery-action',
34
+ thumbnail: 'p-gallery-thumbnail',
35
+ thumbnailContent: 'p-gallery-thumbnail-content',
36
+ thumbnailItem: 'p-gallery-thumbnail-item'
37
+ };
38
+ class GalleryStyle extends BaseStyle {
39
+ name = 'gallery';
40
+ style = style;
41
+ classes = classes;
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
43
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryStyle });
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryStyle, decorators: [{
46
+ type: Injectable
47
+ }] });
48
+ /**
49
+ *
50
+ * Gallery groups a collection of contents in items.
51
+ *
52
+ * [Live Demo](https://www.primeng.org/gallery/)
53
+ *
54
+ * @module gallerystyle
55
+ *
56
+ */
57
+ var GalleryClasses;
58
+ (function (GalleryClasses) {
59
+ /**
60
+ * Class name of the root element
61
+ */
62
+ GalleryClasses["root"] = "p-gallery";
63
+ /**
64
+ * Class name of the backdrop element
65
+ */
66
+ GalleryClasses["backdrop"] = "p-gallery-backdrop";
67
+ /**
68
+ * Class name of the header element
69
+ */
70
+ GalleryClasses["header"] = "p-gallery-header";
71
+ /**
72
+ * Class name of the footer element
73
+ */
74
+ GalleryClasses["footer"] = "p-gallery-footer";
75
+ /**
76
+ * Class name of the content element
77
+ */
78
+ GalleryClasses["content"] = "p-gallery-content";
79
+ /**
80
+ * Class name of the item element
81
+ */
82
+ GalleryClasses["item"] = "p-gallery-item";
83
+ /**
84
+ * Class name of the next button element
85
+ */
86
+ GalleryClasses["next"] = "p-gallery-next";
87
+ /**
88
+ * Class name of the prev button element
89
+ */
90
+ GalleryClasses["prev"] = "p-gallery-prev";
91
+ /**
92
+ * Class name of the toolbar element
93
+ */
94
+ GalleryClasses["toolbar"] = "p-gallery-toolbar";
95
+ /**
96
+ * Class name of the toolbar item element
97
+ */
98
+ GalleryClasses["toolbarItem"] = "p-gallery-toolbar-item";
99
+ /**
100
+ * Class name of the action element
101
+ */
102
+ GalleryClasses["action"] = "p-gallery-action";
103
+ /**
104
+ * Class name of the thumbnail element
105
+ */
106
+ GalleryClasses["thumbnail"] = "p-gallery-thumbnail";
107
+ /**
108
+ * Class name of the thumbnail content element
109
+ */
110
+ GalleryClasses["thumbnailContent"] = "p-gallery-thumbnail-content";
111
+ /**
112
+ * Class name of the thumbnail item element
113
+ */
114
+ GalleryClasses["thumbnailItem"] = "p-gallery-thumbnail-item";
115
+ })(GalleryClasses || (GalleryClasses = {}));
116
+
117
+ /**
118
+ * GalleryItem represents an individual item in the gallery.
119
+ * @group Components
120
+ */
121
+ class GalleryItem extends BaseComponent {
122
+ componentName = 'GalleryItem';
123
+ bindDirectiveInstance = inject(Bind, { self: true });
124
+ /**
125
+ * The normal scale of the gallery item.
126
+ * @group Props
127
+ * @defaultValue 1
128
+ */
129
+ normalScale = input(1, { ...(ngDevMode ? { debugName: "normalScale" } : /* istanbul ignore next */ {}), transform: numberAttribute });
130
+ /**
131
+ * The zoomed scale of the gallery item.
132
+ * @group Props
133
+ * @defaultValue 3
134
+ */
135
+ zoomedScale = input(3, { ...(ngDevMode ? { debugName: "zoomedScale" } : /* istanbul ignore next */ {}), transform: numberAttribute });
136
+ gallery = inject(Gallery);
137
+ _destroyRef = inject(DestroyRef);
138
+ index = signal(-1, /* @ts-ignore */
139
+ ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
140
+ isActive = computed(() => this.gallery.activeIndex() === this.index(), /* @ts-ignore */
141
+ ...(ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []));
142
+ dataActive = computed(() => (this.isActive() ? 'true' : 'false'), /* @ts-ignore */
143
+ ...(ngDevMode ? [{ debugName: "dataActive" }] : /* istanbul ignore next */ []));
144
+ stylePositionX = computed(() => this.position().x + 'px', /* @ts-ignore */
145
+ ...(ngDevMode ? [{ debugName: "stylePositionX" }] : /* istanbul ignore next */ []));
146
+ stylePositionY = computed(() => this.position().y + 'px', /* @ts-ignore */
147
+ ...(ngDevMode ? [{ debugName: "stylePositionY" }] : /* istanbul ignore next */ []));
148
+ styleRotation = computed(() => this.rotation() + 'deg', /* @ts-ignore */
149
+ ...(ngDevMode ? [{ debugName: "styleRotation" }] : /* istanbul ignore next */ []));
150
+ styleFlipX = computed(() => this.flip().x, /* @ts-ignore */
151
+ ...(ngDevMode ? [{ debugName: "styleFlipX" }] : /* istanbul ignore next */ []));
152
+ styleFlipY = computed(() => this.flip().y, /* @ts-ignore */
153
+ ...(ngDevMode ? [{ debugName: "styleFlipY" }] : /* istanbul ignore next */ []));
154
+ position = signal({ x: 0, y: 0 }, /* @ts-ignore */
155
+ ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
156
+ scale = signal(1, /* @ts-ignore */
157
+ ...(ngDevMode ? [{ debugName: "scale" }] : /* istanbul ignore next */ []));
158
+ rotation = signal(0, /* @ts-ignore */
159
+ ...(ngDevMode ? [{ debugName: "rotation" }] : /* istanbul ignore next */ []));
160
+ isRotating = signal(false, /* @ts-ignore */
161
+ ...(ngDevMode ? [{ debugName: "isRotating" }] : /* istanbul ignore next */ []));
162
+ flip = signal({ x: 1, y: 1 }, /* @ts-ignore */
163
+ ...(ngDevMode ? [{ debugName: "flip" }] : /* istanbul ignore next */ []));
164
+ registeredIndex = null;
165
+ pointerData = new Map();
166
+ pointerStart = { x: 0, y: 0 };
167
+ initialPinchDistance = 0;
168
+ initialPinchScale = 1;
169
+ liveScale = 1;
170
+ livePosition = { x: 0, y: 0 };
171
+ isDragging = false;
172
+ dragStart = { x: 0, y: 0 };
173
+ hasDragged = false;
174
+ wheelSyncTimer = null;
175
+ wheelListener = null;
176
+ resizeListener = null;
177
+ imageLoadListener = null;
178
+ constructor() {
179
+ super();
180
+ afterNextRender(() => {
181
+ const newIndex = this.gallery.registerItem(this.registeredIndex);
182
+ this.registeredIndex = newIndex;
183
+ if (newIndex !== this.index()) {
184
+ this.index.set(newIndex);
185
+ }
186
+ this.setupWheelListener();
187
+ this.setupResizeListener();
188
+ this.setupImageLoadListener();
189
+ });
190
+ // Watch activeIndex to recalculate item size
191
+ effect(() => {
192
+ const activeIndex = this.gallery.activeIndex();
193
+ const idx = this.index();
194
+ if (activeIndex === idx) {
195
+ this.calculateItemSize();
196
+ }
197
+ });
198
+ // Watch rotation changes to recalculate item size
199
+ effect(() => {
200
+ this.rotation(); // track rotation
201
+ const activeIndex = this.gallery.activeIndex();
202
+ const idx = this.index();
203
+ if (activeIndex === idx) {
204
+ this.calculateItemSize();
205
+ }
206
+ });
207
+ // Watch fullscreen changes to recalculate item size
208
+ effect(() => {
209
+ this.gallery.isFullscreen(); // track fullscreen
210
+ const activeIndex = this.gallery.activeIndex();
211
+ const idx = this.index();
212
+ if (activeIndex === idx) {
213
+ this.calculateItemSize();
214
+ }
215
+ });
216
+ // Watch pendingAction and execute on active item
217
+ effect(() => {
218
+ const action = this.gallery.pendingAction();
219
+ if (!action || !this.isActive())
220
+ return;
221
+ switch (action.type) {
222
+ case 'zoom-in':
223
+ this.zoomIn();
224
+ break;
225
+ case 'zoom-out':
226
+ this.zoomOut();
227
+ break;
228
+ case 'rotate-left':
229
+ this.rotateLeft();
230
+ break;
231
+ case 'rotate-right':
232
+ this.rotateRight();
233
+ break;
234
+ case 'flip-x':
235
+ this.flipX();
236
+ break;
237
+ case 'flip-y':
238
+ this.flipY();
239
+ break;
240
+ case 'download':
241
+ this.download();
242
+ break;
243
+ }
244
+ this.gallery.clearPendingAction();
245
+ });
246
+ // Report item state to gallery
247
+ effect(() => {
248
+ const active = this.isActive();
249
+ const s = this.scale();
250
+ const r = this.rotation();
251
+ const f = this.flip();
252
+ const ns = this.normalScale();
253
+ if (active) {
254
+ this.gallery.reportItemState({
255
+ zoomed: s > ns,
256
+ rotated: r !== 0,
257
+ flipped: f.x === -1 || f.y === -1,
258
+ scale: s,
259
+ rotation: r,
260
+ flip: f
261
+ });
262
+ }
263
+ });
264
+ // Sync liveScale/livePosition with signals (for toolbar-triggered changes)
265
+ effect(() => {
266
+ this.liveScale = this.scale();
267
+ });
268
+ effect(() => {
269
+ const p = this.position();
270
+ this.livePosition = { x: p.x, y: p.y };
271
+ });
272
+ // Reset position when scale <= 1
273
+ effect(() => {
274
+ if (this.scale() <= 1) {
275
+ this.position.set({ x: 0, y: 0 });
276
+ }
277
+ });
278
+ this._destroyRef.onDestroy(() => {
279
+ this.wheelListener?.();
280
+ this.resizeListener?.();
281
+ this.imageLoadListener?.();
282
+ if (this.rotateTimer) {
283
+ clearTimeout(this.rotateTimer);
284
+ }
285
+ if (this.wheelSyncTimer) {
286
+ clearTimeout(this.wheelSyncTimer);
287
+ }
288
+ });
289
+ }
290
+ onAfterViewChecked() {
291
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
292
+ }
293
+ setupImageLoadListener() {
294
+ const el = this.$el;
295
+ const imageElement = el.querySelector('img');
296
+ if (!imageElement)
297
+ return;
298
+ if (imageElement.complete && imageElement.naturalWidth > 0) {
299
+ this.calculateItemSize();
300
+ }
301
+ const handler = () => {
302
+ this.calculateItemSize();
303
+ };
304
+ imageElement.addEventListener('load', handler);
305
+ this.imageLoadListener = () => imageElement.removeEventListener('load', handler);
306
+ }
307
+ setupWheelListener() {
308
+ const el = this.$el;
309
+ const handler = (e) => {
310
+ if (!e.ctrlKey || !this.isActive())
311
+ return;
312
+ e.preventDefault();
313
+ el.style.transition = 'none';
314
+ const delta = -e.deltaY;
315
+ const scaleFactor = 1 + delta * 0.01;
316
+ const newScale = Math.max(this.normalScale(), Math.min(this.zoomedScale(), this.liveScale * scaleFactor));
317
+ const constraints = this.calculateConstraints(newScale);
318
+ const constrainedX = Math.max(constraints.minX, Math.min(constraints.maxX, this.livePosition.x));
319
+ const constrainedY = Math.max(constraints.minY, Math.min(constraints.maxY, this.livePosition.y));
320
+ this.liveScale = newScale;
321
+ this.livePosition = { x: constrainedX, y: constrainedY };
322
+ el.style.setProperty('--px-scale', `${newScale}`);
323
+ el.style.setProperty('--px-position-x', `${constrainedX}px`);
324
+ el.style.setProperty('--px-position-y', `${constrainedY}px`);
325
+ if (this.wheelSyncTimer) {
326
+ clearTimeout(this.wheelSyncTimer);
327
+ }
328
+ this.wheelSyncTimer = setTimeout(() => {
329
+ el.style.transition = '';
330
+ el.style.cursor = this.liveScale > this.normalScale() ? 'zoom-out' : 'zoom-in';
331
+ this.scale.set(this.liveScale);
332
+ this.position.set(this.livePosition);
333
+ this.wheelSyncTimer = null;
334
+ }, 150);
335
+ };
336
+ el.addEventListener('wheel', handler, { passive: false });
337
+ this.wheelListener = () => el.removeEventListener('wheel', handler);
338
+ }
339
+ setupResizeListener() {
340
+ const handler = () => {
341
+ if (this.gallery.activeIndex() === this.index()) {
342
+ this.calculateItemSize();
343
+ }
344
+ };
345
+ window.addEventListener('resize', handler);
346
+ this.resizeListener = () => window.removeEventListener('resize', handler);
347
+ }
348
+ calculateItemSize() {
349
+ const contentEl = this.gallery.contentEl();
350
+ const el = this.$el;
351
+ if (!contentEl || !el)
352
+ return;
353
+ const contentRect = contentEl.getBoundingClientRect();
354
+ const imageElement = el.firstElementChild;
355
+ if (!imageElement)
356
+ return;
357
+ let naturalWidth = imageElement.naturalWidth || imageElement.offsetWidth;
358
+ let naturalHeight = imageElement.naturalHeight || imageElement.offsetHeight;
359
+ if (naturalWidth === 0 || naturalHeight === 0)
360
+ return;
361
+ const isRotated = Math.abs(this.rotation()) % 180 === 90;
362
+ if (isRotated) {
363
+ [naturalWidth, naturalHeight] = [naturalHeight, naturalWidth];
364
+ }
365
+ const naturalAspectRatio = naturalWidth / naturalHeight;
366
+ const contentAspectRatio = contentRect.width / contentRect.height;
367
+ let targetWidth, targetHeight;
368
+ if (naturalAspectRatio > contentAspectRatio) {
369
+ targetWidth = Math.min(contentRect.width * 0.99, naturalWidth);
370
+ targetHeight = targetWidth / naturalAspectRatio;
371
+ }
372
+ else {
373
+ targetHeight = Math.min(contentRect.height * 0.99, naturalHeight);
374
+ targetWidth = targetHeight * naturalAspectRatio;
375
+ }
376
+ if (isRotated) {
377
+ imageElement.style.width = `${targetHeight}px`;
378
+ imageElement.style.height = `${targetWidth}px`;
379
+ el.style.width = `${targetHeight > 0 ? targetHeight : 'auto'}px`;
380
+ el.style.height = `${targetWidth > 0 ? targetWidth : 'auto'}px`;
381
+ }
382
+ else {
383
+ imageElement.style.width = `${targetWidth}px`;
384
+ imageElement.style.height = `${targetHeight}px`;
385
+ el.style.width = `${targetWidth > 0 ? targetWidth : 'auto'}px`;
386
+ el.style.height = `${targetHeight > 0 ? targetHeight : 'auto'}px`;
387
+ }
388
+ el.style.aspectRatio = `${naturalWidth / naturalHeight}`;
389
+ }
390
+ calculateConstraints(targetScale) {
391
+ const contentEl = this.gallery.contentEl();
392
+ const el = this.$el;
393
+ if (!contentEl || !el)
394
+ return { minX: 0, maxX: 0, minY: 0, maxY: 0 };
395
+ const contentRect = contentEl.getBoundingClientRect();
396
+ const scaleToUse = targetScale !== undefined ? targetScale : this.liveScale;
397
+ const itemElement = el.firstElementChild;
398
+ if (!itemElement)
399
+ return { minX: 0, maxX: 0, minY: 0, maxY: 0 };
400
+ let originalWidth = itemElement.offsetWidth;
401
+ let originalHeight = itemElement.offsetHeight;
402
+ const isRotated = Math.abs(this.rotation()) % 180 === 90;
403
+ if (isRotated) {
404
+ [originalWidth, originalHeight] = [originalHeight, originalWidth];
405
+ }
406
+ const scaledWidth = originalWidth * scaleToUse;
407
+ const scaledHeight = originalHeight * scaleToUse;
408
+ const contentCenterX = contentRect.width / 2;
409
+ const contentCenterY = contentRect.height / 2;
410
+ const halfScaledWidth = scaledWidth / 2;
411
+ const halfScaledHeight = scaledHeight / 2;
412
+ const maxX = halfScaledWidth > contentCenterX ? halfScaledWidth - contentCenterX : 0;
413
+ const minX = halfScaledWidth > contentCenterX ? -(halfScaledWidth - contentCenterX) : 0;
414
+ const maxY = halfScaledHeight > contentCenterY ? halfScaledHeight - contentCenterY : 0;
415
+ const minY = halfScaledHeight > contentCenterY ? -(halfScaledHeight - contentCenterY) : 0;
416
+ return { minX, maxX, minY, maxY };
417
+ }
418
+ zoomIn() {
419
+ this.scale.set(this.zoomedScale());
420
+ const el = this.$el;
421
+ if (el) {
422
+ el.style.cursor = 'zoom-out';
423
+ }
424
+ }
425
+ zoomOut() {
426
+ this.scale.set(this.normalScale());
427
+ this.position.set({ x: 0, y: 0 });
428
+ const el = this.$el;
429
+ if (el) {
430
+ el.style.cursor = 'zoom-in';
431
+ }
432
+ }
433
+ rotateLeft() {
434
+ this.markRotating();
435
+ this.rotation.update((prev) => prev - 90);
436
+ }
437
+ rotateRight() {
438
+ this.markRotating();
439
+ this.rotation.update((prev) => prev + 90);
440
+ }
441
+ rotateTimer = null;
442
+ markRotating() {
443
+ this.isRotating.set(true);
444
+ const el = this.$el;
445
+ if (el)
446
+ el.style.transition = '';
447
+ if (this.rotateTimer)
448
+ clearTimeout(this.rotateTimer);
449
+ this.rotateTimer = setTimeout(() => this.isRotating.set(false), 300);
450
+ }
451
+ flipX() {
452
+ this.flip.update((prev) => ({ ...prev, x: Math.sign(prev.x) * -1 }));
453
+ }
454
+ flipY() {
455
+ this.flip.update((prev) => ({ ...prev, y: Math.sign(prev.y) * -1 }));
456
+ }
457
+ download() {
458
+ const el = this.$el;
459
+ if (!el)
460
+ return;
461
+ const imageElement = el.querySelector('img');
462
+ if (!imageElement || !imageElement.src)
463
+ return;
464
+ const link = document.createElement('a');
465
+ link.href = imageElement.src;
466
+ const urlParts = imageElement.src.split('/');
467
+ const filename = urlParts[urlParts.length - 1] || 'image.jpg';
468
+ link.download = filename;
469
+ link.target = '_blank';
470
+ document.body.appendChild(link);
471
+ link.click();
472
+ document.body.removeChild(link);
473
+ }
474
+ handleClick(e) {
475
+ if (this.hasDragged) {
476
+ this.hasDragged = false;
477
+ return;
478
+ }
479
+ const el = this.$el;
480
+ if (this.liveScale === this.normalScale()) {
481
+ if (el) {
482
+ const itemRect = el.getBoundingClientRect();
483
+ const itemCenterX = itemRect.width / 2;
484
+ const itemCenterY = itemRect.height / 2;
485
+ const clickX = e.clientX - itemRect.left;
486
+ const clickY = e.clientY - itemRect.top;
487
+ const offsetX = itemCenterX - clickX;
488
+ const offsetY = itemCenterY - clickY;
489
+ const zoomedScale = this.zoomedScale();
490
+ const zoomOffsetX = offsetX * (zoomedScale - 1);
491
+ const zoomOffsetY = offsetY * (zoomedScale - 1);
492
+ const constraints = this.calculateConstraints(zoomedScale);
493
+ const constrainedX = Math.max(constraints.minX, Math.min(constraints.maxX, zoomOffsetX));
494
+ const constrainedY = Math.max(constraints.minY, Math.min(constraints.maxY, zoomOffsetY));
495
+ this.position.set({ x: constrainedX, y: constrainedY });
496
+ }
497
+ this.zoomIn();
498
+ }
499
+ else {
500
+ this.zoomOut();
501
+ }
502
+ }
503
+ handleDragStart(e) {
504
+ e.preventDefault();
505
+ }
506
+ handlePointerDown(e) {
507
+ e.currentTarget.setPointerCapture(e.pointerId);
508
+ this.pointerData.set(e.pointerId, { x: e.clientX, y: e.clientY });
509
+ this.pointerStart = { x: e.clientX, y: e.clientY };
510
+ if (e.pointerType === 'touch' && this.pointerData.size >= 2) {
511
+ this.isDragging = false;
512
+ this.initialPinchDistance = 0;
513
+ this.initialPinchScale = this.liveScale;
514
+ }
515
+ else if (this.liveScale > 1) {
516
+ if (e.pointerType === 'mouse' || (e.pointerType === 'touch' && this.pointerData.size === 1)) {
517
+ this.isDragging = true;
518
+ this.dragStart = { x: e.clientX - this.livePosition.x, y: e.clientY - this.livePosition.y };
519
+ this.hasDragged = false;
520
+ }
521
+ }
522
+ }
523
+ handlePointerMove(e) {
524
+ if (!this.pointerData.has(e.pointerId))
525
+ return;
526
+ const el = this.$el;
527
+ if (!el)
528
+ return;
529
+ el.style.transition = 'none';
530
+ if (e.pointerType === 'mouse' && !el.style.cursor) {
531
+ el.style.cursor = this.liveScale > this.normalScale() ? 'zoom-out' : 'zoom-in';
532
+ }
533
+ this.pointerData.set(e.pointerId, { x: e.clientX, y: e.clientY });
534
+ const pointers = Array.from(this.pointerData.values());
535
+ if (pointers.length === 2) {
536
+ const [p1, p2] = pointers;
537
+ const distance = Math.hypot(p2.x - p1.x, p2.y - p1.y);
538
+ this.hasDragged = true;
539
+ if (this.initialPinchDistance === 0) {
540
+ this.initialPinchDistance = distance;
541
+ this.initialPinchScale = this.liveScale;
542
+ }
543
+ else {
544
+ const ratio = distance / this.initialPinchDistance;
545
+ const newScale = Math.max(this.normalScale(), Math.min(this.zoomedScale(), this.initialPinchScale * ratio));
546
+ const constraints = this.calculateConstraints(newScale);
547
+ const constrainedX = Math.max(constraints.minX, Math.min(constraints.maxX, this.livePosition.x));
548
+ const constrainedY = Math.max(constraints.minY, Math.min(constraints.maxY, this.livePosition.y));
549
+ this.liveScale = newScale;
550
+ this.livePosition = { x: constrainedX, y: constrainedY };
551
+ el.style.setProperty('--px-scale', `${newScale}`);
552
+ el.style.setProperty('--px-position-x', `${constrainedX}px`);
553
+ el.style.setProperty('--px-position-y', `${constrainedY}px`);
554
+ }
555
+ }
556
+ else if (pointers.length === 1 && this.isDragging) {
557
+ const pointer = pointers[0];
558
+ const newX = pointer.x - this.dragStart.x;
559
+ const newY = pointer.y - this.dragStart.y;
560
+ const constraints = this.calculateConstraints(this.liveScale);
561
+ const computedX = Math.max(constraints.minX, Math.min(constraints.maxX, newX));
562
+ const computedY = Math.max(constraints.minY, Math.min(constraints.maxY, newY));
563
+ this.livePosition = { x: computedX, y: computedY };
564
+ el.style.setProperty('--px-position-x', `${computedX}px`);
565
+ el.style.setProperty('--px-position-y', `${computedY}px`);
566
+ const distFromStart = Math.hypot(pointer.x - this.pointerStart.x, pointer.y - this.pointerStart.y);
567
+ if (distFromStart > 5) {
568
+ this.hasDragged = true;
569
+ }
570
+ }
571
+ }
572
+ handlePointerUp(e) {
573
+ const el = this.$el;
574
+ if (!el)
575
+ return;
576
+ el.style.transition = '';
577
+ if (e.pointerType === 'mouse') {
578
+ el.style.cursor = this.liveScale > this.normalScale() ? 'zoom-out' : 'zoom-in';
579
+ }
580
+ e.currentTarget.releasePointerCapture(e.pointerId);
581
+ this.pointerData.delete(e.pointerId);
582
+ if (this.pointerData.size < 2) {
583
+ this.initialPinchDistance = 0;
584
+ this.initialPinchScale = 1;
585
+ }
586
+ if (this.pointerData.size === 0) {
587
+ this.isDragging = false;
588
+ this.scale.set(this.liveScale);
589
+ this.position.set(this.livePosition);
590
+ }
591
+ }
592
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
593
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.3", type: GalleryItem, isStandalone: true, selector: "p-gallery-item", inputs: { normalScale: { classPropertyName: "normalScale", publicName: "normalScale", isSignal: true, isRequired: false, transformFunction: null }, zoomedScale: { classPropertyName: "zoomedScale", publicName: "zoomedScale", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "handleClick($event)", "pointerdown": "handlePointerDown($event)", "pointermove": "handlePointerMove($event)", "pointerup": "handlePointerUp($event)", "dragstart": "handleDragStart($event)" }, properties: { "class": "gallery.cx('item')", "attr.data-scope": "'gallery'", "attr.data-part": "'item'", "attr.data-index": "index()", "attr.data-active": "isActive() ? '' : null", "attr.data-rotating": "isRotating() ? '' : null", "style.--px-position-x": "stylePositionX()", "style.--px-position-y": "stylePositionY()", "style.--px-scale": "scale()", "style.--px-rotation": "styleRotation()", "style.--px-flip-x": "styleFlipX()", "style.--px-flip-y": "styleFlipY()" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryItem }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
594
+ }
595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryItem, decorators: [{
596
+ type: Component,
597
+ args: [{
598
+ selector: 'p-gallery-item',
599
+ standalone: true,
600
+ imports: [BindModule],
601
+ template: `<ng-content></ng-content>`,
602
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryItem }],
603
+ changeDetection: ChangeDetectionStrategy.OnPush,
604
+ encapsulation: ViewEncapsulation.None,
605
+ host: {
606
+ '[class]': "gallery.cx('item')",
607
+ '[attr.data-scope]': "'gallery'",
608
+ '[attr.data-part]': "'item'",
609
+ '[attr.data-index]': 'index()',
610
+ '[attr.data-active]': "isActive() ? '' : null",
611
+ '[attr.data-rotating]': "isRotating() ? '' : null",
612
+ '[style.--px-position-x]': 'stylePositionX()',
613
+ '[style.--px-position-y]': 'stylePositionY()',
614
+ '[style.--px-scale]': 'scale()',
615
+ '[style.--px-rotation]': 'styleRotation()',
616
+ '[style.--px-flip-x]': 'styleFlipX()',
617
+ '[style.--px-flip-y]': 'styleFlipY()',
618
+ '(click)': 'handleClick($event)',
619
+ '(pointerdown)': 'handlePointerDown($event)',
620
+ '(pointermove)': 'handlePointerMove($event)',
621
+ '(pointerup)': 'handlePointerUp($event)',
622
+ '(dragstart)': 'handleDragStart($event)'
623
+ },
624
+ hostDirectives: [Bind]
625
+ }]
626
+ }], ctorParameters: () => [], propDecorators: { normalScale: [{ type: i0.Input, args: [{ isSignal: true, alias: "normalScale", required: false }] }], zoomedScale: [{ type: i0.Input, args: [{ isSignal: true, alias: "zoomedScale", required: false }] }] } });
627
+
628
+ /**
629
+ * GalleryHeader represents the header section of the gallery.
630
+ * @group Components
631
+ */
632
+ class GalleryHeader extends BaseComponent {
633
+ componentName = 'GalleryHeader';
634
+ bindDirectiveInstance = inject(Bind, { self: true });
635
+ gallery = inject(Gallery);
636
+ onAfterViewChecked() {
637
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
638
+ }
639
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryHeader, deps: null, target: i0.ɵɵFactoryTarget.Component });
640
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryHeader, isStandalone: true, selector: "p-gallery-header", host: { properties: { "class": "gallery.cx('header')", "attr.data-scope": "'gallery'", "attr.data-part": "'header'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryHeader }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
641
+ }
642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryHeader, decorators: [{
643
+ type: Component,
644
+ args: [{
645
+ selector: 'p-gallery-header',
646
+ standalone: true,
647
+ imports: [BindModule],
648
+ template: `<ng-content></ng-content>`,
649
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryHeader }],
650
+ changeDetection: ChangeDetectionStrategy.OnPush,
651
+ encapsulation: ViewEncapsulation.None,
652
+ host: {
653
+ '[class]': "gallery.cx('header')",
654
+ '[attr.data-scope]': "'gallery'",
655
+ '[attr.data-part]': "'header'"
656
+ },
657
+ hostDirectives: [Bind]
658
+ }]
659
+ }] });
660
+
661
+ /**
662
+ * GalleryContent represents the main content area of the gallery.
663
+ * @group Components
664
+ */
665
+ class GalleryContent extends BaseComponent {
666
+ componentName = 'GalleryContent';
667
+ bindDirectiveInstance = inject(Bind, { self: true });
668
+ gallery = inject(Gallery);
669
+ onAfterViewChecked() {
670
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
671
+ }
672
+ constructor() {
673
+ super();
674
+ afterNextRender(() => {
675
+ this.gallery.setContentEl(this.$el);
676
+ });
677
+ }
678
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
679
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryContent, isStandalone: true, selector: "p-gallery-content", host: { properties: { "class": "gallery.cx('content')", "attr.data-scope": "'gallery'", "attr.data-part": "'content'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryContent }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
680
+ }
681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryContent, decorators: [{
682
+ type: Component,
683
+ args: [{
684
+ selector: 'p-gallery-content',
685
+ standalone: true,
686
+ imports: [BindModule],
687
+ template: `<ng-content></ng-content>`,
688
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryContent }],
689
+ changeDetection: ChangeDetectionStrategy.OnPush,
690
+ encapsulation: ViewEncapsulation.None,
691
+ host: {
692
+ '[class]': "gallery.cx('content')",
693
+ '[attr.data-scope]': "'gallery'",
694
+ '[attr.data-part]': "'content'"
695
+ },
696
+ hostDirectives: [Bind]
697
+ }]
698
+ }], ctorParameters: () => [] });
699
+
700
+ /**
701
+ * GalleryFooter represents the footer section of the gallery.
702
+ * @group Components
703
+ */
704
+ class GalleryFooter extends BaseComponent {
705
+ componentName = 'GalleryFooter';
706
+ bindDirectiveInstance = inject(Bind, { self: true });
707
+ gallery = inject(Gallery);
708
+ onAfterViewChecked() {
709
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
710
+ }
711
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFooter, deps: null, target: i0.ɵɵFactoryTarget.Component });
712
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryFooter, isStandalone: true, selector: "p-gallery-footer", host: { properties: { "class": "gallery.cx('footer')", "attr.data-scope": "'gallery'", "attr.data-part": "'footer'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryFooter }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
713
+ }
714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFooter, decorators: [{
715
+ type: Component,
716
+ args: [{
717
+ selector: 'p-gallery-footer',
718
+ standalone: true,
719
+ imports: [BindModule],
720
+ template: `<ng-content></ng-content>`,
721
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryFooter }],
722
+ changeDetection: ChangeDetectionStrategy.OnPush,
723
+ encapsulation: ViewEncapsulation.None,
724
+ host: {
725
+ '[class]': "gallery.cx('footer')",
726
+ '[attr.data-scope]': "'gallery'",
727
+ '[attr.data-part]': "'footer'"
728
+ },
729
+ hostDirectives: [Bind]
730
+ }]
731
+ }] });
732
+
733
+ /**
734
+ * GalleryBackdrop represents the backdrop element for fullscreen mode.
735
+ * @group Components
736
+ */
737
+ class GalleryBackdrop extends BaseComponent {
738
+ componentName = 'GalleryBackdrop';
739
+ bindDirectiveInstance = inject(Bind, { self: true });
740
+ gallery = inject(Gallery);
741
+ onAfterViewChecked() {
742
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
743
+ }
744
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryBackdrop, deps: null, target: i0.ɵɵFactoryTarget.Component });
745
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryBackdrop, isStandalone: true, selector: "p-gallery-backdrop", host: { properties: { "class": "gallery.cx('backdrop')", "attr.data-scope": "'gallery'", "attr.data-part": "'backdrop'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryBackdrop }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
746
+ }
747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryBackdrop, decorators: [{
748
+ type: Component,
749
+ args: [{
750
+ selector: 'p-gallery-backdrop',
751
+ standalone: true,
752
+ imports: [BindModule],
753
+ template: `<ng-content></ng-content>`,
754
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryBackdrop }],
755
+ changeDetection: ChangeDetectionStrategy.OnPush,
756
+ encapsulation: ViewEncapsulation.None,
757
+ host: {
758
+ '[class]': "gallery.cx('backdrop')",
759
+ '[attr.data-scope]': "'gallery'",
760
+ '[attr.data-part]': "'backdrop'"
761
+ },
762
+ hostDirectives: [Bind]
763
+ }]
764
+ }] });
765
+
766
+ /**
767
+ * GalleryToolbar represents the toolbar container.
768
+ * @group Components
769
+ */
770
+ class GalleryToolbar extends BaseComponent {
771
+ componentName = 'GalleryToolbar';
772
+ bindDirectiveInstance = inject(Bind, { self: true });
773
+ gallery = inject(Gallery);
774
+ onAfterViewChecked() {
775
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
776
+ }
777
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryToolbar, deps: null, target: i0.ɵɵFactoryTarget.Component });
778
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryToolbar, isStandalone: true, selector: "p-gallery-toolbar", host: { properties: { "class": "gallery.cx('toolbar')", "attr.data-scope": "'gallery'", "attr.data-part": "'toolbar'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryToolbar }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
779
+ }
780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryToolbar, decorators: [{
781
+ type: Component,
782
+ args: [{
783
+ selector: 'p-gallery-toolbar',
784
+ standalone: true,
785
+ imports: [BindModule],
786
+ template: `<ng-content></ng-content>`,
787
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryToolbar }],
788
+ changeDetection: ChangeDetectionStrategy.OnPush,
789
+ encapsulation: ViewEncapsulation.None,
790
+ host: {
791
+ '[class]': "gallery.cx('toolbar')",
792
+ '[attr.data-scope]': "'gallery'",
793
+ '[attr.data-part]': "'toolbar'"
794
+ },
795
+ hostDirectives: [Bind]
796
+ }]
797
+ }] });
798
+
799
+ /**
800
+ * GalleryToolbarItem represents an individual toolbar item.
801
+ * @group Components
802
+ */
803
+ class GalleryToolbarItem extends BaseComponent {
804
+ componentName = 'GalleryToolbarItem';
805
+ bindDirectiveInstance = inject(Bind, { self: true });
806
+ /**
807
+ * The action to dispatch when the toolbar item is clicked.
808
+ * @group Props
809
+ */
810
+ action = input(/* @ts-ignore */
811
+ ...(ngDevMode ? [undefined, { debugName: "action" }] : /* istanbul ignore next */ []));
812
+ gallery = inject(Gallery);
813
+ onAfterViewChecked() {
814
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
815
+ }
816
+ onClick() {
817
+ this.gallery.handleClickAction(this.action());
818
+ }
819
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryToolbarItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
820
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.3", type: GalleryToolbarItem, isStandalone: true, selector: "p-gallery-toolbar-item", inputs: { action: { classPropertyName: "action", publicName: "action", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('toolbarItem')", "attr.data-scope": "'gallery'", "attr.data-part": "'toolbarItem'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryToolbarItem }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
821
+ }
822
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryToolbarItem, decorators: [{
823
+ type: Component,
824
+ args: [{
825
+ selector: 'p-gallery-toolbar-item',
826
+ standalone: true,
827
+ imports: [BindModule],
828
+ template: `<ng-content></ng-content>`,
829
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryToolbarItem }],
830
+ changeDetection: ChangeDetectionStrategy.OnPush,
831
+ encapsulation: ViewEncapsulation.None,
832
+ host: {
833
+ '[class]': "gallery.cx('toolbarItem')",
834
+ '[attr.data-scope]': "'gallery'",
835
+ '[attr.data-part]': "'toolbarItem'",
836
+ '(click)': 'onClick()'
837
+ },
838
+ hostDirectives: [Bind]
839
+ }]
840
+ }], propDecorators: { action: [{ type: i0.Input, args: [{ isSignal: true, alias: "action", required: false }] }] } });
841
+
842
+ /**
843
+ * GalleryPrev represents the previous navigation button.
844
+ * @group Components
845
+ */
846
+ class GalleryPrev extends BaseComponent {
847
+ componentName = 'GalleryPrev';
848
+ gallery = inject(Gallery);
849
+ bindDirectiveInstance = inject(Bind, { self: true });
850
+ _componentStyle = inject(GalleryStyle);
851
+ onClick() {
852
+ this.gallery.handlePrev();
853
+ }
854
+ onAfterViewChecked() {
855
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
856
+ }
857
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryPrev, deps: null, target: i0.ɵɵFactoryTarget.Directive });
858
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryPrev, isStandalone: true, selector: "[pGalleryPrev]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('prev')", "attr.data-scope": "'gallery'", "attr.data-part": "'prev'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryPrev }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
859
+ }
860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryPrev, decorators: [{
861
+ type: Directive,
862
+ args: [{
863
+ selector: '[pGalleryPrev]',
864
+ standalone: true,
865
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryPrev }],
866
+ host: {
867
+ '[class]': "gallery.cx('prev')",
868
+ '[attr.data-scope]': "'gallery'",
869
+ '[attr.data-part]': "'prev'",
870
+ '(click)': 'onClick()'
871
+ },
872
+ hostDirectives: [Bind]
873
+ }]
874
+ }] });
875
+
876
+ /**
877
+ * GalleryNext represents the next navigation button.
878
+ * @group Components
879
+ */
880
+ class GalleryNext extends BaseComponent {
881
+ componentName = 'GalleryNext';
882
+ gallery = inject(Gallery);
883
+ bindDirectiveInstance = inject(Bind, { self: true });
884
+ _componentStyle = inject(GalleryStyle);
885
+ onClick() {
886
+ this.gallery.handleNext();
887
+ }
888
+ onAfterViewChecked() {
889
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
890
+ }
891
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryNext, deps: null, target: i0.ɵɵFactoryTarget.Directive });
892
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryNext, isStandalone: true, selector: "[pGalleryNext]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('next')", "attr.data-scope": "'gallery'", "attr.data-part": "'next'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryNext }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
893
+ }
894
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryNext, decorators: [{
895
+ type: Directive,
896
+ args: [{
897
+ selector: '[pGalleryNext]',
898
+ standalone: true,
899
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryNext }],
900
+ host: {
901
+ '[class]': "gallery.cx('next')",
902
+ '[attr.data-scope]': "'gallery'",
903
+ '[attr.data-part]': "'next'",
904
+ '(click)': 'onClick()'
905
+ },
906
+ hostDirectives: [Bind]
907
+ }]
908
+ }] });
909
+
910
+ /**
911
+ * GalleryZoomIn represents the zoom in action button.
912
+ * @group Components
913
+ */
914
+ class GalleryZoomIn extends BaseComponent {
915
+ componentName = 'GalleryZoomIn';
916
+ gallery = inject(Gallery);
917
+ bindDirectiveInstance = inject(Bind, { self: true });
918
+ _componentStyle = inject(GalleryStyle);
919
+ disabledState = computed(() => (this.gallery.activeItemTransform().zoomed ? true : null), /* @ts-ignore */
920
+ ...(ngDevMode ? [{ debugName: "disabledState" }] : /* istanbul ignore next */ []));
921
+ onClick() {
922
+ this.gallery.handleClickAction('zoomIn');
923
+ }
924
+ onAfterViewChecked() {
925
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
926
+ }
927
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomIn, deps: null, target: i0.ɵɵFactoryTarget.Directive });
928
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryZoomIn, isStandalone: true, selector: "[pGalleryZoomIn]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('zoomIn')", "attr.data-scope": "'gallery'", "attr.data-part": "'zoomIn'", "attr.data-action": "'zoom-in'", "attr.disabled": "disabledState()" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomIn }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
929
+ }
930
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomIn, decorators: [{
931
+ type: Directive,
932
+ args: [{
933
+ selector: '[pGalleryZoomIn]',
934
+ standalone: true,
935
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomIn }],
936
+ host: {
937
+ '[class]': "gallery.cx('zoomIn')",
938
+ '[attr.data-scope]': "'gallery'",
939
+ '[attr.data-part]': "'zoomIn'",
940
+ '[attr.data-action]': "'zoom-in'",
941
+ '[attr.disabled]': 'disabledState()',
942
+ '(click)': 'onClick()'
943
+ },
944
+ hostDirectives: [Bind]
945
+ }]
946
+ }] });
947
+
948
+ /**
949
+ * GalleryZoomOut represents the zoom out action button.
950
+ * @group Components
951
+ */
952
+ class GalleryZoomOut extends BaseComponent {
953
+ componentName = 'GalleryZoomOut';
954
+ gallery = inject(Gallery);
955
+ bindDirectiveInstance = inject(Bind, { self: true });
956
+ _componentStyle = inject(GalleryStyle);
957
+ disabledState = computed(() => (!this.gallery.activeItemTransform().zoomed ? true : null), /* @ts-ignore */
958
+ ...(ngDevMode ? [{ debugName: "disabledState" }] : /* istanbul ignore next */ []));
959
+ onClick() {
960
+ this.gallery.handleClickAction('zoomOut');
961
+ }
962
+ onAfterViewChecked() {
963
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
964
+ }
965
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomOut, deps: null, target: i0.ɵɵFactoryTarget.Directive });
966
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryZoomOut, isStandalone: true, selector: "[pGalleryZoomOut]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('zoomOut')", "attr.data-scope": "'gallery'", "attr.data-part": "'zoomOut'", "attr.data-action": "'zoom-out'", "attr.disabled": "disabledState()" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomOut }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
967
+ }
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomOut, decorators: [{
969
+ type: Directive,
970
+ args: [{
971
+ selector: '[pGalleryZoomOut]',
972
+ standalone: true,
973
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomOut }],
974
+ host: {
975
+ '[class]': "gallery.cx('zoomOut')",
976
+ '[attr.data-scope]': "'gallery'",
977
+ '[attr.data-part]': "'zoomOut'",
978
+ '[attr.data-action]': "'zoom-out'",
979
+ '[attr.disabled]': 'disabledState()',
980
+ '(click)': 'onClick()'
981
+ },
982
+ hostDirectives: [Bind]
983
+ }]
984
+ }] });
985
+
986
+ /**
987
+ * GalleryZoomToggle represents the zoom toggle action button.
988
+ * @group Components
989
+ */
990
+ class GalleryZoomToggle extends BaseComponent {
991
+ componentName = 'GalleryZoomToggle';
992
+ gallery = inject(Gallery);
993
+ bindDirectiveInstance = inject(Bind, { self: true });
994
+ _componentStyle = inject(GalleryStyle);
995
+ onToggle() {
996
+ this.gallery.handleClickAction(this.gallery.activeItemTransform().zoomed ? 'zoomOut' : 'zoomIn');
997
+ }
998
+ onAfterViewChecked() {
999
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1000
+ }
1001
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1002
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryZoomToggle, isStandalone: true, selector: "[pGalleryZoomToggle]", host: { listeners: { "click": "onToggle()" }, properties: { "class": "gallery.cx('zoomToggle')", "attr.data-scope": "'gallery'", "attr.data-part": "'zoomToggle'", "attr.data-action": "'zoom-toggle'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomToggle }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1003
+ }
1004
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryZoomToggle, decorators: [{
1005
+ type: Directive,
1006
+ args: [{
1007
+ selector: '[pGalleryZoomToggle]',
1008
+ standalone: true,
1009
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryZoomToggle }],
1010
+ host: {
1011
+ '[class]': "gallery.cx('zoomToggle')",
1012
+ '[attr.data-scope]': "'gallery'",
1013
+ '[attr.data-part]': "'zoomToggle'",
1014
+ '[attr.data-action]': "'zoom-toggle'",
1015
+ '(click)': 'onToggle()'
1016
+ },
1017
+ hostDirectives: [Bind]
1018
+ }]
1019
+ }] });
1020
+
1021
+ /**
1022
+ * GalleryRotateLeft represents the rotate left action button.
1023
+ * @group Components
1024
+ */
1025
+ class GalleryRotateLeft extends BaseComponent {
1026
+ componentName = 'GalleryRotateLeft';
1027
+ gallery = inject(Gallery);
1028
+ bindDirectiveInstance = inject(Bind, { self: true });
1029
+ _componentStyle = inject(GalleryStyle);
1030
+ onClick() {
1031
+ this.gallery.handleClickAction('rotateLeft');
1032
+ }
1033
+ onAfterViewChecked() {
1034
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1035
+ }
1036
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryRotateLeft, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1037
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryRotateLeft, isStandalone: true, selector: "[pGalleryRotateLeft]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('rotateLeft')", "attr.data-scope": "'gallery'", "attr.data-part": "'rotateLeft'", "attr.data-action": "'rotate-left'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryRotateLeft }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1038
+ }
1039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryRotateLeft, decorators: [{
1040
+ type: Directive,
1041
+ args: [{
1042
+ selector: '[pGalleryRotateLeft]',
1043
+ standalone: true,
1044
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryRotateLeft }],
1045
+ host: {
1046
+ '[class]': "gallery.cx('rotateLeft')",
1047
+ '[attr.data-scope]': "'gallery'",
1048
+ '[attr.data-part]': "'rotateLeft'",
1049
+ '[attr.data-action]': "'rotate-left'",
1050
+ '(click)': 'onClick()'
1051
+ },
1052
+ hostDirectives: [Bind]
1053
+ }]
1054
+ }] });
1055
+
1056
+ /**
1057
+ * GalleryRotateRight represents the rotate right action button.
1058
+ * @group Components
1059
+ */
1060
+ class GalleryRotateRight extends BaseComponent {
1061
+ componentName = 'GalleryRotateRight';
1062
+ gallery = inject(Gallery);
1063
+ bindDirectiveInstance = inject(Bind, { self: true });
1064
+ _componentStyle = inject(GalleryStyle);
1065
+ onClick() {
1066
+ this.gallery.handleClickAction('rotateRight');
1067
+ }
1068
+ onAfterViewChecked() {
1069
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1070
+ }
1071
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryRotateRight, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1072
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryRotateRight, isStandalone: true, selector: "[pGalleryRotateRight]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('rotateRight')", "attr.data-scope": "'gallery'", "attr.data-part": "'rotateRight'", "attr.data-action": "'rotate-right'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryRotateRight }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1073
+ }
1074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryRotateRight, decorators: [{
1075
+ type: Directive,
1076
+ args: [{
1077
+ selector: '[pGalleryRotateRight]',
1078
+ standalone: true,
1079
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryRotateRight }],
1080
+ host: {
1081
+ '[class]': "gallery.cx('rotateRight')",
1082
+ '[attr.data-scope]': "'gallery'",
1083
+ '[attr.data-part]': "'rotateRight'",
1084
+ '[attr.data-action]': "'rotate-right'",
1085
+ '(click)': 'onClick()'
1086
+ },
1087
+ hostDirectives: [Bind]
1088
+ }]
1089
+ }] });
1090
+
1091
+ /**
1092
+ * GalleryFlipX represents the horizontal flip action button.
1093
+ * @group Components
1094
+ */
1095
+ class GalleryFlipX extends BaseComponent {
1096
+ componentName = 'GalleryFlipX';
1097
+ gallery = inject(Gallery);
1098
+ bindDirectiveInstance = inject(Bind, { self: true });
1099
+ _componentStyle = inject(GalleryStyle);
1100
+ onClick() {
1101
+ this.gallery.handleClickAction('flipX');
1102
+ }
1103
+ onAfterViewChecked() {
1104
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1105
+ }
1106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFlipX, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1107
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryFlipX, isStandalone: true, selector: "[pGalleryFlipX]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('flipX')", "attr.data-scope": "'gallery'", "attr.data-part": "'flipX'", "attr.data-action": "'flip-x'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFlipX }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1108
+ }
1109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFlipX, decorators: [{
1110
+ type: Directive,
1111
+ args: [{
1112
+ selector: '[pGalleryFlipX]',
1113
+ standalone: true,
1114
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFlipX }],
1115
+ host: {
1116
+ '[class]': "gallery.cx('flipX')",
1117
+ '[attr.data-scope]': "'gallery'",
1118
+ '[attr.data-part]': "'flipX'",
1119
+ '[attr.data-action]': "'flip-x'",
1120
+ '(click)': 'onClick()'
1121
+ },
1122
+ hostDirectives: [Bind]
1123
+ }]
1124
+ }] });
1125
+
1126
+ /**
1127
+ * GalleryFlipY represents the vertical flip action button.
1128
+ * @group Components
1129
+ */
1130
+ class GalleryFlipY extends BaseComponent {
1131
+ componentName = 'GalleryFlipY';
1132
+ gallery = inject(Gallery);
1133
+ bindDirectiveInstance = inject(Bind, { self: true });
1134
+ _componentStyle = inject(GalleryStyle);
1135
+ onClick() {
1136
+ this.gallery.handleClickAction('flipY');
1137
+ }
1138
+ onAfterViewChecked() {
1139
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1140
+ }
1141
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFlipY, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryFlipY, isStandalone: true, selector: "[pGalleryFlipY]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('flipY')", "attr.data-scope": "'gallery'", "attr.data-part": "'flipY'", "attr.data-action": "'flip-y'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFlipY }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1143
+ }
1144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFlipY, decorators: [{
1145
+ type: Directive,
1146
+ args: [{
1147
+ selector: '[pGalleryFlipY]',
1148
+ standalone: true,
1149
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFlipY }],
1150
+ host: {
1151
+ '[class]': "gallery.cx('flipY')",
1152
+ '[attr.data-scope]': "'gallery'",
1153
+ '[attr.data-part]': "'flipY'",
1154
+ '[attr.data-action]': "'flip-y'",
1155
+ '(click)': 'onClick()'
1156
+ },
1157
+ hostDirectives: [Bind]
1158
+ }]
1159
+ }] });
1160
+
1161
+ /**
1162
+ * GalleryFullScreen represents the fullscreen toggle button.
1163
+ * @group Components
1164
+ */
1165
+ class GalleryFullScreen extends BaseComponent {
1166
+ componentName = 'GalleryFullScreen';
1167
+ gallery = inject(Gallery);
1168
+ bindDirectiveInstance = inject(Bind, { self: true });
1169
+ _componentStyle = inject(GalleryStyle);
1170
+ dataFullscreen = computed(() => (this.gallery.isFullscreen() ? '' : null), /* @ts-ignore */
1171
+ ...(ngDevMode ? [{ debugName: "dataFullscreen" }] : /* istanbul ignore next */ []));
1172
+ onClick() {
1173
+ this.gallery.handleClickAction('toggleFullScreen');
1174
+ }
1175
+ onAfterViewChecked() {
1176
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1177
+ }
1178
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFullScreen, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1179
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryFullScreen, isStandalone: true, selector: "[pGalleryFullScreen]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('fullScreen')", "attr.data-scope": "'gallery'", "attr.data-part": "'fullScreen'", "attr.data-action": "'fullscreen'", "attr.data-fullscreen": "dataFullscreen()" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFullScreen }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1180
+ }
1181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryFullScreen, decorators: [{
1182
+ type: Directive,
1183
+ args: [{
1184
+ selector: '[pGalleryFullScreen]',
1185
+ standalone: true,
1186
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryFullScreen }],
1187
+ host: {
1188
+ '[class]': "gallery.cx('fullScreen')",
1189
+ '[attr.data-scope]': "'gallery'",
1190
+ '[attr.data-part]': "'fullScreen'",
1191
+ '[attr.data-action]': "'fullscreen'",
1192
+ '[attr.data-fullscreen]': 'dataFullscreen()',
1193
+ '(click)': 'onClick()'
1194
+ },
1195
+ hostDirectives: [Bind]
1196
+ }]
1197
+ }] });
1198
+
1199
+ /**
1200
+ * GalleryDownload represents the download action button.
1201
+ * @group Components
1202
+ */
1203
+ class GalleryDownload extends BaseComponent {
1204
+ componentName = 'GalleryDownload';
1205
+ gallery = inject(Gallery);
1206
+ bindDirectiveInstance = inject(Bind, { self: true });
1207
+ _componentStyle = inject(GalleryStyle);
1208
+ onClick() {
1209
+ this.gallery.handleClickAction('download');
1210
+ }
1211
+ onAfterViewChecked() {
1212
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1213
+ }
1214
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryDownload, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1215
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.3", type: GalleryDownload, isStandalone: true, selector: "[pGalleryDownload]", host: { listeners: { "click": "onClick()" }, properties: { "class": "gallery.cx('download')", "attr.data-scope": "'gallery'", "attr.data-part": "'download'", "attr.data-action": "'download'" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryDownload }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
1216
+ }
1217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryDownload, decorators: [{
1218
+ type: Directive,
1219
+ args: [{
1220
+ selector: '[pGalleryDownload]',
1221
+ standalone: true,
1222
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: GalleryDownload }],
1223
+ host: {
1224
+ '[class]': "gallery.cx('download')",
1225
+ '[attr.data-scope]': "'gallery'",
1226
+ '[attr.data-part]': "'download'",
1227
+ '[attr.data-action]': "'download'",
1228
+ '(click)': 'onClick()'
1229
+ },
1230
+ hostDirectives: [Bind]
1231
+ }]
1232
+ }] });
1233
+
1234
+ /**
1235
+ * GalleryThumbnailItem represents an individual thumbnail item.
1236
+ * Exposes its content as a TemplateRef so GalleryThumbnail can render it inside a carousel item.
1237
+ * @group Components
1238
+ */
1239
+ class GalleryThumbnailItem {
1240
+ /**
1241
+ * The index of the thumbnail item.
1242
+ * @group Props
1243
+ */
1244
+ index = input(/* @ts-ignore */
1245
+ ...(ngDevMode ? [undefined, { debugName: "index" }] : /* istanbul ignore next */ []));
1246
+ gallery = inject(Gallery);
1247
+ templateRef = viewChild('content', /* @ts-ignore */
1248
+ ...(ngDevMode ? [{ debugName: "templateRef" }] : /* istanbul ignore next */ []));
1249
+ isActive = computed(() => {
1250
+ const idx = this.index();
1251
+ return idx !== undefined && this.gallery.activeIndex() === idx;
1252
+ }, /* @ts-ignore */
1253
+ ...(ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []));
1254
+ hostClass = computed(() => this.gallery.cx('thumbnailItem'), /* @ts-ignore */
1255
+ ...(ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []));
1256
+ dataActive = computed(() => (this.isActive() ? '' : null), /* @ts-ignore */
1257
+ ...(ngDevMode ? [{ debugName: "dataActive" }] : /* istanbul ignore next */ []));
1258
+ onClick() {
1259
+ const idx = this.index();
1260
+ if (idx !== undefined) {
1261
+ this.gallery.selectItem(idx);
1262
+ }
1263
+ }
1264
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnailItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
1265
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.3", type: GalleryThumbnailItem, isStandalone: true, selector: "p-gallery-thumbnail-item", inputs: { index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
1266
+ <ng-template #content>
1267
+ <ng-content></ng-content>
1268
+ </ng-template>
1269
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1270
+ }
1271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnailItem, decorators: [{
1272
+ type: Component,
1273
+ args: [{
1274
+ selector: 'p-gallery-thumbnail-item',
1275
+ standalone: true,
1276
+ template: `
1277
+ <ng-template #content>
1278
+ <ng-content></ng-content>
1279
+ </ng-template>
1280
+ `,
1281
+ changeDetection: ChangeDetectionStrategy.OnPush,
1282
+ encapsulation: ViewEncapsulation.None
1283
+ }]
1284
+ }], propDecorators: { index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: false }] }], templateRef: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }] } });
1285
+
1286
+ /**
1287
+ * GalleryThumbnail represents the thumbnail carousel wrapper.
1288
+ * @group Components
1289
+ */
1290
+ class GalleryThumbnail extends BaseComponent {
1291
+ componentName = 'GalleryThumbnail';
1292
+ bindDirectiveInstance = inject(Bind, { self: true });
1293
+ gallery = inject(Gallery);
1294
+ onAfterViewChecked() {
1295
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1296
+ }
1297
+ /**
1298
+ * Whether the carousel should auto size items.
1299
+ * @group Props
1300
+ * @defaultValue true
1301
+ */
1302
+ autoSize = input(true, { ...(ngDevMode ? { debugName: "autoSize" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1303
+ /**
1304
+ * Whether the carousel should loop.
1305
+ * @group Props
1306
+ * @defaultValue true
1307
+ */
1308
+ loop = input(true, { ...(ngDevMode ? { debugName: "loop" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1309
+ /**
1310
+ * Alignment of the carousel items.
1311
+ * @group Props
1312
+ * @defaultValue 'center'
1313
+ */
1314
+ align = input('center', /* @ts-ignore */
1315
+ ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
1316
+ /**
1317
+ * Spacing between carousel items in pixels.
1318
+ * @group Props
1319
+ * @defaultValue 8
1320
+ */
1321
+ spacing = input(8, { ...(ngDevMode ? { debugName: "spacing" } : /* istanbul ignore next */ {}), transform: numberAttribute });
1322
+ /**
1323
+ * Orientation of the carousel.
1324
+ * @group Props
1325
+ * @defaultValue 'horizontal'
1326
+ */
1327
+ orientation = input('horizontal', /* @ts-ignore */
1328
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
1329
+ /**
1330
+ * Scroll snap type applied to the track.
1331
+ * @group Props
1332
+ * @defaultValue 'mandatory'
1333
+ */
1334
+ snapType = input('mandatory', /* @ts-ignore */
1335
+ ...(ngDevMode ? [{ debugName: "snapType" }] : /* istanbul ignore next */ []));
1336
+ /**
1337
+ * How many slides are visible per page.
1338
+ * @group Props
1339
+ * @defaultValue 1
1340
+ */
1341
+ slidesPerPage = input(1, { ...(ngDevMode ? { debugName: "slidesPerPage" } : /* istanbul ignore next */ {}), transform: numberAttribute });
1342
+ thumbnailItems = contentChildren(GalleryThumbnailItem, { ...(ngDevMode ? { debugName: "thumbnailItems" } : /* istanbul ignore next */ {}), descendants: true });
1343
+ slide = computed(() => this.gallery.activeIndex(), /* @ts-ignore */
1344
+ ...(ngDevMode ? [{ debugName: "slide" }] : /* istanbul ignore next */ []));
1345
+ onItemKeydown(event, index) {
1346
+ const items = this.thumbnailItems();
1347
+ switch (event.code) {
1348
+ case 'Enter':
1349
+ case 'Space':
1350
+ event.preventDefault();
1351
+ items[index]?.onClick();
1352
+ break;
1353
+ case 'ArrowRight':
1354
+ case 'ArrowDown':
1355
+ event.preventDefault();
1356
+ this.focusItem((index + 1) % items.length);
1357
+ break;
1358
+ case 'ArrowLeft':
1359
+ case 'ArrowUp':
1360
+ event.preventDefault();
1361
+ this.focusItem((index - 1 + items.length) % items.length);
1362
+ break;
1363
+ case 'Home':
1364
+ event.preventDefault();
1365
+ this.focusItem(0);
1366
+ break;
1367
+ case 'End':
1368
+ event.preventDefault();
1369
+ this.focusItem(items.length - 1);
1370
+ break;
1371
+ }
1372
+ }
1373
+ focusItem(nextIndex) {
1374
+ this.gallery.selectItem(nextIndex);
1375
+ const carouselItems = this.$el?.querySelectorAll('[data-pc-name="pccarouselitem"][tabindex]');
1376
+ carouselItems?.[nextIndex]?.focus();
1377
+ }
1378
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnail, deps: null, target: i0.ɵɵFactoryTarget.Component });
1379
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.3", type: GalleryThumbnail, isStandalone: true, selector: "p-gallery-thumbnail", inputs: { autoSize: { classPropertyName: "autoSize", publicName: "autoSize", isSignal: true, isRequired: false, transformFunction: null }, loop: { classPropertyName: "loop", publicName: "loop", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, spacing: { classPropertyName: "spacing", publicName: "spacing", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, snapType: { classPropertyName: "snapType", publicName: "snapType", isSignal: true, isRequired: false, transformFunction: null }, slidesPerPage: { classPropertyName: "slidesPerPage", publicName: "slidesPerPage", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "gallery.cx('thumbnail')", "attr.data-scope": "'gallery'", "attr.data-part": "'thumbnail'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryThumbnail }], queries: [{ propertyName: "thumbnailItems", predicate: GalleryThumbnailItem, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1380
+ <p-carousel
1381
+ [autoSize]="autoSize()"
1382
+ [loop]="loop()"
1383
+ [align]="align()"
1384
+ [spacing]="spacing()"
1385
+ [orientation]="orientation()"
1386
+ [snapType]="snapType()"
1387
+ [slidesPerPage]="slidesPerPage()"
1388
+ [slide]="slide()"
1389
+ [unstyled]="gallery.$unstyled()"
1390
+ [pt]="ptm('pcCarousel')"
1391
+ >
1392
+ <p-carousel-content [pt]="ptm('pcCarouselContent')">
1393
+ @if (thumbnailItems().length > 0) {
1394
+ @for (item of thumbnailItems(); track item; let i = $index) {
1395
+ <p-carousel-item [class]="item.hostClass()" [attr.data-active]="item.dataActive()" [attr.tabindex]="0" (click)="item.onClick()" (keydown)="onItemKeydown($event, i)" [pt]="ptm('pcCarouselItem')">
1396
+ <ng-container *ngTemplateOutlet="item.templateRef()"></ng-container>
1397
+ </p-carousel-item>
1398
+ }
1399
+ } @else {
1400
+ <ng-content></ng-content>
1401
+ }
1402
+ </p-carousel-content>
1403
+ </p-carousel>
1404
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CarouselModule }, { kind: "component", type: i2.Carousel, selector: "p-carousel", inputs: ["align", "loop", "snapType", "spacing", "autoSize", "slidesPerPage", "slide"], outputs: ["onPageChange", "onSlideChange"] }, { kind: "component", type: i2.CarouselContent, selector: "p-carousel-content" }, { kind: "component", type: i2.CarouselItem, selector: "p-carousel-item", inputs: ["value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1405
+ }
1406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnail, decorators: [{
1407
+ type: Component,
1408
+ args: [{
1409
+ selector: 'p-gallery-thumbnail',
1410
+ standalone: true,
1411
+ imports: [BindModule, NgTemplateOutlet, CarouselModule],
1412
+ template: `
1413
+ <p-carousel
1414
+ [autoSize]="autoSize()"
1415
+ [loop]="loop()"
1416
+ [align]="align()"
1417
+ [spacing]="spacing()"
1418
+ [orientation]="orientation()"
1419
+ [snapType]="snapType()"
1420
+ [slidesPerPage]="slidesPerPage()"
1421
+ [slide]="slide()"
1422
+ [unstyled]="gallery.$unstyled()"
1423
+ [pt]="ptm('pcCarousel')"
1424
+ >
1425
+ <p-carousel-content [pt]="ptm('pcCarouselContent')">
1426
+ @if (thumbnailItems().length > 0) {
1427
+ @for (item of thumbnailItems(); track item; let i = $index) {
1428
+ <p-carousel-item [class]="item.hostClass()" [attr.data-active]="item.dataActive()" [attr.tabindex]="0" (click)="item.onClick()" (keydown)="onItemKeydown($event, i)" [pt]="ptm('pcCarouselItem')">
1429
+ <ng-container *ngTemplateOutlet="item.templateRef()"></ng-container>
1430
+ </p-carousel-item>
1431
+ }
1432
+ } @else {
1433
+ <ng-content></ng-content>
1434
+ }
1435
+ </p-carousel-content>
1436
+ </p-carousel>
1437
+ `,
1438
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryThumbnail }],
1439
+ changeDetection: ChangeDetectionStrategy.OnPush,
1440
+ encapsulation: ViewEncapsulation.None,
1441
+ host: {
1442
+ '[class]': "gallery.cx('thumbnail')",
1443
+ '[attr.data-scope]': "'gallery'",
1444
+ '[attr.data-part]': "'thumbnail'"
1445
+ },
1446
+ hostDirectives: [Bind]
1447
+ }]
1448
+ }], propDecorators: { autoSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoSize", required: false }] }], loop: [{ type: i0.Input, args: [{ isSignal: true, alias: "loop", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], spacing: [{ type: i0.Input, args: [{ isSignal: true, alias: "spacing", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], snapType: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapType", required: false }] }], slidesPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "slidesPerPage", required: false }] }], thumbnailItems: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => GalleryThumbnailItem), { ...{ descendants: true }, isSignal: true }] }] } });
1449
+
1450
+ /**
1451
+ * GalleryThumbnailContent represents the thumbnail carousel content area.
1452
+ * @group Components
1453
+ */
1454
+ class GalleryThumbnailContent extends BaseComponent {
1455
+ componentName = 'GalleryThumbnailContent';
1456
+ bindDirectiveInstance = inject(Bind, { self: true });
1457
+ gallery = inject(Gallery);
1458
+ onAfterViewChecked() {
1459
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1460
+ }
1461
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnailContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1462
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.3", type: GalleryThumbnailContent, isStandalone: true, selector: "p-gallery-thumbnail-content", host: { properties: { "class": "gallery.cx('thumbnailContent')", "attr.data-scope": "'gallery'", "attr.data-part": "'thumbnailContent'" } }, providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryThumbnailContent }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1463
+ }
1464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryThumbnailContent, decorators: [{
1465
+ type: Component,
1466
+ args: [{
1467
+ selector: 'p-gallery-thumbnail-content',
1468
+ standalone: true,
1469
+ imports: [BindModule],
1470
+ template: `<ng-content></ng-content>`,
1471
+ providers: [{ provide: PARENT_INSTANCE, useExisting: GalleryThumbnailContent }],
1472
+ changeDetection: ChangeDetectionStrategy.OnPush,
1473
+ encapsulation: ViewEncapsulation.None,
1474
+ host: {
1475
+ '[class]': "gallery.cx('thumbnailContent')",
1476
+ '[attr.data-scope]': "'gallery'",
1477
+ '[attr.data-part]': "'thumbnailContent'"
1478
+ },
1479
+ hostDirectives: [Bind]
1480
+ }]
1481
+ }] });
1482
+
1483
+ /**
1484
+ * Gallery is the main container component for the Gallery.
1485
+ * @group Components
1486
+ */
1487
+ class Gallery extends BaseComponent {
1488
+ componentName = 'Gallery';
1489
+ bindDirectiveInstance = inject(Bind, { self: true });
1490
+ onAfterViewChecked() {
1491
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
1492
+ }
1493
+ /**
1494
+ * The index of the active item.
1495
+ * @group Props
1496
+ * @defaultValue 0
1497
+ */
1498
+ activeIndex = model(0, /* @ts-ignore */
1499
+ ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
1500
+ /**
1501
+ * When defined, puts the fullscreen state in controlled mode; the value drives whether the gallery is fullscreen and changes are reported via onFullscreenChange instead of being handled internally.
1502
+ * @group Props
1503
+ */
1504
+ fullscreen = input(undefined, { ...(ngDevMode ? { debugName: "fullscreen" } : /* istanbul ignore next */ {}), transform: (value) => (value === undefined ? undefined : booleanAttribute(value)) });
1505
+ /**
1506
+ * Whether pressing the Escape key exits fullscreen mode.
1507
+ * @defaultValue true
1508
+ * @group Props
1509
+ */
1510
+ closeOnEscape = input(true, { ...(ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
1511
+ /**
1512
+ * Callback fired when the gallery's active index changes.
1513
+ * @param {GalleryActiveIndexChangeEvent} event - Custom active index change event.
1514
+ * @group Emits
1515
+ */
1516
+ onActiveIndexChange = output();
1517
+ /**
1518
+ * Callback fired when the fullscreen state should change (controlled mode).
1519
+ * @param {boolean} value - The next fullscreen state.
1520
+ * @group Emits
1521
+ */
1522
+ onFullscreenChange = output();
1523
+ /**
1524
+ * Callback fired when the active item's zoom scale changes.
1525
+ * @param {number} scale - The current zoom scale.
1526
+ * @group Emits
1527
+ */
1528
+ onZoomChange = output();
1529
+ /**
1530
+ * Callback fired when the active item's rotation changes.
1531
+ * @param {number} rotation - The current rotation in degrees.
1532
+ * @group Emits
1533
+ */
1534
+ onRotateChange = output();
1535
+ /**
1536
+ * Callback fired when the active item's flip state changes.
1537
+ * @param {{ x: number; y: number }} flip - The current flip state.
1538
+ * @group Emits
1539
+ */
1540
+ onFlipChange = output();
1541
+ _componentStyle = inject(GalleryStyle);
1542
+ isFullscreenInternal = signal(false, /* @ts-ignore */
1543
+ ...(ngDevMode ? [{ debugName: "isFullscreenInternal" }] : /* istanbul ignore next */ []));
1544
+ fullscreenResizeTimer = null;
1545
+ destroyed = false;
1546
+ isFullscreen = computed(() => this.fullscreen() ?? this.isFullscreenInternal(), /* @ts-ignore */
1547
+ ...(ngDevMode ? [{ debugName: "isFullscreen" }] : /* istanbul ignore next */ []));
1548
+ activeItemTransform = signal({ zoomed: false, rotated: false, flipped: false }, /* @ts-ignore */
1549
+ ...(ngDevMode ? [{ debugName: "activeItemTransform" }] : /* istanbul ignore next */ []));
1550
+ pendingAction = signal(null, /* @ts-ignore */
1551
+ ...(ngDevMode ? [{ debugName: "pendingAction" }] : /* istanbul ignore next */ []));
1552
+ itemCounter = 0;
1553
+ contentEl = signal(null, /* @ts-ignore */
1554
+ ...(ngDevMode ? [{ debugName: "contentEl" }] : /* istanbul ignore next */ []));
1555
+ dataFullscreen = computed(() => (this.isFullscreen() ? '' : null), /* @ts-ignore */
1556
+ ...(ngDevMode ? [{ debugName: "dataFullscreen" }] : /* istanbul ignore next */ []));
1557
+ dataZoomed = computed(() => (this.activeItemTransform().zoomed ? '' : null), /* @ts-ignore */
1558
+ ...(ngDevMode ? [{ debugName: "dataZoomed" }] : /* istanbul ignore next */ []));
1559
+ dataRotated = computed(() => (this.activeItemTransform().rotated ? '' : null), /* @ts-ignore */
1560
+ ...(ngDevMode ? [{ debugName: "dataRotated" }] : /* istanbul ignore next */ []));
1561
+ dataFlipped = computed(() => (this.activeItemTransform().flipped ? '' : null), /* @ts-ignore */
1562
+ ...(ngDevMode ? [{ debugName: "dataFlipped" }] : /* istanbul ignore next */ []));
1563
+ registerItem(existingIndex) {
1564
+ if (existingIndex !== null) {
1565
+ if (existingIndex >= this.itemCounter) {
1566
+ this.itemCounter = existingIndex + 1;
1567
+ }
1568
+ return existingIndex;
1569
+ }
1570
+ const newIndex = this.itemCounter;
1571
+ this.itemCounter += 1;
1572
+ return newIndex;
1573
+ }
1574
+ handleNext() {
1575
+ if (this.itemCounter <= 0)
1576
+ return;
1577
+ const newIndex = (this.activeIndex() + 1) % this.itemCounter;
1578
+ this.activeIndex.set(newIndex);
1579
+ this.onActiveIndexChange.emit({ value: newIndex });
1580
+ }
1581
+ handlePrev() {
1582
+ if (this.itemCounter <= 0)
1583
+ return;
1584
+ const newIndex = (this.activeIndex() - 1 + this.itemCounter) % this.itemCounter;
1585
+ this.activeIndex.set(newIndex);
1586
+ this.onActiveIndexChange.emit({ value: newIndex });
1587
+ }
1588
+ selectItem(index) {
1589
+ if (index < 0 || index >= this.itemCounter)
1590
+ return;
1591
+ this.activeIndex.set(index);
1592
+ this.onActiveIndexChange.emit({ value: index });
1593
+ }
1594
+ dispatchAction(type) {
1595
+ this.pendingAction.set({ type, timestamp: Date.now() });
1596
+ }
1597
+ clearPendingAction() {
1598
+ this.pendingAction.set(null);
1599
+ }
1600
+ constructor() {
1601
+ super();
1602
+ effect(() => {
1603
+ const fullscreenActive = this.fullscreen();
1604
+ if (fullscreenActive === undefined || isPlatformServer(this.platformId))
1605
+ return;
1606
+ const el = this.$el;
1607
+ if (!el || !this.document)
1608
+ return;
1609
+ const isNativeFullscreen = this.document.fullscreenElement === el;
1610
+ if (fullscreenActive && !isNativeFullscreen) {
1611
+ el.requestFullscreen?.()?.catch(() => { });
1612
+ }
1613
+ else if (!fullscreenActive && this.document.fullscreenElement) {
1614
+ this.document.exitFullscreen?.()?.catch(() => { });
1615
+ }
1616
+ });
1617
+ }
1618
+ onInit() {
1619
+ super.onInit();
1620
+ if (!isPlatformServer(this.platformId)) {
1621
+ this.document?.addEventListener('fullscreenchange', this.onNativeFullscreenChange);
1622
+ }
1623
+ }
1624
+ onDestroy() {
1625
+ this.destroyed = true;
1626
+ if (this.fullscreenResizeTimer) {
1627
+ clearTimeout(this.fullscreenResizeTimer);
1628
+ this.fullscreenResizeTimer = null;
1629
+ }
1630
+ this.document?.removeEventListener('fullscreenchange', this.onNativeFullscreenChange);
1631
+ if (this.document?.fullscreenElement === this.$el) {
1632
+ this.document.exitFullscreen?.().catch(() => { });
1633
+ }
1634
+ super.onDestroy();
1635
+ }
1636
+ onNativeFullscreenChange = () => {
1637
+ const active = this.document?.fullscreenElement === this.$el;
1638
+ this.isFullscreenInternal.set(active);
1639
+ if (this.fullscreen() !== undefined && this.fullscreen() !== active) {
1640
+ this.onFullscreenChange.emit(active);
1641
+ }
1642
+ // Nudge a resize so items recalculate, but track the timer so it can be cleared on destroy —
1643
+ // otherwise it fires after teardown and the resulting cascade emits on destroyed outputs (NG0953).
1644
+ if (this.fullscreenResizeTimer)
1645
+ clearTimeout(this.fullscreenResizeTimer);
1646
+ this.fullscreenResizeTimer = setTimeout(() => {
1647
+ this.fullscreenResizeTimer = null;
1648
+ window.dispatchEvent(new Event('resize'));
1649
+ }, 100);
1650
+ };
1651
+ handleKeyDown(event) {
1652
+ if (event.key === 'ArrowRight') {
1653
+ event.preventDefault();
1654
+ this.handleNext();
1655
+ }
1656
+ else if (event.key === 'ArrowLeft') {
1657
+ event.preventDefault();
1658
+ this.handlePrev();
1659
+ }
1660
+ else if (event.key === 'Escape' && this.closeOnEscape() && this.isFullscreen()) {
1661
+ event.preventDefault();
1662
+ this.toggleFullScreen();
1663
+ }
1664
+ }
1665
+ toggleFullScreen() {
1666
+ if (this.fullscreen() !== undefined) {
1667
+ this.onFullscreenChange.emit(!this.fullscreen());
1668
+ return;
1669
+ }
1670
+ const el = this.$el;
1671
+ if (!el || isPlatformServer(this.platformId))
1672
+ return;
1673
+ if (this.document?.fullscreenElement) {
1674
+ this.document.exitFullscreen?.();
1675
+ }
1676
+ else {
1677
+ el.requestFullscreen?.();
1678
+ }
1679
+ }
1680
+ prevReported = null;
1681
+ reportItemState(itemState) {
1682
+ if (this.destroyed)
1683
+ return;
1684
+ this.activeItemTransform.set({ zoomed: itemState.zoomed, rotated: itemState.rotated, flipped: itemState.flipped });
1685
+ const prev = this.prevReported;
1686
+ if (!prev || prev.scale !== itemState.scale)
1687
+ this.onZoomChange.emit(itemState.scale);
1688
+ if (!prev || prev.rotation !== itemState.rotation)
1689
+ this.onRotateChange.emit(itemState.rotation);
1690
+ if (!prev || prev.flip.x !== itemState.flip.x || prev.flip.y !== itemState.flip.y)
1691
+ this.onFlipChange.emit(itemState.flip);
1692
+ this.prevReported = { scale: itemState.scale, rotation: itemState.rotation, flip: itemState.flip };
1693
+ }
1694
+ handleClickAction(action) {
1695
+ if (!action)
1696
+ return;
1697
+ const actionMap = {
1698
+ zoomIn: () => this.dispatchAction('zoom-in'),
1699
+ zoomOut: () => this.dispatchAction('zoom-out'),
1700
+ rotateLeft: () => this.dispatchAction('rotate-left'),
1701
+ rotateRight: () => this.dispatchAction('rotate-right'),
1702
+ flipX: () => this.dispatchAction('flip-x'),
1703
+ flipY: () => this.dispatchAction('flip-y'),
1704
+ download: () => this.dispatchAction('download'),
1705
+ next: () => this.handleNext(),
1706
+ prev: () => this.handlePrev(),
1707
+ toggleFullScreen: () => this.toggleFullScreen()
1708
+ };
1709
+ actionMap[action]?.();
1710
+ }
1711
+ setContentEl(el) {
1712
+ this.contentEl.set(el);
1713
+ }
1714
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: Gallery, deps: [], target: i0.ɵɵFactoryTarget.Component });
1715
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.3", type: Gallery, isStandalone: true, selector: "p-gallery", inputs: { activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, fullscreen: { classPropertyName: "fullscreen", publicName: "fullscreen", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange", onActiveIndexChange: "onActiveIndexChange", onFullscreenChange: "onFullscreenChange", onZoomChange: "onZoomChange", onRotateChange: "onRotateChange", onFlipChange: "onFlipChange" }, host: { attributes: { "tabindex": "0" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "class": "cx('root')", "attr.data-scope": "'gallery'", "attr.data-part": "'root'", "attr.data-fullscreen": "dataFullscreen()", "attr.data-zoomed": "dataZoomed()", "attr.data-rotated": "dataRotated()", "attr.data-flipped": "dataFlipped()" } }, providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: Gallery }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, dependencies: [{ kind: "ngmodule", type: BindModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1716
+ }
1717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: Gallery, decorators: [{
1718
+ type: Component,
1719
+ args: [{
1720
+ selector: 'p-gallery',
1721
+ standalone: true,
1722
+ imports: [BindModule],
1723
+ template: `<ng-content></ng-content>`,
1724
+ providers: [GalleryStyle, { provide: PARENT_INSTANCE, useExisting: Gallery }],
1725
+ changeDetection: ChangeDetectionStrategy.OnPush,
1726
+ encapsulation: ViewEncapsulation.None,
1727
+ host: {
1728
+ '[class]': "cx('root')",
1729
+ tabindex: '0',
1730
+ '[attr.data-scope]': "'gallery'",
1731
+ '[attr.data-part]': "'root'",
1732
+ '[attr.data-fullscreen]': 'dataFullscreen()',
1733
+ '[attr.data-zoomed]': 'dataZoomed()',
1734
+ '[attr.data-rotated]': 'dataRotated()',
1735
+ '[attr.data-flipped]': 'dataFlipped()',
1736
+ '(keydown)': 'handleKeyDown($event)'
1737
+ },
1738
+ hostDirectives: [Bind]
1739
+ }]
1740
+ }], ctorParameters: () => [], propDecorators: { activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }, { type: i0.Output, args: ["activeIndexChange"] }], fullscreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "fullscreen", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], onActiveIndexChange: [{ type: i0.Output, args: ["onActiveIndexChange"] }], onFullscreenChange: [{ type: i0.Output, args: ["onFullscreenChange"] }], onZoomChange: [{ type: i0.Output, args: ["onZoomChange"] }], onRotateChange: [{ type: i0.Output, args: ["onRotateChange"] }], onFlipChange: [{ type: i0.Output, args: ["onFlipChange"] }] } });
1741
+ class GalleryModule {
1742
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1743
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.3", ngImport: i0, type: GalleryModule, imports: [Gallery, GalleryItem,
1744
+ GalleryHeader,
1745
+ GalleryContent,
1746
+ GalleryFooter,
1747
+ GalleryBackdrop,
1748
+ GalleryToolbar,
1749
+ GalleryToolbarItem,
1750
+ GalleryPrev,
1751
+ GalleryNext,
1752
+ GalleryZoomIn,
1753
+ GalleryZoomOut,
1754
+ GalleryZoomToggle,
1755
+ GalleryRotateLeft,
1756
+ GalleryRotateRight,
1757
+ GalleryFlipX,
1758
+ GalleryFlipY,
1759
+ GalleryFullScreen,
1760
+ GalleryDownload,
1761
+ GalleryThumbnail,
1762
+ GalleryThumbnailContent,
1763
+ GalleryThumbnailItem,
1764
+ SharedModule], exports: [Gallery, GalleryItem,
1765
+ GalleryHeader,
1766
+ GalleryContent,
1767
+ GalleryFooter,
1768
+ GalleryBackdrop,
1769
+ GalleryToolbar,
1770
+ GalleryToolbarItem,
1771
+ GalleryPrev,
1772
+ GalleryNext,
1773
+ GalleryZoomIn,
1774
+ GalleryZoomOut,
1775
+ GalleryZoomToggle,
1776
+ GalleryRotateLeft,
1777
+ GalleryRotateRight,
1778
+ GalleryFlipX,
1779
+ GalleryFlipY,
1780
+ GalleryFullScreen,
1781
+ GalleryDownload,
1782
+ GalleryThumbnail,
1783
+ GalleryThumbnailContent,
1784
+ GalleryThumbnailItem,
1785
+ SharedModule] });
1786
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryModule, imports: [Gallery,
1787
+ GalleryItem,
1788
+ GalleryHeader,
1789
+ GalleryContent,
1790
+ GalleryFooter,
1791
+ GalleryBackdrop,
1792
+ GalleryToolbar,
1793
+ GalleryToolbarItem,
1794
+ GalleryThumbnail,
1795
+ GalleryThumbnailContent,
1796
+ SharedModule, SharedModule] });
1797
+ }
1798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.3", ngImport: i0, type: GalleryModule, decorators: [{
1799
+ type: NgModule,
1800
+ args: [{
1801
+ imports: [
1802
+ Gallery,
1803
+ GalleryItem,
1804
+ GalleryHeader,
1805
+ GalleryContent,
1806
+ GalleryFooter,
1807
+ GalleryBackdrop,
1808
+ GalleryToolbar,
1809
+ GalleryToolbarItem,
1810
+ GalleryPrev,
1811
+ GalleryNext,
1812
+ GalleryZoomIn,
1813
+ GalleryZoomOut,
1814
+ GalleryZoomToggle,
1815
+ GalleryRotateLeft,
1816
+ GalleryRotateRight,
1817
+ GalleryFlipX,
1818
+ GalleryFlipY,
1819
+ GalleryFullScreen,
1820
+ GalleryDownload,
1821
+ GalleryThumbnail,
1822
+ GalleryThumbnailContent,
1823
+ GalleryThumbnailItem,
1824
+ SharedModule
1825
+ ],
1826
+ exports: [
1827
+ Gallery,
1828
+ GalleryItem,
1829
+ GalleryHeader,
1830
+ GalleryContent,
1831
+ GalleryFooter,
1832
+ GalleryBackdrop,
1833
+ GalleryToolbar,
1834
+ GalleryToolbarItem,
1835
+ GalleryPrev,
1836
+ GalleryNext,
1837
+ GalleryZoomIn,
1838
+ GalleryZoomOut,
1839
+ GalleryZoomToggle,
1840
+ GalleryRotateLeft,
1841
+ GalleryRotateRight,
1842
+ GalleryFlipX,
1843
+ GalleryFlipY,
1844
+ GalleryFullScreen,
1845
+ GalleryDownload,
1846
+ GalleryThumbnail,
1847
+ GalleryThumbnailContent,
1848
+ GalleryThumbnailItem,
1849
+ SharedModule
1850
+ ]
1851
+ }]
1852
+ }] });
1853
+
1854
+ /**
1855
+ * Generated bundle index. Do not edit.
1856
+ */
1857
+
1858
+ export { Gallery, GalleryBackdrop, GalleryClasses, GalleryContent, GalleryDownload, GalleryFlipX, GalleryFlipY, GalleryFooter, GalleryFullScreen, GalleryHeader, GalleryItem, GalleryModule, GalleryNext, GalleryPrev, GalleryRotateLeft, GalleryRotateRight, GalleryStyle, GalleryThumbnail, GalleryThumbnailContent, GalleryThumbnailItem, GalleryToolbar, GalleryToolbarItem, GalleryZoomIn, GalleryZoomOut, GalleryZoomToggle };
1859
+ //# sourceMappingURL=primenglab-gallery.mjs.map