@odx/angular 1.0.0-rc.1 → 1.0.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (920) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +43 -0
  3. package/animations/index.d.ts +4 -2
  4. package/animations/{config.d.ts → lib/config.d.ts} +0 -0
  5. package/animations/lib/expand.d.ts +2 -0
  6. package/animations/{fade.d.ts → lib/fade.d.ts} +0 -0
  7. package/animations/{slide.d.ts → lib/slide.d.ts} +0 -0
  8. package/animations/lib/wait-for-child-animations.d.ts +1 -0
  9. package/cdk/a11y/README.md +3 -0
  10. package/cdk/a11y/index.d.ts +2 -0
  11. package/cdk/a11y/lib/a11y.module.d.ts +11 -0
  12. package/cdk/a11y/lib/directives/index.d.ts +3 -0
  13. package/cdk/a11y/lib/directives/interactive.directive.d.ts +11 -0
  14. package/cdk/a11y/lib/directives/list-focus-manager-option.directive.d.ts +11 -0
  15. package/cdk/a11y/lib/directives/list-focus-manager.directive.d.ts +12 -0
  16. package/cdk/active-indicator/README.md +3 -0
  17. package/cdk/active-indicator/index.d.ts +2 -0
  18. package/cdk/active-indicator/lib/active-indicator.directive.d.ts +25 -0
  19. package/cdk/active-indicator/lib/models/active-indicator-direction.d.ts +5 -0
  20. package/cdk/active-indicator/lib/models/active-indicator-position.d.ts +6 -0
  21. package/cdk/active-indicator/lib/models/index.d.ts +2 -0
  22. package/cdk/checkbox-control/README.md +3 -0
  23. package/cdk/checkbox-control/index.d.ts +1 -0
  24. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +15 -0
  25. package/cdk/connected-overlay/README.md +3 -0
  26. package/cdk/connected-overlay/index.d.ts +3 -0
  27. package/cdk/connected-overlay/lib/connected-overlay.component.d.ts +28 -0
  28. package/cdk/connected-overlay/lib/connected-overlay.service.d.ts +10 -0
  29. package/cdk/connected-overlay/lib/helpers/compute-overlay-position.d.ts +3 -0
  30. package/cdk/connected-overlay/lib/helpers/index.d.ts +1 -0
  31. package/cdk/connected-overlay/lib/models/connected-overlay-options.d.ts +25 -0
  32. package/cdk/connected-overlay/lib/models/connected-overlay-ref.d.ts +12 -0
  33. package/cdk/connected-overlay/lib/models/index.d.ts +2 -0
  34. package/cdk/custom-form-control/README.md +3 -0
  35. package/cdk/custom-form-control/index.d.ts +2 -0
  36. package/{lib/directives → cdk/custom-form-control/lib}/control.directive.d.ts +2 -4
  37. package/cdk/custom-form-control/lib/custom-form-control.d.ts +32 -0
  38. package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +4 -4
  39. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +4 -2
  40. package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +1 -0
  41. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +1 -1
  42. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +2 -1
  43. package/cdk/dynamic-view/lib/facade/index.d.ts +0 -1
  44. package/cdk/dynamic-view/lib/helpers/create-projectable-nodes.d.ts +2 -0
  45. package/cdk/dynamic-view/lib/helpers/index.d.ts +1 -2
  46. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +6 -3
  47. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +2 -1
  48. package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +7 -3
  49. package/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.d.ts +3 -0
  50. package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
  51. package/cdk/expandable/README.md +3 -0
  52. package/cdk/expandable/index.d.ts +4 -0
  53. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +18 -0
  54. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +13 -0
  55. package/cdk/expandable/lib/directives/index.d.ts +2 -0
  56. package/cdk/expandable/lib/expandable.module.d.ts +8 -0
  57. package/cdk/expandable/lib/expandable.tokens.d.ts +3 -0
  58. package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -0
  59. package/cdk/expandable/lib/facade/expandable-item.d.ts +7 -0
  60. package/cdk/expandable/lib/facade/index.d.ts +2 -0
  61. package/cdk/radio-group-control/README.md +3 -0
  62. package/cdk/radio-group-control/index.d.ts +3 -0
  63. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +13 -0
  64. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +10 -0
  65. package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +9 -0
  66. package/components/accordion/README.md +3 -0
  67. package/components/accordion/index.d.ts +4 -0
  68. package/components/accordion/lib/accordion.component.d.ts +7 -0
  69. package/components/accordion/lib/accordion.module.d.ts +10 -0
  70. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +16 -0
  71. package/components/accordion/lib/components/index.d.ts +1 -0
  72. package/components/accordion/lib/directives/accordion-item-title.d.ts +5 -0
  73. package/components/accordion/lib/directives/index.d.ts +1 -0
  74. package/components/action-group/action-group.component.d.ts +2 -4
  75. package/components/area-header/area-header.component.d.ts +2 -4
  76. package/components/area-header/area-header.module.d.ts +2 -1
  77. package/components/area-header/directives/area-header-content.directive.d.ts +1 -1
  78. package/components/area-header/directives/area-header-subtitle.directive.d.ts +1 -1
  79. package/components/avatar/lib/avatar.component.d.ts +4 -5
  80. package/components/avatar/lib/models/avatar-variant.d.ts +5 -0
  81. package/components/avatar/lib/models/index.d.ts +1 -0
  82. package/components/badge/lib/badge.component.d.ts +8 -20
  83. package/components/badge/lib/badge.directive.d.ts +17 -14
  84. package/components/badge/lib/models/index.d.ts +0 -1
  85. package/components/bar/README.md +3 -0
  86. package/components/bar/index.d.ts +5 -0
  87. package/components/bar/lib/bar.component.d.ts +6 -0
  88. package/components/bar/lib/bar.module.d.ts +10 -0
  89. package/components/bar/lib/directives/bar-button.directive.d.ts +10 -0
  90. package/components/bar/lib/directives/bar-label.directive.d.ts +6 -0
  91. package/components/bar/lib/models/bar-button-variant.d.ts +5 -0
  92. package/components/breadcrumbs/README.md +3 -0
  93. package/components/breadcrumbs/index.d.ts +1 -0
  94. package/components/breadcrumbs/lib/breadcrumbs.component.d.ts +17 -0
  95. package/components/button/lib/button.component.d.ts +6 -15
  96. package/components/button/lib/models/button-size.d.ts +5 -0
  97. package/components/button/lib/models/index.d.ts +1 -0
  98. package/components/button-group/README.md +3 -0
  99. package/components/button-group/index.d.ts +1 -0
  100. package/components/button-group/lib/button-group.component.d.ts +15 -0
  101. package/components/checkbox/index.d.ts +2 -0
  102. package/components/checkbox/lib/checkbox.component.d.ts +6 -12
  103. package/components/checkbox/lib/checkbox.module.d.ts +9 -0
  104. package/components/checkbox/lib/checkbox.validator.d.ts +6 -0
  105. package/components/chip/README.md +3 -0
  106. package/components/chip/index.d.ts +2 -0
  107. package/components/chip/lib/chip.component.d.ts +15 -0
  108. package/components/chip/lib/models/chip-size.d.ts +5 -0
  109. package/components/chip/lib/models/chip-variant.d.ts +7 -0
  110. package/components/chip/lib/models/index.d.ts +2 -0
  111. package/components/circular-progress/README.md +3 -0
  112. package/components/circular-progress/index.d.ts +2 -0
  113. package/components/circular-progress/lib/circular-progress.component.d.ts +29 -0
  114. package/components/circular-progress/lib/models/circular-progress-size.d.ts +7 -0
  115. package/components/circular-progress/lib/models/index.d.ts +1 -0
  116. package/components/content-box/lib/content-box.component.d.ts +1 -1
  117. package/components/content-box/lib/directives/content-box-footer-directive.d.ts +1 -1
  118. package/components/content-box/lib/directives/content-box-header-directive.d.ts +1 -1
  119. package/components/dropdown/README.md +3 -0
  120. package/components/dropdown/index.d.ts +5 -0
  121. package/components/dropdown/lib/dropdown.component.d.ts +12 -0
  122. package/components/dropdown/lib/dropdown.directive.d.ts +42 -0
  123. package/components/dropdown/lib/dropdown.module.d.ts +8 -0
  124. package/components/dropdown/lib/helpers/close-current-dropdown.d.ts +1 -0
  125. package/components/dropdown/lib/helpers/index.d.ts +1 -0
  126. package/components/dropdown/lib/models/close-dropdown-event.d.ts +4 -0
  127. package/components/dropdown/lib/models/dropdown-options.d.ts +3 -0
  128. package/components/dropdown/lib/models/index.d.ts +2 -0
  129. package/components/form-field/README.md +3 -0
  130. package/components/form-field/index.d.ts +6 -0
  131. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +9 -0
  132. package/components/form-field/lib/components/form-group/form-group.component.d.ts +13 -0
  133. package/components/form-field/lib/components/index.d.ts +2 -0
  134. package/components/form-field/lib/directives/form-field-control.directive.d.ts +21 -0
  135. package/components/form-field/lib/directives/form-field-error.directive.d.ts +10 -0
  136. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +8 -0
  137. package/components/form-field/lib/directives/form-field-label.directive.d.ts +6 -0
  138. package/components/form-field/lib/directives/form.directive.d.ts +9 -0
  139. package/components/form-field/lib/directives/index.d.ts +5 -0
  140. package/components/form-field/lib/form-field.component.d.ts +19 -0
  141. package/components/form-field/lib/form-field.config.d.ts +14 -0
  142. package/components/form-field/lib/form-field.module.d.ts +18 -0
  143. package/components/form-field/lib/form-field.service.d.ts +30 -0
  144. package/components/form-field/lib/models/form-field-error-resolver.d.ts +27 -0
  145. package/components/form-field/lib/models/form-field-error.d.ts +7 -0
  146. package/components/form-field/lib/models/index.d.ts +2 -0
  147. package/components/form-field/lib/services/form-field-error.service.d.ts +18 -0
  148. package/components/form-field/lib/services/index.d.ts +1 -0
  149. package/components/header/lib/directives/header-avatar.directive.d.ts +5 -2
  150. package/components/header/lib/directives/header-title.directive.d.ts +1 -1
  151. package/components/header/lib/header.component.d.ts +2 -4
  152. package/components/header/lib/header.module.d.ts +2 -2
  153. package/components/icon/lib/icon.component.d.ts +9 -5
  154. package/components/icon/lib/models/icon-size.d.ts +2 -1
  155. package/components/inline-message/README.md +3 -0
  156. package/components/inline-message/index.d.ts +2 -0
  157. package/components/inline-message/lib/inline-message.component.d.ts +9 -0
  158. package/components/inline-message/lib/models/index.d.ts +1 -0
  159. package/components/inline-message/lib/models/inline-message-variant.d.ts +7 -0
  160. package/components/launch-tile/README.md +3 -0
  161. package/components/launch-tile/index.d.ts +3 -0
  162. package/components/launch-tile/lib/components/index.d.ts +2 -0
  163. package/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.d.ts +5 -0
  164. package/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.d.ts +5 -0
  165. package/components/launch-tile/lib/launch-tile.component.d.ts +13 -0
  166. package/components/launch-tile/lib/launch-tile.module.d.ts +14 -0
  167. package/components/link/link.directive.d.ts +3 -7
  168. package/components/list/README.md +3 -0
  169. package/components/list/index.d.ts +3 -0
  170. package/components/list/lib/components/index.d.ts +1 -0
  171. package/components/list/lib/components/list-item/list-item.component.d.ts +12 -0
  172. package/components/list/lib/list.component.d.ts +6 -0
  173. package/components/list/lib/list.module.d.ts +9 -0
  174. package/components/loading-spinner/README.md +3 -0
  175. package/components/loading-spinner/index.d.ts +3 -0
  176. package/components/loading-spinner/lib/loading-spinner.component.d.ts +15 -0
  177. package/components/loading-spinner/lib/loading-spinner.directive.d.ts +25 -0
  178. package/components/loading-spinner/lib/loading-spinner.module.d.ts +9 -0
  179. package/components/logo/logo.directive.d.ts +2 -4
  180. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +2 -5
  181. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +8 -6
  182. package/components/main-menu/lib/main-menu.component.d.ts +5 -5
  183. package/components/main-menu/lib/main-menu.module.d.ts +6 -6
  184. package/components/menu/README.md +3 -0
  185. package/components/menu/index.d.ts +4 -0
  186. package/components/menu/lib/directives/index.d.ts +1 -0
  187. package/components/menu/lib/directives/menu-item.directive.d.ts +9 -0
  188. package/components/menu/lib/menu.component.d.ts +8 -0
  189. package/components/menu/lib/menu.directive.d.ts +15 -0
  190. package/components/menu/lib/menu.module.d.ts +10 -0
  191. package/components/modal/README.md +3 -0
  192. package/components/modal/index.d.ts +8 -0
  193. package/components/modal/lib/components/basic-modal/basic-modal.component.d.ts +10 -0
  194. package/components/modal/lib/components/index.d.ts +4 -0
  195. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +6 -0
  196. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +12 -0
  197. package/components/modal/lib/components/modal-hero/modal-hero.component.d.ts +11 -0
  198. package/components/modal/lib/directives/index.d.ts +3 -0
  199. package/components/modal/lib/directives/modal-close.directive.d.ts +8 -0
  200. package/components/modal/lib/directives/modal-content.directive.d.ts +6 -0
  201. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +7 -0
  202. package/components/modal/lib/helpers/index.d.ts +2 -0
  203. package/components/modal/lib/helpers/inject-modal-ref.d.ts +2 -0
  204. package/components/modal/lib/helpers/provide-modal-ref.d.ts +3 -0
  205. package/components/modal/lib/modal.component.d.ts +21 -0
  206. package/components/modal/lib/modal.config.d.ts +3 -0
  207. package/components/modal/lib/modal.directive.d.ts +18 -0
  208. package/components/modal/lib/modal.module.d.ts +22 -0
  209. package/components/modal/lib/modal.service.d.ts +23 -0
  210. package/components/modal/lib/models/basic-modal-options.d.ts +17 -0
  211. package/components/modal/lib/models/index.d.ts +7 -0
  212. package/components/modal/lib/models/modal-hero-variant.d.ts +7 -0
  213. package/components/modal/lib/models/modal-options.d.ts +15 -0
  214. package/components/modal/lib/models/modal-ref.d.ts +20 -0
  215. package/components/modal/lib/models/modal-size.d.ts +6 -0
  216. package/components/modal/lib/models/modal-type.d.ts +8 -0
  217. package/components/modal/lib/models/modal-variant.d.ts +5 -0
  218. package/components/progress/README.md +3 -0
  219. package/components/progress/index.d.ts +1 -0
  220. package/components/progress/lib/progress.component.d.ts +14 -0
  221. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +4 -11
  222. package/components/radio-group/lib/radio-group.component.d.ts +4 -6
  223. package/components/radio-group/lib/radio-group.module.d.ts +4 -4
  224. package/components/rail-navigation/README.md +3 -0
  225. package/components/rail-navigation/index.d.ts +3 -0
  226. package/components/rail-navigation/lib/components/rail-navigation-item.component.d.ts +13 -0
  227. package/components/rail-navigation/lib/rail-navigation.component.d.ts +14 -0
  228. package/components/rail-navigation/lib/rail-navigation.module.d.ts +9 -0
  229. package/components/select/README.md +3 -0
  230. package/components/select/index.d.ts +7 -0
  231. package/components/select/lib/abstract/index.d.ts +2 -0
  232. package/components/select/lib/abstract/select-control-option.d.ts +7 -0
  233. package/components/select/lib/abstract/select-control.d.ts +11 -0
  234. package/components/select/lib/components/index.d.ts +1 -0
  235. package/components/select/lib/components/option/option.component.d.ts +22 -0
  236. package/components/select/lib/directives/index.d.ts +1 -0
  237. package/components/select/lib/directives/select-search-field.directive.d.ts +13 -0
  238. package/components/select/lib/pipes/index.d.ts +1 -0
  239. package/components/select/lib/pipes/select-search-filter.pipe.d.ts +13 -0
  240. package/components/select/lib/select.component.d.ts +50 -0
  241. package/components/select/lib/select.module.d.ts +11 -0
  242. package/components/select/lib/select.tokens.d.ts +3 -0
  243. package/components/slider/README.md +3 -0
  244. package/components/slider/index.d.ts +1 -0
  245. package/components/slider/lib/slider.directive.d.ts +12 -0
  246. package/components/spinbox/README.md +3 -0
  247. package/components/spinbox/index.d.ts +1 -0
  248. package/components/spinbox/lib/spinbox.component.d.ts +25 -0
  249. package/components/switch/README.md +3 -0
  250. package/components/switch/index.d.ts +3 -0
  251. package/components/switch/lib/switch.component.d.ts +7 -0
  252. package/components/switch/lib/switch.module.d.ts +9 -0
  253. package/components/switch/lib/switch.validator.d.ts +6 -0
  254. package/components/tab-bar/README.md +3 -0
  255. package/components/tab-bar/index.d.ts +4 -0
  256. package/components/tab-bar/lib/components/index.d.ts +1 -0
  257. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +20 -0
  258. package/components/tab-bar/lib/models/index.d.ts +1 -0
  259. package/components/tab-bar/lib/models/tab-change-event.d.ts +5 -0
  260. package/components/tab-bar/lib/tab-bar.component.d.ts +31 -0
  261. package/components/tab-bar/lib/tab-bar.config.d.ts +3 -0
  262. package/components/tab-bar/lib/tab-bar.module.d.ts +9 -0
  263. package/components/toast/README.md +3 -0
  264. package/components/toast/index.d.ts +5 -0
  265. package/components/toast/lib/components/index.d.ts +2 -0
  266. package/components/toast/lib/components/toast-container/toast-container.component.d.ts +23 -0
  267. package/components/toast/lib/components/toast-item/toast-item.component.d.ts +20 -0
  268. package/components/toast/lib/models/index.d.ts +5 -0
  269. package/components/toast/lib/models/toast-action.d.ts +7 -0
  270. package/components/toast/lib/models/toast-ref.d.ts +7 -0
  271. package/components/toast/lib/models/toast-variant.d.ts +7 -0
  272. package/components/toast/lib/models/toast.d.ts +10 -0
  273. package/components/toast/lib/models/toast.options.d.ts +4 -0
  274. package/components/toast/lib/toast.config.d.ts +3 -0
  275. package/components/toast/lib/toast.module.d.ts +13 -0
  276. package/components/toast/lib/toast.service.d.ts +16 -0
  277. package/components/toggle-button-group/README.md +3 -0
  278. package/components/toggle-button-group/index.d.ts +3 -0
  279. package/components/toggle-button-group/lib/components/index.d.ts +1 -0
  280. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +7 -0
  281. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +11 -0
  282. package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +9 -0
  283. package/components/tooltip/README.md +3 -0
  284. package/components/tooltip/index.d.ts +3 -0
  285. package/components/tooltip/lib/helpers/index.d.ts +1 -0
  286. package/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.d.ts +2 -0
  287. package/components/tooltip/lib/models/index.d.ts +3 -0
  288. package/components/tooltip/lib/models/tooltip-options.d.ts +10 -0
  289. package/components/tooltip/lib/models/tooltip-size.d.ts +7 -0
  290. package/components/tooltip/lib/models/tooltip-trigger.d.ts +1 -0
  291. package/components/tooltip/lib/tooltip.component.d.ts +12 -0
  292. package/components/tooltip/lib/tooltip.directive.d.ts +33 -0
  293. package/esm2020/animations/index.mjs +5 -3
  294. package/esm2020/animations/lib/config.mjs +8 -0
  295. package/esm2020/animations/lib/expand.mjs +14 -0
  296. package/esm2020/animations/lib/fade.mjs +9 -0
  297. package/esm2020/animations/lib/slide.mjs +34 -0
  298. package/esm2020/animations/lib/wait-for-child-animations.mjs +3 -0
  299. package/esm2020/cdk/a11y/index.mjs +3 -0
  300. package/esm2020/cdk/a11y/lib/a11y.module.mjs +19 -0
  301. package/esm2020/cdk/a11y/lib/directives/index.mjs +4 -0
  302. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +49 -0
  303. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +28 -0
  304. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +40 -0
  305. package/esm2020/cdk/a11y/odx-angular-cdk-a11y.mjs +5 -0
  306. package/esm2020/cdk/active-indicator/index.mjs +3 -0
  307. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +128 -0
  308. package/esm2020/cdk/active-indicator/lib/models/active-indicator-direction.mjs +5 -0
  309. package/esm2020/cdk/active-indicator/lib/models/active-indicator-position.mjs +6 -0
  310. package/esm2020/cdk/active-indicator/lib/models/index.mjs +3 -0
  311. package/esm2020/cdk/active-indicator/odx-angular-cdk-active-indicator.mjs +5 -0
  312. package/esm2020/cdk/checkbox-control/index.mjs +2 -0
  313. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +41 -0
  314. package/esm2020/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +5 -0
  315. package/esm2020/cdk/connected-overlay/index.mjs +4 -0
  316. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +116 -0
  317. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +25 -0
  318. package/esm2020/cdk/connected-overlay/lib/helpers/compute-overlay-position.mjs +55 -0
  319. package/esm2020/cdk/connected-overlay/lib/helpers/index.mjs +2 -0
  320. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-options.mjs +12 -0
  321. package/esm2020/cdk/connected-overlay/lib/models/connected-overlay-ref.mjs +15 -0
  322. package/esm2020/cdk/connected-overlay/lib/models/index.mjs +3 -0
  323. package/esm2020/cdk/connected-overlay/odx-angular-cdk-connected-overlay.mjs +5 -0
  324. package/esm2020/cdk/custom-form-control/index.mjs +3 -0
  325. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +19 -0
  326. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +94 -0
  327. package/esm2020/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +5 -0
  328. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +23 -14
  329. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +31 -16
  330. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +11 -9
  331. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +1 -1
  332. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  333. package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +1 -2
  334. package/esm2020/cdk/dynamic-view/lib/helpers/create-projectable-nodes.mjs +9 -0
  335. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +2 -3
  336. package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +2 -2
  337. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +32 -12
  338. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +17 -7
  339. package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +1 -1
  340. package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-default-host.mjs +10 -0
  341. package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -1
  342. package/esm2020/cdk/expandable/index.mjs +5 -0
  343. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +47 -0
  344. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +41 -0
  345. package/esm2020/cdk/expandable/lib/directives/index.mjs +3 -0
  346. package/esm2020/cdk/expandable/lib/expandable.module.mjs +17 -0
  347. package/esm2020/cdk/expandable/lib/expandable.tokens.mjs +3 -0
  348. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +2 -0
  349. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +2 -0
  350. package/esm2020/cdk/expandable/lib/facade/index.mjs +3 -0
  351. package/esm2020/cdk/expandable/odx-angular-cdk-expandable.mjs +5 -0
  352. package/esm2020/cdk/radio-group-control/index.mjs +4 -0
  353. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
  354. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +43 -0
  355. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
  356. package/esm2020/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +5 -0
  357. package/esm2020/components/accordion/index.mjs +5 -0
  358. package/esm2020/components/accordion/lib/accordion.component.mjs +24 -0
  359. package/esm2020/components/accordion/lib/accordion.module.mjs +20 -0
  360. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +56 -0
  361. package/esm2020/components/accordion/lib/components/index.mjs +2 -0
  362. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
  363. package/esm2020/components/accordion/lib/directives/index.mjs +2 -0
  364. package/esm2020/components/accordion/odx-angular-components-accordion.mjs +5 -0
  365. package/esm2020/components/action-group/action-group.component.mjs +15 -18
  366. package/esm2020/components/area-header/area-header.component.mjs +11 -11
  367. package/esm2020/components/area-header/area-header.module.mjs +9 -8
  368. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -5
  369. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -5
  370. package/esm2020/components/avatar/lib/avatar.component.mjs +19 -11
  371. package/esm2020/components/avatar/lib/models/avatar-variant.mjs +5 -0
  372. package/esm2020/components/avatar/lib/models/index.mjs +2 -1
  373. package/esm2020/components/badge/lib/badge.component.mjs +20 -70
  374. package/esm2020/components/badge/lib/badge.directive.mjs +52 -27
  375. package/esm2020/components/badge/lib/models/index.mjs +1 -2
  376. package/esm2020/components/bar/index.mjs +6 -0
  377. package/esm2020/components/bar/lib/bar.component.mjs +21 -0
  378. package/esm2020/components/bar/lib/bar.module.mjs +20 -0
  379. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +39 -0
  380. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +24 -0
  381. package/esm2020/components/bar/lib/models/bar-button-variant.mjs +5 -0
  382. package/esm2020/components/bar/odx-angular-components-bar.mjs +5 -0
  383. package/esm2020/components/breadcrumbs/index.mjs +2 -0
  384. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +50 -0
  385. package/esm2020/components/breadcrumbs/odx-angular-components-breadcrumbs.mjs +5 -0
  386. package/esm2020/components/button/lib/button.component.mjs +24 -35
  387. package/esm2020/components/button/lib/models/button-size.mjs +5 -0
  388. package/esm2020/components/button/lib/models/index.mjs +2 -1
  389. package/esm2020/components/button-group/index.mjs +2 -0
  390. package/esm2020/components/button-group/lib/button-group.component.mjs +54 -0
  391. package/esm2020/components/button-group/odx-angular-components-button-group.mjs +5 -0
  392. package/esm2020/components/checkbox/index.mjs +3 -1
  393. package/esm2020/components/checkbox/lib/checkbox.component.mjs +16 -32
  394. package/esm2020/components/checkbox/lib/checkbox.module.mjs +19 -0
  395. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +28 -0
  396. package/esm2020/components/chip/index.mjs +3 -0
  397. package/esm2020/components/chip/lib/chip.component.mjs +54 -0
  398. package/esm2020/components/chip/lib/models/chip-size.mjs +5 -0
  399. package/esm2020/components/chip/lib/models/chip-variant.mjs +7 -0
  400. package/esm2020/components/chip/lib/models/index.mjs +3 -0
  401. package/esm2020/components/chip/odx-angular-components-chip.mjs +5 -0
  402. package/esm2020/components/circular-progress/index.mjs +3 -0
  403. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +98 -0
  404. package/esm2020/components/circular-progress/lib/models/circular-progress-size.mjs +7 -0
  405. package/esm2020/components/circular-progress/lib/models/index.mjs +2 -0
  406. package/esm2020/components/circular-progress/odx-angular-components-circular-progress.mjs +5 -0
  407. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  408. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  409. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -5
  410. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -5
  411. package/esm2020/components/dropdown/index.mjs +6 -0
  412. package/esm2020/components/dropdown/lib/dropdown.component.mjs +40 -0
  413. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +156 -0
  414. package/esm2020/components/dropdown/lib/dropdown.module.mjs +18 -0
  415. package/esm2020/components/dropdown/lib/helpers/close-current-dropdown.mjs +5 -0
  416. package/esm2020/components/dropdown/lib/helpers/index.mjs +2 -0
  417. package/esm2020/components/dropdown/lib/models/close-dropdown-event.mjs +7 -0
  418. package/esm2020/components/dropdown/lib/models/dropdown-options.mjs +8 -0
  419. package/esm2020/components/dropdown/lib/models/index.mjs +3 -0
  420. package/esm2020/components/dropdown/odx-angular-components-dropdown.mjs +5 -0
  421. package/esm2020/components/form-field/index.mjs +7 -0
  422. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
  423. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +34 -0
  424. package/esm2020/components/form-field/lib/components/index.mjs +3 -0
  425. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +75 -0
  426. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
  427. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
  428. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +24 -0
  429. package/esm2020/components/form-field/lib/directives/form.directive.mjs +28 -0
  430. package/esm2020/components/form-field/lib/directives/index.mjs +6 -0
  431. package/esm2020/components/form-field/lib/form-field.component.mjs +48 -0
  432. package/esm2020/components/form-field/lib/form-field.config.mjs +6 -0
  433. package/esm2020/components/form-field/lib/form-field.module.mjs +49 -0
  434. package/esm2020/components/form-field/lib/form-field.service.mjs +53 -0
  435. package/esm2020/components/form-field/lib/models/form-field-error-resolver.mjs +2 -0
  436. package/esm2020/components/form-field/lib/models/form-field-error.mjs +2 -0
  437. package/esm2020/components/form-field/lib/models/index.mjs +3 -0
  438. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +56 -0
  439. package/esm2020/components/form-field/lib/services/index.mjs +2 -0
  440. package/esm2020/components/form-field/odx-angular-components-form-field.mjs +5 -0
  441. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +13 -6
  442. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -5
  443. package/esm2020/components/header/lib/header.component.mjs +12 -13
  444. package/esm2020/components/header/lib/header.module.mjs +10 -14
  445. package/esm2020/components/icon/lib/icon.component.mjs +36 -12
  446. package/esm2020/components/icon/lib/models/icon-size.mjs +2 -1
  447. package/esm2020/components/inline-message/index.mjs +3 -0
  448. package/esm2020/components/inline-message/lib/inline-message.component.mjs +43 -0
  449. package/esm2020/components/inline-message/lib/models/index.mjs +2 -0
  450. package/esm2020/components/inline-message/lib/models/inline-message-variant.mjs +7 -0
  451. package/esm2020/components/inline-message/odx-angular-components-inline-message.mjs +5 -0
  452. package/esm2020/components/launch-tile/index.mjs +4 -0
  453. package/esm2020/components/launch-tile/lib/components/index.mjs +3 -0
  454. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +13 -0
  455. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +13 -0
  456. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +51 -0
  457. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +23 -0
  458. package/esm2020/components/launch-tile/odx-angular-components-launch-tile.mjs +5 -0
  459. package/esm2020/components/link/link.directive.mjs +14 -25
  460. package/esm2020/components/list/index.mjs +4 -0
  461. package/esm2020/components/list/lib/components/index.mjs +2 -0
  462. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +40 -0
  463. package/esm2020/components/list/lib/list.component.mjs +21 -0
  464. package/esm2020/components/list/lib/list.module.mjs +19 -0
  465. package/esm2020/components/list/odx-angular-components-list.mjs +5 -0
  466. package/esm2020/components/loading-spinner/index.mjs +4 -0
  467. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +58 -0
  468. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +91 -0
  469. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +19 -0
  470. package/esm2020/components/loading-spinner/odx-angular-components-loading-spinner.mjs +5 -0
  471. package/esm2020/components/logo/logo.directive.mjs +10 -11
  472. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +12 -13
  473. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +25 -20
  474. package/esm2020/components/main-menu/lib/main-menu.component.mjs +26 -26
  475. package/esm2020/components/main-menu/lib/main-menu.module.mjs +7 -7
  476. package/esm2020/components/main-menu/lib/main-menu.service.mjs +5 -5
  477. package/esm2020/components/menu/index.mjs +5 -0
  478. package/esm2020/components/menu/lib/directives/index.mjs +2 -0
  479. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +39 -0
  480. package/esm2020/components/menu/lib/menu.component.mjs +35 -0
  481. package/esm2020/components/menu/lib/menu.directive.mjs +51 -0
  482. package/esm2020/components/menu/lib/menu.module.mjs +20 -0
  483. package/esm2020/components/menu/odx-angular-components-menu.mjs +5 -0
  484. package/esm2020/components/modal/index.mjs +9 -0
  485. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +42 -0
  486. package/esm2020/components/modal/lib/components/index.mjs +5 -0
  487. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +21 -0
  488. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +40 -0
  489. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +39 -0
  490. package/esm2020/components/modal/lib/directives/index.mjs +4 -0
  491. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +34 -0
  492. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +24 -0
  493. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
  494. package/esm2020/components/modal/lib/helpers/index.mjs +3 -0
  495. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +6 -0
  496. package/esm2020/components/modal/lib/helpers/provide-modal-ref.mjs +5 -0
  497. package/esm2020/components/modal/lib/modal.component.mjs +86 -0
  498. package/esm2020/components/modal/lib/modal.config.mjs +10 -0
  499. package/esm2020/components/modal/lib/modal.directive.mjs +51 -0
  500. package/esm2020/components/modal/lib/modal.module.mjs +58 -0
  501. package/esm2020/components/modal/lib/modal.service.mjs +77 -0
  502. package/esm2020/components/modal/lib/models/basic-modal-options.mjs +2 -0
  503. package/esm2020/components/modal/lib/models/index.mjs +8 -0
  504. package/esm2020/components/modal/lib/models/modal-hero-variant.mjs +7 -0
  505. package/esm2020/components/modal/lib/models/modal-options.mjs +2 -0
  506. package/esm2020/components/modal/lib/models/modal-ref.mjs +48 -0
  507. package/esm2020/components/modal/lib/models/modal-size.mjs +6 -0
  508. package/esm2020/components/modal/lib/models/modal-type.mjs +2 -0
  509. package/esm2020/components/modal/lib/models/modal-variant.mjs +5 -0
  510. package/esm2020/components/modal/odx-angular-components-modal.mjs +5 -0
  511. package/esm2020/components/progress/index.mjs +2 -0
  512. package/esm2020/components/progress/lib/progress.component.mjs +51 -0
  513. package/esm2020/components/progress/odx-angular-components-progress.mjs +5 -0
  514. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +20 -40
  515. package/esm2020/components/radio-group/lib/radio-group.component.mjs +33 -16
  516. package/esm2020/components/radio-group/lib/radio-group.module.mjs +7 -7
  517. package/esm2020/components/rail-navigation/index.mjs +4 -0
  518. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +38 -0
  519. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +47 -0
  520. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +19 -0
  521. package/esm2020/components/rail-navigation/odx-angular-components-rail-navigation.mjs +5 -0
  522. package/esm2020/components/select/index.mjs +8 -0
  523. package/esm2020/components/select/lib/abstract/index.mjs +3 -0
  524. package/esm2020/components/select/lib/abstract/select-control-option.mjs +2 -0
  525. package/esm2020/components/select/lib/abstract/select-control.mjs +2 -0
  526. package/esm2020/components/select/lib/components/index.mjs +2 -0
  527. package/esm2020/components/select/lib/components/option/option.component.mjs +77 -0
  528. package/esm2020/components/select/lib/directives/index.mjs +2 -0
  529. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +47 -0
  530. package/esm2020/components/select/lib/pipes/index.mjs +2 -0
  531. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +51 -0
  532. package/esm2020/components/select/lib/select.component.mjs +186 -0
  533. package/esm2020/components/select/lib/select.module.mjs +21 -0
  534. package/esm2020/components/select/lib/select.tokens.mjs +3 -0
  535. package/esm2020/components/select/odx-angular-components-select.mjs +5 -0
  536. package/esm2020/components/slider/index.mjs +2 -0
  537. package/esm2020/components/slider/lib/slider.directive.mjs +42 -0
  538. package/esm2020/components/slider/odx-angular-components-slider.mjs +5 -0
  539. package/esm2020/components/spinbox/index.mjs +2 -0
  540. package/esm2020/components/spinbox/lib/spinbox.component.mjs +91 -0
  541. package/esm2020/components/spinbox/odx-angular-components-spinbox.mjs +5 -0
  542. package/esm2020/components/switch/index.mjs +4 -0
  543. package/esm2020/components/switch/lib/switch.component.mjs +23 -0
  544. package/esm2020/components/switch/lib/switch.module.mjs +19 -0
  545. package/esm2020/components/switch/lib/switch.validator.mjs +28 -0
  546. package/esm2020/components/switch/odx-angular-components-switch.mjs +5 -0
  547. package/esm2020/components/tab-bar/index.mjs +5 -0
  548. package/esm2020/components/tab-bar/lib/components/index.mjs +2 -0
  549. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +70 -0
  550. package/esm2020/components/tab-bar/lib/models/index.mjs +2 -0
  551. package/esm2020/components/tab-bar/lib/models/tab-change-event.mjs +2 -0
  552. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +115 -0
  553. package/esm2020/components/tab-bar/lib/tab-bar.config.mjs +3 -0
  554. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +19 -0
  555. package/esm2020/components/tab-bar/odx-angular-components-tab-bar.mjs +5 -0
  556. package/esm2020/components/toast/index.mjs +6 -0
  557. package/esm2020/components/toast/lib/components/index.mjs +3 -0
  558. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +87 -0
  559. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +74 -0
  560. package/esm2020/components/toast/lib/models/index.mjs +6 -0
  561. package/esm2020/components/toast/lib/models/toast-action.mjs +2 -0
  562. package/esm2020/components/toast/lib/models/toast-ref.mjs +2 -0
  563. package/esm2020/components/toast/lib/models/toast-variant.mjs +7 -0
  564. package/esm2020/components/toast/lib/models/toast.mjs +2 -0
  565. package/esm2020/components/toast/lib/models/toast.options.mjs +2 -0
  566. package/esm2020/components/toast/lib/toast.config.mjs +6 -0
  567. package/esm2020/components/toast/lib/toast.module.mjs +26 -0
  568. package/esm2020/components/toast/lib/toast.service.mjs +38 -0
  569. package/esm2020/components/toast/odx-angular-components-toast.mjs +5 -0
  570. package/esm2020/components/toggle-button-group/index.mjs +4 -0
  571. package/esm2020/components/toggle-button-group/lib/components/index.mjs +2 -0
  572. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +26 -0
  573. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +50 -0
  574. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
  575. package/esm2020/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +5 -0
  576. package/esm2020/components/tooltip/index.mjs +4 -0
  577. package/esm2020/components/tooltip/lib/helpers/index.mjs +2 -0
  578. package/esm2020/components/tooltip/lib/helpers/resolve-tooltip-trigger-events.mjs +9 -0
  579. package/esm2020/components/tooltip/lib/models/index.mjs +4 -0
  580. package/esm2020/components/tooltip/lib/models/tooltip-options.mjs +10 -0
  581. package/esm2020/components/tooltip/lib/models/tooltip-size.mjs +7 -0
  582. package/esm2020/components/tooltip/lib/models/tooltip-trigger.mjs +2 -0
  583. package/esm2020/components/tooltip/lib/tooltip.component.mjs +39 -0
  584. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +132 -0
  585. package/esm2020/components/tooltip/odx-angular-components-tooltip.mjs +5 -0
  586. package/esm2020/index.mjs +2 -2
  587. package/esm2020/internal/decorators/css-modifier.mjs +6 -5
  588. package/esm2020/internal/helpers/camel-to-kebab-case.mjs +12 -0
  589. package/esm2020/internal/helpers/index.mjs +2 -4
  590. package/esm2020/internal/index.mjs +1 -4
  591. package/esm2020/lib/controllers/controller.mjs +39 -0
  592. package/esm2020/lib/controllers/disabled.controller.mjs +32 -46
  593. package/esm2020/lib/controllers/index.mjs +3 -1
  594. package/esm2020/lib/controllers/readonly.controller.mjs +69 -0
  595. package/esm2020/lib/core.module.mjs +11 -10
  596. package/esm2020/lib/directives/click-outside.directive.mjs +59 -0
  597. package/esm2020/lib/directives/index.mjs +5 -3
  598. package/esm2020/lib/directives/let.directive.mjs +36 -0
  599. package/esm2020/lib/directives/with-disabled-state.directive.mjs +41 -0
  600. package/esm2020/lib/directives/with-tabindex.directive.mjs +23 -0
  601. package/esm2020/lib/services/index.mjs +1 -2
  602. package/esm2020/lib/services/window-ref.mjs +11 -7
  603. package/esm2020/lib/tokens/identity-matcher.mjs +7 -0
  604. package/esm2020/lib/tokens/index.mjs +4 -0
  605. package/esm2020/lib/tokens/string-search-handler.mjs +9 -0
  606. package/esm2020/lib/tokens/stringify.mjs +8 -0
  607. package/esm2020/rxjs/index.mjs +4 -1
  608. package/esm2020/rxjs/lib/delay-until.mjs +5 -0
  609. package/esm2020/rxjs/lib/form-query-list.mjs +5 -0
  610. package/esm2020/rxjs/lib/from-element-resize.mjs +14 -0
  611. package/esm2020/utils/index.mjs +2 -1
  612. package/esm2020/utils/lib/decorators/index.mjs +2 -1
  613. package/esm2020/utils/lib/decorators/pure.mjs +37 -0
  614. package/esm2020/utils/lib/helpers/angular.mjs +33 -0
  615. package/esm2020/utils/lib/helpers/defer-fn.mjs +4 -0
  616. package/esm2020/utils/lib/helpers/dom.mjs +52 -0
  617. package/esm2020/utils/lib/helpers/event-manager.mjs +30 -0
  618. package/esm2020/utils/lib/helpers/get-axis.mjs +14 -0
  619. package/esm2020/utils/lib/helpers/get-opposite-side.mjs +15 -0
  620. package/esm2020/utils/lib/helpers/get-side.mjs +4 -0
  621. package/esm2020/utils/lib/helpers/get-unique-id.mjs +7 -0
  622. package/esm2020/utils/lib/helpers/index.mjs +13 -1
  623. package/esm2020/utils/lib/helpers/ng-changes.mjs +1 -1
  624. package/esm2020/utils/lib/helpers/provide-module-config.mjs +21 -0
  625. package/esm2020/utils/lib/helpers/queue.mjs +49 -0
  626. package/esm2020/utils/lib/helpers/type-guards.mjs +29 -0
  627. package/esm2020/utils/lib/helpers/until-destroyed.mjs +13 -0
  628. package/esm2020/utils/lib/types/axis.mjs +5 -0
  629. package/esm2020/utils/lib/types/get-properties.mjs +2 -0
  630. package/esm2020/utils/lib/types/index.mjs +5 -0
  631. package/esm2020/utils/lib/types/position.mjs +15 -0
  632. package/esm2020/utils/lib/types/side.mjs +7 -0
  633. package/fesm2015/odx-angular-animations.mjs +17 -3
  634. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  635. package/fesm2015/odx-angular-cdk-a11y.mjs +132 -0
  636. package/fesm2015/odx-angular-cdk-a11y.mjs.map +1 -0
  637. package/fesm2015/odx-angular-cdk-active-indicator.mjs +145 -0
  638. package/fesm2015/odx-angular-cdk-active-indicator.mjs.map +1 -0
  639. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +48 -0
  640. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  641. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +222 -0
  642. package/fesm2015/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  643. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +123 -0
  644. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  645. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +126 -78
  646. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  647. package/fesm2015/odx-angular-cdk-expandable.mjs +108 -0
  648. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -0
  649. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +99 -0
  650. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  651. package/fesm2015/odx-angular-components-accordion.mjs +106 -0
  652. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -0
  653. package/fesm2015/odx-angular-components-action-group.mjs +14 -17
  654. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  655. package/fesm2015/odx-angular-components-area-header.mjs +24 -25
  656. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  657. package/fesm2015/odx-angular-components-avatar.mjs +23 -10
  658. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  659. package/fesm2015/odx-angular-components-badge.mjs +67 -104
  660. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  661. package/fesm2015/odx-angular-components-bar.mjs +96 -0
  662. package/fesm2015/odx-angular-components-bar.mjs.map +1 -0
  663. package/fesm2015/odx-angular-components-breadcrumbs.mjs +56 -0
  664. package/fesm2015/odx-angular-components-breadcrumbs.mjs.map +1 -0
  665. package/fesm2015/odx-angular-components-button-group.mjs +60 -0
  666. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -0
  667. package/fesm2015/odx-angular-components-button.mjs +28 -39
  668. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  669. package/fesm2015/odx-angular-components-checkbox.mjs +56 -31
  670. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  671. package/fesm2015/odx-angular-components-chip.mjs +71 -0
  672. package/fesm2015/odx-angular-components-chip.mjs.map +1 -0
  673. package/fesm2015/odx-angular-components-circular-progress.mjs +110 -0
  674. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -0
  675. package/fesm2015/odx-angular-components-content-box.mjs +13 -15
  676. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  677. package/fesm2015/odx-angular-components-dropdown.mjs +222 -0
  678. package/fesm2015/odx-angular-components-dropdown.mjs.map +1 -0
  679. package/fesm2015/odx-angular-components-form-field.mjs +383 -0
  680. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -0
  681. package/fesm2015/odx-angular-components-header.mjs +34 -33
  682. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  683. package/fesm2015/odx-angular-components-icon.mjs +36 -11
  684. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  685. package/fesm2015/odx-angular-components-inline-message.mjs +55 -0
  686. package/fesm2015/odx-angular-components-inline-message.mjs.map +1 -0
  687. package/fesm2015/odx-angular-components-launch-tile.mjs +95 -0
  688. package/fesm2015/odx-angular-components-launch-tile.mjs.map +1 -0
  689. package/fesm2015/odx-angular-components-link.mjs +13 -25
  690. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  691. package/fesm2015/odx-angular-components-list.mjs +76 -0
  692. package/fesm2015/odx-angular-components-list.mjs.map +1 -0
  693. package/fesm2015/odx-angular-components-loading-spinner.mjs +163 -0
  694. package/fesm2015/odx-angular-components-loading-spinner.mjs.map +1 -0
  695. package/fesm2015/odx-angular-components-logo.mjs +9 -10
  696. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  697. package/fesm2015/odx-angular-components-main-menu.mjs +62 -61
  698. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  699. package/fesm2015/odx-angular-components-menu.mjs +127 -0
  700. package/fesm2015/odx-angular-components-menu.mjs.map +1 -0
  701. package/fesm2015/odx-angular-components-modal.mjs +495 -0
  702. package/fesm2015/odx-angular-components-modal.mjs.map +1 -0
  703. package/fesm2015/odx-angular-components-progress.mjs +57 -0
  704. package/fesm2015/odx-angular-components-progress.mjs.map +1 -0
  705. package/fesm2015/odx-angular-components-radio-group.mjs +65 -69
  706. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  707. package/fesm2015/odx-angular-components-rail-navigation.mjs +97 -0
  708. package/fesm2015/odx-angular-components-rail-navigation.mjs.map +1 -0
  709. package/fesm2015/odx-angular-components-select.mjs +371 -0
  710. package/fesm2015/odx-angular-components-select.mjs.map +1 -0
  711. package/fesm2015/odx-angular-components-slider.mjs +48 -0
  712. package/fesm2015/odx-angular-components-slider.mjs.map +1 -0
  713. package/fesm2015/odx-angular-components-spinbox.mjs +100 -0
  714. package/fesm2015/odx-angular-components-spinbox.mjs.map +1 -0
  715. package/fesm2015/odx-angular-components-switch.mjs +69 -0
  716. package/fesm2015/odx-angular-components-switch.mjs.map +1 -0
  717. package/fesm2015/odx-angular-components-tab-bar.mjs +200 -0
  718. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -0
  719. package/fesm2015/odx-angular-components-toast.mjs +221 -0
  720. package/fesm2015/odx-angular-components-toast.mjs.map +1 -0
  721. package/fesm2015/odx-angular-components-toggle-button-group.mjs +87 -0
  722. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -0
  723. package/fesm2015/odx-angular-components-tooltip.mjs +187 -0
  724. package/fesm2015/odx-angular-components-tooltip.mjs.map +1 -0
  725. package/fesm2015/odx-angular-internal.mjs +39 -104
  726. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  727. package/fesm2015/odx-angular-rxjs.mjs +23 -2
  728. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  729. package/fesm2015/odx-angular-utils.mjs +329 -1
  730. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  731. package/fesm2015/odx-angular.mjs +296 -228
  732. package/fesm2015/odx-angular.mjs.map +1 -1
  733. package/fesm2020/odx-angular-animations.mjs +17 -6
  734. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  735. package/fesm2020/odx-angular-cdk-a11y.mjs +128 -0
  736. package/fesm2020/odx-angular-cdk-a11y.mjs.map +1 -0
  737. package/fesm2020/odx-angular-cdk-active-indicator.mjs +143 -0
  738. package/fesm2020/odx-angular-cdk-active-indicator.mjs.map +1 -0
  739. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +48 -0
  740. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  741. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +218 -0
  742. package/fesm2020/odx-angular-cdk-connected-overlay.mjs.map +1 -0
  743. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +117 -0
  744. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  745. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +115 -57
  746. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  747. package/fesm2020/odx-angular-cdk-expandable.mjs +107 -0
  748. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -0
  749. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +99 -0
  750. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  751. package/fesm2020/odx-angular-components-accordion.mjs +105 -0
  752. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -0
  753. package/fesm2020/odx-angular-components-action-group.mjs +14 -17
  754. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  755. package/fesm2020/odx-angular-components-area-header.mjs +24 -25
  756. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  757. package/fesm2020/odx-angular-components-avatar.mjs +23 -10
  758. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  759. package/fesm2020/odx-angular-components-badge.mjs +64 -97
  760. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  761. package/fesm2020/odx-angular-components-bar.mjs +96 -0
  762. package/fesm2020/odx-angular-components-bar.mjs.map +1 -0
  763. package/fesm2020/odx-angular-components-breadcrumbs.mjs +56 -0
  764. package/fesm2020/odx-angular-components-breadcrumbs.mjs.map +1 -0
  765. package/fesm2020/odx-angular-components-button-group.mjs +60 -0
  766. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -0
  767. package/fesm2020/odx-angular-components-button.mjs +28 -34
  768. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  769. package/fesm2020/odx-angular-components-checkbox.mjs +56 -31
  770. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  771. package/fesm2020/odx-angular-components-chip.mjs +71 -0
  772. package/fesm2020/odx-angular-components-chip.mjs.map +1 -0
  773. package/fesm2020/odx-angular-components-circular-progress.mjs +110 -0
  774. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -0
  775. package/fesm2020/odx-angular-components-content-box.mjs +13 -15
  776. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  777. package/fesm2020/odx-angular-components-dropdown.mjs +225 -0
  778. package/fesm2020/odx-angular-components-dropdown.mjs.map +1 -0
  779. package/fesm2020/odx-angular-components-form-field.mjs +380 -0
  780. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -0
  781. package/fesm2020/odx-angular-components-header.mjs +34 -33
  782. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  783. package/fesm2020/odx-angular-components-icon.mjs +36 -11
  784. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  785. package/fesm2020/odx-angular-components-inline-message.mjs +55 -0
  786. package/fesm2020/odx-angular-components-inline-message.mjs.map +1 -0
  787. package/fesm2020/odx-angular-components-launch-tile.mjs +94 -0
  788. package/fesm2020/odx-angular-components-launch-tile.mjs.map +1 -0
  789. package/fesm2020/odx-angular-components-link.mjs +13 -24
  790. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  791. package/fesm2020/odx-angular-components-list.mjs +76 -0
  792. package/fesm2020/odx-angular-components-list.mjs.map +1 -0
  793. package/fesm2020/odx-angular-components-loading-spinner.mjs +162 -0
  794. package/fesm2020/odx-angular-components-loading-spinner.mjs.map +1 -0
  795. package/fesm2020/odx-angular-components-logo.mjs +9 -10
  796. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  797. package/fesm2020/odx-angular-components-main-menu.mjs +62 -60
  798. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  799. package/fesm2020/odx-angular-components-menu.mjs +129 -0
  800. package/fesm2020/odx-angular-components-menu.mjs.map +1 -0
  801. package/fesm2020/odx-angular-components-modal.mjs +497 -0
  802. package/fesm2020/odx-angular-components-modal.mjs.map +1 -0
  803. package/fesm2020/odx-angular-components-progress.mjs +57 -0
  804. package/fesm2020/odx-angular-components-progress.mjs.map +1 -0
  805. package/fesm2020/odx-angular-components-radio-group.mjs +65 -68
  806. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  807. package/fesm2020/odx-angular-components-rail-navigation.mjs +97 -0
  808. package/fesm2020/odx-angular-components-rail-navigation.mjs.map +1 -0
  809. package/fesm2020/odx-angular-components-select.mjs +358 -0
  810. package/fesm2020/odx-angular-components-select.mjs.map +1 -0
  811. package/fesm2020/odx-angular-components-slider.mjs +48 -0
  812. package/fesm2020/odx-angular-components-slider.mjs.map +1 -0
  813. package/fesm2020/odx-angular-components-spinbox.mjs +97 -0
  814. package/fesm2020/odx-angular-components-spinbox.mjs.map +1 -0
  815. package/fesm2020/odx-angular-components-switch.mjs +69 -0
  816. package/fesm2020/odx-angular-components-switch.mjs.map +1 -0
  817. package/fesm2020/odx-angular-components-tab-bar.mjs +195 -0
  818. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -0
  819. package/fesm2020/odx-angular-components-toast.mjs +220 -0
  820. package/fesm2020/odx-angular-components-toast.mjs.map +1 -0
  821. package/fesm2020/odx-angular-components-toggle-button-group.mjs +87 -0
  822. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -0
  823. package/fesm2020/odx-angular-components-tooltip.mjs +192 -0
  824. package/fesm2020/odx-angular-components-tooltip.mjs.map +1 -0
  825. package/fesm2020/odx-angular-internal.mjs +38 -102
  826. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  827. package/fesm2020/odx-angular-rxjs.mjs +23 -2
  828. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  829. package/fesm2020/odx-angular-utils.mjs +322 -1
  830. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  831. package/fesm2020/odx-angular.mjs +292 -224
  832. package/fesm2020/odx-angular.mjs.map +1 -1
  833. package/index.d.ts +1 -1
  834. package/internal/helpers/camel-to-kebab-case.d.ts +2 -0
  835. package/internal/helpers/index.d.ts +1 -3
  836. package/internal/index.d.ts +0 -3
  837. package/{internal/abstract → lib/controllers}/controller.d.ts +3 -3
  838. package/lib/controllers/disabled.controller.d.ts +8 -11
  839. package/lib/controllers/index.d.ts +2 -0
  840. package/lib/controllers/readonly.controller.d.ts +20 -0
  841. package/lib/core.module.d.ts +5 -4
  842. package/lib/directives/click-outside.directive.d.ts +18 -0
  843. package/lib/directives/index.d.ts +4 -2
  844. package/lib/directives/let.directive.d.ts +17 -0
  845. package/lib/directives/with-disabled-state.directive.d.ts +13 -0
  846. package/lib/directives/with-tabindex.directive.d.ts +7 -0
  847. package/lib/services/index.d.ts +0 -1
  848. package/lib/services/window-ref.d.ts +2 -0
  849. package/lib/tokens/identity-matcher.d.ts +3 -0
  850. package/lib/tokens/index.d.ts +3 -0
  851. package/lib/tokens/string-search-handler.d.ts +3 -0
  852. package/lib/tokens/stringify.d.ts +3 -0
  853. package/package.json +265 -13
  854. package/rxjs/index.d.ts +3 -0
  855. package/rxjs/lib/delay-until.d.ts +2 -0
  856. package/rxjs/lib/form-query-list.d.ts +3 -0
  857. package/rxjs/lib/from-element-resize.d.ts +2 -0
  858. package/utils/index.d.ts +1 -0
  859. package/utils/lib/decorators/index.d.ts +1 -0
  860. package/utils/lib/decorators/pure.d.ts +1 -0
  861. package/utils/lib/helpers/angular.d.ts +6 -0
  862. package/utils/lib/helpers/defer-fn.d.ts +1 -0
  863. package/utils/lib/helpers/dom.d.ts +10 -0
  864. package/utils/lib/helpers/event-manager.d.ts +12 -0
  865. package/utils/lib/helpers/get-axis.d.ts +2 -0
  866. package/utils/lib/helpers/get-opposite-side.d.ts +2 -0
  867. package/utils/lib/helpers/get-side.d.ts +2 -0
  868. package/utils/lib/helpers/get-unique-id.d.ts +1 -0
  869. package/utils/lib/helpers/index.d.ts +12 -0
  870. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  871. package/utils/lib/helpers/provide-module-config.d.ts +12 -0
  872. package/utils/lib/helpers/queue.d.ts +22 -0
  873. package/{internal → utils/lib}/helpers/type-guards.d.ts +2 -1
  874. package/utils/lib/helpers/until-destroyed.d.ts +2 -0
  875. package/utils/lib/types/axis.d.ts +5 -0
  876. package/{internal → utils/lib}/types/get-properties.d.ts +1 -1
  877. package/utils/lib/types/index.d.ts +4 -0
  878. package/utils/lib/types/position.d.ts +15 -0
  879. package/utils/lib/types/side.d.ts +7 -0
  880. package/cdk/dynamic-view/lib/facade/animated-component.d.ts +0 -4
  881. package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +0 -3
  882. package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +0 -3
  883. package/components/badge/lib/badge.config.d.ts +0 -3
  884. package/components/badge/lib/facade/badge-host.d.ts +0 -3
  885. package/components/badge/lib/facade/index.d.ts +0 -1
  886. package/components/badge/lib/models/badge-position.d.ts +0 -5
  887. package/esm2020/animations/config.mjs +0 -8
  888. package/esm2020/animations/fade.mjs +0 -12
  889. package/esm2020/animations/slide.mjs +0 -34
  890. package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +0 -2
  891. package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +0 -5
  892. package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +0 -9
  893. package/esm2020/components/badge/lib/badge.config.mjs +0 -3
  894. package/esm2020/components/badge/lib/facade/badge-host.mjs +0 -2
  895. package/esm2020/components/badge/lib/facade/index.mjs +0 -2
  896. package/esm2020/components/badge/lib/models/badge-position.mjs +0 -5
  897. package/esm2020/internal/abstract/controller.mjs +0 -29
  898. package/esm2020/internal/abstract/index.mjs +0 -2
  899. package/esm2020/internal/helpers/dom.mjs +0 -7
  900. package/esm2020/internal/helpers/type-guards.mjs +0 -27
  901. package/esm2020/internal/helpers/watch.mjs +0 -8
  902. package/esm2020/internal/providers/index.mjs +0 -2
  903. package/esm2020/internal/providers/watched-controller-provider.mjs +0 -9
  904. package/esm2020/internal/types/get-properties.mjs +0 -2
  905. package/esm2020/internal/types/index.mjs +0 -2
  906. package/esm2020/lib/controls/custom-form-control.mjs +0 -133
  907. package/esm2020/lib/controls/index.mjs +0 -2
  908. package/esm2020/lib/directives/control.directive.mjs +0 -18
  909. package/esm2020/lib/directives/monitor-focus.directive.mjs +0 -34
  910. package/esm2020/lib/services/destroy.service.mjs +0 -18
  911. package/internal/abstract/index.d.ts +0 -1
  912. package/internal/helpers/dom.d.ts +0 -2
  913. package/internal/helpers/watch.d.ts +0 -4
  914. package/internal/providers/index.d.ts +0 -1
  915. package/internal/providers/watched-controller-provider.d.ts +0 -5
  916. package/internal/types/index.d.ts +0 -1
  917. package/lib/controls/custom-form-control.d.ts +0 -40
  918. package/lib/controls/index.d.ts +0 -1
  919. package/lib/directives/monitor-focus.directive.d.ts +0 -12
  920. package/lib/services/destroy.service.d.ts +0 -9
@@ -1,17 +1,11 @@
1
- import { __awaiter, __decorate, __metadata } from 'tslib';
1
+ import { __decorate, __metadata } from 'tslib';
2
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
3
  import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, ElementRef, NgZone, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Directive } from '@angular/core';
4
- import { autoUpdate, computePosition, offset, hide } from '@floating-ui/dom';
5
- import { applyStyles, px, CSSModifier, CSSComponent } from '@odx/angular/internal';
6
- import { hasChanged, Transform } from '@odx/angular/utils';
7
- import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
8
-
9
- const BADGE_HOST = new InjectionToken('@odx/angular/components/badge::BadgeHost');
10
-
11
- const BadgePosition = {
12
- TOP: 'top',
13
- BOTTOM: 'bottom',
14
- };
4
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, inject, Directive } from '@angular/core';
5
+ import { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';
6
+ import { CSSModifier, CSSComponent } from '@odx/angular/internal';
7
+ import { injectElement, Transform, getInjector, Position, isPresent } from '@odx/angular/utils';
8
+ import { ConnectedOverlayService } from '@odx/angular/cdk/connected-overlay';
15
9
 
16
10
  const BadgeVariant = {
17
11
  HIGHLIGHT: 'highlight',
@@ -19,69 +13,16 @@ const BadgeVariant = {
19
13
  CONFIRMATION: 'confirmation',
20
14
  };
21
15
 
22
- const POSITION_STRATEGY = 'fixed';
23
16
  let BadgeComponent = class BadgeComponent {
24
- constructor(element, zone) {
25
- this.element = element;
26
- this.zone = zone;
27
- this.hostElement = inject(BADGE_HOST).hostElement;
28
- this.referenceElement = this.element.nativeElement;
29
- this.elementRect = null;
30
- this.value = 0;
31
- this.position = BadgePosition.BOTTOM;
17
+ constructor() {
18
+ this.element = injectElement();
32
19
  this.contrast = false;
33
20
  }
34
- ngOnChanges(changes) {
35
- if (hasChanged(changes, 'value')) {
36
- this.startPositionUpdater();
37
- }
38
- if (hasChanged(changes, 'position')) {
39
- this.updateBadgePosition();
40
- }
41
- }
42
- ngAfterViewInit() {
43
- this.referenceElement.style.position = POSITION_STRATEGY;
44
- this.startPositionUpdater();
45
- }
46
- ngOnDestroy() {
47
- this.stopPositionUpdater();
48
- }
49
- startPositionUpdater() {
50
- var _a;
51
- this.referenceElement.dataset['value'] = this.value.toString();
52
- if (this.value === 0) {
53
- return this.stopPositionUpdater();
54
- }
55
- this.elementRect = this.referenceElement.getBoundingClientRect();
56
- (_a = this.positionUpdater) !== null && _a !== void 0 ? _a : (this.positionUpdater = this.zone.runOutsideAngular(() => autoUpdate(this.hostElement, this.referenceElement, () => this.updateBadgePosition(), { animationFrame: true })));
57
- }
58
- stopPositionUpdater() {
59
- var _a;
60
- (_a = this.positionUpdater) === null || _a === void 0 ? void 0 : _a.call(this);
61
- this.positionUpdater = undefined;
62
- }
63
- updateBadgePosition() {
64
- var _a, _b, _c, _d, _e;
65
- return __awaiter(this, void 0, void 0, function* () {
66
- const badgeOffset = ((_b = (_a = this.elementRect) === null || _a === void 0 ? void 0 : _a.height) !== null && _b !== void 0 ? _b : 0) / 2;
67
- const badgeWidth = (_d = (_c = this.elementRect) === null || _c === void 0 ? void 0 : _c.width) !== null && _d !== void 0 ? _d : 0;
68
- const { x, y, middlewareData } = yield computePosition(this.hostElement, this.referenceElement, {
69
- middleware: [offset({ alignmentAxis: -badgeOffset, mainAxis: badgeOffset - badgeWidth }), hide()],
70
- placement: this.position === BadgePosition.TOP ? 'right-start' : 'right-end',
71
- strategy: POSITION_STRATEGY,
72
- });
73
- if (!((_e = middlewareData.hide) === null || _e === void 0 ? void 0 : _e.referenceHidden)) {
74
- applyStyles(this.referenceElement, { transform: `translate(${px(x)}, ${px(y)})`, display: null });
75
- }
76
- else if (this.referenceElement.style.display !== 'none') {
77
- applyStyles(this.referenceElement, { display: 'none' });
78
- }
79
- });
80
- }
81
21
  };
82
- BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
83
- BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: BadgeComponent, isStandalone: true, selector: "odx-badge", inputs: { value: "value", position: "position", contrast: "contrast", variant: "variant" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
22
+ BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BadgeComponent, isStandalone: true, selector: "odx-badge", inputs: { contrast: "contrast", variant: "variant", value: "value" }, ngImport: i0, template: '<ng-template [odxDynamicView]="value"></ng-template>', isInline: true, dependencies: [{ kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
84
24
  __decorate([
25
+ Transform(coerceBooleanProperty),
85
26
  CSSModifier(),
86
27
  __metadata("design:type", Object)
87
28
  ], BadgeComponent.prototype, "contrast", void 0);
@@ -90,65 +31,87 @@ __decorate([
90
31
  __metadata("design:type", String)
91
32
  ], BadgeComponent.prototype, "variant", void 0);
92
33
  BadgeComponent = __decorate([
93
- CSSComponent('badge'),
94
- __metadata("design:paramtypes", [ElementRef, NgZone])
34
+ CSSComponent('badge')
95
35
  ], BadgeComponent);
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BadgeComponent, decorators: [{
97
37
  type: Component,
98
38
  args: [{
39
+ standalone: true,
99
40
  selector: 'odx-badge',
100
- template: '',
41
+ imports: [DynamicViewDirective],
42
+ template: '<ng-template [odxDynamicView]="value"></ng-template>',
101
43
  changeDetection: ChangeDetectionStrategy.OnPush,
102
44
  encapsulation: ViewEncapsulation.None,
103
- standalone: true,
104
45
  }]
105
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { value: [{
106
- type: Input
107
- }], position: [{
108
- type: Input
109
- }], contrast: [{
46
+ }], propDecorators: { contrast: [{
110
47
  type: Input
111
48
  }], variant: [{
112
49
  type: Input
50
+ }], value: [{
51
+ type: Input
113
52
  }] } });
114
53
 
115
- class BadgeDirective {
116
- constructor(injector, viewContainer) {
117
- this.injector = injector;
118
- this.viewContainer = viewContainer;
54
+ const DEFAULT_BADGE_OVERLAY_OPTIONS = {
55
+ content: BadgeComponent,
56
+ enableFallback: false,
57
+ offset: 0,
58
+ containerClass: 'odx-badge-overlay',
59
+ };
60
+ let BadgeDirective = class BadgeDirective {
61
+ constructor() {
62
+ this.connectedOverlayService = inject(ConnectedOverlayService);
63
+ this.injector = getInjector();
119
64
  this.badgeRef = null;
120
- this.hostElement = inject((ElementRef)).nativeElement;
65
+ this.element = injectElement();
66
+ this.value = null;
67
+ this.contrast = false;
68
+ this.position = Position.BOTTOM_END;
121
69
  }
122
- ngOnChanges(changes) {
123
- var _a;
124
- (_a = this.badgeRef) !== null && _a !== void 0 ? _a : (this.badgeRef = this.viewContainer.createComponent(BadgeComponent, { injector: this.injector }));
125
- for (const prop in changes) {
126
- this.badgeRef.setInput(prop, changes[prop].currentValue);
70
+ ngOnChanges() {
71
+ if (isPresent(this.value)) {
72
+ this.showBadge();
127
73
  }
74
+ else {
75
+ this.hideBadge();
76
+ }
77
+ this.updateBadge();
128
78
  }
129
79
  ngOnDestroy() {
80
+ this.hideBadge();
81
+ }
82
+ showBadge() {
130
83
  var _a;
131
- (_a = this.badgeRef) === null || _a === void 0 ? void 0 : _a.destroy();
84
+ (_a = this.badgeRef) !== null && _a !== void 0 ? _a : (this.badgeRef = this.connectedOverlayService.createOverlay(this.element.nativeElement, DEFAULT_BADGE_OVERLAY_OPTIONS, { injector: this.injector }));
132
85
  }
133
- }
134
- BadgeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeDirective, deps: [{ token: i0.Injector }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
135
- BadgeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: BadgeDirective, isStandalone: true, selector: "[odxBadge]", inputs: { value: ["odxBadge", "value"], contrast: ["odxBadgeContrast", "contrast"], position: ["odxBadgePosition", "position"], variant: ["odxBadgeVariant", "variant"] }, providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }], usesOnChanges: true, ngImport: i0 });
136
- __decorate([
137
- Transform(coerceNumberProperty),
138
- __metadata("design:type", Number)
139
- ], BadgeDirective.prototype, "value", void 0);
86
+ hideBadge() {
87
+ var _a;
88
+ (_a = this.badgeRef) === null || _a === void 0 ? void 0 : _a.close();
89
+ this.badgeRef = null;
90
+ }
91
+ updateBadge() {
92
+ var _a;
93
+ (_a = this.badgeRef) === null || _a === void 0 ? void 0 : _a.update({
94
+ context: { contrast: this.contrast, value: this.value, variant: this.variant },
95
+ position: this.position,
96
+ });
97
+ }
98
+ };
99
+ BadgeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BadgeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
+ BadgeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: BadgeDirective, isStandalone: true, selector: "[odxBadge]", inputs: { value: ["odxBadge", "value"], contrast: ["odxBadgeContrast", "contrast"], position: ["odxBadgePosition", "position"], variant: ["odxBadgeVariant", "variant"] }, usesOnChanges: true, ngImport: i0 });
140
101
  __decorate([
141
102
  Transform(coerceBooleanProperty),
142
- __metadata("design:type", Boolean)
103
+ __metadata("design:type", Object)
143
104
  ], BadgeDirective.prototype, "contrast", void 0);
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeDirective, decorators: [{
105
+ BadgeDirective = __decorate([
106
+ CSSComponent('badge-host')
107
+ ], BadgeDirective);
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BadgeDirective, decorators: [{
145
109
  type: Directive,
146
110
  args: [{
147
111
  selector: '[odxBadge]',
148
112
  standalone: true,
149
- providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }],
150
113
  }]
151
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ViewContainerRef }]; }, propDecorators: { value: [{
114
+ }], propDecorators: { value: [{
152
115
  type: Input,
153
116
  args: ['odxBadge']
154
117
  }], contrast: [{
@@ -166,5 +129,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
166
129
  * Generated bundle index. Do not edit.
167
130
  */
168
131
 
169
- export { BadgeComponent, BadgeDirective, BadgePosition, BadgeVariant };
132
+ export { BadgeComponent, BadgeDirective, BadgeVariant };
170
133
  //# sourceMappingURL=odx-angular-components-badge.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-badge.mjs","sources":["../../../../libs/angular/components/badge/src/lib/badge.config.ts","../../../../libs/angular/components/badge/src/lib/models/badge-position.ts","../../../../libs/angular/components/badge/src/lib/models/badge-variant.ts","../../../../libs/angular/components/badge/src/lib/badge.component.ts","../../../../libs/angular/components/badge/src/lib/badge.directive.ts","../../../../libs/angular/components/badge/src/odx-angular-components-badge.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { BadgeHost } from './facade';\n\nexport const BADGE_HOST = new InjectionToken<BadgeHost>('@odx/angular/components/badge::BadgeHost');\n","export type BadgePosition = typeof BadgePosition[keyof typeof BadgePosition];\n\nexport const BadgePosition = {\n TOP: 'top',\n BOTTOM: 'bottom',\n} as const;\n","export type BadgeVariant = typeof BadgeVariant[keyof typeof BadgeVariant];\n\nexport const BadgeVariant = {\n HIGHLIGHT: 'highlight',\n DANGER: 'danger',\n CONFIRMATION: 'confirmation',\n} as const;\n","import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, inject, Input, NgZone, OnChanges, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { autoUpdate, computePosition, hide, offset, Strategy } from '@floating-ui/dom';\nimport { applyStyles, CSSComponent, CSSModifier, px } from '@odx/angular/internal';\nimport { hasChanged, NgChanges } from '@odx/angular/utils';\nimport { BADGE_HOST } from './badge.config';\nimport { BadgePosition, BadgeVariant } from './models';\n\nconst POSITION_STRATEGY: Strategy = 'fixed';\n\n@CSSComponent('badge')\n@Component({\n selector: 'odx-badge',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {\n private readonly hostElement = inject(BADGE_HOST).hostElement;\n private readonly referenceElement = this.element.nativeElement;\n private positionUpdater?: () => void;\n private elementRect: DOMRect | null = null;\n\n @Input()\n public value = 0;\n\n @Input()\n public position: BadgePosition = BadgePosition.BOTTOM;\n\n @CSSModifier()\n @Input()\n public contrast = false;\n\n @CSSModifier({ default: BadgeVariant.HIGHLIGHT })\n @Input()\n public variant!: BadgeVariant;\n\n constructor(public readonly element: ElementRef<HTMLElement>, private readonly zone: NgZone) {}\n\n public ngOnChanges(changes: NgChanges<BadgeComponent>): void {\n if (hasChanged(changes, 'value')) {\n this.startPositionUpdater();\n }\n if (hasChanged(changes, 'position')) {\n this.updateBadgePosition();\n }\n }\n\n public ngAfterViewInit(): void {\n this.referenceElement.style.position = POSITION_STRATEGY;\n this.startPositionUpdater();\n }\n\n public ngOnDestroy(): void {\n this.stopPositionUpdater();\n }\n\n private startPositionUpdater(): void {\n this.referenceElement.dataset['value'] = this.value.toString();\n if (this.value === 0) {\n return this.stopPositionUpdater();\n }\n this.elementRect = this.referenceElement.getBoundingClientRect();\n this.positionUpdater ??= this.zone.runOutsideAngular(() =>\n autoUpdate(this.hostElement, this.referenceElement, () => this.updateBadgePosition(), { animationFrame: true })\n );\n }\n\n private stopPositionUpdater(): void {\n this.positionUpdater?.();\n this.positionUpdater = undefined;\n }\n\n private async updateBadgePosition(): Promise<void> {\n const badgeOffset = (this.elementRect?.height ?? 0) / 2;\n const badgeWidth = this.elementRect?.width ?? 0;\n const { x, y, middlewareData } = await computePosition(this.hostElement, this.referenceElement, {\n middleware: [offset({ alignmentAxis: -badgeOffset, mainAxis: badgeOffset - badgeWidth }), hide()],\n placement: this.position === BadgePosition.TOP ? 'right-start' : 'right-end',\n strategy: POSITION_STRATEGY,\n });\n if (!middlewareData.hide?.referenceHidden) {\n applyStyles(this.referenceElement, { transform: `translate(${px(x)}, ${px(y)})`, display: null });\n } else if (this.referenceElement.style.display !== 'none') {\n applyStyles(this.referenceElement, { display: 'none' });\n }\n }\n}\n","import { BooleanInput, coerceBooleanProperty, coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { ComponentRef, Directive, ElementRef, inject, Injector, Input, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';\nimport { Transform } from '@odx/angular/utils';\nimport { BadgeComponent } from './badge.component';\nimport { BADGE_HOST } from './badge.config';\nimport { BadgeHost } from './facade';\nimport { BadgePosition, BadgeVariant } from './models';\n\n@Directive({\n selector: '[odxBadge]',\n standalone: true,\n providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }],\n})\nexport class BadgeDirective implements BadgeHost, OnChanges, OnDestroy {\n public static ngAcceptInputType_content: NumberInput;\n public static ngAcceptInputType_contrast: BooleanInput;\n\n private badgeRef: ComponentRef<BadgeComponent> | null = null;\n\n public readonly hostElement = inject(ElementRef<HTMLElement>).nativeElement;\n\n @Transform(coerceNumberProperty)\n @Input('odxBadge')\n public value!: number;\n\n @Transform(coerceBooleanProperty)\n @Input('odxBadgeContrast')\n public contrast!: boolean;\n\n @Input('odxBadgePosition')\n public position!: BadgePosition;\n\n @Input('odxBadgeVariant')\n public variant!: BadgeVariant;\n\n constructor(private readonly injector: Injector, private readonly viewContainer: ViewContainerRef) {}\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.badgeRef ??= this.viewContainer.createComponent(BadgeComponent, { injector: this.injector });\n\n for (const prop in changes) {\n this.badgeRef.setInput(prop, changes[prop].currentValue);\n }\n }\n\n public ngOnDest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iB,CAAA;;;AChC1B;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-badge.mjs","sources":["../../../../libs/angular/components/badge/src/lib/models/badge-variant.ts","../../../../libs/angular/components/badge/src/lib/badge.component.ts","../../../../libs/angular/components/badge/src/lib/badge.directive.ts","../../../../libs/angular/components/badge/src/odx-angular-components-badge.ts"],"sourcesContent":["export type BadgeVariant = typeof BadgeVariant[keyof typeof BadgeVariant];\n\nexport const BadgeVariant = {\n HIGHLIGHT: 'highlight',\n DANGER: 'danger',\n CONFIRMATION: 'confirmation',\n} as const;\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { DynamicTextContent, DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\nimport { BadgeVariant } from './models';\n\n@CSSComponent('badge')\n@Component({\n standalone: true,\n selector: 'odx-badge',\n imports: [DynamicViewDirective],\n template: '<ng-template [odxDynamicView]=\"value\"></ng-template>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class BadgeComponent {\n public static readonly ngAcceptInputType_contrast: BooleanInput;\n\n public readonly element = injectElement();\n\n @Transform(coerceBooleanProperty)\n @CSSModifier()\n @Input()\n public contrast = false;\n\n @CSSModifier({ default: BadgeVariant.HIGHLIGHT })\n @Input()\n public variant!: BadgeVariant;\n\n @Input()\n public value?: DynamicTextContent | null;\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directive, inject, Input, OnChanges, OnDestroy } from '@angular/core';\nimport { ConnectedOverlayOptions, ConnectedOverlayRef, ConnectedOverlayService } from '@odx/angular/cdk/connected-overlay';\nimport { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { getInjector, injectElement, isPresent, Position, Transform } from '@odx/angular/utils';\nimport { BadgeComponent } from './badge.component';\nimport { BadgeVariant } from './models';\n\nconst DEFAULT_BADGE_OVERLAY_OPTIONS: Partial<ConnectedOverlayOptions> = {\n content: BadgeComponent,\n enableFallback: false,\n offset: 0,\n containerClass: 'odx-badge-overlay',\n};\n\n@CSSComponent('badge-host')\n@Directive({\n selector: '[odxBadge]',\n standalone: true,\n})\nexport class BadgeDirective implements BadgeComponent, OnChanges, OnDestroy {\n public static ngAcceptInputType_contrast: BooleanInput;\n\n private readonly connectedOverlayService = inject(ConnectedOverlayService);\n private readonly injector = getInjector();\n private badgeRef: ConnectedOverlayRef | null = null;\n\n public readonly element = injectElement();\n\n @Input('odxBadge')\n public value?: DynamicTextContent | null = null;\n\n @Transform(coerceBooleanProperty)\n @Input('odxBadgeContrast')\n public contrast = false;\n\n @Input('odxBadgePosition')\n public position: Position = Position.BOTTOM_END;\n\n @Input('odxBadgeVariant')\n public variant!: BadgeVariant;\n\n public ngOnChanges(): void {\n if (isPresent(this.value)) {\n this.showBadge();\n } else {\n this.hideBadge();\n }\n this.updateBadge();\n }\n\n public ngOnDestroy(): void {\n this.hideBadge();\n }\n\n private showBadge(): void {\n this.badgeRef ??= this.connectedOverlayService.createOverlay(this.element.nativeElement, DEFAULT_BADGE_OVERLAY_OPTIONS, { injector: this.injector });\n }\n\n private hideBadge(): void {\n this.badgeRef?.close();\n this.badgeRef = null;\n }\n\n private updateBadge(): void {\n this.badgeRef?.update({\n context: { contrast: this.contrast, value: this.value, variant: this.variant },\n position: this.position,\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEa,MAAA,YAAY,GAAG;AAC1B,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,YAAY,EAAE,cAAc;;;ACWjB,IAAA,cAAc,GAApB,MAAM,cAAc,CAAA;AAApB,IAAA,WAAA,GAAA;A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A,CAAA,kBAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,iBAAA,EAAA,SAAA,CAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAYzB,UAAA,CAAA;IAAC,SAAS,CAAC,qBAAqB,CAAC;;CAET,EAAA,cAAA,CAAA,SAAA,EAAA,UAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAdb,cAAc,GAAA,UAAA,CAAA;IAL1B,YAAY,CAAC,YAAY,CAAC;CAKd,EAAA,cAAc,CAkD1B,CAAA;2FAlDY,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,UAAU,EAAE,IAAI;iBACjB,CAAA;8BAWQ,KAAK,EAAA,CAAA;sBADX,KAAK;uBAAC,UAAU,CAAA;gBAKV,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,kBAAkB,CAAA;gBAIlB,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,kBAAkB,CAAA;gBAIlB,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,iBAAiB,CAAA;;;ACxC1B;;AAEG;;;;"}
@@ -0,0 +1,96 @@
1
+ import { __decorate, __metadata } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Input, NgModule } from '@angular/core';
4
+ import { CSSComponent, CSSModifier } from '@odx/angular/internal';
5
+ import { injectElement } from '@odx/angular/utils';
6
+ import { DisabledController, CoreModule } from '@odx/angular';
7
+
8
+ let BarComponent = class BarComponent {
9
+ constructor() {
10
+ this.element = injectElement();
11
+ }
12
+ };
13
+ BarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ BarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BarComponent, isStandalone: true, selector: "odx-bar", ngImport: i0, template: "<ng-content select=\"button[odxBarButton], [odxBarLabel]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
15
+ BarComponent = __decorate([
16
+ CSSComponent('bar')
17
+ ], BarComponent);
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, selector: 'odx-bar', template: "<ng-content select=\"button[odxBarButton], [odxBarLabel]\"></ng-content>\n" }]
21
+ }] });
22
+
23
+ const BarButtonVariant = {
24
+ DEFAULT: 'default',
25
+ SMALL: 'small',
26
+ };
27
+
28
+ let BarButtonDirective = class BarButtonDirective {
29
+ constructor() {
30
+ this.disabledController = DisabledController.inject();
31
+ this.element = injectElement();
32
+ }
33
+ };
34
+ BarButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
+ BarButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: BarButtonDirective, isStandalone: true, selector: "button[odxBarButton]", inputs: { variant: "variant" }, host: { properties: { "class.is-disabled": "disabledController?.disabled" } }, providers: [DisabledController.connect()], ngImport: i0 });
36
+ __decorate([
37
+ CSSModifier({
38
+ default: BarButtonVariant.DEFAULT,
39
+ }),
40
+ __metadata("design:type", Object)
41
+ ], BarButtonDirective.prototype, "variant", void 0);
42
+ BarButtonDirective = __decorate([
43
+ CSSComponent('bar-button')
44
+ ], BarButtonDirective);
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarButtonDirective, decorators: [{
46
+ type: Directive,
47
+ args: [{
48
+ selector: 'button[odxBarButton]',
49
+ standalone: true,
50
+ providers: [DisabledController.connect()],
51
+ host: {
52
+ '[class.is-disabled]': 'disabledController?.disabled',
53
+ },
54
+ }]
55
+ }], propDecorators: { variant: [{
56
+ type: Input
57
+ }] } });
58
+
59
+ let BarLabelDirective = class BarLabelDirective {
60
+ constructor() {
61
+ this.element = injectElement();
62
+ }
63
+ };
64
+ BarLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
+ BarLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.5", type: BarLabelDirective, isStandalone: true, selector: "[odxBarLabel]", ngImport: i0 });
66
+ BarLabelDirective = __decorate([
67
+ CSSComponent('bar-label')
68
+ ], BarLabelDirective);
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarLabelDirective, decorators: [{
70
+ type: Directive,
71
+ args: [{
72
+ selector: '[odxBarLabel]',
73
+ standalone: true,
74
+ }]
75
+ }] });
76
+
77
+ const modules = [BarComponent, BarButtonDirective, BarLabelDirective];
78
+ class BarModule {
79
+ }
80
+ BarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
81
+ BarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.5", ngImport: i0, type: BarModule, imports: [BarComponent, BarButtonDirective, BarLabelDirective], exports: [CoreModule, BarComponent, BarButtonDirective, BarLabelDirective] });
82
+ BarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarModule, imports: [BarComponent, CoreModule] });
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BarModule, decorators: [{
84
+ type: NgModule,
85
+ args: [{
86
+ imports: modules,
87
+ exports: [CoreModule, ...modules],
88
+ }]
89
+ }] });
90
+
91
+ /**
92
+ * Generated bundle index. Do not edit.
93
+ */
94
+
95
+ export { BarButtonDirective, BarButtonVariant, BarComponent, BarLabelDirective, BarModule };
96
+ //# sourceMappingURL=odx-angular-components-bar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-bar.mjs","sources":["../../../../libs/angular/components/bar/src/lib/bar.component.ts","../../../../libs/angular/components/bar/src/lib/bar.component.html","../../../../libs/angular/components/bar/src/lib/models/bar-button-variant.ts","../../../../libs/angular/components/bar/src/lib/directives/bar-button.directive.ts","../../../../libs/angular/components/bar/src/lib/directives/bar-label.directive.ts","../../../../libs/angular/components/bar/src/lib/bar.module.ts","../../../../libs/angular/components/bar/src/odx-angular-components-bar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('bar')\n@Component({\n standalone: true,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: 'bar.component.html',\n selector: 'odx-bar',\n})\nexport class BarComponent {\n public readonly element = injectElement();\n}\n","<ng-content select=\"button[odxBarButton], [odxBarLabel]\"></ng-content>\n","export type BarButtonVariant = typeof BarButtonVariant[keyof typeof BarButtonVariant];\n\nexport const BarButtonVariant = {\n DEFAULT: 'default',\n SMALL: 'small',\n} as const;\n","import { Directive, Input } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { BarButtonVariant } from '../models/bar-button-variant';\n\n@CSSComponent('bar-button')\n@Directive({\n selector: 'button[odxBarButton]',\n standalone: true,\n providers: [DisabledController.connect()],\n host: {\n '[class.is-disabled]': 'disabledController?.disabled',\n },\n})\nexport class BarButtonDirective {\n protected readonly disabledController = DisabledController.inject();\n public readonly element = injectElement();\n\n @CSSModifier({\n default: BarButtonVariant.DEFAULT,\n })\n @Input()\n public variant?: BarButtonVariant | null;\n}\n","import { Directive } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('bar-label')\n@Directive({\n selector: '[odxBarLabel]',\n standalone: true,\n})\nexport class BarLabelDirective {\n public readonly element = injectElement();\n}\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { BarComponent } from './bar.component';\nimport { BarButtonDirective } from './directives/bar-button.directive';\nimport { BarLabelDirective } from './directives/bar-label.directive';\n\nconst modules = [BarComponent, BarButtonDirective, BarLabelDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class BarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAYa,IAAA,YAAY,GAAlB,MAAM,YAAY,CAAA;AAAlB,IAAA,WAAA,GAAA;AACW,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;KAC3C;;yGAFY,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAZ,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAY,mECZzB,4EACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;ADWa,YAAY,GAAA,UAAA,CAAA;IARxB,YAAY,CAAC,KAAK,CAAC;CAQP,EAAA,Y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,OAAA,EAAA,CAAA,UAAU,EAJL,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;uGAMvD,SAAS,EAAA,OAAA,EAAA,CANL,YAAY,EAIjB,UAAU,CAAA,EAAA,CAAA,CAAA;2FAET,SAAS,EAAA,UAAA,EAAA,CAAA;kBAJrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;ACXD;;AAEG;;;;"}
@@ -0,0 +1,56 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, Renderer2, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChildren } from '@angular/core';
4
+ import { DynamicViewService } from '@odx/angular/cdk/dynamic-view';
5
+ import { IconComponent } from '@odx/angular/components/icon';
6
+ import { LinkDirective } from '@odx/angular/components/link';
7
+ import { CSSComponent } from '@odx/angular/internal';
8
+ import { fromQueryList } from '@odx/angular/rxjs';
9
+ import { untilDestroyed, injectElement } from '@odx/angular/utils';
10
+
11
+ let BreadcrumbsComponent = class BreadcrumbsComponent {
12
+ constructor() {
13
+ this.renderer = inject(Renderer2);
14
+ this.destroyed = untilDestroyed();
15
+ this.dynamicViewService = inject(DynamicViewService);
16
+ this.icons = new Set();
17
+ this.element = injectElement();
18
+ }
19
+ ngAfterViewInit() {
20
+ fromQueryList(this.linkItems)
21
+ .pipe(this.destroyed())
22
+ .subscribe(() => this.addIcons());
23
+ }
24
+ addIcons() {
25
+ this.removeIcons();
26
+ this.linkItems.forEach((linkItem, index) => !!index && this.addIcon(linkItem.element.nativeElement));
27
+ }
28
+ addIcon(linkElement) {
29
+ const icon = this.dynamicViewService.createView(IconComponent, { context: { name: 'chevron-right' } });
30
+ this.renderer.insertBefore(this.element.nativeElement, icon.getElement(), linkElement);
31
+ this.icons.add(icon);
32
+ }
33
+ removeIcons() {
34
+ this.icons.forEach((icon) => icon.destroy());
35
+ this.icons.clear();
36
+ }
37
+ };
38
+ BreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: BreadcrumbsComponent, isStandalone: true, selector: "odx-breadcrumbs", queries: [{ propertyName: "linkItems", predicate: LinkDirective }], ngImport: i0, template: "<ng-content select=\"[odxLink]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
40
+ BreadcrumbsComponent = __decorate([
41
+ CSSComponent('breadcrumbs')
42
+ ], BreadcrumbsComponent);
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
44
+ type: Component,
45
+ args: [{ selector: 'odx-breadcrumbs', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"[odxLink]\"></ng-content>\n" }]
46
+ }], propDecorators: { linkItems: [{
47
+ type: ContentChildren,
48
+ args: [LinkDirective]
49
+ }] } });
50
+
51
+ /**
52
+ * Generated bundle index. Do not edit.
53
+ */
54
+
55
+ export { BreadcrumbsComponent };
56
+ //# sourceMappingURL=odx-angular-components-breadcrumbs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-breadcrumbs.mjs","sources":["../../../../libs/angular/components/breadcrumbs/src/lib/breadcrumbs.component.ts","../../../../libs/angular/components/breadcrumbs/src/lib/breadcrumbs.component.html","../../../../libs/angular/components/breadcrumbs/src/odx-angular-components-breadcrumbs.ts"],"sourcesContent":["import { AfterViewInit, ChangeDetectionStrategy, Component, ContentChildren, inject, QueryList, Renderer2, ViewEncapsulation } from '@angular/core';\nimport { DynamicViewRef, DynamicViewService } from '@odx/angular/cdk/dynamic-view';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { fromQueryList } from '@odx/angular/rxjs';\nimport { injectElement, untilDestroyed } from '@odx/angular/utils';\n\n@CSSComponent('breadcrumbs')\n@Component({\n selector: 'odx-breadcrumbs',\n standalone: true,\n templateUrl: './breadcrumbs.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BreadcrumbsComponent implements AfterViewInit {\n private readonly renderer = inject(Renderer2);\n private readonly destroyed = untilDestroyed();\n private readonly dynamicViewService = inject(DynamicViewService);\n private readonly icons = new Set<DynamicViewRef<typeof IconComponent>>();\n\n @ContentChildren(LinkDirective)\n protected readonly linkItems!: QueryList<LinkDirective>;\n\n public readonly element = injectElement();\n\n public ngAfterViewInit(): void {\n fromQueryList(this.linkItems)\n .pipe(this.destroyed())\n .subscribe(() => this.addIcons());\n }\n\n private addIcons(): void {\n this.removeIcons();\n this.linkItems.forEach((linkItem, index) => !!index && this.addIcon(linkItem.element.nativeElement));\n }\n\n private addIcon(linkElement: HTMLElement): void {\n const icon = this.dynamicViewService.createView(IconComponent, { context: { name: 'chevron-right' } });\n this.renderer.insertBefore(this.element.nativeElement, icon.getElement(), linkElement);\n this.icons.add(icon);\n }\n\n private removeIcons(): void {\n this.icons.forEach((icon) => icon.destroy());\n this.icons.clear();\n }\n}\n","<ng-content select=\"[odxLink]\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAgBa,IAAA,oBAAoB,GAA1B,MAAM,oBAAoB,CAAA;AAA1B,IAAA,WAAA,GAAA;AACY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC7B,QAAA,IAAS,CAAA,SAAA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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,WAAA,EAAA,SAAA,EAMd,aAAa,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECtBhC,kDACA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;ADea,oBAAoB,GAAA,UAAA,CAAA;IARhC,YAAY,CAAC,aAAa,CAAC;CAQf,EAAA,oBAAoB,CAgChC,CAAA;2FAhCY,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAPhC,SAAS;+BACE,iBAAiB,EAAA,UAAA,EACf,IAAI,EAED,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kDAAA,EAAA,CAAA;8BAS5B,SAAS,EAAA,CAAA;sBAD3B,eAAe;uBAAC,aAAa,CAAA;;;AEtBhC;;AAEG;;;;"}
@@ -0,0 +1,60 @@
1
+ import { __decorate, __metadata } from 'tslib';
2
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
5
+ import { CSSModifier, CSSComponent } from '@odx/angular/internal';
6
+ import { injectElement, Transform } from '@odx/angular/utils';
7
+
8
+ let ButtonGroupComponent = class ButtonGroupComponent {
9
+ constructor() {
10
+ this.element = injectElement();
11
+ this.alignRight = false;
12
+ this.block = false;
13
+ this.vertical = false;
14
+ this.reverse = false;
15
+ }
16
+ };
17
+ ButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ButtonGroupComponent, isStandalone: true, selector: "odx-button-group", inputs: { alignRight: "alignRight", block: "block", vertical: "vertical", reverse: "reverse" }, ngImport: i0, template: "<ng-content select=\"button[odxButton], a[odxButton]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19
+ __decorate([
20
+ CSSModifier(),
21
+ Transform(coerceBooleanProperty),
22
+ __metadata("design:type", Object)
23
+ ], ButtonGroupComponent.prototype, "alignRight", void 0);
24
+ __decorate([
25
+ CSSModifier(),
26
+ Transform(coerceBooleanProperty),
27
+ __metadata("design:type", Object)
28
+ ], ButtonGroupComponent.prototype, "block", void 0);
29
+ __decorate([
30
+ CSSModifier(),
31
+ Transform(coerceBooleanProperty),
32
+ __metadata("design:type", Object)
33
+ ], ButtonGroupComponent.prototype, "vertical", void 0);
34
+ __decorate([
35
+ CSSModifier(),
36
+ Transform(coerceBooleanProperty),
37
+ __metadata("design:type", Object)
38
+ ], ButtonGroupComponent.prototype, "reverse", void 0);
39
+ ButtonGroupComponent = __decorate([
40
+ CSSComponent('button-group')
41
+ ], ButtonGroupComponent);
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ButtonGroupComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ standalone: true, selector: 'odx-button-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[odxButton], a[odxButton]\"></ng-content>\n" }]
45
+ }], propDecorators: { alignRight: [{
46
+ type: Input
47
+ }], block: [{
48
+ type: Input
49
+ }], vertical: [{
50
+ type: Input
51
+ }], reverse: [{
52
+ type: Input
53
+ }] } });
54
+
55
+ /**
56
+ * Generated bundle index. Do not edit.
57
+ */
58
+
59
+ export { ButtonGroupComponent };
60
+ //# sourceMappingURL=odx-angular-components-button-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odx-angular-components-button-group.mjs","sources":["../../../../libs/angular/components/button-group/src/lib/button-group.component.ts","../../../../libs/angular/components/button-group/src/lib/button-group.component.html","../../../../libs/angular/components/button-group/src/odx-angular-components-button-group.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement, Transform } from '@odx/angular/utils';\n\n@CSSComponent('button-group')\n@Component({\n standalone: true,\n selector: 'odx-button-group',\n templateUrl: './button-group.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonGroupComponent {\n public static ngAcceptInputType_reverse: BooleanInput;\n public static ngAcceptInputType_block: BooleanInput;\n public static ngAcceptInputType_alignRight: BooleanInput;\n public static ngAcceptInputType_vertical: BooleanInput;\n\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public alignRight = false;\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public block = false;\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public vertical = false;\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public reverse = false;\n}\n","<ng-content select=\"button[odxButton], a[odxButton]\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAaa,IAAA,oBAAoB,GAA1B,MAAM,oBAAoB,CAAA;AAA1B,IAAA,WAAA,GAAA;AAMW,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAE,CAAC;AAKnC,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;AAKnB,QAAA,IAAK,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