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

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 (288) hide show
  1. package/README.md +200 -191
  2. package/fesm2022/aeris-ui-core-accordion.mjs +646 -255
  3. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  4. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  6. package/fesm2022/aeris-ui-core-auto-complete.mjs +1228 -446
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  8. package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  10. package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
  11. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  12. package/fesm2022/aeris-ui-core-badge.mjs +562 -115
  13. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  14. package/fesm2022/aeris-ui-core-block-ui.mjs +209 -101
  15. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  16. package/fesm2022/aeris-ui-core-breadcrumb.mjs +581 -189
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  18. package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
  19. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  20. package/fesm2022/aeris-ui-core-button.mjs +741 -139
  21. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  22. package/fesm2022/aeris-ui-core-card.mjs +371 -101
  23. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  24. package/fesm2022/aeris-ui-core-carousel.mjs +773 -369
  25. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  26. package/fesm2022/aeris-ui-core-cascade-select.mjs +1171 -521
  27. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  28. package/fesm2022/aeris-ui-core-chart.mjs +455 -258
  29. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  30. package/fesm2022/aeris-ui-core-checkbox.mjs +440 -140
  31. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  32. package/fesm2022/aeris-ui-core-chip.mjs +430 -117
  33. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  34. package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
  35. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  36. package/fesm2022/aeris-ui-core-code-block.mjs +637 -0
  37. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
  38. package/fesm2022/aeris-ui-core-color-picker.mjs +1340 -700
  39. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  40. package/fesm2022/aeris-ui-core-compare.mjs +823 -318
  41. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  42. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1404 -555
  43. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  44. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1471 -740
  45. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  46. package/fesm2022/aeris-ui-core-context-menu.mjs +918 -443
  47. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  48. package/fesm2022/aeris-ui-core-date-picker.mjs +1942 -1123
  49. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  50. package/fesm2022/aeris-ui-core-dialog.mjs +1079 -346
  51. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  52. package/fesm2022/aeris-ui-core-divider.mjs +204 -43
  53. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  54. package/fesm2022/aeris-ui-core-drawer.mjs +1015 -322
  55. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  56. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +410 -254
  57. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  58. package/fesm2022/aeris-ui-core-editor.mjs +967 -587
  59. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  60. package/fesm2022/aeris-ui-core-file-upload.mjs +1379 -522
  61. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  62. package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
  63. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  64. package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
  65. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  66. package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
  67. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  68. package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
  69. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  70. package/fesm2022/aeris-ui-core-galleria.mjs +2446 -1117
  71. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  72. package/fesm2022/aeris-ui-core-glass.mjs +110 -33
  73. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  74. package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
  75. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  76. package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
  77. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  78. package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
  79. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  80. package/fesm2022/aeris-ui-core-input-mask.mjs +658 -255
  81. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  82. package/fesm2022/aeris-ui-core-input-number.mjs +926 -291
  83. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  84. package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
  85. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  86. package/fesm2022/aeris-ui-core-input-text.mjs +625 -158
  87. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  88. package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
  89. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  90. package/fesm2022/aeris-ui-core-mega-menu.mjs +613 -382
  91. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  92. package/fesm2022/aeris-ui-core-menu.mjs +1062 -472
  93. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  94. package/fesm2022/aeris-ui-core-menubar.mjs +994 -393
  95. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  96. package/fesm2022/aeris-ui-core-message.mjs +477 -145
  97. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  98. package/fesm2022/aeris-ui-core-meter-group.mjs +623 -230
  99. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  100. package/fesm2022/aeris-ui-core-multi-select.mjs +1598 -561
  101. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  102. package/fesm2022/aeris-ui-core-order-list.mjs +592 -220
  103. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  104. package/fesm2022/aeris-ui-core-organization-chart.mjs +485 -199
  105. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  106. package/fesm2022/aeris-ui-core-paginator.mjs +428 -123
  107. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  108. package/fesm2022/aeris-ui-core-panel.mjs +596 -196
  109. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  110. package/fesm2022/aeris-ui-core-password.mjs +925 -249
  111. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  112. package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
  113. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  114. package/fesm2022/aeris-ui-core-popover.mjs +912 -375
  115. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  116. package/fesm2022/aeris-ui-core-progress-bar.mjs +549 -176
  117. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  118. package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
  119. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  120. package/fesm2022/aeris-ui-core-radio-button.mjs +394 -124
  121. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  122. package/fesm2022/aeris-ui-core-rating.mjs +506 -231
  123. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  124. package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
  125. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  126. package/fesm2022/aeris-ui-core-scroll-top.mjs +226 -63
  127. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  128. package/fesm2022/aeris-ui-core-select.mjs +1845 -648
  129. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  130. package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
  131. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  132. package/fesm2022/aeris-ui-core-slider.mjs +884 -430
  133. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  134. package/fesm2022/aeris-ui-core-speed-dial.mjs +861 -337
  135. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  136. package/fesm2022/aeris-ui-core-split-button.mjs +955 -266
  137. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  138. package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
  139. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  140. package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
  141. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  142. package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
  143. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  144. package/fesm2022/aeris-ui-core-table.mjs +2034 -869
  145. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  146. package/fesm2022/aeris-ui-core-tabs.mjs +789 -279
  147. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  148. package/fesm2022/aeris-ui-core-textarea.mjs +856 -219
  149. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  150. package/fesm2022/aeris-ui-core-theme-builder.mjs +1284 -1399
  151. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  152. package/fesm2022/aeris-ui-core-theming.mjs +132 -144
  153. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  154. package/fesm2022/aeris-ui-core-tiered-menu.mjs +909 -441
  155. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  156. package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
  157. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  158. package/fesm2022/aeris-ui-core-toast.mjs +1076 -384
  159. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  160. package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
  161. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  162. package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
  163. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  164. package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
  165. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  166. package/fesm2022/aeris-ui-core-tree-select.mjs +1453 -621
  167. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  168. package/fesm2022/aeris-ui-core-tree-table.mjs +2019 -940
  169. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  170. package/fesm2022/aeris-ui-core-tree.mjs +1107 -658
  171. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  172. package/fesm2022/aeris-ui-core.mjs +985 -316
  173. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  174. package/package.json +20 -8
  175. package/schematics/ng-add/schema.json +1 -1
  176. package/schematics/runtime/schematics/ng-add/options.js +4 -4
  177. package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
  178. package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
  179. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
  180. package/schematics/runtime/theme-builder/aeris-contrast.js +6 -17
  181. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  182. package/schematics/runtime/theme-builder/aeris-foundation.js +10 -4
  183. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  184. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +28 -5
  185. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  186. package/schematics/runtime/theme-builder/aeris-theme-generator.js +2 -2
  187. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  188. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +22 -8
  189. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  190. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +12 -4
  191. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  192. package/schematics/runtime/theme-builder/aeris-theme-validation.js +7 -1
  193. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  194. package/schematics/runtime/theme-builder/aeris-theme.js +49 -33
  195. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  196. package/styles/_fallback-colors.scss +10 -0
  197. package/styles/_mobile.scss +16 -0
  198. package/styles/_tokens.scss +5 -5
  199. package/styles/aeris.css +412 -125
  200. package/styles/controls.css +61 -29
  201. package/tools/aeris-theme.mjs +2 -2
  202. package/tools/aeris-theme.schema.json +5 -2
  203. package/types/aeris-ui-core-accordion.d.ts +167 -93
  204. package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
  205. package/types/aeris-ui-core-auto-complete.d.ts +327 -140
  206. package/types/aeris-ui-core-auto-focus.d.ts +24 -16
  207. package/types/aeris-ui-core-avatar.d.ts +112 -42
  208. package/types/aeris-ui-core-badge.d.ts +160 -46
  209. package/types/aeris-ui-core-block-ui.d.ts +47 -27
  210. package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
  211. package/types/aeris-ui-core-button-group.d.ts +37 -16
  212. package/types/aeris-ui-core-button.d.ts +226 -67
  213. package/types/aeris-ui-core-card.d.ts +74 -37
  214. package/types/aeris-ui-core-carousel.d.ts +201 -117
  215. package/types/aeris-ui-core-cascade-select.d.ts +257 -123
  216. package/types/aeris-ui-core-chart.d.ts +134 -84
  217. package/types/aeris-ui-core-checkbox.d.ts +139 -54
  218. package/types/aeris-ui-core-chip.d.ts +116 -51
  219. package/types/aeris-ui-core-class-names.d.ts +22 -20
  220. package/types/aeris-ui-core-code-block.d.ts +188 -0
  221. package/types/aeris-ui-core-color-picker.d.ts +348 -143
  222. package/types/aeris-ui-core-compare.d.ts +224 -102
  223. package/types/aeris-ui-core-confirm-dialog.d.ts +442 -245
  224. package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
  225. package/types/aeris-ui-core-context-menu.d.ts +264 -146
  226. package/types/aeris-ui-core-date-picker.d.ts +489 -217
  227. package/types/aeris-ui-core-dialog.d.ts +288 -117
  228. package/types/aeris-ui-core-divider.d.ts +58 -20
  229. package/types/aeris-ui-core-drawer.d.ts +273 -112
  230. package/types/aeris-ui-core-dynamic-dialog.d.ts +158 -137
  231. package/types/aeris-ui-core-editor.d.ts +250 -123
  232. package/types/aeris-ui-core-file-upload.d.ts +367 -197
  233. package/types/aeris-ui-core-filter-service.d.ts +48 -52
  234. package/types/aeris-ui-core-fluid.d.ts +12 -9
  235. package/types/aeris-ui-core-focus-trap.d.ts +39 -31
  236. package/types/aeris-ui-core-form-field.d.ts +163 -0
  237. package/types/aeris-ui-core-galleria.d.ts +588 -256
  238. package/types/aeris-ui-core-glass.d.ts +24 -11
  239. package/types/aeris-ui-core-icon-field.d.ts +94 -32
  240. package/types/aeris-ui-core-inplace.d.ts +123 -62
  241. package/types/aeris-ui-core-input-group.d.ts +84 -33
  242. package/types/aeris-ui-core-input-mask.d.ts +194 -69
  243. package/types/aeris-ui-core-input-number.d.ts +272 -87
  244. package/types/aeris-ui-core-input-otp.d.ts +191 -81
  245. package/types/aeris-ui-core-input-text.d.ts +185 -60
  246. package/types/aeris-ui-core-key-filter.d.ts +53 -39
  247. package/types/aeris-ui-core-mega-menu.d.ts +175 -121
  248. package/types/aeris-ui-core-menu.d.ts +277 -168
  249. package/types/aeris-ui-core-menubar.d.ts +273 -135
  250. package/types/aeris-ui-core-message.d.ts +132 -60
  251. package/types/aeris-ui-core-meter-group.d.ts +163 -90
  252. package/types/aeris-ui-core-multi-select.d.ts +439 -180
  253. package/types/aeris-ui-core-order-list.d.ts +144 -66
  254. package/types/aeris-ui-core-organization-chart.d.ts +133 -77
  255. package/types/aeris-ui-core-paginator.d.ts +93 -38
  256. package/types/aeris-ui-core-panel.d.ts +149 -78
  257. package/types/aeris-ui-core-password.d.ts +258 -102
  258. package/types/aeris-ui-core-pick-list.d.ts +374 -179
  259. package/types/aeris-ui-core-popover.d.ts +219 -105
  260. package/types/aeris-ui-core-progress-bar.d.ts +157 -73
  261. package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
  262. package/types/aeris-ui-core-radio-button.d.ts +124 -50
  263. package/types/aeris-ui-core-rating.d.ts +149 -76
  264. package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
  265. package/types/aeris-ui-core-scroll-top.d.ts +66 -29
  266. package/types/aeris-ui-core-select.d.ts +475 -217
  267. package/types/aeris-ui-core-skeleton.d.ts +39 -17
  268. package/types/aeris-ui-core-slider.d.ts +270 -115
  269. package/types/aeris-ui-core-speed-dial.d.ts +241 -111
  270. package/types/aeris-ui-core-split-button.d.ts +267 -113
  271. package/types/aeris-ui-core-splitter.d.ts +225 -106
  272. package/types/aeris-ui-core-stepper.d.ts +184 -91
  273. package/types/aeris-ui-core-style-class.d.ts +141 -71
  274. package/types/aeris-ui-core-table.d.ts +596 -304
  275. package/types/aeris-ui-core-tabs.d.ts +181 -76
  276. package/types/aeris-ui-core-textarea.d.ts +261 -78
  277. package/types/aeris-ui-core-theme-builder.d.ts +472 -450
  278. package/types/aeris-ui-core-theming.d.ts +42 -45
  279. package/types/aeris-ui-core-tiered-menu.d.ts +251 -142
  280. package/types/aeris-ui-core-timeline.d.ts +109 -71
  281. package/types/aeris-ui-core-toast.d.ts +225 -115
  282. package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
  283. package/types/aeris-ui-core-toolbar.d.ts +98 -41
  284. package/types/aeris-ui-core-tooltip.d.ts +157 -88
  285. package/types/aeris-ui-core-tree-select.d.ts +364 -171
  286. package/types/aeris-ui-core-tree-table.d.ts +566 -286
  287. package/types/aeris-ui-core-tree.d.ts +270 -165
  288. package/types/aeris-ui-core.d.ts +197 -72
@@ -1,107 +1,256 @@
1
- import { NgTemplateOutlet } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, TemplateRef, Directive, contentChild, input, numberAttribute, booleanAttribute, computed, Component } from '@angular/core';
4
-
5
- class AerisProgressSpinnerValueTemplate {
6
- template = inject(TemplateRef);
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressSpinnerValueTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.6", type: AerisProgressSpinnerValueTemplate, isStandalone: true, selector: "ng-template[aerisProgressSpinnerValue]", ngImport: i0 });
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressSpinnerValueTemplate, decorators: [{
11
- type: Directive,
12
- args: [{ selector: 'ng-template[aerisProgressSpinnerValue]' }]
13
- }] });
1
+ import { NgTemplateOutlet } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute } from "@angular/core";
4
+ var AerisProgressSpinnerValueTemplate = class AerisProgressSpinnerValueTemplate {
5
+ template = inject(TemplateRef);
6
+ static ɵfac = i0.ɵɵngDeclareFactory({
7
+ minVersion: "12.0.0",
8
+ version: "22.2.2",
9
+ ngImport: i0,
10
+ type: AerisProgressSpinnerValueTemplate,
11
+ deps: [],
12
+ target: i0.ɵɵFactoryTarget.Directive
13
+ });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({
15
+ minVersion: "14.0.0",
16
+ version: "22.2.2",
17
+ type: AerisProgressSpinnerValueTemplate,
18
+ isStandalone: true,
19
+ selector: "ng-template[aerisProgressSpinnerValue]",
20
+ ngImport: i0
21
+ });
22
+ };
23
+ i0.ɵɵngDeclareClassMetadata({
24
+ minVersion: "12.0.0",
25
+ version: "22.2.2",
26
+ ngImport: i0,
27
+ type: AerisProgressSpinnerValueTemplate,
28
+ decorators: [{
29
+ type: Directive,
30
+ args: [{ selector: "ng-template[aerisProgressSpinnerValue]" }]
31
+ }]
32
+ });
14
33
  function nullableNumberAttribute(value) {
15
- if (value === null || value === undefined || value === '')
16
- return null;
17
- const numeric = Number(value);
18
- return Number.isFinite(numeric) ? numeric : null;
34
+ if (value === null || value === void 0 || value === "") return null;
35
+ const numeric = Number(value);
36
+ return Number.isFinite(numeric) ? numeric : null;
19
37
  }
20
- class AerisProgressSpinner {
21
- circumference = 2 * Math.PI * 20;
22
- valueTemplate = contentChild(AerisProgressSpinnerValueTemplate, /* @ts-ignore */
23
- ...(ngDevMode ? [{ debugName: "valueTemplate" }] : /* istanbul ignore next */ []));
24
- value = input(null, { ...(ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {}), transform: nullableNumberAttribute });
25
- min = input(0, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttribute });
26
- max = input(100, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttribute });
27
- size = input('md', /* @ts-ignore */
28
- ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
29
- tone = input('primary', /* @ts-ignore */
30
- ...(ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []));
31
- strokeWidth = input(4, { ...(ngDevMode ? { debugName: "strokeWidth" } : /* istanbul ignore next */ {}), transform: numberAttribute });
32
- showTrack = input(true, { ...(ngDevMode ? { debugName: "showTrack" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
33
- showValue = input(true, { ...(ngDevMode ? { debugName: "showValue" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
34
- rounded = input(true, { ...(ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
35
- ariaLabel = input('Loading', /* @ts-ignore */
36
- ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
37
- ariaLabelledBy = input('', /* @ts-ignore */
38
- ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
39
- ariaValueText = input('', /* @ts-ignore */
40
- ...(ngDevMode ? [{ debugName: "ariaValueText" }] : /* istanbul ignore next */ []));
41
- valueFormatter = input(null, /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []));
43
- determinate = computed(() => this.value() !== null, /* @ts-ignore */
44
- ...(ngDevMode ? [{ debugName: "determinate" }] : /* istanbul ignore next */ []));
45
- normalizedMin = computed(() => {
46
- const min = this.min();
47
- return Number.isFinite(min) ? min : 0;
48
- }, /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "normalizedMin" }] : /* istanbul ignore next */ []));
50
- normalizedMax = computed(() => {
51
- const min = this.normalizedMin();
52
- const max = this.max();
53
- return Number.isFinite(max) && max > min ? max : min + 100;
54
- }, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "normalizedMax" }] : /* istanbul ignore next */ []));
56
- clampedValue = computed(() => {
57
- const value = this.value();
58
- const min = this.normalizedMin();
59
- const max = this.normalizedMax();
60
- if (value === null || !Number.isFinite(value))
61
- return min;
62
- return Math.min(max, Math.max(min, value));
63
- }, /* @ts-ignore */
64
- ...(ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []));
65
- percent = computed(() => {
66
- const range = this.normalizedMax() - this.normalizedMin();
67
- return this.round(((this.clampedValue() - this.normalizedMin()) / range) * 100);
68
- }, /* @ts-ignore */
69
- ...(ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []));
70
- dashOffset = computed(() => this.circumference - (this.percent() / 100) * this.circumference, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "dashOffset" }] : /* istanbul ignore next */ []));
72
- resolvedStrokeWidth = computed(() => {
73
- const width = this.strokeWidth();
74
- if (!Number.isFinite(width))
75
- return 4;
76
- return Math.min(12, Math.max(1, width));
77
- }, /* @ts-ignore */
78
- ...(ngDevMode ? [{ debugName: "resolvedStrokeWidth" }] : /* istanbul ignore next */ []));
79
- valueContext = computed(() => ({
80
- $implicit: this.clampedValue(),
81
- value: this.clampedValue(),
82
- min: this.normalizedMin(),
83
- max: this.normalizedMax(),
84
- percent: this.percent(),
85
- }), /* @ts-ignore */
86
- ...(ngDevMode ? [{ debugName: "valueContext" }] : /* istanbul ignore next */ []));
87
- valueText = computed(() => {
88
- const formatter = this.valueFormatter();
89
- if (formatter)
90
- return formatter(this.valueContext());
91
- return `${Math.round(this.percent())}%`;
92
- }, /* @ts-ignore */
93
- ...(ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []));
94
- resolvedAriaValueText = computed(() => {
95
- if (this.ariaValueText())
96
- return this.ariaValueText();
97
- return this.determinate() ? this.valueText() : null;
98
- }, /* @ts-ignore */
99
- ...(ngDevMode ? [{ debugName: "resolvedAriaValueText" }] : /* istanbul ignore next */ []));
100
- round(value) {
101
- return Math.round(value * 10) / 10;
102
- }
103
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component });
104
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisProgressSpinner, isStandalone: true, selector: "aeris-progress-spinner", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null }, strokeWidth: { classPropertyName: "strokeWidth", publicName: "strokeWidth", isSignal: true, isRequired: false, transformFunction: null }, showTrack: { classPropertyName: "showTrack", publicName: "showTrack", isSignal: true, isRequired: false, transformFunction: null }, showValue: { classPropertyName: "showValue", publicName: "showValue", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", 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 }, ariaValueText: { classPropertyName: "ariaValueText", publicName: "ariaValueText", isSignal: true, isRequired: false, transformFunction: null }, valueFormatter: { classPropertyName: "valueFormatter", publicName: "valueFormatter", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "progressbar" }, properties: { "attr.aria-valuemin": "determinate() ? normalizedMin() : null", "attr.aria-valuemax": "determinate() ? normalizedMax() : null", "attr.aria-valuenow": "determinate() ? clampedValue() : null", "attr.aria-valuetext": "resolvedAriaValueText()", "attr.aria-label": "ariaLabel() || null", "attr.aria-labelledby": "ariaLabelledBy() || null", "attr.data-mode": "determinate() ? \"determinate\" : \"indeterminate\"", "attr.data-size": "size()", "attr.data-tone": "tone()", "attr.data-track": "showTrack() || null", "attr.data-rounded": "rounded() || null" }, classAttribute: "aeris-progress-spinner" }, queries: [{ propertyName: "valueTemplate", first: true, predicate: AerisProgressSpinnerValueTemplate, descendants: true, isSignal: true }], ngImport: i0, template: `
38
+ var AerisProgressSpinner = class AerisProgressSpinner {
39
+ circumference = 2 * Math.PI * 20;
40
+ valueTemplate = contentChild(AerisProgressSpinnerValueTemplate, ...ngDevMode ? [{ debugName: "valueTemplate" }] : /* istanbul ignore next */ []);
41
+ value = input(null, {
42
+ ...ngDevMode ? { debugName: "value" } : /* istanbul ignore next */ {},
43
+ transform: nullableNumberAttribute
44
+ });
45
+ min = input(0, {
46
+ ...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
47
+ transform: numberAttribute
48
+ });
49
+ max = input(100, {
50
+ ...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
51
+ transform: numberAttribute
52
+ });
53
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
54
+ tone = input("primary", ...ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []);
55
+ strokeWidth = input(4, {
56
+ ...ngDevMode ? { debugName: "strokeWidth" } : /* istanbul ignore next */ {},
57
+ transform: numberAttribute
58
+ });
59
+ showTrack = input(true, {
60
+ ...ngDevMode ? { debugName: "showTrack" } : /* istanbul ignore next */ {},
61
+ transform: booleanAttribute
62
+ });
63
+ showValue = input(true, {
64
+ ...ngDevMode ? { debugName: "showValue" } : /* istanbul ignore next */ {},
65
+ transform: booleanAttribute
66
+ });
67
+ rounded = input(true, {
68
+ ...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
69
+ transform: booleanAttribute
70
+ });
71
+ ariaLabel = input("Loading", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
72
+ ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
73
+ ariaValueText = input("", ...ngDevMode ? [{ debugName: "ariaValueText" }] : /* istanbul ignore next */ []);
74
+ valueFormatter = input(null, ...ngDevMode ? [{ debugName: "valueFormatter" }] : /* istanbul ignore next */ []);
75
+ determinate = computed(() => this.value() !== null, ...ngDevMode ? [{ debugName: "determinate" }] : /* istanbul ignore next */ []);
76
+ normalizedMin = computed(() => {
77
+ const min = this.min();
78
+ return Number.isFinite(min) ? min : 0;
79
+ }, ...ngDevMode ? [{ debugName: "normalizedMin" }] : /* istanbul ignore next */ []);
80
+ normalizedMax = computed(() => {
81
+ const min = this.normalizedMin();
82
+ const max = this.max();
83
+ return Number.isFinite(max) && max > min ? max : min + 100;
84
+ }, ...ngDevMode ? [{ debugName: "normalizedMax" }] : /* istanbul ignore next */ []);
85
+ clampedValue = computed(() => {
86
+ const value = this.value();
87
+ const min = this.normalizedMin();
88
+ const max = this.normalizedMax();
89
+ if (value === null || !Number.isFinite(value)) return min;
90
+ return Math.min(max, Math.max(min, value));
91
+ }, ...ngDevMode ? [{ debugName: "clampedValue" }] : /* istanbul ignore next */ []);
92
+ percent = computed(() => {
93
+ const range = this.normalizedMax() - this.normalizedMin();
94
+ return this.round((this.clampedValue() - this.normalizedMin()) / range * 100);
95
+ }, ...ngDevMode ? [{ debugName: "percent" }] : /* istanbul ignore next */ []);
96
+ dashOffset = computed(() => this.circumference - this.percent() / 100 * this.circumference, ...ngDevMode ? [{ debugName: "dashOffset" }] : /* istanbul ignore next */ []);
97
+ resolvedStrokeWidth = computed(() => {
98
+ const width = this.strokeWidth();
99
+ if (!Number.isFinite(width)) return 4;
100
+ return Math.min(12, Math.max(1, width));
101
+ }, ...ngDevMode ? [{ debugName: "resolvedStrokeWidth" }] : /* istanbul ignore next */ []);
102
+ valueContext = computed(() => ({
103
+ $implicit: this.clampedValue(),
104
+ value: this.clampedValue(),
105
+ min: this.normalizedMin(),
106
+ max: this.normalizedMax(),
107
+ percent: this.percent()
108
+ }), ...ngDevMode ? [{ debugName: "valueContext" }] : /* istanbul ignore next */ []);
109
+ valueText = computed(() => {
110
+ const formatter = this.valueFormatter();
111
+ if (formatter) return formatter(this.valueContext());
112
+ return `${Math.round(this.percent())}%`;
113
+ }, ...ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []);
114
+ resolvedAriaValueText = computed(() => {
115
+ if (this.ariaValueText()) return this.ariaValueText();
116
+ return this.determinate() ? this.valueText() : null;
117
+ }, ...ngDevMode ? [{ debugName: "resolvedAriaValueText" }] : /* istanbul ignore next */ []);
118
+ round(value) {
119
+ return Math.round(value * 10) / 10;
120
+ }
121
+ static ɵfac = i0.ɵɵngDeclareFactory({
122
+ minVersion: "12.0.0",
123
+ version: "22.2.2",
124
+ ngImport: i0,
125
+ type: AerisProgressSpinner,
126
+ deps: [],
127
+ target: i0.ɵɵFactoryTarget.Component
128
+ });
129
+ static ɵcmp = i0.ɵɵngDeclareComponent({
130
+ minVersion: "17.0.0",
131
+ version: "22.2.2",
132
+ type: AerisProgressSpinner,
133
+ isStandalone: true,
134
+ selector: "aeris-progress-spinner",
135
+ inputs: {
136
+ value: {
137
+ classPropertyName: "value",
138
+ publicName: "value",
139
+ isSignal: true,
140
+ isRequired: false,
141
+ transformFunction: null
142
+ },
143
+ min: {
144
+ classPropertyName: "min",
145
+ publicName: "min",
146
+ isSignal: true,
147
+ isRequired: false,
148
+ transformFunction: null
149
+ },
150
+ max: {
151
+ classPropertyName: "max",
152
+ publicName: "max",
153
+ isSignal: true,
154
+ isRequired: false,
155
+ transformFunction: null
156
+ },
157
+ size: {
158
+ classPropertyName: "size",
159
+ publicName: "size",
160
+ isSignal: true,
161
+ isRequired: false,
162
+ transformFunction: null
163
+ },
164
+ tone: {
165
+ classPropertyName: "tone",
166
+ publicName: "tone",
167
+ isSignal: true,
168
+ isRequired: false,
169
+ transformFunction: null
170
+ },
171
+ strokeWidth: {
172
+ classPropertyName: "strokeWidth",
173
+ publicName: "strokeWidth",
174
+ isSignal: true,
175
+ isRequired: false,
176
+ transformFunction: null
177
+ },
178
+ showTrack: {
179
+ classPropertyName: "showTrack",
180
+ publicName: "showTrack",
181
+ isSignal: true,
182
+ isRequired: false,
183
+ transformFunction: null
184
+ },
185
+ showValue: {
186
+ classPropertyName: "showValue",
187
+ publicName: "showValue",
188
+ isSignal: true,
189
+ isRequired: false,
190
+ transformFunction: null
191
+ },
192
+ rounded: {
193
+ classPropertyName: "rounded",
194
+ publicName: "rounded",
195
+ isSignal: true,
196
+ isRequired: false,
197
+ transformFunction: null
198
+ },
199
+ ariaLabel: {
200
+ classPropertyName: "ariaLabel",
201
+ publicName: "ariaLabel",
202
+ isSignal: true,
203
+ isRequired: false,
204
+ transformFunction: null
205
+ },
206
+ ariaLabelledBy: {
207
+ classPropertyName: "ariaLabelledBy",
208
+ publicName: "ariaLabelledBy",
209
+ isSignal: true,
210
+ isRequired: false,
211
+ transformFunction: null
212
+ },
213
+ ariaValueText: {
214
+ classPropertyName: "ariaValueText",
215
+ publicName: "ariaValueText",
216
+ isSignal: true,
217
+ isRequired: false,
218
+ transformFunction: null
219
+ },
220
+ valueFormatter: {
221
+ classPropertyName: "valueFormatter",
222
+ publicName: "valueFormatter",
223
+ isSignal: true,
224
+ isRequired: false,
225
+ transformFunction: null
226
+ }
227
+ },
228
+ host: {
229
+ attributes: { "role": "progressbar" },
230
+ properties: {
231
+ "attr.aria-valuemin": "determinate() ? normalizedMin() : null",
232
+ "attr.aria-valuemax": "determinate() ? normalizedMax() : null",
233
+ "attr.aria-valuenow": "determinate() ? clampedValue() : null",
234
+ "attr.aria-valuetext": "resolvedAriaValueText()",
235
+ "attr.aria-label": "ariaLabel() || null",
236
+ "attr.aria-labelledby": "ariaLabelledBy() || null",
237
+ "attr.data-mode": "determinate() ? \"determinate\" : \"indeterminate\"",
238
+ "attr.data-size": "size()",
239
+ "attr.data-tone": "tone()",
240
+ "attr.data-track": "showTrack() || null",
241
+ "attr.data-rounded": "rounded() || null"
242
+ },
243
+ classAttribute: "aeris-progress-spinner"
244
+ },
245
+ queries: [{
246
+ propertyName: "valueTemplate",
247
+ first: true,
248
+ predicate: AerisProgressSpinnerValueTemplate,
249
+ descendants: true,
250
+ isSignal: true
251
+ }],
252
+ ngImport: i0,
253
+ template: `
105
254
  <svg
106
255
  class="aeris-progress-spinner__graphic"
107
256
  viewBox="0 0 48 48"
@@ -143,11 +292,32 @@ class AerisProgressSpinner {
143
292
  }
144
293
  </span>
145
294
  }
146
- `, isInline: true, styles: [":host,.aeris-progress-spinner,.aeris-progress-spinner *{box-sizing:border-box}:host(.aeris-progress-spinner){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-size, 3rem);--_aeris-progress-spinner-color: var(--aeris-primary, #879566);position:relative;inline-size:var(--_aeris-progress-spinner-size);block-size:var(--_aeris-progress-spinner-size);max-inline-size:100%;display:inline-grid;place-items:center;color:var(--aeris-progress-spinner-value-color, var(--aeris-text, #222222));font:inherit;vertical-align:middle}:host([data-size=sm]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-sm-size, 1.75rem)}:host([data-size=lg]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-lg-size, 4.5rem)}:host([data-tone=secondary]){--_aeris-progress-spinner-color: var(--aeris-surface-3, var(--aeris-border-strong, #c7c9c0))}:host([data-tone=success]){--_aeris-progress-spinner-color: var(--aeris-success, #6f8a68)}:host([data-tone=info]){--_aeris-progress-spinner-color: var(--aeris-info, #6b8793)}:host([data-tone=warning]){--_aeris-progress-spinner-color: var(--aeris-warning, #c38600)}:host([data-tone=danger]){--_aeris-progress-spinner-color: var(--aeris-danger, #c81e2a)}:host([data-tone=neutral]){--_aeris-progress-spinner-color: var(--aeris-text-3, #6f7667)}:host([data-tone=contrast]){--_aeris-progress-spinner-color: var(--aeris-text, #222222)}.aeris-progress-spinner__graphic{inline-size:100%;block-size:100%;display:block;overflow:visible}.aeris-progress-spinner__track{stroke:var(--aeris-progress-spinner-track, color-mix(in srgb, var(--_aeris-progress-spinner-color) 16%, transparent))}.aeris-progress-spinner__indicator{stroke:var(--aeris-progress-spinner-indicator, var(--_aeris-progress-spinner-color));transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .18s ease}:host([data-mode=indeterminate]) .aeris-progress-spinner__graphic{animation:aeris-progress-spinner-rotate var(--aeris-progress-spinner-duration, 1.1s) linear infinite}:host([data-mode=indeterminate]) .aeris-progress-spinner__indicator{stroke-dasharray:32 94;animation:aeris-progress-spinner-dash var(--aeris-progress-spinner-duration, 1.1s) ease-in-out infinite}.aeris-progress-spinner__value{position:absolute;inset:0;display:grid;place-items:center;padding:.25rem;overflow:hidden;font-size:var(--aeris-progress-spinner-value-font-size, .6875rem);font-weight:800;line-height:1;text-align:center}:host([data-size=sm]) .aeris-progress-spinner__value{display:none}:host([data-size=lg]) .aeris-progress-spinner__value{font-size:var(--aeris-progress-spinner-lg-value-font-size, .875rem)}@keyframes aeris-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes aeris-progress-spinner-dash{0%{stroke-dasharray:12 114;stroke-dashoffset:0}50%{stroke-dasharray:76 50;stroke-dashoffset:-26}to{stroke-dasharray:12 114;stroke-dashoffset:-112}}@media(prefers-reduced-motion:reduce){.aeris-progress-spinner__graphic,.aeris-progress-spinner__indicator{animation:none!important;transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
147
- }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisProgressSpinner, decorators: [{
149
- type: Component,
150
- args: [{ selector: 'aeris-progress-spinner', imports: [NgTemplateOutlet], template: `
295
+ `,
296
+ isInline: true,
297
+ styles: [":host,.aeris-progress-spinner,.aeris-progress-spinner *{box-sizing:border-box}:host(.aeris-progress-spinner){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-size, 3rem);--_aeris-progress-spinner-color: var(--aeris-primary, #111111);position:relative;inline-size:var(--_aeris-progress-spinner-size);block-size:var(--_aeris-progress-spinner-size);max-inline-size:100%;display:inline-grid;place-items:center;color:var(--aeris-progress-spinner-value-color, var(--aeris-text, #111111));font:inherit;vertical-align:middle}:host([data-size=sm]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-sm-size, 1.75rem)}:host([data-size=lg]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-lg-size, 4.5rem)}:host([data-tone=secondary]){--_aeris-progress-spinner-color: var(--aeris-surface-3, var(--aeris-border, #efefef))}:host([data-tone=success]){--_aeris-progress-spinner-color: var(--aeris-success, #6f8a68)}:host([data-tone=info]){--_aeris-progress-spinner-color: var(--aeris-info, #6b8793)}:host([data-tone=warning]){--_aeris-progress-spinner-color: var(--aeris-warning, #c38600)}:host([data-tone=danger]){--_aeris-progress-spinner-color: var(--aeris-danger, #c81e2a)}:host([data-tone=neutral]){--_aeris-progress-spinner-color: var(--aeris-text-3, #6f7667)}:host([data-tone=contrast]){--_aeris-progress-spinner-color: var(--aeris-text, #111111)}.aeris-progress-spinner__graphic{inline-size:100%;block-size:100%;display:block;overflow:visible}.aeris-progress-spinner__track{stroke:var(--aeris-progress-spinner-track, color-mix(in srgb, var(--_aeris-progress-spinner-color) 16%, transparent))}.aeris-progress-spinner__indicator{stroke:var(--aeris-progress-spinner-indicator, var(--_aeris-progress-spinner-color));transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-mode=indeterminate]) .aeris-progress-spinner__graphic{animation:aeris-progress-spinner-rotate var(--aeris-progress-spinner-duration, 1.1s) linear infinite}:host([data-mode=indeterminate]) .aeris-progress-spinner__indicator{stroke-dasharray:32 94;animation:aeris-progress-spinner-dash var(--aeris-progress-spinner-duration, 1.1s) ease-in-out infinite}.aeris-progress-spinner__value{position:absolute;inset:0;display:grid;place-items:center;padding:.25rem;overflow:hidden;font-size:var(--aeris-progress-spinner-value-font-size, .6875rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-align:center}:host([data-size=sm]) .aeris-progress-spinner__value{display:none}:host([data-size=lg]) .aeris-progress-spinner__value{font-size:var(--aeris-progress-spinner-lg-value-font-size, .875rem)}@keyframes aeris-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes aeris-progress-spinner-dash{0%{stroke-dasharray:12 114;stroke-dashoffset:0}50%{stroke-dasharray:76 50;stroke-dashoffset:-26}to{stroke-dasharray:12 114;stroke-dashoffset:-112}}@media(prefers-reduced-motion:reduce){.aeris-progress-spinner__graphic,.aeris-progress-spinner__indicator{animation:none!important;transition:none}}\n"],
298
+ dependencies: [{
299
+ kind: "directive",
300
+ type: NgTemplateOutlet,
301
+ selector: "[ngTemplateOutlet]",
302
+ inputs: [
303
+ "ngTemplateOutletContext",
304
+ "ngTemplateOutlet",
305
+ "ngTemplateOutletInjector"
306
+ ]
307
+ }]
308
+ });
309
+ };
310
+ i0.ɵɵngDeclareClassMetadata({
311
+ minVersion: "12.0.0",
312
+ version: "22.2.2",
313
+ ngImport: i0,
314
+ type: AerisProgressSpinner,
315
+ decorators: [{
316
+ type: Component,
317
+ args: [{
318
+ selector: "aeris-progress-spinner",
319
+ imports: [NgTemplateOutlet],
320
+ template: `
151
321
  <svg
152
322
  class="aeris-progress-spinner__graphic"
153
323
  viewBox="0 0 48 48"
@@ -189,30 +359,137 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
189
359
  }
190
360
  </span>
191
361
  }
192
- `, host: {
193
- class: 'aeris-progress-spinner',
194
- role: 'progressbar',
195
- '[attr.aria-valuemin]': 'determinate() ? normalizedMin() : null',
196
- '[attr.aria-valuemax]': 'determinate() ? normalizedMax() : null',
197
- '[attr.aria-valuenow]': 'determinate() ? clampedValue() : null',
198
- '[attr.aria-valuetext]': 'resolvedAriaValueText()',
199
- '[attr.aria-label]': 'ariaLabel() || null',
200
- '[attr.aria-labelledby]': 'ariaLabelledBy() || null',
201
- '[attr.data-mode]': 'determinate() ? "determinate" : "indeterminate"',
202
- '[attr.data-size]': 'size()',
203
- '[attr.data-tone]': 'tone()',
204
- '[attr.data-track]': 'showTrack() || null',
205
- '[attr.data-rounded]': 'rounded() || null',
206
- }, styles: [":host,.aeris-progress-spinner,.aeris-progress-spinner *{box-sizing:border-box}:host(.aeris-progress-spinner){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-size, 3rem);--_aeris-progress-spinner-color: var(--aeris-primary, #879566);position:relative;inline-size:var(--_aeris-progress-spinner-size);block-size:var(--_aeris-progress-spinner-size);max-inline-size:100%;display:inline-grid;place-items:center;color:var(--aeris-progress-spinner-value-color, var(--aeris-text, #222222));font:inherit;vertical-align:middle}:host([data-size=sm]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-sm-size, 1.75rem)}:host([data-size=lg]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-lg-size, 4.5rem)}:host([data-tone=secondary]){--_aeris-progress-spinner-color: var(--aeris-surface-3, var(--aeris-border-strong, #c7c9c0))}:host([data-tone=success]){--_aeris-progress-spinner-color: var(--aeris-success, #6f8a68)}:host([data-tone=info]){--_aeris-progress-spinner-color: var(--aeris-info, #6b8793)}:host([data-tone=warning]){--_aeris-progress-spinner-color: var(--aeris-warning, #c38600)}:host([data-tone=danger]){--_aeris-progress-spinner-color: var(--aeris-danger, #c81e2a)}:host([data-tone=neutral]){--_aeris-progress-spinner-color: var(--aeris-text-3, #6f7667)}:host([data-tone=contrast]){--_aeris-progress-spinner-color: var(--aeris-text, #222222)}.aeris-progress-spinner__graphic{inline-size:100%;block-size:100%;display:block;overflow:visible}.aeris-progress-spinner__track{stroke:var(--aeris-progress-spinner-track, color-mix(in srgb, var(--_aeris-progress-spinner-color) 16%, transparent))}.aeris-progress-spinner__indicator{stroke:var(--aeris-progress-spinner-indicator, var(--_aeris-progress-spinner-color));transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .18s ease}:host([data-mode=indeterminate]) .aeris-progress-spinner__graphic{animation:aeris-progress-spinner-rotate var(--aeris-progress-spinner-duration, 1.1s) linear infinite}:host([data-mode=indeterminate]) .aeris-progress-spinner__indicator{stroke-dasharray:32 94;animation:aeris-progress-spinner-dash var(--aeris-progress-spinner-duration, 1.1s) ease-in-out infinite}.aeris-progress-spinner__value{position:absolute;inset:0;display:grid;place-items:center;padding:.25rem;overflow:hidden;font-size:var(--aeris-progress-spinner-value-font-size, .6875rem);font-weight:800;line-height:1;text-align:center}:host([data-size=sm]) .aeris-progress-spinner__value{display:none}:host([data-size=lg]) .aeris-progress-spinner__value{font-size:var(--aeris-progress-spinner-lg-value-font-size, .875rem)}@keyframes aeris-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes aeris-progress-spinner-dash{0%{stroke-dasharray:12 114;stroke-dashoffset:0}50%{stroke-dasharray:76 50;stroke-dashoffset:-26}to{stroke-dasharray:12 114;stroke-dashoffset:-112}}@media(prefers-reduced-motion:reduce){.aeris-progress-spinner__graphic,.aeris-progress-spinner__indicator{animation:none!important;transition:none}}\n"] }]
207
- }], propDecorators: { valueTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisProgressSpinnerValueTemplate), { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], showTrack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTrack", required: false }] }], showValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "showValue", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaValueText: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaValueText", required: false }] }], valueFormatter: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueFormatter", required: false }] }] } });
208
- const AerisProgressSpinnerModule = [
209
- AerisProgressSpinner,
210
- AerisProgressSpinnerValueTemplate,
211
- ];
212
-
213
- /**
214
- * Generated bundle index. Do not edit.
215
- */
216
-
362
+ `,
363
+ host: {
364
+ class: "aeris-progress-spinner",
365
+ role: "progressbar",
366
+ "[attr.aria-valuemin]": "determinate() ? normalizedMin() : null",
367
+ "[attr.aria-valuemax]": "determinate() ? normalizedMax() : null",
368
+ "[attr.aria-valuenow]": "determinate() ? clampedValue() : null",
369
+ "[attr.aria-valuetext]": "resolvedAriaValueText()",
370
+ "[attr.aria-label]": "ariaLabel() || null",
371
+ "[attr.aria-labelledby]": "ariaLabelledBy() || null",
372
+ "[attr.data-mode]": "determinate() ? \"determinate\" : \"indeterminate\"",
373
+ "[attr.data-size]": "size()",
374
+ "[attr.data-tone]": "tone()",
375
+ "[attr.data-track]": "showTrack() || null",
376
+ "[attr.data-rounded]": "rounded() || null"
377
+ },
378
+ styles: [":host,.aeris-progress-spinner,.aeris-progress-spinner *{box-sizing:border-box}:host(.aeris-progress-spinner){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-size, 3rem);--_aeris-progress-spinner-color: var(--aeris-primary, #111111);position:relative;inline-size:var(--_aeris-progress-spinner-size);block-size:var(--_aeris-progress-spinner-size);max-inline-size:100%;display:inline-grid;place-items:center;color:var(--aeris-progress-spinner-value-color, var(--aeris-text, #111111));font:inherit;vertical-align:middle}:host([data-size=sm]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-sm-size, 1.75rem)}:host([data-size=lg]){--_aeris-progress-spinner-size: var(--aeris-progress-spinner-lg-size, 4.5rem)}:host([data-tone=secondary]){--_aeris-progress-spinner-color: var(--aeris-surface-3, var(--aeris-border, #efefef))}:host([data-tone=success]){--_aeris-progress-spinner-color: var(--aeris-success, #6f8a68)}:host([data-tone=info]){--_aeris-progress-spinner-color: var(--aeris-info, #6b8793)}:host([data-tone=warning]){--_aeris-progress-spinner-color: var(--aeris-warning, #c38600)}:host([data-tone=danger]){--_aeris-progress-spinner-color: var(--aeris-danger, #c81e2a)}:host([data-tone=neutral]){--_aeris-progress-spinner-color: var(--aeris-text-3, #6f7667)}:host([data-tone=contrast]){--_aeris-progress-spinner-color: var(--aeris-text, #111111)}.aeris-progress-spinner__graphic{inline-size:100%;block-size:100%;display:block;overflow:visible}.aeris-progress-spinner__track{stroke:var(--aeris-progress-spinner-track, color-mix(in srgb, var(--_aeris-progress-spinner-color) 16%, transparent))}.aeris-progress-spinner__indicator{stroke:var(--aeris-progress-spinner-indicator, var(--_aeris-progress-spinner-color));transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-mode=indeterminate]) .aeris-progress-spinner__graphic{animation:aeris-progress-spinner-rotate var(--aeris-progress-spinner-duration, 1.1s) linear infinite}:host([data-mode=indeterminate]) .aeris-progress-spinner__indicator{stroke-dasharray:32 94;animation:aeris-progress-spinner-dash var(--aeris-progress-spinner-duration, 1.1s) ease-in-out infinite}.aeris-progress-spinner__value{position:absolute;inset:0;display:grid;place-items:center;padding:.25rem;overflow:hidden;font-size:var(--aeris-progress-spinner-value-font-size, .6875rem);font-weight:var(--aeris-font-weight-bold, 700);line-height:1;text-align:center}:host([data-size=sm]) .aeris-progress-spinner__value{display:none}:host([data-size=lg]) .aeris-progress-spinner__value{font-size:var(--aeris-progress-spinner-lg-value-font-size, .875rem)}@keyframes aeris-progress-spinner-rotate{to{transform:rotate(360deg)}}@keyframes aeris-progress-spinner-dash{0%{stroke-dasharray:12 114;stroke-dashoffset:0}50%{stroke-dasharray:76 50;stroke-dashoffset:-26}to{stroke-dasharray:12 114;stroke-dashoffset:-112}}@media(prefers-reduced-motion:reduce){.aeris-progress-spinner__graphic,.aeris-progress-spinner__indicator{animation:none!important;transition:none}}\n"]
379
+ }]
380
+ }],
381
+ propDecorators: {
382
+ valueTemplate: [{
383
+ type: i0.ContentChild,
384
+ args: [i0.forwardRef(() => AerisProgressSpinnerValueTemplate), { isSignal: true }]
385
+ }],
386
+ value: [{
387
+ type: i0.Input,
388
+ args: [{
389
+ isSignal: true,
390
+ alias: "value",
391
+ required: false
392
+ }]
393
+ }],
394
+ min: [{
395
+ type: i0.Input,
396
+ args: [{
397
+ isSignal: true,
398
+ alias: "min",
399
+ required: false
400
+ }]
401
+ }],
402
+ max: [{
403
+ type: i0.Input,
404
+ args: [{
405
+ isSignal: true,
406
+ alias: "max",
407
+ required: false
408
+ }]
409
+ }],
410
+ size: [{
411
+ type: i0.Input,
412
+ args: [{
413
+ isSignal: true,
414
+ alias: "size",
415
+ required: false
416
+ }]
417
+ }],
418
+ tone: [{
419
+ type: i0.Input,
420
+ args: [{
421
+ isSignal: true,
422
+ alias: "tone",
423
+ required: false
424
+ }]
425
+ }],
426
+ strokeWidth: [{
427
+ type: i0.Input,
428
+ args: [{
429
+ isSignal: true,
430
+ alias: "strokeWidth",
431
+ required: false
432
+ }]
433
+ }],
434
+ showTrack: [{
435
+ type: i0.Input,
436
+ args: [{
437
+ isSignal: true,
438
+ alias: "showTrack",
439
+ required: false
440
+ }]
441
+ }],
442
+ showValue: [{
443
+ type: i0.Input,
444
+ args: [{
445
+ isSignal: true,
446
+ alias: "showValue",
447
+ required: false
448
+ }]
449
+ }],
450
+ rounded: [{
451
+ type: i0.Input,
452
+ args: [{
453
+ isSignal: true,
454
+ alias: "rounded",
455
+ required: false
456
+ }]
457
+ }],
458
+ ariaLabel: [{
459
+ type: i0.Input,
460
+ args: [{
461
+ isSignal: true,
462
+ alias: "ariaLabel",
463
+ required: false
464
+ }]
465
+ }],
466
+ ariaLabelledBy: [{
467
+ type: i0.Input,
468
+ args: [{
469
+ isSignal: true,
470
+ alias: "ariaLabelledBy",
471
+ required: false
472
+ }]
473
+ }],
474
+ ariaValueText: [{
475
+ type: i0.Input,
476
+ args: [{
477
+ isSignal: true,
478
+ alias: "ariaValueText",
479
+ required: false
480
+ }]
481
+ }],
482
+ valueFormatter: [{
483
+ type: i0.Input,
484
+ args: [{
485
+ isSignal: true,
486
+ alias: "valueFormatter",
487
+ required: false
488
+ }]
489
+ }]
490
+ }
491
+ });
492
+ const AerisProgressSpinnerModule = [AerisProgressSpinner, AerisProgressSpinnerValueTemplate];
217
493
  export { AerisProgressSpinner, AerisProgressSpinnerModule, AerisProgressSpinnerValueTemplate };
218
- //# sourceMappingURL=aeris-ui-core-progress-spinner.mjs.map
494
+
495
+ //# sourceMappingURL=aeris-ui-core-progress-spinner.mjs.map