@odx/angular 1.0.0-rc.8 → 1.0.0-rc.9

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 (549) hide show
  1. package/README.md +6 -6
  2. package/cdk/a11y/README.md +3 -0
  3. package/cdk/a11y/index.d.ts +2 -0
  4. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  5. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  6. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  7. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  8. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  9. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +2 -2
  10. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +1 -1
  11. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +1 -1
  12. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +1 -0
  13. package/cdk/custom-form-control/lib/control.directive.d.ts +1 -1
  14. package/cdk/custom-form-control/lib/custom-form-control.d.ts +1 -1
  15. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +1 -1
  16. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
  17. package/cdk/expandable/index.d.ts +1 -0
  18. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +2 -2
  19. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +2 -2
  20. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  21. package/cdk/expandable/lib/facade/expandable-container.d.ts +4 -4
  22. package/cdk/expandable/lib/facade/expandable-item.d.ts +6 -6
  23. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +1 -1
  24. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +1 -1
  25. package/components/accordion/lib/accordion.component.d.ts +1 -1
  26. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +1 -1
  27. package/components/accordion/lib/directives/accordion-item-title.d.ts +1 -1
  28. package/components/action-group/action-group.component.d.ts +1 -1
  29. package/components/area-header/area-header.component.d.ts +1 -1
  30. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  31. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  32. package/components/avatar/lib/avatar.component.d.ts +1 -1
  33. package/components/badge/lib/badge.component.d.ts +1 -1
  34. package/components/badge/lib/badge.directive.d.ts +1 -1
  35. package/components/bar/README.md +3 -0
  36. package/components/bar/index.d.ts +5 -0
  37. package/components/bar/lib/bar.component.d.ts +6 -0
  38. package/components/bar/lib/bar.module.d.ts +10 -0
  39. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  40. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  41. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  42. package/components/breadcrumbs/README.md +3 -0
  43. package/components/breadcrumbs/index.d.ts +1 -0
  44. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  45. package/components/button/lib/button.component.d.ts +3 -4
  46. package/components/button-group/lib/button-group.component.d.ts +1 -1
  47. package/components/checkbox/lib/checkbox.component.d.ts +2 -1
  48. package/components/checkbox/lib/checkbox.validator.d.ts +1 -1
  49. package/components/chip/lib/chip.component.d.ts +1 -1
  50. package/components/circular-progress/lib/circular-progress.component.d.ts +1 -1
  51. package/components/content-box/lib/content-box.component.d.ts +1 -1
  52. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  53. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  54. package/components/dropdown/index.d.ts +1 -0
  55. package/components/dropdown/lib/dropdown.component.d.ts +2 -1
  56. package/components/dropdown/lib/dropdown.directive.d.ts +9 -4
  57. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  58. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  59. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  60. package/components/dropdown/lib/models/index.d.ts +1 -0
  61. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +1 -1
  62. package/components/form-field/lib/components/form-group/form-group.component.d.ts +1 -1
  63. package/components/form-field/lib/directives/form-field-control.directive.d.ts +1 -1
  64. package/components/form-field/lib/directives/form-field-error.directive.d.ts +1 -1
  65. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +1 -1
  66. package/components/form-field/lib/directives/form-field-label.directive.d.ts +1 -1
  67. package/components/form-field/lib/directives/form.directive.d.ts +1 -1
  68. package/components/form-field/lib/form-field.component.d.ts +2 -1
  69. package/components/header/lib/directives/header-avatar.directive.d.ts +1 -1
  70. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  71. package/components/header/lib/header.component.d.ts +1 -1
  72. package/components/header/lib/header.module.d.ts +2 -3
  73. package/components/icon/lib/icon.component.d.ts +1 -1
  74. package/components/icon/lib/models/icon-size.d.ts +2 -1
  75. package/components/inline-message/index.d.ts +1 -1
  76. package/components/inline-message/lib/inline-message.component.d.ts +2 -2
  77. package/components/inline-message/lib/models/index.d.ts +1 -0
  78. package/components/launch-tile/index.d.ts +1 -3
  79. package/components/launch-tile/lib/components/index.d.ts +2 -0
  80. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +1 -1
  81. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +1 -1
  82. package/components/launch-tile/lib/launch-tile.component.d.ts +9 -7
  83. package/components/launch-tile/lib/launch-tile.module.d.ts +8 -10
  84. package/components/link/link.directive.d.ts +2 -4
  85. package/components/list/lib/components/index.d.ts +1 -1
  86. package/components/list/lib/components/{list-item.component.d.ts → list-item/list-item.component.d.ts} +2 -4
  87. package/components/list/lib/list.component.d.ts +2 -1
  88. package/components/list/lib/list.module.d.ts +1 -1
  89. package/components/loading-spinner/lib/loading-spinner.component.d.ts +1 -1
  90. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +2 -2
  91. package/components/logo/logo.directive.d.ts +1 -1
  92. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -1
  93. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +2 -4
  94. package/components/main-menu/lib/main-menu.component.d.ts +1 -1
  95. package/components/menu/README.md +3 -0
  96. package/components/menu/index.d.ts +4 -0
  97. package/components/menu/lib/directives/index.d.ts +1 -0
  98. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  99. package/components/menu/lib/menu.component.d.ts +8 -0
  100. package/components/menu/lib/menu.directive.d.ts +16 -0
  101. package/components/menu/lib/menu.module.d.ts +10 -0
  102. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  103. package/components/modal/lib/components/index.d.ts +2 -0
  104. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +1 -1
  105. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +1 -1
  106. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  107. package/components/modal/lib/directives/modal-close.directive.d.ts +2 -2
  108. package/components/modal/lib/directives/modal-content.directive.d.ts +1 -1
  109. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +1 -1
  110. package/components/modal/lib/helpers/inject-modal-ref.d.ts +1 -1
  111. package/components/modal/lib/modal.component.d.ts +7 -3
  112. package/components/modal/lib/modal.directive.d.ts +1 -1
  113. package/components/modal/lib/modal.module.d.ts +9 -8
  114. package/components/modal/lib/modal.service.d.ts +2 -1
  115. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  116. package/components/modal/lib/models/index.d.ts +2 -0
  117. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  118. package/components/progress/lib/progress.component.d.ts +2 -2
  119. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +2 -2
  120. package/components/radio-group/lib/radio-group.component.d.ts +1 -1
  121. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +2 -4
  122. package/components/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
  123. package/components/select/lib/components/option/option.component.d.ts +1 -1
  124. package/components/select/lib/directives/select-search-field.directive.d.ts +1 -1
  125. package/components/select/lib/select.component.d.ts +4 -4
  126. package/components/slider/lib/slider.directive.d.ts +2 -3
  127. package/components/spinbox/lib/spinbox.component.d.ts +2 -2
  128. package/components/switch/lib/switch.component.d.ts +2 -1
  129. package/components/switch/lib/switch.validator.d.ts +1 -1
  130. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +1 -1
  131. package/components/tab-bar/lib/tab-bar.component.d.ts +3 -3
  132. package/components/toast/README.md +3 -0
  133. package/components/toast/index.d.ts +5 -0
  134. package/components/toast/lib/components/index.d.ts +2 -0
  135. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  136. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  137. package/components/toast/lib/models/index.d.ts +5 -0
  138. package/components/toast/lib/models/toast-action.d.ts +7 -0
  139. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  140. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  141. package/components/toast/lib/models/toast.d.ts +10 -0
  142. package/components/toast/lib/models/toast.options.d.ts +4 -0
  143. package/components/toast/lib/toast.config.d.ts +3 -0
  144. package/components/toast/lib/toast.module.d.ts +13 -0
  145. package/components/toast/lib/toast.service.d.ts +16 -0
  146. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +1 -1
  147. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +2 -2
  148. package/components/tooltip/lib/tooltip.component.d.ts +1 -1
  149. package/components/tooltip/lib/tooltip.directive.d.ts +1 -1
  150. package/esm2020/animations/lib/expand.mjs +6 -4
  151. package/esm2020/cdk/a11y/index.mjs +3 -0
  152. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  153. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  154. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  155. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  156. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  157. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  158. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +4 -4
  159. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +4 -4
  160. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +8 -4
  161. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +4 -4
  162. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +3 -3
  163. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +2 -1
  164. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +4 -4
  165. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +4 -4
  166. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +4 -4
  167. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +4 -4
  168. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +4 -4
  169. package/esm2020/cdk/expandable/index.mjs +2 -1
  170. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +7 -8
  171. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +5 -7
  172. package/esm2020/cdk/expandable/lib/expandable.module.mjs +5 -5
  173. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  174. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -3
  175. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -3
  176. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +4 -4
  177. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +4 -4
  178. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +5 -5
  179. package/esm2020/components/accordion/lib/accordion.component.mjs +6 -6
  180. package/esm2020/components/accordion/lib/accordion.module.mjs +5 -5
  181. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +8 -6
  182. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +4 -4
  183. package/esm2020/components/action-group/action-group.component.mjs +4 -4
  184. package/esm2020/components/area-header/area-header.component.mjs +4 -4
  185. package/esm2020/components/area-header/area-header.module.mjs +5 -5
  186. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -4
  187. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -4
  188. package/esm2020/components/avatar/lib/avatar.component.mjs +4 -4
  189. package/esm2020/components/badge/lib/badge.component.mjs +4 -4
  190. package/esm2020/components/badge/lib/badge.directive.mjs +4 -4
  191. package/esm2020/components/bar/index.mjs +6 -0
  192. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  193. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  194. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  195. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  196. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  197. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  198. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  199. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  200. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  201. package/esm2020/components/button/lib/button.component.mjs +8 -12
  202. package/esm2020/components/button-group/lib/button-group.component.mjs +4 -4
  203. package/esm2020/components/checkbox/lib/checkbox.component.mjs +7 -6
  204. package/esm2020/components/checkbox/lib/checkbox.module.mjs +5 -5
  205. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +4 -4
  206. package/esm2020/components/chip/lib/chip.component.mjs +4 -4
  207. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +5 -5
  208. package/esm2020/components/content-box/lib/content-box.component.mjs +4 -4
  209. package/esm2020/components/content-box/lib/content-box.module.mjs +5 -5
  210. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -4
  211. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -4
  212. package/esm2020/components/dropdown/index.mjs +2 -1
  213. package/esm2020/components/dropdown/lib/dropdown.component.mjs +15 -6
  214. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +33 -16
  215. package/esm2020/components/dropdown/lib/dropdown.module.mjs +5 -5
  216. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  217. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  218. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  219. package/esm2020/components/dropdown/lib/models/index.mjs +2 -1
  220. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +4 -4
  221. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +4 -4
  222. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +4 -4
  223. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +4 -4
  224. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +4 -4
  225. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +4 -4
  226. package/esm2020/components/form-field/lib/directives/form.directive.mjs +4 -4
  227. package/esm2020/components/form-field/lib/form-field.component.mjs +8 -7
  228. package/esm2020/components/form-field/lib/form-field.module.mjs +5 -5
  229. package/esm2020/components/form-field/lib/form-field.service.mjs +4 -4
  230. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +4 -4
  231. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +4 -4
  232. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -4
  233. package/esm2020/components/header/lib/header.component.mjs +5 -6
  234. package/esm2020/components/header/lib/header.module.mjs +7 -11
  235. package/esm2020/components/icon/lib/icon.component.mjs +4 -4
  236. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  237. package/esm2020/components/inline-message/index.mjs +2 -2
  238. package/esm2020/components/inline-message/lib/inline-message.component.mjs +5 -5
  239. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  240. package/esm2020/components/launch-tile/index.mjs +2 -4
  241. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  242. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +4 -4
  243. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +4 -4
  244. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +32 -21
  245. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +9 -45
  246. package/esm2020/components/link/link.directive.mjs +7 -14
  247. package/esm2020/components/list/lib/components/index.mjs +2 -2
  248. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  249. package/esm2020/components/list/lib/list.component.mjs +17 -9
  250. package/esm2020/components/list/lib/list.module.mjs +6 -6
  251. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +4 -4
  252. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +9 -9
  253. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +5 -5
  254. package/esm2020/components/logo/logo.directive.mjs +4 -4
  255. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +4 -4
  256. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +7 -13
  257. package/esm2020/components/main-menu/lib/main-menu.component.mjs +8 -8
  258. package/esm2020/components/main-menu/lib/main-menu.module.mjs +5 -5
  259. package/esm2020/components/main-menu/lib/main-menu.service.mjs +4 -4
  260. package/esm2020/components/menu/index.mjs +5 -0
  261. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  262. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  263. package/esm2020/components/menu/lib/menu.component.mjs +35 -0
  264. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  265. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  266. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  267. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  268. package/esm2020/components/modal/lib/components/index.mjs +3 -1
  269. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +4 -4
  270. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +4 -4
  271. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  272. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +10 -5
  273. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +4 -4
  274. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +4 -4
  275. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +1 -1
  276. package/esm2020/components/modal/lib/modal.component.mjs +19 -9
  277. package/esm2020/components/modal/lib/modal.directive.mjs +4 -4
  278. package/esm2020/components/modal/lib/modal.module.mjs +33 -7
  279. package/esm2020/components/modal/lib/modal.service.mjs +14 -5
  280. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  281. package/esm2020/components/modal/lib/models/index.mjs +3 -1
  282. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  283. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +4 -4
  284. package/esm2020/components/progress/lib/progress.component.mjs +6 -6
  285. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +8 -9
  286. package/esm2020/components/radio-group/lib/radio-group.component.mjs +6 -6
  287. package/esm2020/components/radio-group/lib/radio-group.module.mjs +5 -5
  288. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +7 -12
  289. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +4 -4
  290. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +5 -5
  291. package/esm2020/components/select/lib/components/option/option.component.mjs +5 -5
  292. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +4 -4
  293. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +4 -4
  294. package/esm2020/components/select/lib/select.component.mjs +13 -17
  295. package/esm2020/components/select/lib/select.module.mjs +5 -5
  296. package/esm2020/components/slider/lib/slider.directive.mjs +7 -10
  297. package/esm2020/components/spinbox/lib/spinbox.component.mjs +5 -5
  298. package/esm2020/components/switch/lib/switch.component.mjs +7 -6
  299. package/esm2020/components/switch/lib/switch.module.mjs +5 -5
  300. package/esm2020/components/switch/lib/switch.validator.mjs +4 -4
  301. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +8 -8
  302. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +7 -8
  303. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +5 -5
  304. package/esm2020/components/toast/index.mjs +6 -0
  305. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  306. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  307. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  308. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  309. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  310. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  311. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  312. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  313. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  314. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  315. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  316. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  317. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  318. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +6 -10
  319. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +15 -7
  320. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +5 -5
  321. package/esm2020/components/tooltip/lib/tooltip.component.mjs +4 -4
  322. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +4 -4
  323. package/esm2020/lib/controllers/controller.mjs +6 -6
  324. package/esm2020/lib/controllers/disabled.controller.mjs +21 -42
  325. package/esm2020/lib/controllers/readonly.controller.mjs +6 -6
  326. package/esm2020/lib/core.module.mjs +7 -7
  327. package/esm2020/lib/directives/click-outside.directive.mjs +7 -6
  328. package/esm2020/lib/directives/index.mjs +4 -1
  329. package/esm2020/lib/directives/let.directive.mjs +36 -0
  330. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  331. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  332. package/esm2020/lib/services/window-ref.mjs +9 -5
  333. package/esm2020/utils/lib/helpers/dom.mjs +8 -1
  334. package/esm2020/utils/lib/helpers/event-manager.mjs +4 -4
  335. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  336. package/esm2020/utils/lib/helpers/index.mjs +3 -1
  337. package/esm2020/utils/lib/helpers/provide-module-config.mjs +1 -1
  338. package/esm2020/utils/lib/helpers/queue.mjs +24 -0
  339. package/fesm2015/odx-angular-animations.mjs +5 -3
  340. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  341. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  342. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  343. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  344. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -1
  345. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +3 -3
  346. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  347. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +13 -8
  348. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  349. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  350. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  351. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  352. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  353. package/fesm2015/odx-angular-cdk-expandable.mjs +16 -22
  354. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -1
  355. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +10 -10
  356. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  357. package/fesm2015/odx-angular-components-accordion.mjs +19 -17
  358. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -1
  359. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  360. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  361. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  362. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  363. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  364. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  365. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  366. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  367. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  368. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  369. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  370. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  371. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  372. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -1
  373. package/fesm2015/odx-angular-components-button.mjs +7 -11
  374. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  375. package/fesm2015/odx-angular-components-checkbox.mjs +13 -12
  376. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  377. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  378. package/fesm2015/odx-angular-components-chip.mjs.map +1 -1
  379. package/fesm2015/odx-angular-components-circular-progress.mjs +4 -4
  380. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  381. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  382. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  383. package/fesm2015/odx-angular-components-dropdown.mjs +60 -25
  384. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -1
  385. package/fesm2015/odx-angular-components-form-field.mjs +37 -36
  386. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  387. package/fesm2015/odx-angular-components-header.mjs +16 -20
  388. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  389. package/fesm2015/odx-angular-components-icon.mjs +4 -3
  390. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  391. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  392. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -1
  393. package/fesm2015/odx-angular-components-launch-tile.mjs +45 -83
  394. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -1
  395. package/fesm2015/odx-angular-components-link.mjs +6 -14
  396. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  397. package/fesm2015/odx-angular-components-list.mjs +22 -25
  398. package/fesm2015/odx-angular-components-list.mjs.map +1 -1
  399. package/fesm2015/odx-angular-components-loading-spinner.mjs +15 -15
  400. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -1
  401. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  402. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  403. package/fesm2015/odx-angular-components-main-menu.mjs +22 -30
  404. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  405. package/fesm2015/odx-angular-components-menu.mjs +127 -0
  406. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  407. package/fesm2015/odx-angular-components-modal.mjs +161 -55
  408. package/fesm2015/odx-angular-components-modal.mjs.map +1 -1
  409. package/fesm2015/odx-angular-components-progress.mjs +5 -5
  410. package/fesm2015/odx-angular-components-progress.mjs.map +1 -1
  411. package/fesm2015/odx-angular-components-radio-group.mjs +15 -16
  412. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  413. package/fesm2015/odx-angular-components-rail-navigation.mjs +13 -19
  414. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -1
  415. package/fesm2015/odx-angular-components-select.mjs +26 -30
  416. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  417. package/fesm2015/odx-angular-components-slider.mjs +6 -9
  418. package/fesm2015/odx-angular-components-slider.mjs.map +1 -1
  419. package/fesm2015/odx-angular-components-spinbox.mjs +5 -5
  420. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -1
  421. package/fesm2015/odx-angular-components-switch.mjs +13 -12
  422. package/fesm2015/odx-angular-components-switch.mjs.map +1 -1
  423. package/fesm2015/odx-angular-components-tab-bar.mjs +17 -18
  424. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  425. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  426. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  427. package/fesm2015/odx-angular-components-toggle-button-group.mjs +23 -19
  428. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -1
  429. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  430. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -1
  431. package/fesm2015/odx-angular-utils.mjs +41 -5
  432. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  433. package/fesm2015/odx-angular.mjs +140 -64
  434. package/fesm2015/odx-angular.mjs.map +1 -1
  435. package/fesm2020/odx-angular-animations.mjs +5 -3
  436. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  437. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  438. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  439. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  440. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -1
  441. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +3 -3
  442. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  443. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +13 -8
  444. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -1
  445. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  446. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -1
  447. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  448. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  449. package/fesm2020/odx-angular-cdk-expandable.mjs +16 -22
  450. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -1
  451. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +10 -10
  452. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  453. package/fesm2020/odx-angular-components-accordion.mjs +19 -17
  454. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -1
  455. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  456. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  457. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  458. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  459. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  460. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  461. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  462. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  463. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  464. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  465. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  466. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  467. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  468. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -1
  469. package/fesm2020/odx-angular-components-button.mjs +7 -11
  470. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  471. package/fesm2020/odx-angular-components-checkbox.mjs +13 -12
  472. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  473. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  474. package/fesm2020/odx-angular-components-chip.mjs.map +1 -1
  475. package/fesm2020/odx-angular-components-circular-progress.mjs +4 -4
  476. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  477. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  478. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  479. package/fesm2020/odx-angular-components-dropdown.mjs +60 -24
  480. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -1
  481. package/fesm2020/odx-angular-components-form-field.mjs +37 -36
  482. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  483. package/fesm2020/odx-angular-components-header.mjs +16 -20
  484. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  485. package/fesm2020/odx-angular-components-icon.mjs +4 -3
  486. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  487. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  488. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -1
  489. package/fesm2020/odx-angular-components-launch-tile.mjs +44 -82
  490. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -1
  491. package/fesm2020/odx-angular-components-link.mjs +6 -13
  492. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  493. package/fesm2020/odx-angular-components-list.mjs +22 -24
  494. package/fesm2020/odx-angular-components-list.mjs.map +1 -1
  495. package/fesm2020/odx-angular-components-loading-spinner.mjs +15 -15
  496. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -1
  497. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  498. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  499. package/fesm2020/odx-angular-components-main-menu.mjs +22 -29
  500. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  501. package/fesm2020/odx-angular-components-menu.mjs +129 -0
  502. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  503. package/fesm2020/odx-angular-components-modal.mjs +166 -55
  504. package/fesm2020/odx-angular-components-modal.mjs.map +1 -1
  505. package/fesm2020/odx-angular-components-progress.mjs +5 -5
  506. package/fesm2020/odx-angular-components-progress.mjs.map +1 -1
  507. package/fesm2020/odx-angular-components-radio-group.mjs +15 -16
  508. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  509. package/fesm2020/odx-angular-components-rail-navigation.mjs +13 -18
  510. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -1
  511. package/fesm2020/odx-angular-components-select.mjs +26 -30
  512. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  513. package/fesm2020/odx-angular-components-slider.mjs +6 -9
  514. package/fesm2020/odx-angular-components-slider.mjs.map +1 -1
  515. package/fesm2020/odx-angular-components-spinbox.mjs +5 -5
  516. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -1
  517. package/fesm2020/odx-angular-components-switch.mjs +13 -12
  518. package/fesm2020/odx-angular-components-switch.mjs.map +1 -1
  519. package/fesm2020/odx-angular-components-tab-bar.mjs +16 -17
  520. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  521. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  522. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  523. package/fesm2020/odx-angular-components-toggle-button-group.mjs +23 -19
  524. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -1
  525. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  526. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -1
  527. package/fesm2020/odx-angular-utils.mjs +42 -5
  528. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  529. package/fesm2020/odx-angular.mjs +137 -63
  530. package/fesm2020/odx-angular.mjs.map +1 -1
  531. package/lib/controllers/controller.d.ts +1 -1
  532. package/lib/controllers/disabled.controller.d.ts +4 -9
  533. package/lib/controllers/readonly.controller.d.ts +4 -2
  534. package/lib/core.module.d.ts +3 -2
  535. package/lib/directives/click-outside.directive.d.ts +1 -1
  536. package/lib/directives/index.d.ts +3 -0
  537. package/lib/directives/let.directive.d.ts +17 -0
  538. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  539. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  540. package/lib/services/window-ref.d.ts +2 -0
  541. package/package.json +51 -11
  542. package/utils/lib/helpers/dom.d.ts +1 -0
  543. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  544. package/utils/lib/helpers/index.d.ts +2 -0
  545. package/utils/lib/helpers/provide-module-config.d.ts +1 -1
  546. package/utils/lib/helpers/queue.d.ts +11 -0
  547. package/components/launch-tile/lib/directives/launch-tile-menu/launch-tile-menu.directive.d.ts +0 -5
  548. package/esm2020/components/launch-tile/lib/directives/launch-tile-menu/launch-tile-menu.directive.mjs +0 -17
  549. package/esm2020/components/list/lib/components/list-item.component.mjs +0 -46
@@ -0,0 +1,17 @@
1
+ import { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
2
+ import { ButtonVariant } from '@odx/angular/components/button';
3
+ import { ModalHeroVariant } from './modal-hero-variant';
4
+ interface ModalAction<Result = unknown> {
5
+ label: string;
6
+ data?: Result;
7
+ variant?: ButtonVariant;
8
+ }
9
+ export declare type GetModalActionData<T extends BasicModalOptions> = Exclude<T['actions'][number]['data'], undefined>;
10
+ export interface BasicModalOptions<Result = unknown> {
11
+ title: DynamicTextContent;
12
+ actions: ModalAction<Result>[];
13
+ content?: DynamicContent;
14
+ heroIcon?: string;
15
+ heroVariant?: ModalHeroVariant;
16
+ }
17
+ export {};
@@ -1,3 +1,5 @@
1
+ export * from './basic-modal-options';
2
+ export * from './modal-hero-variant';
1
3
  export * from './modal-options';
2
4
  export * from './modal-ref';
3
5
  export * from './modal-size';
@@ -0,0 +1,7 @@
1
+ export declare type ModalHeroVariant = (typeof ModalHeroVariant)[keyof typeof ModalHeroVariant];
2
+ export declare const ModalHeroVariant: {
3
+ readonly PRIMARY: "primary";
4
+ readonly SUCCESS: "success";
5
+ readonly CONFIRMATION: "confirmation";
6
+ readonly DANGER: "danger";
7
+ };
@@ -6,9 +6,9 @@ export declare class ProgressComponent {
6
6
  protected get ariaValueNow(): null | number;
7
7
  protected get progressValue(): number;
8
8
  readonly element: import("@angular/core").ElementRef<HTMLElement>;
9
+ indeterminate: boolean;
9
10
  set value(value: unknown);
10
11
  get value(): number;
11
- indeterminate: boolean;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "odx-progress", never, { "value": "value"; }, {}, never, never, true>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "odx-progress", never, { "value": "value"; }, {}, never, never, true, never>;
14
14
  }
@@ -2,11 +2,11 @@ import { AfterViewInit, ElementRef } from '@angular/core';
2
2
  import { RadioControlDirective } from '@odx/angular/cdk/radio-group-control';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class RadioButtonComponent<T = unknown> extends RadioControlDirective<T> implements AfterViewInit {
5
- readonly element: ElementRef<HTMLElement>;
6
5
  protected withLabel: boolean;
6
+ readonly element: ElementRef<HTMLElement>;
7
7
  contentElement: ElementRef<HTMLDivElement>;
8
8
  ngAfterViewInit(): void;
9
9
  protected onContentChange(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent<any>, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent<any>, "odx-radio-button", never, {}, {}, never, ["*"], true>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent<any>, "odx-radio-button", never, {}, {}, never, ["*"], true, never>;
12
12
  }
@@ -4,5 +4,5 @@ export declare class RadioGroupComponent<T = unknown> extends RadioGroupControlD
4
4
  readonly element: import("@angular/core").ElementRef<HTMLElement>;
5
5
  horizontal: boolean;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent<any>, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent<any>, "odx-radio-group", never, { "horizontal": "horizontal"; }, {}, never, ["odx-radio-button, [odxRadioControl]"], true>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent<any>, "odx-radio-group", never, { "horizontal": "horizontal"; }, {}, never, ["*"], true, never>;
8
8
  }
@@ -1,15 +1,13 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import { RouterLinkActive } from '@angular/router';
3
- import { DisabledController } from '@odx/angular';
4
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "@odx/angular";
5
5
  export declare class RailNavigationItemComponent {
6
6
  static ngAcceptInputType_isSelected: BooleanInput;
7
- protected readonly disabledController: DisabledController | null;
8
7
  protected readonly routerLinkActive: RouterLinkActive | null;
9
8
  readonly element: import("@angular/core").ElementRef<HTMLElement>;
10
- get isDisabled(): boolean;
11
9
  isSelected: boolean;
12
10
  iconName: string;
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<RailNavigationItemComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<RailNavigationItemComponent, "a[odxRailNavigationItem][iconName], button[odxRailNavigationItem][iconName]", never, { "isSelected": "isSelected"; "iconName": "iconName"; }, {}, never, ["*"], true>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<RailNavigationItemComponent, "a[odxRailNavigationItem][iconName], button[odxRailNavigationItem][iconName]", never, { "isSelected": "isSelected"; "iconName": "iconName"; }, {}, never, ["*"], true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }, { directive: typeof i1.WithTabIndex; inputs: {}; outputs: {}; }]>;
15
13
  }
@@ -10,5 +10,5 @@ export declare class RailNavigationComponent {
10
10
  open(): void;
11
11
  close(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RailNavigationComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<RailNavigationComponent, "odx-rail-navigation", never, { "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], true>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<RailNavigationComponent, "odx-rail-navigation", never, { "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], true, never>;
14
14
  }
@@ -18,5 +18,5 @@ export declare class OptionComponent<T = unknown> implements OnInit, SelectContr
18
18
  setInactiveStyles(): void;
19
19
  protected select(event: Event): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "odx-option", never, { "value": "value"; }, {}, never, ["*"], true>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "odx-option", never, { "value": "value"; }, {}, never, ["*"], true, never>;
22
22
  }
@@ -9,5 +9,5 @@ export declare class SelectSearchFieldDirective {
9
9
  focus(): void;
10
10
  getValue(): string;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchFieldDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectSearchFieldDirective, "input[odxSelectSearchField]", never, { "notFoundContent": "odxSelectSearchField"; }, {}, never, never, true>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectSearchFieldDirective, "input[odxSelectSearchField]", never, { "notFoundContent": "odxSelectSearchField"; }, {}, never, never, true, never>;
13
13
  }
@@ -14,8 +14,10 @@ export declare class SelectComponent<T = unknown> extends CustomFormControl<T |
14
14
  protected smoothScrollEnabled: boolean;
15
15
  protected selectedOption: OptionComponent<T> | null;
16
16
  protected selectedOptionText: string | null;
17
- readonly element: import("@angular/core").ElementRef<HTMLElement>;
18
17
  protected get hasOptions(): boolean;
18
+ protected options?: QueryList<OptionComponent<T>>;
19
+ protected dropdown?: DropdownDirective;
20
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
19
21
  get isOpen(): boolean;
20
22
  get selectedOptionContent(): TemplateRef<{
21
23
  $implicit: T | null;
@@ -29,8 +31,6 @@ export declare class SelectComponent<T = unknown> extends CustomFormControl<T |
29
31
  identityMatcher: IdentityMatcher<T | null>;
30
32
  change: EventEmitter<void>;
31
33
  searchField?: SelectSearchFieldDirective;
32
- protected options?: QueryList<OptionComponent<T>>;
33
- protected dropdown?: DropdownDirective;
34
34
  constructor();
35
35
  ngAfterViewInit(): void;
36
36
  registerOnChange(fn: (value: T | null) => void): void;
@@ -46,5 +46,5 @@ export declare class SelectComponent<T = unknown> extends CustomFormControl<T |
46
46
  protected enableSmoothScroll(): void;
47
47
  private updateSelectedOption;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "odx-select", never, { "placeholder": "placeholder"; "isLoading": "isLoading"; "selectedOptionTemplate": "selectedOptionTemplate"; "stringify": "stringify"; "identityMatcher": "identityMatcher"; }, { "change": "change"; }, ["searchField", "options"], ["[odxSelectSearchField]", "*"], true>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "odx-select", never, { "placeholder": "placeholder"; "isLoading": "isLoading"; "selectedOptionTemplate": "selectedOptionTemplate"; "stringify": "stringify"; "identityMatcher": "identityMatcher"; }, { "change": "change"; }, ["searchField", "options"], ["[odxSelectSearchField]", "*"], true, never>;
50
50
  }
@@ -1,13 +1,12 @@
1
1
  import { ElementRef } from '@angular/core';
2
- import { DisabledController } from '@odx/angular';
3
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "@odx/angular";
4
4
  export declare class SliderDirective {
5
- protected readonly disabledController: DisabledController | null;
6
5
  readonly element: ElementRef<HTMLInputElement>;
7
6
  get value(): number;
8
7
  get max(): number;
9
8
  get min(): number;
10
9
  get valuePercentage(): number;
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SliderDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<SliderDirective, "input[type=range][odxSlider]", never, {}, {}, never, never, true>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SliderDirective, "input[type=range][odxSlider]", never, {}, {}, never, never, true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }]>;
13
12
  }
@@ -6,11 +6,11 @@ export declare class SpinboxComponent extends CustomFormControl<number> implemen
6
6
  static ngAcceptInputType_max: NumberInput;
7
7
  static ngAcceptInputType_min: NumberInput;
8
8
  static ngAcceptInputType_step: NumberInput;
9
- readonly element: ElementRef<HTMLElement>;
10
9
  private readonly takeUntilDestroyed;
11
10
  private get inputElement();
12
11
  protected decrementButton: ElementRef<HTMLButtonElement>;
13
12
  protected incrementButton: ElementRef<HTMLButtonElement>;
13
+ readonly element: ElementRef<HTMLElement>;
14
14
  max: number;
15
15
  min: number;
16
16
  step: number;
@@ -21,5 +21,5 @@ export declare class SpinboxComponent extends CustomFormControl<number> implemen
21
21
  protected onInputChange(): void;
22
22
  private registerPressHold;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinboxComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinboxComponent, "odx-spinbox", never, { "max": "max"; "min": "min"; "step": "step"; }, {}, never, never, true>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinboxComponent, "odx-spinbox", never, { "max": "max"; "min": "min"; "step": "step"; }, {}, never, never, true, never>;
25
25
  }
@@ -1,6 +1,7 @@
1
1
  import { CheckBoxControl } from '@odx/angular/cdk/checkbox-control';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "@odx/angular";
3
4
  export declare class SwitchComponent extends CheckBoxControl {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "odx-switch", never, {}, {}, never, ["*"], true>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "odx-switch", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.WithDisabledState; inputs: {}; outputs: {}; }]>;
6
7
  }
@@ -2,5 +2,5 @@ import { CheckboxRequiredValidator } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SwitchValidator extends CheckboxRequiredValidator {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<SwitchValidator, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchValidator, "odx-switch[required][formControlName], odx-switch[required][formControl], odx-switch[required][ngModel]", never, {}, {}, never, never, true>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchValidator, "odx-switch[required][formControlName], odx-switch[required][formControl], odx-switch[required][ngModel]", never, {}, {}, never, never, true, never>;
6
6
  }
@@ -16,5 +16,5 @@ export declare class TabBarItemComponent implements Highlightable {
16
16
  protected onClick(): void;
17
17
  protected handleClose(event: Event): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TabBarItemComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TabBarItemComponent, "odx-tab-bar-item", never, { "closable": "closable"; }, { "tabClose": "tabClose"; }, never, ["odx-icon", "*"], true>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabBarItemComponent, "odx-tab-bar-item", never, { "closable": "closable"; }, { "tabClose": "tabClose"; }, never, ["odx-icon", "*"], true, never>;
20
20
  }
@@ -14,9 +14,9 @@ export declare class TabBarComponent implements AfterViewInit {
14
14
  protected tabBarPanelElement: ElementRef<HTMLElement>;
15
15
  protected tabActionElements: QueryList<ElementRef<HTMLElement>>;
16
16
  protected tabs: QueryList<TabBarItemComponent>;
17
- protected overflowLeft: boolean;
18
- protected overflowRight: boolean;
19
17
  readonly element: ElementRef<HTMLElement>;
18
+ overflowLeft: boolean;
19
+ overflowRight: boolean;
20
20
  set selectedIndex(value: unknown);
21
21
  selectedTabChanged: EventEmitter<TabChangeEvent>;
22
22
  ngAfterViewInit(): void;
@@ -27,5 +27,5 @@ export declare class TabBarComponent implements AfterViewInit {
27
27
  private updateActionVisbility;
28
28
  private activeItemChange;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TabBarComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<TabBarComponent, "odx-tab-bar", never, { "selectedIndex": "selectedIndex"; }, { "selectedTabChanged": "selectedTabChanged"; }, ["tabs"], ["*"], true>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabBarComponent, "odx-tab-bar", never, { "selectedIndex": "selectedIndex"; }, { "selectedTabChanged": "selectedTabChanged"; }, ["tabs"], ["*"], true, never>;
31
31
  }
@@ -0,0 +1,3 @@
1
+ # @odx/angular/components/toast
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/components/toast`.
@@ -0,0 +1,5 @@
1
+ export * from './lib/components';
2
+ export * from './lib/models';
3
+ export * from './lib/toast.config';
4
+ export * from './lib/toast.module';
5
+ export * from './lib/toast.service';
@@ -0,0 +1,2 @@
1
+ export * from './toast-container/toast-container.component';
2
+ export * from './toast-item/toast-item.component';
@@ -0,0 +1,23 @@
1
+ import { NumberInput } from '@angular/cdk/coercion';
2
+ import { AfterViewInit, OnDestroy } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { ToastRef } from '../../models';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ToastContainerComponent implements AfterViewInit, OnDestroy {
7
+ private static INITIALIZED;
8
+ static ngAcceptInputType_maxItems: NumberInput;
9
+ private readonly windowRef;
10
+ private readonly renderer;
11
+ private readonly toastService;
12
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
13
+ readonly items$: Observable<ToastRef[]>;
14
+ readonly hiddenToasts$: Observable<number>;
15
+ maxItems: number;
16
+ readonly dismiss: Observable<ToastRef>;
17
+ ngAfterViewInit(): void;
18
+ ngOnDestroy(): void;
19
+ protected onDismiss(itemRef: ToastRef): void;
20
+ protected trackById(_: number, ref: ToastRef): ToastRef['id'];
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "odx-toast-container", never, { "maxItems": "maxItems"; }, { "dismiss": "dismiss"; }, never, never, true, never>;
23
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
3
+ import { ToastAction, ToastOptions, ToastVariant } from '../../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ToastItemComponent implements OnInit {
6
+ private readonly takeUntilDestroyed;
7
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
8
+ get icon(): string;
9
+ id: string;
10
+ title: DynamicTextContent;
11
+ description?: DynamicTextContent | null;
12
+ variant?: ToastVariant;
13
+ actions?: ToastAction[];
14
+ options: ToastOptions;
15
+ readonly dismiss: EventEmitter<void>;
16
+ ngOnInit(): void;
17
+ onDismiss(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastItemComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastItemComponent, "odx-toast", never, { "id": "id"; "title": "title"; "description": "description"; "variant": "variant"; "actions": "actions"; "options": "options"; }, { "dismiss": "dismiss"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,5 @@
1
+ export * from './toast';
2
+ export * from './toast-action';
3
+ export * from './toast-ref';
4
+ export * from './toast-variant';
5
+ export * from './toast.options';
@@ -0,0 +1,7 @@
1
+ import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
2
+ export interface ToastAction {
3
+ label: DynamicTextContent;
4
+ leftIcon?: string;
5
+ rightIcon?: string;
6
+ action: () => void;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Toast } from './toast';
2
+ import { ToastOptions } from './toast.options';
3
+ export interface ToastRef {
4
+ id: string;
5
+ item: Toast;
6
+ options: ToastOptions;
7
+ }
@@ -0,0 +1,7 @@
1
+ export declare type ToastVariant = (typeof ToastVariant)[keyof typeof ToastVariant];
2
+ export declare const ToastVariant: {
3
+ readonly DEFAULT: "default";
4
+ readonly WARNING: "warning";
5
+ readonly DANGER: "danger";
6
+ readonly SUCCESS: "success";
7
+ };
@@ -0,0 +1,10 @@
1
+ import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
2
+ import { ToastAction } from './toast-action';
3
+ import { ToastVariant } from './toast-variant';
4
+ export interface Toast {
5
+ id?: string;
6
+ title: DynamicTextContent;
7
+ description?: DynamicTextContent;
8
+ actions?: ToastAction[];
9
+ variant?: ToastVariant;
10
+ }
@@ -0,0 +1,4 @@
1
+ export interface ToastOptions {
2
+ dismissable: boolean;
3
+ duration: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { ToastOptions } from './models/toast.options';
2
+ export declare type ToastModuleConfig = ToastOptions;
3
+ export declare const ToastDefaultModuleConfig: ToastOptions, ToastModuleConfig: import("@angular/core").InjectionToken<Partial<ToastOptions>>, injectToastModuleConfig: () => ToastOptions;
@@ -0,0 +1,13 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { ModuleConfigDependencies, ModuleConfigProvider } from '@odx/angular/utils';
3
+ import { ToastModuleConfig } from './toast.config';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./components/toast-container/toast-container.component";
6
+ import * as i2 from "./components/toast-item/toast-item.component";
7
+ import * as i3 from "@odx/angular";
8
+ export declare class ToastModule {
9
+ static forRoot<D extends ModuleConfigDependencies>(config: ModuleConfigProvider<Partial<ToastModuleConfig>, D>): ModuleWithProviders<ToastModule>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, never, [typeof i1.ToastContainerComponent, typeof i2.ToastItemComponent], [typeof i3.CoreModule, typeof i1.ToastContainerComponent, typeof i2.ToastItemComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { Toast, ToastOptions, ToastRef } from './models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToastService {
4
+ private readonly queue;
5
+ private readonly onRemove$$;
6
+ private readonly defaultOptions;
7
+ readonly queue$: import("rxjs").Observable<(ToastRef & {
8
+ id: string;
9
+ })[]>;
10
+ readonly onRemove$: import("rxjs").Observable<ToastRef>;
11
+ add(item: Toast, options?: Partial<ToastOptions>): ToastRef;
12
+ remove(itemRef: ToastRef): void;
13
+ clear(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
16
+ }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class ToggleButtonComponent<T = unknown> extends RadioControlDirective<T> {
4
4
  readonly element: import("@angular/core").ElementRef<HTMLElement>;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent<any>, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "odx-toggle-button", never, {}, {}, never, ["*"], true>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent<any>, "odx-toggle-button", never, {}, {}, never, ["*"], true, never>;
7
7
  }
@@ -3,9 +3,9 @@ import { RadioGroupControlDirective } from '@odx/angular/cdk/radio-group-control
3
3
  import { ToggleButtonComponent } from './components';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ToggleButtonGroupComponent<T = unknown> extends RadioGroupControlDirective<T> {
6
- readonly element: import("@angular/core").ElementRef<HTMLElement>;
7
6
  protected activeElement$: import("rxjs").Observable<HTMLElement | null>;
8
7
  protected toggleButtons: QueryList<ToggleButtonComponent>;
8
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonGroupComponent<any>, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent<any>, "odx-toggle-button-group", never, {}, {}, ["toggleButtons"], ["odx-toggle-button"], true>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent<any>, "odx-toggle-button-group", never, {}, {}, ["toggleButtons"], ["odx-toggle-button"], true, never>;
11
11
  }
@@ -8,5 +8,5 @@ export declare class TooltipComponent {
8
8
  content?: DynamicTextContent | null;
9
9
  size: TooltipSize;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "odx-tooltip", never, { "id": "id"; "content": "content"; "size": "size"; }, {}, never, never, true>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "odx-tooltip", never, { "id": "id"; "content": "content"; "size": "size"; }, {}, never, never, true, never>;
12
12
  }
@@ -29,5 +29,5 @@ export declare class TooltipDirective implements OnInit, OnChanges {
29
29
  hide(): void;
30
30
  private registerEvents;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[odxTooltip]", ["odxTooltip"], { "content": "odxTooltip"; "disabled": "odxTooltipDisabled"; "options": "odxTooltipOptions"; "size": "odxTooltipSize"; "visible": "odxTooltipVisible"; }, {}, never, never, true>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[odxTooltip]", ["odxTooltip"], { "content": "odxTooltip"; "disabled": "odxTooltipDisabled"; "options": "odxTooltipOptions"; "size": "odxTooltipSize"; "visible": "odxTooltipVisible"; }, {}, never, never, true, never>;
33
33
  }
@@ -1,12 +1,14 @@
1
1
  import { animate, animation, style } from '@angular/animations';
2
2
  import { DEFAULT_ANIMATION_PARAMS } from './config';
3
3
  export const expand = animation([
4
- style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0, opacity: 0 }),
5
- animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: '*', paddingTop: '*', paddingBottom: '*', opacity: 1 })),
4
+ style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0, opacity: 0, marginTop: 0, marginBottom: 0 }),
5
+ animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: '*', paddingTop: '*', paddingBottom: '*', opacity: 1, marginTop: '*', marginBottom: '*' })),
6
6
  ], {
7
7
  params: DEFAULT_ANIMATION_PARAMS,
8
8
  });
9
- export const collapse = animation([animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0, opacity: 0 }))], {
9
+ export const collapse = animation([
10
+ animate('{{duration}} {{ delay }} {{ timingFn }}', style({ height: 0, minHeight: 0, paddingTop: 0, paddingBottom: 0, opacity: 0, marginTop: 0, marginBottom: 0 })),
11
+ ], {
10
12
  params: DEFAULT_ANIMATION_PARAMS,
11
13
  });
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hbmd1bGFyL2FuaW1hdGlvbnMvc3JjL2xpYi9leHBhbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDaEUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRXBELE1BQU0sQ0FBQyxNQUFNLE1BQU0sR0FBRyxTQUFTLENBQzdCO0lBQ0UsS0FBSyxDQUFDLEVBQUUsTUFBTSxFQUFFLENBQUMsRUFBRSxTQUFTLEVBQUUsQ0FBQyxFQUFFLFVBQVUsRUFBRSxDQUFDLEVBQUUsYUFBYSxFQUFFLENBQUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUM7SUFDL0UsT0FBTyxDQUFDLHlDQUF5QyxFQUFFLEtBQUssQ0FBQyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsVUFBVSxFQUFFLEdBQUcsRUFBRSxhQUFhLEVBQUUsR0FBRyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0NBQzVILEVBQ0Q7SUFDRSxNQUFNLEVBQUUsd0JBQXdCO0NBQ2pDLENBQ0YsQ0FBQztBQ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bkJvdHRvbTogJyonIH0pXG4gICAgKSxcbiAgXSxcbiAge1xuICAgIHBhcmFtczogREVGQVVMVF9BTklNQVRJT05fUEFSQU1TLFxuICB9XG4pO1xuXG5leHBvcnQgY29uc3QgY29sbGFwc2UgPSBhbmltYXRpb24oXG4gIFtcbiAgICBhbmltYXRlKFxuICAgICAgJ3t7ZHVyYXRpb259fSB7eyBkZWxheSB9fSB7eyB0aW1pbmdGbiB9fScsXG4gICAgICBzdHlsZSh7IGhlaWdodDogMCwgbWluSGVpZ2h0OiAwLCBwYWRkaW5nVG9wOiAwLCBwYWRkaW5nQm90dG9tOiAwLCBvcGFjaXR5OiAwLCBtYXJnaW5Ub3A6IDAsIG1hcmdpbkJvdHRvbTogMCB9KVxuICAgICksXG4gIF0sXG4gIHtcbiAgICBwYXJhbXM6IERFRkFVTFRfQU5JTUFUSU9OX1BBUkFNUyxcbiAgfVxuKTtcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './lib/a11y.module';
2
+ export * from './lib/directives';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2ExMXkvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2ExMXkubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMnO1xuIl19
@@ -0,0 +1,19 @@
1
+ import { A11yModule as NgCdkA11yModule } from '@angular/cdk/a11y';
2
+ import { NgModule } from '@angular/core';
3
+ import { CoreModule } from '@odx/angular';
4
+ import { InteractiveDirective, ListFocusManagerDirective, ListFocusManagerOptionDirective } from './directives';
5
+ import * as i0 from "@angular/core";
6
+ const modules = [ListFocusManagerDirective, ListFocusManagerOptionDirective, InteractiveDirective];
7
+ export class A11yModule {
8
+ }
9
+ A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: A11yModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: A11yModule, imports: [NgCdkA11yModule, ListFocusManagerDirective, ListFocusManagerOptionDirective, InteractiveDirective], exports: [CoreModule, NgCdkA11yModule, ListFocusManagerDirective, ListFocusManagerOptionDirective, InteractiveDirective] });
11
+ A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: A11yModule, imports: [NgCdkA11yModule, CoreModule, NgCdkA11yModule] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: A11yModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ imports: [NgCdkA11yModule, ...modules],
16
+ exports: [CoreModule, NgCdkA11yModule, ...modules],
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYTExeS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2ExMXkvc3JjL2xpYi9hMTF5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxJQUFJLGVBQWUsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFVB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zID0gW0xpc3RGb2N1c01hbmFnZXJEaXJlY3RpdmUsIExpc3RGb2N1c01hbmFnZXJPcHRpb25EaXJlY3RpdmUsIEludGVyYWN0aXZlRGlyZWN0aXZlXTtcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW05nQ2RrQTExeU1vZHVsZSwgLi4ubW9kdWxlc10sXG4gIGV4cG9ydHM6IFtDb3JlTW9kdWxlLCBOZ0Nka0ExMXlNb2R1bGUsIC4uLm1vZHVsZXNdLFxufSlcbmV4cG9ydCBjbGFzcyBBMTF5TW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export * from './interactive.directive';
2
+ export * from './list-focus-manager-option.directive';
3
+ export * from './list-focus-manager.directive';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2ExMXkvc3JjL2xpYi9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnRlcmFjdGl2ZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9saXN0LWZvY3VzLW1hbmFnZXItb3B0aW9uLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpc3QtZm9jdXMtbWFuYWdlci5kaXJlY3RpdmUnO1xuIl19
@@ -0,0 +1,49 @@
1
+ import { __decorate } from "tslib";
2
+ import { Directive, EventEmitter, HostListener, Output } from '@angular/core';
3
+ import { DisabledController, WithDisabledState, WithTabIndex } from '@odx/angular';
4
+ import { CSSComponent } from '@odx/angular/internal';
5
+ import { injectElement } from '@odx/angular/utils';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@odx/angular";
8
+ let InteractiveDirective = class InteractiveDirective {
9
+ constructor() {
10
+ this.disabledController = DisabledController.inject();
11
+ this.element = injectElement();
12
+ this.interact = new EventEmitter();
13
+ }
14
+ handleEvents(event) {
15
+ if (!this.disabledController?.disabled) {
16
+ this.interact.next(event);
17
+ }
18
+ }
19
+ };
20
+ InteractiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InteractiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
21
+ InteractiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: InteractiveDirective, isStandalone: true, selector: "[odxCdkInteractive]", outputs: { interact: "odxCdkInteractive" }, host: { attributes: { "role": "button" }, listeners: { "click": "handleEvents($event)", "keyup.enter": "handleEvents($event)", "keyup.space": "handleEvents($event)" } }, hostDirectives: [{ directive: i1.WithDisabledState }, { directive: i1.WithTabIndex }], ngImport: i0 });
22
+ InteractiveDirective = __decorate([
23
+ CSSComponent('cdk-interactive')
24
+ ], InteractiveDirective);
25
+ export { InteractiveDirective };
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: InteractiveDirective, decorators: [{
27
+ type: Directive,
28
+ args: [{
29
+ selector: '[odxCdkInteractive]',
30
+ standalone: true,
31
+ hostDirectives: [WithDisabledState, WithTabIndex],
32
+ host: {
33
+ role: 'button',
34
+ },
35
+ }]
36
+ }], propDecorators: { interact: [{
37
+ type: Output,
38
+ args: ['odxCdkInteractive']
39
+ }], handleEvents: [{
40
+ type: HostListener,
41
+ args: ['click', ['$event']]
42
+ }, {
43
+ type: HostListener,
44
+ args: ['keyup.enter', ['$event']]
45
+ }, {
46
+ type: HostListener,
47
+ args: ['keyup.space', ['$event']]
48
+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UsXG4gIGhvc3REaXJlY3RpdmVzOiBbV2l0aERpc2FibGVkU3RhdGUsIFdpdGhUYWJJbmRleF0sXG4gIGhvc3Q6IHtcbiAgICByb2xlOiAnYnV0dG9uJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgSW50ZXJhY3RpdmVEaXJlY3RpdmUge1xuICBwcml2YXRlIHJlYWRvbmx5IGRpc2FibGVkQ29udHJvbGxlciA9IERpc2FibGVkQ29udHJvbGxlci5pbmplY3QoKTtcblxuICBwdWJsaWMgcmVhZG9ubHkgZWxlbWVudCA9IGluamVjdEVsZW1lbnQoKTtcblxuICBAT3V0cHV0KCdvZHhDZGtJbnRlcmFjdGl2ZScpXG4gIHB1YmxpYyBpbnRlcmFjdCA9IG5ldyBFdmVudEVtaXR0ZXI8RXZlbnQ+KCk7XG5cbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snLCBbJyRldmVudCddKVxuICBASG9zdExpc3RlbmVyKCdrZXl1cC5lbnRlcicsIFsnJGV2ZW50J10pXG4gIEBIb3N0TGlzdGVuZXIoJ2tleXVwLnNwYWNlJywgWyckZXZlbnQnXSlcbiAgcHJvdGVjdGVkIGhhbmRsZUV2ZW50cyhldmVudDogRXZlbnQpIHtcbiAgICBpZiAoIXRoaXMuZGlzYWJsZWRDb250cm9sbGVyPy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5pbnRlcmFjdC5uZXh0KGV2ZW50KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,28 @@
1
+ import { Directive } from '@angular/core';
2
+ import { DisabledController, WithDisabledState } from '@odx/angular';
3
+ import { injectElement } from '@odx/angular/utils';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@odx/angular";
6
+ export class ListFocusManagerOptionDirective {
7
+ constructor() {
8
+ this.disabledController = DisabledController.inject();
9
+ this.element = injectElement();
10
+ }
11
+ get disabled() {
12
+ return !!this.disabledController?.disabled;
13
+ }
14
+ focus() {
15
+ this.element.nativeElement.focus();
16
+ }
17
+ }
18
+ ListFocusManagerOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListFocusManagerOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
19
+ ListFocusManagerOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: ListFocusManagerOptionDirective, isStandalone: true, selector: "[odxListFocusManager]", hostDirectives: [{ directive: i1.WithDisabledState }], ngImport: i0 });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: ListFocusManagerOptionDirective, decorators: [{
21
+ type: Directive,
22
+ args: [{
23
+ selector: '[odxListFocusManager]',
24
+ standalone: true,
25
+ hostDirectives: [WithDisabledState],
26
+ }]
27
+ }] });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1mb2N1cy1tYW5hZ2VyLW9wdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvY2RrL2ExMXkvc3JjL2xpYi9kaXJlY3RpdmVzL2xpc3QtZm9jdXMtbWFuYWdlci1vcHRpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7O0FBT25ELE1BQU0sT0FBTywrQkFBK0I7SUFMNUM7UUFNbUIsdUJBQWtCLEdBQUcsa0JBQWtCLENBQUMsTUFBTSxFQUFFLENBQ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