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

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 (450) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +44 -0
  3. package/animations/index.d.ts +3 -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/cdk/checkbox-control/README.md +3 -0
  9. package/cdk/checkbox-control/index.d.ts +1 -0
  10. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +16 -0
  11. package/cdk/custom-form-control/README.md +3 -0
  12. package/cdk/custom-form-control/index.d.ts +2 -0
  13. package/{lib/directives → cdk/custom-form-control/lib}/control.directive.d.ts +1 -3
  14. package/{lib/controls → cdk/custom-form-control/lib}/custom-form-control.d.ts +7 -8
  15. package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
  16. package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +1 -1
  17. package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +1 -1
  18. package/cdk/dynamic-view/lib/facade/index.d.ts +0 -1
  19. package/cdk/dynamic-view/lib/helpers/index.d.ts +0 -2
  20. package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +5 -3
  21. package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +1 -1
  22. package/cdk/expandable/README.md +3 -0
  23. package/cdk/expandable/index.d.ts +3 -0
  24. package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +18 -0
  25. package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +13 -0
  26. package/cdk/expandable/lib/directives/index.d.ts +2 -0
  27. package/cdk/expandable/lib/expandable.module.d.ts +8 -0
  28. package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -0
  29. package/cdk/expandable/lib/facade/expandable-item.d.ts +7 -0
  30. package/cdk/expandable/lib/facade/index.d.ts +2 -0
  31. package/cdk/radio-group-control/README.md +3 -0
  32. package/cdk/radio-group-control/index.d.ts +3 -0
  33. package/cdk/radio-group-control/lib/radio-control.directive.d.ts +13 -0
  34. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +10 -0
  35. package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +9 -0
  36. package/components/accordion/README.md +3 -0
  37. package/components/accordion/index.d.ts +4 -0
  38. package/components/accordion/lib/accordion.component.d.ts +7 -0
  39. package/components/accordion/lib/accordion.module.d.ts +10 -0
  40. package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +16 -0
  41. package/components/accordion/lib/components/index.d.ts +1 -0
  42. package/components/accordion/lib/directives/accordion-item-title.d.ts +5 -0
  43. package/components/accordion/lib/directives/index.d.ts +1 -0
  44. package/components/action-group/action-group.component.d.ts +1 -3
  45. package/components/area-header/area-header.component.d.ts +1 -3
  46. package/components/area-header/area-header.module.d.ts +2 -1
  47. package/components/avatar/lib/avatar.component.d.ts +1 -3
  48. package/components/badge/lib/badge.component.d.ts +3 -5
  49. package/components/badge/lib/badge.directive.d.ts +4 -5
  50. package/components/button/lib/button.component.d.ts +8 -16
  51. package/components/button/lib/models/button-size.d.ts +5 -0
  52. package/components/button/lib/models/index.d.ts +1 -0
  53. package/components/button-group/README.md +3 -0
  54. package/components/button-group/index.d.ts +1 -0
  55. package/components/button-group/lib/button-group.component.d.ts +15 -0
  56. package/components/checkbox/lib/checkbox.component.d.ts +5 -12
  57. package/components/form-field/README.md +3 -0
  58. package/components/form-field/index.d.ts +6 -0
  59. package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +9 -0
  60. package/components/form-field/lib/components/form-group/form-group.component.d.ts +14 -0
  61. package/components/form-field/lib/components/index.d.ts +2 -0
  62. package/components/form-field/lib/directives/form-field-control.directive.d.ts +22 -0
  63. package/components/form-field/lib/directives/form-field-error.directive.d.ts +10 -0
  64. package/components/form-field/lib/directives/form-field-hint.directive.d.ts +8 -0
  65. package/components/form-field/lib/directives/form-field-label.directive.d.ts +6 -0
  66. package/components/form-field/lib/directives/form.directive.d.ts +9 -0
  67. package/components/form-field/lib/directives/index.d.ts +5 -0
  68. package/components/form-field/lib/form-field.component.d.ts +18 -0
  69. package/components/form-field/lib/form-field.config.d.ts +19 -0
  70. package/components/form-field/lib/form-field.module.d.ts +18 -0
  71. package/components/form-field/lib/form-field.service.d.ts +30 -0
  72. package/components/form-field/lib/models/form-field-error-resolver.d.ts +27 -0
  73. package/components/form-field/lib/models/form-field-error.d.ts +7 -0
  74. package/components/form-field/lib/models/index.d.ts +2 -0
  75. package/components/form-field/lib/services/form-field-error.service.d.ts +18 -0
  76. package/components/form-field/lib/services/index.d.ts +1 -0
  77. package/components/header/lib/header.component.d.ts +1 -3
  78. package/components/header/lib/header.module.d.ts +2 -1
  79. package/components/icon/lib/icon.component.d.ts +9 -5
  80. package/components/link/link.directive.d.ts +4 -6
  81. package/components/logo/logo.directive.d.ts +1 -3
  82. package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -4
  83. package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +3 -4
  84. package/components/main-menu/lib/main-menu.component.d.ts +2 -4
  85. package/components/main-menu/lib/main-menu.module.d.ts +6 -6
  86. package/components/modal/README.md +3 -0
  87. package/components/modal/index.d.ts +9 -0
  88. package/components/modal/lib/components/index.d.ts +2 -0
  89. package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +6 -0
  90. package/components/modal/lib/components/modal-header/modal-header.component.d.ts +11 -0
  91. package/components/modal/lib/directives/index.d.ts +3 -0
  92. package/components/modal/lib/directives/modal-close.directive.d.ts +8 -0
  93. package/components/modal/lib/directives/modal-content.directive.d.ts +6 -0
  94. package/components/modal/lib/directives/modal-dismiss.directive.d.ts +7 -0
  95. package/components/modal/lib/helpers/index.d.ts +2 -0
  96. package/components/modal/lib/helpers/inject-modal-ref.d.ts +2 -0
  97. package/components/modal/lib/helpers/provide-modal-ref.d.ts +3 -0
  98. package/components/modal/lib/modal.component.d.ts +16 -0
  99. package/components/modal/lib/modal.config.d.ts +3 -0
  100. package/components/modal/lib/modal.directive.d.ts +14 -0
  101. package/components/modal/lib/modal.module.d.ts +21 -0
  102. package/components/modal/lib/modal.service.d.ts +20 -0
  103. package/components/modal/lib/models/index.d.ts +4 -0
  104. package/components/modal/lib/models/modal-options.d.ts +13 -0
  105. package/components/modal/lib/models/modal-ref.d.ts +16 -0
  106. package/components/modal/lib/models/modal-size.d.ts +6 -0
  107. package/components/modal/lib/models/modal-type.d.ts +8 -0
  108. package/components/modal/lib/services/index.d.ts +1 -0
  109. package/components/modal/lib/services/open-modal-manager.service.d.ts +15 -0
  110. package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +4 -11
  111. package/components/radio-group/lib/radio-group.component.d.ts +3 -5
  112. package/components/radio-group/lib/radio-group.module.d.ts +4 -4
  113. package/components/switch/README.md +3 -0
  114. package/components/switch/index.d.ts +1 -0
  115. package/components/switch/lib/switch.component.d.ts +6 -0
  116. package/components/toggle-button-group/README.md +3 -0
  117. package/components/toggle-button-group/index.d.ts +3 -0
  118. package/components/toggle-button-group/lib/components/index.d.ts +1 -0
  119. package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +7 -0
  120. package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +7 -0
  121. package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +9 -0
  122. package/esm2020/animations/index.mjs +4 -3
  123. package/esm2020/animations/lib/config.mjs +8 -0
  124. package/esm2020/animations/lib/expand.mjs +12 -0
  125. package/esm2020/animations/lib/fade.mjs +12 -0
  126. package/esm2020/animations/lib/slide.mjs +34 -0
  127. package/esm2020/cdk/checkbox-control/index.mjs +2 -0
  128. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +43 -0
  129. package/esm2020/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +5 -0
  130. package/esm2020/cdk/custom-form-control/index.mjs +3 -0
  131. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +19 -0
  132. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +121 -0
  133. package/esm2020/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +5 -0
  134. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  135. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +11 -10
  136. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +5 -5
  137. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +1 -1
  138. package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
  139. package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +1 -2
  140. package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +1 -3
  141. package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +2 -2
  142. package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +18 -8
  143. package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +6 -2
  144. package/esm2020/cdk/expandable/index.mjs +4 -0
  145. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +48 -0
  146. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +43 -0
  147. package/esm2020/cdk/expandable/lib/directives/index.mjs +3 -0
  148. package/esm2020/cdk/expandable/lib/expandable.module.mjs +17 -0
  149. package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +3 -0
  150. package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +3 -0
  151. package/esm2020/cdk/expandable/lib/facade/index.mjs +3 -0
  152. package/esm2020/cdk/expandable/odx-angular-cdk-expandable.mjs +5 -0
  153. package/esm2020/cdk/radio-group-control/index.mjs +4 -0
  154. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
  155. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +43 -0
  156. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
  157. package/esm2020/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +5 -0
  158. package/esm2020/components/accordion/index.mjs +5 -0
  159. package/esm2020/components/accordion/lib/accordion.component.mjs +24 -0
  160. package/esm2020/components/accordion/lib/accordion.module.mjs +20 -0
  161. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +54 -0
  162. package/esm2020/components/accordion/lib/components/index.mjs +2 -0
  163. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
  164. package/esm2020/components/accordion/lib/directives/index.mjs +2 -0
  165. package/esm2020/components/accordion/odx-angular-components-accordion.mjs +5 -0
  166. package/esm2020/components/action-group/action-group.component.mjs +15 -18
  167. package/esm2020/components/area-header/area-header.component.mjs +10 -10
  168. package/esm2020/components/area-header/area-header.module.mjs +9 -8
  169. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -5
  170. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -5
  171. package/esm2020/components/avatar/lib/avatar.component.mjs +10 -10
  172. package/esm2020/components/badge/lib/badge.component.mjs +20 -22
  173. package/esm2020/components/badge/lib/badge.directive.mjs +11 -11
  174. package/esm2020/components/button/lib/button.component.mjs +26 -33
  175. package/esm2020/components/button/lib/models/button-size.mjs +5 -0
  176. package/esm2020/components/button/lib/models/index.mjs +2 -1
  177. package/esm2020/components/button-group/index.mjs +2 -0
  178. package/esm2020/components/button-group/lib/button-group.component.mjs +54 -0
  179. package/esm2020/components/button-group/odx-angular-components-button-group.mjs +5 -0
  180. package/esm2020/components/checkbox/lib/checkbox.component.mjs +16 -33
  181. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  182. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  183. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -5
  184. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -5
  185. package/esm2020/components/form-field/index.mjs +7 -0
  186. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
  187. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +36 -0
  188. package/esm2020/components/form-field/lib/components/index.mjs +3 -0
  189. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +68 -0
  190. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
  191. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
  192. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +24 -0
  193. package/esm2020/components/form-field/lib/directives/form.directive.mjs +28 -0
  194. package/esm2020/components/form-field/lib/directives/index.mjs +6 -0
  195. package/esm2020/components/form-field/lib/form-field.component.mjs +47 -0
  196. package/esm2020/components/form-field/lib/form-field.config.mjs +7 -0
  197. package/esm2020/components/form-field/lib/form-field.module.mjs +49 -0
  198. package/esm2020/components/form-field/lib/form-field.service.mjs +53 -0
  199. package/esm2020/components/form-field/lib/models/form-field-error-resolver.mjs +2 -0
  200. package/esm2020/components/form-field/lib/models/form-field-error.mjs +2 -0
  201. package/esm2020/components/form-field/lib/models/index.mjs +3 -0
  202. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +56 -0
  203. package/esm2020/components/form-field/lib/services/index.mjs +2 -0
  204. package/esm2020/components/form-field/odx-angular-components-form-field.mjs +5 -0
  205. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  206. package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -5
  207. package/esm2020/components/header/lib/header.component.mjs +11 -11
  208. package/esm2020/components/header/lib/header.module.mjs +9 -9
  209. package/esm2020/components/icon/lib/icon.component.mjs +36 -12
  210. package/esm2020/components/link/link.directive.mjs +14 -18
  211. package/esm2020/components/logo/logo.directive.mjs +10 -11
  212. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +12 -13
  213. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +14 -14
  214. package/esm2020/components/main-menu/lib/main-menu.component.mjs +21 -22
  215. package/esm2020/components/main-menu/lib/main-menu.module.mjs +7 -7
  216. package/esm2020/components/main-menu/lib/main-menu.service.mjs +5 -5
  217. package/esm2020/components/modal/index.mjs +10 -0
  218. package/esm2020/components/modal/lib/components/index.mjs +3 -0
  219. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +21 -0
  220. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +38 -0
  221. package/esm2020/components/modal/lib/directives/index.mjs +4 -0
  222. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +29 -0
  223. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +24 -0
  224. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
  225. package/esm2020/components/modal/lib/helpers/index.mjs +3 -0
  226. package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +6 -0
  227. package/esm2020/components/modal/lib/helpers/provide-modal-ref.mjs +5 -0
  228. package/esm2020/components/modal/lib/modal.component.mjs +63 -0
  229. package/esm2020/components/modal/lib/modal.config.mjs +8 -0
  230. package/esm2020/components/modal/lib/modal.directive.mjs +33 -0
  231. package/esm2020/components/modal/lib/modal.module.mjs +32 -0
  232. package/esm2020/components/modal/lib/modal.service.mjs +70 -0
  233. package/esm2020/components/modal/lib/models/index.mjs +5 -0
  234. package/esm2020/components/modal/lib/models/modal-options.mjs +2 -0
  235. package/esm2020/components/modal/lib/models/modal-ref.mjs +33 -0
  236. package/esm2020/components/modal/lib/models/modal-size.mjs +6 -0
  237. package/esm2020/components/modal/lib/models/modal-type.mjs +2 -0
  238. package/esm2020/components/modal/lib/services/index.mjs +2 -0
  239. package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +42 -0
  240. package/esm2020/components/modal/odx-angular-components-modal.mjs +5 -0
  241. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +19 -38
  242. package/esm2020/components/radio-group/lib/radio-group.component.mjs +33 -16
  243. package/esm2020/components/radio-group/lib/radio-group.module.mjs +7 -7
  244. package/esm2020/components/switch/index.mjs +2 -0
  245. package/esm2020/components/switch/lib/switch.component.mjs +22 -0
  246. package/esm2020/components/switch/odx-angular-components-switch.mjs +5 -0
  247. package/esm2020/components/toggle-button-group/index.mjs +4 -0
  248. package/esm2020/components/toggle-button-group/lib/components/index.mjs +2 -0
  249. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +30 -0
  250. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +33 -0
  251. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
  252. package/esm2020/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +5 -0
  253. package/esm2020/index.mjs +1 -2
  254. package/esm2020/internal/decorators/css-modifier.mjs +6 -5
  255. package/esm2020/internal/helpers/camel-to-kebab-case.mjs +12 -0
  256. package/esm2020/internal/helpers/index.mjs +2 -4
  257. package/esm2020/internal/index.mjs +1 -4
  258. package/esm2020/lib/controllers/controller.mjs +37 -0
  259. package/esm2020/lib/controllers/disabled.controller.mjs +25 -19
  260. package/esm2020/lib/controllers/index.mjs +3 -1
  261. package/esm2020/lib/controllers/readonly.controller.mjs +68 -0
  262. package/esm2020/lib/core.module.mjs +11 -10
  263. package/esm2020/lib/directives/click-outside.directive.mjs +58 -0
  264. package/esm2020/lib/directives/index.mjs +2 -3
  265. package/esm2020/lib/services/index.mjs +1 -2
  266. package/esm2020/lib/services/window-ref.mjs +6 -6
  267. package/esm2020/rxjs/index.mjs +2 -1
  268. package/esm2020/rxjs/lib/mark-for-check.mjs +5 -0
  269. package/esm2020/utils/index.mjs +2 -1
  270. package/esm2020/utils/lib/helpers/angular.mjs +30 -0
  271. package/esm2020/utils/lib/helpers/dom.mjs +22 -0
  272. package/esm2020/utils/lib/helpers/index.mjs +6 -1
  273. package/esm2020/utils/lib/helpers/ng-changes.mjs +1 -1
  274. package/esm2020/utils/lib/helpers/provide-module-config.mjs +21 -0
  275. package/esm2020/utils/lib/helpers/type-guards.mjs +29 -0
  276. package/esm2020/utils/lib/helpers/until-destroyed.mjs +13 -0
  277. package/esm2020/utils/lib/types/get-properties.mjs +2 -0
  278. package/esm2020/utils/lib/types/index.mjs +2 -0
  279. package/fesm2015/odx-angular-animations.mjs +11 -1
  280. package/fesm2015/odx-angular-animations.mjs.map +1 -1
  281. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +50 -0
  282. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  283. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +150 -0
  284. package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  285. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +48 -55
  286. package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  287. package/fesm2015/odx-angular-cdk-expandable.mjs +114 -0
  288. package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -0
  289. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +99 -0
  290. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  291. package/fesm2015/odx-angular-components-accordion.mjs +104 -0
  292. package/fesm2015/odx-angular-components-accordion.mjs.map +1 -0
  293. package/fesm2015/odx-angular-components-action-group.mjs +14 -17
  294. package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
  295. package/fesm2015/odx-angular-components-area-header.mjs +23 -24
  296. package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
  297. package/fesm2015/odx-angular-components-avatar.mjs +9 -9
  298. package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
  299. package/fesm2015/odx-angular-components-badge.mjs +27 -29
  300. package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
  301. package/fesm2015/odx-angular-components-button-group.mjs +60 -0
  302. package/fesm2015/odx-angular-components-button-group.mjs.map +1 -0
  303. package/fesm2015/odx-angular-components-button.mjs +30 -36
  304. package/fesm2015/odx-angular-components-button.mjs.map +1 -1
  305. package/fesm2015/odx-angular-components-checkbox.mjs +15 -31
  306. package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
  307. package/fesm2015/odx-angular-components-content-box.mjs +13 -15
  308. package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
  309. package/fesm2015/odx-angular-components-form-field.mjs +381 -0
  310. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -0
  311. package/fesm2015/odx-angular-components-header.mjs +24 -25
  312. package/fesm2015/odx-angular-components-header.mjs.map +1 -1
  313. package/fesm2015/odx-angular-components-icon.mjs +35 -11
  314. package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
  315. package/fesm2015/odx-angular-components-link.mjs +13 -17
  316. package/fesm2015/odx-angular-components-link.mjs.map +1 -1
  317. package/fesm2015/odx-angular-components-logo.mjs +9 -10
  318. package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
  319. package/fesm2015/odx-angular-components-main-menu.mjs +48 -50
  320. package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
  321. package/fesm2015/odx-angular-components-modal.mjs +380 -0
  322. package/fesm2015/odx-angular-components-modal.mjs.map +1 -0
  323. package/fesm2015/odx-angular-components-radio-group.mjs +64 -67
  324. package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
  325. package/fesm2015/odx-angular-components-switch.mjs +28 -0
  326. package/fesm2015/odx-angular-components-switch.mjs.map +1 -0
  327. package/fesm2015/odx-angular-components-toggle-button-group.mjs +75 -0
  328. package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -0
  329. package/fesm2015/odx-angular-internal.mjs +39 -104
  330. package/fesm2015/odx-angular-internal.mjs.map +1 -1
  331. package/fesm2015/odx-angular-rxjs.mjs +6 -2
  332. package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
  333. package/fesm2015/odx-angular-utils.mjs +110 -1
  334. package/fesm2015/odx-angular-utils.mjs.map +1 -1
  335. package/fesm2015/odx-angular.mjs +179 -212
  336. package/fesm2015/odx-angular.mjs.map +1 -1
  337. package/fesm2020/odx-angular-animations.mjs +11 -1
  338. package/fesm2020/odx-angular-animations.mjs.map +1 -1
  339. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +50 -0
  340. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -0
  341. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +144 -0
  342. package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -0
  343. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +41 -37
  344. package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
  345. package/fesm2020/odx-angular-cdk-expandable.mjs +113 -0
  346. package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -0
  347. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +99 -0
  348. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -0
  349. package/fesm2020/odx-angular-components-accordion.mjs +103 -0
  350. package/fesm2020/odx-angular-components-accordion.mjs.map +1 -0
  351. package/fesm2020/odx-angular-components-action-group.mjs +14 -17
  352. package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
  353. package/fesm2020/odx-angular-components-area-header.mjs +23 -24
  354. package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
  355. package/fesm2020/odx-angular-components-avatar.mjs +9 -9
  356. package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
  357. package/fesm2020/odx-angular-components-badge.mjs +27 -29
  358. package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
  359. package/fesm2020/odx-angular-components-button-group.mjs +60 -0
  360. package/fesm2020/odx-angular-components-button-group.mjs.map +1 -0
  361. package/fesm2020/odx-angular-components-button.mjs +30 -32
  362. package/fesm2020/odx-angular-components-button.mjs.map +1 -1
  363. package/fesm2020/odx-angular-components-checkbox.mjs +15 -31
  364. package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
  365. package/fesm2020/odx-angular-components-content-box.mjs +13 -15
  366. package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
  367. package/fesm2020/odx-angular-components-form-field.mjs +378 -0
  368. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -0
  369. package/fesm2020/odx-angular-components-header.mjs +24 -25
  370. package/fesm2020/odx-angular-components-header.mjs.map +1 -1
  371. package/fesm2020/odx-angular-components-icon.mjs +35 -11
  372. package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
  373. package/fesm2020/odx-angular-components-link.mjs +13 -17
  374. package/fesm2020/odx-angular-components-link.mjs.map +1 -1
  375. package/fesm2020/odx-angular-components-logo.mjs +9 -10
  376. package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
  377. package/fesm2020/odx-angular-components-main-menu.mjs +48 -50
  378. package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
  379. package/fesm2020/odx-angular-components-modal.mjs +376 -0
  380. package/fesm2020/odx-angular-components-modal.mjs.map +1 -0
  381. package/fesm2020/odx-angular-components-radio-group.mjs +64 -66
  382. package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
  383. package/fesm2020/odx-angular-components-switch.mjs +28 -0
  384. package/fesm2020/odx-angular-components-switch.mjs.map +1 -0
  385. package/fesm2020/odx-angular-components-toggle-button-group.mjs +75 -0
  386. package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -0
  387. package/fesm2020/odx-angular-internal.mjs +38 -102
  388. package/fesm2020/odx-angular-internal.mjs.map +1 -1
  389. package/fesm2020/odx-angular-rxjs.mjs +6 -2
  390. package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
  391. package/fesm2020/odx-angular-utils.mjs +109 -1
  392. package/fesm2020/odx-angular-utils.mjs.map +1 -1
  393. package/fesm2020/odx-angular.mjs +175 -206
  394. package/fesm2020/odx-angular.mjs.map +1 -1
  395. package/index.d.ts +0 -1
  396. package/internal/helpers/camel-to-kebab-case.d.ts +2 -0
  397. package/internal/helpers/index.d.ts +1 -3
  398. package/internal/index.d.ts +0 -3
  399. package/{internal/abstract → lib/controllers}/controller.d.ts +3 -2
  400. package/lib/controllers/disabled.controller.d.ts +5 -3
  401. package/lib/controllers/index.d.ts +2 -0
  402. package/lib/controllers/readonly.controller.d.ts +18 -0
  403. package/lib/core.module.d.ts +3 -3
  404. package/lib/directives/click-outside.directive.d.ts +18 -0
  405. package/lib/directives/index.d.ts +1 -2
  406. package/lib/services/index.d.ts +0 -1
  407. package/package.json +94 -10
  408. package/rxjs/index.d.ts +1 -0
  409. package/rxjs/lib/mark-for-check.d.ts +3 -0
  410. package/utils/index.d.ts +1 -0
  411. package/utils/lib/helpers/angular.d.ts +5 -0
  412. package/utils/lib/helpers/dom.d.ts +5 -0
  413. package/utils/lib/helpers/index.d.ts +5 -0
  414. package/utils/lib/helpers/ng-changes.d.ts +1 -1
  415. package/utils/lib/helpers/provide-module-config.d.ts +12 -0
  416. package/{internal → utils/lib}/helpers/type-guards.d.ts +2 -1
  417. package/utils/lib/helpers/until-destroyed.d.ts +2 -0
  418. package/{internal → utils/lib}/types/get-properties.d.ts +1 -1
  419. package/{internal → utils/lib}/types/index.d.ts +0 -0
  420. package/cdk/dynamic-view/lib/facade/animated-component.d.ts +0 -4
  421. package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +0 -3
  422. package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +0 -3
  423. package/esm2020/animations/config.mjs +0 -8
  424. package/esm2020/animations/fade.mjs +0 -12
  425. package/esm2020/animations/slide.mjs +0 -34
  426. package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +0 -2
  427. package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +0 -5
  428. package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +0 -9
  429. package/esm2020/internal/abstract/controller.mjs +0 -29
  430. package/esm2020/internal/abstract/index.mjs +0 -2
  431. package/esm2020/internal/helpers/dom.mjs +0 -7
  432. package/esm2020/internal/helpers/type-guards.mjs +0 -27
  433. package/esm2020/internal/helpers/watch.mjs +0 -8
  434. package/esm2020/internal/providers/index.mjs +0 -2
  435. package/esm2020/internal/providers/watched-controller-provider.mjs +0 -9
  436. package/esm2020/internal/types/get-properties.mjs +0 -2
  437. package/esm2020/internal/types/index.mjs +0 -2
  438. package/esm2020/lib/controls/custom-form-control.mjs +0 -133
  439. package/esm2020/lib/controls/index.mjs +0 -2
  440. package/esm2020/lib/directives/control.directive.mjs +0 -18
  441. package/esm2020/lib/directives/monitor-focus.directive.mjs +0 -34
  442. package/esm2020/lib/services/destroy.service.mjs +0 -18
  443. package/internal/abstract/index.d.ts +0 -1
  444. package/internal/helpers/dom.d.ts +0 -2
  445. package/internal/helpers/watch.d.ts +0 -4
  446. package/internal/providers/index.d.ts +0 -1
  447. package/internal/providers/watched-controller-provider.d.ts +0 -5
  448. package/lib/controls/index.d.ts +0 -1
  449. package/lib/directives/monitor-focus.directive.d.ts +0 -12
  450. package/lib/services/destroy.service.d.ts +0 -9
package/LICENSE ADDED
@@ -0,0 +1 @@
1
+ Copyright (c) 2022 Drägerwerk AG & Co.KGaA, all rights reserved.
package/README.md CHANGED
@@ -0,0 +1,44 @@
1
+ # @odx/angular
2
+
3
+ [<img src="https://img.shields.io/npm/v/@odx/angular">](https://npmjs.org/package/@odx/angular)
4
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/animations">](https://npmjs.org/package/@angular/animations)
5
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/cdk">](https://npmjs.org/package/@angular/cdk)
6
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/core">](https://npmjs.org/package/@angular/core)
7
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/common">](https://npmjs.org/package/@angular/common)
8
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/common">](https://npmjs.org/package/@angular/forms)
9
+ [<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@odx/ui">](https://npmjs.org/package/@angular/forms)
10
+
11
+ ### Install 🚀
12
+
13
+ ```sh
14
+ npm install @odx/angular
15
+ ```
16
+
17
+ ### Usage
18
+
19
+ Import the modules/components/utils your applications needs from `@odx/angular/**`;
20
+
21
+ Entry points:
22
+
23
+ - `@odx/angular` - Common services and building blocks for angular applicationd development
24
+ - `@odx/angular/animations` - Predefined static angular animations to use inside your components
25
+ - `@odx/angular/cdk/*` - Component development kit
26
+ - `@odx/angular/components/*` - Components
27
+ - `@odx/angular/rxjs` - Collection of useful rxjs operators
28
+ - `@odx/angular/utils` - Collection of useful utilities for angular application development
29
+
30
+ #### UiKitModule
31
+
32
+ It's recommended to create a `UiKitModule` and re-export the `CoreModule` and all the components that are needed throughout the the application.
33
+
34
+ ```ts
35
+ @NgModule({
36
+ exports: [CoreModule, ButtonComponent, IconComponent, ...]
37
+ })
38
+ export class UiKitModule {
39
+ }
40
+ ```
41
+
42
+ ### Live demo ⭐
43
+
44
+ Please refer to our [**Storybook**](https://app-odx-storybook-release-weu.azurewebsites.net/), to see the components in action and to get further information.
@@ -1,2 +1,3 @@
1
- export * from './fade';
2
- export * from './slide';
1
+ export * from './lib/expand';
2
+ export * from './lib/fade';
3
+ export * from './lib/slide';
File without changes
@@ -0,0 +1,2 @@
1
+ export declare const expand: import("@angular/animations").AnimationReferenceMetadata;
2
+ export declare const collapse: import("@angular/animations").AnimationReferenceMetadata;
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/discrete-control
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/discrete-control`.
@@ -0,0 +1 @@
1
+ export * from './lib/checkbox-control.directive';
@@ -0,0 +1,16 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CheckBoxControl extends CustomFormControl<boolean> {
5
+ static ngAcceptInputType_checked: BooleanInput;
6
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
7
+ set checked(value: boolean);
8
+ get checked(): boolean;
9
+ value: string | null;
10
+ get ariaChecked(): string;
11
+ constructor();
12
+ onChanged(event: Event): void;
13
+ protected updateRequiredValidator(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxControl, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxControl, "[odxCheckBoxControl]", never, { "checked": "checked"; "value": "value"; }, {}, never, never, false>;
16
+ }
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/custom-form-control
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/custom-form-control`.
@@ -0,0 +1,2 @@
1
+ export * from './lib/control.directive';
2
+ export * from './lib/custom-form-control';
@@ -1,8 +1,6 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class ControlDirective {
4
- readonly element: ElementRef<HTMLElement>;
5
- constructor(element: ElementRef<HTMLElement>);
3
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
6
4
  static ɵfac: i0.ɵɵFactoryDeclaration<ControlDirective, never>;
7
5
  static ɵdir: i0.ɵɵDirectiveDeclaration<ControlDirective, "[odxControl]", ["odxControl"], {}, {}, never, never, true>;
8
6
  }
@@ -1,28 +1,27 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { AfterContentInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { AfterContentInit } from '@angular/core';
3
3
  import { ControlValueAccessor, NgControl, ValidatorFn } from '@angular/forms';
4
- import { Controller } from '@odx/angular/internal';
5
- import { ControlDirective } from '../directives';
4
+ import { Controller, DisabledController, ReadonlyController } from '@odx/angular';
5
+ import { ControlDirective } from './control.directive';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare abstract class CustomFormControl<T> extends Controller implements ControlValueAccessor, AfterContentInit {
8
8
  private static CURRENT_INDEX;
9
9
  static ngAcceptInputType_required: BooleanInput;
10
10
  private internalValue;
11
11
  private isRequired;
12
- protected readonly changeDetector: ChangeDetectorRef;
13
- protected readonly disabledController: import("../controllers").DisabledController | null;
12
+ protected readonly disabledController: DisabledController | null;
13
+ protected readonly readonlyController: ReadonlyController | null;
14
14
  protected readonly enabled$: import("rxjs").Observable<void>;
15
15
  protected readonly ngControl: NgControl | null;
16
16
  id: string | null;
17
17
  name: string;
18
- readonly: boolean;
19
18
  set required(value: unknown);
20
19
  get required(): boolean;
21
- readonly change: EventEmitter<T>;
22
20
  set controlValue(value: T);
23
21
  get controlValue(): T;
24
22
  get hasError(): boolean;
25
23
  get isDisabled(): boolean;
24
+ get isReadonly(): boolean;
26
25
  readonly control: ControlDirective | null;
27
26
  constructor(initialValue: T);
28
27
  ngAfterContentInit(): void;
@@ -36,5 +35,5 @@ export declare abstract class CustomFormControl<T> extends Controller implements
36
35
  protected toggleValidator(validator: ValidatorFn, state: boolean): void;
37
36
  protected updateRequiredValidator(): void;
38
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomFormControl<any>, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<CustomFormControl<any>, never, never, { "id": "id"; "name": "name"; "readonly": "readonly"; "required": "required"; }, { "change": "change"; }, never, never, false>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CustomFormControl<any>, never, never, { "id": "id"; "name": "name"; "required": "required"; }, {}, never, never, false>;
40
39
  }
@@ -11,7 +11,7 @@ export declare class DynamicViewDirective<T extends DynamicContent<unknown> = Dy
11
11
  context?: GetDynamicViewContext<T>;
12
12
  ngOnInit(): void;
13
13
  ngOnChanges(changes: NgChanges<DynamicViewDirective<DynamicContent>>): void;
14
- ngOnDestroy(): Promise<void>;
14
+ ngOnDestroy(): void;
15
15
  getView(): DynamicViewRef<T> | null;
16
16
  private render;
17
17
  private destroy;
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef, Type } from '@angular/core';
2
- import { GetProperties } from '@odx/angular/internal';
2
+ import { GetProperties } from '@odx/angular/utils';
3
3
  import { Observable } from 'rxjs';
4
4
  export declare type DynamicTextContent = string | Observable<string>;
5
5
  export declare type DynamicContent<C = unknown> = DynamicTextContent | TemplateRef<C> | Type<C>;
@@ -2,7 +2,7 @@ import { ViewRef } from '@angular/core';
2
2
  import { DynamicContent, GetDynamicViewContext } from './dynamic-content';
3
3
  export interface DynamicViewRef<T extends DynamicContent> {
4
4
  detectChanges(): void;
5
- destroy(): Promise<void>;
5
+ destroy(): void;
6
6
  getElement(): Element;
7
7
  update(context: GetDynamicViewContext<T>): void;
8
8
  getView(): ViewRef | null;
@@ -1,3 +1,2 @@
1
- export * from './animated-component';
2
1
  export * from './dynamic-content';
3
2
  export * from './dynamic-view-ref';
@@ -1,4 +1,2 @@
1
- export * from './is-animated-component';
2
1
  export * from './is-dynamic-text-content';
3
2
  export * from './is-dynamic-view';
4
- export * from './wait-for-animations';
@@ -6,11 +6,13 @@ export interface DynamicComponentOptions<T extends Type<unknown>> extends Dynami
6
6
  component: T;
7
7
  }
8
8
  export declare class DynamicComponentRef<T extends Type<unknown>, C extends GetDynamicViewContext<T>> implements DynamicViewRef<T> {
9
+ private readonly options;
10
+ private readonly application;
9
11
  private componentRef;
10
- constructor({ component, context, injector, vcr }: DynamicComponentOptions<T>);
12
+ constructor(options: DynamicComponentOptions<T>);
11
13
  detectChanges(): void;
12
- destroy(): Promise<void>;
13
- getElement<T extends Element>(): T;
14
+ destroy(): void;
15
+ getElement(): Element;
14
16
  update(context: C): void;
15
17
  getView(): ViewRef | null;
16
18
  }
@@ -10,7 +10,7 @@ export declare class DynamicTemplateRef<T extends NgTemplateRef<unknown> = NgTem
10
10
  private embeddedViewRef;
11
11
  constructor(options: DynamicTemplateOptions<T>);
12
12
  detectChanges(): void;
13
- destroy(): Promise<void>;
13
+ destroy(): void;
14
14
  getElement(): Element;
15
15
  update(context: GetDynamicViewContext<T>): void;
16
16
  getView(): ViewRef | null;
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/expandable
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/expandable`.
@@ -0,0 +1,3 @@
1
+ export * from './lib/directives';
2
+ export * from './lib/expandable.module';
3
+ export * from './lib/facade';
@@ -0,0 +1,18 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ExpandableItem } from '../facade';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ExpandableItemDirective extends ExpandableItem {
5
+ static ID: number;
6
+ static ngAcceptInputType_expanded: BooleanInput;
7
+ private readonly container;
8
+ private readonly changeDetectorRef;
9
+ private _expanded;
10
+ readonly id: string;
11
+ set expanded(value: boolean);
12
+ get expanded(): boolean;
13
+ toggle(): void;
14
+ open(): void;
15
+ close(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableItemDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableItemDirective, "[odxExpandableItem]", never, { "expanded": "expanded"; }, {}, never, never, true>;
18
+ }
@@ -0,0 +1,13 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ExpandableContainer, ExpandableItem } from '../facade';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ExpandableContainerDirective extends ExpandableContainer {
5
+ static ngAcceptInputType_multiple: BooleanInput;
6
+ private openItems;
7
+ multiple: boolean;
8
+ close(item: ExpandableItem): void;
9
+ closeAll(): void;
10
+ open(item: ExpandableItem): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableContainerDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableContainerDirective, "[odxExpandableContainer]", never, { "multiple": "multiple"; }, {}, never, never, true>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from './expandable-item.directive';
2
+ export * from './extandable-container.directive';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./directives/extandable-container.directive";
3
+ import * as i2 from "./directives/expandable-item.directive";
4
+ export declare class ExpandableModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExpandableModule, never, [typeof i1.ExpandableContainerDirective, typeof i2.ExpandableItemDirective], [typeof i1.ExpandableContainerDirective, typeof i2.ExpandableItemDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ExpandableModule>;
8
+ }
@@ -0,0 +1,6 @@
1
+ import { ExpandableItem } from './expandable-item';
2
+ export declare abstract class ExpandableContainer {
3
+ abstract close(item: ExpandableItem): void;
4
+ abstract closeAll(): void;
5
+ abstract open(item: ExpandableItem): void;
6
+ }
@@ -0,0 +1,7 @@
1
+ export declare abstract class ExpandableItem {
2
+ abstract readonly id: string;
3
+ abstract expanded: boolean;
4
+ abstract close(): void;
5
+ abstract open(): void;
6
+ abstract toggle(): void;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './expandable-container';
2
+ export * from './expandable-item';
@@ -0,0 +1,3 @@
1
+ # @odx/angular/cdk/radio-group-control
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/cdk/radio-group-control`.
@@ -0,0 +1,3 @@
1
+ export * from './lib/radio-control.directive';
2
+ export * from './lib/radio-group-control.directive';
3
+ export * from './lib/radio-group-control.module';
@@ -0,0 +1,13 @@
1
+ import { DisabledController, ReadonlyController } from '@odx/angular';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RadioControlDirective<T = unknown> {
4
+ protected readonly disabledController: DisabledController | null;
5
+ protected readonly readonlyController: ReadonlyController | null;
6
+ protected readonly radioGroupControl: import("./radio-group-control.directive").RadioGroupControlDirective<unknown>;
7
+ value: T | null;
8
+ get ariaChecked(): string;
9
+ get isActive(): boolean;
10
+ constructor();
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioControlDirective<any>, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RadioControlDirective<any>, "[odxRadioControl]", never, { "value": "value"; }, {}, never, never, true>;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
3
+ import * as i0 from "@angular/core";
4
+ export declare const RADIO_GROUP_CONTROL: InjectionToken<RadioGroupControlDirective<unknown>>;
5
+ export declare class RadioGroupControlDirective<T = unknown> extends CustomFormControl<T | null> {
6
+ constructor();
7
+ onFocusOut(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupControlDirective<any>, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RadioGroupControlDirective<any>, "[odxRadioGroupControl]", never, {}, {}, never, never, true>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radio-group-control.directive";
3
+ import * as i2 from "./radio-control.directive";
4
+ import * as i3 from "@odx/angular";
5
+ export declare class RadioGroupControlModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupControlModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadioGroupControlModule, never, [typeof i1.RadioGroupControlDirective, typeof i2.RadioControlDirective], [typeof i3.CoreModule, typeof i1.RadioGroupControlDirective, typeof i2.RadioControlDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<RadioGroupControlModule>;
9
+ }
@@ -0,0 +1,3 @@
1
+ # @odx/angular/components/accordion
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/components/accordion`.
@@ -0,0 +1,4 @@
1
+ export * from './lib/accordion.component';
2
+ export * from './lib/accordion.module';
3
+ export * from './lib/components/accordion-item/accordion-item.component';
4
+ export * from './lib/directives';
@@ -0,0 +1,7 @@
1
+ import { ExpandableContainerDirective } from '@odx/angular/cdk/expandable';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AccordionComponent extends ExpandableContainerDirective {
4
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "odx-accordion", never, {}, {}, never, ["odx-accordion-item"], true>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./accordion.component";
3
+ import * as i2 from "./components/accordion-item/accordion-item.component";
4
+ import * as i3 from "./directives/accordion-item-title";
5
+ import * as i4 from "@odx/angular";
6
+ export declare class AccordionModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, never, [typeof i1.AccordionComponent, typeof i2.AccordionItemComponent, typeof i3.AccordionItemTitleDirective], [typeof i4.CoreModule, typeof i1.AccordionComponent, typeof i2.AccordionItemComponent, typeof i3.AccordionItemTitleDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<AccordionModule>;
10
+ }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ExpandableItemDirective } from '@odx/angular/cdk/expandable';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AccordionItemComponent extends ExpandableItemDirective {
5
+ private readonly disabledController;
6
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
7
+ title?: string | null;
8
+ expandedChange: EventEmitter<boolean>;
9
+ get isDisabled(): boolean;
10
+ get isExpanded(): boolean;
11
+ get titleId(): string;
12
+ get slotId(): string;
13
+ onAnimationEnd(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "odx-accordion-item", never, { "title": "title"; }, { "expandedChange": "expandedChange"; }, never, ["odx-accordion-item-title", "*"], true>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './accordion-item/accordion-item.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AccordionItemTitleDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemTitleDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionItemTitleDirective, "odx-accordion-item-title", never, {}, {}, never, never, true>;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './accordion-item-title';
@@ -1,11 +1,9 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { ElementRef } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ActionGroupComponent {
5
- readonly element: ElementRef<HTMLElement>;
6
4
  static ngAcceptInputType_reverse: BooleanInput;
5
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
7
6
  reverse: boolean;
8
- constructor(element: ElementRef<HTMLElement>);
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionGroupComponent, never>;
10
8
  static ɵcmp: i0.ɵɵComponentDeclaration<ActionGroupComponent, "odx-action-group", never, { "reverse": "reverse"; }, {}, never, ["[odxButton]"], true>;
11
9
  }
@@ -1,10 +1,8 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { AreaHeaderSize } from './models';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class AreaHeaderComponent {
5
- readonly element: ElementRef<HTMLElement>;
4
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
6
5
  size: AreaHeaderSize;
7
- constructor(element: ElementRef<HTMLElement>);
8
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AreaHeaderComponent, never>;
9
7
  static ɵcmp: i0.ɵɵComponentDeclaration<AreaHeaderComponent, "odx-area-header", never, { "size": "size"; }, {}, never, ["odx-avatar", "*", "odx-area-header-subtitle", "odx-area-header-content"], true>;
10
8
  }
@@ -6,8 +6,9 @@ import * as i4 from "@odx/angular/components/avatar";
6
6
  import * as i5 from "@odx/angular/components/action-group";
7
7
  import * as i6 from "@odx/angular/components/button";
8
8
  import * as i7 from "@odx/angular/components/icon";
9
+ import * as i8 from "@odx/angular";
9
10
  export declare class AreaHeaderModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AreaHeaderModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AreaHeaderModule, never, [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent], [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AreaHeaderModule, never, [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent], [typeof i8.CoreModule, typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<AreaHeaderModule>;
13
14
  }
@@ -1,10 +1,8 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { AvatarSize } from './models';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class AvatarComponent {
5
- readonly element: ElementRef<HTMLElement>;
4
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
6
5
  size?: AvatarSize | null;
7
- constructor(element: ElementRef<HTMLElement>);
8
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
9
7
  static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "odx-avatar", never, { "size": "size"; }, {}, never, ["*"], true>;
10
8
  }
@@ -1,19 +1,17 @@
1
- import { AfterViewInit, ElementRef, NgZone, OnChanges, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
2
2
  import { NgChanges } from '@odx/angular/utils';
3
3
  import { BadgePosition, BadgeVariant } from './models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {
6
- readonly element: ElementRef<HTMLElement>;
7
- private readonly zone;
8
6
  private readonly hostElement;
9
- private readonly referenceElement;
7
+ private readonly zone;
10
8
  private positionUpdater?;
11
9
  private elementRect;
10
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
12
11
  value: number;
13
12
  position: BadgePosition;
14
13
  contrast: boolean;
15
14
  variant: BadgeVariant;
16
- constructor(element: ElementRef<HTMLElement>, zone: NgZone);
17
15
  ngOnChanges(changes: NgChanges<BadgeComponent>): void;
18
16
  ngAfterViewInit(): void;
19
17
  ngOnDestroy(): void;
@@ -1,20 +1,19 @@
1
1
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
2
- import { Injector, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
3
  import { BadgeHost } from './facade';
4
4
  import { BadgePosition, BadgeVariant } from './models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class BadgeDirective implements BadgeHost, OnChanges, OnDestroy {
7
- private readonly injector;
8
- private readonly viewContainer;
9
7
  static ngAcceptInputType_content: NumberInput;
10
8
  static ngAcceptInputType_contrast: BooleanInput;
11
9
  private badgeRef;
12
- readonly hostElement: any;
10
+ private readonly injector;
11
+ private readonly viewContainer;
12
+ readonly hostElement: HTMLElement;
13
13
  value: number;
14
14
  contrast: boolean;
15
15
  position: BadgePosition;
16
16
  variant: BadgeVariant;
17
- constructor(injector: Injector, viewContainer: ViewContainerRef);
18
17
  ngOnChanges(changes: SimpleChanges): void;
19
18
  ngOnDestroy(): void;
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, never>;
@@ -1,20 +1,12 @@
1
- import { ElementRef } from '@angular/core';
2
- import { FormGroupDirective, NgForm } from '@angular/forms';
3
- import { ButtonVariant } from './models';
1
+ import { DisabledController } from '@odx/angular';
2
+ import { ButtonSize, ButtonVariant } from './models';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ButtonComponent {
6
- readonly type: string | null;
7
- readonly element: ElementRef<HTMLButtonElement | HTMLLinkElement>;
8
- private readonly isSubmitButton;
9
- private readonly isResetButton;
10
- protected readonly disabledController: import("@odx/angular").DisabledController | null;
11
- protected readonly form: NgForm | null;
12
- protected readonly formGroup: FormGroupDirective | null;
13
- get isDisabled(): boolean;
14
- get isParentFormInvalid(): boolean;
15
- get isParentFormDirty(): boolean;
5
+ protected readonly disabledController: DisabledController | null;
6
+ readonly element: import("@angular/core").ElementRef<HTMLButtonElement | HTMLLinkElement>;
16
7
  variant?: ButtonVariant | null;
17
- constructor(type: string | null, element: ElementRef<HTMLButtonElement | HTMLLinkElement>);
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ attribute: "type"; }, null]>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": "variant"; }, {}, never, ["odx-icon[alignLeft]", "*", "odx-icon[alignRight]"], true>;
8
+ size?: ButtonSize | null;
9
+ get type(): string | null;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": "variant"; "size": "size"; }, {}, never, ["odx-icon[alignLeft]", "*", "odx-icon[alignRight]"], true>;
20
12
  }
@@ -0,0 +1,5 @@
1
+ export declare type ButtonSize = typeof ButtonSize[keyof typeof ButtonSize];
2
+ export declare const ButtonSize: {
3
+ readonly SMALL: "small";
4
+ readonly MEDIUM: "medium";
5
+ };
@@ -1 +1,2 @@
1
+ export * from './button-size';
1
2
  export * from './button-variant';
@@ -0,0 +1,3 @@
1
+ # @odx/angular/components/button-group
2
+
3
+ Secondary entry point of `@odx/angular`. It can be used by importing from `@odx/angular/components/button-group`.
@@ -0,0 +1 @@
1
+ export * from './lib/button-group.component';
@@ -0,0 +1,15 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonGroupComponent {
4
+ static ngAcceptInputType_reverse: BooleanInput;
5
+ static ngAcceptInputType_block: BooleanInput;
6
+ static ngAcceptInputType_alignRight: BooleanInput;
7
+ static ngAcceptInputType_vertical: BooleanInput;
8
+ readonly element: import("@angular/core").ElementRef<HTMLElement>;
9
+ alignRight: boolean;
10
+ block: boolean;
11
+ vertical: boolean;
12
+ reverse: boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "odx-button-group", never, { "alignRight": "alignRight"; "block": "block"; "vertical": "vertical"; "reverse": "reverse"; }, {}, never, ["button[odxButton], a[odxButton]"], true>;
15
+ }