@odx/angular 1.0.0-rc.18 → 1.0.0-rc.19

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 (252) hide show
  1. package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +3 -1
  2. package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +2 -1
  3. package/components/form-field/lib/form-field.config.d.ts +1 -0
  4. package/components/form-field/lib/services/form-field-error.service.d.ts +1 -0
  5. package/components/select/lib/select.component.d.ts +1 -0
  6. package/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.d.ts +5 -2
  7. package/esm2020/cdk/a11y/lib/a11y.module.mjs +4 -4
  8. package/esm2020/cdk/a11y/lib/directives/interactive.directive.mjs +3 -3
  9. package/esm2020/cdk/a11y/lib/directives/list-focus-manager-option.directive.mjs +3 -3
  10. package/esm2020/cdk/a11y/lib/directives/list-focus-manager.directive.mjs +3 -3
  11. package/esm2020/cdk/active-indicator/lib/active-indicator.directive.mjs +3 -3
  12. package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +9 -5
  13. package/esm2020/cdk/connected-overlay/lib/connected-overlay.component.mjs +3 -3
  14. package/esm2020/cdk/connected-overlay/lib/connected-overlay.service.mjs +3 -3
  15. package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +3 -3
  16. package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +3 -3
  17. package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
  18. package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +3 -3
  19. package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +3 -3
  20. package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +3 -3
  21. package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +3 -3
  22. package/esm2020/cdk/expandable/lib/expandable.module.mjs +4 -4
  23. package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +3 -3
  24. package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +11 -7
  25. package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +4 -4
  26. package/esm2020/components/accordion/lib/accordion.component.mjs +3 -3
  27. package/esm2020/components/accordion/lib/accordion.module.mjs +4 -4
  28. package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +3 -3
  29. package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +3 -3
  30. package/esm2020/components/action-group/action-group.component.mjs +3 -3
  31. package/esm2020/components/area-header/area-header.component.mjs +3 -3
  32. package/esm2020/components/area-header/area-header.module.mjs +4 -4
  33. package/esm2020/components/area-header/directives/area-header-content.directive.mjs +3 -3
  34. package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +3 -3
  35. package/esm2020/components/avatar/lib/avatar.component.mjs +3 -3
  36. package/esm2020/components/badge/lib/badge.component.mjs +3 -3
  37. package/esm2020/components/badge/lib/badge.directive.mjs +3 -3
  38. package/esm2020/components/bar/lib/bar.component.mjs +3 -3
  39. package/esm2020/components/bar/lib/bar.module.mjs +4 -4
  40. package/esm2020/components/bar/lib/directives/bar-button.directive.mjs +3 -3
  41. package/esm2020/components/bar/lib/directives/bar-label.directive.mjs +3 -3
  42. package/esm2020/components/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  43. package/esm2020/components/button/lib/button.component.mjs +3 -3
  44. package/esm2020/components/button-group/lib/button-group.component.mjs +3 -3
  45. package/esm2020/components/checkbox/lib/checkbox.component.mjs +3 -3
  46. package/esm2020/components/checkbox/lib/checkbox.module.mjs +4 -4
  47. package/esm2020/components/checkbox/lib/checkbox.validator.mjs +3 -3
  48. package/esm2020/components/chip/lib/chip.component.mjs +3 -3
  49. package/esm2020/components/circular-progress/lib/circular-progress.component.mjs +5 -5
  50. package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
  51. package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
  52. package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +3 -3
  53. package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +3 -3
  54. package/esm2020/components/dropdown/lib/dropdown.component.mjs +3 -3
  55. package/esm2020/components/dropdown/lib/dropdown.directive.mjs +3 -3
  56. package/esm2020/components/dropdown/lib/dropdown.module.mjs +4 -4
  57. package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +3 -3
  58. package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +3 -3
  59. package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +3 -3
  60. package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +3 -3
  61. package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +3 -3
  62. package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +3 -3
  63. package/esm2020/components/form-field/lib/directives/form.directive.mjs +3 -3
  64. package/esm2020/components/form-field/lib/form-field.component.mjs +3 -3
  65. package/esm2020/components/form-field/lib/form-field.config.mjs +2 -1
  66. package/esm2020/components/form-field/lib/form-field.module.mjs +4 -4
  67. package/esm2020/components/form-field/lib/form-field.service.mjs +3 -3
  68. package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +9 -11
  69. package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
  70. package/esm2020/components/header/lib/directives/header-title.directive.mjs +3 -3
  71. package/esm2020/components/header/lib/header.component.mjs +3 -3
  72. package/esm2020/components/header/lib/header.module.mjs +4 -4
  73. package/esm2020/components/icon/lib/icon.component.mjs +3 -3
  74. package/esm2020/components/inline-message/lib/inline-message.component.mjs +3 -3
  75. package/esm2020/components/launch-tile/lib/components/launch-tile-footer/launch-tile-footer.component.mjs +3 -3
  76. package/esm2020/components/launch-tile/lib/components/launch-tile-subtitle/launch-tile-subtitle.component.mjs +3 -3
  77. package/esm2020/components/launch-tile/lib/launch-tile.component.mjs +3 -3
  78. package/esm2020/components/launch-tile/lib/launch-tile.module.mjs +4 -4
  79. package/esm2020/components/link/link.directive.mjs +3 -3
  80. package/esm2020/components/list/lib/components/list-item/list-item.component.mjs +3 -3
  81. package/esm2020/components/list/lib/list.component.mjs +3 -3
  82. package/esm2020/components/list/lib/list.module.mjs +4 -4
  83. package/esm2020/components/loading-spinner/lib/loading-spinner.component.mjs +3 -3
  84. package/esm2020/components/loading-spinner/lib/loading-spinner.directive.mjs +3 -3
  85. package/esm2020/components/loading-spinner/lib/loading-spinner.module.mjs +4 -4
  86. package/esm2020/components/logo/logo.directive.mjs +3 -3
  87. package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +3 -3
  88. package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +3 -3
  89. package/esm2020/components/main-menu/lib/main-menu.component.mjs +3 -3
  90. package/esm2020/components/main-menu/lib/main-menu.module.mjs +4 -4
  91. package/esm2020/components/main-menu/lib/main-menu.service.mjs +3 -3
  92. package/esm2020/components/menu/lib/directives/menu-item.directive.mjs +3 -3
  93. package/esm2020/components/menu/lib/menu.component.mjs +3 -3
  94. package/esm2020/components/menu/lib/menu.directive.mjs +3 -3
  95. package/esm2020/components/menu/lib/menu.module.mjs +4 -4
  96. package/esm2020/components/modal/lib/components/basic-modal/basic-modal.component.mjs +3 -3
  97. package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +3 -3
  98. package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +3 -3
  99. package/esm2020/components/modal/lib/components/modal-hero/modal-hero.component.mjs +3 -3
  100. package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +3 -3
  101. package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +3 -3
  102. package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +3 -3
  103. package/esm2020/components/modal/lib/modal.component.mjs +3 -3
  104. package/esm2020/components/modal/lib/modal.directive.mjs +3 -3
  105. package/esm2020/components/modal/lib/modal.module.mjs +4 -4
  106. package/esm2020/components/modal/lib/modal.service.mjs +3 -3
  107. package/esm2020/components/progress/lib/progress.component.mjs +3 -3
  108. package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +3 -3
  109. package/esm2020/components/radio-group/lib/radio-group.component.mjs +3 -3
  110. package/esm2020/components/radio-group/lib/radio-group.module.mjs +4 -4
  111. package/esm2020/components/rail-navigation/lib/components/rail-navigation-item.component.mjs +3 -3
  112. package/esm2020/components/rail-navigation/lib/rail-navigation.component.mjs +3 -3
  113. package/esm2020/components/rail-navigation/lib/rail-navigation.module.mjs +4 -4
  114. package/esm2020/components/select/lib/components/option/option.component.mjs +3 -3
  115. package/esm2020/components/select/lib/directives/select-search-field.directive.mjs +3 -3
  116. package/esm2020/components/select/lib/pipes/select-search-filter.pipe.mjs +3 -3
  117. package/esm2020/components/select/lib/select.component.mjs +16 -11
  118. package/esm2020/components/select/lib/select.module.mjs +4 -4
  119. package/esm2020/components/slider/lib/slider.directive.mjs +3 -3
  120. package/esm2020/components/spinbox/lib/spinbox.component.mjs +3 -3
  121. package/esm2020/components/switch/lib/switch.component.mjs +3 -3
  122. package/esm2020/components/switch/lib/switch.module.mjs +4 -4
  123. package/esm2020/components/switch/lib/switch.validator.mjs +3 -3
  124. package/esm2020/components/tab-bar/lib/components/tab-bar-item/tab-bar-item.component.mjs +14 -5
  125. package/esm2020/components/tab-bar/lib/tab-bar.component.mjs +3 -3
  126. package/esm2020/components/tab-bar/lib/tab-bar.module.mjs +4 -4
  127. package/esm2020/components/toast/lib/components/toast-container/toast-container.component.mjs +3 -3
  128. package/esm2020/components/toast/lib/components/toast-item/toast-item.component.mjs +3 -3
  129. package/esm2020/components/toast/lib/toast.module.mjs +4 -4
  130. package/esm2020/components/toast/lib/toast.service.mjs +3 -3
  131. package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +3 -3
  132. package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +3 -3
  133. package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +4 -4
  134. package/esm2020/components/tooltip/lib/tooltip.component.mjs +3 -3
  135. package/esm2020/components/tooltip/lib/tooltip.directive.mjs +3 -3
  136. package/esm2020/lib/controllers/controller.mjs +3 -3
  137. package/esm2020/lib/controllers/disabled.controller.mjs +3 -3
  138. package/esm2020/lib/controllers/readonly.controller.mjs +3 -3
  139. package/esm2020/lib/core.module.mjs +4 -4
  140. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  141. package/esm2020/lib/directives/delegate-focus.directive.mjs +3 -3
  142. package/esm2020/lib/directives/with-disabled-state.directive.mjs +3 -3
  143. package/esm2020/lib/directives/with-tabindex.directive.mjs +3 -3
  144. package/esm2020/lib/services/window-ref.mjs +3 -3
  145. package/esm2020/utils/lib/helpers/event-manager.mjs +3 -3
  146. package/fesm2015/odx-angular-cdk-a11y.mjs +13 -13
  147. package/fesm2015/odx-angular-cdk-active-indicator.mjs +3 -3
  148. package/fesm2015/odx-angular-cdk-checkbox-control.mjs +8 -4
  149. package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  150. package/fesm2015/odx-angular-cdk-connected-overlay.mjs +6 -6
  151. package/fesm2015/odx-angular-cdk-custom-form-control.mjs +6 -6
  152. package/fesm2015/odx-angular-cdk-dynamic-view.mjs +9 -9
  153. package/fesm2015/odx-angular-cdk-expandable.mjs +10 -10
  154. package/fesm2015/odx-angular-cdk-radio-group-control.mjs +17 -14
  155. package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  156. package/fesm2015/odx-angular-components-accordion.mjs +13 -13
  157. package/fesm2015/odx-angular-components-action-group.mjs +3 -3
  158. package/fesm2015/odx-angular-components-area-header.mjs +13 -13
  159. package/fesm2015/odx-angular-components-avatar.mjs +3 -3
  160. package/fesm2015/odx-angular-components-badge.mjs +6 -6
  161. package/fesm2015/odx-angular-components-bar.mjs +13 -13
  162. package/fesm2015/odx-angular-components-breadcrumbs.mjs +3 -3
  163. package/fesm2015/odx-angular-components-button-group.mjs +3 -3
  164. package/fesm2015/odx-angular-components-button.mjs +3 -3
  165. package/fesm2015/odx-angular-components-checkbox.mjs +10 -10
  166. package/fesm2015/odx-angular-components-chip.mjs +3 -3
  167. package/fesm2015/odx-angular-components-circular-progress.mjs +4 -4
  168. package/fesm2015/odx-angular-components-circular-progress.mjs.map +1 -1
  169. package/fesm2015/odx-angular-components-content-box.mjs +13 -13
  170. package/fesm2015/odx-angular-components-dropdown.mjs +10 -10
  171. package/fesm2015/odx-angular-components-form-field.mjs +41 -41
  172. package/fesm2015/odx-angular-components-form-field.mjs.map +1 -1
  173. package/fesm2015/odx-angular-components-header.mjs +13 -13
  174. package/fesm2015/odx-angular-components-icon.mjs +3 -3
  175. package/fesm2015/odx-angular-components-inline-message.mjs +3 -3
  176. package/fesm2015/odx-angular-components-launch-tile.mjs +13 -13
  177. package/fesm2015/odx-angular-components-link.mjs +3 -3
  178. package/fesm2015/odx-angular-components-list.mjs +10 -10
  179. package/fesm2015/odx-angular-components-loading-spinner.mjs +10 -10
  180. package/fesm2015/odx-angular-components-logo.mjs +3 -3
  181. package/fesm2015/odx-angular-components-main-menu.mjs +16 -16
  182. package/fesm2015/odx-angular-components-menu.mjs +13 -13
  183. package/fesm2015/odx-angular-components-modal.mjs +34 -34
  184. package/fesm2015/odx-angular-components-progress.mjs +3 -3
  185. package/fesm2015/odx-angular-components-radio-group.mjs +10 -10
  186. package/fesm2015/odx-angular-components-rail-navigation.mjs +10 -10
  187. package/fesm2015/odx-angular-components-select.mjs +29 -23
  188. package/fesm2015/odx-angular-components-select.mjs.map +1 -1
  189. package/fesm2015/odx-angular-components-slider.mjs +3 -3
  190. package/fesm2015/odx-angular-components-spinbox.mjs +3 -3
  191. package/fesm2015/odx-angular-components-switch.mjs +10 -10
  192. package/fesm2015/odx-angular-components-tab-bar.mjs +21 -12
  193. package/fesm2015/odx-angular-components-tab-bar.mjs.map +1 -1
  194. package/fesm2015/odx-angular-components-toast.mjs +13 -13
  195. package/fesm2015/odx-angular-components-toggle-button-group.mjs +10 -10
  196. package/fesm2015/odx-angular-components-tooltip.mjs +6 -6
  197. package/fesm2015/odx-angular-utils.mjs +3 -3
  198. package/fesm2015/odx-angular.mjs +28 -28
  199. package/fesm2020/odx-angular-cdk-a11y.mjs +13 -13
  200. package/fesm2020/odx-angular-cdk-active-indicator.mjs +3 -3
  201. package/fesm2020/odx-angular-cdk-checkbox-control.mjs +8 -4
  202. package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -1
  203. package/fesm2020/odx-angular-cdk-connected-overlay.mjs +6 -6
  204. package/fesm2020/odx-angular-cdk-custom-form-control.mjs +6 -6
  205. package/fesm2020/odx-angular-cdk-dynamic-view.mjs +9 -9
  206. package/fesm2020/odx-angular-cdk-expandable.mjs +10 -10
  207. package/fesm2020/odx-angular-cdk-radio-group-control.mjs +17 -14
  208. package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -1
  209. package/fesm2020/odx-angular-components-accordion.mjs +13 -13
  210. package/fesm2020/odx-angular-components-action-group.mjs +3 -3
  211. package/fesm2020/odx-angular-components-area-header.mjs +13 -13
  212. package/fesm2020/odx-angular-components-avatar.mjs +3 -3
  213. package/fesm2020/odx-angular-components-badge.mjs +6 -6
  214. package/fesm2020/odx-angular-components-bar.mjs +13 -13
  215. package/fesm2020/odx-angular-components-breadcrumbs.mjs +3 -3
  216. package/fesm2020/odx-angular-components-button-group.mjs +3 -3
  217. package/fesm2020/odx-angular-components-button.mjs +3 -3
  218. package/fesm2020/odx-angular-components-checkbox.mjs +10 -10
  219. package/fesm2020/odx-angular-components-chip.mjs +3 -3
  220. package/fesm2020/odx-angular-components-circular-progress.mjs +4 -4
  221. package/fesm2020/odx-angular-components-circular-progress.mjs.map +1 -1
  222. package/fesm2020/odx-angular-components-content-box.mjs +13 -13
  223. package/fesm2020/odx-angular-components-dropdown.mjs +10 -10
  224. package/fesm2020/odx-angular-components-form-field.mjs +40 -41
  225. package/fesm2020/odx-angular-components-form-field.mjs.map +1 -1
  226. package/fesm2020/odx-angular-components-header.mjs +13 -13
  227. package/fesm2020/odx-angular-components-icon.mjs +3 -3
  228. package/fesm2020/odx-angular-components-inline-message.mjs +3 -3
  229. package/fesm2020/odx-angular-components-launch-tile.mjs +13 -13
  230. package/fesm2020/odx-angular-components-link.mjs +3 -3
  231. package/fesm2020/odx-angular-components-list.mjs +10 -10
  232. package/fesm2020/odx-angular-components-loading-spinner.mjs +10 -10
  233. package/fesm2020/odx-angular-components-logo.mjs +3 -3
  234. package/fesm2020/odx-angular-components-main-menu.mjs +16 -16
  235. package/fesm2020/odx-angular-components-menu.mjs +13 -13
  236. package/fesm2020/odx-angular-components-modal.mjs +34 -34
  237. package/fesm2020/odx-angular-components-progress.mjs +3 -3
  238. package/fesm2020/odx-angular-components-radio-group.mjs +10 -10
  239. package/fesm2020/odx-angular-components-rail-navigation.mjs +10 -10
  240. package/fesm2020/odx-angular-components-select.mjs +29 -23
  241. package/fesm2020/odx-angular-components-select.mjs.map +1 -1
  242. package/fesm2020/odx-angular-components-slider.mjs +3 -3
  243. package/fesm2020/odx-angular-components-spinbox.mjs +3 -3
  244. package/fesm2020/odx-angular-components-switch.mjs +10 -10
  245. package/fesm2020/odx-angular-components-tab-bar.mjs +20 -12
  246. package/fesm2020/odx-angular-components-tab-bar.mjs.map +1 -1
  247. package/fesm2020/odx-angular-components-toast.mjs +13 -13
  248. package/fesm2020/odx-angular-components-toggle-button-group.mjs +10 -10
  249. package/fesm2020/odx-angular-components-tooltip.mjs +6 -6
  250. package/fesm2020/odx-angular-utils.mjs +3 -3
  251. package/fesm2020/odx-angular.mjs +28 -28
  252. package/package.json +2 -2
@@ -59,13 +59,13 @@ let CircularProgressComponent = class CircularProgressComponent {
59
59
  if (normalizeFactor >= 3) {
60
60
  this.normalizedStroke = Math.max(0, this.normalizedStroke - normalizeFactor);
61
61
  }
62
- this.radius = this.viewPortSize / 2 - this.normalizedStroke / 2;
62
+ this.radius = Math.max(0, this.viewPortSize / 2 - this.normalizedStroke / 2);
63
63
  this.circumference = Math.floor(2 * this.radius * Math.PI);
64
64
  this.changeDetector.detectChanges();
65
65
  }
66
66
  };
67
- CircularProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: CircularProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
- CircularProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: CircularProgressComponent, isStandalone: true, selector: "odx-circular-progress", inputs: { stroke: "stroke", size: "size", value: "value" }, host: { properties: { "attr.aria-valuenow": "ariaValueNow", "attr.aria-valuemax": "100", "attr.aria-valuemin": "0", "attr.role": "\"meter\"" } }, usesOnChanges: true, ngImport: i0, template: "<svg class=\"odx-circular-progress__inner\" attr.viewBox=\"0 0 {{ viewPortSize }} {{ viewPortSize }}\">\n <circle class=\"odx-circular-progress__track\" [attr.stroke-width]=\"normalizedStroke\" [attr.r]=\"radius\" cx=\"50%\" cy=\"50%\" />\n <circle\n class=\"odx-circular-progress__indicator\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"progressValue\"\n [attr.stroke-width]=\"normalizedStroke\"\n [attr.r]=\"radius\"\n cx=\"50%\"\n cy=\"50%\"\n />\n</svg>\n<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
67
+ CircularProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CircularProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
+ CircularProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: CircularProgressComponent, isStandalone: true, selector: "odx-circular-progress", inputs: { stroke: "stroke", size: "size", value: "value" }, host: { properties: { "attr.aria-valuenow": "ariaValueNow", "attr.aria-valuemax": "100", "attr.aria-valuemin": "0", "attr.role": "\"meter\"" } }, usesOnChanges: true, ngImport: i0, template: "<svg class=\"odx-circular-progress__inner\" attr.viewBox=\"0 0 {{ viewPortSize }} {{ viewPortSize }}\">\n <circle class=\"odx-circular-progress__track\" [attr.stroke-width]=\"normalizedStroke\" [attr.r]=\"radius\" cx=\"50%\" cy=\"50%\" />\n <circle\n class=\"odx-circular-progress__indicator\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"progressValue\"\n [attr.stroke-width]=\"normalizedStroke\"\n [attr.r]=\"radius\"\n cx=\"50%\"\n cy=\"50%\"\n />\n</svg>\n<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
69
69
  __decorate([
70
70
  CSSModifier(),
71
71
  __metadata("design:type", Object)
@@ -86,7 +86,7 @@ __decorate([
86
86
  CircularProgressComponent = __decorate([
87
87
  CSSComponent('circular-progress')
88
88
  ], CircularProgressComponent);
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: CircularProgressComponent, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: CircularProgressComponent, decorators: [{
90
90
  type: Component,
91
91
  args: [{ standalone: true, selector: 'odx-circular-progress', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
92
92
  '[attr.aria-valuenow]': 'ariaValueNow',
@@ -1 +1 @@
1
- {"version":3,"file":"odx-angular-components-circular-progress.mjs","sources":["../../../../libs/angular/components/circular-progress/src/lib/models/circular-progress-size.ts","../../../../libs/angular/components/circular-progress/src/lib/circular-progress.component.ts","../../../../libs/angular/components/circular-progress/src/lib/circular-progress.component.html","../../../../libs/angular/components/circular-progress/src/odx-angular-components-circular-progress.ts"],"sourcesContent":["export type CircularProgressSize = typeof CircularProgressSize[keyof typeof CircularProgressSize];\n\nexport const CircularProgressSize = {\n AUTO: 'auto',\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","import { coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, OnChanges, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { fromElementResize$ } from '@odx/angular/rxjs';\nimport { hasChanged, injectElement, NgChanges, Transform, untilDestroyed } from '@odx/angular/utils';\nimport { CircularProgressSize } from './models/circular-progress-size';\n\n@CSSComponent('circular-progress')\n@Component({\n standalone: true,\n selector: 'odx-circular-progress',\n templateUrl: './circular-progress.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[attr.aria-valuenow]': 'ariaValueNow',\n '[attr.aria-valuemax]': '100',\n '[attr.aria-valuemin]': '0',\n '[attr.role]': '\"meter\"',\n },\n})\nexport class CircularProgressComponent implements OnChanges, AfterViewInit {\n public static ngAcceptInputType_size: NumberInput;\n public static ngAcceptInputType_stroke: NumberInput;\n public static ngAcceptInputType_value: NumberInput;\n\n private readonly changeDetector = inject(ChangeDetectorRef);\n private readonly takeUntilDestroyed = untilDestroyed();\n private _value = 0;\n\n protected readonly viewPortSize = 100;\n protected radius = 0;\n protected normalizedStroke = 0;\n protected circumference = 283;\n\n protected get ariaValueNow(): null | number {\n return this.indeterminate ? null : this.value;\n }\n\n protected get progressValue(): number {\n return this.indeterminate ? this.circumference : Math.floor((1 - this.value / 100) * this.circumference);\n }\n\n public readonly element = injectElement();\n\n @CSSModifier()\n public indeterminate = false;\n\n @Transform(coerceNumberProperty)\n @Input()\n public stroke = 4;\n\n @CSSModifier()\n @Input()\n public size = CircularProgressSize.MEDIUM;\n\n @Transform(coerceNumberProperty)\n @Input()\n public set value(value: unknown) {\n const coercedValue = coerceNumberProperty(value);\n if (coercedValue <= 100 && coercedValue >= -1) {\n this._value = coercedValue;\n this.indeterminate = coercedValue === -1;\n }\n }\n\n public get value(): number {\n return this._value;\n }\n\n public ngAfterViewInit(): void {\n fromElementResize$(this.element.nativeElement)\n .pipe(this.takeUntilDestroyed())\n .subscribe(() => this.updateDimensions());\n }\n\n public ngOnChanges(changes: NgChanges<CircularProgressComponent>): void {\n if (hasChanged(changes, ['stroke', 'size'])) {\n this.updateDimensions();\n }\n }\n\n private updateDimensions(): void {\n const normalizeFactor = this.viewPortSize / (this.element.nativeElement.offsetWidth || 1);\n\n this.normalizedStroke = normalizeFactor * this.stroke;\n if (normalizeFactor >= 3) {\n this.normalizedStroke = Math.max(0, this.normalizedStroke - normalizeFactor);\n }\n this.radius = this.viewPortSize / 2 - this.normalizedStroke / 2;\n this.circumference = Math.floor(2 * this.radius * Math.PI);\n this.changeDetector.detectChanges();\n }\n}\n","<svg class=\"odx-circular-progress__inner\" attr.viewBox=\"0 0 {{ viewPortSize }} {{ viewPortSize }}\">\n <circle class=\"odx-circular-progress__track\" [attr.stroke-width]=\"normalizedStroke\" [attr.r]=\"radius\" cx=\"50%\" cy=\"50%\" />\n <circle\n class=\"odx-circular-progress__indicator\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"progressValue\"\n [attr.stroke-width]=\"normalizedStroke\"\n [attr.r]=\"radius\"\n cx=\"50%\"\n cy=\"50%\"\n />\n</svg>\n<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEa,MAAA,oBAAoB,GAAG;AAClC,IAAA,IAAI,EAAE,MAAM;AACZ,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,KAAK,EAAE,OAAO;;;ACeH,IAAA,yBAAyB,GAA/B,MAAM,yBAAyB,CAAA;AAA/B,IAAA,WAAA,GAAA;AAKY,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;QAC3C,IAAkB,CAAA,kBAAA,GAAG,cAAc,EAAE,CAAC;QAC/C,IAAM,CAAA,MAAA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R;;AAEG;;;;"}
1
+ {"version":3,"file":"odx-angular-components-circular-progress.mjs","sources":["../../../../libs/angular/components/circular-progress/src/lib/models/circular-progress-size.ts","../../../../libs/angular/components/circular-progress/src/lib/circular-progress.component.ts","../../../../libs/angular/components/circular-progress/src/lib/circular-progress.component.html","../../../../libs/angular/components/circular-progress/src/odx-angular-components-circular-progress.ts"],"sourcesContent":["export type CircularProgressSize = typeof CircularProgressSize[keyof typeof CircularProgressSize];\n\nexport const CircularProgressSize = {\n AUTO: 'auto',\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n","import { coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, OnChanges, ViewEncapsulation } from '@angular/core';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { fromElementResize$ } from '@odx/angular/rxjs';\nimport { hasChanged, injectElement, NgChanges, Transform, untilDestroyed } from '@odx/angular/utils';\nimport { CircularProgressSize } from './models/circular-progress-size';\n\n@CSSComponent('circular-progress')\n@Component({\n standalone: true,\n selector: 'odx-circular-progress',\n templateUrl: './circular-progress.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[attr.aria-valuenow]': 'ariaValueNow',\n '[attr.aria-valuemax]': '100',\n '[attr.aria-valuemin]': '0',\n '[attr.role]': '\"meter\"',\n },\n})\nexport class CircularProgressComponent implements OnChanges, AfterViewInit {\n public static ngAcceptInputType_size: NumberInput;\n public static ngAcceptInputType_stroke: NumberInput;\n public static ngAcceptInputType_value: NumberInput;\n\n private readonly changeDetector = inject(ChangeDetectorRef);\n private readonly takeUntilDestroyed = untilDestroyed();\n private _value = 0;\n\n protected readonly viewPortSize = 100;\n protected radius = 0;\n protected normalizedStroke = 0;\n protected circumference = 283;\n\n protected get ariaValueNow(): null | number {\n return this.indeterminate ? null : this.value;\n }\n\n protected get progressValue(): number {\n return this.indeterminate ? this.circumference : Math.floor((1 - this.value / 100) * this.circumference);\n }\n\n public readonly element = injectElement();\n\n @CSSModifier()\n public indeterminate = false;\n\n @Transform(coerceNumberProperty)\n @Input()\n public stroke = 4;\n\n @CSSModifier()\n @Input()\n public size = CircularProgressSize.MEDIUM;\n\n @Transform(coerceNumberProperty)\n @Input()\n public set value(value: unknown) {\n const coercedValue = coerceNumberProperty(value);\n if (coercedValue <= 100 && coercedValue >= -1) {\n this._value = coercedValue;\n this.indeterminate = coercedValue === -1;\n }\n }\n\n public get value(): number {\n return this._value;\n }\n\n public ngAfterViewInit(): void {\n fromElementResize$(this.element.nativeElement)\n .pipe(this.takeUntilDestroyed())\n .subscribe(() => this.updateDimensions());\n }\n\n public ngOnChanges(changes: NgChanges<CircularProgressComponent>): void {\n if (hasChanged(changes, ['stroke', 'size'])) {\n this.updateDimensions();\n }\n }\n\n private updateDimensions(): void {\n const normalizeFactor = this.viewPortSize / (this.element.nativeElement.offsetWidth || 1);\n\n this.normalizedStroke = normalizeFactor * this.stroke;\n if (normalizeFactor >= 3) {\n this.normalizedStroke = Math.max(0, this.normalizedStroke - normalizeFactor);\n }\n this.radius = Math.max(0, this.viewPortSize / 2 - this.normalizedStroke / 2);\n this.circumference = Math.floor(2 * this.radius * Math.PI);\n this.changeDetector.detectChanges();\n }\n}\n","<svg class=\"odx-circular-progress__inner\" attr.viewBox=\"0 0 {{ viewPortSize }} {{ viewPortSize }}\">\n <circle class=\"odx-circular-progress__track\" [attr.stroke-width]=\"normalizedStroke\" [attr.r]=\"radius\" cx=\"50%\" cy=\"50%\" />\n <circle\n class=\"odx-circular-progress__indicator\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"progressValue\"\n [attr.stroke-width]=\"normalizedStroke\"\n [attr.r]=\"radius\"\n cx=\"50%\"\n cy=\"50%\"\n />\n</svg>\n<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"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MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAC/B,IAAA,EAAA;AACJ,wBAAA,sBAAsB,EAAE,cAAc;AACtC,wBAAA,sBAAsB,EAAE,KAAK;AAC7B,wBAAA,sBAAsB,EAAE,GAAG;AAC3B,wBAAA,aAAa,EAAE,SAAS;AACzB,qBAAA,EAAA,QAAA,EAAA,6hBAAA,EAAA,CAAA;AA2BM,SAAA,CAAA,EAAA,cAAA,EAAA,EAAA,aAAa,MAIb,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAKC,IAAI,EAAA,CAAA;sBADV,KAAK;gBAKK,KAAK,EAAA,CAAA;sBADf,KAAK;;;AEzDR;;AAEG;;;;"}
@@ -3,9 +3,9 @@ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, NgMod
3
3
 
4
4
  class ContentBoxComponent {
5
5
  }
6
- ContentBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
- ContentBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: ContentBoxComponent, isStandalone: true, selector: "odx-content-box", host: { properties: { "class.odx-content-box": "true" } }, ngImport: i0, template: "<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxComponent, decorators: [{
6
+ ContentBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
+ ContentBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: ContentBoxComponent, isStandalone: true, selector: "odx-content-box", host: { properties: { "class.odx-content-box": "true" } }, ngImport: i0, template: "<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'odx-content-box', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
11
11
  '[class.odx-content-box]': 'true',
@@ -14,9 +14,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
14
14
 
15
15
  class ContentBoxFooterDirective {
16
16
  }
17
- ContentBoxFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
- ContentBoxFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: ContentBoxFooterDirective, isStandalone: true, selector: "odx-content-box-footer", host: { properties: { "class.odx-content-box__footer": "true" } }, ngImport: i0 });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxFooterDirective, decorators: [{
17
+ ContentBoxFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
18
+ ContentBoxFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ContentBoxFooterDirective, isStandalone: true, selector: "odx-content-box-footer", host: { properties: { "class.odx-content-box__footer": "true" } }, ngImport: i0 });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxFooterDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  selector: 'odx-content-box-footer',
@@ -29,9 +29,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
29
29
 
30
30
  class ContentBoxHeaderDirective {
31
31
  }
32
- ContentBoxHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
- ContentBoxHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: ContentBoxHeaderDirective, isStandalone: true, selector: "odx-content-box-header", host: { properties: { "class.odx-content-box__header": "true" } }, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxHeaderDirective, decorators: [{
32
+ ContentBoxHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
33
+ ContentBoxHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ContentBoxHeaderDirective, isStandalone: true, selector: "odx-content-box-header", host: { properties: { "class.odx-content-box__header": "true" } }, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxHeaderDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'odx-content-box-header',
@@ -45,10 +45,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
45
45
  const modules = [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective];
46
46
  class ContentBoxModule {
47
47
  }
48
- ContentBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- ContentBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective], exports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective] });
50
- ContentBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContentBoxModule, decorators: [{
48
+ ContentBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ ContentBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective], exports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective] });
50
+ ContentBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent] });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ContentBoxModule, decorators: [{
52
52
  type: NgModule,
53
53
  args: [{
54
54
  imports: modules,
@@ -109,8 +109,8 @@ let DropdownDirective = class DropdownDirective {
109
109
  };
110
110
  }
111
111
  };
112
- DropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
113
- DropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: DropdownDirective, isStandalone: true, selector: "[odxDropdown]", inputs: { content: ["odxDropdown", "content"], disabled: ["odxDropdownDisabled", "disabled"], showLoader: ["odxDropdownShowLoader", "showLoader"], options: ["odxDropdownOptions", "options"], referenceElement: ["odxDropdownReferenceElement", "referenceElement"], triggerElement: ["odxDropdownTriggerElement", "triggerElement"], host: ["odxDropdownHost", "host"], openTrigger: ["odxDropdownOpenTrigger", "openTrigger"], closeTrigger: ["odxDropdownCloseTrigger", "closeTrigger"] }, outputs: { beforeOpen: "odxDropdownBeforeOpen", afterOpen: "odxDropdownAfterOpen", beforeClose: "odxDropdownBeforeClose", afterClose: "odxDropdownAfterClose" }, host: { properties: { "attr.aria-haspopup": "true", "attr.aria-expanded": "isOpen" } }, providers: [EventManager], exportAs: ["odxDropdown"], usesOnChanges: true, ngImport: i0 });
112
+ DropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
113
+ DropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: DropdownDirective, isStandalone: true, selector: "[odxDropdown]", inputs: { content: ["odxDropdown", "content"], disabled: ["odxDropdownDisabled", "disabled"], showLoader: ["odxDropdownShowLoader", "showLoader"], options: ["odxDropdownOptions", "options"], referenceElement: ["odxDropdownReferenceElement", "referenceElement"], triggerElement: ["odxDropdownTriggerElement", "triggerElement"], host: ["odxDropdownHost", "host"], openTrigger: ["odxDropdownOpenTrigger", "openTrigger"], closeTrigger: ["odxDropdownCloseTrigger", "closeTrigger"] }, outputs: { beforeOpen: "odxDropdownBeforeOpen", afterOpen: "odxDropdownAfterOpen", beforeClose: "odxDropdownBeforeClose", afterClose: "odxDropdownAfterClose" }, host: { properties: { "attr.aria-haspopup": "true", "attr.aria-expanded": "isOpen" } }, providers: [EventManager], exportAs: ["odxDropdown"], usesOnChanges: true, ngImport: i0 });
114
114
  __decorate([
115
115
  Transform(coerceBooleanProperty),
116
116
  __metadata("design:type", Object)
@@ -122,7 +122,7 @@ __decorate([
122
122
  DropdownDirective = __decorate([
123
123
  CSSComponent('dropdown-host')
124
124
  ], DropdownDirective);
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownDirective, decorators: [{
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownDirective, decorators: [{
126
126
  type: Directive,
127
127
  args: [{
128
128
  standalone: true,
@@ -185,12 +185,12 @@ let DropdownComponent = class DropdownComponent {
185
185
  this.host.close();
186
186
  }
187
187
  };
188
- DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
189
- DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: DropdownComponent, isStandalone: true, selector: "odx-dropdown", inputs: { content: "content" }, host: { listeners: { "odxDropdownClose": "onDropdownClose()" } }, ngImport: i0, template: "<div\n class=\"odx-dropdown__inner\"\n [odxLoadingSpinner]=\"host.showLoader\"\n [odxClickOutsideActive]=\"true\"\n (odxClickOutside)=\"host.close()\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "ngmodule", type: LoadingSpinnerModule }, { kind: "directive", type: i2.LoadingSpinnerDirective, selector: "[odxLoadingSpinner]", inputs: ["odxLoadingSpinnerAutoColor", "odxLoadingSpinner", "odxLoadingSpinnerMinHeight"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
188
+ DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
189
+ DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: DropdownComponent, isStandalone: true, selector: "odx-dropdown", inputs: { content: "content" }, host: { listeners: { "odxDropdownClose": "onDropdownClose()" } }, ngImport: i0, template: "<div\n class=\"odx-dropdown__inner\"\n [odxLoadingSpinner]=\"host.showLoader\"\n [odxClickOutsideActive]=\"true\"\n (odxClickOutside)=\"host.close()\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.ClickOutsideDirective, selector: "[odxClickOutside]", inputs: ["odxClickOutsideActive"], outputs: ["odxClickOutside"] }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }, { kind: "ngmodule", type: LoadingSpinnerModule }, { kind: "directive", type: i2.LoadingSpinnerDirective, selector: "[odxLoadingSpinner]", inputs: ["odxLoadingSpinnerAutoColor", "odxLoadingSpinner", "odxLoadingSpinnerMinHeight"] }, { kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
190
190
  DropdownComponent = __decorate([
191
191
  CSSComponent('dropdown')
192
192
  ], DropdownComponent);
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownComponent, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownComponent, decorators: [{
194
194
  type: Component,
195
195
  args: [{ standalone: true, selector: 'odx-dropdown', imports: [CoreModule, DynamicViewDirective, LoadingSpinnerModule, A11yModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"odx-dropdown__inner\"\n [odxLoadingSpinner]=\"host.showLoader\"\n [odxClickOutsideActive]=\"true\"\n (odxClickOutside)=\"host.close()\"\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n>\n <ng-template [odxDynamicView]=\"content\" [odxDynamicViewInjector]=\"injector\"></ng-template>\n</div>\n" }]
196
196
  }], propDecorators: { content: [{
@@ -203,10 +203,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
203
203
  const modules = [DropdownDirective];
204
204
  class DropdownModule {
205
205
  }
206
- DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
207
- DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: DropdownModule, imports: [DropdownDirective], exports: [CoreModule, DropdownDirective] });
208
- DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownModule, imports: [CoreModule] });
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DropdownModule, decorators: [{
206
+ DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
207
+ DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: DropdownModule, imports: [DropdownDirective], exports: [CoreModule, DropdownDirective] });
208
+ DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownModule, imports: [CoreModule] });
209
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: DropdownModule, decorators: [{
210
210
  type: NgModule,
211
211
  args: [{
212
212
  imports: modules,
@@ -12,6 +12,7 @@ import { coerceBooleanProperty } from '@angular/cdk/coercion';
12
12
 
13
13
  const { FormFieldDefaultModuleConfig, FormFieldModuleConfig, injectFormFieldModuleConfig } = createModuleConfigTokens('FormField', '@odx/angular/components/form-field', {
14
14
  errors: {},
15
+ ignoreErrors: [],
15
16
  updateOn: ['blur'],
16
17
  });
17
18
 
@@ -57,9 +58,9 @@ class FormFieldService extends Controller {
57
58
  }
58
59
  }
59
60
  FormFieldService.ID = 0;
60
- FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
61
- FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldService });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldService, decorators: [{
61
+ FormFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
62
+ FormFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldService });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldService, decorators: [{
63
64
  type: Injectable
64
65
  }] });
65
66
 
@@ -83,17 +84,15 @@ class FormFieldErrorService {
83
84
  this.customErrors$$.complete();
84
85
  }
85
86
  setError(errors) {
86
- if (!errors) {
87
- this.fieldError$$.next(null);
88
- }
89
- else {
90
- const [key, context] = Object.entries(errors)[0];
91
- this.fieldError$$.next({ key, context });
92
- }
87
+ this.fieldError$$.next(this.getFirstError(errors ?? {}));
93
88
  }
94
89
  registerCustomError(key, template) {
95
90
  this.customErrors$$.next({ ...this.customErrors$$.getValue(), [key || DEFAULT_CUSTOM_FORM_FIELD_ERROR]: template });
96
91
  }
92
+ getFirstError(errors) {
93
+ const [key, context] = Object.entries(errors ?? {}).find(([errorKey]) => !this.config.ignoreErrors.includes(errorKey)) ?? [];
94
+ return key ? { key, context } : null;
95
+ }
97
96
  resolveError(error, customErrors) {
98
97
  if (!error)
99
98
  return null;
@@ -110,9 +109,9 @@ class FormFieldErrorService {
110
109
  return { key, message: getMessage(context) };
111
110
  }
112
111
  }
113
- FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
114
- FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldErrorService });
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldErrorService, decorators: [{
112
+ FormFieldErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
113
+ FormFieldErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldErrorService });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldErrorService, decorators: [{
116
115
  type: Injectable
117
116
  }] });
118
117
 
@@ -124,12 +123,12 @@ let FormDirective = class FormDirective {
124
123
  this.reset$ = fromEvent(this.element.nativeElement, 'reset').pipe(this.takeUntilDestroyed(), share());
125
124
  }
126
125
  };
127
- FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
128
- FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
126
+ FormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
127
+ FormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: FormDirective, isStandalone: true, selector: "form[odxForm]", ngImport: i0 });
129
128
  FormDirective = __decorate([
130
129
  CSSComponent('form')
131
130
  ], FormDirective);
132
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormDirective, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormDirective, decorators: [{
133
132
  type: Directive,
134
133
  args: [{
135
134
  standalone: true,
@@ -185,13 +184,13 @@ let FormFieldControlDirective = class FormFieldControlDirective {
185
184
  return merge(this.onFormSubmit$, this.onFormReset$).pipe(switchMap(({ type }) => (type === 'submit' ? merge(statusChanges, valueChanges).pipe(startWith(true)) : NEVER)));
186
185
  }
187
186
  };
188
- FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
189
- FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
187
+ FormFieldControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
+ FormFieldControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldControlDirective, isStandalone: true, selector: "[odxFormFieldControl]", exportAs: ["odxFormFieldControl"], ngImport: i0 });
190
189
  FormFieldControlDirective = __decorate([
191
190
  CSSComponent('form-field-control'),
192
191
  __metadata("design:paramtypes", [])
193
192
  ], FormFieldControlDirective);
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldControlDirective, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldControlDirective, decorators: [{
195
194
  type: Directive,
196
195
  args: [{
197
196
  standalone: true,
@@ -209,9 +208,9 @@ class FormFieldErrorDirective {
209
208
  this.formFieldErrorService.registerCustomError(this.key, this.template);
210
209
  }
211
210
  }
212
- FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
213
- FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
211
+ FormFieldErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
212
+ FormFieldErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldErrorDirective, isStandalone: true, selector: "[odxFormFieldError]", inputs: { key: ["odxFormFieldError", "key"] }, ngImport: i0 });
213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldErrorDirective, decorators: [{
215
214
  type: Directive,
216
215
  args: [{
217
216
  standalone: true,
@@ -228,9 +227,9 @@ class FormFieldHintDirective {
228
227
  reactiveAttributeBinding(inject(FormFieldService).controlHintId$, 'id');
229
228
  }
230
229
  }
231
- FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
232
- FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldHintDirective, decorators: [{
230
+ FormFieldHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
231
+ FormFieldHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldHintDirective, isStandalone: true, selector: "odx-form-field-hint", host: { properties: { "class.odx-form-field__hint": "true" } }, ngImport: i0 });
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldHintDirective, decorators: [{
234
233
  type: Directive,
235
234
  args: [{
236
235
  standalone: true,
@@ -246,12 +245,12 @@ let FormFieldLabelDirective = class FormFieldLabelDirective {
246
245
  this.element = injectElement();
247
246
  }
248
247
  };
249
- FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
250
- FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
248
+ FormFieldLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
249
+ FormFieldLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldLabelDirective, isStandalone: true, selector: "odx-form-field-label", ngImport: i0 });
251
250
  FormFieldLabelDirective = __decorate([
252
251
  CSSComponent('form-field-label')
253
252
  ], FormFieldLabelDirective);
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldLabelDirective, decorators: [{
255
254
  type: Directive,
256
255
  args: [{
257
256
  standalone: true,
@@ -265,9 +264,9 @@ class FormFieldInfoComponent {
265
264
  this.error = null;
266
265
  }
267
266
  }
268
- FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
- FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldInfoComponent, isStandalone: true, selector: "odx-form-field-info", inputs: { error: "error" }, host: { properties: { "class.odx-form-field__info": "true" } }, ngImport: i0, template: "<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], encapsulation: i0.ViewEncapsulation.None });
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
267
+ FormFieldInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
268
+ FormFieldInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldInfoComponent, isStandalone: true, selector: "odx-form-field-info", inputs: { error: "error" }, host: { properties: { "class.odx-form-field__info": "true" } }, ngImport: i0, template: "<span class=\"odx-form-field-error\" [attr.id]=\"formFieldService.controlErrorId$ | async\" *ngIf=\"error; else hint\">\n <ng-template [odxDynamicView]=\"error.message\" [odxDynamicViewContext]=\"error.context\"></ng-template>\n</span>\n<ng-template #hint>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "directive", type: DynamicViewDirective, selector: "ng-template[odxDynamicView]", inputs: ["odxDynamicView", "odxDynamicViewInjector", "odxDynamicViewContext"] }], encapsulation: i0.ViewEncapsulation.None });
269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldInfoComponent, decorators: [{
271
270
  type: Component,
272
271
  args: [{ standalone: true, selector: 'odx-form-field-info', encapsulation: ViewEncapsulation.None, imports: [CoreModule, DynamicViewDirective, FormFieldHintDirective], host: {
273
272
  '[class.odx-form-field__info]': 'true',
@@ -285,12 +284,12 @@ let FormGroupComponent = class FormGroupComponent {
285
284
  this.error$ = this.formFieldErrorServices.changes.pipe(startWith(this.formFieldErrorServices), switchMap((services) => combineLatest(services.map((service) => service.error$))), map((errors) => errors.find((error) => error !== null) ?? null));
286
285
  }
287
286
  };
288
- FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
289
- FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: FormGroupComponent, isStandalone: true, selector: "odx-form-group", providers: [FormFieldService], queries: [{ propertyName: "formFieldErrorServices", predicate: FormFieldErrorService }], ngImport: i0, template: "<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
287
+ FormGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
288
+ FormGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: FormGroupComponent, isStandalone: true, selector: "odx-form-group", providers: [FormFieldService], queries: [{ propertyName: "formFieldErrorServices", predicate: FormFieldErrorService }], ngImport: i0, template: "<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
290
289
  FormGroupComponent = __decorate([
291
290
  CSSComponent('form-group')
292
291
  ], FormGroupComponent);
293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormGroupComponent, decorators: [{
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormGroupComponent, decorators: [{
294
293
  type: Component,
295
294
  args: [{ standalone: true, selector: 'odx-form-group', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CoreModule, FormFieldInfoComponent], providers: [FormFieldService], template: "<div class=\"odx-form-group__content\" odxLayout=\"grid auto vertical-end\">\n <ng-content select=\"odx-form-field\"> </ng-content>\n</div>\n<odx-form-field-info [error]=\"error$ | async\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n</odx-form-field-info>\n" }]
296
295
  }], propDecorators: { formFieldErrorServices: [{
@@ -329,8 +328,8 @@ let FormFieldComponent = class FormFieldComponent {
329
328
  reactiveClassBinding(hasWarning$, 'has-warning');
330
329
  }
331
330
  };
332
- FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
333
- FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label", hasWarning: "hasWarning", variant: "variant" }, providers: [FormFieldService, FormFieldErrorService, ReadonlyController.connect()], queries: [{ propertyName: "labelDirective", first: true, predicate: FormFieldLabelDirective, descendants: true }], ngImport: i0, template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }, { kind: "directive", type: FormFieldLabelDirective, selector: "odx-form-field-label" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
331
+ FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
332
+ FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: FormFieldComponent, isStandalone: true, selector: "odx-form-field", inputs: { label: "label", hasWarning: "hasWarning", variant: "variant" }, providers: [FormFieldService, FormFieldErrorService, ReadonlyController.connect()], queries: [{ propertyName: "labelDirective", first: true, predicate: FormFieldLabelDirective, descendants: true }], ngImport: i0, template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: FormFieldInfoComponent, selector: "odx-form-field-info", inputs: ["error"] }, { kind: "directive", type: FormFieldLabelDirective, selector: "odx-form-field-label" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
334
333
  __decorate([
335
334
  CSSModifier(),
336
335
  __metadata("design:type", Object)
@@ -339,7 +338,7 @@ FormFieldComponent = __decorate([
339
338
  CSSComponent('form-field'),
340
339
  __metadata("design:paramtypes", [])
341
340
  ], FormFieldComponent);
342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldComponent, decorators: [{
341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldComponent, decorators: [{
343
342
  type: Component,
344
343
  args: [{ standalone: true, selector: 'odx-form-field', imports: [CoreModule, FormFieldInfoComponent, FormFieldLabelDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [FormFieldService, FormFieldErrorService, ReadonlyController.connect()], template: "<label class=\"odx-form-field__label\" [attr.for]=\"formFieldService.controlId$ | async\" [attr.aria-owns]=\"formFieldService.controlId$ | async\" *ngIf=\"hasLabel\">\n <odx-form-field-label *ngIf=\"label; else labelTemplate\">\n {{ label }}\n </odx-form-field-label>\n <ng-template #labelTemplate>\n <ng-content select=\"odx-form-field-label\"></ng-content>\n </ng-template>\n</label>\n<div class=\"odx-form-field__inner\">\n <div class=\"odx-form-field__control\">\n <div class=\"odx-form-field__prefix\">\n <ng-content select=\"[odxFormFieldPrefix]\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"odx-form-field__suffix\">\n <ng-content select=\"[odxFormFieldSuffix]\"></ng-content>\n </div>\n </div>\n <odx-form-field-info [error]=\"formFieldErrorService.error$ | async\" *ngIf=\"!formGroup\">\n <ng-content select=\"odx-form-field-hint\"></ng-content>\n </odx-form-field-info>\n</div>\n" }]
345
344
  }], ctorParameters: function () { return []; }, propDecorators: { labelDirective: [{
@@ -370,8 +369,8 @@ class FormFieldModule {
370
369
  };
371
370
  }
372
371
  }
373
- FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
374
- FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.1", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
372
+ FormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
373
+ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
375
374
  FormGroupComponent,
376
375
  FormDirective,
377
376
  FormFieldControlDirective,
@@ -384,9 +383,9 @@ FormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
384
383
  FormFieldErrorDirective,
385
384
  FormFieldHintDirective,
386
385
  FormFieldLabelDirective] });
387
- FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
386
+ FormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldModule, imports: [FormFieldComponent,
388
387
  FormGroupComponent, CoreModule] });
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: FormFieldModule, decorators: [{
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormFieldModule, decorators: [{
390
389
  type: NgModule,
391
390
  args: [{
392
391
  imports: modules,