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

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 +43 -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 +93 -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
@@ -1,9 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { __decorate, __metadata } from 'tslib';
2
+ import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { __decorate } from 'tslib';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import { LogoDirective } from '@odx/angular/components/logo';
6
6
  import { CSSComponent } from '@odx/angular/internal';
7
+ import { injectElement } from '@odx/angular/utils';
8
+ import { CoreModule } from '@odx/angular';
7
9
  import { ActionGroupComponent } from '@odx/angular/components/action-group';
8
10
  import { AvatarComponent } from '@odx/angular/components/avatar';
9
11
  import { ButtonComponent } from '@odx/angular/components/button';
@@ -12,9 +14,9 @@ import { MainMenuModule } from '@odx/angular/components/main-menu';
12
14
 
13
15
  class HeaderAvatarDirective {
14
16
  }
15
- HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
17
+ HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
+ HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
18
20
  type: Directive,
19
21
  args: [{
20
22
  standalone: true,
@@ -27,12 +29,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
27
29
 
28
30
  class HeaderTitleDirective {
29
31
  }
30
- HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
- HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, decorators: [{
32
+ HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderTitleDirective, decorators: [{
33
35
  type: Directive,
34
36
  args: [{
35
- // eslint-disable-next-line @angular-eslint/directive-selector
36
37
  selector: 'odx-header-title',
37
38
  standalone: true,
38
39
  host: {
@@ -42,20 +43,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
42
43
  }] });
43
44
 
44
45
  let HeaderComponent = class HeaderComponent {
45
- constructor(element) {
46
- this.element = element;
46
+ constructor() {
47
+ this.element = injectElement();
47
48
  }
48
49
  };
49
- HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
50
- HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
50
+ HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
+ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
51
52
  HeaderComponent = __decorate([
52
- CSSComponent('header'),
53
- __metadata("design:paramtypes", [ElementRef])
53
+ CSSComponent('header')
54
54
  ], HeaderComponent);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{ standalone: true, selector: 'odx-header', imports: [CommonModule, LogoDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n" }]
58
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
58
+ }] });
59
59
 
60
60
  const modules = [
61
61
  HeaderComponent,
@@ -70,8 +70,8 @@ const modules = [
70
70
  ];
71
71
  class HeaderModule {
72
72
  }
73
- HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
73
+ HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
+ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
75
75
  HeaderTitleDirective,
76
76
  HeaderAvatarDirective,
77
77
  MainMenuModule,
@@ -79,7 +79,7 @@ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
79
79
  IconComponent,
80
80
  ButtonComponent,
81
81
  AvatarComponent,
82
- LogoDirective], exports: [HeaderComponent,
82
+ LogoDirective], exports: [CoreModule, HeaderComponent,
83
83
  HeaderTitleDirective,
84
84
  HeaderAvatarDirective,
85
85
  MainMenuModule,
@@ -88,18 +88,17 @@ HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
88
88
  ButtonComponent,
89
89
  AvatarComponent,
90
90
  LogoDirective] });
91
- HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
91
+ HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
92
92
  MainMenuModule,
93
93
  ActionGroupComponent,
94
94
  IconComponent,
95
95
  ButtonComponent,
96
- AvatarComponent,
97
- MainMenuModule] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, decorators: [{
96
+ AvatarComponent, CoreModule, MainMenuModule] });
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: HeaderModule, decorators: [{
99
98
  type: NgModule,
100
99
  args: [{
101
100
  imports: modules,
102
- exports: modules,
101
+ exports: [CoreModule, ...modules],
103
102
  }]
104
103
  }] });
105
104
 
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-header.mjs","sources":["../../../../libs/angular/components/header/src/lib/directives/header-avatar.directive.ts","../../../../libs/angular/components/header/src/lib/directives/header-title.directive.ts","../../../../libs/angular/components/header/src/lib/header.component.ts","../../../../libs/angular/components/header/src/lib/header.component.html","../../../../libs/angular/components/header/src/lib/header.module.ts","../../../../libs/angular/components/header/src/odx-angular-components-header.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'button[odxHeaderAvatar]',\n host: {\n '[class.odx-header__avatar]': 'true',\n },\n})\nexport class HeaderAvatarDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'odx-header-title',\n standalone: true,\n host: {\n '[class.odx-header__title]': 'true',\n },\n})\nexport class HeaderTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\n\n@CSSComponent('header')\n@Component({\n standalone: true,\n selector: 'odx-header',\n imports: [CommonModule, LogoDirective],\n templateUrl: './header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent {\n constructor(public readonly element: ElementRef<HTMLElement>) {}\n}\n","<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { MainMenuModule } from '@odx/angular/components/main-menu';\nimport { HeaderAvatarDirective, HeaderTitleDirective } from './directives';\nimport { HeaderComponent } from './header.component';\n\nconst modules = [\n HeaderComponent,\n HeaderTitleDirective,\n HeaderAvatarDirective,\n MainMenuModule,\n ActionGroupComponent,\n IconComponent,\n ButtonComponent,\n AvatarComponent,\n LogoDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class HeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MASa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,4BAA4B,EAAE,MAAM;AACrC,qBAAA;iBACF,CAAA;;;MCEY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA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eAAe;QAGf,cAAc;QACd,oBAAoB;QACpB,aAAa;QACb,eAAe;QACf,eAAe;QAJf,cAAc,CAAA,EAAA,CAAA,CAAA;2FAYH,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;iBACjB,CAAA;;;ACzBD;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-header.mjs","sources":["../../../../libs/angular/components/header/src/lib/directives/header-avatar.directive.ts","../../../../libs/angular/components/header/src/lib/directives/header-title.directive.ts","../../../../libs/angular/components/header/src/lib/header.component.ts","../../../../libs/angular/components/header/src/lib/header.component.html","../../../../libs/angular/components/header/src/lib/header.module.ts","../../../../libs/angular/components/header/src/odx-angular-components-header.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'button[odxHeaderAvatar]',\n host: {\n '[class.odx-header__avatar]': 'true',\n },\n})\nexport class HeaderAvatarDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'odx-header-title',\n standalone: true,\n host: {\n '[class.odx-header__title]': 'true',\n },\n})\nexport class HeaderTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('header')\n@Component({\n standalone: true,\n selector: 'odx-header',\n imports: [CommonModule, LogoDirective],\n templateUrl: './header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent {\n public readonly element = injectElement();\n}\n","<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { MainMenuModule } from '@odx/angular/components/main-menu';\nimport { HeaderAvatarDirective, HeaderTitleDirective } from './directives';\nimport { HeaderComponent } from './header.component';\n\nconst modules = [\n HeaderComponent,\n HeaderTitleDirective,\n HeaderAvatarDirective,\n MainMenuModule,\n ActionGroupComponent,\n IconComponent,\n ButtonComponent,\n AvatarComponent,\n LogoDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class HeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MASa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,4BAA4B,EAAE,MAAM;AACrC,qBAAA;iBACF,CAAA;;;MCCY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA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eAAe;QAGf,cAAc;QACd,oBAAoB;QACpB,aAAa;QACb,eAAe;AACf,QAAA,eAAe,EAML,UAAU,EAVpB,cAAc,CAAA,EAAA,CAAA,CAAA;2FAYH,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,OAAO,CAAC;iBAClC,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -1,7 +1,9 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
3
  import * as i0 from '@angular/core';
3
- import { ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
4
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
4
5
  import { CSSModifier, CSSComponent } from '@odx/angular/internal';
6
+ import { injectElement, Transform } from '@odx/angular/utils';
5
7
 
6
8
  const IconSize = {
7
9
  SMALL: 'small',
@@ -11,36 +13,58 @@ const IconSize = {
11
13
  };
12
14
 
13
15
  let IconComponent = class IconComponent {
14
- constructor(element) {
15
- this.element = element;
16
+ constructor() {
17
+ this.iconName = null;
18
+ this.element = injectElement();
19
+ this.inline = false;
16
20
  this.size = IconSize.MEDIUM;
17
21
  }
22
+ set name(value) {
23
+ if (this.iconName) {
24
+ this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));
25
+ }
26
+ this.iconName = value;
27
+ if (this.iconName) {
28
+ this.element.nativeElement.classList.add(this.getIconClass(this.iconName));
29
+ }
30
+ }
31
+ get name() {
32
+ return this.iconName;
33
+ }
34
+ getIconClass(value) {
35
+ return `odx-icon-${value}`;
36
+ }
18
37
  };
19
- IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
20
- IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: IconComponent, isStandalone: true, selector: "odx-icon", inputs: { size: "size", name: "name" }, host: { attributes: { "translate": "no" }, properties: { "attr.name": "name", "class.notranslate": "true" } }, ngImport: i0, template: '{{ name }}', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
38
+ IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: IconComponent, isStandalone: true, selector: "odx-icon", inputs: { inline: "inline", size: "size", name: "name" }, host: { attributes: { "translate": "no" }, properties: { "class.notranslate": "true" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
40
+ __decorate([
41
+ CSSModifier(),
42
+ Transform(coerceBooleanProperty),
43
+ __metadata("design:type", Object)
44
+ ], IconComponent.prototype, "inline", void 0);
21
45
  __decorate([
22
46
  CSSModifier(),
23
47
  __metadata("design:type", String)
24
48
  ], IconComponent.prototype, "size", void 0);
25
49
  IconComponent = __decorate([
26
- CSSComponent('icon'),
27
- __metadata("design:paramtypes", [ElementRef])
50
+ CSSComponent('icon')
28
51
  ], IconComponent);
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: IconComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: IconComponent, decorators: [{
30
53
  type: Component,
31
54
  args: [{
32
55
  selector: 'odx-icon',
33
- template: '{{ name }}',
56
+ template: '',
34
57
  encapsulation: ViewEncapsulation.None,
35
58
  changeDetection: ChangeDetectionStrategy.OnPush,
36
59
  standalone: true,
37
60
  host: {
38
- '[attr.name]': 'name',
39
61
  '[class.notranslate]': 'true',
40
62
  translate: 'no',
41
63
  },
42
64
  }]
43
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
65
+ }], propDecorators: { inline: [{
66
+ type: Input
67
+ }], size: [{
44
68
  type: Input
45
69
  }], name: [{
46
70
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = typeof IconSize[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n INLINE: 'inline',\n} as const;\n","import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '{{ name }}',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[attr.name]': 'name',\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public name!: string;\n\n constructor(public readonly element: ElementRef<HTMLElement>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;;;ACWL,IAAA,aAAa,SAAb,aAAa,CAAA;AAQxB,IAAA,WAAA,CAA4B,OAAgC,EAAA;AAAhC,QA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AAA;sBADV,KAAK;;;ACtBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-icon.mjs","sources":["../../../../libs/angular/components/icon/src/lib/models/icon-size.ts","../../../../libs/angular/components/icon/src/lib/icon.component.ts","../../../../libs/angular/components/icon/src/odx-angular-components-icon.ts"],"sourcesContent":["export type IconSize = typeof IconSize[keyof typeof IconSize];\n\nexport const IconSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n INLINE: 'inline',\n} as const;\n","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';\nimport { IconSize } from './models';\n\n@CSSComponent('icon')\n@Component({\n selector: 'odx-icon',\n template: '',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n translate: 'no',\n },\n})\nexport class IconComponent {\n public static ngAcceptInputType_inline: BooleanInput;\n\n private iconName: string | null = null;\n public readonly element = injectElement();\n\n @CSSModifier()\n @Transform(coerceBooleanProperty)\n @Input()\n public inline = false;\n\n @CSSModifier()\n @Input()\n public size: IconSize = IconSize.MEDIUM;\n\n @Input()\n public set name(value: string | null) {\n if (this.iconName) {\n this.element.nativeElement.classList.remove(this.getIconClass(this.iconName));\n }\n this.iconName = value;\n if (this.iconName) {\n this.element.nativeElement.classList.add(this.getIconClass(this.iconName));\n }\n }\n public get name(): string | null {\n return this.iconName;\n }\n\n private getIconClass(value: string): string {\n return `odx-icon-${value}`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO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A,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;AAeZ,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;IACb,SAAS,CAAC,qBAAqB,CAAC;;CAEX,EAAA,aAAA,CAAA,SAAA,EAAA,QAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAEtB,UAAA,CAAA;AAAC,IAAA,WAAW,EAAE;;CAE0B,EAAA,aAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAb7B,aAAa,GAAA,UAAA,CAAA;IAZzB,YAAY,CAAC,MAAM,CAAC;CAYR,EAAA,aAAa,CAgCzB,CAAA;2FAhCY,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,UAAU;AACpB,oBAAA,QAAQ,EAAE,EAAE;oBACZ,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,MAAM;AAC7B,wBAAA,SAAS,EAAE,IAAI;AAChB,qBAAA;iBACF,CAAA;8BAUQ,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAIK,IAAI,EAAA,CAAA;sBADd,KAAK;;;ACjCR;;AAEG;;;;"}
@@ -1,41 +1,37 @@
1
- import { __decorate, __metadata } from 'tslib';
1
+ import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, ElementRef, Directive, Input } from '@angular/core';
4
- import { DISABLED_CONTROLLER, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';
3
+ import { Directive } from '@angular/core';
4
+ import { DisabledController } from '@odx/angular';
5
5
  import { CSSComponent } from '@odx/angular/internal';
6
+ import { injectElement } from '@odx/angular/utils';
6
7
 
7
8
  let LinkDirective = class LinkDirective {
8
- constructor(element) {
9
- this.element = element;
10
- this.disabledController = inject(DISABLED_CONTROLLER, { optional: true });
11
- this.href = null;
9
+ constructor() {
10
+ this.disabledController = DisabledController.inject();
11
+ this.element = injectElement();
12
12
  }
13
13
  get isDisabled() {
14
14
  var _a;
15
15
  return !!((_a = this.disabledController) === null || _a === void 0 ? void 0 : _a.disabled);
16
16
  }
17
17
  };
18
- LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
19
- LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", inputs: { href: "href" }, host: { properties: { "class.is-disabled": "isDisabled", "attr.href": "isDisabled ? null : href", "tabindex": "isDisabled ? -1 : 0" } }, providers: [DISABLED_CONTROLLER_PROVIDER], ngImport: i0 });
18
+ LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: LinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
19
+ LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: LinkDirective, isStandalone: true, selector: "a[odxLink]", host: { properties: { "class.is-disabled": "isDisabled", "tabindex": "isDisabled ? -1 : 0" } }, providers: [DisabledController.connect()], ngImport: i0 });
20
20
  LinkDirective = __decorate([
21
- CSSComponent('link'),
22
- __metadata("design:paramtypes", [ElementRef])
21
+ CSSComponent('link')
23
22
  ], LinkDirective);
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LinkDirective, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: LinkDirective, decorators: [{
25
24
  type: Directive,
26
25
  args: [{
27
26
  selector: 'a[odxLink]',
28
- providers: [DISABLED_CONTROLLER_PROVIDER],
27
+ providers: [DisabledController.connect()],
29
28
  standalone: true,
30
29
  host: {
31
30
  '[class.is-disabled]': 'isDisabled',
32
- '[attr.href]': 'isDisabled ? null : href',
33
31
  '[tabindex]': 'isDisabled ? -1 : 0',
34
32
  },
35
33
  }]
36
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { href: [{
37
- type: Input
38
- }] } });
34
+ }] });
39
35
 
40
36
  /**
41
37
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-link.mjs","sources":["../../../../libs/angular/components/link/src/link.directive.ts","../../../../libs/angular/components/link/src/odx-angular-components-link.ts"],"sourcesContent":["import { Directive, ElementRef, inject, Input } from '@angular/core';\nimport { DISABLED_CONTROLLER, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\n\n@CSSComponent('link')\n@Directive({\n selector: 'a[odxLink]',\n providers: [DISABLED_CONTROLLER_PROVIDER],\n standalone: true,\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[attr.href]': 'isDisabled ? null : href',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class LinkDirective {\n protected readonly disabledController = inject(DISABLED_CONTROLLER, { optional: true });\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n @Input()\n public href: string | null = null;\n\n constructor(public readonly element: ElementRef<HTMLLinkElement>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAea,IAAA,aAAa,SAAb,aAAa,CAAA;AAUxB,IAAA,WAAA,CAA4B,OAAoC,EAAA;AAApC,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAA6B;AAT7C,QAAA,IAAkB,CAAA,kB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E,qBAAqB;AACpC,qBAAA;iBACF,CAAA;iGASQ,IAAI,EAAA,CAAA;sBADV,KAAK;;;ACtBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-link.mjs","sources":["../../../../libs/angular/components/link/src/link.directive.ts","../../../../libs/angular/components/link/src/odx-angular-components-link.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('link')\n@Directive({\n selector: 'a[odxLink]',\n providers: [DisabledController.connect()],\n standalone: true,\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class LinkDirective {\n protected readonly disabledController = DisabledController.inject();\n public readonly element = injectElement<HTMLLinkElement>();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAea,IAAA,aAAa,GAAnB,MAAM,aAAa,CAAA;AAAnB,IAAA,WAAA,GAAA;AACc,QAAA,IAAA,CAAA,kBAAkB,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC;AACpD,QAAA,IAAO,CAAA,OAAA,GAAG,aAAa,EAAmB,CAAC;KAK5D;AAHC,IAAA,IAAW,UAAU,GAAA;;QACnB,OAAO,CAAC,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,kBAAkB,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,QAAQ,CAAA,CAAC;KAC5C;;0GANU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,yJAPb,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAO9B,aAAa,GAAA,UAAA,CAAA;IAVzB,YAAY,CAAC,MAAM,CAAC;CAUR,EAAA,aAAa,CAOzB,CAAA;2FAPY,aAAa,EAAA,UAAA,EAAA,CAAA;kBATzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,SAAS,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;AACzC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,qBAAqB,EAAE,YAAY;AACnC,wBAAA,YAAY,EAAE,qBAAqB;AACpC,qBAAA;iBACF,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,7 +1,8 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { ElementRef, Directive, Input } from '@angular/core';
3
+ import { Directive, Input } from '@angular/core';
4
4
  import { CSSModifier, CSSComponent } from '@odx/angular/internal';
5
+ import { injectElement } from '@odx/angular/utils';
5
6
 
6
7
  const LogoSize = {
7
8
  SMALL: 'small',
@@ -15,12 +16,12 @@ const LogoVariant = {
15
16
  };
16
17
 
17
18
  let LogoDirective = class LogoDirective {
18
- constructor(element) {
19
- this.element = element;
19
+ constructor() {
20
+ this.element = injectElement();
20
21
  }
21
22
  };
22
- LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LogoDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
23
- LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: LogoDirective, isStandalone: true, selector: "odx-logo", inputs: { size: "size", variant: "variant" }, host: { attributes: { "translate": "no", "role": "img" }, properties: { "class.notranslate": "true", "attr.aria-label": "\"Dr\u00E4ger logo\"", "attr.aria-roledescription": "\"logo\"" } }, ngImport: i0 });
23
+ LogoDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: LogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
+ LogoDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.8", type: LogoDirective, isStandalone: true, selector: "odx-logo", inputs: { size: "size", variant: "variant" }, host: { attributes: { "translate": "no", "role": "img" }, properties: { "class.notranslate": "true", "attr.aria-label": "\"Dr\u00E4ger logo\"", "attr.aria-roledescription": "\"logo\"" } }, ngImport: i0 });
24
25
  __decorate([
25
26
  CSSModifier({ default: LogoSize.SMALL }),
26
27
  __metadata("design:type", String)
@@ -30,13 +31,11 @@ __decorate([
30
31
  __metadata("design:type", String)
31
32
  ], LogoDirective.prototype, "variant", void 0);
32
33
  LogoDirective = __decorate([
33
- CSSComponent('logo'),
34
- __metadata("design:paramtypes", [ElementRef])
34
+ CSSComponent('logo')
35
35
  ], LogoDirective);
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: LogoDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: LogoDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
- // eslint-disable-next-line @angular-eslint/directive-selector
40
39
  selector: 'odx-logo',
41
40
  standalone: true,
42
41
  host: {
@@ -47,7 +46,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
47
46
  role: 'img',
48
47
  },
49
48
  }]
50
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
49
+ }], propDecorators: { size: [{
51
50
  type: Input
52
51
  }], variant: [{
53
52
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-logo.mjs","sources":["../../../../libs/angular/components/logo/src/models/logo-size.ts","../../../../libs/angular/components/logo/src/models/logo-variant.ts","../../../../libs/angular/components/logo/src/logo.directive.ts","../../../../libs/angular/components/logo/src/odx-angular-components-logo.ts"],"sourcesContent":["export type LogoSize = typeof LogoSize[keyof typeof LogoSize];\n\nexport const LogoSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","export type LogoVariant = typeof LogoVariant[keyof typeof LogoVariant];\n\nexport const LogoVariant = {\n DEFAULT: 'default',\n INVERSE: 'inverse',\n} as const;\n","import { Directive, ElementRef, Input } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { LogoSize, LogoVariant } from './models';\n\n@CSSComponent('logo')\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'odx-logo',\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n '[attr.aria-label]': '\"Dräger logo\"',\n '[attr.aria-roledescription]': '\"logo\"',\n translate: 'no',\n role: 'img',\n },\n})\nexport class LogoDirective {\n @CSSModifier({ default: LogoSize.SMALL })\n @Input()\n public size!: LogoSize;\n\n @CSSModifier({ default: LogoVariant.DEFAULT })\n @Input()\n public variant!: LogoVariant;\n\n constructor(public readonly element: ElementRef<HTMLElement>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;;;ACHH,MAAA,WAAW,GAAG;AACzB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OAAO,EAAE,SAAS;;;ACaP,IAAA,aAAa,SAAb,aAAa,CAAA;AASxB,IAAA,WAAA,CAA4B,OAAgC,EAAA;AAAhC,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAyB;KAAI;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AAE,IAAI;AACf,wBAAA,IAAI,EAAE,KAAK;AACZ,qBAAA;iBACF,CAAA;iGAIQ,IAAI,EAAA,CAAA;sBADV,KAAK;gBAKC,OAAO,EAAA,CAAA;sBADb,KAAK;;;ACvBR;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-logo.mjs","sources":["../../../../libs/angular/components/logo/src/models/logo-size.ts","../../../../libs/angular/components/logo/src/models/logo-variant.ts","../../../../libs/angular/components/logo/src/logo.directive.ts","../../../../libs/angular/components/logo/src/odx-angular-components-logo.ts"],"sourcesContent":["export type LogoSize = typeof LogoSize[keyof typeof LogoSize];\n\nexport const LogoSize = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","export type LogoVariant = typeof LogoVariant[keyof typeof LogoVariant];\n\nexport const LogoVariant = {\n DEFAULT: 'default',\n INVERSE: 'inverse',\n} as const;\n","import { Directive, Input } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { LogoSize, LogoVariant } from './models';\n\n@CSSComponent('logo')\n@Directive({\n selector: 'odx-logo',\n standalone: true,\n host: {\n '[class.notranslate]': 'true',\n '[attr.aria-label]': '\"Dräger logo\"',\n '[attr.aria-roledescription]': '\"logo\"',\n translate: 'no',\n role: 'img',\n },\n})\nexport class LogoDirective {\n public readonly element = injectElement();\n\n @CSSModifier({ default: LogoSize.SMALL })\n @Input()\n public size!: LogoSize;\n\n @CSSModifier({ default: LogoVariant.DEFAULT })\n @Input()\n public variant!: LogoVariant;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEa,MAAA,QAAQ,GAAG;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;;;ACHH,MAAA,WAAW,GAAG;AACzB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,OA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