@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.11

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 (318) hide show
  1. package/README.md +232 -191
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
  6. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
  8. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
  10. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  11. package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
  12. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-badge.mjs +562 -115
  14. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
  16. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
  18. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  20. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  21. package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
  22. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  23. package/fesm2022/aeris-ui-core-button.mjs +911 -137
  24. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  25. package/fesm2022/aeris-ui-core-card.mjs +371 -101
  26. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  27. package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
  28. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  29. package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
  30. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-chart.mjs +594 -262
  32. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
  34. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
  36. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
  38. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  39. package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
  40. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
  41. package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
  42. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  44. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  45. package/fesm2022/aeris-ui-core-compare.mjs +870 -338
  46. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
  48. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  49. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
  50. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
  52. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  54. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  55. package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
  56. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  57. package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
  58. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  59. package/fesm2022/aeris-ui-core-divider.mjs +204 -43
  60. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
  62. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  63. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
  64. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
  66. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  67. package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
  68. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
  70. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  71. package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
  72. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
  74. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
  76. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  77. package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
  78. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-glass.mjs +110 -33
  80. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  81. package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
  82. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  83. package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
  84. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
  86. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  87. package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
  88. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
  90. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
  92. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
  94. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  96. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  97. package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
  98. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  100. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
  102. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
  104. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
  106. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-message.mjs +513 -147
  108. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
  110. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
  112. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  114. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  115. package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
  116. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
  118. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
  120. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-panel.mjs +602 -210
  122. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-password.mjs +1046 -269
  124. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  125. package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
  126. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  127. package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
  128. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  129. package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
  130. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  131. package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
  132. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  133. package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
  134. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  135. package/fesm2022/aeris-ui-core-rating.mjs +506 -231
  136. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  137. package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
  138. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  139. package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
  140. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  141. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  142. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  143. package/fesm2022/aeris-ui-core-select.mjs +1984 -668
  144. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  146. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  147. package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
  148. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-slider.mjs +884 -430
  150. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
  152. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
  154. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
  156. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
  158. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
  160. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  161. package/fesm2022/aeris-ui-core-table.mjs +2927 -923
  162. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  163. package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
  164. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
  166. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
  168. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core-theming.mjs +132 -144
  170. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  171. package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
  172. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  173. package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
  174. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  175. package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
  176. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  177. package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
  178. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  179. package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
  180. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  181. package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
  182. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  183. package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
  184. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  185. package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
  186. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  187. package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
  188. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  189. package/fesm2022/aeris-ui-core.mjs +1601 -312
  190. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  191. package/package.json +48 -8
  192. package/schematics/ng-add/schema.json +1 -1
  193. package/schematics/runtime/schematics/ng-add/options.js +4 -4
  194. package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
  195. package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
  196. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
  197. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  198. package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
  199. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  200. package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
  201. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  202. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
  203. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  204. package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
  205. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  206. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
  207. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  208. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
  209. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  210. package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
  211. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  212. package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
  213. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  214. package/styles/_choice-card.scss +93 -0
  215. package/styles/_fallback-colors.scss +10 -0
  216. package/styles/_icon-artwork.scss +14 -0
  217. package/styles/_icon-template.scss +42 -0
  218. package/styles/_mobile.scss +16 -0
  219. package/styles/_selection-icons.scss +12 -0
  220. package/styles/_table-pinning.scss +119 -0
  221. package/styles/_tokens.scss +5 -5
  222. package/styles/aeris.css +447 -137
  223. package/styles/controls.css +205 -35
  224. package/tools/aeris-theme.mjs +4 -4
  225. package/tools/aeris-theme.schema.json +18 -13
  226. package/types/aeris-ui-core-accordion.d.ts +167 -93
  227. package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
  228. package/types/aeris-ui-core-auto-complete.d.ts +339 -140
  229. package/types/aeris-ui-core-auto-focus.d.ts +24 -16
  230. package/types/aeris-ui-core-avatar.d.ts +112 -42
  231. package/types/aeris-ui-core-badge.d.ts +160 -46
  232. package/types/aeris-ui-core-block-ui.d.ts +48 -27
  233. package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
  234. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  235. package/types/aeris-ui-core-button-group.d.ts +150 -16
  236. package/types/aeris-ui-core-button.d.ts +274 -67
  237. package/types/aeris-ui-core-card.d.ts +74 -37
  238. package/types/aeris-ui-core-carousel.d.ts +213 -117
  239. package/types/aeris-ui-core-cascade-select.d.ts +275 -123
  240. package/types/aeris-ui-core-chart.d.ts +150 -84
  241. package/types/aeris-ui-core-checkbox.d.ts +173 -54
  242. package/types/aeris-ui-core-chip.d.ts +316 -56
  243. package/types/aeris-ui-core-class-names.d.ts +22 -20
  244. package/types/aeris-ui-core-code-block.d.ts +201 -0
  245. package/types/aeris-ui-core-color-picker.d.ts +450 -143
  246. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  247. package/types/aeris-ui-core-compare.d.ts +230 -102
  248. package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
  249. package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
  250. package/types/aeris-ui-core-context-menu.d.ts +270 -146
  251. package/types/aeris-ui-core-date-picker.d.ts +594 -219
  252. package/types/aeris-ui-core-dialog.d.ts +301 -117
  253. package/types/aeris-ui-core-divider.d.ts +58 -20
  254. package/types/aeris-ui-core-drawer.d.ts +380 -112
  255. package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
  256. package/types/aeris-ui-core-editor.d.ts +257 -123
  257. package/types/aeris-ui-core-file-upload.d.ts +385 -197
  258. package/types/aeris-ui-core-filter-service.d.ts +48 -52
  259. package/types/aeris-ui-core-fluid.d.ts +12 -9
  260. package/types/aeris-ui-core-focus-trap.d.ts +39 -31
  261. package/types/aeris-ui-core-form-field.d.ts +163 -0
  262. package/types/aeris-ui-core-galleria.d.ts +636 -256
  263. package/types/aeris-ui-core-glass.d.ts +24 -11
  264. package/types/aeris-ui-core-icon-field.d.ts +94 -32
  265. package/types/aeris-ui-core-inplace.d.ts +129 -62
  266. package/types/aeris-ui-core-input-group.d.ts +84 -33
  267. package/types/aeris-ui-core-input-mask.d.ts +201 -69
  268. package/types/aeris-ui-core-input-number.d.ts +291 -87
  269. package/types/aeris-ui-core-input-otp.d.ts +191 -81
  270. package/types/aeris-ui-core-input-text.d.ts +195 -60
  271. package/types/aeris-ui-core-kbd.d.ts +74 -0
  272. package/types/aeris-ui-core-key-filter.d.ts +53 -39
  273. package/types/aeris-ui-core-listbox.d.ts +222 -0
  274. package/types/aeris-ui-core-mega-menu.d.ts +181 -121
  275. package/types/aeris-ui-core-menu.d.ts +283 -168
  276. package/types/aeris-ui-core-menubar.d.ts +289 -135
  277. package/types/aeris-ui-core-message.d.ts +138 -60
  278. package/types/aeris-ui-core-meter-group.d.ts +169 -90
  279. package/types/aeris-ui-core-multi-select.d.ts +469 -180
  280. package/types/aeris-ui-core-navbar.d.ts +208 -0
  281. package/types/aeris-ui-core-order-list.d.ts +168 -66
  282. package/types/aeris-ui-core-organization-chart.d.ts +139 -77
  283. package/types/aeris-ui-core-paginator.d.ts +129 -38
  284. package/types/aeris-ui-core-panel.d.ts +149 -78
  285. package/types/aeris-ui-core-password.d.ts +276 -102
  286. package/types/aeris-ui-core-pick-list.d.ts +428 -179
  287. package/types/aeris-ui-core-popover.d.ts +294 -105
  288. package/types/aeris-ui-core-progress-bar.d.ts +163 -73
  289. package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
  290. package/types/aeris-ui-core-radio-button.d.ts +146 -50
  291. package/types/aeris-ui-core-rating.d.ts +149 -76
  292. package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
  293. package/types/aeris-ui-core-scroll-top.d.ts +73 -29
  294. package/types/aeris-ui-core-select-native.d.ts +40 -0
  295. package/types/aeris-ui-core-select.d.ts +487 -217
  296. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  297. package/types/aeris-ui-core-skeleton.d.ts +39 -17
  298. package/types/aeris-ui-core-slider.d.ts +270 -115
  299. package/types/aeris-ui-core-speed-dial.d.ts +241 -111
  300. package/types/aeris-ui-core-split-button.d.ts +267 -113
  301. package/types/aeris-ui-core-splitter.d.ts +224 -106
  302. package/types/aeris-ui-core-stepper.d.ts +184 -91
  303. package/types/aeris-ui-core-style-class.d.ts +141 -71
  304. package/types/aeris-ui-core-table.d.ts +729 -304
  305. package/types/aeris-ui-core-tabs.d.ts +193 -76
  306. package/types/aeris-ui-core-textarea.d.ts +271 -78
  307. package/types/aeris-ui-core-theme-builder.d.ts +220 -463
  308. package/types/aeris-ui-core-theming.d.ts +42 -45
  309. package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
  310. package/types/aeris-ui-core-timeline.d.ts +109 -71
  311. package/types/aeris-ui-core-toast.d.ts +231 -115
  312. package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
  313. package/types/aeris-ui-core-toolbar.d.ts +314 -47
  314. package/types/aeris-ui-core-tooltip.d.ts +157 -88
  315. package/types/aeris-ui-core-tree-select.d.ts +394 -171
  316. package/types/aeris-ui-core-tree-table.d.ts +629 -288
  317. package/types/aeris-ui-core-tree.d.ts +294 -165
  318. package/types/aeris-ui-core.d.ts +338 -74
@@ -1,339 +1,556 @@
1
- import { DOCUMENT, isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, TemplateRef, Directive, ElementRef, PLATFORM_ID, DestroyRef, signal, computed, contentChild, input, model, booleanAttribute, output, afterNextRender, effect, Component } from '@angular/core';
4
-
5
- class AerisCarouselItemTemplate {
6
- template = inject(TemplateRef);
7
- static ngTemplateContextGuard(_directive, context) {
8
- return true;
9
- }
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselItemTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisCarouselItemTemplate, isStandalone: true, selector: "ng-template[aerisCarouselItem]", ngImport: i0 });
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselItemTemplate, decorators: [{
14
- type: Directive,
15
- args: [{ selector: 'ng-template[aerisCarouselItem]' }]
16
- }] });
17
- class AerisCarouselHeaderTemplate {
18
- template = inject(TemplateRef);
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
20
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisCarouselHeaderTemplate, isStandalone: true, selector: "ng-template[aerisCarouselHeader]", ngImport: i0 });
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselHeaderTemplate, decorators: [{
23
- type: Directive,
24
- args: [{ selector: 'ng-template[aerisCarouselHeader]' }]
25
- }] });
26
- class AerisCarouselFooterTemplate {
27
- template = inject(TemplateRef);
28
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
29
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisCarouselFooterTemplate, isStandalone: true, selector: "ng-template[aerisCarouselFooter]", ngImport: i0 });
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarouselFooterTemplate, decorators: [{
32
- type: Directive,
33
- args: [{ selector: 'ng-template[aerisCarouselFooter]' }]
34
- }] });
35
- class AerisCarousel {
36
- host = inject((ElementRef));
37
- document = inject(DOCUMENT);
38
- platformId = inject(PLATFORM_ID);
39
- destroyRef = inject(DestroyRef);
40
- browser = isPlatformBrowser(this.platformId);
41
- viewportWidth = signal(0, /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "viewportWidth" }] : /* istanbul ignore next */ []));
43
- hoverPaused = signal(false, /* @ts-ignore */
44
- ...(ngDevMode ? [{ debugName: "hoverPaused" }] : /* istanbul ignore next */ []));
45
- focusPaused = signal(false, /* @ts-ignore */
46
- ...(ngDevMode ? [{ debugName: "focusPaused" }] : /* istanbul ignore next */ []));
47
- autoplayStopped = signal(false, /* @ts-ignore */
48
- ...(ngDevMode ? [{ debugName: "autoplayStopped" }] : /* istanbul ignore next */ []));
49
- paused = computed(() => this.hoverPaused() || this.focusPaused() || this.autoplayStopped(), /* @ts-ignore */
50
- ...(ngDevMode ? [{ debugName: "paused" }] : /* istanbul ignore next */ []));
51
- pointerStart = signal(null, /* @ts-ignore */
52
- ...(ngDevMode ? [{ debugName: "pointerStart" }] : /* istanbul ignore next */ []));
53
- dragOffset = signal(0, /* @ts-ignore */
54
- ...(ngDevMode ? [{ debugName: "dragOffset" }] : /* istanbul ignore next */ []));
55
- dragging = signal(false, /* @ts-ignore */
56
- ...(ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []));
57
- resizeObserver = null;
58
- itemTemplate = contentChild((AerisCarouselItemTemplate), /* @ts-ignore */
59
- ...(ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
60
- headerTemplate = contentChild(AerisCarouselHeaderTemplate, /* @ts-ignore */
61
- ...(ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []));
62
- footerTemplate = contentChild(AerisCarouselFooterTemplate, /* @ts-ignore */
63
- ...(ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []));
64
- value = input([], /* @ts-ignore */
65
- ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
66
- page = model(0, /* @ts-ignore */
67
- ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
68
- numVisible = input(1, /* @ts-ignore */
69
- ...(ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []));
70
- numScroll = input(1, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "numScroll" }] : /* istanbul ignore next */ []));
72
- responsiveOptions = input([], /* @ts-ignore */
73
- ...(ngDevMode ? [{ debugName: "responsiveOptions" }] : /* istanbul ignore next */ []));
74
- circular = input(false, { ...(ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
75
- showNavigators = input(true, { ...(ngDevMode ? { debugName: "showNavigators" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
76
- showIndicators = input(true, { ...(ngDevMode ? { debugName: "showIndicators" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
77
- autoplayInterval = input(0, /* @ts-ignore */
78
- ...(ngDevMode ? [{ debugName: "autoplayInterval" }] : /* istanbul ignore next */ []));
79
- pauseOnHover = input(true, { ...(ngDevMode ? { debugName: "pauseOnHover" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
80
- orientation = input('horizontal', /* @ts-ignore */
81
- ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
82
- verticalViewportHeight = input('20rem', /* @ts-ignore */
83
- ...(ngDevMode ? [{ debugName: "verticalViewportHeight" }] : /* istanbul ignore next */ []));
84
- ariaLabel = input('Carousel', /* @ts-ignore */
85
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
86
- indicatorAriaLabel = input('Carousel pages', /* @ts-ignore */
87
- ...(ngDevMode ? [{ debugName: "indicatorAriaLabel" }] : /* istanbul ignore next */ []));
88
- previousAriaLabel = input('Previous items', /* @ts-ignore */
89
- ...(ngDevMode ? [{ debugName: "previousAriaLabel" }] : /* istanbul ignore next */ []));
90
- nextAriaLabel = input('Next items', /* @ts-ignore */
91
- ...(ngDevMode ? [{ debugName: "nextAriaLabel" }] : /* istanbul ignore next */ []));
92
- pageChanged = output();
93
- resolvedSettings = computed(() => {
94
- const base = {
95
- numVisible: this.safeCount(this.numVisible()),
96
- numScroll: this.safeCount(this.numScroll()),
97
- };
98
- const width = this.viewportWidth();
99
- if (!width)
100
- return base;
101
- const matching = [...this.responsiveOptions()]
102
- .map((option) => ({ option, pixels: this.breakpointPixels(option.breakpoint) }))
103
- .filter((option) => option.pixels > 0 && width <= option.pixels)
104
- .sort((left, right) => left.pixels - right.pixels)[0]?.option;
105
- return {
106
- numVisible: this.safeCount(matching?.numVisible ?? base.numVisible),
107
- numScroll: this.safeCount(matching?.numScroll ?? base.numScroll),
108
- };
109
- }, /* @ts-ignore */
110
- ...(ngDevMode ? [{ debugName: "resolvedSettings" }] : /* istanbul ignore next */ []));
111
- visibleCount = computed(() => Math.min(this.value().length || 1, this.resolvedSettings().numVisible), /* @ts-ignore */
112
- ...(ngDevMode ? [{ debugName: "visibleCount" }] : /* istanbul ignore next */ []));
113
- pageCount = computed(() => {
114
- const length = this.value().length;
115
- if (length <= this.visibleCount())
116
- return 1;
117
- return Math.ceil((length - this.visibleCount()) / this.resolvedSettings().numScroll) + 1;
118
- }, /* @ts-ignore */
119
- ...(ngDevMode ? [{ debugName: "pageCount" }] : /* istanbul ignore next */ []));
120
- currentPage = computed(() => Math.min(Math.max(this.page(), 0), this.pageCount() - 1), /* @ts-ignore */
121
- ...(ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []));
122
- firstVisibleIndex = computed(() => Math.min(this.currentPage() * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount())), /* @ts-ignore */
123
- ...(ngDevMode ? [{ debugName: "firstVisibleIndex" }] : /* istanbul ignore next */ []));
124
- lastVisibleIndex = computed(() => Math.min(this.value().length - 1, this.firstVisibleIndex() + this.visibleCount() - 1), /* @ts-ignore */
125
- ...(ngDevMode ? [{ debugName: "lastVisibleIndex" }] : /* istanbul ignore next */ []));
126
- itemViews = computed(() => {
127
- const first = this.firstVisibleIndex();
128
- const last = this.lastVisibleIndex();
129
- return this.value().map((item, index) => ({
130
- item,
131
- index,
132
- context: { $implicit: item, item, index, visible: index >= first && index <= last },
133
- }));
134
- }, /* @ts-ignore */
135
- ...(ngDevMode ? [{ debugName: "itemViews" }] : /* istanbul ignore next */ []));
136
- indicators = computed(() => Array.from({ length: this.pageCount() }, (_, page) => ({
137
- page,
138
- label: `Show items ${this.indicatorRange(page)}`,
139
- })), /* @ts-ignore */
140
- ...(ngDevMode ? [{ debugName: "indicators" }] : /* istanbul ignore next */ []));
141
- previousDisabled = computed(() => !this.circular() && this.currentPage() === 0, /* @ts-ignore */
142
- ...(ngDevMode ? [{ debugName: "previousDisabled" }] : /* istanbul ignore next */ []));
143
- nextDisabled = computed(() => !this.circular() && this.currentPage() >= this.pageCount() - 1, /* @ts-ignore */
144
- ...(ngDevMode ? [{ debugName: "nextDisabled" }] : /* istanbul ignore next */ []));
145
- trackInlineSize = computed(() => this.orientation() === 'horizontal' ? `${(this.value().length / this.visibleCount()) * 100}%` : null, /* @ts-ignore */
146
- ...(ngDevMode ? [{ debugName: "trackInlineSize" }] : /* istanbul ignore next */ []));
147
- trackBlockSize = computed(() => this.orientation() === 'vertical' ? `${(this.value().length / this.visibleCount()) * 100}%` : null, /* @ts-ignore */
148
- ...(ngDevMode ? [{ debugName: "trackBlockSize" }] : /* istanbul ignore next */ []));
149
- trackTransform = computed(() => {
150
- const total = Math.max(1, this.value().length);
151
- const offset = (this.firstVisibleIndex() / total) * 100;
152
- const dragOffset = this.dragOffset();
153
- if (this.orientation() === 'vertical')
154
- return `translate3d(0, calc(-${offset}% + ${dragOffset}px), 0)`;
155
- const direction = this.isRtl() ? offset : -offset;
156
- return `translate3d(calc(${direction}% + ${dragOffset}px), 0, 0)`;
157
- }, /* @ts-ignore */
158
- ...(ngDevMode ? [{ debugName: "trackTransform" }] : /* istanbul ignore next */ []));
159
- constructor() {
160
- afterNextRender(() => this.observeSize());
161
- this.destroyRef.onDestroy(() => this.resizeObserver?.disconnect());
162
- effect((onCleanup) => {
163
- const interval = this.autoplayInterval();
164
- const canPlay = interval > 0 && this.pageCount() > 1 && !this.paused();
165
- if (!canPlay || !this.browser)
166
- return;
167
- const timer = setInterval(() => this.next('autoplay'), interval);
168
- onCleanup(() => clearInterval(timer));
169
- });
170
- }
171
- next(reason = 'api') {
172
- const pageCount = this.pageCount();
173
- if (pageCount <= 1)
174
- return;
175
- const current = this.currentPage();
176
- if (current >= pageCount - 1 && !this.circular())
177
- return;
178
- this.changePage(current >= pageCount - 1 ? 0 : current + 1, reason);
179
- }
180
- previous(reason = 'api') {
181
- const pageCount = this.pageCount();
182
- if (pageCount <= 1)
183
- return;
184
- const current = this.currentPage();
185
- if (current <= 0 && !this.circular())
186
- return;
187
- this.changePage(current <= 0 ? pageCount - 1 : current - 1, reason);
188
- }
189
- goToPage(page, reason = 'api') {
190
- const target = Math.min(Math.max(0, Math.floor(page)), this.pageCount() - 1);
191
- if (target === this.currentPage())
192
- return;
193
- this.changePage(target, reason);
194
- }
195
- startAutoplay() {
196
- this.autoplayStopped.set(false);
197
- }
198
- stopAutoplay() {
199
- this.autoplayStopped.set(true);
200
- }
201
- handleViewportKeydown(event) {
202
- const nextKey = this.orientation() === 'vertical' ? 'ArrowDown' : this.isRtl() ? 'ArrowLeft' : 'ArrowRight';
203
- const previousKey = this.orientation() === 'vertical' ? 'ArrowUp' : this.isRtl() ? 'ArrowRight' : 'ArrowLeft';
204
- if (event.key === nextKey) {
205
- event.preventDefault();
206
- this.next('keyboard');
207
- }
208
- else if (event.key === previousKey) {
209
- event.preventDefault();
210
- this.previous('keyboard');
211
- }
212
- else if (event.key === 'Home') {
213
- event.preventDefault();
214
- this.goToPage(0, 'keyboard');
215
- }
216
- else if (event.key === 'End') {
217
- event.preventDefault();
218
- this.goToPage(this.pageCount() - 1, 'keyboard');
219
- }
220
- }
221
- handlePointerDown(event) {
222
- if (event.pointerType === 'mouse' && event.button !== 0)
223
- return;
224
- event.preventDefault();
225
- event.currentTarget.setPointerCapture?.(event.pointerId);
226
- this.pointerStart.set(this.orientation() === 'vertical' ? event.clientY : event.clientX);
227
- this.dragOffset.set(0);
228
- this.dragging.set(true);
229
- }
230
- handlePointerMove(event) {
231
- const start = this.pointerStart();
232
- if (start === null)
233
- return;
234
- event.preventDefault();
235
- const point = this.orientation() === 'vertical' ? event.clientY : event.clientX;
236
- this.dragOffset.set(point - start);
237
- }
238
- handlePointerUp(event) {
239
- const start = this.pointerStart();
240
- const currentTarget = event.currentTarget;
241
- if (currentTarget.hasPointerCapture?.(event.pointerId))
242
- currentTarget.releasePointerCapture(event.pointerId);
243
- if (start === null) {
244
- this.clearPointer();
245
- return;
246
- }
247
- const end = this.orientation() === 'vertical' ? event.clientY : event.clientX;
248
- const distance = end - start;
249
- this.clearPointer();
250
- if (Math.abs(distance) < 32)
251
- return;
252
- const viewportSize = this.orientation() === 'vertical'
253
- ? currentTarget.clientHeight
254
- : currentTarget.clientWidth;
255
- const stepSize = viewportSize > 0
256
- ? (viewportSize / this.visibleCount()) * this.resolvedSettings().numScroll
257
- : 80;
258
- const pageDelta = Math.max(1, Math.round(Math.abs(distance) / stepSize));
259
- const direction = this.dragDirection(distance);
260
- this.goToPage(this.dragTargetPage(this.currentPage() + direction * pageDelta), 'swipe');
261
- }
262
- clearPointer() {
263
- this.pointerStart.set(null);
264
- this.dragOffset.set(0);
265
- this.dragging.set(false);
266
- }
267
- setHoverPaused(paused) {
268
- if (this.pauseOnHover())
269
- this.hoverPaused.set(paused);
270
- }
271
- setFocusPaused(paused) {
272
- if (this.pauseOnHover())
273
- this.focusPaused.set(paused);
274
- }
275
- handleFocusOut(event) {
276
- const next = event.relatedTarget;
277
- if (next instanceof Node && this.host.nativeElement.contains(next))
278
- return;
279
- this.setFocusPaused(false);
280
- }
281
- changePage(page, reason) {
282
- this.page.set(page);
283
- this.pageChanged.emit({
284
- page,
285
- first: Math.min(page * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount())),
286
- last: Math.min(this.value().length - 1, page * this.resolvedSettings().numScroll + this.visibleCount() - 1),
287
- reason,
288
- });
289
- }
290
- dragDirection(distance) {
291
- const direction = distance < 0 ? 1 : -1;
292
- return this.orientation() === 'horizontal' && this.isRtl() ? -direction : direction;
293
- }
294
- dragTargetPage(page) {
295
- const pageCount = this.pageCount();
296
- if (!this.circular())
297
- return Math.min(Math.max(0, page), pageCount - 1);
298
- return ((page % pageCount) + pageCount) % pageCount;
299
- }
300
- observeSize() {
301
- if (!this.browser || typeof ResizeObserver === 'undefined')
302
- return;
303
- this.resizeObserver = new ResizeObserver((entries) => {
304
- const width = entries[0]?.contentRect.width;
305
- if (width)
306
- this.viewportWidth.set(width);
307
- });
308
- this.resizeObserver.observe(this.host.nativeElement);
309
- }
310
- safeCount(value) {
311
- return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : 1;
312
- }
313
- breakpointPixels(value) {
314
- const match = /^(\d+(?:\.\d+)?)(px|rem|em)?$/.exec(value.trim());
315
- if (!match)
316
- return 0;
317
- const amount = Number(match[1]);
318
- const unit = match[2] ?? 'px';
319
- if (unit === 'px')
320
- return amount;
321
- const rootSize = Number.parseFloat(getComputedStyle(this.document.documentElement).fontSize) || 16;
322
- return amount * rootSize;
323
- }
324
- indicatorRange(page) {
325
- const first = Math.min(page * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount()));
326
- const last = Math.min(this.value().length, first + this.visibleCount());
327
- return `${first + 1} to ${last}`;
328
- }
329
- isRtl() {
330
- return this.document.documentElement.dir === 'rtl';
331
- }
332
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarousel, deps: [], target: i0.ɵɵFactoryTarget.Component });
333
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisCarousel, isStandalone: true, selector: "aeris-carousel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, numVisible: { classPropertyName: "numVisible", publicName: "numVisible", isSignal: true, isRequired: false, transformFunction: null }, numScroll: { classPropertyName: "numScroll", publicName: "numScroll", isSignal: true, isRequired: false, transformFunction: null }, responsiveOptions: { classPropertyName: "responsiveOptions", publicName: "responsiveOptions", isSignal: true, isRequired: false, transformFunction: null }, circular: { classPropertyName: "circular", publicName: "circular", isSignal: true, isRequired: false, transformFunction: null }, showNavigators: { classPropertyName: "showNavigators", publicName: "showNavigators", isSignal: true, isRequired: false, transformFunction: null }, showIndicators: { classPropertyName: "showIndicators", publicName: "showIndicators", isSignal: true, isRequired: false, transformFunction: null }, autoplayInterval: { classPropertyName: "autoplayInterval", publicName: "autoplayInterval", isSignal: true, isRequired: false, transformFunction: null }, pauseOnHover: { classPropertyName: "pauseOnHover", publicName: "pauseOnHover", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, verticalViewportHeight: { classPropertyName: "verticalViewportHeight", publicName: "verticalViewportHeight", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, indicatorAriaLabel: { classPropertyName: "indicatorAriaLabel", publicName: "indicatorAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, previousAriaLabel: { classPropertyName: "previousAriaLabel", publicName: "previousAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextAriaLabel: { classPropertyName: "nextAriaLabel", publicName: "nextAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange", pageChanged: "pageChanged" }, host: { properties: { "attr.data-orientation": "orientation()" }, classAttribute: "aeris-carousel-host" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: (AerisCarouselItemTemplate), descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: AerisCarouselHeaderTemplate, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: AerisCarouselFooterTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
334
- <section class="aeris-carousel" [attr.aria-label]="ariaLabel()" [attr.aria-roledescription]="'carousel'">
1
+ import { ɵAerisIcon } from "@aeris-ui/core";
2
+ import { DOCUMENT, NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
3
+ import * as i0 from "@angular/core";
4
+ import { Component, DestroyRef, Directive, ElementRef, PLATFORM_ID, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, model, output, signal } from "@angular/core";
5
+ var AerisCarouselItemTemplate = class AerisCarouselItemTemplate {
6
+ template = inject(TemplateRef);
7
+ static ngTemplateContextGuard(_directive, context) {
8
+ return true;
9
+ }
10
+ static ɵfac = i0.ɵɵngDeclareFactory({
11
+ minVersion: "12.0.0",
12
+ version: "22.2.3",
13
+ ngImport: i0,
14
+ type: AerisCarouselItemTemplate,
15
+ deps: [],
16
+ target: i0.ɵɵFactoryTarget.Directive
17
+ });
18
+ static ɵdir = i0.ɵɵngDeclareDirective({
19
+ minVersion: "14.0.0",
20
+ version: "22.2.3",
21
+ type: AerisCarouselItemTemplate,
22
+ isStandalone: true,
23
+ selector: "ng-template[aerisCarouselItem]",
24
+ ngImport: i0
25
+ });
26
+ };
27
+ i0.ɵɵngDeclareClassMetadata({
28
+ minVersion: "12.0.0",
29
+ version: "22.2.3",
30
+ ngImport: i0,
31
+ type: AerisCarouselItemTemplate,
32
+ decorators: [{
33
+ type: Directive,
34
+ args: [{ selector: "ng-template[aerisCarouselItem]" }]
35
+ }]
36
+ });
37
+ var AerisCarouselHeaderTemplate = class AerisCarouselHeaderTemplate {
38
+ template = inject(TemplateRef);
39
+ static ɵfac = i0.ɵɵngDeclareFactory({
40
+ minVersion: "12.0.0",
41
+ version: "22.2.3",
42
+ ngImport: i0,
43
+ type: AerisCarouselHeaderTemplate,
44
+ deps: [],
45
+ target: i0.ɵɵFactoryTarget.Directive
46
+ });
47
+ static ɵdir = i0.ɵɵngDeclareDirective({
48
+ minVersion: "14.0.0",
49
+ version: "22.2.3",
50
+ type: AerisCarouselHeaderTemplate,
51
+ isStandalone: true,
52
+ selector: "ng-template[aerisCarouselHeader]",
53
+ ngImport: i0
54
+ });
55
+ };
56
+ i0.ɵɵngDeclareClassMetadata({
57
+ minVersion: "12.0.0",
58
+ version: "22.2.3",
59
+ ngImport: i0,
60
+ type: AerisCarouselHeaderTemplate,
61
+ decorators: [{
62
+ type: Directive,
63
+ args: [{ selector: "ng-template[aerisCarouselHeader]" }]
64
+ }]
65
+ });
66
+ var AerisCarouselFooterTemplate = class AerisCarouselFooterTemplate {
67
+ template = inject(TemplateRef);
68
+ static ɵfac = i0.ɵɵngDeclareFactory({
69
+ minVersion: "12.0.0",
70
+ version: "22.2.3",
71
+ ngImport: i0,
72
+ type: AerisCarouselFooterTemplate,
73
+ deps: [],
74
+ target: i0.ɵɵFactoryTarget.Directive
75
+ });
76
+ static ɵdir = i0.ɵɵngDeclareDirective({
77
+ minVersion: "14.0.0",
78
+ version: "22.2.3",
79
+ type: AerisCarouselFooterTemplate,
80
+ isStandalone: true,
81
+ selector: "ng-template[aerisCarouselFooter]",
82
+ ngImport: i0
83
+ });
84
+ };
85
+ i0.ɵɵngDeclareClassMetadata({
86
+ minVersion: "12.0.0",
87
+ version: "22.2.3",
88
+ ngImport: i0,
89
+ type: AerisCarouselFooterTemplate,
90
+ decorators: [{
91
+ type: Directive,
92
+ args: [{ selector: "ng-template[aerisCarouselFooter]" }]
93
+ }]
94
+ });
95
+ var AerisCarousel = class AerisCarousel {
96
+ previousIconTemplate = input(...ngDevMode ? [void 0, { debugName: "previousIconTemplate" }] : /* istanbul ignore next */ []);
97
+ nextIconTemplate = input(...ngDevMode ? [void 0, { debugName: "nextIconTemplate" }] : /* istanbul ignore next */ []);
98
+ host = inject(ElementRef);
99
+ document = inject(DOCUMENT);
100
+ platformId = inject(PLATFORM_ID);
101
+ destroyRef = inject(DestroyRef);
102
+ browser = isPlatformBrowser(this.platformId);
103
+ viewportWidth = signal(0, ...ngDevMode ? [{ debugName: "viewportWidth" }] : /* istanbul ignore next */ []);
104
+ hoverPaused = signal(false, ...ngDevMode ? [{ debugName: "hoverPaused" }] : /* istanbul ignore next */ []);
105
+ focusPaused = signal(false, ...ngDevMode ? [{ debugName: "focusPaused" }] : /* istanbul ignore next */ []);
106
+ autoplayStopped = signal(false, ...ngDevMode ? [{ debugName: "autoplayStopped" }] : /* istanbul ignore next */ []);
107
+ paused = computed(() => this.hoverPaused() || this.focusPaused() || this.autoplayStopped(), ...ngDevMode ? [{ debugName: "paused" }] : /* istanbul ignore next */ []);
108
+ pointerStart = signal(null, ...ngDevMode ? [{ debugName: "pointerStart" }] : /* istanbul ignore next */ []);
109
+ pointerCrossStart = 0;
110
+ activePointerId = null;
111
+ dragOffset = signal(0, ...ngDevMode ? [{ debugName: "dragOffset" }] : /* istanbul ignore next */ []);
112
+ dragging = signal(false, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
113
+ resizeObserver = null;
114
+ itemTemplate = contentChild(AerisCarouselItemTemplate, ...ngDevMode ? [{ debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
115
+ headerTemplate = contentChild(AerisCarouselHeaderTemplate, ...ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []);
116
+ footerTemplate = contentChild(AerisCarouselFooterTemplate, ...ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []);
117
+ value = input([], ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
118
+ page = model(0, ...ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []);
119
+ numVisible = input(1, ...ngDevMode ? [{ debugName: "numVisible" }] : /* istanbul ignore next */ []);
120
+ numScroll = input(1, ...ngDevMode ? [{ debugName: "numScroll" }] : /* istanbul ignore next */ []);
121
+ responsiveOptions = input([], ...ngDevMode ? [{ debugName: "responsiveOptions" }] : /* istanbul ignore next */ []);
122
+ circular = input(false, {
123
+ ...ngDevMode ? { debugName: "circular" } : /* istanbul ignore next */ {},
124
+ transform: booleanAttribute
125
+ });
126
+ showNavigators = input(true, {
127
+ ...ngDevMode ? { debugName: "showNavigators" } : /* istanbul ignore next */ {},
128
+ transform: booleanAttribute
129
+ });
130
+ showIndicators = input(true, {
131
+ ...ngDevMode ? { debugName: "showIndicators" } : /* istanbul ignore next */ {},
132
+ transform: booleanAttribute
133
+ });
134
+ autoplayInterval = input(0, ...ngDevMode ? [{ debugName: "autoplayInterval" }] : /* istanbul ignore next */ []);
135
+ pauseOnHover = input(true, {
136
+ ...ngDevMode ? { debugName: "pauseOnHover" } : /* istanbul ignore next */ {},
137
+ transform: booleanAttribute
138
+ });
139
+ orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
140
+ verticalViewportHeight = input("20rem", ...ngDevMode ? [{ debugName: "verticalViewportHeight" }] : /* istanbul ignore next */ []);
141
+ ariaLabel = input("Carousel", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
142
+ indicatorAriaLabel = input("Carousel pages", ...ngDevMode ? [{ debugName: "indicatorAriaLabel" }] : /* istanbul ignore next */ []);
143
+ previousAriaLabel = input("Previous items", ...ngDevMode ? [{ debugName: "previousAriaLabel" }] : /* istanbul ignore next */ []);
144
+ nextAriaLabel = input("Next items", ...ngDevMode ? [{ debugName: "nextAriaLabel" }] : /* istanbul ignore next */ []);
145
+ pageChanged = output();
146
+ resolvedSettings = computed(() => {
147
+ const base = {
148
+ numVisible: this.safeCount(this.numVisible()),
149
+ numScroll: this.safeCount(this.numScroll())
150
+ };
151
+ const width = this.viewportWidth();
152
+ if (!width) return base;
153
+ const matching = [...this.responsiveOptions()].map((option) => ({
154
+ option,
155
+ pixels: this.breakpointPixels(option.breakpoint)
156
+ })).filter((option) => option.pixels > 0 && width <= option.pixels).sort((left, right) => left.pixels - right.pixels)[0]?.option;
157
+ return {
158
+ numVisible: this.safeCount(matching?.numVisible ?? base.numVisible),
159
+ numScroll: this.safeCount(matching?.numScroll ?? base.numScroll)
160
+ };
161
+ }, ...ngDevMode ? [{ debugName: "resolvedSettings" }] : /* istanbul ignore next */ []);
162
+ visibleCount = computed(() => Math.min(this.value().length || 1, this.resolvedSettings().numVisible), ...ngDevMode ? [{ debugName: "visibleCount" }] : /* istanbul ignore next */ []);
163
+ pageCount = computed(() => {
164
+ const length = this.value().length;
165
+ if (length <= this.visibleCount()) return 1;
166
+ return Math.ceil((length - this.visibleCount()) / this.resolvedSettings().numScroll) + 1;
167
+ }, ...ngDevMode ? [{ debugName: "pageCount" }] : /* istanbul ignore next */ []);
168
+ currentPage = computed(() => Math.min(Math.max(this.page(), 0), this.pageCount() - 1), ...ngDevMode ? [{ debugName: "currentPage" }] : /* istanbul ignore next */ []);
169
+ firstVisibleIndex = computed(() => Math.min(this.currentPage() * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount())), ...ngDevMode ? [{ debugName: "firstVisibleIndex" }] : /* istanbul ignore next */ []);
170
+ lastVisibleIndex = computed(() => Math.min(this.value().length - 1, this.firstVisibleIndex() + this.visibleCount() - 1), ...ngDevMode ? [{ debugName: "lastVisibleIndex" }] : /* istanbul ignore next */ []);
171
+ itemViews = computed(() => {
172
+ const first = this.firstVisibleIndex();
173
+ const last = this.lastVisibleIndex();
174
+ return this.value().map((item, index) => ({
175
+ item,
176
+ index,
177
+ context: {
178
+ $implicit: item,
179
+ item,
180
+ index,
181
+ visible: index >= first && index <= last
182
+ }
183
+ }));
184
+ }, ...ngDevMode ? [{ debugName: "itemViews" }] : /* istanbul ignore next */ []);
185
+ indicators = computed(() => Array.from({ length: this.pageCount() }, (_, page) => ({
186
+ page,
187
+ label: `Show items ${this.indicatorRange(page)}`
188
+ })), ...ngDevMode ? [{ debugName: "indicators" }] : /* istanbul ignore next */ []);
189
+ previousDisabled = computed(() => !this.circular() && this.currentPage() === 0, ...ngDevMode ? [{ debugName: "previousDisabled" }] : /* istanbul ignore next */ []);
190
+ nextDisabled = computed(() => !this.circular() && this.currentPage() >= this.pageCount() - 1, ...ngDevMode ? [{ debugName: "nextDisabled" }] : /* istanbul ignore next */ []);
191
+ trackInlineSize = computed(() => this.orientation() === "horizontal" ? `${this.value().length / this.visibleCount() * 100}%` : null, ...ngDevMode ? [{ debugName: "trackInlineSize" }] : /* istanbul ignore next */ []);
192
+ trackBlockSize = computed(() => this.orientation() === "vertical" ? `${this.value().length / this.visibleCount() * 100}%` : null, ...ngDevMode ? [{ debugName: "trackBlockSize" }] : /* istanbul ignore next */ []);
193
+ trackTransform = computed(() => {
194
+ const total = Math.max(1, this.value().length);
195
+ const offset = this.firstVisibleIndex() / total * 100;
196
+ const dragOffset = this.dragOffset();
197
+ if (this.orientation() === "vertical") return `translate3d(0, calc(-${offset}% + ${dragOffset}px), 0)`;
198
+ return `translate3d(calc(${this.isRtl() ? offset : -offset}% + ${dragOffset}px), 0, 0)`;
199
+ }, ...ngDevMode ? [{ debugName: "trackTransform" }] : /* istanbul ignore next */ []);
200
+ constructor() {
201
+ afterNextRender(() => this.observeSize());
202
+ this.destroyRef.onDestroy(() => this.resizeObserver?.disconnect());
203
+ effect((onCleanup) => {
204
+ const interval = this.autoplayInterval();
205
+ if (!(interval > 0 && this.pageCount() > 1 && !this.paused()) || !this.browser) return;
206
+ const timer = setInterval(() => this.next("autoplay"), interval);
207
+ onCleanup(() => clearInterval(timer));
208
+ });
209
+ }
210
+ next(reason = "api") {
211
+ const pageCount = this.pageCount();
212
+ if (pageCount <= 1) return;
213
+ const current = this.currentPage();
214
+ if (current >= pageCount - 1 && !this.circular()) return;
215
+ this.changePage(current >= pageCount - 1 ? 0 : current + 1, reason);
216
+ }
217
+ previous(reason = "api") {
218
+ const pageCount = this.pageCount();
219
+ if (pageCount <= 1) return;
220
+ const current = this.currentPage();
221
+ if (current <= 0 && !this.circular()) return;
222
+ this.changePage(current <= 0 ? pageCount - 1 : current - 1, reason);
223
+ }
224
+ goToPage(page, reason = "api") {
225
+ const target = Math.min(Math.max(0, Math.floor(page)), this.pageCount() - 1);
226
+ if (target === this.currentPage()) return;
227
+ this.changePage(target, reason);
228
+ }
229
+ startAutoplay() {
230
+ this.autoplayStopped.set(false);
231
+ }
232
+ stopAutoplay() {
233
+ this.autoplayStopped.set(true);
234
+ }
235
+ handleViewportKeydown(event) {
236
+ const nextKey = this.orientation() === "vertical" ? "ArrowDown" : this.isRtl() ? "ArrowLeft" : "ArrowRight";
237
+ const previousKey = this.orientation() === "vertical" ? "ArrowUp" : this.isRtl() ? "ArrowRight" : "ArrowLeft";
238
+ if (event.key === nextKey) {
239
+ event.preventDefault();
240
+ this.next("keyboard");
241
+ } else if (event.key === previousKey) {
242
+ event.preventDefault();
243
+ this.previous("keyboard");
244
+ } else if (event.key === "Home") {
245
+ event.preventDefault();
246
+ this.goToPage(0, "keyboard");
247
+ } else if (event.key === "End") {
248
+ event.preventDefault();
249
+ this.goToPage(this.pageCount() - 1, "keyboard");
250
+ }
251
+ }
252
+ handlePointerDown(event) {
253
+ if (this.activePointerId !== null || this.pageCount() <= 1) return;
254
+ if (event.pointerType === "mouse" && event.button !== 0) return;
255
+ if (event.target?.closest("button, a, input, select, textarea, [role=\"button\"], [contenteditable]:not([contenteditable=\"false\"])")) return;
256
+ if (event.pointerType === "mouse") event.preventDefault();
257
+ event.currentTarget.setPointerCapture?.(event.pointerId);
258
+ this.activePointerId = event.pointerId;
259
+ this.pointerStart.set(this.orientation() === "vertical" ? event.clientY : event.clientX);
260
+ this.pointerCrossStart = this.orientation() === "vertical" ? event.clientX : event.clientY;
261
+ this.dragOffset.set(0);
262
+ this.dragging.set(event.pointerType === "mouse");
263
+ }
264
+ handlePointerMove(event) {
265
+ if (this.activePointerId !== event.pointerId) return;
266
+ const start = this.pointerStart();
267
+ if (start === null) return;
268
+ const point = this.orientation() === "vertical" ? event.clientY : event.clientX;
269
+ if (event.pointerType !== "mouse" && !this.dragging()) {
270
+ const cross = this.orientation() === "vertical" ? event.clientX : event.clientY;
271
+ const distance = Math.abs(point - start);
272
+ if (Math.max(distance, Math.abs(cross - this.pointerCrossStart)) < 6) return;
273
+ if (Math.abs(cross - this.pointerCrossStart) > distance) {
274
+ this.clearPointer();
275
+ const target = event.currentTarget;
276
+ if (target.hasPointerCapture?.(event.pointerId)) target.releasePointerCapture(event.pointerId);
277
+ return;
278
+ }
279
+ this.dragging.set(true);
280
+ }
281
+ event.preventDefault();
282
+ this.dragOffset.set(point - start);
283
+ }
284
+ handlePointerUp(event) {
285
+ if (this.activePointerId !== event.pointerId) return;
286
+ const start = this.pointerStart();
287
+ const currentTarget = event.currentTarget;
288
+ if (currentTarget.hasPointerCapture?.(event.pointerId)) currentTarget.releasePointerCapture(event.pointerId);
289
+ if (start === null) {
290
+ this.clearPointer();
291
+ return;
292
+ }
293
+ const distance = (this.orientation() === "vertical" ? event.clientY : event.clientX) - start;
294
+ this.clearPointer();
295
+ if (Math.abs(distance) < 32) return;
296
+ const viewportSize = this.orientation() === "vertical" ? currentTarget.clientHeight : currentTarget.clientWidth;
297
+ const stepSize = viewportSize > 0 ? viewportSize / this.visibleCount() * this.resolvedSettings().numScroll : 80;
298
+ const pageDelta = Math.max(1, Math.round(Math.abs(distance) / stepSize));
299
+ const direction = this.dragDirection(distance);
300
+ this.goToPage(this.dragTargetPage(this.currentPage() + direction * pageDelta), "swipe");
301
+ }
302
+ clearPointer() {
303
+ this.activePointerId = null;
304
+ this.pointerStart.set(null);
305
+ this.dragOffset.set(0);
306
+ this.dragging.set(false);
307
+ }
308
+ handlePointerCancel(event) {
309
+ if (this.activePointerId === event.pointerId) this.clearPointer();
310
+ }
311
+ setHoverPaused(paused) {
312
+ if (this.pauseOnHover()) this.hoverPaused.set(paused);
313
+ }
314
+ setFocusPaused(paused) {
315
+ if (this.pauseOnHover()) this.focusPaused.set(paused);
316
+ }
317
+ handleFocusOut(event) {
318
+ const next = event.relatedTarget;
319
+ if (next instanceof Node && this.host.nativeElement.contains(next)) return;
320
+ this.setFocusPaused(false);
321
+ }
322
+ changePage(page, reason) {
323
+ this.page.set(page);
324
+ this.pageChanged.emit({
325
+ page,
326
+ first: Math.min(page * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount())),
327
+ last: Math.min(this.value().length - 1, page * this.resolvedSettings().numScroll + this.visibleCount() - 1),
328
+ reason
329
+ });
330
+ }
331
+ dragDirection(distance) {
332
+ const direction = distance < 0 ? 1 : -1;
333
+ return this.orientation() === "horizontal" && this.isRtl() ? -direction : direction;
334
+ }
335
+ dragTargetPage(page) {
336
+ const pageCount = this.pageCount();
337
+ if (!this.circular()) return Math.min(Math.max(0, page), pageCount - 1);
338
+ return (page % pageCount + pageCount) % pageCount;
339
+ }
340
+ observeSize() {
341
+ if (!this.browser || typeof ResizeObserver === "undefined") return;
342
+ this.resizeObserver = new ResizeObserver((entries) => {
343
+ const width = entries[0]?.contentRect.width;
344
+ if (width) this.viewportWidth.set(width);
345
+ });
346
+ this.resizeObserver.observe(this.host.nativeElement);
347
+ }
348
+ safeCount(value) {
349
+ return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : 1;
350
+ }
351
+ breakpointPixels(value) {
352
+ const match = /^(\d+(?:\.\d+)?)(px|rem|em)?$/.exec(value.trim());
353
+ if (!match) return 0;
354
+ const amount = Number(match[1]);
355
+ if ((match[2] ?? "px") === "px") return amount;
356
+ return amount * (Number.parseFloat(getComputedStyle(this.document.documentElement).fontSize) || 16);
357
+ }
358
+ indicatorRange(page) {
359
+ const first = Math.min(page * this.resolvedSettings().numScroll, Math.max(0, this.value().length - this.visibleCount()));
360
+ const last = Math.min(this.value().length, first + this.visibleCount());
361
+ return `${first + 1} to ${last}`;
362
+ }
363
+ isRtl() {
364
+ const direction = this.document.defaultView?.getComputedStyle(this.host.nativeElement).direction;
365
+ return direction ? direction === "rtl" : this.document.documentElement.dir === "rtl";
366
+ }
367
+ static ɵfac = i0.ɵɵngDeclareFactory({
368
+ minVersion: "12.0.0",
369
+ version: "22.2.3",
370
+ ngImport: i0,
371
+ type: AerisCarousel,
372
+ deps: [],
373
+ target: i0.ɵɵFactoryTarget.Component
374
+ });
375
+ static ɵcmp = i0.ɵɵngDeclareComponent({
376
+ minVersion: "17.0.0",
377
+ version: "22.2.3",
378
+ type: AerisCarousel,
379
+ isStandalone: true,
380
+ selector: "aeris-carousel",
381
+ inputs: {
382
+ previousIconTemplate: {
383
+ classPropertyName: "previousIconTemplate",
384
+ publicName: "previousIconTemplate",
385
+ isSignal: true,
386
+ isRequired: false,
387
+ transformFunction: null
388
+ },
389
+ nextIconTemplate: {
390
+ classPropertyName: "nextIconTemplate",
391
+ publicName: "nextIconTemplate",
392
+ isSignal: true,
393
+ isRequired: false,
394
+ transformFunction: null
395
+ },
396
+ value: {
397
+ classPropertyName: "value",
398
+ publicName: "value",
399
+ isSignal: true,
400
+ isRequired: false,
401
+ transformFunction: null
402
+ },
403
+ page: {
404
+ classPropertyName: "page",
405
+ publicName: "page",
406
+ isSignal: true,
407
+ isRequired: false,
408
+ transformFunction: null
409
+ },
410
+ numVisible: {
411
+ classPropertyName: "numVisible",
412
+ publicName: "numVisible",
413
+ isSignal: true,
414
+ isRequired: false,
415
+ transformFunction: null
416
+ },
417
+ numScroll: {
418
+ classPropertyName: "numScroll",
419
+ publicName: "numScroll",
420
+ isSignal: true,
421
+ isRequired: false,
422
+ transformFunction: null
423
+ },
424
+ responsiveOptions: {
425
+ classPropertyName: "responsiveOptions",
426
+ publicName: "responsiveOptions",
427
+ isSignal: true,
428
+ isRequired: false,
429
+ transformFunction: null
430
+ },
431
+ circular: {
432
+ classPropertyName: "circular",
433
+ publicName: "circular",
434
+ isSignal: true,
435
+ isRequired: false,
436
+ transformFunction: null
437
+ },
438
+ showNavigators: {
439
+ classPropertyName: "showNavigators",
440
+ publicName: "showNavigators",
441
+ isSignal: true,
442
+ isRequired: false,
443
+ transformFunction: null
444
+ },
445
+ showIndicators: {
446
+ classPropertyName: "showIndicators",
447
+ publicName: "showIndicators",
448
+ isSignal: true,
449
+ isRequired: false,
450
+ transformFunction: null
451
+ },
452
+ autoplayInterval: {
453
+ classPropertyName: "autoplayInterval",
454
+ publicName: "autoplayInterval",
455
+ isSignal: true,
456
+ isRequired: false,
457
+ transformFunction: null
458
+ },
459
+ pauseOnHover: {
460
+ classPropertyName: "pauseOnHover",
461
+ publicName: "pauseOnHover",
462
+ isSignal: true,
463
+ isRequired: false,
464
+ transformFunction: null
465
+ },
466
+ orientation: {
467
+ classPropertyName: "orientation",
468
+ publicName: "orientation",
469
+ isSignal: true,
470
+ isRequired: false,
471
+ transformFunction: null
472
+ },
473
+ verticalViewportHeight: {
474
+ classPropertyName: "verticalViewportHeight",
475
+ publicName: "verticalViewportHeight",
476
+ isSignal: true,
477
+ isRequired: false,
478
+ transformFunction: null
479
+ },
480
+ ariaLabel: {
481
+ classPropertyName: "ariaLabel",
482
+ publicName: "ariaLabel",
483
+ isSignal: true,
484
+ isRequired: false,
485
+ transformFunction: null
486
+ },
487
+ indicatorAriaLabel: {
488
+ classPropertyName: "indicatorAriaLabel",
489
+ publicName: "indicatorAriaLabel",
490
+ isSignal: true,
491
+ isRequired: false,
492
+ transformFunction: null
493
+ },
494
+ previousAriaLabel: {
495
+ classPropertyName: "previousAriaLabel",
496
+ publicName: "previousAriaLabel",
497
+ isSignal: true,
498
+ isRequired: false,
499
+ transformFunction: null
500
+ },
501
+ nextAriaLabel: {
502
+ classPropertyName: "nextAriaLabel",
503
+ publicName: "nextAriaLabel",
504
+ isSignal: true,
505
+ isRequired: false,
506
+ transformFunction: null
507
+ }
508
+ },
509
+ outputs: {
510
+ page: "pageChange",
511
+ pageChanged: "pageChanged"
512
+ },
513
+ host: {
514
+ properties: { "attr.data-orientation": "orientation()" },
515
+ classAttribute: "aeris-carousel-host"
516
+ },
517
+ queries: [
518
+ {
519
+ propertyName: "itemTemplate",
520
+ first: true,
521
+ predicate: AerisCarouselItemTemplate,
522
+ descendants: true,
523
+ isSignal: true
524
+ },
525
+ {
526
+ propertyName: "headerTemplate",
527
+ first: true,
528
+ predicate: AerisCarouselHeaderTemplate,
529
+ descendants: true,
530
+ isSignal: true
531
+ },
532
+ {
533
+ propertyName: "footerTemplate",
534
+ first: true,
535
+ predicate: AerisCarouselFooterTemplate,
536
+ descendants: true,
537
+ isSignal: true
538
+ }
539
+ ],
540
+ ngImport: i0,
541
+ template: `
542
+ <section
543
+ class="aeris-carousel"
544
+ [attr.aria-label]="ariaLabel()"
545
+ [attr.aria-roledescription]="'carousel'"
546
+ >
335
547
  <ng-template #indicatorList>
336
- <div class="aeris-carousel__indicators" [attr.data-orientation]="orientation()" role="group" [attr.aria-label]="indicatorAriaLabel()">
548
+ <div
549
+ class="aeris-carousel__indicators"
550
+ [attr.data-orientation]="orientation()"
551
+ role="group"
552
+ [attr.aria-label]="indicatorAriaLabel()"
553
+ >
337
554
  @for (indicator of indicators(); track indicator.page) {
338
555
  <button
339
556
  type="button"
@@ -346,7 +563,9 @@ class AerisCarousel {
346
563
  </ng-template>
347
564
 
348
565
  @if (headerTemplate(); as header) {
349
- <div class="aeris-carousel__header"><ng-container [ngTemplateOutlet]="header.template" /></div>
566
+ <div class="aeris-carousel__header">
567
+ <ng-container [ngTemplateOutlet]="header.template" />
568
+ </div>
350
569
  }
351
570
 
352
571
  <div class="aeris-carousel__content" [attr.data-orientation]="orientation()">
@@ -357,7 +576,15 @@ class AerisCarousel {
357
576
  [attr.aria-label]="previousAriaLabel()"
358
577
  [disabled]="previousDisabled()"
359
578
  (click)="previous('previous')"
360
- ><span aria-hidden="true"></span></button>
579
+ >
580
+ @if (previousIconTemplate(); as customIcon) {
581
+ <span aria-hidden="true" data-aeris-custom-icon
582
+ ><ng-container [ngTemplateOutlet]="customIcon"
583
+ /></span>
584
+ } @else {
585
+ <span aerisInternalIcon="chevron" aria-hidden="true"></span>
586
+ }
587
+ </button>
361
588
  }
362
589
 
363
590
  <div
@@ -369,7 +596,8 @@ class AerisCarousel {
369
596
  (pointerdown)="handlePointerDown($event)"
370
597
  (pointermove)="handlePointerMove($event)"
371
598
  (pointerup)="handlePointerUp($event)"
372
- (pointercancel)="clearPointer()"
599
+ (pointercancel)="handlePointerCancel($event)"
600
+ (lostpointercapture)="handlePointerCancel($event)"
373
601
  (pointerenter)="setHoverPaused(true)"
374
602
  (pointerleave)="setHoverPaused(false)"
375
603
  (focusin)="setFocusPaused(true)"
@@ -392,7 +620,10 @@ class AerisCarousel {
392
620
  [style.--aeris-carousel-item-count]="value().length"
393
621
  >
394
622
  @if (itemTemplate(); as template) {
395
- <ng-container [ngTemplateOutlet]="template.template" [ngTemplateOutletContext]="view.context" />
623
+ <ng-container
624
+ [ngTemplateOutlet]="template.template"
625
+ [ngTemplateOutletContext]="view.context"
626
+ />
396
627
  } @else {
397
628
  <span class="aeris-carousel__default-item">{{ view.item }}</span>
398
629
  }
@@ -412,7 +643,15 @@ class AerisCarousel {
412
643
  [attr.aria-label]="nextAriaLabel()"
413
644
  [disabled]="nextDisabled()"
414
645
  (click)="next('next')"
415
- ><span aria-hidden="true"></span></button>
646
+ >
647
+ @if (nextIconTemplate(); as customIcon) {
648
+ <span aria-hidden="true" data-aeris-custom-icon
649
+ ><ng-container [ngTemplateOutlet]="customIcon"
650
+ /></span>
651
+ } @else {
652
+ <span aerisInternalIcon="chevron" aria-hidden="true"></span>
653
+ }
654
+ </button>
416
655
  }
417
656
  </div>
418
657
 
@@ -421,17 +660,54 @@ class AerisCarousel {
421
660
  }
422
661
 
423
662
  @if (footerTemplate(); as footer) {
424
- <div class="aeris-carousel__footer"><ng-container [ngTemplateOutlet]="footer.template" /></div>
663
+ <div class="aeris-carousel__footer">
664
+ <ng-container [ngTemplateOutlet]="footer.template" />
665
+ </div>
425
666
  }
426
667
  </section>
427
- `, isInline: true, styles: [":host{--_aeris-carousel-chevron: var(--aeris-icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='m7%209.5%205%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\"));display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #222222))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-lg, .875rem));touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x}.aeris-carousel__viewport:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 24%,transparent);outline-offset:2px}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #222222));cursor:pointer}.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 50%,var(--aeris-border, #deddd7));background:color-mix(in srgb,var(--aeris-primary, #879566) 10%,var(--aeris-surface, #fff))}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 25%,transparent);outline-offset:2px}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);padding:0;border:0;border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border-strong, #c7c9c0));cursor:pointer;transition:inline-size .16s ease,background .16s ease}.aeris-carousel__indicators button[aria-current=page]{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #879566))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
428
- }
429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisCarousel, decorators: [{
430
- type: Component,
431
- args: [{ selector: 'aeris-carousel', imports: [NgTemplateOutlet], template: `
432
- <section class="aeris-carousel" [attr.aria-label]="ariaLabel()" [attr.aria-roledescription]="'carousel'">
668
+ `,
669
+ isInline: true,
670
+ styles: [":host{--_aeris-carousel-chevron: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%3E%3C/svg%3E') );display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #111111))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x pinch-zoom}.aeris-carousel__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 50%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff))}}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 25%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{display:grid;place-items:center;inline-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));block-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}.aeris-carousel__indicators button:before{content:\"\";inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border, #efefef));transition:inline-size var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-carousel__indicators button[aria-current=page]{inline-size:max(1.5rem,var(--aeris-carousel-active-indicator-width, 1.5rem))}.aeris-carousel__indicators button[aria-current=page]:before{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #111111))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button:before{transition:none}}@media(pointer:coarse){.aeris-carousel__indicators button{min-inline-size:2.75rem;min-block-size:2.75rem}}\n"],
671
+ dependencies: [{
672
+ kind: "component",
673
+ type: ɵAerisIcon,
674
+ selector: "span[aerisInternalIcon]",
675
+ inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
676
+ }, {
677
+ kind: "directive",
678
+ type: NgTemplateOutlet,
679
+ selector: "[ngTemplateOutlet]",
680
+ inputs: [
681
+ "ngTemplateOutletContext",
682
+ "ngTemplateOutlet",
683
+ "ngTemplateOutletInjector"
684
+ ]
685
+ }]
686
+ });
687
+ };
688
+ i0.ɵɵngDeclareClassMetadata({
689
+ minVersion: "12.0.0",
690
+ version: "22.2.3",
691
+ ngImport: i0,
692
+ type: AerisCarousel,
693
+ decorators: [{
694
+ type: Component,
695
+ args: [{
696
+ selector: "aeris-carousel",
697
+ imports: [ɵAerisIcon, NgTemplateOutlet],
698
+ template: `
699
+ <section
700
+ class="aeris-carousel"
701
+ [attr.aria-label]="ariaLabel()"
702
+ [attr.aria-roledescription]="'carousel'"
703
+ >
433
704
  <ng-template #indicatorList>
434
- <div class="aeris-carousel__indicators" [attr.data-orientation]="orientation()" role="group" [attr.aria-label]="indicatorAriaLabel()">
705
+ <div
706
+ class="aeris-carousel__indicators"
707
+ [attr.data-orientation]="orientation()"
708
+ role="group"
709
+ [attr.aria-label]="indicatorAriaLabel()"
710
+ >
435
711
  @for (indicator of indicators(); track indicator.page) {
436
712
  <button
437
713
  type="button"
@@ -444,7 +720,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
444
720
  </ng-template>
445
721
 
446
722
  @if (headerTemplate(); as header) {
447
- <div class="aeris-carousel__header"><ng-container [ngTemplateOutlet]="header.template" /></div>
723
+ <div class="aeris-carousel__header">
724
+ <ng-container [ngTemplateOutlet]="header.template" />
725
+ </div>
448
726
  }
449
727
 
450
728
  <div class="aeris-carousel__content" [attr.data-orientation]="orientation()">
@@ -455,7 +733,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
455
733
  [attr.aria-label]="previousAriaLabel()"
456
734
  [disabled]="previousDisabled()"
457
735
  (click)="previous('previous')"
458
- ><span aria-hidden="true"></span></button>
736
+ >
737
+ @if (previousIconTemplate(); as customIcon) {
738
+ <span aria-hidden="true" data-aeris-custom-icon
739
+ ><ng-container [ngTemplateOutlet]="customIcon"
740
+ /></span>
741
+ } @else {
742
+ <span aerisInternalIcon="chevron" aria-hidden="true"></span>
743
+ }
744
+ </button>
459
745
  }
460
746
 
461
747
  <div
@@ -467,7 +753,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
467
753
  (pointerdown)="handlePointerDown($event)"
468
754
  (pointermove)="handlePointerMove($event)"
469
755
  (pointerup)="handlePointerUp($event)"
470
- (pointercancel)="clearPointer()"
756
+ (pointercancel)="handlePointerCancel($event)"
757
+ (lostpointercapture)="handlePointerCancel($event)"
471
758
  (pointerenter)="setHoverPaused(true)"
472
759
  (pointerleave)="setHoverPaused(false)"
473
760
  (focusin)="setFocusPaused(true)"
@@ -490,7 +777,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
490
777
  [style.--aeris-carousel-item-count]="value().length"
491
778
  >
492
779
  @if (itemTemplate(); as template) {
493
- <ng-container [ngTemplateOutlet]="template.template" [ngTemplateOutletContext]="view.context" />
780
+ <ng-container
781
+ [ngTemplateOutlet]="template.template"
782
+ [ngTemplateOutletContext]="view.context"
783
+ />
494
784
  } @else {
495
785
  <span class="aeris-carousel__default-item">{{ view.item }}</span>
496
786
  }
@@ -510,7 +800,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
510
800
  [attr.aria-label]="nextAriaLabel()"
511
801
  [disabled]="nextDisabled()"
512
802
  (click)="next('next')"
513
- ><span aria-hidden="true"></span></button>
803
+ >
804
+ @if (nextIconTemplate(); as customIcon) {
805
+ <span aria-hidden="true" data-aeris-custom-icon
806
+ ><ng-container [ngTemplateOutlet]="customIcon"
807
+ /></span>
808
+ } @else {
809
+ <span aerisInternalIcon="chevron" aria-hidden="true"></span>
810
+ }
811
+ </button>
514
812
  }
515
813
  </div>
516
814
 
@@ -519,24 +817,192 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
519
817
  }
520
818
 
521
819
  @if (footerTemplate(); as footer) {
522
- <div class="aeris-carousel__footer"><ng-container [ngTemplateOutlet]="footer.template" /></div>
820
+ <div class="aeris-carousel__footer">
821
+ <ng-container [ngTemplateOutlet]="footer.template" />
822
+ </div>
523
823
  }
524
824
  </section>
525
- `, host: {
526
- class: 'aeris-carousel-host',
527
- '[attr.data-orientation]': 'orientation()',
528
- }, styles: [":host{--_aeris-carousel-chevron: var(--aeris-icon-chevron, url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='m7%209.5%205%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E\"));display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #222222))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-lg, .875rem));touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x}.aeris-carousel__viewport:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 24%,transparent);outline-offset:2px}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-lg, .875rem));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #deddd7));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #222222));cursor:pointer}.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #879566) 50%,var(--aeris-border, #deddd7));background:color-mix(in srgb,var(--aeris-primary, #879566) 10%,var(--aeris-surface, #fff))}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 25%,transparent);outline-offset:2px}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);padding:0;border:0;border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border-strong, #c7c9c0));cursor:pointer;transition:inline-size .16s ease,background .16s ease}.aeris-carousel__indicators button[aria-current=page]{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #879566))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button{transition:none}}\n"] }]
529
- }], ctorParameters: () => [], propDecorators: { itemTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisCarouselItemTemplate), { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisCarouselHeaderTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisCarouselFooterTemplate), { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], numVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "numVisible", required: false }] }], numScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "numScroll", required: false }] }], responsiveOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsiveOptions", required: false }] }], circular: [{ type: i0.Input, args: [{ isSignal: true, alias: "circular", required: false }] }], showNavigators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showNavigators", required: false }] }], showIndicators: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIndicators", required: false }] }], autoplayInterval: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoplayInterval", required: false }] }], pauseOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "pauseOnHover", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], verticalViewportHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "verticalViewportHeight", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], indicatorAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "indicatorAriaLabel", required: false }] }], previousAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "previousAriaLabel", required: false }] }], nextAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "nextAriaLabel", required: false }] }], pageChanged: [{ type: i0.Output, args: ["pageChanged"] }] } });
825
+ `,
826
+ host: {
827
+ class: "aeris-carousel-host",
828
+ "[attr.data-orientation]": "orientation()"
829
+ },
830
+ styles: [":host{--_aeris-carousel-chevron: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%3E%3C/svg%3E') );display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #111111))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x pinch-zoom}.aeris-carousel__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 50%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff))}}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 25%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{display:grid;place-items:center;inline-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));block-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}.aeris-carousel__indicators button:before{content:\"\";inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border, #efefef));transition:inline-size var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-carousel__indicators button[aria-current=page]{inline-size:max(1.5rem,var(--aeris-carousel-active-indicator-width, 1.5rem))}.aeris-carousel__indicators button[aria-current=page]:before{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #111111))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button:before{transition:none}}@media(pointer:coarse){.aeris-carousel__indicators button{min-inline-size:2.75rem;min-block-size:2.75rem}}\n"]
831
+ }]
832
+ }],
833
+ ctorParameters: () => [],
834
+ propDecorators: {
835
+ previousIconTemplate: [{
836
+ type: i0.Input,
837
+ args: [{
838
+ isSignal: true,
839
+ alias: "previousIconTemplate",
840
+ required: false
841
+ }]
842
+ }],
843
+ nextIconTemplate: [{
844
+ type: i0.Input,
845
+ args: [{
846
+ isSignal: true,
847
+ alias: "nextIconTemplate",
848
+ required: false
849
+ }]
850
+ }],
851
+ itemTemplate: [{
852
+ type: i0.ContentChild,
853
+ args: [i0.forwardRef(() => AerisCarouselItemTemplate), { isSignal: true }]
854
+ }],
855
+ headerTemplate: [{
856
+ type: i0.ContentChild,
857
+ args: [i0.forwardRef(() => AerisCarouselHeaderTemplate), { isSignal: true }]
858
+ }],
859
+ footerTemplate: [{
860
+ type: i0.ContentChild,
861
+ args: [i0.forwardRef(() => AerisCarouselFooterTemplate), { isSignal: true }]
862
+ }],
863
+ value: [{
864
+ type: i0.Input,
865
+ args: [{
866
+ isSignal: true,
867
+ alias: "value",
868
+ required: false
869
+ }]
870
+ }],
871
+ page: [{
872
+ type: i0.Input,
873
+ args: [{
874
+ isSignal: true,
875
+ alias: "page",
876
+ required: false
877
+ }]
878
+ }, {
879
+ type: i0.Output,
880
+ args: ["pageChange"]
881
+ }],
882
+ numVisible: [{
883
+ type: i0.Input,
884
+ args: [{
885
+ isSignal: true,
886
+ alias: "numVisible",
887
+ required: false
888
+ }]
889
+ }],
890
+ numScroll: [{
891
+ type: i0.Input,
892
+ args: [{
893
+ isSignal: true,
894
+ alias: "numScroll",
895
+ required: false
896
+ }]
897
+ }],
898
+ responsiveOptions: [{
899
+ type: i0.Input,
900
+ args: [{
901
+ isSignal: true,
902
+ alias: "responsiveOptions",
903
+ required: false
904
+ }]
905
+ }],
906
+ circular: [{
907
+ type: i0.Input,
908
+ args: [{
909
+ isSignal: true,
910
+ alias: "circular",
911
+ required: false
912
+ }]
913
+ }],
914
+ showNavigators: [{
915
+ type: i0.Input,
916
+ args: [{
917
+ isSignal: true,
918
+ alias: "showNavigators",
919
+ required: false
920
+ }]
921
+ }],
922
+ showIndicators: [{
923
+ type: i0.Input,
924
+ args: [{
925
+ isSignal: true,
926
+ alias: "showIndicators",
927
+ required: false
928
+ }]
929
+ }],
930
+ autoplayInterval: [{
931
+ type: i0.Input,
932
+ args: [{
933
+ isSignal: true,
934
+ alias: "autoplayInterval",
935
+ required: false
936
+ }]
937
+ }],
938
+ pauseOnHover: [{
939
+ type: i0.Input,
940
+ args: [{
941
+ isSignal: true,
942
+ alias: "pauseOnHover",
943
+ required: false
944
+ }]
945
+ }],
946
+ orientation: [{
947
+ type: i0.Input,
948
+ args: [{
949
+ isSignal: true,
950
+ alias: "orientation",
951
+ required: false
952
+ }]
953
+ }],
954
+ verticalViewportHeight: [{
955
+ type: i0.Input,
956
+ args: [{
957
+ isSignal: true,
958
+ alias: "verticalViewportHeight",
959
+ required: false
960
+ }]
961
+ }],
962
+ ariaLabel: [{
963
+ type: i0.Input,
964
+ args: [{
965
+ isSignal: true,
966
+ alias: "ariaLabel",
967
+ required: false
968
+ }]
969
+ }],
970
+ indicatorAriaLabel: [{
971
+ type: i0.Input,
972
+ args: [{
973
+ isSignal: true,
974
+ alias: "indicatorAriaLabel",
975
+ required: false
976
+ }]
977
+ }],
978
+ previousAriaLabel: [{
979
+ type: i0.Input,
980
+ args: [{
981
+ isSignal: true,
982
+ alias: "previousAriaLabel",
983
+ required: false
984
+ }]
985
+ }],
986
+ nextAriaLabel: [{
987
+ type: i0.Input,
988
+ args: [{
989
+ isSignal: true,
990
+ alias: "nextAriaLabel",
991
+ required: false
992
+ }]
993
+ }],
994
+ pageChanged: [{
995
+ type: i0.Output,
996
+ args: ["pageChanged"]
997
+ }]
998
+ }
999
+ });
530
1000
  const AerisCarouselModule = [
531
- AerisCarousel,
532
- AerisCarouselItemTemplate,
533
- AerisCarouselHeaderTemplate,
534
- AerisCarouselFooterTemplate,
1001
+ AerisCarousel,
1002
+ AerisCarouselItemTemplate,
1003
+ AerisCarouselHeaderTemplate,
1004
+ AerisCarouselFooterTemplate
535
1005
  ];
536
-
537
- /**
538
- * Generated bundle index. Do not edit.
539
- */
540
-
541
1006
  export { AerisCarousel, AerisCarouselFooterTemplate, AerisCarouselHeaderTemplate, AerisCarouselItemTemplate, AerisCarouselModule };
542
- //# sourceMappingURL=aeris-ui-core-carousel.mjs.map
1007
+
1008
+ //# sourceMappingURL=aeris-ui-core-carousel.mjs.map