@mintplayer/ng-bootstrap 22.0.0 → 22.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/a11y/package.json +4 -0
  2. package/accordion/package.json +4 -0
  3. package/alert/package.json +4 -0
  4. package/badge/package.json +4 -0
  5. package/breadcrumb/package.json +4 -0
  6. package/button-group/package.json +4 -0
  7. package/button-type/package.json +4 -0
  8. package/calendar/package.json +4 -0
  9. package/calendar-month/package.json +4 -0
  10. package/card/package.json +4 -0
  11. package/carousel/package.json +4 -0
  12. package/checkbox/package.json +4 -0
  13. package/close/package.json +4 -0
  14. package/code-snippet/package.json +4 -0
  15. package/color-picker/package.json +4 -0
  16. package/container/package.json +4 -0
  17. package/context-menu/package.json +4 -0
  18. package/copy/package.json +4 -0
  19. package/datatable/package.json +4 -0
  20. package/datepicker/package.json +4 -0
  21. package/datetime-picker/package.json +4 -0
  22. package/dock/package.json +4 -0
  23. package/dropdown/package.json +4 -0
  24. package/dropdown-divider/package.json +4 -0
  25. package/dropdown-menu/package.json +4 -0
  26. package/enhanced-paste/package.json +4 -0
  27. package/enum/package.json +4 -0
  28. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +470 -0
  29. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -0
  30. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +105 -0
  31. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -0
  32. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +53 -0
  33. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -0
  34. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +26 -0
  35. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -0
  36. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +36 -0
  37. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -0
  38. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +22 -0
  39. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -0
  40. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +37 -0
  41. package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -0
  42. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +136 -0
  43. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -0
  44. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +71 -0
  45. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -0
  46. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +338 -0
  47. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -0
  48. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +290 -0
  49. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -0
  50. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +240 -0
  51. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -0
  52. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -0
  53. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -0
  54. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +45 -0
  55. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -0
  56. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +703 -0
  57. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -0
  58. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +18 -0
  59. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +1 -0
  60. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +88 -0
  61. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -0
  62. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +47 -0
  63. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -0
  64. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +659 -0
  65. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -0
  66. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +153 -0
  67. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -0
  68. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +166 -0
  69. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -0
  70. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +135 -0
  71. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -0
  72. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +23 -0
  73. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -0
  74. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +206 -0
  75. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -0
  76. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +338 -0
  77. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -0
  78. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +62 -0
  79. package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -0
  80. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +38 -0
  81. package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -0
  82. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +242 -0
  83. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -0
  84. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +144 -0
  85. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -0
  86. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -0
  87. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -0
  88. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +34 -0
  89. package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -0
  90. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +42 -0
  91. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -0
  92. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +61 -0
  93. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -0
  94. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +133 -0
  95. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -0
  96. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +4 -0
  97. package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +1 -0
  98. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +32 -0
  99. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -0
  100. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +23 -0
  101. package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -0
  102. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +23 -0
  103. package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -0
  104. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +18 -0
  105. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -0
  106. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +185 -0
  107. package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -0
  108. package/fesm2022/mintplayer-ng-bootstrap-let.mjs +47 -0
  109. package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -0
  110. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +28 -0
  111. package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -0
  112. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +34 -0
  113. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -0
  114. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +118 -0
  115. package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -0
  116. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +22 -0
  117. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -0
  118. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +254 -0
  119. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -0
  120. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +174 -0
  121. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -0
  122. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +33 -0
  123. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -0
  124. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +751 -0
  125. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -0
  126. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +234 -0
  127. package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -0
  128. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +31 -0
  129. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -0
  130. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +386 -0
  131. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -0
  132. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +36 -0
  133. package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
  134. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +264 -0
  135. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -0
  136. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +61 -0
  137. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -0
  138. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +29 -0
  139. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -0
  140. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +66 -0
  141. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -0
  142. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +33 -0
  143. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -0
  144. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +256 -0
  145. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -0
  146. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +272 -0
  147. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -0
  148. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +81 -0
  149. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -0
  150. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +278 -0
  151. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -0
  152. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +189 -0
  153. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -0
  154. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +79 -0
  155. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -0
  156. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +84 -0
  157. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -0
  158. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +60 -0
  159. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +1 -0
  160. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +408 -0
  161. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -0
  162. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +1028 -0
  163. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -0
  164. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +248 -0
  165. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -0
  166. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +186 -0
  167. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -0
  168. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +215 -0
  169. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -0
  170. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +90 -0
  171. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -0
  172. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +81 -0
  173. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -0
  174. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +30 -0
  175. package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -0
  176. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +30 -0
  177. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -0
  178. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +25 -0
  179. package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -0
  180. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +46 -0
  181. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -0
  182. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +142 -0
  183. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -0
  184. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +46 -0
  185. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -0
  186. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +124 -0
  187. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -0
  188. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +215 -0
  189. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -0
  190. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +233 -0
  191. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -0
  192. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +132 -0
  193. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -0
  194. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +168 -0
  195. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -0
  196. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +178 -0
  197. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -0
  198. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +324 -0
  199. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -0
  200. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +189 -0
  201. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -0
  202. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +28 -0
  203. package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -0
  204. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +121 -0
  205. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -0
  206. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +24 -0
  207. package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -0
  208. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +102 -0
  209. package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -0
  210. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +48 -0
  211. package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +1 -0
  212. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +34 -0
  213. package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -0
  214. package/file-manager/package.json +4 -0
  215. package/file-upload/package.json +4 -0
  216. package/floating-labels/package.json +4 -0
  217. package/font-color/package.json +4 -0
  218. package/for/package.json +4 -0
  219. package/form/package.json +4 -0
  220. package/grid/package.json +4 -0
  221. package/has-id/package.json +4 -0
  222. package/has-overlay/package.json +4 -0
  223. package/has-property/package.json +4 -0
  224. package/in-list/package.json +4 -0
  225. package/input-group/package.json +4 -0
  226. package/instance-of/package.json +4 -0
  227. package/let/package.json +4 -0
  228. package/linify/package.json +4 -0
  229. package/list-group/package.json +4 -0
  230. package/markdown/package.json +4 -0
  231. package/marquee/package.json +4 -0
  232. package/modal/package.json +4 -0
  233. package/multi-range/package.json +4 -0
  234. package/navbar/package.json +4 -0
  235. package/navbar-toggler/package.json +4 -0
  236. package/navigation-lock/package.json +4 -0
  237. package/no-noscript/package.json +4 -0
  238. package/offcanvas/package.json +4 -0
  239. package/ordinal-number/package.json +4 -0
  240. package/otp-input/package.json +4 -0
  241. package/package.json +373 -1
  242. package/pagination/package.json +4 -0
  243. package/parallax/package.json +4 -0
  244. package/placeholder/package.json +4 -0
  245. package/playlist-toggler/package.json +4 -0
  246. package/popover/package.json +4 -0
  247. package/priority-nav/package.json +4 -0
  248. package/progress-bar/package.json +4 -0
  249. package/query-builder/package.json +4 -0
  250. package/radio/package.json +4 -0
  251. package/range/package.json +4 -0
  252. package/rating/package.json +4 -0
  253. package/reduced-motion/package.json +4 -0
  254. package/resizable/package.json +4 -0
  255. package/ribbon/package.json +4 -0
  256. package/scheduler/package.json +4 -0
  257. package/scrollspy/package.json +4 -0
  258. package/select/package.json +4 -0
  259. package/shell/package.json +4 -0
  260. package/signature-pad/package.json +4 -0
  261. package/slugify/package.json +4 -0
  262. package/spinner/package.json +4 -0
  263. package/split-string/package.json +4 -0
  264. package/sticky-footer/package.json +4 -0
  265. package/tab-control/package.json +4 -0
  266. package/table/package.json +4 -0
  267. package/theming/package.json +4 -0
  268. package/tile-manager/package.json +4 -0
  269. package/timeline/package.json +4 -0
  270. package/timepicker/package.json +4 -0
  271. package/toast/package.json +4 -0
  272. package/tooltip/package.json +4 -0
  273. package/tree-select/package.json +4 -0
  274. package/treeview/package.json +4 -0
  275. package/trust-html/package.json +4 -0
  276. package/typeahead/package.json +4 -0
  277. package/types/mintplayer-ng-bootstrap-a11y.d.ts +196 -0
  278. package/types/mintplayer-ng-bootstrap-accordion.d.ts +39 -0
  279. package/types/mintplayer-ng-bootstrap-alert.d.ts +22 -0
  280. package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -0
  281. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +14 -0
  282. package/types/mintplayer-ng-bootstrap-button-group.d.ts +9 -0
  283. package/types/mintplayer-ng-bootstrap-button-type.d.ts +12 -0
  284. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +54 -0
  285. package/types/mintplayer-ng-bootstrap-calendar.d.ts +23 -0
  286. package/types/mintplayer-ng-bootstrap-card.d.ts +124 -0
  287. package/types/mintplayer-ng-bootstrap-carousel.d.ts +121 -0
  288. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +94 -0
  289. package/types/mintplayer-ng-bootstrap-close.d.ts +10 -0
  290. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +27 -0
  291. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +234 -0
  292. package/types/mintplayer-ng-bootstrap-container.d.ts +8 -0
  293. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +21 -0
  294. package/types/mintplayer-ng-bootstrap-copy.d.ts +12 -0
  295. package/types/mintplayer-ng-bootstrap-datatable.d.ts +234 -0
  296. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +41 -0
  297. package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +55 -0
  298. package/types/mintplayer-ng-bootstrap-dock.d.ts +45 -0
  299. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +8 -0
  300. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +66 -0
  301. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +102 -0
  302. package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +20 -0
  303. package/types/mintplayer-ng-bootstrap-enum.d.ts +17 -0
  304. package/types/mintplayer-ng-bootstrap-file-manager.d.ts +97 -0
  305. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +51 -0
  306. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +9 -0
  307. package/types/mintplayer-ng-bootstrap-font-color.d.ts +10 -0
  308. package/types/mintplayer-ng-bootstrap-for.d.ts +13 -0
  309. package/types/mintplayer-ng-bootstrap-form.d.ts +24 -0
  310. package/types/mintplayer-ng-bootstrap-grid.d.ts +50 -0
  311. package/types/mintplayer-ng-bootstrap-has-id.d.ts +5 -0
  312. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +22 -0
  313. package/types/mintplayer-ng-bootstrap-has-property.d.ts +10 -0
  314. package/types/mintplayer-ng-bootstrap-in-list.d.ts +11 -0
  315. package/types/mintplayer-ng-bootstrap-input-group.d.ts +8 -0
  316. package/types/mintplayer-ng-bootstrap-instance-of.d.ts +74 -0
  317. package/types/mintplayer-ng-bootstrap-let.d.ts +44 -0
  318. package/types/mintplayer-ng-bootstrap-linify.d.ts +10 -0
  319. package/types/mintplayer-ng-bootstrap-list-group.d.ts +14 -0
  320. package/types/mintplayer-ng-bootstrap-markdown.d.ts +33 -0
  321. package/types/mintplayer-ng-bootstrap-marquee.d.ts +9 -0
  322. package/types/mintplayer-ng-bootstrap-modal.d.ts +83 -0
  323. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +43 -0
  324. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +13 -0
  325. package/types/mintplayer-ng-bootstrap-navbar.d.ts +238 -0
  326. package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +128 -0
  327. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +11 -0
  328. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +106 -0
  329. package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +12 -0
  330. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +50 -0
  331. package/types/mintplayer-ng-bootstrap-pagination.d.ts +34 -0
  332. package/types/mintplayer-ng-bootstrap-parallax.d.ts +11 -0
  333. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +23 -0
  334. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +13 -0
  335. package/types/mintplayer-ng-bootstrap-popover.d.ts +67 -0
  336. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +64 -0
  337. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +27 -0
  338. package/types/mintplayer-ng-bootstrap-query-builder.d.ts +113 -0
  339. package/types/mintplayer-ng-bootstrap-radio.d.ts +80 -0
  340. package/types/mintplayer-ng-bootstrap-range.d.ts +28 -0
  341. package/types/mintplayer-ng-bootstrap-rating.d.ts +20 -0
  342. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +36 -0
  343. package/types/mintplayer-ng-bootstrap-resizable.d.ts +89 -0
  344. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +279 -0
  345. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +171 -0
  346. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +40 -0
  347. package/types/mintplayer-ng-bootstrap-select.d.ts +67 -0
  348. package/types/mintplayer-ng-bootstrap-shell.d.ts +54 -0
  349. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +36 -0
  350. package/types/mintplayer-ng-bootstrap-slugify.d.ts +10 -0
  351. package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -0
  352. package/types/mintplayer-ng-bootstrap-split-string.d.ts +10 -0
  353. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +21 -0
  354. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +50 -0
  355. package/types/mintplayer-ng-bootstrap-table.d.ts +25 -0
  356. package/types/mintplayer-ng-bootstrap-theming.d.ts +81 -0
  357. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +58 -0
  358. package/types/mintplayer-ng-bootstrap-timeline.d.ts +112 -0
  359. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +39 -0
  360. package/types/mintplayer-ng-bootstrap-toast.d.ts +67 -0
  361. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +29 -0
  362. package/types/mintplayer-ng-bootstrap-tree-select.d.ts +117 -0
  363. package/types/mintplayer-ng-bootstrap-treeview.d.ts +60 -0
  364. package/types/mintplayer-ng-bootstrap-trust-html.d.ts +12 -0
  365. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +34 -0
  366. package/types/mintplayer-ng-bootstrap-uc-first.d.ts +10 -0
  367. package/types/mintplayer-ng-bootstrap-user-agent.d.ts +28 -0
  368. package/types/mintplayer-ng-bootstrap-viewport.d.ts +16 -0
  369. package/types/mintplayer-ng-bootstrap-word-count.d.ts +10 -0
  370. package/uc-first/package.json +4 -0
  371. package/user-agent/package.json +4 -0
  372. package/viewport/package.json +4 -0
  373. package/word-count/package.json +4 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via\n * the WC's `::slotted()` rules (header / body / footer / img) plus the global\n * typography sheet (title / text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n template: '<ng-content></ng-content>',\n host: { class: 'card-title' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` (in\n * `mp-card.element.scss`) so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent input removes the attribute instead of leaving an\n // empty `src=\"\"` / `alt=\"\"` on the DOM. Hoisted out of the template per\n // the workspace's \"computed over inline expression\" memory rule.\n readonly srcAttr = computed(() => this.src() ?? null);\n readonly altAttr = computed(() => this.alt() ?? null);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWA;;;;;;;;;AASG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AAM;AAChD,iBAAA;;;MCzCY,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,iHAJrB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC7B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACPD;AACA;AACA;AACA;;ACHA;;AAEG;;;;"}
@@ -0,0 +1,290 @@
1
+ import { isPlatformServer, NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, TemplateRef, ElementRef, Directive, PLATFORM_ID, DestroyRef, signal, contentChildren, forwardRef, input, model, output, computed, viewChild, effect, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import { Color } from '@mintplayer/ng-bootstrap';
5
+ import { BsSwipeContainerDirective, BsSwipeDirective, BsSwipeViewportDirective } from '@mintplayer/ng-swiper/swiper';
6
+ import { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';
7
+ import * as i1 from '@mintplayer/ng-bootstrap/reduced-motion';
8
+ import { BsReducedMotionDirective } from '@mintplayer/ng-bootstrap/reduced-motion';
9
+
10
+ class BsCarouselImageDirective {
11
+ constructor() {
12
+ this.templateRef = inject((TemplateRef));
13
+ this.carousel = inject(BsCarouselComponent);
14
+ this.element = inject((ElementRef));
15
+ this.isFirst = false;
16
+ this.itemTemplate = this.templateRef;
17
+ // Post-increment semantics: this.id gets the OLD value, then the counter increments.
18
+ this.id = this.carousel.imageCounter();
19
+ this.carousel.imageCounter.update(c => c + 1);
20
+ }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsCarouselImageDirective, isStandalone: true, selector: "*[bsCarouselImage]", ngImport: i0 }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselImageDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: '*[bsCarouselImage]',
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ class BsCarouselComponent {
32
+ constructor() {
33
+ this.platformId = inject(PLATFORM_ID);
34
+ this.destroyRef = inject(DestroyRef);
35
+ this.reducedMotion = inject(BsReducedMotionDirective);
36
+ this.colors = Color;
37
+ this.isServerSide = isPlatformServer(this.platformId);
38
+ this.currentImageIndex = signal(0, /* @ts-ignore */
39
+ ...(ngDevMode ? [{ debugName: "currentImageIndex" }] : /* istanbul ignore next */ []));
40
+ this.images = contentChildren(forwardRef(() => BsCarouselImageDirective), /* @ts-ignore */
41
+ ...(ngDevMode ? [{ debugName: "images" }] : /* istanbul ignore next */ []));
42
+ this.isDestroyed = false;
43
+ // Inputs
44
+ this.indicators = input(false, /* @ts-ignore */
45
+ ...(ngDevMode ? [{ debugName: "indicators" }] : /* istanbul ignore next */ []));
46
+ this.keyboardEvents = input(true, /* @ts-ignore */
47
+ ...(ngDevMode ? [{ debugName: "keyboardEvents" }] : /* istanbul ignore next */ []));
48
+ this.orientation = input('horizontal', /* @ts-ignore */
49
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
50
+ this.animation = input('slide', /* @ts-ignore */
51
+ ...(ngDevMode ? [{ debugName: "animation" }] : /* istanbul ignore next */ []));
52
+ this.interval = input(null, /* @ts-ignore */
53
+ ...(ngDevMode ? [{ debugName: "interval" }] : /* istanbul ignore next */ []));
54
+ this.wrap = input(true, /* @ts-ignore */
55
+ ...(ngDevMode ? [{ debugName: "wrap" }] : /* istanbul ignore next */ []));
56
+ this.ariaLabel = input(null, /* @ts-ignore */
57
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
58
+ // Two-way: pause / resume the auto-advance timer. Toggled by the
59
+ // consumer's `*bsCarouselPlayPause` template via the `toggle` callback in
60
+ // its context, or by the public `play()` / `pause()` methods. Default
61
+ // false (auto-advance allowed); has no effect when `interval` is null/0.
62
+ this.paused = model(false, /* @ts-ignore */
63
+ ...(ngDevMode ? [{ debugName: "paused" }] : /* istanbul ignore next */ []));
64
+ /**
65
+ * Template projected via `*bsCarouselPlayPause`. When set, the carousel
66
+ * renders it in a control row above the slides. Per APG, auto-advancing
67
+ * carousels must expose a play/pause control — this is how consumers
68
+ * provide one without us imposing a button style.
69
+ */
70
+ this.playPauseTemplate = signal(null, /* @ts-ignore */
71
+ ...(ngDevMode ? [{ debugName: "playPauseTemplate" }] : /* istanbul ignore next */ []));
72
+ // Outputs
73
+ this.slideChange = output();
74
+ this.animationStart = output();
75
+ this.animationEnd = output();
76
+ // Computed signals
77
+ this.imageCount = computed(() => this.images().length, /* @ts-ignore */
78
+ ...(ngDevMode ? [{ debugName: "imageCount" }] : /* istanbul ignore next */ []));
79
+ this.innerElement = viewChild('innerElement', /* @ts-ignore */
80
+ ...(ngDevMode ? [{ debugName: "innerElement" }] : /* istanbul ignore next */ []));
81
+ this.swipeContainer = viewChild('container', /* @ts-ignore */
82
+ ...(ngDevMode ? [{ debugName: "swipeContainer" }] : /* istanbul ignore next */ []));
83
+ // Returns 200 when swipeContainer isn't ready or height is null/0, ensuring images render and ResizeObserver triggers
84
+ this.slideHeight = computed(() => {
85
+ const container = this.swipeContainer();
86
+ const height = container?.currentSlideHeight();
87
+ return (height && height > 0) ? height : 200;
88
+ }, /* @ts-ignore */
89
+ ...(ngDevMode ? [{ debugName: "slideHeight" }] : /* istanbul ignore next */ []));
90
+ this.firstImageTemplate = computed(() => {
91
+ const images = this.images();
92
+ if (images.length === 0)
93
+ return null;
94
+ const img = images[0];
95
+ if (!img)
96
+ return null;
97
+ return img.itemTemplate;
98
+ }, /* @ts-ignore */
99
+ ...(ngDevMode ? [{ debugName: "firstImageTemplate" }] : /* istanbul ignore next */ []));
100
+ this.lastImageTemplate = computed(() => {
101
+ const images = this.images();
102
+ if (images.length === 0)
103
+ return null;
104
+ const img = images[images.length - 1];
105
+ if (!img)
106
+ return null;
107
+ return img.itemTemplate;
108
+ }, /* @ts-ignore */
109
+ ...(ngDevMode ? [{ debugName: "lastImageTemplate" }] : /* istanbul ignore next */ []));
110
+ this.animationsDisabled = signal(false, /* @ts-ignore */
111
+ ...(ngDevMode ? [{ debugName: "animationsDisabled" }] : /* istanbul ignore next */ []));
112
+ /**
113
+ * `aria-live` value for the slide viewport. Stays `off` while
114
+ * auto-advance is actually rotating — otherwise the SR would re-read the
115
+ * active slide every interval — and switches to `polite` whenever the
116
+ * rotation is paused (by `paused`, missing/zero `interval`, or
117
+ * `prefers-reduced-motion`), so manual prev/next/indicator clicks get
118
+ * announced.
119
+ */
120
+ this.slideAriaLive = computed(() => {
121
+ const intervalTime = this.interval();
122
+ if (!intervalTime || intervalTime <= 0)
123
+ return 'polite';
124
+ if (this.paused())
125
+ return 'polite';
126
+ if (this.reducedMotion.matches())
127
+ return 'polite';
128
+ return 'off';
129
+ }, /* @ts-ignore */
130
+ ...(ngDevMode ? [{ debugName: "slideAriaLive" }] : /* istanbul ignore next */ []));
131
+ /** Toggle the paused state. Used as the `toggle` callback in `BsCarouselPlayPauseContext`. */
132
+ this.togglePaused = () => {
133
+ this.paused.update((p) => !p);
134
+ };
135
+ this.imageCounter = signal(1, /* @ts-ignore */
136
+ ...(ngDevMode ? [{ debugName: "imageCounter" }] : /* istanbul ignore next */ []));
137
+ // Mark first image whenever images change
138
+ effect(() => {
139
+ const images = this.images();
140
+ images.forEach((item, index) => item.isFirst = (index === 0));
141
+ });
142
+ // Setup auto-advance interval effect — gated on the two new axes added
143
+ // by the APG carousel bundle (PRD aria-accessibility-audit §13.2):
144
+ // • `paused` model: lets the consumer (or the projected play/pause
145
+ // button) suspend rotation.
146
+ // • prefers-reduced-motion: suppresses auto-advance entirely when
147
+ // the user opts out of motion at the OS level.
148
+ effect(() => {
149
+ const intervalTime = this.interval();
150
+ const isPaused = this.paused();
151
+ const reduceMotion = this.reducedMotion.matches();
152
+ this.clearAutoAdvance();
153
+ if (intervalTime && intervalTime > 0 && !isPaused && !reduceMotion) {
154
+ this.intervalId = setInterval(() => {
155
+ this.next();
156
+ }, intervalTime);
157
+ }
158
+ });
159
+ // Emit slideChange when currentImageIndex changes
160
+ effect(() => {
161
+ const index = this.currentImageIndex();
162
+ if (!this.isDestroyed) {
163
+ this.slideChange.emit(index);
164
+ }
165
+ });
166
+ // Cleanup on destroy
167
+ this.destroyRef.onDestroy(() => {
168
+ this.isDestroyed = true;
169
+ this.clearAutoAdvance();
170
+ this.resizeObserver?.disconnect();
171
+ });
172
+ }
173
+ /** Resume auto-advance. No-op if `interval` is unset or reduce-motion is on. */
174
+ play() {
175
+ this.paused.set(false);
176
+ }
177
+ /** Pause auto-advance. Manual prev/next/goto still work. */
178
+ pause() {
179
+ this.paused.set(true);
180
+ }
181
+ clearAutoAdvance() {
182
+ if (this.intervalId) {
183
+ clearInterval(this.intervalId);
184
+ this.intervalId = undefined;
185
+ }
186
+ }
187
+ previous() {
188
+ if (!this.wrap() && this.currentImageIndex() === 0)
189
+ return;
190
+ this.swipeContainer()?.previous();
191
+ }
192
+ next() {
193
+ if (!this.wrap() && this.currentImageIndex() === this.imageCount() - 1)
194
+ return;
195
+ this.swipeContainer()?.next();
196
+ }
197
+ goto(index) {
198
+ if (index < 0 || index >= this.imageCount())
199
+ return;
200
+ this.swipeContainer()?.goto(index);
201
+ }
202
+ ngAfterViewInit() {
203
+ if (!this.isServerSide) {
204
+ this.resizeObserver = new ResizeObserver(() => {
205
+ // Signals automatically trigger change detection in zoneless mode
206
+ // The resize will be picked up by the observe-size directive
207
+ });
208
+ const el = this.innerElement();
209
+ if (el) {
210
+ this.resizeObserver.observe(el.nativeElement);
211
+ }
212
+ }
213
+ }
214
+ ngOnDestroy() {
215
+ this.isDestroyed = true;
216
+ const innerEl = this.innerElement();
217
+ if (innerEl) {
218
+ this.resizeObserver?.unobserve(innerEl.nativeElement);
219
+ }
220
+ this.resizeObserver?.disconnect();
221
+ this.clearAutoAdvance();
222
+ }
223
+ onContainerAnimationStart() {
224
+ this.animationStart.emit();
225
+ }
226
+ onContainerAnimationEnd() {
227
+ this.animationEnd.emit();
228
+ }
229
+ onImageIndexChange(index) {
230
+ this.currentImageIndex.set(index);
231
+ }
232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
233
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: BsCarouselComponent, isStandalone: true, selector: "bs-carousel", inputs: { indicators: { classPropertyName: "indicators", publicName: "indicators", isSignal: true, isRequired: false, transformFunction: null }, keyboardEvents: { classPropertyName: "keyboardEvents", publicName: "keyboardEvents", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, animation: { classPropertyName: "animation", publicName: "animation", isSignal: true, isRequired: false, transformFunction: null }, interval: { classPropertyName: "interval", publicName: "interval", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, paused: { classPropertyName: "paused", publicName: "paused", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { paused: "pausedChange", slideChange: "slideChange", animationStart: "animationStart", animationEnd: "animationEnd" }, host: { properties: { "@.disabled": "animationsDisabled()" } }, queries: [{ propertyName: "images", predicate: i0.forwardRef(() => BsCarouselImageDirective), isSignal: true }], viewQueries: [{ propertyName: "innerElement", first: true, predicate: ["innerElement"], descendants: true, isSignal: true }, { propertyName: "swipeContainer", first: true, predicate: ["container"], descendants: true, isSignal: true }], hostDirectives: [{ directive: i1.BsReducedMotionDirective }], ngImport: i0, template: "@if (isServerSide) {\n <div class=\"carousel mx-auto noscript\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n <div class=\"carousel-inner d-grid\">\n @let imagesValue = images();\n @if (imageCount(); as imageCount) {\n @for (image of imagesValue; track image.id; let i = $index) {\n <input type=\"radio\" [id]=\"'car-' + i\" [name]=\"'car'\" class=\"car-radio d-none\" bsNoNoscript [checked]=\"i === 0\">\n <div class=\"carousel-item fade d-flex flex-row h-100 align-items-center\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [attr.aria-label]=\"(i + 1) + ' of ' + imageCount\"\n [class.flex-column]=\"orientation() === 'vertical'\">\n <div class=\"w-100 position-relative\">\n <ng-container [ngTemplateOutlet]=\"image.itemTemplate\"></ng-container>\n @if (indicators()) {\n <div class=\"carousel-indicators\"\n [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of imagesValue; track image.id; let j = $index) {\n <label [attr.for]=\"'car-' + (j % imageCount)\" [attr.aria-label]=\"'Slide ' + (j + 1)\" [class.active]=\"i === j\" data-bs-target></label>\n }\n </div>\n }\n </div>\n </div>\n\n <label class=\"carousel-control-prev cursor-pointer\" [for]=\"'car-' + ((i - 1 + imageCount) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </label>\n <label class=\"carousel-control-next cursor-pointer\" [for]=\"'car-' + ((i + 1) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </label>\n }\n }\n </div>\n </div>\n} @else {\n <div class=\"carousel mx-auto\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.slide]=\"animation() === 'slide'\"\n [class.fade]=\"animation() === 'fade'\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n @if (playPauseTemplate() || (interval() ?? 0) > 0) {\n <div class=\"carousel-play-pause\">\n <ng-container *ngTemplateOutlet=\"playPauseTemplate() ?? defaultPlayPauseTemplate; context: { $implicit: paused(), paused: paused(), toggle: togglePaused }\"></ng-container>\n </div>\n }\n @if (indicators()) {\n <div class=\"carousel-indicators\" [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of images(); track image.id; let i = $index) {\n <button type=\"button\" (click)=\"goto(i)\"\n [class.active]=\"currentImageIndex() === i\" data-bs-target\n [attr.aria-current]=\"currentImageIndex() === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + (i + 1)\"></button>\n }\n </div>\n }\n <div class=\"carousel-inner\" bsSwipeViewport #innerElement [style.height.px]=\"slideHeight()\"\n [ariaLive]=\"slideAriaLive()\"\n [ariaBusy]=\"container.isAnimating() ? true : null\">\n <div bsSwipeContainer #container=\"bsSwipeContainer\"\n [minimumOffset]=\"50\"\n [animation]=\"animation()\"\n [orientation]=\"orientation()\"\n [keyboardEvents]=\"keyboardEvents()\"\n [(imageIndex)]=\"currentImageIndex\"\n (animationStart)=\"onContainerAnimationStart()\"\n (animationEnd)=\"onContainerAnimationEnd()\">\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"lastImageTemplate()\"></ng-container>\n </div>\n }\n @for (image of images(); track image.id; let i = $index) {\n <div class=\"carousel-item\" bsSwipe\n [class.active]=\"currentImageIndex() === i\">\n <ng-container *ngTemplateOutlet=\"image.itemTemplate\"></ng-container>\n </div>\n }\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"firstImageTemplate()\"></ng-container>\n </div>\n }\n </div>\n </div>\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previous()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Previous slide\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"next()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Next slide\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n </div>\n}\n\n<!-- Fallback rendered when the consumer does not supply a `*bsCarouselPlayPause`\n template but auto-advance is configured. APG requires auto-advancing\n carousels to expose a pause control; this is the carousel's \"make it\n correct by default\" path so consumers don't have to write boilerplate. -->\n<ng-template #defaultPlayPauseTemplate let-paused=\"paused\" let-toggle=\"toggle\">\n <button type=\"button\"\n class=\"carousel-play-pause-btn\"\n [class.carousel-play-pause-paused]=\"paused\"\n [class.carousel-play-pause-playing]=\"!paused\"\n (click)=\"toggle()\" [attr.aria-pressed]=\"paused\"\n [attr.aria-label]=\"paused ? 'Resume auto-advance' : 'Pause auto-advance'\">\n <span class=\"carousel-play-pause-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n", styles: [":host ::ng-deep .carousel{position:relative}:host ::ng-deep .carousel.pointer-event{touch-action:pan-y}:host ::ng-deep .carousel-inner{position:relative;width:100%;overflow:hidden}:host ::ng-deep .carousel-inner:after{display:block;clear:both;content:\"\"}:host ::ng-deep .carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-item{transition:none}}:host ::ng-deep .carousel-item.active,:host ::ng-deep .carousel-item-next,:host ::ng-deep .carousel-item-prev{display:block}:host ::ng-deep .carousel-item-next:not(.carousel-item-start),:host ::ng-deep .active.carousel-item-end{transform:translate(100%)}:host ::ng-deep .carousel-item-prev:not(.carousel-item-end),:host ::ng-deep .active.carousel-item-start{transform:translate(-100%)}:host ::ng-deep .carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}:host ::ng-deep .carousel-fade .carousel-item.active,:host ::ng-deep .carousel-fade .carousel-item-next.carousel-item-start,:host ::ng-deep .carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}:host ::ng-deep .carousel-fade .active.carousel-item-start,:host ::ng-deep .carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-fade .active.carousel-item-start,:host ::ng-deep .carousel-fade .active.carousel-item-end{transition:none}}:host ::ng-deep .carousel-control-prev,:host ::ng-deep .carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-control-prev,:host ::ng-deep .carousel-control-next{transition:none}}:host ::ng-deep .carousel-control-prev:hover,:host ::ng-deep .carousel-control-prev:focus,:host ::ng-deep .carousel-control-next:hover,:host ::ng-deep .carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}:host ::ng-deep .carousel-control-prev{left:0}:host ::ng-deep .carousel-control-next{right:0}:host ::ng-deep .carousel-control-prev-icon,:host ::ng-deep .carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}:host ::ng-deep .carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e\")}:host ::ng-deep .carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e\")}:host ::ng-deep .carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}:host ::ng-deep .carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-indicators [data-bs-target]{transition:none}}:host ::ng-deep .carousel-indicators .active{opacity:1}:host ::ng-deep .carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}:host ::ng-deep .carousel-dark{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:host ::ng-deep :root,:host ::ng-deep [data-bs-theme=light]{--bs-carousel-indicator-active-bg: #fff;--bs-carousel-caption-color: #fff;--bs-carousel-control-icon-filter: }:host ::ng-deep [data-bs-theme=dark]{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:host ::ng-deep .carousel{min-height:100px;max-width:500px}:host ::ng-deep .carousel.noscript .carousel-inner{grid-template-rows:100%;grid-template-columns:100%}:host ::ng-deep .carousel.noscript .carousel-control-prev,:host ::ng-deep .carousel.noscript .carousel-control-next{display:none;z-index:10}:host ::ng-deep .carousel.noscript .carousel-item{display:block;opacity:0;transition:opacity .4s ease-in-out;grid-row:1;grid-column:1}:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item{opacity:1;z-index:5}:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item+label.carousel-control-prev,:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item+label.carousel-control-prev+.carousel-control-next{display:flex}:host ::ng-deep .carousel.noscript .carousel-indicators{z-index:10}:host ::ng-deep .carousel.noscript .carousel-item img{width:100%;height:auto}:host ::ng-deep .carousel .carousel-item>*{width:100%!important}:host ::ng-deep .carousel-indicators [data-bs-target]{background-color:var(--bs-carousel-indicator-active-bg, #fff)}:host ::ng-deep .carousel-play-pause{position:absolute;bottom:3rem;left:50%;transform:translate(-50%);z-index:3;margin:0}:host ::ng-deep .carousel-play-pause-btn{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:none;border-radius:50%;background-color:#00000080;color:#fff;cursor:pointer;transition:background-color .15s ease}:host ::ng-deep .carousel-play-pause-btn:hover,:host ::ng-deep .carousel-play-pause-btn:focus-visible{background-color:#000000bf}:host ::ng-deep .carousel-play-pause-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}:host ::ng-deep .carousel-play-pause-icon{display:inline-block;width:.75rem;height:.75rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}:host ::ng-deep .carousel-play-pause-paused .carousel-play-pause-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M3 1.5v13a.5.5 0 0 0 .77.42l11-6.5a.5.5 0 0 0 0-.84l-11-6.5A.5.5 0 0 0 3 1.5z'/%3E%3C/svg%3E\")}:host ::ng-deep .carousel-play-pause-playing .carousel-play-pause-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M5 2h2v12H5zM9 2h2v12H9z'/%3E%3C/svg%3E\")}:host ::ng-deep .carousel.carousel-vertical .carousel-play-pause{bottom:auto;top:.5rem;left:auto;right:.5rem;transform:none}:host ::ng-deep .carousel.fade .carousel-item{position:absolute;top:0;left:0;right:0;opacity:0;transition:opacity .5s ease-in-out;pointer-events:none}:host ::ng-deep .carousel.fade .carousel-item.active{opacity:1;pointer-events:auto}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next{width:100%;left:0;right:0}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev.carousel-control-vertical,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next.carousel-control-vertical{justify-content:center}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev-icon,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next-icon{background-color:#00000080;border-radius:50%;padding:1.5rem;background-size:50%;box-shadow:0 2px 8px #0000004d}:host ::ng-deep .carousel.carousel-vertical [bsSwipeContainer] .carousel-item{flex:0 0 auto;display:flex!important;flex-direction:column;justify-content:center;align-items:center}:host ::ng-deep .carousel-indicators-vertical{position:absolute;inset:50% auto auto 0;transform:translateY(-50%);flex-direction:column;justify-content:center;align-items:center;margin:0;margin-left:.5rem;gap:.5rem}:host ::ng-deep .carousel-indicators-vertical [data-bs-target]{width:12px;height:12px;border-radius:50%;background-color:#ffffff80;border:none;box-shadow:0 1px 3px #0000004d;opacity:.7;transition:opacity .15s ease}:host ::ng-deep .carousel-indicators-vertical [data-bs-target].active{opacity:1;background-color:#fff}:host ::ng-deep .carousel-control-vertical{top:0;bottom:auto;height:2.5rem;align-items:center}:host ::ng-deep .carousel-control-vertical.carousel-control-next{top:auto;bottom:0}:host ::ng-deep .carousel-control-vertical.carousel-control-prev .carousel-control-prev-icon{transform:rotate(90deg)}:host ::ng-deep .carousel-control-vertical.carousel-control-next .carousel-control-next-icon{transform:rotate(90deg)}.wrapper{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: BsSwipeContainerDirective, selector: "[bsSwipeContainer]", inputs: ["minimumOffset", "animation", "orientation", "keyboardEvents", "imageIndex"], outputs: ["imageIndexChange", "animationStart", "animationEnd"], exportAs: ["bsSwipeContainer"] }, { kind: "directive", type: BsSwipeDirective, selector: "[bsSwipe]", inputs: ["offside", "ariaRoledescription", "ariaLabel"] }, { kind: "directive", type: BsSwipeViewportDirective, selector: "[bsSwipeViewport]", inputs: ["tabIndex", "ariaLive", "ariaAtomic", "ariaRelevant", "ariaBusy"] }, { kind: "directive", type: BsNoNoscriptDirective, selector: "[bsNoNoscript]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
234
+ }
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselComponent, decorators: [{
236
+ type: Component,
237
+ args: [{ selector: 'bs-carousel', imports: [
238
+ NgTemplateOutlet,
239
+ BsSwipeContainerDirective,
240
+ BsSwipeDirective,
241
+ BsSwipeViewportDirective,
242
+ BsNoNoscriptDirective,
243
+ ], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [BsReducedMotionDirective], host: {
244
+ '[@.disabled]': 'animationsDisabled()',
245
+ }, template: "@if (isServerSide) {\n <div class=\"carousel mx-auto noscript\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n <div class=\"carousel-inner d-grid\">\n @let imagesValue = images();\n @if (imageCount(); as imageCount) {\n @for (image of imagesValue; track image.id; let i = $index) {\n <input type=\"radio\" [id]=\"'car-' + i\" [name]=\"'car'\" class=\"car-radio d-none\" bsNoNoscript [checked]=\"i === 0\">\n <div class=\"carousel-item fade d-flex flex-row h-100 align-items-center\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [attr.aria-label]=\"(i + 1) + ' of ' + imageCount\"\n [class.flex-column]=\"orientation() === 'vertical'\">\n <div class=\"w-100 position-relative\">\n <ng-container [ngTemplateOutlet]=\"image.itemTemplate\"></ng-container>\n @if (indicators()) {\n <div class=\"carousel-indicators\"\n [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of imagesValue; track image.id; let j = $index) {\n <label [attr.for]=\"'car-' + (j % imageCount)\" [attr.aria-label]=\"'Slide ' + (j + 1)\" [class.active]=\"i === j\" data-bs-target></label>\n }\n </div>\n }\n </div>\n </div>\n\n <label class=\"carousel-control-prev cursor-pointer\" [for]=\"'car-' + ((i - 1 + imageCount) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </label>\n <label class=\"carousel-control-next cursor-pointer\" [for]=\"'car-' + ((i + 1) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </label>\n }\n }\n </div>\n </div>\n} @else {\n <div class=\"carousel mx-auto\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.slide]=\"animation() === 'slide'\"\n [class.fade]=\"animation() === 'fade'\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n @if (playPauseTemplate() || (interval() ?? 0) > 0) {\n <div class=\"carousel-play-pause\">\n <ng-container *ngTemplateOutlet=\"playPauseTemplate() ?? defaultPlayPauseTemplate; context: { $implicit: paused(), paused: paused(), toggle: togglePaused }\"></ng-container>\n </div>\n }\n @if (indicators()) {\n <div class=\"carousel-indicators\" [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of images(); track image.id; let i = $index) {\n <button type=\"button\" (click)=\"goto(i)\"\n [class.active]=\"currentImageIndex() === i\" data-bs-target\n [attr.aria-current]=\"currentImageIndex() === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + (i + 1)\"></button>\n }\n </div>\n }\n <div class=\"carousel-inner\" bsSwipeViewport #innerElement [style.height.px]=\"slideHeight()\"\n [ariaLive]=\"slideAriaLive()\"\n [ariaBusy]=\"container.isAnimating() ? true : null\">\n <div bsSwipeContainer #container=\"bsSwipeContainer\"\n [minimumOffset]=\"50\"\n [animation]=\"animation()\"\n [orientation]=\"orientation()\"\n [keyboardEvents]=\"keyboardEvents()\"\n [(imageIndex)]=\"currentImageIndex\"\n (animationStart)=\"onContainerAnimationStart()\"\n (animationEnd)=\"onContainerAnimationEnd()\">\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"lastImageTemplate()\"></ng-container>\n </div>\n }\n @for (image of images(); track image.id; let i = $index) {\n <div class=\"carousel-item\" bsSwipe\n [class.active]=\"currentImageIndex() === i\">\n <ng-container *ngTemplateOutlet=\"image.itemTemplate\"></ng-container>\n </div>\n }\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"firstImageTemplate()\"></ng-container>\n </div>\n }\n </div>\n </div>\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previous()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Previous slide\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"next()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Next slide\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n </div>\n}\n\n<!-- Fallback rendered when the consumer does not supply a `*bsCarouselPlayPause`\n template but auto-advance is configured. APG requires auto-advancing\n carousels to expose a pause control; this is the carousel's \"make it\n correct by default\" path so consumers don't have to write boilerplate. -->\n<ng-template #defaultPlayPauseTemplate let-paused=\"paused\" let-toggle=\"toggle\">\n <button type=\"button\"\n class=\"carousel-play-pause-btn\"\n [class.carousel-play-pause-paused]=\"paused\"\n [class.carousel-play-pause-playing]=\"!paused\"\n (click)=\"toggle()\" [attr.aria-pressed]=\"paused\"\n [attr.aria-label]=\"paused ? 'Resume auto-advance' : 'Pause auto-advance'\">\n <span class=\"carousel-play-pause-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n", styles: [":host ::ng-deep .carousel{position:relative}:host ::ng-deep .carousel.pointer-event{touch-action:pan-y}:host ::ng-deep .carousel-inner{position:relative;width:100%;overflow:hidden}:host ::ng-deep .carousel-inner:after{display:block;clear:both;content:\"\"}:host ::ng-deep .carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-item{transition:none}}:host ::ng-deep .carousel-item.active,:host ::ng-deep .carousel-item-next,:host ::ng-deep .carousel-item-prev{display:block}:host ::ng-deep .carousel-item-next:not(.carousel-item-start),:host ::ng-deep .active.carousel-item-end{transform:translate(100%)}:host ::ng-deep .carousel-item-prev:not(.carousel-item-end),:host ::ng-deep .active.carousel-item-start{transform:translate(-100%)}:host ::ng-deep .carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}:host ::ng-deep .carousel-fade .carousel-item.active,:host ::ng-deep .carousel-fade .carousel-item-next.carousel-item-start,:host ::ng-deep .carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}:host ::ng-deep .carousel-fade .active.carousel-item-start,:host ::ng-deep .carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-fade .active.carousel-item-start,:host ::ng-deep .carousel-fade .active.carousel-item-end{transition:none}}:host ::ng-deep .carousel-control-prev,:host ::ng-deep .carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-control-prev,:host ::ng-deep .carousel-control-next{transition:none}}:host ::ng-deep .carousel-control-prev:hover,:host ::ng-deep .carousel-control-prev:focus,:host ::ng-deep .carousel-control-next:hover,:host ::ng-deep .carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}:host ::ng-deep .carousel-control-prev{left:0}:host ::ng-deep .carousel-control-next{right:0}:host ::ng-deep .carousel-control-prev-icon,:host ::ng-deep .carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}:host ::ng-deep .carousel-control-prev-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e\")}:host ::ng-deep .carousel-control-next-icon{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e\")}:host ::ng-deep .carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}:host ::ng-deep .carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media(prefers-reduced-motion:reduce){:host ::ng-deep .carousel-indicators [data-bs-target]{transition:none}}:host ::ng-deep .carousel-indicators .active{opacity:1}:host ::ng-deep .carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}:host ::ng-deep .carousel-dark{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:host ::ng-deep :root,:host ::ng-deep [data-bs-theme=light]{--bs-carousel-indicator-active-bg: #fff;--bs-carousel-caption-color: #fff;--bs-carousel-control-icon-filter: }:host ::ng-deep [data-bs-theme=dark]{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:host ::ng-deep .carousel{min-height:100px;max-width:500px}:host ::ng-deep .carousel.noscript .carousel-inner{grid-template-rows:100%;grid-template-columns:100%}:host ::ng-deep .carousel.noscript .carousel-control-prev,:host ::ng-deep .carousel.noscript .carousel-control-next{display:none;z-index:10}:host ::ng-deep .carousel.noscript .carousel-item{display:block;opacity:0;transition:opacity .4s ease-in-out;grid-row:1;grid-column:1}:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item{opacity:1;z-index:5}:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item+label.carousel-control-prev,:host ::ng-deep .carousel.noscript .car-radio.noscript:checked+.carousel-item+label.carousel-control-prev+.carousel-control-next{display:flex}:host ::ng-deep .carousel.noscript .carousel-indicators{z-index:10}:host ::ng-deep .carousel.noscript .carousel-item img{width:100%;height:auto}:host ::ng-deep .carousel .carousel-item>*{width:100%!important}:host ::ng-deep .carousel-indicators [data-bs-target]{background-color:var(--bs-carousel-indicator-active-bg, #fff)}:host ::ng-deep .carousel-play-pause{position:absolute;bottom:3rem;left:50%;transform:translate(-50%);z-index:3;margin:0}:host ::ng-deep .carousel-play-pause-btn{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:none;border-radius:50%;background-color:#00000080;color:#fff;cursor:pointer;transition:background-color .15s ease}:host ::ng-deep .carousel-play-pause-btn:hover,:host ::ng-deep .carousel-play-pause-btn:focus-visible{background-color:#000000bf}:host ::ng-deep .carousel-play-pause-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}:host ::ng-deep .carousel-play-pause-icon{display:inline-block;width:.75rem;height:.75rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}:host ::ng-deep .carousel-play-pause-paused .carousel-play-pause-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M3 1.5v13a.5.5 0 0 0 .77.42l11-6.5a.5.5 0 0 0 0-.84l-11-6.5A.5.5 0 0 0 3 1.5z'/%3E%3C/svg%3E\")}:host ::ng-deep .carousel-play-pause-playing .carousel-play-pause-icon{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M5 2h2v12H5zM9 2h2v12H9z'/%3E%3C/svg%3E\")}:host ::ng-deep .carousel.carousel-vertical .carousel-play-pause{bottom:auto;top:.5rem;left:auto;right:.5rem;transform:none}:host ::ng-deep .carousel.fade .carousel-item{position:absolute;top:0;left:0;right:0;opacity:0;transition:opacity .5s ease-in-out;pointer-events:none}:host ::ng-deep .carousel.fade .carousel-item.active{opacity:1;pointer-events:auto}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next{width:100%;left:0;right:0}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev.carousel-control-vertical,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next.carousel-control-vertical{justify-content:center}:host ::ng-deep .carousel.carousel-vertical .carousel-control-prev-icon,:host ::ng-deep .carousel.carousel-vertical .carousel-control-next-icon{background-color:#00000080;border-radius:50%;padding:1.5rem;background-size:50%;box-shadow:0 2px 8px #0000004d}:host ::ng-deep .carousel.carousel-vertical [bsSwipeContainer] .carousel-item{flex:0 0 auto;display:flex!important;flex-direction:column;justify-content:center;align-items:center}:host ::ng-deep .carousel-indicators-vertical{position:absolute;inset:50% auto auto 0;transform:translateY(-50%);flex-direction:column;justify-content:center;align-items:center;margin:0;margin-left:.5rem;gap:.5rem}:host ::ng-deep .carousel-indicators-vertical [data-bs-target]{width:12px;height:12px;border-radius:50%;background-color:#ffffff80;border:none;box-shadow:0 1px 3px #0000004d;opacity:.7;transition:opacity .15s ease}:host ::ng-deep .carousel-indicators-vertical [data-bs-target].active{opacity:1;background-color:#fff}:host ::ng-deep .carousel-control-vertical{top:0;bottom:auto;height:2.5rem;align-items:center}:host ::ng-deep .carousel-control-vertical.carousel-control-next{top:auto;bottom:0}:host ::ng-deep .carousel-control-vertical.carousel-control-prev .carousel-control-prev-icon{transform:rotate(90deg)}:host ::ng-deep .carousel-control-vertical.carousel-control-next .carousel-control-next-icon{transform:rotate(90deg)}.wrapper{overflow:hidden}\n"] }]
246
+ }], ctorParameters: () => [], propDecorators: { images: [{ type: i0.ContentChildren, args: [forwardRef(() => BsCarouselImageDirective), { isSignal: true }] }], indicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicators", required: false }] }], keyboardEvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "keyboardEvents", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], animation: [{ type: i0.Input, args: [{ isSignal: true, alias: "animation", required: false }] }], interval: [{ type: i0.Input, args: [{ isSignal: true, alias: "interval", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], paused: [{ type: i0.Input, args: [{ isSignal: true, alias: "paused", required: false }] }, { type: i0.Output, args: ["pausedChange"] }], slideChange: [{ type: i0.Output, args: ["slideChange"] }], animationStart: [{ type: i0.Output, args: ["animationStart"] }], animationEnd: [{ type: i0.Output, args: ["animationEnd"] }], innerElement: [{ type: i0.ViewChild, args: ['innerElement', { isSignal: true }] }], swipeContainer: [{ type: i0.ViewChild, args: ['container', { isSignal: true }] }] } });
247
+
248
+ class BsCarouselImgDirective {
249
+ constructor() {
250
+ this.image = inject(BsCarouselImageDirective, { optional: true });
251
+ this.fetchPriority = (this.image && this.image.isFirst) ? 'high' : 'low';
252
+ }
253
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselImgDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
254
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsCarouselImgDirective, isStandalone: true, selector: "img", host: { properties: { "attr.fetch-priority": "fetchPriority" } }, ngImport: i0 }); }
255
+ }
256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselImgDirective, decorators: [{
257
+ type: Directive,
258
+ args: [{
259
+ selector: 'img',
260
+ host: {
261
+ '[attr.fetch-priority]': 'fetchPriority',
262
+ },
263
+ }]
264
+ }], ctorParameters: () => [] });
265
+
266
+ class BsCarouselPlayPauseDirective {
267
+ static ngTemplateContextGuard(_dir, ctx) {
268
+ return true;
269
+ }
270
+ constructor() {
271
+ this.templateRef = inject((TemplateRef));
272
+ this.carousel = inject(BsCarouselComponent);
273
+ this.carousel.playPauseTemplate.set(this.templateRef);
274
+ }
275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselPlayPauseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
276
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsCarouselPlayPauseDirective, isStandalone: true, selector: "[bsCarouselPlayPause]", ngImport: i0 }); }
277
+ }
278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCarouselPlayPauseDirective, decorators: [{
279
+ type: Directive,
280
+ args: [{
281
+ selector: '[bsCarouselPlayPause]',
282
+ }]
283
+ }], ctorParameters: () => [] });
284
+
285
+ /**
286
+ * Generated bundle index. Do not edit.
287
+ */
288
+
289
+ export { BsCarouselComponent, BsCarouselImageDirective, BsCarouselImgDirective, BsCarouselPlayPauseDirective };
290
+ //# sourceMappingURL=mintplayer-ng-bootstrap-carousel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-carousel.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-image/carousel-image.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel/carousel.component.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel/carousel.component.html","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-img/carousel-img.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/src/carousel-play-pause/carousel-play-pause.directive.ts","../../../../libs/mintplayer-ng-bootstrap/carousel/mintplayer-ng-bootstrap-carousel.ts"],"sourcesContent":["import { Directive, inject, TemplateRef, ElementRef } from '@angular/core';\nimport { BsCarouselComponent } from '../carousel/carousel.component';\n\n@Directive({\n selector: '*[bsCarouselImage]',\n})\nexport class BsCarouselImageDirective {\n private templateRef = inject(TemplateRef<any>);\n private carousel = inject(BsCarouselComponent);\n private element = inject(ElementRef<HTMLElement>);\n\n public itemTemplate: TemplateRef<any>;\n id: number;\n isFirst = false;\n\n constructor() {\n this.itemTemplate = this.templateRef;\n // Post-increment semantics: this.id gets the OLD value, then the counter increments.\n this.id = this.carousel.imageCounter();\n this.carousel.imageCounter.update(c => c + 1);\n }\n}\n","import { isPlatformServer, NgTemplateOutlet } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, computed, contentChildren, DestroyRef, effect, ElementRef, forwardRef, inject, input, model, OnDestroy, output, PLATFORM_ID, signal, TemplateRef, viewChild } from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { BsSwipeContainerDirective, BsSwipeDirective, BsSwipeViewportDirective } from '@mintplayer/ng-swiper/swiper';\nimport { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';\nimport { BsReducedMotionDirective } from '@mintplayer/ng-bootstrap/reduced-motion';\nimport { BsCarouselImageDirective } from '../carousel-image/carousel-image.directive';\nimport type { BsCarouselPlayPauseContext } from '../carousel-play-pause/carousel-play-pause.directive';\n\n@Component({\n selector: 'bs-carousel',\n templateUrl: './carousel.component.html',\n styleUrls: ['./carousel.component.scss'],\n imports: [\n NgTemplateOutlet,\n BsSwipeContainerDirective,\n BsSwipeDirective,\n BsSwipeViewportDirective,\n BsNoNoscriptDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [BsReducedMotionDirective],\n host: {\n '[@.disabled]': 'animationsDisabled()',\n },\n})\nexport class BsCarouselComponent implements AfterViewInit, OnDestroy {\n private platformId = inject(PLATFORM_ID);\n private destroyRef = inject(DestroyRef);\n private readonly reducedMotion = inject(BsReducedMotionDirective);\n\n readonly colors = Color;\n readonly isServerSide = isPlatformServer(this.platformId);\n currentImageIndex = signal(0);\n readonly images = contentChildren<BsCarouselImageDirective>(forwardRef(() => BsCarouselImageDirective));\n resizeObserver?: ResizeObserver;\n private intervalId?: ReturnType<typeof setInterval>;\n private isDestroyed = false;\n\n // Inputs\n indicators = input(false);\n keyboardEvents = input(true);\n orientation = input<'horizontal' | 'vertical'>('horizontal');\n animation = input<'fade' | 'slide' | 'none'>('slide');\n interval = input<number | null>(null);\n wrap = input(true);\n ariaLabel = input<string | null>(null);\n\n // Two-way: pause / resume the auto-advance timer. Toggled by the\n // consumer's `*bsCarouselPlayPause` template via the `toggle` callback in\n // its context, or by the public `play()` / `pause()` methods. Default\n // false (auto-advance allowed); has no effect when `interval` is null/0.\n paused = model<boolean>(false);\n\n /**\n * Template projected via `*bsCarouselPlayPause`. When set, the carousel\n * renders it in a control row above the slides. Per APG, auto-advancing\n * carousels must expose a play/pause control — this is how consumers\n * provide one without us imposing a button style.\n */\n readonly playPauseTemplate = signal<TemplateRef<BsCarouselPlayPauseContext> | null>(null);\n\n // Outputs\n slideChange = output<number>();\n animationStart = output<void>();\n animationEnd = output<void>();\n\n // Computed signals\n imageCount = computed(() => this.images().length);\n\n readonly innerElement = viewChild<ElementRef<HTMLDivElement>>('innerElement');\n readonly swipeContainer = viewChild<BsSwipeContainerDirective>('container');\n\n // Returns 200 when swipeContainer isn't ready or height is null/0, ensuring images render and ResizeObserver triggers\n slideHeight = computed(() => {\n const container = this.swipeContainer();\n const height = container?.currentSlideHeight();\n return (height && height > 0) ? height : 200;\n });\n\n firstImageTemplate = computed<TemplateRef<any> | null>(() => {\n const images = this.images();\n if (images.length === 0) return null;\n\n const img = images[0];\n if (!img) return null;\n\n return img.itemTemplate;\n });\n\n lastImageTemplate = computed<TemplateRef<any> | null>(() => {\n const images = this.images();\n if (images.length === 0) return null;\n\n const img = images[images.length - 1];\n if (!img) return null;\n\n return img.itemTemplate;\n });\n\n readonly animationsDisabled = signal<boolean>(false);\n\n /**\n * `aria-live` value for the slide viewport. Stays `off` while\n * auto-advance is actually rotating — otherwise the SR would re-read the\n * active slide every interval — and switches to `polite` whenever the\n * rotation is paused (by `paused`, missing/zero `interval`, or\n * `prefers-reduced-motion`), so manual prev/next/indicator clicks get\n * announced.\n */\n readonly slideAriaLive = computed<'off' | 'polite'>(() => {\n const intervalTime = this.interval();\n if (!intervalTime || intervalTime <= 0) return 'polite';\n if (this.paused()) return 'polite';\n if (this.reducedMotion.matches()) return 'polite';\n return 'off';\n });\n\n constructor() {\n // Mark first image whenever images change\n effect(() => {\n const images = this.images();\n images.forEach((item, index) => item.isFirst = (index === 0));\n });\n\n // Setup auto-advance interval effect — gated on the two new axes added\n // by the APG carousel bundle (PRD aria-accessibility-audit §13.2):\n // • `paused` model: lets the consumer (or the projected play/pause\n // button) suspend rotation.\n // • prefers-reduced-motion: suppresses auto-advance entirely when\n // the user opts out of motion at the OS level.\n effect(() => {\n const intervalTime = this.interval();\n const isPaused = this.paused();\n const reduceMotion = this.reducedMotion.matches();\n this.clearAutoAdvance();\n\n if (intervalTime && intervalTime > 0 && !isPaused && !reduceMotion) {\n this.intervalId = setInterval(() => {\n this.next();\n }, intervalTime);\n }\n });\n\n // Emit slideChange when currentImageIndex changes\n effect(() => {\n const index = this.currentImageIndex();\n if (!this.isDestroyed) {\n this.slideChange.emit(index);\n }\n });\n\n // Cleanup on destroy\n this.destroyRef.onDestroy(() => {\n this.isDestroyed = true;\n this.clearAutoAdvance();\n this.resizeObserver?.disconnect();\n });\n }\n\n /** Resume auto-advance. No-op if `interval` is unset or reduce-motion is on. */\n play() {\n this.paused.set(false);\n }\n\n /** Pause auto-advance. Manual prev/next/goto still work. */\n pause() {\n this.paused.set(true);\n }\n\n /** Toggle the paused state. Used as the `toggle` callback in `BsCarouselPlayPauseContext`. */\n togglePaused = () => {\n this.paused.update((p) => !p);\n };\n\n private clearAutoAdvance() {\n if (this.intervalId) {\n clearInterval(this.intervalId);\n this.intervalId = undefined;\n }\n }\n\n previous() {\n if (!this.wrap() && this.currentImageIndex() === 0) return;\n this.swipeContainer()?.previous();\n }\n\n next() {\n if (!this.wrap() && this.currentImageIndex() === this.imageCount() - 1) return;\n this.swipeContainer()?.next();\n }\n\n goto(index: number) {\n if (index < 0 || index >= this.imageCount()) return;\n this.swipeContainer()?.goto(index);\n }\n\n readonly imageCounter = signal<number>(1);\n\n ngAfterViewInit() {\n if (!this.isServerSide) {\n this.resizeObserver = new ResizeObserver(() => {\n // Signals automatically trigger change detection in zoneless mode\n // The resize will be picked up by the observe-size directive\n });\n const el = this.innerElement();\n if (el) {\n this.resizeObserver.observe(el.nativeElement);\n }\n }\n }\n\n ngOnDestroy() {\n this.isDestroyed = true;\n const innerEl = this.innerElement();\n if (innerEl) {\n this.resizeObserver?.unobserve(innerEl.nativeElement);\n }\n this.resizeObserver?.disconnect();\n this.clearAutoAdvance();\n }\n\n onContainerAnimationStart() {\n this.animationStart.emit();\n }\n\n onContainerAnimationEnd() {\n this.animationEnd.emit();\n }\n\n onImageIndexChange(index: number) {\n this.currentImageIndex.set(index);\n }\n}\n","@if (isServerSide) {\n <div class=\"carousel mx-auto noscript\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n <div class=\"carousel-inner d-grid\">\n @let imagesValue = images();\n @if (imageCount(); as imageCount) {\n @for (image of imagesValue; track image.id; let i = $index) {\n <input type=\"radio\" [id]=\"'car-' + i\" [name]=\"'car'\" class=\"car-radio d-none\" bsNoNoscript [checked]=\"i === 0\">\n <div class=\"carousel-item fade d-flex flex-row h-100 align-items-center\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [attr.aria-label]=\"(i + 1) + ' of ' + imageCount\"\n [class.flex-column]=\"orientation() === 'vertical'\">\n <div class=\"w-100 position-relative\">\n <ng-container [ngTemplateOutlet]=\"image.itemTemplate\"></ng-container>\n @if (indicators()) {\n <div class=\"carousel-indicators\"\n [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of imagesValue; track image.id; let j = $index) {\n <label [attr.for]=\"'car-' + (j % imageCount)\" [attr.aria-label]=\"'Slide ' + (j + 1)\" [class.active]=\"i === j\" data-bs-target></label>\n }\n </div>\n }\n </div>\n </div>\n\n <label class=\"carousel-control-prev cursor-pointer\" [for]=\"'car-' + ((i - 1 + imageCount) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </label>\n <label class=\"carousel-control-next cursor-pointer\" [for]=\"'car-' + ((i + 1) % imageCount)\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </label>\n }\n }\n </div>\n </div>\n} @else {\n <div class=\"carousel mx-auto\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [class.slide]=\"animation() === 'slide'\"\n [class.fade]=\"animation() === 'fade'\"\n [class.carousel-vertical]=\"orientation() === 'vertical'\">\n @if (playPauseTemplate() || (interval() ?? 0) > 0) {\n <div class=\"carousel-play-pause\">\n <ng-container *ngTemplateOutlet=\"playPauseTemplate() ?? defaultPlayPauseTemplate; context: { $implicit: paused(), paused: paused(), toggle: togglePaused }\"></ng-container>\n </div>\n }\n @if (indicators()) {\n <div class=\"carousel-indicators\" [class.carousel-indicators-vertical]=\"orientation() === 'vertical'\">\n @for (image of images(); track image.id; let i = $index) {\n <button type=\"button\" (click)=\"goto(i)\"\n [class.active]=\"currentImageIndex() === i\" data-bs-target\n [attr.aria-current]=\"currentImageIndex() === i ? true : null\"\n [attr.aria-label]=\"'Slide ' + (i + 1)\"></button>\n }\n </div>\n }\n <div class=\"carousel-inner\" bsSwipeViewport #innerElement [style.height.px]=\"slideHeight()\"\n [ariaLive]=\"slideAriaLive()\"\n [ariaBusy]=\"container.isAnimating() ? true : null\">\n <div bsSwipeContainer #container=\"bsSwipeContainer\"\n [minimumOffset]=\"50\"\n [animation]=\"animation()\"\n [orientation]=\"orientation()\"\n [keyboardEvents]=\"keyboardEvents()\"\n [(imageIndex)]=\"currentImageIndex\"\n (animationStart)=\"onContainerAnimationStart()\"\n (animationEnd)=\"onContainerAnimationEnd()\">\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"lastImageTemplate()\"></ng-container>\n </div>\n }\n @for (image of images(); track image.id; let i = $index) {\n <div class=\"carousel-item\" bsSwipe\n [class.active]=\"currentImageIndex() === i\">\n <ng-container *ngTemplateOutlet=\"image.itemTemplate\"></ng-container>\n </div>\n }\n @if (animation() === 'slide') {\n <div class=\"carousel-item\" bsSwipe [offside]=\"true\">\n <ng-container *ngTemplateOutlet=\"firstImageTemplate()\"></ng-container>\n </div>\n }\n </div>\n </div>\n <button class=\"carousel-control-prev\" type=\"button\" (click)=\"previous()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Previous slide\">\n <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Previous</span>\n </button>\n <button class=\"carousel-control-next\" type=\"button\" (click)=\"next()\"\n [class.carousel-control-vertical]=\"orientation() === 'vertical'\"\n aria-label=\"Next slide\">\n <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>\n <span class=\"visually-hidden\">Next</span>\n </button>\n </div>\n}\n\n<!-- Fallback rendered when the consumer does not supply a `*bsCarouselPlayPause`\n template but auto-advance is configured. APG requires auto-advancing\n carousels to expose a pause control; this is the carousel's \"make it\n correct by default\" path so consumers don't have to write boilerplate. -->\n<ng-template #defaultPlayPauseTemplate let-paused=\"paused\" let-toggle=\"toggle\">\n <button type=\"button\"\n class=\"carousel-play-pause-btn\"\n [class.carousel-play-pause-paused]=\"paused\"\n [class.carousel-play-pause-playing]=\"!paused\"\n (click)=\"toggle()\" [attr.aria-pressed]=\"paused\"\n [attr.aria-label]=\"paused ? 'Resume auto-advance' : 'Pause auto-advance'\">\n <span class=\"carousel-play-pause-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n","import { Directive, inject } from '@angular/core';\nimport { BsCarouselImageDirective } from '../carousel-image/carousel-image.directive';\n\n@Directive({\n selector: 'img',\n host: {\n '[attr.fetch-priority]': 'fetchPriority',\n },\n})\nexport class BsCarouselImgDirective {\n private image = inject(BsCarouselImageDirective, { optional: true });\n\n fetchPriority: 'high' | 'low' | 'auto';\n\n constructor() {\n this.fetchPriority = (this.image && this.image.isFirst) ? 'high' : 'low';\n }\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsCarouselComponent } from '../carousel/carousel.component';\n\n/**\n * Context exposed to a `*bsCarouselPlayPause` template — the consumer reads\n * `paused` to render the right glyph/label and calls `toggle` on click.\n *\n * Per PRD aria-accessibility-audit §13.2 (and the WAI-ARIA Authoring\n * Practices Carousel pattern): when a carousel auto-advances, it MUST\n * expose a visible, keyboard-operable play/pause control. The carousel\n * itself doesn't impose a button style — the consumer projects whatever\n * UI fits their app and reads the `paused` flag from this context.\n */\nexport interface BsCarouselPlayPauseContext {\n /** Whether the carousel is currently paused. Same value as `paused`. */\n $implicit: boolean;\n /** Whether the carousel is currently paused. */\n paused: boolean;\n /** Toggle the paused state. Mirrors the carousel's two-way `[(paused)]`. */\n toggle: () => void;\n}\n\n@Directive({\n selector: '[bsCarouselPlayPause]',\n})\nexport class BsCarouselPlayPauseDirective {\n private templateRef = inject(TemplateRef<BsCarouselPlayPauseContext>);\n private carousel = inject(BsCarouselComponent);\n\n static ngTemplateContextGuard(\n _dir: BsCarouselPlayPauseDirective,\n ctx: unknown,\n ): ctx is BsCarouselPlayPauseContext {\n return true;\n }\n\n constructor() {\n this.carousel.playPauseTemplate.set(this.templateRef);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAMa,wBAAwB,CAAA;AASnC,IAAA,WAAA,GAAA;AARQ,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,EAAC,WAAgB,EAAC;AACtC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,mBAAmB,CAAC;AACtC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,EAAC,UAAuB,EAAC;QAIjD,IAAA,CAAA,OAAO,GAAG,KAAK;AAGb,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,WAAW;;QAEpC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE;AACtC,QAAA,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/C;8GAdW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,oBAAoB;AAC/B,iBAAA;;;MCqBY,mBAAmB,CAAA;AA4F9B,IAAA,WAAA,GAAA;AA3FQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AACtB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,wBAAwB,CAAC;QAExD,IAAA,CAAA,MA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