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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/README.md +232 -191
  2. package/THIRD_PARTY_LICENSES.md +48 -0
  3. package/fesm2022/aeris-ui-core-accordion.mjs +666 -273
  4. package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
  5. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
  6. package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
  7. package/fesm2022/aeris-ui-core-auto-complete.mjs +1301 -450
  8. package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
  9. package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
  10. package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
  11. package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
  12. package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/aeris-ui-core-badge.mjs +562 -115
  14. package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/aeris-ui-core-block-ui.mjs +221 -101
  16. package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
  17. package/fesm2022/aeris-ui-core-breadcrumb.mjs +609 -199
  18. package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
  20. package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
  21. package/fesm2022/aeris-ui-core-button-group.mjs +554 -36
  22. package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
  23. package/fesm2022/aeris-ui-core-button.mjs +911 -137
  24. package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
  25. package/fesm2022/aeris-ui-core-card.mjs +371 -101
  26. package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
  27. package/fesm2022/aeris-ui-core-carousel.mjs +835 -369
  28. package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
  29. package/fesm2022/aeris-ui-core-cascade-select.mjs +1294 -525
  30. package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
  31. package/fesm2022/aeris-ui-core-chart.mjs +594 -262
  32. package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
  33. package/fesm2022/aeris-ui-core-checkbox.mjs +619 -150
  34. package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
  35. package/fesm2022/aeris-ui-core-chip.mjs +1109 -121
  36. package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
  37. package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
  38. package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
  39. package/fesm2022/aeris-ui-core-code-block.mjs +687 -0
  40. package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -0
  41. package/fesm2022/aeris-ui-core-color-picker.mjs +2436 -1076
  42. package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
  43. package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
  44. package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
  45. package/fesm2022/aeris-ui-core-compare.mjs +870 -338
  46. package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
  47. package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1454 -575
  48. package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
  49. package/fesm2022/aeris-ui-core-confirm-popup.mjs +1499 -760
  50. package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
  51. package/fesm2022/aeris-ui-core-context-menu.mjs +975 -449
  52. package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
  53. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
  54. package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
  55. package/fesm2022/aeris-ui-core-date-picker.mjs +2538 -1183
  56. package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
  57. package/fesm2022/aeris-ui-core-dialog.mjs +1187 -368
  58. package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
  59. package/fesm2022/aeris-ui-core-divider.mjs +204 -43
  60. package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
  61. package/fesm2022/aeris-ui-core-drawer.mjs +1712 -345
  62. package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
  63. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +418 -254
  64. package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
  65. package/fesm2022/aeris-ui-core-editor.mjs +1808 -783
  66. package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
  67. package/fesm2022/aeris-ui-core-file-upload.mjs +1529 -536
  68. package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
  69. package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
  70. package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
  71. package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
  72. package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
  73. package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
  74. package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
  75. package/fesm2022/aeris-ui-core-form-field.mjs +688 -0
  76. package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -0
  77. package/fesm2022/aeris-ui-core-galleria.mjs +2821 -1143
  78. package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
  79. package/fesm2022/aeris-ui-core-glass.mjs +110 -33
  80. package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
  81. package/fesm2022/aeris-ui-core-icon-field.mjs +426 -98
  82. package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
  83. package/fesm2022/aeris-ui-core-inplace.mjs +496 -132
  84. package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
  85. package/fesm2022/aeris-ui-core-input-group.mjs +413 -107
  86. package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
  87. package/fesm2022/aeris-ui-core-input-mask.mjs +713 -257
  88. package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
  89. package/fesm2022/aeris-ui-core-input-number.mjs +1095 -297
  90. package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
  91. package/fesm2022/aeris-ui-core-input-otp.mjs +678 -264
  92. package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
  93. package/fesm2022/aeris-ui-core-input-text.mjs +703 -160
  94. package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
  95. package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
  96. package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
  97. package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
  98. package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
  99. package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
  100. package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
  101. package/fesm2022/aeris-ui-core-mega-menu.mjs +662 -388
  102. package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
  103. package/fesm2022/aeris-ui-core-menu.mjs +1111 -478
  104. package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
  105. package/fesm2022/aeris-ui-core-menubar.mjs +1081 -411
  106. package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
  107. package/fesm2022/aeris-ui-core-message.mjs +513 -147
  108. package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
  109. package/fesm2022/aeris-ui-core-meter-group.mjs +641 -230
  110. package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
  111. package/fesm2022/aeris-ui-core-multi-select.mjs +1832 -577
  112. package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
  113. package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
  114. package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
  115. package/fesm2022/aeris-ui-core-order-list.mjs +748 -220
  116. package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
  117. package/fesm2022/aeris-ui-core-organization-chart.mjs +521 -201
  118. package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
  119. package/fesm2022/aeris-ui-core-paginator.mjs +671 -127
  120. package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
  121. package/fesm2022/aeris-ui-core-panel.mjs +602 -210
  122. package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
  123. package/fesm2022/aeris-ui-core-password.mjs +1046 -269
  124. package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
  125. package/fesm2022/aeris-ui-core-pick-list.mjs +1796 -703
  126. package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
  127. package/fesm2022/aeris-ui-core-popover.mjs +1354 -385
  128. package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
  129. package/fesm2022/aeris-ui-core-progress-bar.mjs +609 -182
  130. package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
  131. package/fesm2022/aeris-ui-core-progress-spinner.mjs +428 -133
  132. package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
  133. package/fesm2022/aeris-ui-core-radio-button.mjs +502 -132
  134. package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
  135. package/fesm2022/aeris-ui-core-rating.mjs +506 -231
  136. package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
  137. package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
  138. package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
  139. package/fesm2022/aeris-ui-core-scroll-top.mjs +279 -69
  140. package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
  141. package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
  142. package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
  143. package/fesm2022/aeris-ui-core-select.mjs +1984 -668
  144. package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
  145. package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
  146. package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
  147. package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
  148. package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
  149. package/fesm2022/aeris-ui-core-slider.mjs +884 -430
  150. package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
  151. package/fesm2022/aeris-ui-core-speed-dial.mjs +882 -337
  152. package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
  153. package/fesm2022/aeris-ui-core-split-button.mjs +972 -268
  154. package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
  155. package/fesm2022/aeris-ui-core-splitter.mjs +831 -356
  156. package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
  157. package/fesm2022/aeris-ui-core-stepper.mjs +705 -256
  158. package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
  159. package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
  160. package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
  161. package/fesm2022/aeris-ui-core-table.mjs +2927 -923
  162. package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
  163. package/fesm2022/aeris-ui-core-tabs.mjs +855 -283
  164. package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
  165. package/fesm2022/aeris-ui-core-textarea.mjs +919 -221
  166. package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
  167. package/fesm2022/aeris-ui-core-theme-builder.mjs +1368 -1407
  168. package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
  169. package/fesm2022/aeris-ui-core-theming.mjs +132 -144
  170. package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
  171. package/fesm2022/aeris-ui-core-tiered-menu.mjs +966 -447
  172. package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
  173. package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
  174. package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
  175. package/fesm2022/aeris-ui-core-toast.mjs +1109 -384
  176. package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
  177. package/fesm2022/aeris-ui-core-toggle-switch.mjs +398 -132
  178. package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
  179. package/fesm2022/aeris-ui-core-toolbar.mjs +1340 -131
  180. package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
  181. package/fesm2022/aeris-ui-core-tooltip.mjs +625 -330
  182. package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
  183. package/fesm2022/aeris-ui-core-tree-select.mjs +1650 -627
  184. package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
  185. package/fesm2022/aeris-ui-core-tree-table.mjs +2442 -994
  186. package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
  187. package/fesm2022/aeris-ui-core-tree.mjs +1257 -670
  188. package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
  189. package/fesm2022/aeris-ui-core.mjs +1601 -312
  190. package/fesm2022/aeris-ui-core.mjs.map +1 -1
  191. package/package.json +48 -8
  192. package/schematics/ng-add/schema.json +1 -1
  193. package/schematics/runtime/schematics/ng-add/options.js +4 -4
  194. package/schematics/runtime/schematics/ng-add/options.js.map +1 -1
  195. package/schematics/runtime/schematics/ng-add/workspace.js +1 -1
  196. package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -1
  197. package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
  198. package/schematics/runtime/theme-builder/aeris-contrast.js +38 -17
  199. package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
  200. package/schematics/runtime/theme-builder/aeris-foundation.js +13 -8
  201. package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
  202. package/schematics/runtime/theme-builder/aeris-semantic-tones.js +33 -23
  203. package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
  204. package/schematics/runtime/theme-builder/aeris-theme-generator.js +8 -2
  205. package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
  206. package/schematics/runtime/theme-builder/aeris-theme-resolver.js +63 -76
  207. package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
  208. package/schematics/runtime/theme-builder/aeris-theme-tokens.js +15 -5
  209. package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
  210. package/schematics/runtime/theme-builder/aeris-theme-validation.js +18 -2
  211. package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
  212. package/schematics/runtime/theme-builder/aeris-theme.js +121 -34
  213. package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
  214. package/styles/_choice-card.scss +93 -0
  215. package/styles/_fallback-colors.scss +10 -0
  216. package/styles/_icon-artwork.scss +14 -0
  217. package/styles/_icon-template.scss +42 -0
  218. package/styles/_mobile.scss +16 -0
  219. package/styles/_selection-icons.scss +12 -0
  220. package/styles/_table-pinning.scss +119 -0
  221. package/styles/_tokens.scss +5 -5
  222. package/styles/aeris.css +447 -137
  223. package/styles/controls.css +205 -35
  224. package/tools/aeris-theme.mjs +4 -4
  225. package/tools/aeris-theme.schema.json +18 -13
  226. package/types/aeris-ui-core-accordion.d.ts +167 -93
  227. package/types/aeris-ui-core-animate-on-scroll.d.ts +72 -31
  228. package/types/aeris-ui-core-auto-complete.d.ts +339 -140
  229. package/types/aeris-ui-core-auto-focus.d.ts +24 -16
  230. package/types/aeris-ui-core-avatar.d.ts +112 -42
  231. package/types/aeris-ui-core-badge.d.ts +160 -46
  232. package/types/aeris-ui-core-block-ui.d.ts +48 -27
  233. package/types/aeris-ui-core-breadcrumb.d.ts +163 -92
  234. package/types/aeris-ui-core-button-forms.d.ts +18 -0
  235. package/types/aeris-ui-core-button-group.d.ts +150 -16
  236. package/types/aeris-ui-core-button.d.ts +274 -67
  237. package/types/aeris-ui-core-card.d.ts +74 -37
  238. package/types/aeris-ui-core-carousel.d.ts +213 -117
  239. package/types/aeris-ui-core-cascade-select.d.ts +275 -123
  240. package/types/aeris-ui-core-chart.d.ts +150 -84
  241. package/types/aeris-ui-core-checkbox.d.ts +173 -54
  242. package/types/aeris-ui-core-chip.d.ts +316 -56
  243. package/types/aeris-ui-core-class-names.d.ts +22 -20
  244. package/types/aeris-ui-core-code-block.d.ts +201 -0
  245. package/types/aeris-ui-core-color-picker.d.ts +450 -143
  246. package/types/aeris-ui-core-command-palette.d.ts +267 -0
  247. package/types/aeris-ui-core-compare.d.ts +230 -102
  248. package/types/aeris-ui-core-confirm-dialog.d.ts +450 -245
  249. package/types/aeris-ui-core-confirm-popup.d.ts +442 -263
  250. package/types/aeris-ui-core-context-menu.d.ts +270 -146
  251. package/types/aeris-ui-core-date-picker.d.ts +594 -219
  252. package/types/aeris-ui-core-dialog.d.ts +301 -117
  253. package/types/aeris-ui-core-divider.d.ts +58 -20
  254. package/types/aeris-ui-core-drawer.d.ts +380 -112
  255. package/types/aeris-ui-core-dynamic-dialog.d.ts +162 -137
  256. package/types/aeris-ui-core-editor.d.ts +257 -123
  257. package/types/aeris-ui-core-file-upload.d.ts +385 -197
  258. package/types/aeris-ui-core-filter-service.d.ts +48 -52
  259. package/types/aeris-ui-core-fluid.d.ts +12 -9
  260. package/types/aeris-ui-core-focus-trap.d.ts +39 -31
  261. package/types/aeris-ui-core-form-field.d.ts +163 -0
  262. package/types/aeris-ui-core-galleria.d.ts +636 -256
  263. package/types/aeris-ui-core-glass.d.ts +24 -11
  264. package/types/aeris-ui-core-icon-field.d.ts +94 -32
  265. package/types/aeris-ui-core-inplace.d.ts +129 -62
  266. package/types/aeris-ui-core-input-group.d.ts +84 -33
  267. package/types/aeris-ui-core-input-mask.d.ts +201 -69
  268. package/types/aeris-ui-core-input-number.d.ts +291 -87
  269. package/types/aeris-ui-core-input-otp.d.ts +191 -81
  270. package/types/aeris-ui-core-input-text.d.ts +195 -60
  271. package/types/aeris-ui-core-kbd.d.ts +74 -0
  272. package/types/aeris-ui-core-key-filter.d.ts +53 -39
  273. package/types/aeris-ui-core-listbox.d.ts +222 -0
  274. package/types/aeris-ui-core-mega-menu.d.ts +181 -121
  275. package/types/aeris-ui-core-menu.d.ts +283 -168
  276. package/types/aeris-ui-core-menubar.d.ts +289 -135
  277. package/types/aeris-ui-core-message.d.ts +138 -60
  278. package/types/aeris-ui-core-meter-group.d.ts +169 -90
  279. package/types/aeris-ui-core-multi-select.d.ts +469 -180
  280. package/types/aeris-ui-core-navbar.d.ts +208 -0
  281. package/types/aeris-ui-core-order-list.d.ts +168 -66
  282. package/types/aeris-ui-core-organization-chart.d.ts +139 -77
  283. package/types/aeris-ui-core-paginator.d.ts +129 -38
  284. package/types/aeris-ui-core-panel.d.ts +149 -78
  285. package/types/aeris-ui-core-password.d.ts +276 -102
  286. package/types/aeris-ui-core-pick-list.d.ts +428 -179
  287. package/types/aeris-ui-core-popover.d.ts +294 -105
  288. package/types/aeris-ui-core-progress-bar.d.ts +163 -73
  289. package/types/aeris-ui-core-progress-spinner.d.ts +116 -48
  290. package/types/aeris-ui-core-radio-button.d.ts +146 -50
  291. package/types/aeris-ui-core-rating.d.ts +149 -76
  292. package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
  293. package/types/aeris-ui-core-scroll-top.d.ts +73 -29
  294. package/types/aeris-ui-core-select-native.d.ts +40 -0
  295. package/types/aeris-ui-core-select.d.ts +487 -217
  296. package/types/aeris-ui-core-sidebar.d.ts +220 -0
  297. package/types/aeris-ui-core-skeleton.d.ts +39 -17
  298. package/types/aeris-ui-core-slider.d.ts +270 -115
  299. package/types/aeris-ui-core-speed-dial.d.ts +241 -111
  300. package/types/aeris-ui-core-split-button.d.ts +267 -113
  301. package/types/aeris-ui-core-splitter.d.ts +224 -106
  302. package/types/aeris-ui-core-stepper.d.ts +184 -91
  303. package/types/aeris-ui-core-style-class.d.ts +141 -71
  304. package/types/aeris-ui-core-table.d.ts +729 -304
  305. package/types/aeris-ui-core-tabs.d.ts +193 -76
  306. package/types/aeris-ui-core-textarea.d.ts +271 -78
  307. package/types/aeris-ui-core-theme-builder.d.ts +220 -463
  308. package/types/aeris-ui-core-theming.d.ts +42 -45
  309. package/types/aeris-ui-core-tiered-menu.d.ts +257 -142
  310. package/types/aeris-ui-core-timeline.d.ts +109 -71
  311. package/types/aeris-ui-core-toast.d.ts +231 -115
  312. package/types/aeris-ui-core-toggle-switch.d.ts +125 -51
  313. package/types/aeris-ui-core-toolbar.d.ts +314 -47
  314. package/types/aeris-ui-core-tooltip.d.ts +157 -88
  315. package/types/aeris-ui-core-tree-select.d.ts +394 -171
  316. package/types/aeris-ui-core-tree-table.d.ts +629 -288
  317. package/types/aeris-ui-core-tree.d.ts +294 -165
  318. package/types/aeris-ui-core.d.ts +338 -74
@@ -1,304 +1,261 @@
1
- import * as i0 from '@angular/core';
2
- import { signal, Service } from '@angular/core';
3
-
1
+ import * as i0 from "@angular/core";
2
+ import { Service, signal } from "@angular/core";
4
3
  const AERIS_FILTER_MODES = [
5
- 'starts-with',
6
- 'contains',
7
- 'not-contains',
8
- 'ends-with',
9
- 'equals',
10
- 'not-equals',
11
- 'is',
12
- 'is-not',
13
- 'one-of',
14
- 'less-than',
15
- 'less-than-or-equal',
16
- 'greater-than',
17
- 'greater-than-or-equal',
18
- 'before',
19
- 'after',
4
+ "starts-with",
5
+ "contains",
6
+ "not-contains",
7
+ "ends-with",
8
+ "equals",
9
+ "not-equals",
10
+ "is",
11
+ "is-not",
12
+ "one-of",
13
+ "less-than",
14
+ "less-than-or-equal",
15
+ "greater-than",
16
+ "greater-than-or-equal",
17
+ "before",
18
+ "after"
20
19
  ];
21
- const BLOCKED_PATH_SEGMENTS = new Set(['__proto__', 'prototype', 'constructor']);
22
- class AerisFilterService {
23
- builtIns = new Map([
24
- ['starts-with', (value, filter, context) => this.textMatch(value, filter, context, 'start')],
25
- ['contains', (value, filter, context) => this.textMatch(value, filter, context, 'anywhere')],
26
- [
27
- 'not-contains',
28
- (value, filter, context) => this.isEmptyFilter(filter) ||
29
- (value !== null &&
30
- value !== undefined &&
31
- !this.textMatch(value, filter, context, 'anywhere')),
32
- ],
33
- ['ends-with', (value, filter, context) => this.textMatch(value, filter, context, 'end')],
34
- ['equals', (value, filter, context) => this.equals(value, filter, context)],
35
- ['not-equals', (value, filter, context) => this.notEquals(value, filter, context)],
36
- ['is', (value, filter, context) => this.equals(value, filter, context)],
37
- ['is-not', (value, filter, context) => this.notEquals(value, filter, context)],
38
- ['one-of', (value, filter, context) => this.oneOf(value, filter, context)],
39
- ['less-than', (value, filter, context) => this.comparison(value, filter, context, 'lt')],
40
- [
41
- 'less-than-or-equal',
42
- (value, filter, context) => this.comparison(value, filter, context, 'lte'),
43
- ],
44
- ['greater-than', (value, filter, context) => this.comparison(value, filter, context, 'gt')],
45
- [
46
- 'greater-than-or-equal',
47
- (value, filter, context) => this.comparison(value, filter, context, 'gte'),
48
- ],
49
- ['before', (value, filter) => this.dateComparison(value, filter, 'before')],
50
- ['after', (value, filter) => this.dateComparison(value, filter, 'after')],
51
- ]);
52
- registry = signal(new Map(this.builtIns), /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "registry" }] : /* istanbul ignore next */ []));
54
- customRegistrations = new Map();
55
- constraints = this.registry.asReadonly();
56
- filter(values, options) {
57
- if (this.isEmptyFilter(options.query))
58
- return [...values];
59
- const mode = this.normalizeName(options.mode ?? 'contains');
60
- const constraint = this.registry().get(mode);
61
- if (!constraint)
62
- return [];
63
- const context = { mode, locale: options.locale };
64
- const fields = options.fields?.filter((field) => typeof field === 'function' ? true : field.trim().length > 0);
65
- const operator = options.fieldOperator ?? 'or';
66
- return values.filter((item) => {
67
- if (!fields?.length)
68
- return this.applyConstraint(constraint, item, options.query, context);
69
- const results = fields.map((field) => this.applyConstraint(constraint, this.resolveField(item, field), options.query, context));
70
- return operator === 'and' ? results.every(Boolean) : results.some(Boolean);
71
- });
72
- }
73
- matches(value, filter, mode = 'contains', locale) {
74
- const normalizedMode = this.normalizeName(mode);
75
- const constraint = this.registry().get(normalizedMode);
76
- if (!constraint)
77
- return false;
78
- return this.applyConstraint(constraint, value, filter, {
79
- mode: normalizedMode,
80
- locale,
81
- });
82
- }
83
- register(name, constraint) {
84
- const normalizedName = this.normalizeName(name);
85
- if (!normalizedName)
86
- throw new TypeError('Filter constraint names must not be empty.');
87
- const token = Symbol(normalizedName);
88
- const registrations = this.customRegistrations.get(normalizedName) ?? [];
89
- registrations.push({ token, constraint });
90
- this.customRegistrations.set(normalizedName, registrations);
91
- this.syncConstraint(normalizedName);
92
- let registered = true;
93
- return () => {
94
- if (!registered)
95
- return;
96
- registered = false;
97
- const current = this.customRegistrations.get(normalizedName);
98
- if (!current)
99
- return;
100
- const next = current.filter((registration) => registration.token !== token);
101
- if (next.length)
102
- this.customRegistrations.set(normalizedName, next);
103
- else
104
- this.customRegistrations.delete(normalizedName);
105
- this.syncConstraint(normalizedName);
106
- };
107
- }
108
- unregister(name) {
109
- const normalizedName = this.normalizeName(name);
110
- if (!this.customRegistrations.has(normalizedName))
111
- return false;
112
- this.customRegistrations.delete(normalizedName);
113
- this.syncConstraint(normalizedName);
114
- return true;
115
- }
116
- has(name) {
117
- return this.registry().has(this.normalizeName(name));
118
- }
119
- constraintNames() {
120
- return [...this.registry().keys()].sort((left, right) => left.localeCompare(right));
121
- }
122
- textMatch(value, filter, context, position) {
123
- if (this.isEmptyFilter(filter))
124
- return true;
125
- if (value === null || value === undefined)
126
- return false;
127
- const candidate = this.normalizeText(value, context.locale);
128
- const query = this.normalizeText(filter, context.locale);
129
- if (candidate === null || query === null)
130
- return false;
131
- if (position === 'start')
132
- return candidate.startsWith(query);
133
- if (position === 'end')
134
- return candidate.endsWith(query);
135
- return candidate.includes(query);
136
- }
137
- equals(value, filter, context) {
138
- if (this.isEmptyFilter(filter))
139
- return true;
140
- return this.equalValues(value, filter, context.locale);
141
- }
142
- notEquals(value, filter, context) {
143
- if (this.isEmptyFilter(filter))
144
- return true;
145
- return !this.equalValues(value, filter, context.locale);
146
- }
147
- oneOf(value, filter, context) {
148
- if (!Array.isArray(filter))
149
- return false;
150
- if (filter.length === 0)
151
- return true;
152
- return filter.some((candidate) => this.equalValues(value, candidate, context.locale));
153
- }
154
- equalValues(value, filter, locale) {
155
- if (value instanceof Date || filter instanceof Date) {
156
- const valueTime = this.dateValue(value);
157
- const filterTime = this.dateValue(filter);
158
- return valueTime !== null && filterTime !== null && valueTime === filterTime;
159
- }
160
- if (typeof value === 'string' && typeof filter === 'string') {
161
- return this.normalizeText(value, locale) === this.normalizeText(filter, locale);
162
- }
163
- return Object.is(value, filter);
164
- }
165
- comparison(value, filter, context, operator) {
166
- if (this.isEmptyFilter(filter))
167
- return true;
168
- const comparison = this.compareValues(value, filter, context.locale);
169
- if (comparison === null)
170
- return false;
171
- if (operator === 'lt')
172
- return comparison < 0;
173
- if (operator === 'lte')
174
- return comparison <= 0;
175
- if (operator === 'gt')
176
- return comparison > 0;
177
- return comparison >= 0;
178
- }
179
- compareValues(value, filter, locale) {
180
- if (value instanceof Date || filter instanceof Date) {
181
- const left = this.dateValue(value);
182
- const right = this.dateValue(filter);
183
- return left === null || right === null ? null : Math.sign(left - right);
184
- }
185
- if (typeof value === 'number' && typeof filter === 'number') {
186
- return Number.isFinite(value) && Number.isFinite(filter) ? Math.sign(value - filter) : null;
187
- }
188
- if (typeof value === 'bigint' && typeof filter === 'bigint') {
189
- return value === filter ? 0 : value < filter ? -1 : 1;
190
- }
191
- if (typeof value === 'string' && typeof filter === 'string') {
192
- try {
193
- return new Intl.Collator(this.localeArgument(locale), {
194
- numeric: true,
195
- sensitivity: 'base',
196
- }).compare(value, filter);
197
- }
198
- catch {
199
- return value.localeCompare(filter);
200
- }
201
- }
202
- return null;
203
- }
204
- dateComparison(value, filter, operator) {
205
- if (this.isEmptyFilter(filter))
206
- return true;
207
- const valueTime = this.dateValue(value);
208
- const filterTime = this.dateValue(filter);
209
- if (valueTime === null || filterTime === null)
210
- return false;
211
- return operator === 'before' ? valueTime < filterTime : valueTime > filterTime;
212
- }
213
- dateValue(value) {
214
- if (!(value instanceof Date) && typeof value !== 'string' && typeof value !== 'number') {
215
- return null;
216
- }
217
- const time = value instanceof Date ? value.getTime() : new Date(value).getTime();
218
- return Number.isFinite(time) ? time : null;
219
- }
220
- normalizeText(value, locale) {
221
- try {
222
- const text = String(value).normalize('NFKD').replace(/\p{M}/gu, '');
223
- try {
224
- return text.toLocaleLowerCase(this.localeArgument(locale));
225
- }
226
- catch {
227
- return text.toLowerCase();
228
- }
229
- }
230
- catch {
231
- return null;
232
- }
233
- }
234
- localeArgument(locale) {
235
- return Array.isArray(locale) ? [...locale] : locale;
236
- }
237
- resolveField(item, field) {
238
- if (typeof field === 'function') {
239
- try {
240
- return field(item);
241
- }
242
- catch {
243
- return undefined;
244
- }
245
- }
246
- let current = item;
247
- for (const segment of field.split('.')) {
248
- if (!segment || BLOCKED_PATH_SEGMENTS.has(segment))
249
- return undefined;
250
- if ((typeof current !== 'object' && typeof current !== 'function') || current === null) {
251
- return undefined;
252
- }
253
- if (!Object.prototype.hasOwnProperty.call(current, segment))
254
- return undefined;
255
- try {
256
- current = current[segment];
257
- }
258
- catch {
259
- return undefined;
260
- }
261
- }
262
- return current;
263
- }
264
- applyConstraint(constraint, value, filter, context) {
265
- try {
266
- return Boolean(constraint(value, filter, context));
267
- }
268
- catch {
269
- return false;
270
- }
271
- }
272
- updateRegistry(update) {
273
- this.registry.update((current) => new Map(update(new Map(current))));
274
- }
275
- syncConstraint(name) {
276
- const registrations = this.customRegistrations.get(name);
277
- const constraint = registrations?.at(-1)?.constraint ?? this.builtIns.get(name);
278
- this.updateRegistry((registry) => {
279
- if (constraint)
280
- registry.set(name, constraint);
281
- else
282
- registry.delete(name);
283
- return registry;
284
- });
285
- }
286
- isEmptyFilter(value) {
287
- return value === null || value === undefined || (typeof value === 'string' && !value.trim());
288
- }
289
- normalizeName(value) {
290
- return value.trim().toLocaleLowerCase();
291
- }
292
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisFilterService, deps: [], target: i0.ɵɵFactoryTarget.Service });
293
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.6", ngImport: i0, type: AerisFilterService });
294
- }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisFilterService, decorators: [{
296
- type: Service
297
- }] });
298
-
299
- /**
300
- * Generated bundle index. Do not edit.
301
- */
302
-
20
+ const BLOCKED_PATH_SEGMENTS = /* @__PURE__ */ new Set([
21
+ "__proto__",
22
+ "prototype",
23
+ "constructor"
24
+ ]);
25
+ var AerisFilterService = class AerisFilterService {
26
+ builtIns = /* @__PURE__ */ new Map([
27
+ ["starts-with", (value, filter, context) => this.textMatch(value, filter, context, "start")],
28
+ ["contains", (value, filter, context) => this.textMatch(value, filter, context, "anywhere")],
29
+ ["not-contains", (value, filter, context) => this.isEmptyFilter(filter) || value !== null && value !== void 0 && !this.textMatch(value, filter, context, "anywhere")],
30
+ ["ends-with", (value, filter, context) => this.textMatch(value, filter, context, "end")],
31
+ ["equals", (value, filter, context) => this.equals(value, filter, context)],
32
+ ["not-equals", (value, filter, context) => this.notEquals(value, filter, context)],
33
+ ["is", (value, filter, context) => this.equals(value, filter, context)],
34
+ ["is-not", (value, filter, context) => this.notEquals(value, filter, context)],
35
+ ["one-of", (value, filter, context) => this.oneOf(value, filter, context)],
36
+ ["less-than", (value, filter, context) => this.comparison(value, filter, context, "lt")],
37
+ ["less-than-or-equal", (value, filter, context) => this.comparison(value, filter, context, "lte")],
38
+ ["greater-than", (value, filter, context) => this.comparison(value, filter, context, "gt")],
39
+ ["greater-than-or-equal", (value, filter, context) => this.comparison(value, filter, context, "gte")],
40
+ ["before", (value, filter) => this.dateComparison(value, filter, "before")],
41
+ ["after", (value, filter) => this.dateComparison(value, filter, "after")]
42
+ ]);
43
+ registry = signal(new Map(this.builtIns), ...ngDevMode ? [{ debugName: "registry" }] : /* istanbul ignore next */ []);
44
+ customRegistrations = /* @__PURE__ */ new Map();
45
+ constraints = this.registry.asReadonly();
46
+ filter(values, options) {
47
+ if (this.isEmptyFilter(options.query)) return [...values];
48
+ const mode = this.normalizeName(options.mode ?? "contains");
49
+ const constraint = this.registry().get(mode);
50
+ if (!constraint) return [];
51
+ const context = {
52
+ mode,
53
+ locale: options.locale
54
+ };
55
+ const fields = options.fields?.filter((field) => typeof field === "function" ? true : field.trim().length > 0);
56
+ const operator = options.fieldOperator ?? "or";
57
+ return values.filter((item) => {
58
+ if (!fields?.length) return this.applyConstraint(constraint, item, options.query, context);
59
+ const results = fields.map((field) => this.applyConstraint(constraint, this.resolveField(item, field), options.query, context));
60
+ return operator === "and" ? results.every(Boolean) : results.some(Boolean);
61
+ });
62
+ }
63
+ matches(value, filter, mode = "contains", locale) {
64
+ const normalizedMode = this.normalizeName(mode);
65
+ const constraint = this.registry().get(normalizedMode);
66
+ if (!constraint) return false;
67
+ return this.applyConstraint(constraint, value, filter, {
68
+ mode: normalizedMode,
69
+ locale
70
+ });
71
+ }
72
+ register(name, constraint) {
73
+ const normalizedName = this.normalizeName(name);
74
+ if (!normalizedName) throw new TypeError("Filter constraint names must not be empty.");
75
+ const token = Symbol(normalizedName);
76
+ const registrations = this.customRegistrations.get(normalizedName) ?? [];
77
+ registrations.push({
78
+ token,
79
+ constraint
80
+ });
81
+ this.customRegistrations.set(normalizedName, registrations);
82
+ this.syncConstraint(normalizedName);
83
+ let registered = true;
84
+ return () => {
85
+ if (!registered) return;
86
+ registered = false;
87
+ const current = this.customRegistrations.get(normalizedName);
88
+ if (!current) return;
89
+ const next = current.filter((registration) => registration.token !== token);
90
+ if (next.length) this.customRegistrations.set(normalizedName, next);
91
+ else this.customRegistrations.delete(normalizedName);
92
+ this.syncConstraint(normalizedName);
93
+ };
94
+ }
95
+ unregister(name) {
96
+ const normalizedName = this.normalizeName(name);
97
+ if (!this.customRegistrations.has(normalizedName)) return false;
98
+ this.customRegistrations.delete(normalizedName);
99
+ this.syncConstraint(normalizedName);
100
+ return true;
101
+ }
102
+ has(name) {
103
+ return this.registry().has(this.normalizeName(name));
104
+ }
105
+ constraintNames() {
106
+ return [...this.registry().keys()].sort((left, right) => left.localeCompare(right));
107
+ }
108
+ textMatch(value, filter, context, position) {
109
+ if (this.isEmptyFilter(filter)) return true;
110
+ if (value === null || value === void 0) return false;
111
+ const candidate = this.normalizeText(value, context.locale);
112
+ const query = this.normalizeText(filter, context.locale);
113
+ if (candidate === null || query === null) return false;
114
+ if (position === "start") return candidate.startsWith(query);
115
+ if (position === "end") return candidate.endsWith(query);
116
+ return candidate.includes(query);
117
+ }
118
+ equals(value, filter, context) {
119
+ if (this.isEmptyFilter(filter)) return true;
120
+ return this.equalValues(value, filter, context.locale);
121
+ }
122
+ notEquals(value, filter, context) {
123
+ if (this.isEmptyFilter(filter)) return true;
124
+ return !this.equalValues(value, filter, context.locale);
125
+ }
126
+ oneOf(value, filter, context) {
127
+ if (!Array.isArray(filter)) return false;
128
+ if (filter.length === 0) return true;
129
+ return filter.some((candidate) => this.equalValues(value, candidate, context.locale));
130
+ }
131
+ equalValues(value, filter, locale) {
132
+ if (value instanceof Date || filter instanceof Date) {
133
+ const valueTime = this.dateValue(value);
134
+ const filterTime = this.dateValue(filter);
135
+ return valueTime !== null && filterTime !== null && valueTime === filterTime;
136
+ }
137
+ if (typeof value === "string" && typeof filter === "string") return this.normalizeText(value, locale) === this.normalizeText(filter, locale);
138
+ return Object.is(value, filter);
139
+ }
140
+ comparison(value, filter, context, operator) {
141
+ if (this.isEmptyFilter(filter)) return true;
142
+ const comparison = this.compareValues(value, filter, context.locale);
143
+ if (comparison === null) return false;
144
+ if (operator === "lt") return comparison < 0;
145
+ if (operator === "lte") return comparison <= 0;
146
+ if (operator === "gt") return comparison > 0;
147
+ return comparison >= 0;
148
+ }
149
+ compareValues(value, filter, locale) {
150
+ if (value instanceof Date || filter instanceof Date) {
151
+ const left = this.dateValue(value);
152
+ const right = this.dateValue(filter);
153
+ return left === null || right === null ? null : Math.sign(left - right);
154
+ }
155
+ if (typeof value === "number" && typeof filter === "number") return Number.isFinite(value) && Number.isFinite(filter) ? Math.sign(value - filter) : null;
156
+ if (typeof value === "bigint" && typeof filter === "bigint") return value === filter ? 0 : value < filter ? -1 : 1;
157
+ if (typeof value === "string" && typeof filter === "string") try {
158
+ return new Intl.Collator(this.localeArgument(locale), {
159
+ numeric: true,
160
+ sensitivity: "base"
161
+ }).compare(value, filter);
162
+ } catch {
163
+ return value.localeCompare(filter);
164
+ }
165
+ return null;
166
+ }
167
+ dateComparison(value, filter, operator) {
168
+ if (this.isEmptyFilter(filter)) return true;
169
+ const valueTime = this.dateValue(value);
170
+ const filterTime = this.dateValue(filter);
171
+ if (valueTime === null || filterTime === null) return false;
172
+ return operator === "before" ? valueTime < filterTime : valueTime > filterTime;
173
+ }
174
+ dateValue(value) {
175
+ if (!(value instanceof Date) && typeof value !== "string" && typeof value !== "number") return null;
176
+ const time = value instanceof Date ? value.getTime() : new Date(value).getTime();
177
+ return Number.isFinite(time) ? time : null;
178
+ }
179
+ normalizeText(value, locale) {
180
+ try {
181
+ const text = String(value).normalize("NFKD").replace(/\p{M}/gu, "");
182
+ try {
183
+ return text.toLocaleLowerCase(this.localeArgument(locale));
184
+ } catch {
185
+ return text.toLowerCase();
186
+ }
187
+ } catch {
188
+ return null;
189
+ }
190
+ }
191
+ localeArgument(locale) {
192
+ return Array.isArray(locale) ? [...locale] : locale;
193
+ }
194
+ resolveField(item, field) {
195
+ if (typeof field === "function") try {
196
+ return field(item);
197
+ } catch {
198
+ return;
199
+ }
200
+ let current = item;
201
+ for (const segment of field.split(".")) {
202
+ if (!segment || BLOCKED_PATH_SEGMENTS.has(segment)) return void 0;
203
+ if (typeof current !== "object" && typeof current !== "function" || current === null) return;
204
+ if (!Object.prototype.hasOwnProperty.call(current, segment)) return void 0;
205
+ try {
206
+ current = current[segment];
207
+ } catch {
208
+ return;
209
+ }
210
+ }
211
+ return current;
212
+ }
213
+ applyConstraint(constraint, value, filter, context) {
214
+ try {
215
+ return Boolean(constraint(value, filter, context));
216
+ } catch {
217
+ return false;
218
+ }
219
+ }
220
+ updateRegistry(update) {
221
+ this.registry.update((current) => new Map(update(new Map(current))));
222
+ }
223
+ syncConstraint(name) {
224
+ const constraint = this.customRegistrations.get(name)?.at(-1)?.constraint ?? this.builtIns.get(name);
225
+ this.updateRegistry((registry) => {
226
+ if (constraint) registry.set(name, constraint);
227
+ else registry.delete(name);
228
+ return registry;
229
+ });
230
+ }
231
+ isEmptyFilter(value) {
232
+ return value === null || value === void 0 || typeof value === "string" && !value.trim();
233
+ }
234
+ normalizeName(value) {
235
+ return value.trim().toLocaleLowerCase();
236
+ }
237
+ static ɵfac = i0.ɵɵngDeclareFactory({
238
+ minVersion: "12.0.0",
239
+ version: "22.2.3",
240
+ ngImport: i0,
241
+ type: AerisFilterService,
242
+ deps: [],
243
+ target: i0.ɵɵFactoryTarget.Service
244
+ });
245
+ static ɵprov = i0.ɵɵngDeclareService({
246
+ minVersion: "22.0.0",
247
+ version: "22.2.3",
248
+ ngImport: i0,
249
+ type: AerisFilterService
250
+ });
251
+ };
252
+ i0.ɵɵngDeclareClassMetadata({
253
+ minVersion: "12.0.0",
254
+ version: "22.2.3",
255
+ ngImport: i0,
256
+ type: AerisFilterService,
257
+ decorators: [{ type: Service }]
258
+ });
303
259
  export { AERIS_FILTER_MODES, AerisFilterService };
304
- //# sourceMappingURL=aeris-ui-core-filter-service.mjs.map
260
+
261
+ //# sourceMappingURL=aeris-ui-core-filter-service.mjs.map