@aeris-ui/core 22.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +189 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +412 -0
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -0
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +107 -0
  6. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -0
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs +754 -0
  8. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -0
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs +63 -0
  10. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -0
  11. package/fesm2022/aeris-ui-core-avatar.mjs +133 -0
  12. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -0
  13. package/fesm2022/aeris-ui-core-badge.mjs +163 -0
  14. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -0
  15. package/fesm2022/aeris-ui-core-block-ui.mjs +139 -0
  16. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -0
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs +433 -0
  18. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -0
  19. package/fesm2022/aeris-ui-core-button-group.mjs +39 -0
  20. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -0
  21. package/fesm2022/aeris-ui-core-button.mjs +246 -0
  22. package/fesm2022/aeris-ui-core-button.mjs.map +1 -0
  23. package/fesm2022/aeris-ui-core-card.mjs +134 -0
  24. package/fesm2022/aeris-ui-core-card.mjs.map +1 -0
  25. package/fesm2022/aeris-ui-core-carousel.mjs +542 -0
  26. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -0
  27. package/fesm2022/aeris-ui-core-cascade-select.mjs +673 -0
  28. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -0
  29. package/fesm2022/aeris-ui-core-chart.mjs +296 -0
  30. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -0
  31. package/fesm2022/aeris-ui-core-checkbox.mjs +220 -0
  32. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -0
  33. package/fesm2022/aeris-ui-core-chip.mjs +200 -0
  34. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -0
  35. package/fesm2022/aeris-ui-core-class-names.mjs +67 -0
  36. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -0
  37. package/fesm2022/aeris-ui-core-color-picker.mjs +1192 -0
  38. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -0
  39. package/fesm2022/aeris-ui-core-compare.mjs +508 -0
  40. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -0
  41. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +818 -0
  42. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -0
  43. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1010 -0
  44. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -0
  45. package/fesm2022/aeris-ui-core-context-menu.mjs +720 -0
  46. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -0
  47. package/fesm2022/aeris-ui-core-date-picker.mjs +1471 -0
  48. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -0
  49. package/fesm2022/aeris-ui-core-dialog.mjs +574 -0
  50. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -0
  51. package/fesm2022/aeris-ui-core-divider.mjs +51 -0
  52. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -0
  53. package/fesm2022/aeris-ui-core-drawer.mjs +549 -0
  54. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -0
  55. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +333 -0
  56. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -0
  57. package/fesm2022/aeris-ui-core-editor.mjs +1548 -0
  58. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -0
  59. package/fesm2022/aeris-ui-core-file-upload.mjs +965 -0
  60. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -0
  61. package/fesm2022/aeris-ui-core-filter-service.mjs +304 -0
  62. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -0
  63. package/fesm2022/aeris-ui-core-fluid.mjs +23 -0
  64. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -0
  65. package/fesm2022/aeris-ui-core-focus-trap.mjs +185 -0
  66. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -0
  67. package/fesm2022/aeris-ui-core-galleria.mjs +1657 -0
  68. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -0
  69. package/fesm2022/aeris-ui-core-glass.mjs +35 -0
  70. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -0
  71. package/fesm2022/aeris-ui-core-icon-field.mjs +113 -0
  72. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -0
  73. package/fesm2022/aeris-ui-core-inplace.mjs +243 -0
  74. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -0
  75. package/fesm2022/aeris-ui-core-input-group.mjs +110 -0
  76. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -0
  77. package/fesm2022/aeris-ui-core-input-mask.mjs +343 -0
  78. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -0
  79. package/fesm2022/aeris-ui-core-input-number.mjs +497 -0
  80. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -0
  81. package/fesm2022/aeris-ui-core-input-otp.mjs +361 -0
  82. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -0
  83. package/fesm2022/aeris-ui-core-input-text.mjs +226 -0
  84. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -0
  85. package/fesm2022/aeris-ui-core-key-filter.mjs +208 -0
  86. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -0
  87. package/fesm2022/aeris-ui-core-mega-menu.mjs +835 -0
  88. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -0
  89. package/fesm2022/aeris-ui-core-menu.mjs +796 -0
  90. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -0
  91. package/fesm2022/aeris-ui-core-menubar.mjs +729 -0
  92. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -0
  93. package/fesm2022/aeris-ui-core-message.mjs +225 -0
  94. package/fesm2022/aeris-ui-core-message.mjs.map +1 -0
  95. package/fesm2022/aeris-ui-core-meter-group.mjs +377 -0
  96. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -0
  97. package/fesm2022/aeris-ui-core-multi-select.mjs +1033 -0
  98. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -0
  99. package/fesm2022/aeris-ui-core-order-list.mjs +351 -0
  100. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-organization-chart.mjs +382 -0
  102. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -0
  103. package/fesm2022/aeris-ui-core-paginator.mjs +254 -0
  104. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -0
  105. package/fesm2022/aeris-ui-core-panel.mjs +352 -0
  106. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -0
  107. package/fesm2022/aeris-ui-core-password.mjs +479 -0
  108. package/fesm2022/aeris-ui-core-password.mjs.map +1 -0
  109. package/fesm2022/aeris-ui-core-pick-list.mjs +939 -0
  110. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -0
  111. package/fesm2022/aeris-ui-core-popover.mjs +535 -0
  112. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -0
  113. package/fesm2022/aeris-ui-core-progress-bar.mjs +260 -0
  114. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -0
  115. package/fesm2022/aeris-ui-core-progress-spinner.mjs +218 -0
  116. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -0
  117. package/fesm2022/aeris-ui-core-radio-button.mjs +194 -0
  118. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -0
  119. package/fesm2022/aeris-ui-core-rating.mjs +385 -0
  120. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -0
  121. package/fesm2022/aeris-ui-core-scroll-panel.mjs +211 -0
  122. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -0
  123. package/fesm2022/aeris-ui-core-scroll-top.mjs +94 -0
  124. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -0
  125. package/fesm2022/aeris-ui-core-select.mjs +1134 -0
  126. package/fesm2022/aeris-ui-core-select.mjs.map +1 -0
  127. package/fesm2022/aeris-ui-core-skeleton.mjs +47 -0
  128. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -0
  129. package/fesm2022/aeris-ui-core-slider.mjs +724 -0
  130. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -0
  131. package/fesm2022/aeris-ui-core-speed-dial.mjs +589 -0
  132. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -0
  133. package/fesm2022/aeris-ui-core-split-button.mjs +532 -0
  134. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -0
  135. package/fesm2022/aeris-ui-core-splitter.mjs +488 -0
  136. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -0
  137. package/fesm2022/aeris-ui-core-stepper.mjs +437 -0
  138. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -0
  139. package/fesm2022/aeris-ui-core-style-class.mjs +344 -0
  140. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -0
  141. package/fesm2022/aeris-ui-core-table.mjs +1580 -0
  142. package/fesm2022/aeris-ui-core-table.mjs.map +1 -0
  143. package/fesm2022/aeris-ui-core-tabs.mjs +438 -0
  144. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -0
  145. package/fesm2022/aeris-ui-core-textarea.mjs +349 -0
  146. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -0
  147. package/fesm2022/aeris-ui-core-theme-builder.mjs +1565 -0
  148. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -0
  149. package/fesm2022/aeris-ui-core-theming.mjs +150 -0
  150. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -0
  151. package/fesm2022/aeris-ui-core-tiered-menu.mjs +718 -0
  152. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -0
  153. package/fesm2022/aeris-ui-core-timeline.mjs +278 -0
  154. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -0
  155. package/fesm2022/aeris-ui-core-toast.mjs +422 -0
  156. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -0
  157. package/fesm2022/aeris-ui-core-toggle-switch.mjs +202 -0
  158. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -0
  159. package/fesm2022/aeris-ui-core-toolbar.mjs +136 -0
  160. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -0
  161. package/fesm2022/aeris-ui-core-tooltip.mjs +365 -0
  162. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -0
  163. package/fesm2022/aeris-ui-core-tree-select.mjs +995 -0
  164. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -0
  165. package/fesm2022/aeris-ui-core-tree-table.mjs +1600 -0
  166. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -0
  167. package/fesm2022/aeris-ui-core-tree.mjs +962 -0
  168. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -0
  169. package/fesm2022/aeris-ui-core.mjs +360 -0
  170. package/fesm2022/aeris-ui-core.mjs.map +1 -0
  171. package/package.json +432 -0
  172. package/schematics/aeris-setup.schema.json +52 -0
  173. package/schematics/collection.json +10 -0
  174. package/schematics/ng-add/schema.json +64 -0
  175. package/schematics/runtime/package.json +3 -0
  176. package/schematics/runtime/schematics/ng-add/index.js +13 -0
  177. package/schematics/runtime/schematics/ng-add/index.js.map +1 -0
  178. package/schematics/runtime/schematics/ng-add/options.js +338 -0
  179. package/schematics/runtime/schematics/ng-add/options.js.map +1 -0
  180. package/schematics/runtime/schematics/ng-add/schema.js +3 -0
  181. package/schematics/runtime/schematics/ng-add/schema.js.map +1 -0
  182. package/schematics/runtime/schematics/ng-add/workspace.js +273 -0
  183. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -0
  184. package/schematics/runtime/theme-builder/aeris-color-derivation.js +12 -0
  185. package/schematics/runtime/theme-builder/aeris-color-derivation.js.map +1 -0
  186. package/schematics/runtime/theme-builder/aeris-color.js +263 -0
  187. package/schematics/runtime/theme-builder/aeris-color.js.map +1 -0
  188. package/schematics/runtime/theme-builder/aeris-contrast.js +245 -0
  189. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -0
  190. package/schematics/runtime/theme-builder/aeris-foundation.js +47 -0
  191. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -0
  192. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +121 -0
  193. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -0
  194. package/schematics/runtime/theme-builder/aeris-theme-generator.js +238 -0
  195. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -0
  196. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +101 -0
  197. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -0
  198. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +82 -0
  199. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -0
  200. package/schematics/runtime/theme-builder/aeris-theme-validation.js +183 -0
  201. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -0
  202. package/schematics/runtime/theme-builder/aeris-theme.js +322 -0
  203. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -0
  204. package/schematics/runtime/theme-builder/public-api.js +17 -0
  205. package/schematics/runtime/theme-builder/public-api.js.map +1 -0
  206. package/styles/_index.scss +1 -0
  207. package/styles/_tokens.scss +13 -0
  208. package/styles/aeris.css +555 -0
  209. package/styles/controls.css +169 -0
  210. package/tools/aeris-theme.mjs +149 -0
  211. package/tools/aeris-theme.schema.json +143 -0
  212. package/types/aeris-ui-core-accordion.d.ts +101 -0
  213. package/types/aeris-ui-core-animate-on-scroll.d.ts +34 -0
  214. package/types/aeris-ui-core-auto-complete.d.ts +154 -0
  215. package/types/aeris-ui-core-auto-focus.d.ts +17 -0
  216. package/types/aeris-ui-core-avatar.d.ts +44 -0
  217. package/types/aeris-ui-core-badge.d.ts +48 -0
  218. package/types/aeris-ui-core-block-ui.d.ts +28 -0
  219. package/types/aeris-ui-core-breadcrumb.d.ts +104 -0
  220. package/types/aeris-ui-core-button-group.d.ts +17 -0
  221. package/types/aeris-ui-core-button.d.ts +71 -0
  222. package/types/aeris-ui-core-card.d.ts +43 -0
  223. package/types/aeris-ui-core-carousel.d.ts +126 -0
  224. package/types/aeris-ui-core-cascade-select.d.ts +130 -0
  225. package/types/aeris-ui-core-chart.d.ts +92 -0
  226. package/types/aeris-ui-core-checkbox.d.ts +55 -0
  227. package/types/aeris-ui-core-chip.d.ts +56 -0
  228. package/types/aeris-ui-core-class-names.d.ts +21 -0
  229. package/types/aeris-ui-core-color-picker.d.ts +149 -0
  230. package/types/aeris-ui-core-compare.d.ts +109 -0
  231. package/types/aeris-ui-core-confirm-dialog.d.ts +263 -0
  232. package/types/aeris-ui-core-confirm-popup.d.ts +281 -0
  233. package/types/aeris-ui-core-context-menu.d.ts +156 -0
  234. package/types/aeris-ui-core-date-picker.d.ts +226 -0
  235. package/types/aeris-ui-core-dialog.d.ts +124 -0
  236. package/types/aeris-ui-core-divider.d.ts +21 -0
  237. package/types/aeris-ui-core-drawer.d.ts +119 -0
  238. package/types/aeris-ui-core-dynamic-dialog.d.ts +148 -0
  239. package/types/aeris-ui-core-editor.d.ts +130 -0
  240. package/types/aeris-ui-core-file-upload.d.ts +199 -0
  241. package/types/aeris-ui-core-filter-service.d.ts +54 -0
  242. package/types/aeris-ui-core-fluid.d.ts +10 -0
  243. package/types/aeris-ui-core-focus-trap.d.ts +32 -0
  244. package/types/aeris-ui-core-galleria.d.ts +273 -0
  245. package/types/aeris-ui-core-glass.d.ts +17 -0
  246. package/types/aeris-ui-core-icon-field.d.ts +36 -0
  247. package/types/aeris-ui-core-inplace.d.ts +68 -0
  248. package/types/aeris-ui-core-input-group.d.ts +38 -0
  249. package/types/aeris-ui-core-input-mask.d.ts +73 -0
  250. package/types/aeris-ui-core-input-number.d.ts +87 -0
  251. package/types/aeris-ui-core-input-otp.d.ts +88 -0
  252. package/types/aeris-ui-core-input-text.d.ts +63 -0
  253. package/types/aeris-ui-core-key-filter.d.ts +41 -0
  254. package/types/aeris-ui-core-mega-menu.d.ts +130 -0
  255. package/types/aeris-ui-core-menu.d.ts +182 -0
  256. package/types/aeris-ui-core-menubar.d.ts +145 -0
  257. package/types/aeris-ui-core-message.d.ts +65 -0
  258. package/types/aeris-ui-core-meter-group.d.ts +100 -0
  259. package/types/aeris-ui-core-multi-select.d.ts +193 -0
  260. package/types/aeris-ui-core-order-list.d.ts +73 -0
  261. package/types/aeris-ui-core-organization-chart.d.ts +85 -0
  262. package/types/aeris-ui-core-paginator.d.ts +39 -0
  263. package/types/aeris-ui-core-panel.d.ts +85 -0
  264. package/types/aeris-ui-core-password.d.ts +110 -0
  265. package/types/aeris-ui-core-pick-list.d.ts +193 -0
  266. package/types/aeris-ui-core-popover.d.ts +112 -0
  267. package/types/aeris-ui-core-progress-bar.d.ts +81 -0
  268. package/types/aeris-ui-core-progress-spinner.d.ts +51 -0
  269. package/types/aeris-ui-core-radio-button.d.ts +51 -0
  270. package/types/aeris-ui-core-rating.d.ts +80 -0
  271. package/types/aeris-ui-core-scroll-panel.d.ts +66 -0
  272. package/types/aeris-ui-core-scroll-top.d.ts +29 -0
  273. package/types/aeris-ui-core-select.d.ts +223 -0
  274. package/types/aeris-ui-core-skeleton.d.ts +18 -0
  275. package/types/aeris-ui-core-slider.d.ts +117 -0
  276. package/types/aeris-ui-core-speed-dial.d.ts +119 -0
  277. package/types/aeris-ui-core-split-button.d.ts +122 -0
  278. package/types/aeris-ui-core-splitter.d.ts +113 -0
  279. package/types/aeris-ui-core-stepper.d.ts +99 -0
  280. package/types/aeris-ui-core-style-class.d.ts +73 -0
  281. package/types/aeris-ui-core-table.d.ts +333 -0
  282. package/types/aeris-ui-core-tabs.d.ts +82 -0
  283. package/types/aeris-ui-core-textarea.d.ts +80 -0
  284. package/types/aeris-ui-core-theme-builder.d.ts +499 -0
  285. package/types/aeris-ui-core-theming.d.ts +47 -0
  286. package/types/aeris-ui-core-tiered-menu.d.ts +152 -0
  287. package/types/aeris-ui-core-timeline.d.ts +80 -0
  288. package/types/aeris-ui-core-toast.d.ts +127 -0
  289. package/types/aeris-ui-core-toggle-switch.d.ts +52 -0
  290. package/types/aeris-ui-core-toolbar.d.ts +47 -0
  291. package/types/aeris-ui-core-tooltip.d.ts +92 -0
  292. package/types/aeris-ui-core-tree-select.d.ts +187 -0
  293. package/types/aeris-ui-core-tree-table.d.ts +311 -0
  294. package/types/aeris-ui-core-tree.d.ts +179 -0
  295. package/types/aeris-ui-core.d.ts +85 -0
@@ -0,0 +1,438 @@
1
+ import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, TemplateRef, Directive, ElementRef, input, booleanAttribute, viewChild, contentChild, Component, PLATFORM_ID, DestroyRef, model, output, contentChildren, computed, viewChildren, signal, afterNextRender, effect } from '@angular/core';
4
+
5
+ class AerisTabHeaderTemplate {
6
+ template = inject(TemplateRef);
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisTabHeaderTemplate, isStandalone: true, selector: "ng-template[aerisTabHeader]", ngImport: i0 });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabHeaderTemplate, decorators: [{
11
+ type: Directive,
12
+ args: [{ selector: 'ng-template[aerisTabHeader]' }]
13
+ }] });
14
+ let nextPanelId = 0;
15
+ class AerisTabPanel {
16
+ element = inject(ElementRef);
17
+ instanceId = nextPanelId++;
18
+ value = input.required(/* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
20
+ label = input.required(/* @ts-ignore */
21
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
22
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
23
+ panelId = `aeris-tab-panel-${this.instanceId}`;
24
+ tabId = `aeris-tab-${this.instanceId}`;
25
+ content = viewChild.required('content', /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
27
+ headerTemplate = contentChild(AerisTabHeaderTemplate, { ...(ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
28
+ isDirectPanelOf(tabsHost) {
29
+ const parent = this.element.nativeElement.parentElement;
30
+ return (parent?.classList.contains('aeris-tabs__panel-source') === true &&
31
+ parent.parentElement === tabsHost);
32
+ }
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.6", type: AerisTabPanel, isStandalone: true, selector: "aeris-tab-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.display": "\"none\"" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: AerisTabHeaderTemplate, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
35
+ <ng-template #content>
36
+ <ng-content />
37
+ </ng-template>
38
+ `, isInline: true });
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabPanel, decorators: [{
41
+ type: Component,
42
+ args: [{
43
+ selector: 'aeris-tab-panel',
44
+ template: `
45
+ <ng-template #content>
46
+ <ng-content />
47
+ </ng-template>
48
+ `,
49
+ host: {
50
+ '[style.display]': '"none"',
51
+ },
52
+ }]
53
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], content: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisTabHeaderTemplate), { ...{
54
+ descendants: false,
55
+ }, isSignal: true }] }] } });
56
+ class AerisTabs {
57
+ hostElement = inject(ElementRef).nativeElement;
58
+ isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
59
+ destroyRef = inject(DestroyRef);
60
+ value = model('', /* @ts-ignore */
61
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
62
+ ariaLabel = input('', /* @ts-ignore */
63
+ ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
64
+ ariaLabelledBy = input('', /* @ts-ignore */
65
+ ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
66
+ orientation = input('horizontal', /* @ts-ignore */
67
+ ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
68
+ activationMode = input('automatic', /* @ts-ignore */
69
+ ...(ngDevMode ? [{ debugName: "activationMode" }] : /* istanbul ignore next */ []));
70
+ variant = input('line', /* @ts-ignore */
71
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
72
+ size = input('md', /* @ts-ignore */
73
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
74
+ justify = input('start', /* @ts-ignore */
75
+ ...(ngDevMode ? [{ debugName: "justify" }] : /* istanbul ignore next */ []));
76
+ scrollable = input(true, { ...(ngDevMode ? { debugName: "scrollable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
77
+ panelTabIndex = input(0, /* @ts-ignore */
78
+ ...(ngDevMode ? [{ debugName: "panelTabIndex" }] : /* istanbul ignore next */ []));
79
+ changed = output();
80
+ tabFocused = output();
81
+ discoveredPanels = contentChildren(AerisTabPanel, { ...(ngDevMode ? { debugName: "discoveredPanels" } : /* istanbul ignore next */ {}), descendants: true });
82
+ panels = computed(() => this.discoveredPanels().filter((panel) => panel.isDirectPanelOf(this.hostElement)), /* @ts-ignore */
83
+ ...(ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []));
84
+ tabButtons = viewChildren('tabButton', /* @ts-ignore */
85
+ ...(ngDevMode ? [{ debugName: "tabButtons" }] : /* istanbul ignore next */ []));
86
+ tabList = viewChild('tabList', /* @ts-ignore */
87
+ ...(ngDevMode ? [{ debugName: "tabList" }] : /* istanbul ignore next */ []));
88
+ tabHeader = viewChild('tabHeader', /* @ts-ignore */
89
+ ...(ngDevMode ? [{ debugName: "tabHeader" }] : /* istanbul ignore next */ []));
90
+ focusedValue = signal('', /* @ts-ignore */
91
+ ...(ngDevMode ? [{ debugName: "focusedValue" }] : /* istanbul ignore next */ []));
92
+ hasOverflow = signal(false, /* @ts-ignore */
93
+ ...(ngDevMode ? [{ debugName: "hasOverflow" }] : /* istanbul ignore next */ []));
94
+ canScrollPrevious = signal(false, /* @ts-ignore */
95
+ ...(ngDevMode ? [{ debugName: "canScrollPrevious" }] : /* istanbul ignore next */ []));
96
+ canScrollNext = signal(false, /* @ts-ignore */
97
+ ...(ngDevMode ? [{ debugName: "canScrollNext" }] : /* istanbul ignore next */ []));
98
+ showScrollControls = computed(() => this.scrollable() && this.orientation() === 'horizontal' && this.hasOverflow(), /* @ts-ignore */
99
+ ...(ngDevMode ? [{ debugName: "showScrollControls" }] : /* istanbul ignore next */ []));
100
+ activePanel = computed(() => this.panels().find((panel) => !panel.disabled() && panel.value() === this.value()) ??
101
+ this.panels().find((panel) => !panel.disabled()), /* @ts-ignore */
102
+ ...(ngDevMode ? [{ debugName: "activePanel" }] : /* istanbul ignore next */ []));
103
+ focusedPanel = computed(() => this.panels().find((panel) => !panel.disabled() && panel.value() === this.focusedValue()) ??
104
+ this.activePanel(), /* @ts-ignore */
105
+ ...(ngDevMode ? [{ debugName: "focusedPanel" }] : /* istanbul ignore next */ []));
106
+ constructor() {
107
+ afterNextRender(() => {
108
+ this.updateScrollState();
109
+ this.observeTabSizing();
110
+ });
111
+ effect(() => {
112
+ const panelSignature = this.panels()
113
+ .map((panel) => `${panel.value()}:${panel.label()}:${panel.disabled()}`)
114
+ .join('|');
115
+ if (!panelSignature)
116
+ return;
117
+ queueMicrotask(() => this.updateScrollState());
118
+ });
119
+ }
120
+ select(valueOrPanel, originalEvent = null) {
121
+ const panel = typeof valueOrPanel === 'string'
122
+ ? this.panels().find((candidate) => candidate.value() === valueOrPanel)
123
+ : valueOrPanel;
124
+ if (!panel || panel.disabled())
125
+ return;
126
+ const previousValue = this.activePanel()?.value() ?? '';
127
+ this.focusedValue.set(panel.value());
128
+ if (previousValue === panel.value() && this.value() === panel.value())
129
+ return;
130
+ this.value.set(panel.value());
131
+ this.changed.emit({
132
+ originalEvent,
133
+ value: panel.value(),
134
+ previousValue,
135
+ });
136
+ }
137
+ focusTab(value, options) {
138
+ const panelIndex = this.panels().findIndex((panel) => !panel.disabled() && panel.value() === value);
139
+ if (panelIndex < 0)
140
+ return;
141
+ this.focusedValue.set(value);
142
+ this.tabButtons()[panelIndex]?.nativeElement.focus(options);
143
+ }
144
+ handleKeydown(event) {
145
+ if (this.activationMode() === 'manual' && (event.key === 'Enter' || event.key === ' ')) {
146
+ event.preventDefault();
147
+ const panel = this.focusedPanel();
148
+ if (panel)
149
+ this.select(panel, event);
150
+ return;
151
+ }
152
+ const direction = this.keyDirection(event.key);
153
+ if (direction === undefined)
154
+ return;
155
+ event.preventDefault();
156
+ const enabledPanels = this.panels().filter((panel) => !panel.disabled());
157
+ if (enabledPanels.length === 0)
158
+ return;
159
+ const currentPanel = this.focusedPanel() ?? this.activePanel();
160
+ const currentIndex = Math.max(enabledPanels.indexOf(currentPanel), 0);
161
+ const nextIndex = direction === 'first'
162
+ ? 0
163
+ : direction === 'last'
164
+ ? enabledPanels.length - 1
165
+ : (currentIndex + direction + enabledPanels.length) % enabledPanels.length;
166
+ const nextPanel = enabledPanels[nextIndex];
167
+ if (!nextPanel)
168
+ return;
169
+ this.focusedValue.set(nextPanel.value());
170
+ if (this.activationMode() === 'automatic')
171
+ this.select(nextPanel, event);
172
+ this.focusTab(nextPanel.value());
173
+ this.scrollPanelIntoView(nextPanel);
174
+ }
175
+ handleTabFocus(panel, event) {
176
+ this.focusedValue.set(panel.value());
177
+ this.tabFocused.emit(panel.value());
178
+ if (this.activationMode() === 'automatic' && panel !== this.activePanel()) {
179
+ this.select(panel, event);
180
+ }
181
+ }
182
+ scrollTabs(direction) {
183
+ const list = this.tabList()?.nativeElement;
184
+ if (!list)
185
+ return;
186
+ const left = direction * Math.max(list.clientWidth * 0.75, 160);
187
+ if (typeof list.scrollBy === 'function') {
188
+ list.scrollBy({ left, behavior: 'smooth' });
189
+ }
190
+ else {
191
+ list.scrollLeft += left;
192
+ }
193
+ queueMicrotask(() => this.updateScrollState());
194
+ }
195
+ updateScrollState() {
196
+ const list = this.tabList()?.nativeElement;
197
+ const header = this.tabHeader()?.nativeElement;
198
+ if (!list || !header)
199
+ return;
200
+ const overflow = this.scrollable() &&
201
+ this.orientation() === 'horizontal' &&
202
+ list.scrollWidth > header.clientWidth + 1;
203
+ this.hasOverflow.set(overflow);
204
+ if (!overflow) {
205
+ this.canScrollPrevious.set(false);
206
+ this.canScrollNext.set(false);
207
+ return;
208
+ }
209
+ this.canScrollPrevious.set(list.scrollLeft > 1);
210
+ this.canScrollNext.set(list.scrollLeft + list.clientWidth < list.scrollWidth - 1);
211
+ }
212
+ observeTabSizing() {
213
+ if (!this.isBrowser || typeof globalThis.ResizeObserver !== 'function')
214
+ return;
215
+ const header = this.tabHeader()?.nativeElement;
216
+ const list = this.tabList()?.nativeElement;
217
+ if (!header || !list)
218
+ return;
219
+ const observer = new ResizeObserver(() => this.updateScrollState());
220
+ observer.observe(header);
221
+ observer.observe(list);
222
+ for (const button of this.tabButtons())
223
+ observer.observe(button.nativeElement);
224
+ this.destroyRef.onDestroy(() => observer.disconnect());
225
+ }
226
+ scrollPanelIntoView(panel) {
227
+ const panelIndex = this.panels().indexOf(panel);
228
+ const tab = this.tabButtons()[panelIndex]?.nativeElement;
229
+ if (typeof tab?.scrollIntoView === 'function') {
230
+ tab.scrollIntoView({
231
+ behavior: this.isBrowser ? 'smooth' : 'auto',
232
+ block: 'nearest',
233
+ inline: 'nearest',
234
+ });
235
+ }
236
+ queueMicrotask(() => this.updateScrollState());
237
+ }
238
+ keyDirection(key) {
239
+ if (key === 'Home')
240
+ return 'first';
241
+ if (key === 'End')
242
+ return 'last';
243
+ if ((this.orientation() === 'horizontal' && key === 'ArrowLeft') ||
244
+ (this.orientation() === 'vertical' && key === 'ArrowUp')) {
245
+ return -1;
246
+ }
247
+ if ((this.orientation() === 'horizontal' && key === 'ArrowRight') ||
248
+ (this.orientation() === 'vertical' && key === 'ArrowDown')) {
249
+ return 1;
250
+ }
251
+ return undefined;
252
+ }
253
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabs, deps: [], target: i0.ɵɵFactoryTarget.Component });
254
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisTabs, isStandalone: true, selector: "aeris-tabs", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, activationMode: { classPropertyName: "activationMode", publicName: "activationMode", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, panelTabIndex: { classPropertyName: "panelTabIndex", publicName: "panelTabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", changed: "changed", tabFocused: "tabFocused" }, host: { properties: { "attr.data-orientation": "orientation()", "attr.data-variant": "variant()", "attr.data-size": "size()", "attr.data-justify": "justify()", "attr.data-scrollable": "scrollable() || null" }, classAttribute: "aeris-tabs" }, queries: [{ propertyName: "discoveredPanels", predicate: AerisTabPanel, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tabButtons", predicate: ["tabButton"], descendants: true, isSignal: true }, { propertyName: "tabList", first: true, predicate: ["tabList"], descendants: true, isSignal: true }, { propertyName: "tabHeader", first: true, predicate: ["tabHeader"], descendants: true, isSignal: true }], ngImport: i0, template: `
255
+ <div class="aeris-tabs__panel-source" aria-hidden="true">
256
+ <ng-content />
257
+ </div>
258
+
259
+ <div #tabHeader class="aeris-tabs__header">
260
+ @if (showScrollControls()) {
261
+ <button
262
+ class="aeris-tabs__scroll aeris-tabs__scroll--previous"
263
+ type="button"
264
+ aria-label="Scroll tabs backward"
265
+ [disabled]="!canScrollPrevious()"
266
+ (click)="scrollTabs(-1)"
267
+ >
268
+ <span aria-hidden="true"></span>
269
+ </button>
270
+ }
271
+
272
+ <div
273
+ #tabList
274
+ class="aeris-tabs__list"
275
+ role="tablist"
276
+ [attr.aria-label]="ariaLabel() || null"
277
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
278
+ [attr.aria-orientation]="orientation()"
279
+ (keydown)="handleKeydown($event)"
280
+ (scroll)="updateScrollState()"
281
+ >
282
+ @for (panel of panels(); track panel.value()) {
283
+ <button
284
+ #tabButton
285
+ type="button"
286
+ role="tab"
287
+ [id]="panel.tabId"
288
+ [disabled]="panel.disabled()"
289
+ [attr.aria-selected]="panel === activePanel()"
290
+ [attr.aria-controls]="panel.panelId"
291
+ [attr.tabindex]="panel === focusedPanel() ? 0 : -1"
292
+ (click)="select(panel, $event)"
293
+ (focus)="handleTabFocus(panel, $event)"
294
+ >
295
+ @if (panel.headerTemplate(); as header) {
296
+ <ng-container
297
+ [ngTemplateOutlet]="header.template"
298
+ [ngTemplateOutletContext]="{
299
+ $implicit: panel === activePanel(),
300
+ selected: panel === activePanel(),
301
+ disabled: panel.disabled(),
302
+ }"
303
+ />
304
+ } @else {
305
+ {{ panel.label() }}
306
+ }
307
+ </button>
308
+ }
309
+ </div>
310
+
311
+ @if (showScrollControls()) {
312
+ <button
313
+ class="aeris-tabs__scroll aeris-tabs__scroll--next"
314
+ type="button"
315
+ aria-label="Scroll tabs forward"
316
+ [disabled]="!canScrollNext()"
317
+ (click)="scrollTabs(1)"
318
+ >
319
+ <span aria-hidden="true"></span>
320
+ </button>
321
+ }
322
+ </div>
323
+
324
+ @if (activePanel(); as panel) {
325
+ <div
326
+ class="aeris-tabs__panel"
327
+ role="tabpanel"
328
+ [id]="panel.panelId"
329
+ [attr.aria-labelledby]="panel.tabId"
330
+ [attr.tabindex]="panelTabIndex()"
331
+ >
332
+ <ng-container [ngTemplateOutlet]="panel.content()" />
333
+ </div>
334
+ }
335
+ `, isInline: true, styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );--_tab-height: 3rem;--_tab-padding: 1rem;--_tab-font-size: .875rem;display:block;min-width:0}:host([data-size=sm]){--_tab-height: 2.25rem;--_tab-padding: .75rem;--_tab-font-size: .75rem}:host([data-size=lg]){--_tab-height: 3.5rem;--_tab-padding: 1.25rem;--_tab-font-size: .9375rem}.aeris-tabs__header{display:flex;align-items:stretch;min-width:0}.aeris-tabs__list{min-width:0;display:flex;flex:1 1 auto;gap:.25rem;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));overflow:visible;scrollbar-width:none}.aeris-tabs__list::-webkit-scrollbar{display:none}:host([data-scrollable][data-orientation=horizontal]) .aeris-tabs__list{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-tabs__list button{position:relative;min-height:var(--_tab-height);flex:0 0 auto;padding:0 var(--_tab-padding);border:0;border-radius:var(--aeris-tabs-radius, .4375rem);background:transparent;color:var(--aeris-tabs-text, var(--aeris-text-2, #555555));font:inherit;font-size:var(--_tab-font-size);font-weight:600;white-space:nowrap;cursor:pointer}.aeris-tabs__list button:after{position:absolute;right:.75rem;bottom:-1px;left:.75rem;height:2px;border-radius:99px 99px 0 0;background:transparent;content:\"\"}.aeris-tabs__list button:hover:not(:disabled){background:transparent;color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #566137))}.aeris-tabs__list button[aria-selected=true]{color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #566137))}.aeris-tabs__list button[aria-selected=true]:after{background:var(--aeris-tabs-indicator, var(--aeris-primary, #879566))}.aeris-tabs__list button:disabled{opacity:var(--aeris-disabled-opacity, .45);cursor:not-allowed}.aeris-tabs__list button:focus-visible,.aeris-tabs__scroll:focus-visible{z-index:1;outline:2px solid var(--aeris-focus, #536437);outline-offset:-2px}:host([data-variant=pill]) .aeris-tabs__list{gap:.25rem;padding:.25rem;border:0;border-radius:calc(var(--aeris-tabs-radius, .4375rem) + .25rem);background:var(--aeris-tabs-list-background, var(--aeris-surface-2, #f2f0ec))}:host([data-variant=pill]) .aeris-tabs__list button{min-height:calc(var(--_tab-height) - .5rem)}:host([data-variant=pill]) .aeris-tabs__list button:after{display:none}:host([data-variant=pill]) .aeris-tabs__list button:hover:not(:disabled){background:var(--aeris-tabs-hover, color-mix(in srgb, var(--aeris-surface, #fff) 76%, transparent));color:var(--aeris-text, #222222)}:host([data-variant=pill]) .aeris-tabs__list button[aria-selected=true]{background:var(--aeris-tabs-active-background, var(--aeris-surface, #fff));box-shadow:0 1px 3px #1f231b1a;color:var(--aeris-text, #222222)}:host([data-justify=center]) .aeris-tabs__list{justify-content:center}:host([data-justify=end]) .aeris-tabs__list{justify-content:flex-end}:host([data-justify=stretch]) .aeris-tabs__list button{flex:1 1 0}.aeris-tabs__scroll{width:2.25rem;flex:0 0 2.25rem;display:grid;place-items:center;padding:0;border:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-tabs__scroll:disabled{opacity:.3;cursor:default}.aeris-tabs__scroll span{position:relative;width:1rem;height:1rem}.aeris-tabs__scroll span:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%) rotate(90deg);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-tabs__scroll--next span:before{transform:translate(-50%,-50%) rotate(-90deg)}.aeris-tabs__panel-source{display:none}.aeris-tabs__panel{min-width:0;padding-top:var(--aeris-tabs-panel-padding, 1rem)}:host([data-orientation=vertical]){display:grid;grid-template-columns:max-content minmax(0,1fr)}:host([data-orientation=vertical]) .aeris-tabs__header{display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:column;border-right:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));border-bottom:0}:host([data-orientation=vertical]) .aeris-tabs__list button{text-align:left}:host([data-orientation=vertical]) .aeris-tabs__list button:after{top:.5rem;right:-1px;bottom:.5rem;left:auto;width:2px;height:auto}@media(max-width:40rem){:host([data-orientation=vertical]){display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:row;border-right:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));overflow-x:auto}}@media(prefers-reduced-motion:reduce){.aeris-tabs__list{scroll-behavior:auto}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
336
+ }
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisTabs, decorators: [{
338
+ type: Component,
339
+ args: [{ selector: 'aeris-tabs', imports: [NgTemplateOutlet], template: `
340
+ <div class="aeris-tabs__panel-source" aria-hidden="true">
341
+ <ng-content />
342
+ </div>
343
+
344
+ <div #tabHeader class="aeris-tabs__header">
345
+ @if (showScrollControls()) {
346
+ <button
347
+ class="aeris-tabs__scroll aeris-tabs__scroll--previous"
348
+ type="button"
349
+ aria-label="Scroll tabs backward"
350
+ [disabled]="!canScrollPrevious()"
351
+ (click)="scrollTabs(-1)"
352
+ >
353
+ <span aria-hidden="true"></span>
354
+ </button>
355
+ }
356
+
357
+ <div
358
+ #tabList
359
+ class="aeris-tabs__list"
360
+ role="tablist"
361
+ [attr.aria-label]="ariaLabel() || null"
362
+ [attr.aria-labelledby]="ariaLabelledBy() || null"
363
+ [attr.aria-orientation]="orientation()"
364
+ (keydown)="handleKeydown($event)"
365
+ (scroll)="updateScrollState()"
366
+ >
367
+ @for (panel of panels(); track panel.value()) {
368
+ <button
369
+ #tabButton
370
+ type="button"
371
+ role="tab"
372
+ [id]="panel.tabId"
373
+ [disabled]="panel.disabled()"
374
+ [attr.aria-selected]="panel === activePanel()"
375
+ [attr.aria-controls]="panel.panelId"
376
+ [attr.tabindex]="panel === focusedPanel() ? 0 : -1"
377
+ (click)="select(panel, $event)"
378
+ (focus)="handleTabFocus(panel, $event)"
379
+ >
380
+ @if (panel.headerTemplate(); as header) {
381
+ <ng-container
382
+ [ngTemplateOutlet]="header.template"
383
+ [ngTemplateOutletContext]="{
384
+ $implicit: panel === activePanel(),
385
+ selected: panel === activePanel(),
386
+ disabled: panel.disabled(),
387
+ }"
388
+ />
389
+ } @else {
390
+ {{ panel.label() }}
391
+ }
392
+ </button>
393
+ }
394
+ </div>
395
+
396
+ @if (showScrollControls()) {
397
+ <button
398
+ class="aeris-tabs__scroll aeris-tabs__scroll--next"
399
+ type="button"
400
+ aria-label="Scroll tabs forward"
401
+ [disabled]="!canScrollNext()"
402
+ (click)="scrollTabs(1)"
403
+ >
404
+ <span aria-hidden="true"></span>
405
+ </button>
406
+ }
407
+ </div>
408
+
409
+ @if (activePanel(); as panel) {
410
+ <div
411
+ class="aeris-tabs__panel"
412
+ role="tabpanel"
413
+ [id]="panel.panelId"
414
+ [attr.aria-labelledby]="panel.tabId"
415
+ [attr.tabindex]="panelTabIndex()"
416
+ >
417
+ <ng-container [ngTemplateOutlet]="panel.content()" />
418
+ </div>
419
+ }
420
+ `, host: {
421
+ class: 'aeris-tabs',
422
+ '[attr.data-orientation]': 'orientation()',
423
+ '[attr.data-variant]': 'variant()',
424
+ '[attr.data-size]': 'size()',
425
+ '[attr.data-justify]': 'justify()',
426
+ '[attr.data-scrollable]': 'scrollable() || null',
427
+ }, styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );--_tab-height: 3rem;--_tab-padding: 1rem;--_tab-font-size: .875rem;display:block;min-width:0}:host([data-size=sm]){--_tab-height: 2.25rem;--_tab-padding: .75rem;--_tab-font-size: .75rem}:host([data-size=lg]){--_tab-height: 3.5rem;--_tab-padding: 1.25rem;--_tab-font-size: .9375rem}.aeris-tabs__header{display:flex;align-items:stretch;min-width:0}.aeris-tabs__list{min-width:0;display:flex;flex:1 1 auto;gap:.25rem;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));overflow:visible;scrollbar-width:none}.aeris-tabs__list::-webkit-scrollbar{display:none}:host([data-scrollable][data-orientation=horizontal]) .aeris-tabs__list{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-tabs__list button{position:relative;min-height:var(--_tab-height);flex:0 0 auto;padding:0 var(--_tab-padding);border:0;border-radius:var(--aeris-tabs-radius, .4375rem);background:transparent;color:var(--aeris-tabs-text, var(--aeris-text-2, #555555));font:inherit;font-size:var(--_tab-font-size);font-weight:600;white-space:nowrap;cursor:pointer}.aeris-tabs__list button:after{position:absolute;right:.75rem;bottom:-1px;left:.75rem;height:2px;border-radius:99px 99px 0 0;background:transparent;content:\"\"}.aeris-tabs__list button:hover:not(:disabled){background:transparent;color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #566137))}.aeris-tabs__list button[aria-selected=true]{color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #566137))}.aeris-tabs__list button[aria-selected=true]:after{background:var(--aeris-tabs-indicator, var(--aeris-primary, #879566))}.aeris-tabs__list button:disabled{opacity:var(--aeris-disabled-opacity, .45);cursor:not-allowed}.aeris-tabs__list button:focus-visible,.aeris-tabs__scroll:focus-visible{z-index:1;outline:2px solid var(--aeris-focus, #536437);outline-offset:-2px}:host([data-variant=pill]) .aeris-tabs__list{gap:.25rem;padding:.25rem;border:0;border-radius:calc(var(--aeris-tabs-radius, .4375rem) + .25rem);background:var(--aeris-tabs-list-background, var(--aeris-surface-2, #f2f0ec))}:host([data-variant=pill]) .aeris-tabs__list button{min-height:calc(var(--_tab-height) - .5rem)}:host([data-variant=pill]) .aeris-tabs__list button:after{display:none}:host([data-variant=pill]) .aeris-tabs__list button:hover:not(:disabled){background:var(--aeris-tabs-hover, color-mix(in srgb, var(--aeris-surface, #fff) 76%, transparent));color:var(--aeris-text, #222222)}:host([data-variant=pill]) .aeris-tabs__list button[aria-selected=true]{background:var(--aeris-tabs-active-background, var(--aeris-surface, #fff));box-shadow:0 1px 3px #1f231b1a;color:var(--aeris-text, #222222)}:host([data-justify=center]) .aeris-tabs__list{justify-content:center}:host([data-justify=end]) .aeris-tabs__list{justify-content:flex-end}:host([data-justify=stretch]) .aeris-tabs__list button{flex:1 1 0}.aeris-tabs__scroll{width:2.25rem;flex:0 0 2.25rem;display:grid;place-items:center;padding:0;border:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-tabs__scroll:disabled{opacity:.3;cursor:default}.aeris-tabs__scroll span{position:relative;width:1rem;height:1rem}.aeris-tabs__scroll span:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%) rotate(90deg);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-tabs__scroll--next span:before{transform:translate(-50%,-50%) rotate(-90deg)}.aeris-tabs__panel-source{display:none}.aeris-tabs__panel{min-width:0;padding-top:var(--aeris-tabs-panel-padding, 1rem)}:host([data-orientation=vertical]){display:grid;grid-template-columns:max-content minmax(0,1fr)}:host([data-orientation=vertical]) .aeris-tabs__header{display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:column;border-right:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));border-bottom:0}:host([data-orientation=vertical]) .aeris-tabs__list button{text-align:left}:host([data-orientation=vertical]) .aeris-tabs__list button:after{top:.5rem;right:-1px;bottom:.5rem;left:auto;width:2px;height:auto}@media(max-width:40rem){:host([data-orientation=vertical]){display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:row;border-right:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border, #deddd7));overflow-x:auto}}@media(prefers-reduced-motion:reduce){.aeris-tabs__list{scroll-behavior:auto}}\n"] }]
428
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], activationMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "activationMode", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], justify: [{ type: i0.Input, args: [{ isSignal: true, alias: "justify", required: false }] }], scrollable: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollable", required: false }] }], panelTabIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelTabIndex", required: false }] }], changed: [{ type: i0.Output, args: ["changed"] }], tabFocused: [{ type: i0.Output, args: ["tabFocused"] }], discoveredPanels: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AerisTabPanel), { ...{
429
+ descendants: true,
430
+ }, isSignal: true }] }], tabButtons: [{ type: i0.ViewChildren, args: ['tabButton', { isSignal: true }] }], tabList: [{ type: i0.ViewChild, args: ['tabList', { isSignal: true }] }], tabHeader: [{ type: i0.ViewChild, args: ['tabHeader', { isSignal: true }] }] } });
431
+ const AerisTabsModule = [AerisTabs, AerisTabPanel, AerisTabHeaderTemplate];
432
+
433
+ /**
434
+ * Generated bundle index. Do not edit.
435
+ */
436
+
437
+ export { AerisTabHeaderTemplate, AerisTabPanel, AerisTabs, AerisTabsModule };
438
+ //# sourceMappingURL=aeris-ui-core-tabs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aeris-ui-core-tabs.mjs","sources":["../../../projects/aeris-ui/tabs/aeris-tabs.ts","../../../projects/aeris-ui/tabs/aeris-ui-core-tabs.ts"],"sourcesContent":["import { NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport {\n PLATFORM_ID,\n DestroyRef,\n afterNextRender,\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n contentChildren,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n viewChildren,\n} from '@angular/core';\n\nexport type AerisTabsOrientation = 'horizontal' | 'vertical';\nexport type AerisTabsActivationMode = 'automatic' | 'manual';\nexport type AerisTabsVariant = 'line' | 'pill';\nexport type AerisTabsSize = 'sm' | 'md' | 'lg';\nexport type AerisTabsJustify = 'start' | 'center' | 'end' | 'stretch';\n\nexport interface AerisTabChangeEvent {\n readonly originalEvent: Event | null;\n readonly value: string;\n readonly previousValue: string;\n}\n\ninterface AerisTabHeaderContext {\n readonly $implicit: boolean;\n readonly selected: boolean;\n readonly disabled: boolean;\n}\n\n@Directive({ selector: 'ng-template[aerisTabHeader]' })\nexport class AerisTabHeaderTemplate {\n readonly template = inject<TemplateRef<AerisTabHeaderContext>>(TemplateRef);\n}\n\nlet nextPanelId = 0;\n\n@Component({\n selector: 'aeris-tab-panel',\n template: `\n <ng-template #content>\n <ng-content />\n </ng-template>\n `,\n host: {\n '[style.display]': '\"none\"',\n },\n})\nexport class AerisTabPanel {\n private readonly element = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly instanceId = nextPanelId++;\n readonly value = input.required<string>();\n readonly label = input.required<string>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly panelId = `aeris-tab-panel-${this.instanceId}`;\n readonly tabId = `aeris-tab-${this.instanceId}`;\n readonly content = viewChild.required<TemplateRef<unknown>>('content');\n readonly headerTemplate = contentChild(AerisTabHeaderTemplate, {\n descendants: false,\n });\n\n isDirectPanelOf(tabsHost: HTMLElement): boolean {\n const parent = this.element.nativeElement.parentElement;\n return (\n parent?.classList.contains('aeris-tabs__panel-source') === true &&\n parent.parentElement === tabsHost\n );\n }\n}\n\n@Component({\n selector: 'aeris-tabs',\n imports: [NgTemplateOutlet],\n template: `\n <div class=\"aeris-tabs__panel-source\" aria-hidden=\"true\">\n <ng-content />\n </div>\n\n <div #tabHeader class=\"aeris-tabs__header\">\n @if (showScrollControls()) {\n <button\n class=\"aeris-tabs__scroll aeris-tabs__scroll--previous\"\n type=\"button\"\n aria-label=\"Scroll tabs backward\"\n [disabled]=\"!canScrollPrevious()\"\n (click)=\"scrollTabs(-1)\"\n >\n <span aria-hidden=\"true\"></span>\n </button>\n }\n\n <div\n #tabList\n class=\"aeris-tabs__list\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-orientation]=\"orientation()\"\n (keydown)=\"handleKeydown($event)\"\n (scroll)=\"updateScrollState()\"\n >\n @for (panel of panels(); track panel.value()) {\n <button\n #tabButton\n type=\"button\"\n role=\"tab\"\n [id]=\"panel.tabId\"\n [disabled]=\"panel.disabled()\"\n [attr.aria-selected]=\"panel === activePanel()\"\n [attr.aria-controls]=\"panel.panelId\"\n [attr.tabindex]=\"panel === focusedPanel() ? 0 : -1\"\n (click)=\"select(panel, $event)\"\n (focus)=\"handleTabFocus(panel, $event)\"\n >\n @if (panel.headerTemplate(); as header) {\n <ng-container\n [ngTemplateOutlet]=\"header.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: panel === activePanel(),\n selected: panel === activePanel(),\n disabled: panel.disabled(),\n }\"\n />\n } @else {\n {{ panel.label() }}\n }\n </button>\n }\n </div>\n\n @if (showScrollControls()) {\n <button\n class=\"aeris-tabs__scroll aeris-tabs__scroll--next\"\n type=\"button\"\n aria-label=\"Scroll tabs forward\"\n [disabled]=\"!canScrollNext()\"\n (click)=\"scrollTabs(1)\"\n >\n <span aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n\n @if (activePanel(); as panel) {\n <div\n class=\"aeris-tabs__panel\"\n role=\"tabpanel\"\n [id]=\"panel.panelId\"\n [attr.aria-labelledby]=\"panel.tabId\"\n [attr.tabindex]=\"panelTabIndex()\"\n >\n <ng-container [ngTemplateOutlet]=\"panel.content()\" />\n </div>\n }\n `,\n styleUrl: './aeris-tabs.scss',\n host: {\n class: 'aeris-tabs',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-variant]': 'variant()',\n '[attr.data-size]': 'size()',\n '[attr.data-justify]': 'justify()',\n '[attr.data-scrollable]': 'scrollable() || null',\n },\n})\nexport class AerisTabs {\n private readonly hostElement = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private readonly destroyRef = inject(DestroyRef);\n readonly value = model('');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly orientation = input<AerisTabsOrientation>('horizontal');\n readonly activationMode = input<AerisTabsActivationMode>('automatic');\n readonly variant = input<AerisTabsVariant>('line');\n readonly size = input<AerisTabsSize>('md');\n readonly justify = input<AerisTabsJustify>('start');\n readonly scrollable = input(true, { transform: booleanAttribute });\n readonly panelTabIndex = input<0 | -1>(0);\n\n readonly changed = output<AerisTabChangeEvent>();\n readonly tabFocused = output<string>();\n\n private readonly discoveredPanels = contentChildren(AerisTabPanel, {\n descendants: true,\n });\n protected readonly panels = computed(() =>\n this.discoveredPanels().filter((panel) => panel.isDirectPanelOf(this.hostElement)),\n );\n protected readonly tabButtons = viewChildren<ElementRef<HTMLButtonElement>>('tabButton');\n private readonly tabList = viewChild<ElementRef<HTMLElement>>('tabList');\n private readonly tabHeader = viewChild<ElementRef<HTMLElement>>('tabHeader');\n private readonly focusedValue = signal('');\n private readonly hasOverflow = signal(false);\n protected readonly canScrollPrevious = signal(false);\n protected readonly canScrollNext = signal(false);\n protected readonly showScrollControls = computed(\n () => this.scrollable() && this.orientation() === 'horizontal' && this.hasOverflow(),\n );\n protected readonly activePanel = computed(\n () =>\n this.panels().find((panel) => !panel.disabled() && panel.value() === this.value()) ??\n this.panels().find((panel) => !panel.disabled()),\n );\n protected readonly focusedPanel = computed(\n () =>\n this.panels().find((panel) => !panel.disabled() && panel.value() === this.focusedValue()) ??\n this.activePanel(),\n );\n\n constructor() {\n afterNextRender(() => {\n this.updateScrollState();\n this.observeTabSizing();\n });\n\n effect(() => {\n const panelSignature = this.panels()\n .map((panel) => `${panel.value()}:${panel.label()}:${panel.disabled()}`)\n .join('|');\n if (!panelSignature) return;\n queueMicrotask(() => this.updateScrollState());\n });\n }\n\n select(valueOrPanel: string | AerisTabPanel, originalEvent: Event | null = null): void {\n const panel =\n typeof valueOrPanel === 'string'\n ? this.panels().find((candidate) => candidate.value() === valueOrPanel)\n : valueOrPanel;\n if (!panel || panel.disabled()) return;\n const previousValue = this.activePanel()?.value() ?? '';\n this.focusedValue.set(panel.value());\n if (previousValue === panel.value() && this.value() === panel.value()) return;\n this.value.set(panel.value());\n this.changed.emit({\n originalEvent,\n value: panel.value(),\n previousValue,\n });\n }\n\n focusTab(value: string, options?: FocusOptions): void {\n const panelIndex = this.panels().findIndex(\n (panel) => !panel.disabled() && panel.value() === value,\n );\n if (panelIndex < 0) return;\n this.focusedValue.set(value);\n this.tabButtons()[panelIndex]?.nativeElement.focus(options);\n }\n\n protected handleKeydown(event: KeyboardEvent): void {\n if (this.activationMode() === 'manual' && (event.key === 'Enter' || event.key === ' ')) {\n event.preventDefault();\n const panel = this.focusedPanel();\n if (panel) this.select(panel, event);\n return;\n }\n\n const direction = this.keyDirection(event.key);\n if (direction === undefined) return;\n event.preventDefault();\n const enabledPanels = this.panels().filter((panel) => !panel.disabled());\n if (enabledPanels.length === 0) return;\n\n const currentPanel = this.focusedPanel() ?? this.activePanel();\n const currentIndex = Math.max(enabledPanels.indexOf(currentPanel!), 0);\n const nextIndex =\n direction === 'first'\n ? 0\n : direction === 'last'\n ? enabledPanels.length - 1\n : (currentIndex + direction + enabledPanels.length) % enabledPanels.length;\n const nextPanel = enabledPanels[nextIndex];\n if (!nextPanel) return;\n\n this.focusedValue.set(nextPanel.value());\n if (this.activationMode() === 'automatic') this.select(nextPanel, event);\n this.focusTab(nextPanel.value());\n this.scrollPanelIntoView(nextPanel);\n }\n\n protected handleTabFocus(panel: AerisTabPanel, event: FocusEvent): void {\n this.focusedValue.set(panel.value());\n this.tabFocused.emit(panel.value());\n if (this.activationMode() === 'automatic' && panel !== this.activePanel()) {\n this.select(panel, event);\n }\n }\n\n protected scrollTabs(direction: -1 | 1): void {\n const list = this.tabList()?.nativeElement;\n if (!list) return;\n const left = direction * Math.max(list.clientWidth * 0.75, 160);\n if (typeof list.scrollBy === 'function') {\n list.scrollBy({ left, behavior: 'smooth' });\n } else {\n list.scrollLeft += left;\n }\n queueMicrotask(() => this.updateScrollState());\n }\n\n protected updateScrollState(): void {\n const list = this.tabList()?.nativeElement;\n const header = this.tabHeader()?.nativeElement;\n if (!list || !header) return;\n\n const overflow =\n this.scrollable() &&\n this.orientation() === 'horizontal' &&\n list.scrollWidth > header.clientWidth + 1;\n this.hasOverflow.set(overflow);\n\n if (!overflow) {\n this.canScrollPrevious.set(false);\n this.canScrollNext.set(false);\n return;\n }\n\n this.canScrollPrevious.set(list.scrollLeft > 1);\n this.canScrollNext.set(list.scrollLeft + list.clientWidth < list.scrollWidth - 1);\n }\n\n private observeTabSizing(): void {\n if (!this.isBrowser || typeof globalThis.ResizeObserver !== 'function') return;\n\n const header = this.tabHeader()?.nativeElement;\n const list = this.tabList()?.nativeElement;\n if (!header || !list) return;\n\n const observer = new ResizeObserver(() => this.updateScrollState());\n observer.observe(header);\n observer.observe(list);\n for (const button of this.tabButtons()) observer.observe(button.nativeElement);\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n\n private scrollPanelIntoView(panel: AerisTabPanel): void {\n const panelIndex = this.panels().indexOf(panel);\n const tab = this.tabButtons()[panelIndex]?.nativeElement;\n if (typeof tab?.scrollIntoView === 'function') {\n tab.scrollIntoView({\n behavior: this.isBrowser ? 'smooth' : 'auto',\n block: 'nearest',\n inline: 'nearest',\n });\n }\n queueMicrotask(() => this.updateScrollState());\n }\n\n private keyDirection(key: string): -1 | 1 | 'first' | 'last' | undefined {\n if (key === 'Home') return 'first';\n if (key === 'End') return 'last';\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowLeft') ||\n (this.orientation() === 'vertical' && key === 'ArrowUp')\n ) {\n return -1;\n }\n if (\n (this.orientation() === 'horizontal' && key === 'ArrowRight') ||\n (this.orientation() === 'vertical' && key === 'ArrowDown')\n ) {\n return 1;\n }\n return undefined;\n }\n}\n\nexport const AerisTabsModule = [AerisTabs, AerisTabPanel, AerisTabHeaderTemplate] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA0Ca,sBAAsB,CAAA;AACxB,IAAA,QAAQ,GAAG,MAAM,CAAqC,WAAW,CAAC;uGADhE,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;mBAAC,EAAE,QAAQ,EAAE,6BAA6B,EAAE;;AAKtD,IAAI,WAA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