@mtna/web-form-angular 1.0.2-SNAPSHOT.1 → 1.0.2-SNAPSHOT.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 (183) hide show
  1. package/_index.scss +2 -2
  2. package/bundles/mtna-web-form-angular.umd.js +1495 -694
  3. package/bundles/mtna-web-form-angular.umd.js.map +1 -1
  4. package/esm2015/lib/components/acknowledge-dialog/acknowledge-dialog.component.js +2 -2
  5. package/esm2015/lib/components/base-form/base-form.component.js +243 -0
  6. package/esm2015/lib/components/base-form/index.js +2 -0
  7. package/esm2015/lib/components/base-items/base-form-item-control.component.js +7 -5
  8. package/esm2015/lib/components/base-items/base-form-item.component.js +8 -5
  9. package/esm2015/lib/components/base-items/base-group-item.component.js +6 -5
  10. package/esm2015/lib/components/base-items/base-parent-value-item.component.js +4 -2
  11. package/esm2015/lib/components/base-items/base-section-item.component.js +7 -5
  12. package/esm2015/lib/components/base-items/base-single-selection-parent-value-item.component.js +4 -6
  13. package/esm2015/lib/components/base-items/base-value-item.component.js +2 -1
  14. package/esm2015/lib/components/form/form.component.js +13 -239
  15. package/esm2015/lib/components/form-item/form-item.component.js +7 -3
  16. package/esm2015/lib/components/form-item/form-item.module.js +26 -6
  17. package/esm2015/lib/components/form-item-component-provider/form-item-injected-components.js +7 -1
  18. package/esm2015/lib/components/form-item-dialog/form-item-dialog.component.js +6 -5
  19. package/esm2015/lib/components/form-item-dialog/form-item-dialog.module.js +5 -4
  20. package/esm2015/lib/components/form-item-impl/boolean/boolean.component.js +7 -6
  21. package/esm2015/lib/components/form-item-impl/boolean/boolean.module.js +28 -5
  22. package/esm2015/lib/components/form-item-impl/checkbox/checkbox.component.js +11 -10
  23. package/esm2015/lib/components/form-item-impl/checkbox/checkbox.module.js +11 -3
  24. package/esm2015/lib/components/form-item-impl/date/date.component.js +8 -7
  25. package/esm2015/lib/components/form-item-impl/date/date.module.js +2 -2
  26. package/esm2015/lib/components/form-item-impl/date-range/date-range.component.js +7 -3
  27. package/esm2015/lib/components/form-item-impl/date-range/date-range.module.js +2 -2
  28. package/esm2015/lib/components/form-item-impl/dropdown/dropdown.component.js +3 -3
  29. package/esm2015/lib/components/form-item-impl/file-upload/file-upload.component.js +8 -7
  30. package/esm2015/lib/components/form-item-impl/form-group/form-group.component.js +3 -3
  31. package/esm2015/lib/components/form-item-impl/form-group/form-group.module.js +2 -2
  32. package/esm2015/lib/components/form-item-impl/form-section/form-section.component.js +5 -4
  33. package/esm2015/lib/components/form-item-impl/form-section/form-section.module.js +6 -5
  34. package/esm2015/lib/components/form-item-impl/i18n-input/i18n-input.component.js +19 -13
  35. package/esm2015/lib/components/form-item-impl/input/input.component.js +23 -16
  36. package/esm2015/lib/components/form-item-impl/multiple-choice/multiple-choice.component.js +7 -6
  37. package/esm2015/lib/components/form-item-impl/multiple-choice/multiple-choice.module.js +7 -3
  38. package/esm2015/lib/components/form-item-impl/ordered-list/ordered-list-item.component.js +1 -1
  39. package/esm2015/lib/components/form-item-impl/ordered-list/ordered-list-item.module.js +2 -2
  40. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +10 -8
  41. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.js +6 -2
  42. package/esm2015/lib/components/form-item-impl/search/resource-search.component.js +8 -8
  43. package/esm2015/lib/components/form-item-impl/table-item/table-item.component.js +2 -2
  44. package/esm2015/lib/components/form-item-impl/text/text.component.js +3 -2
  45. package/esm2015/lib/components/form-item-impl/text/text.module.js +2 -2
  46. package/esm2015/lib/components/form-item-impl/title/title.component.js +3 -2
  47. package/esm2015/lib/components/form-item-impl/title/title.module.js +2 -2
  48. package/esm2015/lib/components/form-item-impl/unordered-list/unordered-list-item.component.js +1 -1
  49. package/esm2015/lib/components/form-item-impl/unordered-list/unordered-list-item.module.js +2 -2
  50. package/esm2015/lib/components/form-item-impl/year-quarter/year-quarter.component.js +7 -8
  51. package/esm2015/lib/components/form-item-impl/year-quarter-range/year-quarter-range.component.js +3 -3
  52. package/esm2015/lib/components/form-item-impl/year-quarter-range/year-quarter-range.module.js +2 -2
  53. package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +14 -9
  54. package/esm2015/lib/components/form-stepper/form-step/form-step.component.js +10 -3
  55. package/esm2015/lib/components/form-stepper/form-step-group/form-step-group.component.js +4 -2
  56. package/esm2015/lib/components/form-stepper/form-stepper/form-stepper.component.js +52 -10
  57. package/esm2015/lib/components/form-stepper/form-stepper.module.js +17 -5
  58. package/esm2015/lib/components/index.js +2 -1
  59. package/esm2015/lib/components/progressive-form/index.js +3 -0
  60. package/esm2015/lib/components/progressive-form/progressive-form/index.js +3 -0
  61. package/esm2015/lib/components/progressive-form/progressive-form/progressive-form.component.js +287 -0
  62. package/esm2015/lib/components/progressive-form/progressive-form/progressive-form.module.js +68 -0
  63. package/esm2015/lib/components/progressive-form/progressive-form-section/index.js +3 -0
  64. package/esm2015/lib/components/progressive-form/progressive-form-section/progressive-form-section.component.js +27 -0
  65. package/esm2015/lib/components/progressive-form/progressive-form-section/progressive-form-section.module.js +54 -0
  66. package/esm2015/lib/components/step-card/step-card.component.js +10 -2
  67. package/esm2015/lib/components/step-card/step-card.module.js +27 -4
  68. package/esm2015/lib/models/form-stepper/form-step-group.model.js +8 -2
  69. package/esm2015/lib/models/form-stepper/form-step.model.js +7 -1
  70. package/esm2015/lib/models/index.js +2 -1
  71. package/esm2015/lib/models/progressive-form/index.js +4 -0
  72. package/esm2015/lib/models/progressive-form/outline-step.model.js +2 -0
  73. package/esm2015/lib/models/progressive-form/progressive-form-section.model.js +6 -0
  74. package/esm2015/lib/models/progressive-form/progressive-form.model.js +6 -0
  75. package/esm2015/lib/pipes/child-step-active.pipe.js +28 -0
  76. package/esm2015/lib/pipes/coerce-form-control.pipe.js +1 -3
  77. package/esm2015/lib/pipes/coerce-form-item.pipe.js +36 -0
  78. package/esm2015/lib/pipes/coerce-form-step-group.pipe.js +29 -0
  79. package/esm2015/lib/pipes/coerce-form-step.pipe.js +29 -0
  80. package/esm2015/lib/pipes/date-quarter.pipe.js +13 -13
  81. package/esm2015/lib/pipes/get-active-form-step-item.pipe.js +33 -0
  82. package/esm2015/lib/pipes/get-progressive-form-item.pipe.js +40 -0
  83. package/esm2015/lib/pipes/get-selected-option.pipe.js +4 -3
  84. package/esm2015/lib/pipes/get-step-aria-label.pipe.js +55 -0
  85. package/esm2015/lib/pipes/index.js +8 -1
  86. package/esm2015/lib/pipes/items-with-value.pipe.js +5 -10
  87. package/esm2015/lib/services/dialog.service.js +4 -4
  88. package/esm2015/lib/services/form-manager.service.js +19 -7
  89. package/esm2015/lib/services/ng-form.service.js +7 -1
  90. package/esm2015/lib/services/ui.service.js +15 -15
  91. package/esm2015/lib/utilities/generate-form-steps.js +20 -5
  92. package/esm2015/lib/utilities/serializer-util.js +22 -10
  93. package/esm2015/lib/utilities/update-step-status.js +1 -1
  94. package/esm2015/public-api.js +1 -2
  95. package/fesm2015/mtna-web-form-angular.js +1188 -482
  96. package/fesm2015/mtna-web-form-angular.js.map +1 -1
  97. package/lib/components/base-form/base-form.component.d.ts +89 -0
  98. package/lib/components/base-form/index.d.ts +1 -0
  99. package/lib/components/base-items/base-form-item-control.component.d.ts +2 -0
  100. package/lib/components/base-items/base-form-item.component.d.ts +3 -1
  101. package/lib/components/base-items/base-group-item.component.d.ts +2 -0
  102. package/lib/components/base-items/base-section-item.component.d.ts +2 -1
  103. package/lib/components/base-items/base-single-selection-parent-value-item.component.d.ts +0 -1
  104. package/lib/components/base-items/base-value-item.component.d.ts +1 -2
  105. package/lib/components/form/form.component.d.ts +4 -86
  106. package/lib/components/form-item/form-item.component.d.ts +3 -2
  107. package/lib/components/form-item/form-item.module.d.ts +2 -1
  108. package/lib/components/form-item-dialog/form-item-dialog.module.d.ts +2 -1
  109. package/lib/components/form-item-impl/boolean/boolean.component.d.ts +2 -1
  110. package/lib/components/form-item-impl/boolean/boolean.module.d.ts +2 -1
  111. package/lib/components/form-item-impl/checkbox/_checkbox-theme.scss +11 -2
  112. package/lib/components/form-item-impl/checkbox/checkbox.component.d.ts +3 -2
  113. package/lib/components/form-item-impl/checkbox/checkbox.module.d.ts +11 -9
  114. package/lib/components/form-item-impl/date/date.component.d.ts +3 -2
  115. package/lib/components/form-item-impl/date-range/date-range.component.d.ts +2 -1
  116. package/lib/components/form-item-impl/dropdown/_dropdown-theme.scss +35 -0
  117. package/lib/components/form-item-impl/dropdown/dropdown.component.d.ts +1 -1
  118. package/lib/components/form-item-impl/file-upload/file-upload.component.d.ts +4 -3
  119. package/lib/components/form-item-impl/form-group/form-group.component.d.ts +1 -1
  120. package/lib/components/form-item-impl/form-section/form-section.module.d.ts +2 -1
  121. package/lib/components/form-item-impl/i18n-input/i18n-input.component.d.ts +6 -7
  122. package/lib/components/form-item-impl/input/input.component.d.ts +7 -8
  123. package/lib/components/form-item-impl/multiple-choice/multiple-choice.component.d.ts +1 -1
  124. package/lib/components/form-item-impl/multiple-choice/multiple-choice.module.d.ts +2 -1
  125. package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.d.ts +5 -3
  126. package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.d.ts +2 -1
  127. package/lib/components/form-item-impl/search/resource-search.component.d.ts +3 -2
  128. package/lib/components/form-item-impl/table-item/table-item.component.d.ts +1 -1
  129. package/lib/components/form-item-impl/title/_title-theme.scss +28 -0
  130. package/lib/components/form-item-impl/year-quarter/year-quarter.component.d.ts +4 -4
  131. package/lib/components/form-item-injector/form-item-injector.component.d.ts +6 -2
  132. package/lib/components/form-stepper/form-step/form-step.component.d.ts +7 -0
  133. package/lib/components/form-stepper/form-step-group/form-step-group.component.d.ts +2 -0
  134. package/lib/components/form-stepper/form-stepper/_form-stepper-theme.scss +30 -15
  135. package/lib/components/form-stepper/form-stepper/form-stepper.component.d.ts +15 -1
  136. package/lib/components/form-stepper/form-stepper.module.d.ts +5 -1
  137. package/lib/components/index.d.ts +1 -0
  138. package/lib/components/progressive-form/index.d.ts +2 -0
  139. package/lib/components/progressive-form/progressive-form/index.d.ts +2 -0
  140. package/lib/components/progressive-form/progressive-form/progressive-form.component.d.ts +101 -0
  141. package/lib/components/progressive-form/progressive-form/progressive-form.module.d.ts +19 -0
  142. package/lib/components/progressive-form/progressive-form-section/index.d.ts +2 -0
  143. package/lib/components/progressive-form/progressive-form-section/progressive-form-section.component.d.ts +9 -0
  144. package/lib/components/progressive-form/progressive-form-section/progressive-form-section.module.d.ts +16 -0
  145. package/lib/components/step-card/step-card.component.d.ts +3 -1
  146. package/lib/components/step-card/step-card.module.d.ts +2 -1
  147. package/lib/core/_all-color.scss +4 -2
  148. package/lib/core/_all-theme.scss +4 -2
  149. package/lib/core/_all-typography.scss +4 -2
  150. package/lib/core/_core-theme.scss +0 -18
  151. package/lib/models/form-stepper/form-step-group.model.d.ts +5 -1
  152. package/lib/models/form-stepper/form-step.model.d.ts +3 -0
  153. package/lib/models/index.d.ts +1 -0
  154. package/lib/models/progressive-form/index.d.ts +3 -0
  155. package/lib/models/progressive-form/outline-step.model.d.ts +7 -0
  156. package/lib/models/progressive-form/progressive-form-section.model.d.ts +4 -0
  157. package/lib/models/progressive-form/progressive-form.model.d.ts +7 -0
  158. package/lib/pipes/child-step-active.pipe.d.ts +13 -0
  159. package/lib/pipes/coerce-form-item.pipe.d.ts +14 -0
  160. package/lib/pipes/coerce-form-step-group.pipe.d.ts +13 -0
  161. package/lib/pipes/coerce-form-step.pipe.d.ts +13 -0
  162. package/lib/pipes/get-active-form-step-item.pipe.d.ts +13 -0
  163. package/lib/pipes/get-progressive-form-item.pipe.d.ts +14 -0
  164. package/lib/pipes/get-step-aria-label.pipe.d.ts +17 -0
  165. package/lib/pipes/index.d.ts +7 -0
  166. package/lib/pipes/items-with-value.pipe.d.ts +0 -1
  167. package/lib/services/dialog.service.d.ts +1 -0
  168. package/lib/services/form-manager.service.d.ts +13 -4
  169. package/lib/services/ng-form.service.d.ts +6 -0
  170. package/lib/utilities/generate-form-steps.d.ts +5 -1
  171. package/lib/utilities/update-step-status.d.ts +2 -2
  172. package/package.json +2 -2
  173. package/public-api.d.ts +0 -1
  174. package/esm2015/lib/directives/base-form-item-control.directive.js +0 -59
  175. package/esm2015/lib/directives/base-parent-item-control.directive.js +0 -42
  176. package/esm2015/lib/directives/base-single-selection-parent.directive.js +0 -53
  177. package/esm2015/lib/directives/form-item.directive.js +0 -22
  178. package/esm2015/lib/directives/index.js +0 -5
  179. package/lib/directives/base-form-item-control.directive.d.ts +0 -26
  180. package/lib/directives/base-parent-item-control.directive.d.ts +0 -19
  181. package/lib/directives/base-single-selection-parent.directive.d.ts +0 -26
  182. package/lib/directives/form-item.directive.d.ts +0 -13
  183. package/lib/directives/index.d.ts +0 -4
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/cdk/coercion'), require('@mtna/web-form-ts'), require('@angular/forms'), require('@mtna/core-ts'), require('@angular/material/core'), require('@angular/animations'), require('rxjs'), require('@mtna/pojo-social-angular'), require('@mtna/core-angular'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/common'), require('@angular/platform-browser'), require('@angular/material/button'), require('@angular/material-moment-adapter'), require('rxjs/operators'), require('@angular/common/http'), require('@mtna/search-manager-angular'), require('@angular/cdk/a11y'), require('@angular/flex-layout'), require('@angular/material/divider'), require('@angular/material/icon'), require('@angular/material/tooltip'), require('@angular/flex-layout/flex'), require('@angular/material/card'), require('@angular/material/slide-toggle'), require('@angular/material/checkbox'), require('@angular/material/form-field'), require('@angular/material/datepicker'), require('@angular/material/input'), require('@angular/material/list'), require('@mtna/file-manager-angular'), require('@angular/material/progress-spinner'), require('@angular/flex-layout/extended'), require('@mtna/core-i18n-angular'), require('@angular/material/table')) :
3
- typeof define === 'function' && define.amd ? define('@mtna/web-form-angular', ['exports', '@angular/core', '@angular/material/dialog', '@angular/cdk/coercion', '@mtna/web-form-ts', '@angular/forms', '@mtna/core-ts', '@angular/material/core', '@angular/animations', 'rxjs', '@mtna/pojo-social-angular', '@mtna/core-angular', '@angular/material/radio', '@angular/material/select', '@angular/common', '@angular/platform-browser', '@angular/material/button', '@angular/material-moment-adapter', 'rxjs/operators', '@angular/common/http', '@mtna/search-manager-angular', '@angular/cdk/a11y', '@angular/flex-layout', '@angular/material/divider', '@angular/material/icon', '@angular/material/tooltip', '@angular/flex-layout/flex', '@angular/material/card', '@angular/material/slide-toggle', '@angular/material/checkbox', '@angular/material/form-field', '@angular/material/datepicker', '@angular/material/input', '@angular/material/list', '@mtna/file-manager-angular', '@angular/material/progress-spinner', '@angular/flex-layout/extended', '@mtna/core-i18n-angular', '@angular/material/table'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.mtna = global.mtna || {}, global.mtna["web-form-angular"] = {}), global.ng.core, global.ng.material.dialog, global.ng.cdk.coercion, global.webFormTs, global.ng.forms, global.coreTs, global.ng.material.core, global.ng.animations, global.rxjs, global.i2$1, global.i1$1, global.ng.material.radio, global.ng.material.select, global.ng.common, global.ng.platformBrowser, global.ng.material.button, global.ng.materialMomentAdapter, global.rxjs.operators, global.ng.common.http, global.i1$5, global.ng.cdk.a11y, global.ng.flexLayout, global.ng.material.divider, global.ng.material.icon, global.ng.material.tooltip, global.ng.flexLayout.flex, global.ng.material.card, global.ng.material.slideToggle, global.ng.material.checkbox, global.ng.material.formField, global.ng.material.datepicker, global.ng.material.input, global.ng.material.list, global.i1$8, global.ng.material.progressSpinner, global.ng.flexLayout.extended, global.coreI18nAngular, global.ng.material.table));
5
- })(this, (function (exports, i0, i1, coercion, webFormTs, i6, coreTs, i3, animations, rxjs, i2$1, i1$1, i1$2, i2, i4, i1$3, i3$1, materialMomentAdapter, operators, i1$4, i1$5, i4$1, flexLayout, i2$2, i5, i6$1, i3$2, i1$6, i2$3, i2$4, i1$7, i3$3, i5$1, i4$2, i1$8, i5$2, i6$2, coreI18nAngular, i1$9) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/cdk/coercion'), require('@mtna/web-form-ts'), require('rxjs'), require('@angular/forms'), require('@mtna/core-ts'), require('@angular/material/core'), require('@angular/animations'), require('@mtna/pojo-social-angular'), require('@mtna/core-angular'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/common'), require('@angular/platform-browser'), require('@angular/material/button'), require('@angular/material-moment-adapter'), require('rxjs/operators'), require('@angular/common/http'), require('@mtna/search-manager-angular'), require('@angular/cdk/a11y'), require('@angular/flex-layout'), require('@angular/material/divider'), require('@angular/material/icon'), require('@angular/material/tooltip'), require('@angular/flex-layout/flex'), require('@angular/flex-layout/extended'), require('@angular/material/card'), require('@angular/material/slide-toggle'), require('@angular/material/checkbox'), require('@angular/material/form-field'), require('@angular/material/datepicker'), require('@angular/material/input'), require('@angular/material/list'), require('@mtna/file-manager-angular'), require('@angular/material/progress-spinner'), require('@mtna/core-i18n-angular'), require('@angular/material/table')) :
3
+ typeof define === 'function' && define.amd ? define('@mtna/web-form-angular', ['exports', '@angular/core', '@angular/material/dialog', '@angular/cdk/coercion', '@mtna/web-form-ts', 'rxjs', '@angular/forms', '@mtna/core-ts', '@angular/material/core', '@angular/animations', '@mtna/pojo-social-angular', '@mtna/core-angular', '@angular/material/radio', '@angular/material/select', '@angular/common', '@angular/platform-browser', '@angular/material/button', '@angular/material-moment-adapter', 'rxjs/operators', '@angular/common/http', '@mtna/search-manager-angular', '@angular/cdk/a11y', '@angular/flex-layout', '@angular/material/divider', '@angular/material/icon', '@angular/material/tooltip', '@angular/flex-layout/flex', '@angular/flex-layout/extended', '@angular/material/card', '@angular/material/slide-toggle', '@angular/material/checkbox', '@angular/material/form-field', '@angular/material/datepicker', '@angular/material/input', '@angular/material/list', '@mtna/file-manager-angular', '@angular/material/progress-spinner', '@mtna/core-i18n-angular', '@angular/material/table'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.mtna = global.mtna || {}, global.mtna["web-form-angular"] = {}), global.ng.core, global.ng.material.dialog, global.ng.cdk.coercion, global.webFormTs, global.rxjs, global.ng.forms, global.coreTs, global.ng.material.core, global.ng.animations, global.i2$1, global.i4, global.ng.material.radio, global.ng.material.select, global.ng.common, global.ng.platformBrowser, global.ng.material.button, global.ng.materialMomentAdapter, global.rxjs.operators, global.ng.common.http, global.i1$4, global.ng.cdk.a11y, global.ng.flexLayout, global.ng.material.divider, global.ng.material.icon, global.ng.material.tooltip, global.ng.flexLayout.flex, global.ng.flexLayout.extended, global.ng.material.card, global.ng.material.slideToggle, global.ng.material.checkbox, global.ng.material.formField, global.ng.material.datepicker, global.ng.material.input, global.ng.material.list, global.i1$7, global.ng.material.progressSpinner, global.coreI18nAngular, global.ng.material.table));
5
+ })(this, (function (exports, i0, i1, coercion, webFormTs, rxjs, i6, coreTs, i3, animations, i2$1, i4, i1$1, i2, i3$1, i1$2, i3$2, materialMomentAdapter, operators, i1$3, i1$4, i4$1, flexLayout, i2$2, i5, i6$1, i3$3, i7, i1$5, i2$3, i2$4, i1$6, i3$4, i5$1, i4$2, i1$7, i5$2, coreI18nAngular, i1$8) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -25,32 +25,32 @@
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
27
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
28
- var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3);
28
+ var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3);
29
29
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2$1);
30
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
31
- var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$2);
32
- var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2);
33
30
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
34
- var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
31
+ var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$1);
32
+ var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2);
35
33
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
36
- var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$4);
37
- var i1__namespace$8 = /*#__PURE__*/_interopNamespace(i1$5);
34
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
35
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$2);
36
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
37
+ var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$4);
38
38
  var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
39
39
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$2);
40
40
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
41
41
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
42
- var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$2);
43
- var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$6);
42
+ var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$3);
43
+ var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
44
+ var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$5);
44
45
  var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$3);
45
46
  var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$4);
46
- var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$7);
47
- var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3$3);
47
+ var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$6);
48
+ var i3__namespace$4 = /*#__PURE__*/_interopNamespace(i3$4);
48
49
  var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
49
50
  var i4__namespace$2 = /*#__PURE__*/_interopNamespace(i4$2);
50
- var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$8);
51
+ var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$7);
51
52
  var i5__namespace$2 = /*#__PURE__*/_interopNamespace(i5$2);
52
- var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
53
- var i1__namespace$9 = /*#__PURE__*/_interopNamespace(i1$9);
53
+ var i1__namespace$8 = /*#__PURE__*/_interopNamespace(i1$8);
54
54
 
55
55
  /******************************************************************************
56
56
  Copyright (c) Microsoft Corporation.
@@ -529,6 +529,91 @@
529
529
  __disposeResources: __disposeResources,
530
530
  };
531
531
 
532
+ var BaseFormStep = /** @class */ (function () {
533
+ function BaseFormStep(instanceId) {
534
+ this.instanceId = instanceId;
535
+ }
536
+ return BaseFormStep;
537
+ }());
538
+
539
+ var FormStepGroup = /** @class */ (function (_super) {
540
+ __extends(FormStepGroup, _super);
541
+ function FormStepGroup(steps, instanceId, collapsed, label, num) {
542
+ if (collapsed === void 0) { collapsed = false; }
543
+ var _this = _super.call(this, instanceId) || this;
544
+ _this.steps = steps;
545
+ _this.collapsed = collapsed;
546
+ _this.label = label;
547
+ _this.num = num;
548
+ _this.className = 'FormStepGroup';
549
+ return _this;
550
+ }
551
+ return FormStepGroup;
552
+ }(BaseFormStep));
553
+ function isFormStepGroup(something) {
554
+ return coreTs.isType(something, 'steps') && Array.isArray(something.steps);
555
+ }
556
+ function instanceOfFormStepGroup(something) {
557
+ return coreTs.isType(something, 'className') && something.className === 'FormStepGroup';
558
+ }
559
+
560
+ var FormStep = /** @class */ (function (_super) {
561
+ __extends(FormStep, _super);
562
+ function FormStep(num, label, instanceId, optional) {
563
+ if (optional === void 0) { optional = false; }
564
+ var _this = _super.call(this, instanceId) || this;
565
+ _this.num = num;
566
+ _this.label = label;
567
+ _this.optional = optional;
568
+ _this.className = 'FormStep';
569
+ _this.active = false;
570
+ _this.status = 'INVALID';
571
+ _this.disabled = false;
572
+ return _this;
573
+ }
574
+ return FormStep;
575
+ }(BaseFormStep));
576
+ function instanceOfFormStep(something) {
577
+ return coreTs.isType(something, 'className') && something.className === 'FormStep';
578
+ }
579
+
580
+ var PROGRESSIVE_FORM_ID = 'us.mtna.web.form.impl.ProgressiveFormImpl';
581
+ function isProgressiveForm(something) {
582
+ return coreTs.isType(something, 'itemId') && something.itemId === PROGRESSIVE_FORM_ID;
583
+ }
584
+
585
+ var PROGRESSIVE_FORM_SECTION_ID = 'us.mtna.web.form.impl.ProgressiveFormSectionImpl';
586
+ function isProgressiveFormSection(something) {
587
+ return coreTs.isType(something, 'itemId') && something.itemId === PROGRESSIVE_FORM_SECTION_ID;
588
+ }
589
+
590
+ var MTNA_WF_API_TOKEN = new i0.InjectionToken('mtnaWfApiConfig');
591
+
592
+ /**
593
+ * Dialog data for a {@link MtnaWfFormItemDialogComponent}
594
+ */
595
+ var MtnaWfFormItemDialogData = /** @class */ (function () {
596
+ /**
597
+ * @param formItems The form items to render in the dialog
598
+ * @param title optional dialog title
599
+ */
600
+ function MtnaWfFormItemDialogData(formItems, title) {
601
+ this.formItems = formItems;
602
+ this.title = title;
603
+ }
604
+ return MtnaWfFormItemDialogData;
605
+ }());
606
+
607
+ var MTNA_WF_ITEM_WHITELIST = new i0.InjectionToken('mtna-wf-item-whitelist', {
608
+ providedIn: 'root',
609
+ factory: MTNA_WF_ITEM_WHITELIST_FACTORY,
610
+ });
611
+ function MTNA_WF_ITEM_WHITELIST_FACTORY() {
612
+ return {
613
+ itemTypes: [],
614
+ };
615
+ }
616
+
532
617
  var MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME = 'formItemValidationResult';
533
618
  /**
534
619
  * Valitator function that will check the root level {@link FormValidationResult} on
@@ -627,7 +712,7 @@
627
712
  validators.push(i6.Validators.required);
628
713
  }
629
714
  switch (formItem.itemId) {
630
- case webFormTs.CHECKBOX_ITEM_ID:
715
+ case webFormTs.CHECKBOX_ITEM_ID: {
631
716
  var checkboxItem_1 = formItem;
632
717
  var value_1 = checkboxItem_1.value || [];
633
718
  validators.push(numCheckboxesValidator('MIN', checkboxItem_1.minSelections), numCheckboxesValidator('MAX', checkboxItem_1.maxSelections));
@@ -636,8 +721,9 @@
636
721
  disabled: checkboxItem_1.disabled,
637
722
  }); }), i6.Validators.compose(validators));
638
723
  return arr;
724
+ }
639
725
  case webFormTs.DECIMAL_ANSWER_ITEM_ID:
640
- case webFormTs.WHOLE_NUMBER_ANSWER_ITEM_ID:
726
+ case webFormTs.WHOLE_NUMBER_ANSWER_ITEM_ID: {
641
727
  var item = formItem;
642
728
  validators.push(numericalValueCheck());
643
729
  if (webFormTs.isWholeNumberItem(item)) {
@@ -653,14 +739,16 @@
653
739
  validators.push(numValueLimit('max', item.maxValue));
654
740
  }
655
741
  break;
742
+ }
656
743
  case webFormTs.PARAGRAPH_ANSWER_ITEM_ID:
657
- case webFormTs.SHORT_ANSWER_ITEM_ID:
744
+ case webFormTs.SHORT_ANSWER_ITEM_ID: {
658
745
  var shortAnswerItem = formItem;
659
746
  validators.push.apply(validators, __spreadArray([], __read(getNumericValidator('minLength', shortAnswerItem.minCharCount))));
660
747
  validators.push.apply(validators, __spreadArray([], __read(getNumericValidator('maxLength', shortAnswerItem.maxCharCount))));
661
748
  break;
749
+ }
662
750
  case webFormTs.I18N_PARAGRAPH_ANSWER_ITEM_ID:
663
- case webFormTs.I18N_SHORT_ANSWER_ITEM_ID:
751
+ case webFormTs.I18N_SHORT_ANSWER_ITEM_ID: {
664
752
  var i18nItem = formItem;
665
753
  var group = new i6.FormGroup({}, i6.Validators.compose(validators));
666
754
  try {
@@ -681,6 +769,7 @@
681
769
  group.disable({ onlySelf: true, emitEvent: false });
682
770
  }
683
771
  return group;
772
+ }
684
773
  default:
685
774
  break;
686
775
  }
@@ -764,7 +853,12 @@
764
853
  */
765
854
  function determineSerializeFunctionToUse(formItem, managerService, customFormItemConditional, customControlGenerator) {
766
855
  if (customFormItemConditional === void 0) { customFormItemConditional = function () { return false; }; }
767
- if (webFormTs.isForm(formItem) || webFormTs.isRepeatableItem(formItem) || webFormTs.isSection(formItem) || webFormTs.isFormItemGroupImpl(formItem)) {
856
+ if (webFormTs.isForm(formItem) ||
857
+ isProgressiveForm(formItem) ||
858
+ webFormTs.isRepeatableItem(formItem) ||
859
+ webFormTs.isSection(formItem) ||
860
+ isProgressiveFormSection(formItem) ||
861
+ webFormTs.isFormItemGroupImpl(formItem)) {
768
862
  return serializeFormItems(formItem, managerService, customFormItemConditional, customControlGenerator);
769
863
  }
770
864
  else if (webFormTs.isTableItem(formItem)) {
@@ -855,7 +949,7 @@
855
949
  */
856
950
  function determineInsertFunctionToUse(formItem, ngFormValue, disabledState, customFormItemConditional, customFormItemBuilder, parent) {
857
951
  if (customFormItemConditional === void 0) { customFormItemConditional = function () { return false; }; }
858
- if (webFormTs.isSection(formItem) || webFormTs.isFormItemGroupImpl(formItem) || webFormTs.isRepeatableItem(formItem)) {
952
+ if (webFormTs.isSection(formItem) || isProgressiveFormSection(formItem) || webFormTs.isFormItemGroupImpl(formItem) || webFormTs.isRepeatableItem(formItem)) {
859
953
  var items = insertFormItemValues(formItem, ngFormValue, disabledState, customFormItemConditional, customFormItemBuilder);
860
954
  return Object.assign(Object.assign({}, formItem), { items: items, disabled: _isDisabled(formItem, disabledState) });
861
955
  }
@@ -896,7 +990,7 @@
896
990
  }
897
991
  return [];
898
992
  case 'INTERNATIONALIZEDPARAGRAPHANSWERITEM':
899
- case 'INTERNATIONALIZEDSHORTANSWERITEM':
993
+ case 'INTERNATIONALIZEDSHORTANSWERITEM': {
900
994
  var languages = (itemId === null || itemId === void 0 ? void 0 : itemId.toUpperCase()) === 'INTERNATIONALIZEDPARAGRAPHANSWERITEM'
901
995
  ? formItem.languageTags
902
996
  : formItem.languageTags;
@@ -910,6 +1004,7 @@
910
1004
  return value;
911
1005
  }, []);
912
1006
  return value;
1007
+ }
913
1008
  default:
914
1009
  return ngFormValue;
915
1010
  }
@@ -947,9 +1042,9 @@
947
1042
  }
948
1043
  switch (typeCheck) {
949
1044
  case 'MIN':
950
- return totalSelected >= limit ? null : { minSelected: "Select at least " + limit };
1045
+ return totalSelected >= limit ? null : { minSelected: $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["Select at least ", ""], ["Select at least ", ""])), limit) };
951
1046
  case 'MAX':
952
- return totalSelected <= limit ? null : { maxSelected: "Select no more than " + limit };
1047
+ return totalSelected <= limit ? null : { maxSelected: $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["Select no more than ", ""], ["Select no more than ", ""])), limit) };
953
1048
  }
954
1049
  };
955
1050
  }
@@ -1009,6 +1104,7 @@
1009
1104
  function isEmptyString(value) {
1010
1105
  return typeof value === 'string' && !value.length;
1011
1106
  }
1107
+ var templateObject_1$g, templateObject_2$5;
1012
1108
 
1013
1109
  var serializerUtil = /*#__PURE__*/Object.freeze({
1014
1110
  __proto__: null,
@@ -1098,70 +1194,6 @@
1098
1194
  return null;
1099
1195
  }
1100
1196
 
1101
- var BaseFormStep = /** @class */ (function () {
1102
- function BaseFormStep(instanceId) {
1103
- this.instanceId = instanceId;
1104
- }
1105
- return BaseFormStep;
1106
- }());
1107
-
1108
- var FormStepGroup = /** @class */ (function (_super) {
1109
- __extends(FormStepGroup, _super);
1110
- function FormStepGroup(steps, instanceId, collapsed) {
1111
- if (collapsed === void 0) { collapsed = false; }
1112
- var _this = _super.call(this, instanceId) || this;
1113
- _this.steps = steps;
1114
- _this.collapsed = collapsed;
1115
- return _this;
1116
- }
1117
- return FormStepGroup;
1118
- }(BaseFormStep));
1119
- function isFormStepGroup(something) {
1120
- return coreTs.isType(something, 'steps') && Array.isArray(something.steps);
1121
- }
1122
-
1123
- var FormStep = /** @class */ (function (_super) {
1124
- __extends(FormStep, _super);
1125
- function FormStep(num, label, instanceId, optional) {
1126
- if (optional === void 0) { optional = false; }
1127
- var _this = _super.call(this, instanceId) || this;
1128
- _this.num = num;
1129
- _this.label = label;
1130
- _this.optional = optional;
1131
- _this.active = false;
1132
- _this.status = 'INVALID';
1133
- return _this;
1134
- }
1135
- return FormStep;
1136
- }(BaseFormStep));
1137
-
1138
- var MTNA_WF_API_TOKEN = new i0.InjectionToken('mtnaWfApiConfig');
1139
-
1140
- /**
1141
- * Dialog data for a {@link MtnaWfFormItemDialogComponent}
1142
- */
1143
- var MtnaWfFormItemDialogData = /** @class */ (function () {
1144
- /**
1145
- * @param formItems The form items to render in the dialog
1146
- * @param title optional dialog title
1147
- */
1148
- function MtnaWfFormItemDialogData(formItems, title) {
1149
- this.formItems = formItems;
1150
- this.title = title;
1151
- }
1152
- return MtnaWfFormItemDialogData;
1153
- }());
1154
-
1155
- var MTNA_WF_ITEM_WHITELIST = new i0.InjectionToken('mtna-wf-item-whitelist', {
1156
- providedIn: 'root',
1157
- factory: MTNA_WF_ITEM_WHITELIST_FACTORY,
1158
- });
1159
- function MTNA_WF_ITEM_WHITELIST_FACTORY() {
1160
- return {
1161
- itemTypes: [],
1162
- };
1163
- }
1164
-
1165
1197
  /**
1166
1198
  * Flattens formStepGroup.steps and combines all steps into single array
1167
1199
  * @param steps Array<FormStep | FormStepGroup>
@@ -1220,7 +1252,7 @@
1220
1252
  if (allSteps) {
1221
1253
  newArray.push(new FormStep(count + 1, item.name || 'No Title', item.instanceId, !item.required));
1222
1254
  }
1223
- else if (webFormTs.isSection(item)) {
1255
+ else if (webFormTs.isSection(item) || isProgressiveFormSection(item)) {
1224
1256
  // If the item is a Section, add a step
1225
1257
  newArray.push(new FormStep(count + 1, item.title.value || 'No Title', item.instanceId, !item.required));
1226
1258
  }
@@ -1228,9 +1260,24 @@
1228
1260
  // If the item is a DataCubeItem, add a step and add a group step for the sub-sections
1229
1261
  newArray.push(new FormStep(count + 1, item.title.value || '', item.instanceId, !item.required));
1230
1262
  var subSectionSteps = item.items
1231
- .filter(webFormTs.isSection)
1263
+ .filter(webFormTs.isSection || isProgressiveFormSection)
1232
1264
  .map(function (item, index) { return new FormStep("" + (count + 1) + coreTs.toLetters(index + 1), item.title.value || '', item.instanceId, !item.required); });
1233
- newArray.push(new FormStepGroup(subSectionSteps, item.instanceId, false));
1265
+ newArray.push(new FormStepGroup(subSectionSteps, item.instanceId, false, item.name, count + 1));
1266
+ }
1267
+ return newArray;
1268
+ }, []);
1269
+ }
1270
+ function generateFormStepsFromOutline(outline) {
1271
+ return outline.reduce(function (newArray, step) {
1272
+ // The number of non-group steps, used to number the top level steps
1273
+ var count = newArray.filter(function (step) { return !isFormStepGroup(step); }).length;
1274
+ if (step.childSteps && step.childSteps.length > 0) {
1275
+ newArray.push(new FormStep(count + 1, step.label, step.instanceId || step.templateId, step.optional));
1276
+ var subSectionSteps = step.childSteps.map(function (item, index) { return new FormStep("" + (count + 1) + coreTs.toLetters(index + 1), item.label, item.instanceId || item.templateId, item.optional); });
1277
+ newArray.push(new FormStepGroup(subSectionSteps, step.instanceId || step.templateId, false, step.label, count + 1));
1278
+ }
1279
+ else {
1280
+ newArray.push(new FormStep(count + 1, step.label, step.instanceId || step.templateId, step.optional));
1234
1281
  }
1235
1282
  return newArray;
1236
1283
  }, []);
@@ -1305,24 +1352,22 @@
1305
1352
 
1306
1353
  /** List of default error messages to display */
1307
1354
  var DEFAULT_ERROR_MESSAGES = {
1308
- email: 'This field must include a valid email format.',
1355
+ email: $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["This field must include a valid email format."], ["This field must include a valid email format."]))),
1309
1356
  max: function (item) { return !coreTs.isPresent(item) || !coreTs.isPresent(item === null || item === void 0 ? void 0 : item.maxValue)
1310
- ? "This field's value must be less."
1311
- : (coreTs.isPresent(item === null || item === void 0 ? void 0 : item.minValue) ? "Min value: " + (item === null || item === void 0 ? void 0 : item.minValue) + " - " : '') + "Max value: " + (item === null || item === void 0 ? void 0 : item.minValue); },
1312
- maxlength: 'This field has exceeded the allowed maximum.',
1357
+ ? $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["This field's value must be less."], ["This field's value must be less."]))) : coreTs.isPresent(item === null || item === void 0 ? void 0 : item.minValue) ? $localize(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["Min value: ", " - "], ["Min value: ", " - "])), item.minValue) : '' + $localize(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["Max value: ", ""], ["Max value: ", ""])), item.maxValue); },
1358
+ maxlength: $localize(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["This field has exceeded the allowed maximum."], ["This field has exceeded the allowed maximum."]))),
1313
1359
  maxSelected: null,
1314
1360
  min: function (item) { return !coreTs.isPresent(item) || !coreTs.isPresent(item === null || item === void 0 ? void 0 : item.minValue)
1315
- ? "This field's value must be greater."
1316
- : "Min value: " + (item === null || item === void 0 ? void 0 : item.minValue) + (!coreTs.isPresent(item === null || item === void 0 ? void 0 : item.maxValue) ? '' : " - Max value: " + (item === null || item === void 0 ? void 0 : item.maxValue)); },
1317
- minlength: 'This field has not met the required minimum.',
1361
+ ? $localize(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["This field's value must be greater."], ["This field's value must be greater."]))) : $localize(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["Min Value: ", ""], ["Min Value: ", ""])), item.minValue) + coreTs.isPresent(item === null || item === void 0 ? void 0 : item.maxValue) ? $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([" - Max Value: ", ""], [" - Max Value: ", ""])), item.maxValue) : ''; },
1362
+ minlength: $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["This field has not met the required minimum."], ["This field has not met the required minimum."]))),
1318
1363
  minSelected: null,
1319
- nonDigit: "This field's value must be numeric.",
1320
- pattern: "This field's input does not meet the accepted pattern.",
1321
- positive: "This field's value cannot be negative.",
1322
- required: 'This field is required.',
1323
- requiredTrue: "This field's value must be 'true'.",
1324
- wholeNumber: "This field cannot contain a decimal.",
1325
- matDatepickerParse: "This field's value is not an accepted format.",
1364
+ nonDigit: $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["This field's value must be numeric."], ["This field's value must be numeric."]))),
1365
+ pattern: $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["This field's input does not meet the accepted pattern."], ["This field's input does not meet the accepted pattern."]))),
1366
+ positive: $localize(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["This field's value cannot be negative."], ["This field's value cannot be negative."]))),
1367
+ required: $localize(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["This field is required."], ["This field is required."]))),
1368
+ requiredTrue: "$localizeThis field's value must be 'true'.",
1369
+ wholeNumber: $localize(templateObject_14 || (templateObject_14 = __makeTemplateObject(["This field cannot contain a decimal."], ["This field cannot contain a decimal."]))),
1370
+ matDatepickerParse: $localize(templateObject_15 || (templateObject_15 = __makeTemplateObject(["This field's value is not an accepted format."], ["This field's value is not an accepted format."]))),
1326
1371
  };
1327
1372
  var WEB_FORM_CUSTOM_ERRORS = new i0.InjectionToken('mtnaWebFormCustomFormErrors');
1328
1373
  var MtnaWfUIService = /** @class */ (function () {
@@ -1665,16 +1710,19 @@
1665
1710
  args: [WEB_FORM_CUSTOM_ERRORS]
1666
1711
  }] }];
1667
1712
  } });
1713
+ var templateObject_1$f, templateObject_2$4, templateObject_3$3, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8$2, templateObject_9$2, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
1668
1714
 
1669
- var _BaseFormItemComponent = i1$1.mixinDestroyNotifier(/** @class */ (function () {
1715
+ var _BaseFormItemComponent = i4.mixinDestroyNotifier(/** @class */ (function () {
1670
1716
  function class_1() {
1671
1717
  }
1672
1718
  return class_1;
1673
1719
  }()));
1720
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1674
1721
  var MtnaWfBaseFormItem = /** @class */ (function (_super) {
1675
1722
  __extends(MtnaWfBaseFormItem, _super);
1676
- function MtnaWfBaseFormItem() {
1677
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1723
+ function MtnaWfBaseFormItem(cdr) {
1724
+ var _this = _super.call(this) || this;
1725
+ _this.cdr = cdr;
1678
1726
  _this._header = null;
1679
1727
  _this._indicatorStatus = 'INACTIVE';
1680
1728
  return _this;
@@ -1695,6 +1743,7 @@
1695
1743
  },
1696
1744
  set: function (value) {
1697
1745
  this._indicatorStatus = value;
1746
+ this.cdr.markForCheck();
1698
1747
  },
1699
1748
  enumerable: false,
1700
1749
  configurable: true
@@ -1718,14 +1767,14 @@
1718
1767
  });
1719
1768
  return MtnaWfBaseFormItem;
1720
1769
  }(_BaseFormItemComponent));
1721
- MtnaWfBaseFormItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1770
+ MtnaWfBaseFormItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1722
1771
  MtnaWfBaseFormItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseFormItem, selector: "ng-component", inputs: { color: "color", header: "header", indicatorStatus: "indicatorStatus", item: "item" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
1723
1772
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, decorators: [{
1724
1773
  type: i0.Component,
1725
1774
  args: [{
1726
1775
  template: "",
1727
1776
  }]
1728
- }], propDecorators: { color: [{
1777
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { color: [{
1729
1778
  type: i0.Input
1730
1779
  }], header: [{
1731
1780
  type: i0.Input
@@ -1735,10 +1784,11 @@
1735
1784
  type: i0.Input
1736
1785
  }] } });
1737
1786
 
1787
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1738
1788
  var MtnaWfBaseFormItemControl = /** @class */ (function (_super) {
1739
1789
  __extends(MtnaWfBaseFormItemControl, _super);
1740
- function MtnaWfBaseFormItemControl() {
1741
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1790
+ function MtnaWfBaseFormItemControl(cdr) {
1791
+ var _this = _super.call(this, cdr) || this;
1742
1792
  _this._readonly = false;
1743
1793
  return _this;
1744
1794
  }
@@ -1758,6 +1808,7 @@
1758
1808
  },
1759
1809
  set: function (value) {
1760
1810
  this._readonly = coercion.coerceBooleanProperty(value);
1811
+ this.cdr.markForCheck();
1761
1812
  },
1762
1813
  enumerable: false,
1763
1814
  configurable: true
@@ -1769,23 +1820,24 @@
1769
1820
  };
1770
1821
  return MtnaWfBaseFormItemControl;
1771
1822
  }(MtnaWfBaseFormItem));
1772
- MtnaWfBaseFormItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1823
+ MtnaWfBaseFormItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1773
1824
  MtnaWfBaseFormItemControl.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseFormItemControl, selector: "ng-component", inputs: { control: "control", readonly: "readonly" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
1774
1825
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, decorators: [{
1775
1826
  type: i0.Component,
1776
1827
  args: [{
1777
1828
  template: "",
1778
1829
  }]
1779
- }], propDecorators: { control: [{
1830
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { control: [{
1780
1831
  type: i0.Input
1781
1832
  }], readonly: [{
1782
1833
  type: i0.Input
1783
1834
  }] } });
1784
1835
 
1836
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1785
1837
  var MtnaWfBaseGroupItem = /** @class */ (function (_super) {
1786
1838
  __extends(MtnaWfBaseGroupItem, _super);
1787
- function MtnaWfBaseGroupItem() {
1788
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1839
+ function MtnaWfBaseGroupItem(cdr) {
1840
+ var _this = _super.call(this, cdr) || this;
1789
1841
  _this._parentIds = new Array();
1790
1842
  return _this;
1791
1843
  }
@@ -1804,17 +1856,18 @@
1804
1856
  };
1805
1857
  return MtnaWfBaseGroupItem;
1806
1858
  }(MtnaWfBaseFormItemControl));
1807
- MtnaWfBaseGroupItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseGroupItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1859
+ MtnaWfBaseGroupItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseGroupItem, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1808
1860
  MtnaWfBaseGroupItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseGroupItem, selector: "ng-component", inputs: { parentIds: "parentIds" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
1809
1861
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseGroupItem, decorators: [{
1810
1862
  type: i0.Component,
1811
1863
  args: [{
1812
1864
  template: "",
1813
1865
  }]
1814
- }], propDecorators: { parentIds: [{
1866
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { parentIds: [{
1815
1867
  type: i0.Input
1816
1868
  }] } });
1817
1869
 
1870
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1818
1871
  var MtnaWfBaseValueItem = /** @class */ (function (_super) {
1819
1872
  __extends(MtnaWfBaseValueItem, _super);
1820
1873
  function MtnaWfBaseValueItem() {
@@ -1863,6 +1916,7 @@
1863
1916
  args: ['class.read-only']
1864
1917
  }] } });
1865
1918
 
1919
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1866
1920
  var MtnaWfBaseParentValueItem = /** @class */ (function (_super) {
1867
1921
  __extends(MtnaWfBaseParentValueItem, _super);
1868
1922
  function MtnaWfBaseParentValueItem() {
@@ -1886,7 +1940,8 @@
1886
1940
  return _super.prototype.control;
1887
1941
  },
1888
1942
  set: function (control) {
1889
- if (control instanceof i6.FormGroup) {
1943
+ // Checks for a wrapping form group around this item.
1944
+ if (control instanceof i6.FormGroup && control.get(this.item.instanceId)) {
1890
1945
  _super.prototype.control = control.get(this.item.instanceId);
1891
1946
  this.controlWrapper = control;
1892
1947
  }
@@ -1912,10 +1967,11 @@
1912
1967
  type: i0.Output
1913
1968
  }] } });
1914
1969
 
1970
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1915
1971
  var MtnaWfBaseSectionItem = /** @class */ (function (_super) {
1916
1972
  __extends(MtnaWfBaseSectionItem, _super);
1917
- function MtnaWfBaseSectionItem() {
1918
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1973
+ function MtnaWfBaseSectionItem(cdr) {
1974
+ var _this = _super.call(this, cdr) || this;
1919
1975
  _this.focused = new i0.EventEmitter();
1920
1976
  return _this;
1921
1977
  }
@@ -1925,29 +1981,31 @@
1925
1981
  },
1926
1982
  set: function (value) {
1927
1983
  this._step = value;
1984
+ console.warn({ value: value });
1928
1985
  },
1929
1986
  enumerable: false,
1930
1987
  configurable: true
1931
1988
  });
1932
1989
  return MtnaWfBaseSectionItem;
1933
1990
  }(MtnaWfBaseGroupItem));
1934
- MtnaWfBaseSectionItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSectionItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1991
+ MtnaWfBaseSectionItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSectionItem, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1935
1992
  MtnaWfBaseSectionItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseSectionItem, selector: "ng-component", inputs: { step: "step" }, outputs: { focused: "focused" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
1936
1993
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSectionItem, decorators: [{
1937
1994
  type: i0.Component,
1938
1995
  args: [{
1939
1996
  template: "",
1940
1997
  }]
1941
- }], propDecorators: { step: [{
1998
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { step: [{
1942
1999
  type: i0.Input
1943
2000
  }], focused: [{
1944
2001
  type: i0.Output
1945
2002
  }] } });
1946
2003
 
2004
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
1947
2005
  var MtnaWfBaseSingleSelectionParentValueItem = /** @class */ (function (_super) {
1948
2006
  __extends(MtnaWfBaseSingleSelectionParentValueItem, _super);
1949
2007
  function MtnaWfBaseSingleSelectionParentValueItem() {
1950
- return _super.call(this) || this;
2008
+ return _super !== null && _super.apply(this, arguments) || this;
1951
2009
  }
1952
2010
  MtnaWfBaseSingleSelectionParentValueItem.prototype.ngOnInit = function () {
1953
2011
  var _this = this;
@@ -1964,7 +2022,7 @@
1964
2022
  MtnaWfBaseSingleSelectionParentValueItem.prototype.selectionChange = function (change) {
1965
2023
  // event fires when an option's nested item, e.g. FileUploadItem, changes value.
1966
2024
  // This event is not a MatRadioChange, so we need to ignore it.
1967
- if (change instanceof i1$2.MatRadioChange || change instanceof i2.MatSelectChange) {
2025
+ if (change instanceof i1$1.MatRadioChange || change instanceof i2.MatSelectChange) {
1968
2026
  // Newly selected option
1969
2027
  var option = this.item.options.find(function (o) { return o.option.id === change.value; });
1970
2028
  if (!!this.selectedOption && this.selectedOption.option.id !== change.value) {
@@ -1996,16 +2054,16 @@
1996
2054
  };
1997
2055
  return MtnaWfBaseSingleSelectionParentValueItem;
1998
2056
  }(MtnaWfBaseParentValueItem));
1999
- MtnaWfBaseSingleSelectionParentValueItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2057
+ MtnaWfBaseSingleSelectionParentValueItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
2000
2058
  MtnaWfBaseSingleSelectionParentValueItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseSingleSelectionParentValueItem, selector: "ng-component", usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
2001
2059
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, decorators: [{
2002
2060
  type: i0.Component,
2003
2061
  args: [{
2004
2062
  template: "",
2005
2063
  }]
2006
- }], ctorParameters: function () { return []; } });
2064
+ }] });
2007
2065
 
2008
- // import { MtnaWfFormSectionComponent } from '../form-item-impl/form-section/form-section.component';
2066
+ /* eslint-disable-next-line @angular-eslint/component-class-suffix */
2009
2067
  var MtnaWfItemInjector = /** @class */ (function (_super) {
2010
2068
  __extends(MtnaWfItemInjector, _super);
2011
2069
  function MtnaWfItemInjector(injector, cfr, vcr, injectionService) {
@@ -2015,10 +2073,10 @@
2015
2073
  _this.vcr = vcr;
2016
2074
  _this.injectionService = injectionService;
2017
2075
  _this._header = null;
2018
- _this._indicatorStatus = 'INACTIVE';
2076
+ _this._indicatorStatus = new rxjs.BehaviorSubject('INACTIVE');
2019
2077
  _this._inList = false;
2020
2078
  _this._parentIds = new Array();
2021
- _this._readonly = false;
2079
+ _this._readonly = new rxjs.BehaviorSubject(false);
2022
2080
  _this.focusedSection = new i0.EventEmitter();
2023
2081
  _this.toggleFormItems = new i0.EventEmitter();
2024
2082
  return _this;
@@ -2045,10 +2103,10 @@
2045
2103
  });
2046
2104
  Object.defineProperty(MtnaWfItemInjector.prototype, "indicatorStatus", {
2047
2105
  get: function () {
2048
- return this._indicatorStatus;
2106
+ return this._indicatorStatus.value;
2049
2107
  },
2050
2108
  set: function (value) {
2051
- this._indicatorStatus = value;
2109
+ this._indicatorStatus.next(value);
2052
2110
  },
2053
2111
  enumerable: false,
2054
2112
  configurable: true
@@ -2085,10 +2143,10 @@
2085
2143
  });
2086
2144
  Object.defineProperty(MtnaWfItemInjector.prototype, "readonly", {
2087
2145
  get: function () {
2088
- return this._readonly;
2146
+ return this._readonly.value;
2089
2147
  },
2090
2148
  set: function (value) {
2091
- this._readonly = coercion.coerceBooleanProperty(value);
2149
+ this._readonly.next(coercion.coerceBooleanProperty(value));
2092
2150
  },
2093
2151
  enumerable: false,
2094
2152
  configurable: true
@@ -2112,7 +2170,11 @@
2112
2170
  var _this = this;
2113
2171
  this.wfItemComponent = componentRef.instance;
2114
2172
  this.wfItemComponent.header = this.header;
2115
- this.wfItemComponent.indicatorStatus = this.indicatorStatus;
2173
+ this._indicatorStatus.subscribe(function (status) {
2174
+ if (_this.wfItemComponent) {
2175
+ _this.wfItemComponent.indicatorStatus = status;
2176
+ }
2177
+ });
2116
2178
  this.wfItemComponent.item = this.item;
2117
2179
  this.wfItemComponent.color = this.color;
2118
2180
  if (this.wfItemComponent instanceof MtnaWfBaseFormItemControl) {
@@ -2152,8 +2214,8 @@
2152
2214
  }
2153
2215
  };
2154
2216
  return MtnaWfItemInjector;
2155
- }(i1$1.MtnaComponentInjector));
2156
- MtnaWfItemInjector.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjector, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ViewContainerRef }, { token: i1$1.INJECTION_SERVICE }], target: i0__namespace.ɵɵFactoryTarget.Component });
2217
+ }(i4.MtnaComponentInjector));
2218
+ MtnaWfItemInjector.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjector, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.ComponentFactoryResolver }, { token: i0__namespace.ViewContainerRef }, { token: i4.INJECTION_SERVICE }], target: i0__namespace.ɵɵFactoryTarget.Component });
2157
2219
  MtnaWfItemInjector.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfItemInjector, selector: "mtna-wf-item-injector", inputs: { color: "color", control: "control", header: "header", indicatorStatus: "indicatorStatus", inList: "inList", item: "item", parentIds: "parentIds", readonly: "readonly", step: "step" }, outputs: { focusedSection: "focusedSection", toggleFormItems: "toggleFormItems" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
2158
2220
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjector, decorators: [{
2159
2221
  type: i0.Component,
@@ -2162,9 +2224,9 @@
2162
2224
  template: "",
2163
2225
  }]
2164
2226
  }], ctorParameters: function () {
2165
- return [{ type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ViewContainerRef }, { type: i1__namespace$1.InjectionService, decorators: [{
2227
+ return [{ type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ViewContainerRef }, { type: i4__namespace.InjectionService, decorators: [{
2166
2228
  type: i0.Inject,
2167
- args: [i1$1.INJECTION_SERVICE]
2229
+ args: [i4.INJECTION_SERVICE]
2168
2230
  }] }];
2169
2231
  }, propDecorators: { color: [{
2170
2232
  type: i0.Input
@@ -2202,14 +2264,14 @@
2202
2264
  };
2203
2265
  return MtnaWfSanitizeHtmlPipe;
2204
2266
  }());
2205
- MtnaWfSanitizeHtmlPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfSanitizeHtmlPipe, deps: [{ token: i1__namespace$2.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2267
+ MtnaWfSanitizeHtmlPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfSanitizeHtmlPipe, deps: [{ token: i1__namespace$1.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2206
2268
  MtnaWfSanitizeHtmlPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfSanitizeHtmlPipe, name: "mtnaWfSanitizeHtml" });
2207
2269
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfSanitizeHtmlPipe, decorators: [{
2208
2270
  type: i0.Pipe,
2209
2271
  args: [{
2210
2272
  name: 'mtnaWfSanitizeHtml',
2211
2273
  }]
2212
- }], ctorParameters: function () { return [{ type: i1__namespace$2.DomSanitizer }]; } });
2274
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.DomSanitizer }]; } });
2213
2275
  var MtnaWfSanitizeHtmlPipeModule = /** @class */ (function () {
2214
2276
  function MtnaWfSanitizeHtmlPipeModule() {
2215
2277
  }
@@ -2278,7 +2340,7 @@
2278
2340
  return MtnaWfItemHeaderComponent;
2279
2341
  }());
2280
2342
  MtnaWfItemHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2281
- MtnaWfItemHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: { descriptiveText: "descriptiveText", disabled: "disabled", hideRequiredMarker: "hideRequiredMarker", invalid: "invalid", questionText: "questionText", required: "required" }, host: { properties: { "class.mtna-wf-item-header": "this.itemHeaderClass" } }, ngImport: i0__namespace, template: "<h3\n *ngIf=\"!!questionText\"\n class=\"mtna-wf-item-question\"\n [class.invalid]=\"invalid\"\n [innerHTML]=\"questionText + (required && !disabled && !hideRequiredMarker ? _requiredHtml : '') | mtnaWfSanitizeHtml\"\n></h3>\n<p *ngIf=\"!!descriptiveText\" class=\"mtna-wf-item-description\" [innerHTML]=\"descriptiveText | mtnaWfSanitizeHtml\"></p>\n", styles: [".mtna-wf-item-header{display:block;margin-bottom:.5rem}.mtna-wf-item-header .mtna-wf-item-question,.mtna-wf-item-description{margin:0;font-size:.9rem;line-height:1.6}.mtna-wf-item-header .mtna-wf-item-description{opacity:.56}mtna-annotations-indicator+mtna-wf-repeatable-item-container>mtna-wf-item-header,mtna-annotations-indicator+mtna-wf-value-item>mtna-wf-input-item>mtna-wf-item-header{padding-right:24px}\n"], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2343
+ MtnaWfItemHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: { descriptiveText: "descriptiveText", disabled: "disabled", hideRequiredMarker: "hideRequiredMarker", invalid: "invalid", questionText: "questionText", required: "required" }, host: { properties: { "class.mtna-wf-item-header": "this.itemHeaderClass" } }, ngImport: i0__namespace, template: "<h3\n *ngIf=\"!!questionText\"\n class=\"mtna-wf-item-question\"\n [class.invalid]=\"invalid\"\n [innerHTML]=\"questionText + (required && !disabled && !hideRequiredMarker ? _requiredHtml : '') | mtnaWfSanitizeHtml\"\n></h3>\n<p *ngIf=\"!!descriptiveText\" class=\"mtna-wf-item-description\" [innerHTML]=\"descriptiveText | mtnaWfSanitizeHtml\"></p>\n", styles: [".mtna-wf-item-header{display:block;margin-bottom:.5rem}.mtna-wf-item-header .mtna-wf-item-question,.mtna-wf-item-description{margin:0;font-size:.9rem;line-height:1.6}.mtna-wf-item-header .mtna-wf-item-description{opacity:.56}mtna-annotations-indicator+mtna-wf-repeatable-item-container>mtna-wf-item-header,mtna-annotations-indicator+mtna-wf-value-item>mtna-wf-input-item>mtna-wf-item-header{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2282
2344
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, decorators: [{
2283
2345
  type: i0.Component,
2284
2346
  args: [{
@@ -2323,7 +2385,7 @@
2323
2385
  this._parentIds = new Array();
2324
2386
  this._readonly = false;
2325
2387
  this.focusedSection = new i0.EventEmitter();
2326
- this.indicatorStatus = 'INACTIVE';
2388
+ this.indicatorStatus$ = new rxjs.BehaviorSubject('INACTIVE');
2327
2389
  }
2328
2390
  Object.defineProperty(MtnaWfFormItemComponent.prototype, "elementId", {
2329
2391
  get: function () {
@@ -2412,10 +2474,13 @@
2412
2474
  MtnaWfFormItemComponent.prototype.toggleFormItems = function (data) {
2413
2475
  this.uiService.toggleFormItems(data.enabledItemIds, data.disabledItemIds, data.enabled, data.callerId, data.reset);
2414
2476
  };
2477
+ MtnaWfFormItemComponent.prototype.updateIndicatorStatus = function (status) {
2478
+ this.indicatorStatus$.next(status);
2479
+ };
2415
2480
  return MtnaWfFormItemComponent;
2416
2481
  }());
2417
2482
  MtnaWfFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
2418
- MtnaWfFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: { color: "color", control: "control", header: "header", inList: "inList", item: "item", parentIds: "parentIds", readonly: "readonly", step: "step" }, outputs: { focusedSection: "focusedSection" }, host: { properties: { "@mtnaWfExpandCollapse": "this.visible", "attr.id": "this.elementId" } }, ngImport: i0__namespace, template: "<mtna-annotations-indicator\n *ngIf=\"item.annotationEnabled\"\n [annotatableId]=\"item.annotatableId\"\n color=\"primary\"\n [count]=\"annotations$ | async\"\n (status)=\"indicatorStatus = $event\"\n></mtna-annotations-indicator>\n\n<mtna-wf-item-injector\n [color]=\"color\"\n [control]=\"control\"\n [header]=\"header\"\n [indicatorStatus]=\"indicatorStatus\"\n [inList]=\"inList\"\n [item]=\"item\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n [step]=\"step\"\n (focusedSection)=\"focusedSection.emit($event)\"\n (toggleFormItems)=\"toggleFormItems($event)\"\n></mtna-wf-item-injector>\n\n<ng-template #header let-hideRequiredMarker=\"hideRequiredMarker\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled\"\n [hideRequiredMarker]=\"hideRequiredMarker\"\n [invalid]=\"control?.invalid && (control?.dirty || control?.touched)\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n</ng-template>\n\n<!-- <ng-container [ngSwitch]=\"item.itemId | mtnaWfGetObjectType\">\n <mtna-wf-section\n *ngSwitchCase=\"'sectionimpl'\"\n [control]=\"$any(control)\"\n [item]=\"$any(item)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n [step]=\"step\"\n (focused)=\"focusedSection.emit($event)\"\n ></mtna-wf-section>\n\n <mtna-wf-group\n *ngSwitchCase=\"'formitemgroupimpl'\"\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"$any(control)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-group>\n\n <mtna-wf-repeatable-item-container\n *ngSwitchCase=\"'repeatableitem'\"\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"$any(control)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-repeatable-item-container>\n\n <mtna-wf-value-item\n *ngSwitchDefault\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"control\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-value-item>\n</ng-container> -->\n", styles: ["mtna-wf-item{display:block;position:relative}mtna-wf-item mtna-annotations-indicator{position:absolute;top:0;right:0;z-index:2}\n"], components: [{ type: i2__namespace.MtnaAnnotationsIndicatorComponent, selector: "mtna-annotations-indicator", inputs: ["color", "annotatableId", "annotatableItemName", "count"], outputs: ["status"] }, { type: MtnaWfItemInjector, selector: "mtna-wf-item-injector", inputs: ["color", "control", "header", "indicatorStatus", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection", "toggleFormItems"] }, { type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4__namespace.AsyncPipe }, animations: [MTNA_WF_EXPAND_COLLAPSE], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2483
+ MtnaWfFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: { color: "color", control: "control", header: "header", inList: "inList", item: "item", parentIds: "parentIds", readonly: "readonly", step: "step" }, outputs: { focusedSection: "focusedSection" }, host: { properties: { "@mtnaWfExpandCollapse": "this.visible", "attr.id": "this.elementId" } }, ngImport: i0__namespace, template: "<mtna-annotations-indicator\n *ngIf=\"item.annotationEnabled\"\n [annotatableId]=\"item.annotatableId\"\n color=\"primary\"\n [count]=\"annotations$ | async\"\n (status)=\"updateIndicatorStatus($event)\"\n></mtna-annotations-indicator>\n\n<mtna-wf-item-injector\n [color]=\"color\"\n [control]=\"control\"\n [header]=\"header\"\n [indicatorStatus]=\"indicatorStatus$.value\"\n [inList]=\"inList\"\n [item]=\"item\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n [step]=\"step\"\n (focusedSection)=\"focusedSection.emit($event)\"\n (toggleFormItems)=\"toggleFormItems($event)\"\n></mtna-wf-item-injector>\n\n<ng-template #header let-hideRequiredMarker=\"hideRequiredMarker\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled\"\n [hideRequiredMarker]=\"hideRequiredMarker\"\n [invalid]=\"control?.invalid && (control?.dirty || control?.touched)\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n</ng-template>\n", styles: ["mtna-wf-item{display:block;position:relative}mtna-wf-item mtna-annotations-indicator{position:absolute;top:0;right:0;z-index:2}mtna-wf-item .mat-list-base{padding-top:0}\n"], components: [{ type: i2__namespace.MtnaAnnotationsIndicatorComponent, selector: "mtna-annotations-indicator", inputs: ["color", "annotatableId", "annotatableItemName", "count"], outputs: ["status"] }, { type: MtnaWfItemInjector, selector: "mtna-wf-item-injector", inputs: ["color", "control", "header", "indicatorStatus", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection", "toggleFormItems"] }, { type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe }, animations: [MTNA_WF_EXPAND_COLLAPSE], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
2419
2484
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemComponent, decorators: [{
2420
2485
  type: i0.Component,
2421
2486
  args: [{
@@ -2463,7 +2528,7 @@
2463
2528
  return MtnaWfAcknowledgeDialogComponent;
2464
2529
  }());
2465
2530
  MtnaWfAcknowledgeDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
2466
- MtnaWfAcknowledgeDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfAcknowledgeDialogComponent, selector: "mtna-wf-acknowledge-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button [mat-dialog-close]=\"false\" mat-button>CANCEL</button>\n <button [mat-dialog-close]=\"true\" color=\"accent\" mat-raised-button>ACKNOWLEDGE</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
2531
+ MtnaWfAcknowledgeDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfAcknowledgeDialogComponent, selector: "mtna-wf-acknowledge-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button [mat-dialog-close]=\"false\" mat-button i18n>CANCEL</button>\n <button [mat-dialog-close]=\"true\" color=\"accent\" mat-raised-button i18n>ACKNOWLEDGE</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
2467
2532
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogComponent, decorators: [{
2468
2533
  type: i0.Component,
2469
2534
  args: [{
@@ -2483,17 +2548,49 @@
2483
2548
  return MtnaWfItemInjectorModule;
2484
2549
  }());
2485
2550
  MtnaWfItemInjectorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2486
- MtnaWfItemInjectorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, declarations: [MtnaWfItemInjector], imports: [i4.CommonModule], exports: [MtnaWfItemInjector] });
2487
- MtnaWfItemInjectorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, imports: [[i4.CommonModule]] });
2551
+ MtnaWfItemInjectorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, declarations: [MtnaWfItemInjector], imports: [i3$1.CommonModule], exports: [MtnaWfItemInjector] });
2552
+ MtnaWfItemInjectorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, imports: [[i3$1.CommonModule]] });
2488
2553
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, decorators: [{
2489
2554
  type: i0.NgModule,
2490
2555
  args: [{
2491
- imports: [i4.CommonModule],
2556
+ imports: [i3$1.CommonModule],
2492
2557
  declarations: [MtnaWfItemInjector],
2493
2558
  exports: [MtnaWfItemInjector],
2494
2559
  }]
2495
2560
  }] });
2496
2561
 
2562
+ var ChildStepActivePipe = /** @class */ (function () {
2563
+ function ChildStepActivePipe() {
2564
+ }
2565
+ ChildStepActivePipe.prototype.transform = function (steps) {
2566
+ return steps.some(function (step) { return step.active; });
2567
+ };
2568
+ return ChildStepActivePipe;
2569
+ }());
2570
+ ChildStepActivePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2571
+ ChildStepActivePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipe, name: "childStepActive" });
2572
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipe, decorators: [{
2573
+ type: i0.Pipe,
2574
+ args: [{
2575
+ name: 'childStepActive'
2576
+ }]
2577
+ }] });
2578
+ var ChildStepActivePipeModule = /** @class */ (function () {
2579
+ function ChildStepActivePipeModule() {
2580
+ }
2581
+ return ChildStepActivePipeModule;
2582
+ }());
2583
+ ChildStepActivePipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2584
+ ChildStepActivePipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipeModule, declarations: [ChildStepActivePipe], exports: [ChildStepActivePipe] });
2585
+ ChildStepActivePipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipeModule });
2586
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ChildStepActivePipeModule, decorators: [{
2587
+ type: i0.NgModule,
2588
+ args: [{
2589
+ declarations: [ChildStepActivePipe],
2590
+ exports: [ChildStepActivePipe]
2591
+ }]
2592
+ }] });
2593
+
2497
2594
  var MtnaWfGetObjectTypePipe = /** @class */ (function () {
2498
2595
  function MtnaWfGetObjectTypePipe() {
2499
2596
  }
@@ -2568,13 +2665,11 @@
2568
2665
  function MtnaWfCoerceFormControlPipe() {
2569
2666
  }
2570
2667
  MtnaWfCoerceFormControlPipe.prototype.transform = function (control) {
2571
- var isFormControl = control instanceof i6.FormControl;
2572
2668
  if (control) {
2573
2669
  var value = control.value;
2574
2670
  var validators = control.validator;
2575
2671
  var asyncValidators = control.asyncValidator;
2576
2672
  var newFormControl = new i6.FormControl(value, validators, asyncValidators);
2577
- console.error('CREATED NEW FORM CONTROL');
2578
2673
  return newFormControl;
2579
2674
  }
2580
2675
  return null;
@@ -2655,28 +2750,131 @@
2655
2750
  }]
2656
2751
  }] });
2657
2752
 
2753
+ var MtnaWfCoerceFormItemPipe = /** @class */ (function () {
2754
+ function MtnaWfCoerceFormItemPipe() {
2755
+ }
2756
+ MtnaWfCoerceFormItemPipe.prototype.transform = function (item) {
2757
+ var formItem = undefined;
2758
+ if (this.instanceOfFormItem(item)) {
2759
+ formItem = item;
2760
+ }
2761
+ return formItem;
2762
+ };
2763
+ MtnaWfCoerceFormItemPipe.prototype.instanceOfFormItem = function (something) {
2764
+ return coreTs.isType(something, 'instanceId', 'itemId', 'name', 'required', 'templateId');
2765
+ };
2766
+ return MtnaWfCoerceFormItemPipe;
2767
+ }());
2768
+ MtnaWfCoerceFormItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2769
+ MtnaWfCoerceFormItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, name: "coerceFormItem" });
2770
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, decorators: [{
2771
+ type: i0.Pipe,
2772
+ args: [{
2773
+ name: 'coerceFormItem',
2774
+ }]
2775
+ }] });
2776
+ var MtnaWfCoerceFormItemPipeModule = /** @class */ (function () {
2777
+ function MtnaWfCoerceFormItemPipeModule() {
2778
+ }
2779
+ return MtnaWfCoerceFormItemPipeModule;
2780
+ }());
2781
+ MtnaWfCoerceFormItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2782
+ MtnaWfCoerceFormItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, declarations: [MtnaWfCoerceFormItemPipe], exports: [MtnaWfCoerceFormItemPipe] });
2783
+ MtnaWfCoerceFormItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule });
2784
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, decorators: [{
2785
+ type: i0.NgModule,
2786
+ args: [{
2787
+ declarations: [MtnaWfCoerceFormItemPipe],
2788
+ exports: [MtnaWfCoerceFormItemPipe],
2789
+ }]
2790
+ }] });
2791
+
2792
+ var CoerceFormStepGroupPipe = /** @class */ (function () {
2793
+ function CoerceFormStepGroupPipe() {
2794
+ }
2795
+ CoerceFormStepGroupPipe.prototype.transform = function (value) {
2796
+ return instanceOfFormStepGroup(value) ? value : null;
2797
+ };
2798
+ return CoerceFormStepGroupPipe;
2799
+ }());
2800
+ CoerceFormStepGroupPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2801
+ CoerceFormStepGroupPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipe, name: "coerceFormStepGroup" });
2802
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipe, decorators: [{
2803
+ type: i0.Pipe,
2804
+ args: [{
2805
+ name: 'coerceFormStepGroup',
2806
+ }]
2807
+ }] });
2808
+ var CoerceFormStepGroupPipeModule = /** @class */ (function () {
2809
+ function CoerceFormStepGroupPipeModule() {
2810
+ }
2811
+ return CoerceFormStepGroupPipeModule;
2812
+ }());
2813
+ CoerceFormStepGroupPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2814
+ CoerceFormStepGroupPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipeModule, declarations: [CoerceFormStepGroupPipe], exports: [CoerceFormStepGroupPipe] });
2815
+ CoerceFormStepGroupPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipeModule });
2816
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepGroupPipeModule, decorators: [{
2817
+ type: i0.NgModule,
2818
+ args: [{
2819
+ declarations: [CoerceFormStepGroupPipe],
2820
+ exports: [CoerceFormStepGroupPipe],
2821
+ }]
2822
+ }] });
2823
+
2824
+ var CoerceFormStepPipe = /** @class */ (function () {
2825
+ function CoerceFormStepPipe() {
2826
+ }
2827
+ CoerceFormStepPipe.prototype.transform = function (value) {
2828
+ return instanceOfFormStep(value) ? value : null;
2829
+ };
2830
+ return CoerceFormStepPipe;
2831
+ }());
2832
+ CoerceFormStepPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2833
+ CoerceFormStepPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipe, name: "coerceFormStep" });
2834
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipe, decorators: [{
2835
+ type: i0.Pipe,
2836
+ args: [{
2837
+ name: 'coerceFormStep'
2838
+ }]
2839
+ }] });
2840
+ var CoerceFormStepPipeModule = /** @class */ (function () {
2841
+ function CoerceFormStepPipeModule() {
2842
+ }
2843
+ return CoerceFormStepPipeModule;
2844
+ }());
2845
+ CoerceFormStepPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2846
+ CoerceFormStepPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipeModule, declarations: [CoerceFormStepPipe], exports: [CoerceFormStepPipe] });
2847
+ CoerceFormStepPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipeModule });
2848
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CoerceFormStepPipeModule, decorators: [{
2849
+ type: i0.NgModule,
2850
+ args: [{
2851
+ declarations: [CoerceFormStepPipe],
2852
+ exports: [CoerceFormStepPipe],
2853
+ }]
2854
+ }] });
2855
+
2658
2856
  var MtnaWfDateQuarterPipe = /** @class */ (function () {
2659
2857
  function MtnaWfDateQuarterPipe() {
2660
2858
  }
2661
2859
  MtnaWfDateQuarterPipe.prototype.transform = function (quarter, format) {
2662
2860
  if (format === void 0) { format = 'short'; }
2663
2861
  var short = {
2664
- 0: 'Q1',
2665
- 1: 'Q2',
2666
- 2: 'Q3',
2667
- 3: 'Q4',
2862
+ 0: $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["Q1"], ["Q1"]))),
2863
+ 1: $localize(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["Q2"], ["Q2"]))),
2864
+ 2: $localize(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["Q3"], ["Q3"]))),
2865
+ 3: $localize(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["Q4"], ["Q4"]))),
2668
2866
  };
2669
2867
  var medium = {
2670
- 0: '1st Quarter',
2671
- 1: '2nd Quarter',
2672
- 2: '3rd Quarter',
2673
- 3: '4th Quarter',
2868
+ 0: $localize(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["1st Quarter"], ["1st Quarter"]))),
2869
+ 1: $localize(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["2nd Quarter"], ["2nd Quarter"]))),
2870
+ 2: $localize(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["3rd Quarter"], ["3rd Quarter"]))),
2871
+ 3: $localize(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["4th Quarter"], ["4th Quarter"]))),
2674
2872
  };
2675
2873
  var long = {
2676
- 0: 'First Quarter',
2677
- 1: 'Second Quarter',
2678
- 2: 'Third Quarter',
2679
- 3: 'Fourth Quarter',
2874
+ 0: $localize(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["First Quarter"], ["First Quarter"]))),
2875
+ 1: $localize(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["Second Quarter"], ["Second Quarter"]))),
2876
+ 2: $localize(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["Third Quarter"], ["Third Quarter"]))),
2877
+ 3: $localize(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["Fourth Quarter"], ["Fourth Quarter"]))),
2680
2878
  };
2681
2879
  switch (format) {
2682
2880
  case 'short':
@@ -2714,6 +2912,7 @@
2714
2912
  exports: [MtnaWfDateQuarterPipe],
2715
2913
  }]
2716
2914
  }] });
2915
+ var templateObject_1$e, templateObject_2$3, templateObject_3$2, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1, templateObject_8$1, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1;
2717
2916
 
2718
2917
  /**
2719
2918
  * Pipe to determine if a FormStep is a FormStepGroup or a single step.
@@ -2750,6 +2949,43 @@
2750
2949
  }]
2751
2950
  }] });
2752
2951
 
2952
+ var GetActiveFormStepItemPipe = /** @class */ (function () {
2953
+ function GetActiveFormStepItemPipe() {
2954
+ }
2955
+ GetActiveFormStepItemPipe.prototype.transform = function (items, activeStepId) {
2956
+ if (!items || !activeStepId) {
2957
+ return undefined;
2958
+ }
2959
+ else {
2960
+ return items.find(function (item) { return item.instanceId === activeStepId; });
2961
+ }
2962
+ };
2963
+ return GetActiveFormStepItemPipe;
2964
+ }());
2965
+ GetActiveFormStepItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2966
+ GetActiveFormStepItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipe, name: "getActiveFormStepItem" });
2967
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipe, decorators: [{
2968
+ type: i0.Pipe,
2969
+ args: [{
2970
+ name: 'getActiveFormStepItem',
2971
+ }]
2972
+ }] });
2973
+ var GetActiveFormStepItemPipeModule = /** @class */ (function () {
2974
+ function GetActiveFormStepItemPipeModule() {
2975
+ }
2976
+ return GetActiveFormStepItemPipeModule;
2977
+ }());
2978
+ GetActiveFormStepItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2979
+ GetActiveFormStepItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipeModule, declarations: [GetActiveFormStepItemPipe], exports: [GetActiveFormStepItemPipe] });
2980
+ GetActiveFormStepItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipeModule });
2981
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetActiveFormStepItemPipeModule, decorators: [{
2982
+ type: i0.NgModule,
2983
+ args: [{
2984
+ declarations: [GetActiveFormStepItemPipe],
2985
+ exports: [GetActiveFormStepItemPipe],
2986
+ }]
2987
+ }] });
2988
+
2753
2989
  var MtnaWfGetAutoCompletePipe = /** @class */ (function () {
2754
2990
  function MtnaWfGetAutoCompletePipe() {
2755
2991
  }
@@ -2955,15 +3191,60 @@
2955
3191
  }]
2956
3192
  }] });
2957
3193
 
2958
- var MtnaWfGetSelectedOptionNamePipe = /** @class */ (function () {
2959
- function MtnaWfGetSelectedOptionNamePipe() {
2960
- }
2961
- MtnaWfGetSelectedOptionNamePipe.prototype.transform = function (id, options) {
2962
- if (!options || !id) {
2963
- return 'N/A';
2964
- }
3194
+ var GetProgressiveFormItemPipe = /** @class */ (function () {
3195
+ function GetProgressiveFormItemPipe() {
3196
+ }
3197
+ GetProgressiveFormItemPipe.prototype.transform = function (step, items) {
3198
+ if (items) {
3199
+ var item = items.find(function (item) { return item.instanceId || item.templateId === step.instanceId; });
3200
+ console.warn({ itemFromPipe: item });
3201
+ if (item) {
3202
+ return item;
3203
+ }
3204
+ else {
3205
+ return undefined;
3206
+ }
3207
+ }
3208
+ else {
3209
+ return undefined;
3210
+ }
3211
+ };
3212
+ return GetProgressiveFormItemPipe;
3213
+ }());
3214
+ GetProgressiveFormItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
3215
+ GetProgressiveFormItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipe, name: "getProgressiveFormItem" });
3216
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipe, decorators: [{
3217
+ type: i0.Pipe,
3218
+ args: [{
3219
+ name: 'getProgressiveFormItem',
3220
+ }]
3221
+ }] });
3222
+ var GetProgressiveFormItemPipeModule = /** @class */ (function () {
3223
+ function GetProgressiveFormItemPipeModule() {
3224
+ }
3225
+ return GetProgressiveFormItemPipeModule;
3226
+ }());
3227
+ GetProgressiveFormItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3228
+ GetProgressiveFormItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipeModule, declarations: [GetProgressiveFormItemPipe], exports: [GetProgressiveFormItemPipe] });
3229
+ GetProgressiveFormItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipeModule });
3230
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetProgressiveFormItemPipeModule, decorators: [{
3231
+ type: i0.NgModule,
3232
+ args: [{
3233
+ declarations: [GetProgressiveFormItemPipe],
3234
+ exports: [GetProgressiveFormItemPipe],
3235
+ }]
3236
+ }] });
3237
+
3238
+ var MtnaWfGetSelectedOptionNamePipe = /** @class */ (function () {
3239
+ function MtnaWfGetSelectedOptionNamePipe() {
3240
+ }
3241
+ MtnaWfGetSelectedOptionNamePipe.prototype.transform = function (id, options) {
3242
+ var _notApplicableText = $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["N/A"], ["N/A"])));
3243
+ if (!options || !id) {
3244
+ return _notApplicableText;
3245
+ }
2965
3246
  var foundOption = options.find(function (o) { return o.option.id === id; });
2966
- return foundOption ? foundOption.option.name : 'N/A';
3247
+ return foundOption ? foundOption.option.name : _notApplicableText;
2967
3248
  };
2968
3249
  return MtnaWfGetSelectedOptionNamePipe;
2969
3250
  }());
@@ -2990,6 +3271,65 @@
2990
3271
  exports: [MtnaWfGetSelectedOptionNamePipe],
2991
3272
  }]
2992
3273
  }] });
3274
+ var templateObject_1$d;
3275
+
3276
+ var GetStepAriaLabel = /** @class */ (function () {
3277
+ function GetStepAriaLabel() {
3278
+ var _a;
3279
+ this.stepStatusTextMap = (_a = {},
3280
+ _a['INVALID'] = $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["Invalid"], ["Invalid"]))),
3281
+ _a['VALID'] = $localize(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["Valid"], ["Valid"]))),
3282
+ _a['DISABLED'] = $localize(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["Disabled"], ["Disabled"]))),
3283
+ _a['ERROR'] = $localize(templateObject_4 || (templateObject_4 = __makeTemplateObject(["Error"], ["Error"]))),
3284
+ _a['PENDING'] = $localize(templateObject_5 || (templateObject_5 = __makeTemplateObject(["Pending"], ["Pending"]))),
3285
+ _a['EMPTY'] = $localize(templateObject_6 || (templateObject_6 = __makeTemplateObject(["Empty"], ["Empty"]))),
3286
+ _a['INCOMPLETE'] = $localize(templateObject_7 || (templateObject_7 = __makeTemplateObject(["Incomplete"], ["Incomplete"]))),
3287
+ _a['PLACEHOLDER'] = $localize(templateObject_8 || (templateObject_8 = __makeTemplateObject(["Placeholder"], ["Placeholder"]))),
3288
+ _a);
3289
+ }
3290
+ GetStepAriaLabel.prototype.transform = function (step, collapsed) {
3291
+ var stepText = $localize(templateObject_9 || (templateObject_9 = __makeTemplateObject(["Step"], ["Step"])));
3292
+ if (instanceOfFormStepGroup(step)) {
3293
+ var collapsedText = collapsed ? $localize(templateObject_10 || (templateObject_10 = __makeTemplateObject(["collapsed step"], ["collapsed step"]))) : $localize(templateObject_11 || (templateObject_11 = __makeTemplateObject(["expanded step"], ["expanded step"])));
3294
+ var childStepsActiveText = step.steps.some(function (childStep) { return childStep.active; }) ? $localize(templateObject_12 || (templateObject_12 = __makeTemplateObject(["Child step active."], ["Child step active."]))) : '';
3295
+ return stepText + " " + step.num + ": " + step.label + " - " + collapsedText + ". " + childStepsActiveText;
3296
+ }
3297
+ else if (instanceOfFormStep(step)) {
3298
+ var status = step.status === 'EMPTY' || step.status === 'PLACEHOLDER' ? undefined : this.stepStatusTextMap[step.status];
3299
+ var activeText = step.active ? $localize(templateObject_13 || (templateObject_13 = __makeTemplateObject(["Active step"], ["Active step"]))) : undefined;
3300
+ return stepText + " " + step.num + ": " + step.label + " " + (status ? ' - ' + status : '') + (activeText ? ' - ' + activeText : '') + ".";
3301
+ }
3302
+ else {
3303
+ // Handle for unexpected types. Should never reach this point because the step should always be a FormStep or a FormStepGroup.
3304
+ return '';
3305
+ }
3306
+ };
3307
+ return GetStepAriaLabel;
3308
+ }());
3309
+ GetStepAriaLabel.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabel, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
3310
+ GetStepAriaLabel.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabel, name: "getStepAriaLabel" });
3311
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabel, decorators: [{
3312
+ type: i0.Pipe,
3313
+ args: [{
3314
+ name: 'getStepAriaLabel',
3315
+ }]
3316
+ }] });
3317
+ var GetStepAriaLabelModule = /** @class */ (function () {
3318
+ function GetStepAriaLabelModule() {
3319
+ }
3320
+ return GetStepAriaLabelModule;
3321
+ }());
3322
+ GetStepAriaLabelModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabelModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3323
+ GetStepAriaLabelModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabelModule, declarations: [GetStepAriaLabel], exports: [GetStepAriaLabel] });
3324
+ GetStepAriaLabelModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabelModule });
3325
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: GetStepAriaLabelModule, decorators: [{
3326
+ type: i0.NgModule,
3327
+ args: [{
3328
+ declarations: [GetStepAriaLabel],
3329
+ exports: [GetStepAriaLabel],
3330
+ }]
3331
+ }] });
3332
+ var templateObject_1$c, templateObject_2$2, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13;
2993
3333
 
2994
3334
  /**
2995
3335
  * Returns an array of FormItems that contain a value.
@@ -2997,15 +3337,12 @@
2997
3337
  */
2998
3338
  var MtnaWfItemsWithValuePipe = /** @class */ (function () {
2999
3339
  function MtnaWfItemsWithValuePipe() {
3000
- this.itemsCache = [];
3001
3340
  }
3002
3341
  MtnaWfItemsWithValuePipe.prototype.transform = function (items) {
3003
- var _a;
3004
- if ((_a = this.itemsCache) === null || _a === void 0 ? void 0 : _a.length) {
3005
- return this.itemsCache;
3006
- }
3007
- this.itemsCache = !items ? [] : items.filter(webFormTs.isValueItem);
3008
- return this.itemsCache;
3342
+ var list = items ? items.filter(webFormTs.isValueItem) : [];
3343
+ console.error({ items: items });
3344
+ console.error({ list: list });
3345
+ return list;
3009
3346
  };
3010
3347
  return MtnaWfItemsWithValuePipe;
3011
3348
  }());
@@ -3040,12 +3377,12 @@
3040
3377
  return MtnaWfItemHeaderModule;
3041
3378
  }());
3042
3379
  MtnaWfItemHeaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3043
- MtnaWfItemHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, declarations: [MtnaWfItemHeaderComponent], imports: [i4.CommonModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfItemHeaderComponent] });
3044
- MtnaWfItemHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, imports: [[i4.CommonModule, MtnaWfSanitizeHtmlPipeModule]] });
3380
+ MtnaWfItemHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, declarations: [MtnaWfItemHeaderComponent], imports: [i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfItemHeaderComponent] });
3381
+ MtnaWfItemHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, imports: [[i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule]] });
3045
3382
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, decorators: [{
3046
3383
  type: i0.NgModule,
3047
3384
  args: [{
3048
- imports: [i4.CommonModule, MtnaWfSanitizeHtmlPipeModule],
3385
+ imports: [i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule],
3049
3386
  declarations: [MtnaWfItemHeaderComponent],
3050
3387
  exports: [MtnaWfItemHeaderComponent],
3051
3388
  }]
@@ -3057,12 +3394,31 @@
3057
3394
  return MtnaWfFormItemModule;
3058
3395
  }());
3059
3396
  MtnaWfFormItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3060
- MtnaWfFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, declarations: [MtnaWfFormItemComponent], imports: [i4.CommonModule, i2$1.MtnaAnnotationsIndicatorModule, MtnaWfItemInjectorModule, MtnaWfItemHeaderModule, materialMomentAdapter.MatMomentDateModule], exports: [MtnaWfFormItemComponent] });
3061
- MtnaWfFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, imports: [[i4.CommonModule, i2$1.MtnaAnnotationsIndicatorModule, MtnaWfItemInjectorModule, MtnaWfItemHeaderModule, materialMomentAdapter.MatMomentDateModule]] });
3397
+ MtnaWfFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, declarations: [MtnaWfFormItemComponent], imports: [i3$1.CommonModule,
3398
+ i2$1.MtnaAnnotationsIndicatorModule,
3399
+ MtnaWfItemInjectorModule,
3400
+ MtnaWfItemHeaderModule,
3401
+ materialMomentAdapter.MatMomentDateModule,
3402
+ i3$2.MatButtonModule], exports: [MtnaWfFormItemComponent] });
3403
+ MtnaWfFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, imports: [[
3404
+ i3$1.CommonModule,
3405
+ i2$1.MtnaAnnotationsIndicatorModule,
3406
+ MtnaWfItemInjectorModule,
3407
+ MtnaWfItemHeaderModule,
3408
+ materialMomentAdapter.MatMomentDateModule,
3409
+ i3$2.MatButtonModule,
3410
+ ]] });
3062
3411
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, decorators: [{
3063
3412
  type: i0.NgModule,
3064
3413
  args: [{
3065
- imports: [i4.CommonModule, i2$1.MtnaAnnotationsIndicatorModule, MtnaWfItemInjectorModule, MtnaWfItemHeaderModule, materialMomentAdapter.MatMomentDateModule],
3414
+ imports: [
3415
+ i3$1.CommonModule,
3416
+ i2$1.MtnaAnnotationsIndicatorModule,
3417
+ MtnaWfItemInjectorModule,
3418
+ MtnaWfItemHeaderModule,
3419
+ materialMomentAdapter.MatMomentDateModule,
3420
+ i3$2.MatButtonModule,
3421
+ ],
3066
3422
  declarations: [MtnaWfFormItemComponent],
3067
3423
  exports: [MtnaWfFormItemComponent],
3068
3424
  }]
@@ -3074,12 +3430,12 @@
3074
3430
  return MtnaWfAcknowledgeDialogModule;
3075
3431
  }());
3076
3432
  MtnaWfAcknowledgeDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3077
- MtnaWfAcknowledgeDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, declarations: [MtnaWfAcknowledgeDialogComponent], imports: [i4.CommonModule, i1.MatDialogModule, i3$1.MatButtonModule, MtnaWfFormItemModule], exports: [MtnaWfAcknowledgeDialogComponent] });
3078
- MtnaWfAcknowledgeDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, imports: [[i4.CommonModule, i1.MatDialogModule, i3$1.MatButtonModule, MtnaWfFormItemModule]] });
3433
+ MtnaWfAcknowledgeDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, declarations: [MtnaWfAcknowledgeDialogComponent], imports: [i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule], exports: [MtnaWfAcknowledgeDialogComponent] });
3434
+ MtnaWfAcknowledgeDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, imports: [[i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule]] });
3079
3435
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, decorators: [{
3080
3436
  type: i0.NgModule,
3081
3437
  args: [{
3082
- imports: [i4.CommonModule, i1.MatDialogModule, i3$1.MatButtonModule, MtnaWfFormItemModule],
3438
+ imports: [i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule],
3083
3439
  declarations: [MtnaWfAcknowledgeDialogComponent],
3084
3440
  exports: [MtnaWfAcknowledgeDialogComponent],
3085
3441
  }]
@@ -3139,7 +3495,7 @@
3139
3495
  };
3140
3496
  return MtnaWfApiService;
3141
3497
  }());
3142
- MtnaWfApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, deps: [{ token: MTNA_WF_API_TOKEN }, { token: i1__namespace$3.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
3498
+ MtnaWfApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, deps: [{ token: MTNA_WF_API_TOKEN }, { token: i1__namespace$2.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
3143
3499
  MtnaWfApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, providedIn: 'root' });
3144
3500
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, decorators: [{
3145
3501
  type: i0.Injectable,
@@ -3148,7 +3504,7 @@
3148
3504
  return [{ type: undefined, decorators: [{
3149
3505
  type: i0.Inject,
3150
3506
  args: [MTNA_WF_API_TOKEN]
3151
- }] }, { type: i1__namespace$3.HttpClient }];
3507
+ }] }, { type: i1__namespace$2.HttpClient }];
3152
3508
  } });
3153
3509
 
3154
3510
  /**
@@ -3162,7 +3518,7 @@
3162
3518
  return MtnaWfFormItemDialogComponent;
3163
3519
  }());
3164
3520
  MtnaWfFormItemDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
3165
- MtnaWfFormItemDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemDialogComponent, selector: "mtna-wf-form-item-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button mat-dialog-close>Close</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
3521
+ MtnaWfFormItemDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemDialogComponent, selector: "mtna-wf-form-item-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-raised-button mat-dialog-close color=\"primary\" i18n>Close</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
3166
3522
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogComponent, decorators: [{
3167
3523
  type: i0.Component,
3168
3524
  args: [{
@@ -3179,16 +3535,16 @@
3179
3535
  var MtnaWfDialogService = /** @class */ (function () {
3180
3536
  function MtnaWfDialogService(dialog) {
3181
3537
  this.dialog = dialog;
3538
+ this._acknowledgementText = $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["Acknowledgement"], ["Acknowledgement"])));
3182
3539
  }
3183
3540
  /**
3184
3541
  * Display the acknowledgement the user agreed to for a given option.
3185
3542
  * @param acknowledgementItem The {@link Section} that represents the acknowledgement text to display to the user.
3186
3543
  */
3187
3544
  MtnaWfDialogService.prototype.showAcknowledgement = function (acknowledgementItem) {
3188
- console.warn('showAcknowledgement in dialog service');
3189
3545
  this.dialog.open(MtnaWfFormItemDialogComponent, {
3190
3546
  closeOnNavigation: true,
3191
- data: new MtnaWfFormItemDialogData(acknowledgementItem.items, acknowledgementItem.title.value || 'Acknowledgement'),
3547
+ data: new MtnaWfFormItemDialogData(acknowledgementItem.items, acknowledgementItem.title.value || this._acknowledgementText),
3192
3548
  disableClose: false,
3193
3549
  hasBackdrop: true,
3194
3550
  maxWidth: '500px',
@@ -3203,7 +3559,7 @@
3203
3559
  return this.dialog
3204
3560
  .open(MtnaWfAcknowledgeDialogComponent, {
3205
3561
  closeOnNavigation: true,
3206
- data: new MtnaWfFormItemDialogData(acknowledgementItem.items, acknowledgementItem.title.value || 'Acknowledgement'),
3562
+ data: new MtnaWfFormItemDialogData(acknowledgementItem.items, acknowledgementItem.title.value || this._acknowledgementText),
3207
3563
  disableClose: true,
3208
3564
  hasBackdrop: true,
3209
3565
  maxWidth: '500px',
@@ -3218,7 +3574,14 @@
3218
3574
  type: i0.Injectable,
3219
3575
  args: [{ providedIn: 'root' }]
3220
3576
  }], ctorParameters: function () { return [{ type: i1__namespace.MatDialog }]; } });
3577
+ var templateObject_1$b;
3221
3578
 
3579
+ /**
3580
+ * This service manages and interacts with an Angular FormGroup. It provides functionality
3581
+ * to add or remove form controls dynamically, track the form's state, and notify other
3582
+ * components about unsaved changes. This service is used to centralize form handling and
3583
+ * state management, providing a reliableway to monitor and respond to form changes.
3584
+ */
3222
3585
  var MtnaWfNgFormService = /** @class */ (function () {
3223
3586
  function MtnaWfNgFormService() {
3224
3587
  this.unsavedChanges$ = new rxjs.BehaviorSubject(false);
@@ -3378,12 +3741,13 @@
3378
3741
  * @export
3379
3742
  */
3380
3743
  var MtnaWfManagerService = /** @class */ (function () {
3381
- function MtnaWfManagerService(apiService, ngFormManager, uiService) {
3744
+ function MtnaWfManagerService(apiService, ngFormService, uiService) {
3382
3745
  this.apiService = apiService;
3383
- this.ngFormManager = ngFormManager;
3746
+ this.ngFormService = ngFormService;
3384
3747
  this.uiService = uiService;
3385
3748
  this.components = new Map();
3386
3749
  this.formChange$ = new rxjs.Subject();
3750
+ this.progressiveFormChange$ = new rxjs.Subject();
3387
3751
  /** A map of all {@link FormItemValidationResult} keyed on id */
3388
3752
  this._formItemValidationResults = {};
3389
3753
  /**
@@ -3422,7 +3786,7 @@
3422
3786
  var newForm = this._modifyFormItem(this._mtnaForm, change);
3423
3787
  // modify the conditions of all effected form items
3424
3788
  newForm = this._modifyFormItemConditions(newForm, change);
3425
- this.ngFormManager.removeControl(change.id, change.parentIds);
3789
+ this.ngFormService.removeControl(change.id, change.parentIds);
3426
3790
  this.formChange$.next(newForm);
3427
3791
  }
3428
3792
  else {
@@ -3432,7 +3796,7 @@
3432
3796
  .subscribe(function (newItem) {
3433
3797
  var newFormControl = _this.serializeMtnaFormItem(newItem);
3434
3798
  if (newFormControl && _this._mtnaForm) {
3435
- _this.ngFormManager.addControl(newItem.instanceId, change.parentIds, newFormControl);
3799
+ _this.ngFormService.addControl(newItem.instanceId, change.parentIds, newFormControl);
3436
3800
  // Add the new repeatable item into the mtnaform
3437
3801
  var newForm = _this._modifyFormItem(_this._mtnaForm, Object.assign(Object.assign({}, change), { id: newItem.instanceId }), newItem);
3438
3802
  // Generate a list of all formitem conditions needing change & modify those items in the form
@@ -3462,6 +3826,16 @@
3462
3826
  MtnaWfManagerService.prototype.getFormItemValidationResults = function () {
3463
3827
  return this._formItemValidationResults;
3464
3828
  };
3829
+ /**
3830
+ * Returns a new MtnaForm using the MtnaForm & reacive form values from the MtnaWfNgFormService's internal form.
3831
+ *
3832
+ * @param ngFormValues JSON object of ngFormValues
3833
+ * @returns
3834
+ */
3835
+ MtnaWfManagerService.prototype.updateForm = function (ngFormValues) {
3836
+ var currentForm = this.ngFormService.getFormValue();
3837
+ return Object.assign(Object.assign({}, currentForm), { items: insertFormItemValues(currentForm, ngFormValues, this.uiService.getDisabledStates(), this.dynamicFormConditional, this.dynamicWebFormItemBuilder) });
3838
+ };
3465
3839
  /**
3466
3840
  * Returns a new MtnaForm using the previous MtnaForm & reactive form values.
3467
3841
  *
@@ -3592,7 +3966,7 @@
3592
3966
  return item;
3593
3967
  }
3594
3968
  }
3595
- if (webFormTs.isForm(item) || webFormTs.isSection(item) || webFormTs.isFormItemGroupImpl(item) || webFormTs.isRepeatableItem(item)) {
3969
+ if (webFormTs.isForm(item) || webFormTs.isSection(item) || isProgressiveFormSection(item) || webFormTs.isFormItemGroupImpl(item) || webFormTs.isRepeatableItem(item)) {
3596
3970
  var items = __spreadArray([], __read(item.items));
3597
3971
  var indexToModify = item.items.findIndex(function (i) { return i.instanceId === change.parentIds[0]; });
3598
3972
  var itemToModify = item.items[indexToModify];
@@ -3899,7 +4273,7 @@
3899
4273
  }
3900
4274
  }
3901
4275
  // Only revalidate controls actually changes
3902
- var form = this.ngFormManager.getForm();
4276
+ var form = this.ngFormService.getForm();
3903
4277
  if (form) {
3904
4278
  try {
3905
4279
  for (var controlIdsToRevalidate_1 = __values(controlIdsToRevalidate), controlIdsToRevalidate_1_1 = controlIdsToRevalidate_1.next(); !controlIdsToRevalidate_1_1.done; controlIdsToRevalidate_1_1 = controlIdsToRevalidate_1.next()) {
@@ -3946,38 +4320,21 @@
3946
4320
  return model.uri === ((_a = result.getFieldByName('uri')) === null || _a === void 0 ? void 0 : _a.value);
3947
4321
  };
3948
4322
  return MtnaWfResourceSearchSelectionService;
3949
- }(i1$5.MtnaSearchSelectionService));
4323
+ }(i1$4.MtnaSearchSelectionService));
3950
4324
  MtnaWfResourceSearchSelectionService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchSelectionService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
3951
4325
  MtnaWfResourceSearchSelectionService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchSelectionService });
3952
4326
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchSelectionService, decorators: [{
3953
4327
  type: i0.Injectable
3954
4328
  }] });
3955
4329
 
3956
- /* eslint-disable @angular-eslint/component-selector */
3957
- var MtnaWfFormDisablerComponent = /** @class */ (function () {
3958
- function MtnaWfFormDisablerComponent() {
3959
- this.formDisabled = false;
4330
+ var _BaseFormComponent = i4.mixinDestroyNotifier(/** @class */ (function () {
4331
+ function class_1() {
3960
4332
  }
3961
- return MtnaWfFormDisablerComponent;
3962
- }());
3963
- MtnaWfFormDisablerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3964
- MtnaWfFormDisablerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: { formDisabled: "formDisabled" }, ngImport: i0__namespace, template: "\n <fieldset [disabled]=\"formDisabled\">\n <ng-content></ng-content>\n </fieldset>\n ", isInline: true, styles: ["\n fieldset {\n display: block;\n margin: unset;\n padding: unset;\n border: unset;\n }\n "] });
3965
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerComponent, decorators: [{
3966
- type: i0.Component,
3967
- args: [{
3968
- selector: '[formDisabled]',
3969
- template: "\n <fieldset [disabled]=\"formDisabled\">\n <ng-content></ng-content>\n </fieldset>\n ",
3970
- styles: [
3971
- "\n fieldset {\n display: block;\n margin: unset;\n padding: unset;\n border: unset;\n }\n ",
3972
- ],
3973
- }]
3974
- }], propDecorators: { formDisabled: [{
3975
- type: i0.Input
3976
- }] } });
3977
-
3978
- var MtnaWfFormComponent = /** @class */ (function (_super) {
3979
- __extends(MtnaWfFormComponent, _super);
3980
- function MtnaWfFormComponent(mtnaFormManager, ngFormService, uiService) {
4333
+ return class_1;
4334
+ }()));
4335
+ var MtnaWfBaseFormComponent = /** @class */ (function (_super) {
4336
+ __extends(MtnaWfBaseFormComponent, _super);
4337
+ function MtnaWfBaseFormComponent(mtnaFormManager, ngFormService, uiService) {
3981
4338
  var _this = _super.call(this) || this;
3982
4339
  _this.mtnaFormManager = mtnaFormManager;
3983
4340
  _this.ngFormService = ngFormService;
@@ -3999,14 +4356,14 @@
3999
4356
  _this._subscribeAndEmitMtnaFormChanges();
4000
4357
  return _this;
4001
4358
  }
4002
- Object.defineProperty(MtnaWfFormComponent.prototype, "annotations", {
4359
+ Object.defineProperty(MtnaWfBaseFormComponent.prototype, "annotations", {
4003
4360
  set: function (map) {
4004
4361
  this.uiService.registerAnnotations(map);
4005
4362
  },
4006
4363
  enumerable: false,
4007
4364
  configurable: true
4008
4365
  });
4009
- Object.defineProperty(MtnaWfFormComponent.prototype, "emitStatusOnMtnaFormChange", {
4366
+ Object.defineProperty(MtnaWfBaseFormComponent.prototype, "emitStatusOnMtnaFormChange", {
4010
4367
  /** Whether to emit the status of each step each time the {@link mtnaForm} is set to a new value. Defaults to false.*/
4011
4368
  get: function () {
4012
4369
  return this._emitStatusOnMtnaFormChange;
@@ -4017,7 +4374,7 @@
4017
4374
  enumerable: false,
4018
4375
  configurable: true
4019
4376
  });
4020
- Object.defineProperty(MtnaWfFormComponent.prototype, "mtnaForm", {
4377
+ Object.defineProperty(MtnaWfBaseFormComponent.prototype, "mtnaForm", {
4021
4378
  get: function () {
4022
4379
  return this._mtnaForm;
4023
4380
  },
@@ -4043,7 +4400,7 @@
4043
4400
  enumerable: false,
4044
4401
  configurable: true
4045
4402
  });
4046
- Object.defineProperty(MtnaWfFormComponent.prototype, "steps", {
4403
+ Object.defineProperty(MtnaWfBaseFormComponent.prototype, "steps", {
4047
4404
  /**
4048
4405
  * The form can contain sections not included in the steps.
4049
4406
  * To avoid misalignment of steps-to-sections, we map each step to
@@ -4074,7 +4431,7 @@
4074
4431
  enumerable: false,
4075
4432
  configurable: true
4076
4433
  });
4077
- Object.defineProperty(MtnaWfFormComponent.prototype, "readonly", {
4434
+ Object.defineProperty(MtnaWfBaseFormComponent.prototype, "readonly", {
4078
4435
  get: function () {
4079
4436
  return this.readonly$.value;
4080
4437
  },
@@ -4087,20 +4444,20 @@
4087
4444
  enumerable: false,
4088
4445
  configurable: true
4089
4446
  });
4090
- MtnaWfFormComponent.prototype.ngAfterViewInit = function () {
4447
+ MtnaWfBaseFormComponent.prototype.ngAfterViewInit = function () {
4091
4448
  var afterViewInitDate = new Date();
4092
4449
  var secondsToRender = (afterViewInitDate.getTime() - this._constructionDate.getTime()) / 1000;
4093
4450
  console.warn('[MtnaFormComponent] afterViewInit - took ', secondsToRender, ' to render');
4094
4451
  };
4095
- MtnaWfFormComponent.prototype.ngOnDestroy = function () {
4452
+ MtnaWfBaseFormComponent.prototype.ngOnDestroy = function () {
4096
4453
  _super.prototype.ngOnDestroy.call(this);
4097
4454
  this.uiService.resetComponentMap();
4098
4455
  };
4099
- MtnaWfFormComponent.prototype._trackByInstanceId = function (index, formItem) {
4456
+ MtnaWfBaseFormComponent.prototype._trackByInstanceId = function (index, formItem) {
4100
4457
  return formItem.instanceId;
4101
4458
  };
4102
4459
  /** Subscribe and emit form status changes for the steps. */
4103
- MtnaWfFormComponent.prototype._checkAndSubscribeToFormStatus = function () {
4460
+ MtnaWfBaseFormComponent.prototype._checkAndSubscribeToFormStatus = function () {
4104
4461
  var _this = this;
4105
4462
  // Only subscribe once both the steps and the angular have been initialized
4106
4463
  if (this.ngForm && this._steps) {
@@ -4121,9 +4478,9 @@
4121
4478
  /**
4122
4479
  * Find a form control with the given name, then emit it's status.
4123
4480
  *
4124
- * @param name — The unique name of the form cotrol to find and emit the status for.
4481
+ * @param name — The unique name of the form control to find and emit the status for.
4125
4482
  */
4126
- MtnaWfFormComponent.prototype._emitFormControlStatus = function (name) {
4483
+ MtnaWfBaseFormComponent.prototype._emitFormControlStatus = function (name) {
4127
4484
  if (this.ngForm) {
4128
4485
  var control = findFormControl(name, this.ngForm);
4129
4486
  if (control) {
@@ -4137,7 +4494,7 @@
4137
4494
  /**
4138
4495
  * @param emitInitialValues Whether to emit initial step values or just listen for future changes
4139
4496
  */
4140
- MtnaWfFormComponent.prototype._emitInitialStepsStatusAndSubscribeToChanges = function (emitInitialValues) {
4497
+ MtnaWfBaseFormComponent.prototype._emitInitialStepsStatusAndSubscribeToChanges = function (emitInitialValues) {
4141
4498
  var _this = this;
4142
4499
  if (this._steps && this.ngForm) {
4143
4500
  this._unsubscribeFromNgFormChanges();
@@ -4154,9 +4511,9 @@
4154
4511
  });
4155
4512
  }
4156
4513
  // Subscribe to status changes of each step & emit on change
4157
- this_1._ngFormStatusChangeSub.add(control.statusChanges
4158
- .pipe(operators.takeUntil(this_1.destroyed$), operators.distinctUntilChanged())
4159
- .subscribe(function (status) { return _this.status.emit({ id: key, status: status }); }));
4514
+ this_1._ngFormStatusChangeSub.add(control.statusChanges.pipe(operators.takeUntil(this_1.destroyed$), operators.distinctUntilChanged()).subscribe(function (status) {
4515
+ _this.status.emit({ id: key, status: status });
4516
+ }));
4160
4517
  }
4161
4518
  }
4162
4519
  };
@@ -4172,7 +4529,7 @@
4172
4529
  * When the form is not readonly, we subscribe to form status & form item changes, so we can emit them.
4173
4530
  * When the form is readonly, we do not want to emit any changes, so we unsubscribe.
4174
4531
  */
4175
- MtnaWfFormComponent.prototype._subscribeAndEmitMtnaFormChanges = function () {
4532
+ MtnaWfBaseFormComponent.prototype._subscribeAndEmitMtnaFormChanges = function () {
4176
4533
  var _this = this;
4177
4534
  this.readonly$
4178
4535
  .pipe(operators.takeUntil(this.destroyed$),
@@ -4188,7 +4545,7 @@
4188
4545
  }
4189
4546
  });
4190
4547
  };
4191
- MtnaWfFormComponent.prototype._handleFormSerialization = function (form) {
4548
+ MtnaWfBaseFormComponent.prototype._handleFormSerialization = function (form) {
4192
4549
  // Get the registered form from the service if it exists
4193
4550
  this._hasPreviousForm = this.ngFormService.hasForm();
4194
4551
  if (this._hasPreviousForm) {
@@ -4206,39 +4563,31 @@
4206
4563
  * Adds or removes a FormItem whenever a new MtnaWfFormItemChange occurs,
4207
4564
  * and emits a new MtnaForm.
4208
4565
  */
4209
- MtnaWfFormComponent.prototype._subscribeToMtnaFormItemChanges = function () {
4566
+ MtnaWfBaseFormComponent.prototype._subscribeToMtnaFormItemChanges = function () {
4210
4567
  var _this = this;
4211
4568
  this._unsubscribeFromMtnaFormChanges();
4212
4569
  this._mtnaFormItemChangeSub = this.mtnaFormManager.formChanges
4213
4570
  .pipe(operators.takeUntil(this.destroyed$), operators.skipWhile(function (change) { return !change; }))
4214
4571
  .subscribe(function (newForm) { return _this.mtnaFormChange.emit(newForm); });
4215
4572
  };
4216
- MtnaWfFormComponent.prototype._unsubscribeFromNgFormChanges = function () {
4573
+ MtnaWfBaseFormComponent.prototype._unsubscribeFromNgFormChanges = function () {
4217
4574
  if (!!this._ngFormStatusChangeSub && !this._ngFormStatusChangeSub.closed) {
4218
4575
  this._ngFormStatusChangeSub.unsubscribe();
4219
4576
  }
4220
4577
  };
4221
- MtnaWfFormComponent.prototype._unsubscribeFromMtnaFormChanges = function () {
4578
+ MtnaWfBaseFormComponent.prototype._unsubscribeFromMtnaFormChanges = function () {
4222
4579
  if (!!this._mtnaFormItemChangeSub && !this._mtnaFormItemChangeSub.closed) {
4223
4580
  this._mtnaFormItemChangeSub.unsubscribe();
4224
4581
  }
4225
4582
  };
4226
- return MtnaWfFormComponent;
4227
- }(i1$1.mixinDestroyNotifier(/** @class */ (function () {
4228
- function class_1() {
4229
- }
4230
- return class_1;
4231
- }()))));
4232
- MtnaWfFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, deps: [{ token: MtnaWfManagerService }, { token: MtnaWfNgFormService }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
4233
- MtnaWfFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormComponent, selector: "mtna-form", inputs: { annotations: "annotations", emitStatusOnMtnaFormChange: "emitStatusOnMtnaFormChange", mtnaForm: "mtnaForm", steps: "steps", readonly: "readonly" }, outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange" }, usesInheritance: true, ngImport: i0__namespace, template: "<form *ngIf=\"ngForm\" [formGroup]=\"ngForm\" [formDisabled]=\"readonly\">\n <mtna-wf-item\n *ngFor=\"let item of mtnaForm?.items; let index = index; trackBy: _trackByInstanceId\"\n [item]=\"item\"\n [control]=\"ngForm.controls[item.instanceId]\"\n [readonly]=\"readonly\"\n [parentIds]=\"componentIds\"\n [step]=\"_steps?.[item.instanceId]\"\n (focusedSection)=\"focusedSection.emit($event)\"\n ></mtna-wf-item>\n</form>\n", styles: ["mtna-form form{display:block}mtna-form form .mtna-wf-section{display:block;margin:32px 0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline{opacity:0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-end,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-gap,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:1px}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-suffix .mat-datepicker-toggle .mat-icon-button{cursor:default}mtna-form .mtna-wf-item,mtna-form .mtna-wf-title{margin-top:1rem}mtna-form .mtna-wf-text{margin:.5rem 0;font-size:.9rem}mtna-form .mtna-wf-title-item,mtna-form .mtna-wf-text-item{margin:0}mtna-form mtna-annotations-indicator+mtna-wf-value-item .mtna-wf-title-item,mtna-form mtna-annotations-indicator+mtna-wf-value-item .mtna-wf-text-item{padding-right:24px}\n"], components: [{ type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: ["formDisabled"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4234
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, decorators: [{
4583
+ return MtnaWfBaseFormComponent;
4584
+ }(_BaseFormComponent));
4585
+ MtnaWfBaseFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormComponent, deps: [{ token: MtnaWfManagerService }, { token: MtnaWfNgFormService }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
4586
+ MtnaWfBaseFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseFormComponent, selector: "ng-component", inputs: { annotations: "annotations", emitStatusOnMtnaFormChange: "emitStatusOnMtnaFormChange", mtnaForm: "mtnaForm", steps: "steps", readonly: "readonly" }, outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
4587
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormComponent, decorators: [{
4235
4588
  type: i0.Component,
4236
4589
  args: [{
4237
- selector: 'mtna-form',
4238
- templateUrl: './form.component.html',
4239
- styleUrls: ['./form.component.scss'],
4240
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
4241
- encapsulation: i0.ViewEncapsulation.None,
4590
+ template: "",
4242
4591
  }]
4243
4592
  }], ctorParameters: function () { return [{ type: MtnaWfManagerService }, { type: MtnaWfNgFormService }, { type: MtnaWfUIService }]; }, propDecorators: { annotations: [{
4244
4593
  type: i0.Input
@@ -4258,18 +4607,62 @@
4258
4607
  type: i0.Output
4259
4608
  }] } });
4260
4609
 
4610
+ /* eslint-disable @angular-eslint/component-selector */
4611
+ var MtnaWfFormDisablerComponent = /** @class */ (function () {
4612
+ function MtnaWfFormDisablerComponent() {
4613
+ this.formDisabled = false;
4614
+ }
4615
+ return MtnaWfFormDisablerComponent;
4616
+ }());
4617
+ MtnaWfFormDisablerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4618
+ MtnaWfFormDisablerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: { formDisabled: "formDisabled" }, ngImport: i0__namespace, template: "\n <fieldset [disabled]=\"formDisabled\">\n <ng-content></ng-content>\n </fieldset>\n ", isInline: true, styles: ["\n fieldset {\n display: block;\n margin: unset;\n padding: unset;\n border: unset;\n }\n "] });
4619
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerComponent, decorators: [{
4620
+ type: i0.Component,
4621
+ args: [{
4622
+ selector: '[formDisabled]',
4623
+ template: "\n <fieldset [disabled]=\"formDisabled\">\n <ng-content></ng-content>\n </fieldset>\n ",
4624
+ styles: [
4625
+ "\n fieldset {\n display: block;\n margin: unset;\n padding: unset;\n border: unset;\n }\n ",
4626
+ ],
4627
+ }]
4628
+ }], propDecorators: { formDisabled: [{
4629
+ type: i0.Input
4630
+ }] } });
4631
+
4632
+ /* eslint-disable @angular-eslint/no-outputs-metadata-property */
4633
+ var MtnaWfFormComponent = /** @class */ (function (_super) {
4634
+ __extends(MtnaWfFormComponent, _super);
4635
+ function MtnaWfFormComponent() {
4636
+ return _super !== null && _super.apply(this, arguments) || this;
4637
+ }
4638
+ return MtnaWfFormComponent;
4639
+ }(MtnaWfBaseFormComponent));
4640
+ MtnaWfFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
4641
+ MtnaWfFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormComponent, selector: "mtna-form", outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange" }, usesInheritance: true, ngImport: i0__namespace, template: "<form *ngIf=\"ngForm\" [formGroup]=\"ngForm\" [formDisabled]=\"readonly\">\n <mtna-wf-item\n *ngFor=\"let item of mtnaForm?.items; let index = index; trackBy: _trackByInstanceId\"\n [item]=\"item\"\n [control]=\"ngForm.controls[item.instanceId]\"\n [readonly]=\"readonly\"\n [parentIds]=\"componentIds\"\n [step]=\"_steps?.[item.instanceId]\"\n (focusedSection)=\"focusedSection.emit($event)\"\n ></mtna-wf-item>\n</form>\n", styles: ["mtna-form form{display:block}mtna-form form .mtna-wf-section{display:block;margin:32px 0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline{opacity:0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-end,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-gap,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:1px}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-suffix .mat-datepicker-toggle .mat-icon-button{cursor:default}mtna-form .mtna-wf-item,mtna-form .mtna-wf-title{margin-top:1rem}mtna-form .mtna-wf-text{margin:.5rem 0;font-size:.9rem}mtna-form .mtna-wf-title-item,mtna-form .mtna-wf-text-item{margin:0}\n"], components: [{ type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: ["formDisabled"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4642
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, decorators: [{
4643
+ type: i0.Component,
4644
+ args: [{
4645
+ selector: 'mtna-form',
4646
+ templateUrl: './form.component.html',
4647
+ styleUrls: ['./form.component.scss'],
4648
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
4649
+ encapsulation: i0.ViewEncapsulation.None,
4650
+ outputs: ['status', 'focusedSection', 'mtnaFormChange'],
4651
+ }]
4652
+ }] });
4653
+
4261
4654
  var MtnaWfFormDisablerModule = /** @class */ (function () {
4262
4655
  function MtnaWfFormDisablerModule() {
4263
4656
  }
4264
4657
  return MtnaWfFormDisablerModule;
4265
4658
  }());
4266
4659
  MtnaWfFormDisablerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4267
- MtnaWfFormDisablerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, declarations: [MtnaWfFormDisablerComponent], imports: [i4.CommonModule], exports: [MtnaWfFormDisablerComponent] });
4268
- MtnaWfFormDisablerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, imports: [[i4.CommonModule]] });
4660
+ MtnaWfFormDisablerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, declarations: [MtnaWfFormDisablerComponent], imports: [i3$1.CommonModule], exports: [MtnaWfFormDisablerComponent] });
4661
+ MtnaWfFormDisablerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, imports: [[i3$1.CommonModule]] });
4269
4662
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, decorators: [{
4270
4663
  type: i0.NgModule,
4271
4664
  args: [{
4272
- imports: [i4.CommonModule],
4665
+ imports: [i3$1.CommonModule],
4273
4666
  exports: [MtnaWfFormDisablerComponent],
4274
4667
  declarations: [MtnaWfFormDisablerComponent],
4275
4668
  }]
@@ -4282,12 +4675,19 @@
4282
4675
  }
4283
4676
  return class_1;
4284
4677
  }()), 'primary');
4678
+ /**
4679
+ * A component that represents a single step in a form stepper.
4680
+ * NOTE:
4681
+ * - disabled: property on the FormStep used to determine if the step is disabled. This will affect the disabled property and the clickable property.
4682
+ * - clickable: property on the FormStep used to determine if the step is clickable. This does not affect the disabled property.
4683
+ */
4285
4684
  var MtnaWfFormStepComponent = /** @class */ (function (_super) {
4286
4685
  __extends(MtnaWfFormStepComponent, _super);
4287
4686
  function MtnaWfFormStepComponent(elementRef) {
4288
4687
  var _this = _super.call(this, elementRef) || this;
4289
4688
  _this.disabled = false;
4290
4689
  _this._clickable = true;
4690
+ _this.notApplicableText = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["Not Applicable"], ["Not Applicable"])));
4291
4691
  return _this;
4292
4692
  }
4293
4693
  Object.defineProperty(MtnaWfFormStepComponent.prototype, "step", {
@@ -4296,7 +4696,7 @@
4296
4696
  },
4297
4697
  set: function (step) {
4298
4698
  this._step = step;
4299
- this.disabled = step.status === 'DISABLED';
4699
+ this.disabled = step.status === 'DISABLED' || step.disabled;
4300
4700
  },
4301
4701
  enumerable: false,
4302
4702
  configurable: true
@@ -4323,7 +4723,7 @@
4323
4723
  return MtnaWfFormStepComponent;
4324
4724
  }(_FormStepMixinBase$1));
4325
4725
  MtnaWfFormStepComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4326
- MtnaWfFormStepComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: { color: "color", step: "step", clickable: "clickable", incompleteIcon: "incompleteIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.clickable": "this.clickable" } }, usesInheritance: true, ngImport: i0__namespace, template: "<li\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n matRipple\n [matRippleDisabled]=\"!clickable\"\n [class.active-step]=\"step.active\"\n (click)=\"_haltClickEvent($event)\"\n>\n <mtna-status-circle\n [color]=\"color\"\n [circleNumber]=\"step.num\"\n [incompleteIcon]=\"incompleteIcon\"\n [optional]=\"step.optional\"\n [status]=\"step.status\"\n ></mtna-status-circle>\n <div fxLayout=\"column\" fxFlex=\"100\">\n <p class=\"step-title\">{{ step.label }}</p>\n <p *ngIf=\"step.optional || disabled\" class=\"step-status\">{{ disabled ? step.disabledText || 'Not Applicable' : 'Optional' }}</p>\n </div>\n</li>\n", styles: ["mtna-wf-step li{padding:8px 16px;position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;line-height:24px;font-size:14px;transition:background-color .15s cubic-bezier(0,0,.2,1)}mtna-wf-step li:after{content:\"\";display:block;position:absolute;top:0;right:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1}mtna-wf-step li .step-title,mtna-wf-step li .step-status{margin:0}mtna-wf-step.disabled{font-style:italic}\n"], components: [{ type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }], directives: [{ type: i3__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleRadius", "matRippleDisabled", "matRippleTrigger", "matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleAnimation"], exportAs: ["matRipple"] }, { type: i3__namespace$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4726
+ MtnaWfFormStepComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: { color: "color", step: "step", clickable: "clickable", incompleteIcon: "incompleteIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.clickable": "this.clickable" } }, usesInheritance: true, ngImport: i0__namespace, template: "<li\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n matRipple\n [matRippleDisabled]=\"!clickable\"\n [class.active-step]=\"step.active\"\n (click)=\"_haltClickEvent($event)\"\n>\n <mtna-status-circle\n [color]=\"color\"\n [circleNumber]=\"step.num\"\n [incompleteIcon]=\"incompleteIcon\"\n [optional]=\"step.optional\"\n [status]=\"step.status\"\n ></mtna-status-circle>\n <div fxLayout=\"column\" fxFlex=\"100\">\n <p class=\"step-title\">{{ step.label }}</p>\n <p *ngIf=\"step.optional && !disabled\" class=\"step-status\" i18n>Optional</p>\n <p *ngIf=\"disabled\" class=\"step-status\">{{ step.disabledText || notApplicableText }}</p>\n </div>\n</li>\n", styles: ["mtna-wf-step li{padding:8px 16px;position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;line-height:24px;font-size:14px;transition:background-color .15s cubic-bezier(0,0,.2,1)}mtna-wf-step li:after{content:\"\";display:block;position:absolute;top:0;right:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1}mtna-wf-step li .step-title,mtna-wf-step li .step-status{margin:0}mtna-wf-step.disabled{font-style:italic}\n"], components: [{ type: i4__namespace.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }], directives: [{ type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$3.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleRadius", "matRippleDisabled", "matRippleTrigger", "matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleAnimation"], exportAs: ["matRipple"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4327
4727
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepComponent, decorators: [{
4328
4728
  type: i0.Component,
4329
4729
  args: [{
@@ -4347,6 +4747,7 @@
4347
4747
  }], incompleteIcon: [{
4348
4748
  type: i0.Input
4349
4749
  }] } });
4750
+ var templateObject_1$a;
4350
4751
 
4351
4752
  /* eslint-disable @angular-eslint/no-inputs-metadata-property */
4352
4753
  var _FormStepMixinBase = i3.mixinColor(/** @class */ (function () {
@@ -4363,6 +4764,8 @@
4363
4764
  _this.collapsed = false;
4364
4765
  _this._steps = [];
4365
4766
  _this.selected = new i0.EventEmitter();
4767
+ _this._collapsedText = $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["View All"], ["View All"])));
4768
+ _this._hideText = $localize(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["Hide"], ["Hide"])));
4366
4769
  return _this;
4367
4770
  }
4368
4771
  Object.defineProperty(MtnaWfFormStepGroupComponent.prototype, "steps", {
@@ -4379,7 +4782,7 @@
4379
4782
  return MtnaWfFormStepGroupComponent;
4380
4783
  }(_FormStepMixinBase));
4381
4784
  MtnaWfFormStepGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4382
- MtnaWfFormStepGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: { color: "color", collapsed: "collapsed", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngFor=\"let step of steps | slice : 0 : (collapsed ? 1 : steps.length); let last = last\">\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [step]=\"step\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n <p *ngIf=\"collapsed\" class=\"show-more mat-caption\">and {{ steps.length - 1 }} more...</p>\n</ng-container>\n<button\n mat-icon-button\n class=\"collapse-button\"\n [color]=\"color\"\n (click)=\"collapsed = !collapsed\"\n [matTooltip]=\"collapsed ? 'View All' : 'Hide'\"\n>\n <mat-icon>{{ collapsed ? 'expand_more' : 'expand_less' }}</mat-icon>\n</button>\n", styles: ["mtna-wf-step-group{border-style:solid;border-radius:4px;border-width:1px;display:block;margin:4px 4px 16px 8px;padding-bottom:16px;position:relative}mtna-wf-step-group .collapse-button{bottom:-19px;left:calc(50% - 20px);position:absolute;z-index:10}mtna-wf-step-group .collapse-button:after{bottom:8px;content:\"\";height:12px;left:calc(50% - 16px);position:absolute;width:32px;z-index:-1}mtna-wf-step-group mtna-wf-step li{padding-left:8px}mtna-wf-step-group mat-divider.mat-divider{margin-left:20px}mtna-wf-step-group .show-more{margin:0;text-align:center}\n"], components: [{ type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "slice": i4__namespace.SlicePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4785
+ MtnaWfFormStepGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: { color: "color", collapsed: "collapsed", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngFor=\"let step of steps | slice : 0 : (collapsed ? 1 : steps.length); let last = last\">\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED' && step.status !== 'PLACEHOLDER'\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [step]=\"step\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n <p *ngIf=\"collapsed\" class=\"show-more mat-caption\" i18n>and {{ steps.length - 1 }} more...</p>\n</ng-container>\n<button\n mat-icon-button\n class=\"collapse-button\"\n [color]=\"color\"\n (click)=\"collapsed = !collapsed\"\n [matTooltip]=\"collapsed ? _collapsedText : _hideText\"\n>\n <mat-icon>{{ collapsed ? 'expand_more' : 'expand_less' }}</mat-icon>\n</button>\n", styles: ["mtna-wf-step-group{border-style:solid;border-radius:4px;border-width:1px;display:block;margin:4px 4px 16px 8px;padding-bottom:16px;position:relative}mtna-wf-step-group .collapse-button{bottom:-19px;left:calc(50% - 20px);position:absolute;z-index:10}mtna-wf-step-group .collapse-button:after{bottom:8px;content:\"\";height:12px;left:calc(50% - 16px);position:absolute;width:32px;z-index:-1}mtna-wf-step-group mtna-wf-step li{padding-left:8px}mtna-wf-step-group mat-divider.mat-divider{margin-left:20px}mtna-wf-step-group .show-more{margin:0;text-align:center}\n"], components: [{ type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "slice": i3__namespace.SlicePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4383
4786
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, decorators: [{
4384
4787
  type: i0.Component,
4385
4788
  args: [{
@@ -4399,6 +4802,7 @@
4399
4802
  }], selected: [{
4400
4803
  type: i0.Output
4401
4804
  }] } });
4805
+ var templateObject_1$9, templateObject_2$1;
4402
4806
 
4403
4807
  /* eslint-disable @angular-eslint/no-inputs-metadata-property */
4404
4808
  var _FormStepperMixinBase = i3.mixinColor(/** @class */ (function () {
@@ -4417,12 +4821,27 @@
4417
4821
  __extends(MtnaWfFormStepperComponent, _super);
4418
4822
  function MtnaWfFormStepperComponent(elementRef) {
4419
4823
  var _this = _super.call(this, elementRef) || this;
4420
- /** Form steps */
4421
- _this.steps = [];
4824
+ _this._steps = [];
4422
4825
  /** When a step is selected */
4423
4826
  _this.selected = new i0.EventEmitter();
4827
+ _this.groupStepCollapsedMap = {};
4828
+ _this.notApplicableText = $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["Not Applicable"], ["Not Applicable"])));
4829
+ _this._collapsedText = $localize(templateObject_2 || (templateObject_2 = __makeTemplateObject(["View All"], ["View All"])));
4830
+ _this._hideText = $localize(templateObject_3 || (templateObject_3 = __makeTemplateObject(["Hide"], ["Hide"])));
4424
4831
  return _this;
4425
4832
  }
4833
+ Object.defineProperty(MtnaWfFormStepperComponent.prototype, "steps", {
4834
+ /** Form steps */
4835
+ get: function () {
4836
+ return this._steps;
4837
+ },
4838
+ set: function (steps) {
4839
+ this._steps = steps;
4840
+ this.createGroupStepCollapsedMap(steps);
4841
+ },
4842
+ enumerable: false,
4843
+ configurable: true
4844
+ });
4426
4845
  /**
4427
4846
  * Improves effeciency of the *ngFor loop that creates the steps.
4428
4847
  *
@@ -4433,15 +4852,39 @@
4433
4852
  MtnaWfFormStepperComponent.prototype._trackStep = function (index, step) {
4434
4853
  return step.instanceId || index;
4435
4854
  };
4855
+ /**
4856
+ * Prevents click event if this step is not clickable
4857
+ */
4858
+ MtnaWfFormStepperComponent.prototype._haltClickEvent = function (event, step) {
4859
+ var clickable = step.status !== 'DISABLED' && step.status !== 'PLACEHOLDER';
4860
+ if (!clickable) {
4861
+ event.preventDefault();
4862
+ event.stopImmediatePropagation();
4863
+ }
4864
+ };
4865
+ MtnaWfFormStepperComponent.prototype.createGroupStepCollapsedMap = function (steps) {
4866
+ var _this = this;
4867
+ steps.forEach(function (step) {
4868
+ if (isFormStepGroup(step)) {
4869
+ _this.groupStepCollapsedMap[step.instanceId] = step.collapsed;
4870
+ }
4871
+ });
4872
+ console.warn('groupStepCollapsedMap', this.groupStepCollapsedMap);
4873
+ };
4874
+ MtnaWfFormStepperComponent.prototype.toggleGroupStep = function (step) {
4875
+ this.groupStepCollapsedMap[step.instanceId] = !this.groupStepCollapsedMap[step.instanceId];
4876
+ console.warn('groupStepCollapsedMap', this.groupStepCollapsedMap);
4877
+ };
4436
4878
  return MtnaWfFormStepperComponent;
4437
4879
  }(_FormStepperMixinBase));
4438
4880
  MtnaWfFormStepperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4439
- MtnaWfFormStepperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepperComponent, selector: "mtna-wf-stepper", inputs: { color: "color", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ol>\n <ng-container *ngFor=\"let step of steps; let last = last; trackBy: _trackStep\">\n <ng-container\n [ngTemplateOutlet]=\"(step | mtnaWfStepGroupPipe) ? groupStep : singleStep\"\n [ngTemplateOutletContext]=\"{ $implicit: step }\"\n ></ng-container>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n <ng-template #singleStep let-step>\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [step]=\"step\"\n [incompleteIcon]=\"incompleteIcon\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n </ng-template>\n <ng-template #groupStep let-step>\n <mtna-wf-step-group\n [collapsed]=\"step.collapsed\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [steps]=\"step.steps\"\n (selected)=\"selected.emit($event)\"\n ></mtna-wf-step-group>\n </ng-template>\n</ol>\n", styles: ["mtna-wf-stepper{border-right-width:1px;border-right-style:solid;overflow-y:auto}mtna-wf-stepper mtna-wf-step li.active-step:after{transform-origin:top;transform:scaleY(1)}mtna-wf-stepper mtna-wf-step.clickable{cursor:pointer}mtna-wf-stepper mat-divider.mat-divider{height:24px;width:1px;margin-left:28px}mtna-wf-stepper ol{padding:0}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: ["color", "collapsed", "incompleteIcon", "steps"], outputs: ["selected"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfStepGroupPipe": MtnaWfFormStepGroupPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4881
+ MtnaWfFormStepperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepperComponent, selector: "mtna-wf-stepper", inputs: { color: "color", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ol>\n <ng-container *ngFor=\"let step of steps; let last = last; trackBy: _trackStep\">\n <ng-container\n [ngTemplateOutlet]=\"(step | mtnaWfStepGroupPipe) ? groupStep : singleStep\"\n [ngTemplateOutletContext]=\"{ $implicit: step }\"\n ></ng-container>\n </ng-container>\n</ol>\n\n<ng-template #singleStep let-step>\n <ng-container *ngIf=\"step | coerceFormStep as singleStep\">\n <li\n fxLayout=\"row\"\n fxLayouAlign=\"start center\"\n [ngClass]=\"{\n 'disabled-step': singleStep.status === 'DISABLED',\n 'active-step': singleStep.active,\n 'clickable': singleStep.status !== 'DISABLED' && singleStep.status !== 'PLACEHOLDER'\n }\"\n >\n <ng-container [ngTemplateOutlet]=\"stepContent\" [ngTemplateOutletContext]=\"{ $implicit: singleStep }\"></ng-container>\n </li>\n </ng-container>\n</ng-template>\n\n<ng-template #groupStep let-step>\n <ng-container *ngIf=\"step | coerceFormStepGroup as groupStepParent\">\n <li fxLayout=\"column\" fxLayoutAlign=\"start start\" [class.child-step-active]=\"(groupStepParent.steps | childStepActive) && groupStepCollapsedMap[groupStepParent.instanceId]\">\n <div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"mtna-wf-step-item-content\">\n <button fxFlex mat-button class=\"step-button\" [attr.aria-label]=\"groupStepParent | getStepAriaLabel : groupStepCollapsedMap[groupStepParent.instanceId]\" (click)=\"toggleGroupStep(step)\">\n <mtna-status-circle [color]=\"color\" [circleNumber]=\"groupStepParent.num\" [incompleteIcon]=\"incompleteIcon\"></mtna-status-circle>\n <div fxLayout=\"row\" class=\"step-button-label-wrapper\" fxFlex=\"100\">\n <p class=\"step-title\">{{ groupStepParent.label }}</p>\n </div>\n <mat-icon>{{ groupStepCollapsedMap[step.instanceId] ? 'expand_more' : 'expand_less' }}</mat-icon>\n </button>\n </div>\n <ol class=\"group-step-list\">\n <ng-container\n *ngFor=\"let groupStep of step.steps | slice : 0 : (groupStepCollapsedMap[step.instanceId] ? 0 : step.steps.length); let last = last\"\n >\n <!-- All children in the steps property of FormStepGroup are FormStep(s). Only using coercion here to assist in defining properties we can use. -->\n <li\n *ngIf=\"groupStep | coerceFormStep as groupStepChild\"\n fxLayout=\"row\"\n fxLayouAlign=\"start center\"\n [ngClass]=\"{\n 'disabled-step': groupStepChild.status === 'DISABLED',\n 'active-step': groupStepChild.active,\n 'clickable': groupStepChild.status !== 'DISABLED' && groupStepChild.status !== 'PLACEHOLDER',\n 'group-step': true\n }\"\n >\n <ng-container [ngTemplateOutlet]=\"stepContent\" [ngTemplateOutletContext]=\"{ $implicit: groupStepChild, isChildStep: true }\"></ng-container>\n </li>\n </ng-container>\n </ol>\n </li>\n </ng-container>\n</ng-template>\n\n<!-- The individual, stand-alone step template -->\n<ng-template #stepContent let-step let-isChildStep=\"isChildStep\">\n <div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"mtna-wf-step-item-content\">\n <mat-divider *ngIf=\"isChildStep\" [vertical]=\"true\"></mat-divider>\n <button fxFlex mat-button class=\"step-button\" [attr.aria-label]=\"step | getStepAriaLabel\" [disabled]=\"step.status === 'DISABLED' || step.status === 'PLACEHOLDER'\" (click)=\"_haltClickEvent($event, step)\">\n <mtna-status-circle\n [color]=\"color\"\n [circleNumber]=\"step.num\"\n [incompleteIcon]=\"incompleteIcon\"\n [optional]=\"step.optional\"\n [status]=\"step.status\"\n ></mtna-status-circle>\n <div fxLayout=\"column\" class=\"step-button-label-wrapper\">\n <p class=\"step-title\">{{ step.label }}</p>\n <p *ngIf=\"step.optional && step.status !== 'DISABLED'\" class=\"step-status\" i18n>Optional</p>\n <p *ngIf=\"step.status === 'DISABLED'\" class=\"step-status\">{{ step.disabledText || notApplicableText }}</p>\n </div>\n </button>\n </div>\n</ng-template>\n", styles: ["mtna-wf-stepper{border-right-width:1px;border-right-style:solid;overflow-y:auto}mtna-wf-stepper li{padding:0 0 0 16px;position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;line-height:24px;font-size:14px;transition:background-color .15s cubic-bezier(0,0,.2,1)}mtna-wf-stepper li:after{content:\"\";display:block;position:absolute;top:0;right:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1}mtna-wf-stepper li.disabled-step{font-style:italic}mtna-wf-stepper li.clickable{cursor:pointer}mtna-wf-stepper li.active-step:after,mtna-wf-stepper li.child-step-active:after{transform-origin:top;transform:scaleY(1)}mtna-wf-stepper li:not(.group-step){padding-left:0}mtna-wf-stepper li .mtna-wf-step-item-content{width:100%}mtna-wf-stepper li .mtna-wf-step-item-content mat-divider.mat-divider.mat-divider-vertical{height:100%}mtna-wf-stepper li .mtna-wf-step-item-content .mat-button.step-button{text-align:left;height:-moz-fit-content;height:fit-content;min-height:36px;line-height:20px;border:none;padding:4px 13px 4px 8px;font-weight:400;border-radius:0}mtna-wf-stepper li .mtna-wf-step-item-content .mat-button.step-button .mat-button-wrapper{align-items:center;display:flex;flex-direction:row}mtna-wf-stepper li .mtna-wf-step-item-content .mat-button.step-button .mat-button-wrapper .step-button-label-wrapper{width:calc(100% - 48px - 8px)}mtna-wf-stepper li .mtna-wf-step-item-content .mat-button.step-button .mat-button-wrapper .step-button-label-wrapper .step-title{margin:0;overflow:hidden;white-space:wrap}mtna-wf-stepper li .mtna-wf-step-item-content .mat-button.step-button .mat-button-wrapper .step-button-label-wrapper .step-status{margin:0}mtna-wf-stepper li.active-step .mtna-wf-step-item-content .mat-button.step-button{font-weight:500}mtna-wf-stepper li .step-title,mtna-wf-stepper li .step-status{margin:0}mtna-wf-stepper ol:not(.group-step-list){padding:0}mtna-wf-stepper ol.group-step-list{padding-left:16px;width:calc(100% - 16px)}mtna-wf-stepper ol li.group-step{padding-left:0;padding-right:0}\n"], components: [{ type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i4__namespace.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfStepGroupPipe": MtnaWfFormStepGroupPipe, "coerceFormStep": CoerceFormStepPipe, "coerceFormStepGroup": CoerceFormStepGroupPipe, "childStepActive": ChildStepActivePipe, "getStepAriaLabel": GetStepAriaLabel, "slice": i3__namespace.SlicePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4440
4882
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, decorators: [{
4441
4883
  type: i0.Component,
4442
4884
  args: [{
4443
4885
  selector: 'mtna-wf-stepper',
4444
- templateUrl: './form-stepper.component.html',
4886
+ // templateUrl: './form-stepper.component.html',
4887
+ templateUrl: './form-stepper-new.component.html',
4445
4888
  styleUrls: ['./form-stepper.component.scss'],
4446
4889
  inputs: ['color'],
4447
4890
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
@@ -4454,6 +4897,7 @@
4454
4897
  }], selected: [{
4455
4898
  type: i0.Output
4456
4899
  }] } });
4900
+ var templateObject_1$8, templateObject_2, templateObject_3;
4457
4901
 
4458
4902
  var MtnaWfFormStepperModule = /** @class */ (function () {
4459
4903
  function MtnaWfFormStepperModule() {
@@ -4461,42 +4905,54 @@
4461
4905
  return MtnaWfFormStepperModule;
4462
4906
  }());
4463
4907
  MtnaWfFormStepperModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4464
- MtnaWfFormStepperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, declarations: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent], imports: [i4.CommonModule,
4908
+ MtnaWfFormStepperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, declarations: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent], imports: [i3$1.CommonModule,
4465
4909
  flexLayout.FlexLayoutModule,
4466
4910
  i2$2.MatDividerModule,
4467
- i1$1.MtnaStatusCircleModule,
4911
+ i4.MtnaStatusCircleModule,
4468
4912
  i3.MatRippleModule,
4469
- i3$1.MatButtonModule,
4913
+ i3$2.MatButtonModule,
4470
4914
  i6$1.MatTooltipModule,
4471
4915
  i5.MatIconModule,
4472
- MtnaWfFormStepGroupPipeModule], exports: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent] });
4916
+ MtnaWfFormStepGroupPipeModule,
4917
+ CoerceFormStepGroupPipeModule,
4918
+ CoerceFormStepPipeModule,
4919
+ ChildStepActivePipeModule,
4920
+ GetStepAriaLabelModule], exports: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent] });
4473
4921
  MtnaWfFormStepperModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, imports: [[
4474
- i4.CommonModule,
4922
+ i3$1.CommonModule,
4475
4923
  flexLayout.FlexLayoutModule,
4476
4924
  i2$2.MatDividerModule,
4477
- i1$1.MtnaStatusCircleModule,
4925
+ i4.MtnaStatusCircleModule,
4478
4926
  i3.MatRippleModule,
4479
- i3$1.MatButtonModule,
4927
+ i3$2.MatButtonModule,
4480
4928
  i6$1.MatTooltipModule,
4481
4929
  i5.MatIconModule,
4482
4930
  MtnaWfFormStepGroupPipeModule,
4931
+ CoerceFormStepGroupPipeModule,
4932
+ CoerceFormStepPipeModule,
4933
+ ChildStepActivePipeModule,
4934
+ GetStepAriaLabelModule
4483
4935
  ]] });
4484
4936
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, decorators: [{
4485
4937
  type: i0.NgModule,
4486
4938
  args: [{
4487
4939
  imports: [
4488
- i4.CommonModule,
4940
+ i3$1.CommonModule,
4489
4941
  flexLayout.FlexLayoutModule,
4490
4942
  i2$2.MatDividerModule,
4491
- i1$1.MtnaStatusCircleModule,
4943
+ i4.MtnaStatusCircleModule,
4492
4944
  i3.MatRippleModule,
4493
- i3$1.MatButtonModule,
4945
+ i3$2.MatButtonModule,
4494
4946
  i6$1.MatTooltipModule,
4495
4947
  i5.MatIconModule,
4496
4948
  MtnaWfFormStepGroupPipeModule,
4949
+ CoerceFormStepGroupPipeModule,
4950
+ CoerceFormStepPipeModule,
4951
+ ChildStepActivePipeModule,
4952
+ GetStepAriaLabelModule
4497
4953
  ],
4498
- exports: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent],
4499
4954
  declarations: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent],
4955
+ exports: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent],
4500
4956
  }]
4501
4957
  }] });
4502
4958
 
@@ -4522,6 +4978,18 @@
4522
4978
  enumerable: false,
4523
4979
  configurable: true
4524
4980
  });
4981
+ Object.defineProperty(MtnaWfStepCardComponent.prototype, "step", {
4982
+ // @Input() step: FormStep | null | undefined;
4983
+ get: function () {
4984
+ return this._step;
4985
+ },
4986
+ set: function (step) {
4987
+ this._step = step;
4988
+ console.warn({ stepInsideStepCard: step });
4989
+ },
4990
+ enumerable: false,
4991
+ configurable: true
4992
+ });
4525
4993
  MtnaWfStepCardComponent.prototype.handleFocusChange = function (event) {
4526
4994
  if (!!this.step && !!event && !this.step.active) {
4527
4995
  this.focused.emit(this.step);
@@ -4530,7 +4998,7 @@
4530
4998
  return MtnaWfStepCardComponent;
4531
4999
  }(_StepCardMixinBase));
4532
5000
  MtnaWfStepCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
4533
- MtnaWfStepCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: { color: "color", step: "step", subtitle: "subtitle" }, outputs: { focused: "focused" }, host: { properties: { "class.active": "this.active" } }, usesInheritance: true, ngImport: i0__namespace, template: "<mat-card cdkMonitorSubtreeFocus (cdkFocusChange)=\"handleFocusChange($event)\">\n <mat-card-header>\n <mtna-status-circle mat-card-avatar [circleNumber]=\"step?.num\" [optional]=\"step?.optional\" [status]=\"step?.status\"></mtna-status-circle>\n <mat-card-title>{{ step?.label }}</mat-card-title>\n <mat-card-subtitle [innerHTML]=\"subtitle | mtnaWfSanitizeHtml\"></mat-card-subtitle>\n <p *ngIf=\"step?.optional\" class=\"optional mat-caption\">Optional</p>\n </mat-card-header>\n\n <mat-divider [inset]=\"true\"></mat-divider>\n\n <mat-card-content>\n <ng-content select=\"[cardContent]\"></ng-content>\n </mat-card-content>\n\n <mat-card-actions>\n <ng-content select=\"[cardActions]\"></ng-content>\n </mat-card-actions>\n</mat-card>\n", styles: ["mtna-wf-step-card{display:block;position:relative}mtna-wf-step-card.active:before{transform-origin:top;transform:scaleY(1)}mtna-wf-step-card:before{content:\"\";display:block;position:absolute;top:0;left:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1;border-top-left-radius:2px;border-bottom-left-radius:2px}mtna-wf-step-card mat-card-header{position:relative}mtna-wf-step-card mat-card-header mat-card-title{line-height:24px;margin-right:100px}mtna-wf-step-card mat-card-header mtna-status-circle[mat-card-avatar]{width:24px;height:24px}mtna-wf-step-card mat-card-header>.optional:not(.mtna-status-circle){position:absolute;right:16px;top:0;margin:0;line-height:24px}mtna-wf-step-card mat-card-actions{padding:0;margin:0}mtna-wf-step-card mat-card-content{margin-top:16px}mtna-wf-step-card mat-card-content [cardcontent]>:first-child{margin-top:0}\n"], components: [{ type: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i1__namespace$4.MatCardHeader, selector: "mat-card-header" }, { type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4__namespace$1.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i1__namespace$4.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { type: i1__namespace$4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { type: i1__namespace$4.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$4.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { type: i1__namespace$4.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5001
+ MtnaWfStepCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: { color: "color", step: "step", subtitle: "subtitle" }, outputs: { focused: "focused" }, host: { properties: { "class.active": "this.active" } }, usesInheritance: true, ngImport: i0__namespace, template: "<mat-card cdkMonitorSubtreeFocus (cdkFocusChange)=\"handleFocusChange($event)\">\n <mat-card-header>\n <mtna-status-circle mat-card-avatar [circleNumber]=\"step?.num\" [optional]=\"step?.optional\" [status]=\"step?.status\"></mtna-status-circle>\n <mat-card-title>{{ step?.label }}</mat-card-title>\n <mat-card-subtitle [innerHTML]=\"subtitle | mtnaWfSanitizeHtml\"></mat-card-subtitle>\n <p *ngIf=\"step?.optional\" class=\"optional mat-caption\" i18n>Optional</p>\n </mat-card-header>\n\n <mat-divider [inset]=\"true\"></mat-divider>\n\n <mat-card-content>\n <ng-content select=\"[cardContent]\"></ng-content>\n </mat-card-content>\n\n <mat-card-actions>\n <ng-content select=\"[cardActions]\"></ng-content>\n </mat-card-actions>\n</mat-card>\n", styles: ["mtna-wf-step-card{display:block;position:relative}mtna-wf-step-card.active:before{transform-origin:top;transform:scaleY(1)}mtna-wf-step-card:before{content:\"\";display:block;position:absolute;top:0;left:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1;border-top-left-radius:2px;border-bottom-left-radius:2px}mtna-wf-step-card mat-card-header{position:relative}mtna-wf-step-card mat-card-header mat-card-title{line-height:24px;margin-right:100px}mtna-wf-step-card mat-card-header mtna-status-circle[mat-card-avatar]{width:24px;height:24px}mtna-wf-step-card mat-card-header>.optional:not(.mtna-status-circle){position:absolute;right:16px;top:0;margin:0;line-height:24px}mtna-wf-step-card mat-card-actions{padding:0;margin:0}mtna-wf-step-card mat-card-content{margin-top:16px}mtna-wf-step-card mat-card-content [cardcontent]>:first-child{margin-top:0}\n"], components: [{ type: i1__namespace$3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i1__namespace$3.MatCardHeader, selector: "mat-card-header" }, { type: i4__namespace.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4__namespace$1.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i1__namespace$3.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { type: i1__namespace$3.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { type: i1__namespace$3.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$3.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { type: i1__namespace$3.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4534
5002
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, decorators: [{
4535
5003
  type: i0.Component,
4536
5004
  args: [{
@@ -4558,12 +5026,34 @@
4558
5026
  return MtnaWfStepCardModule;
4559
5027
  }());
4560
5028
  MtnaWfStepCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4561
- MtnaWfStepCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, declarations: [MtnaWfStepCardComponent], imports: [i4$1.A11yModule, i4.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule], exports: [MtnaWfStepCardComponent] });
4562
- MtnaWfStepCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, imports: [[i4$1.A11yModule, i4.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule]] });
5029
+ MtnaWfStepCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, declarations: [MtnaWfStepCardComponent], imports: [i4$1.A11yModule,
5030
+ i3$1.CommonModule,
5031
+ i1$5.MatCardModule,
5032
+ i4.MtnaStatusCircleModule,
5033
+ MtnaWfSanitizeHtmlPipeModule,
5034
+ i2$2.MatDividerModule,
5035
+ MtnaWfFormItemModule], exports: [MtnaWfStepCardComponent] });
5036
+ MtnaWfStepCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, imports: [[
5037
+ i4$1.A11yModule,
5038
+ i3$1.CommonModule,
5039
+ i1$5.MatCardModule,
5040
+ i4.MtnaStatusCircleModule,
5041
+ MtnaWfSanitizeHtmlPipeModule,
5042
+ i2$2.MatDividerModule,
5043
+ MtnaWfFormItemModule,
5044
+ ]] });
4563
5045
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, decorators: [{
4564
5046
  type: i0.NgModule,
4565
5047
  args: [{
4566
- imports: [i4$1.A11yModule, i4.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule],
5048
+ imports: [
5049
+ i4$1.A11yModule,
5050
+ i3$1.CommonModule,
5051
+ i1$5.MatCardModule,
5052
+ i4.MtnaStatusCircleModule,
5053
+ MtnaWfSanitizeHtmlPipeModule,
5054
+ i2$2.MatDividerModule,
5055
+ MtnaWfFormItemModule,
5056
+ ],
4567
5057
  declarations: [MtnaWfStepCardComponent],
4568
5058
  exports: [MtnaWfStepCardComponent],
4569
5059
  }]
@@ -4576,7 +5066,7 @@
4576
5066
  }());
4577
5067
  MtnaFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4578
5068
  MtnaFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, declarations: [MtnaWfFormComponent], imports: [i4$1.A11yModule,
4579
- i4.CommonModule,
5069
+ i3$1.CommonModule,
4580
5070
  flexLayout.FlexLayoutModule,
4581
5071
  i6.FormsModule,
4582
5072
  MtnaWfFormItemModule,
@@ -4587,7 +5077,7 @@
4587
5077
  MtnaWfStepCardModule], exports: [MtnaWfFormComponent] });
4588
5078
  MtnaFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, providers: [{ provide: i3.ErrorStateMatcher, useClass: MtnaWfInstantValidationResultErrorStateMatcher }], imports: [[
4589
5079
  i4$1.A11yModule,
4590
- i4.CommonModule,
5080
+ i3$1.CommonModule,
4591
5081
  flexLayout.FlexLayoutModule,
4592
5082
  i6.FormsModule,
4593
5083
  MtnaWfFormItemModule,
@@ -4602,7 +5092,7 @@
4602
5092
  args: [{
4603
5093
  imports: [
4604
5094
  i4$1.A11yModule,
4605
- i4.CommonModule,
5095
+ i3$1.CommonModule,
4606
5096
  flexLayout.FlexLayoutModule,
4607
5097
  i6.FormsModule,
4608
5098
  MtnaWfFormItemModule,
@@ -4620,8 +5110,8 @@
4620
5110
 
4621
5111
  var MtnaWfBooleanComponent = /** @class */ (function (_super) {
4622
5112
  __extends(MtnaWfBooleanComponent, _super);
4623
- function MtnaWfBooleanComponent(uiService) {
4624
- var _this = _super.call(this) || this;
5113
+ function MtnaWfBooleanComponent(cdr, uiService) {
5114
+ var _this = _super.call(this, cdr) || this;
4625
5115
  _this.uiService = uiService;
4626
5116
  return _this;
4627
5117
  }
@@ -4633,8 +5123,8 @@
4633
5123
  };
4634
5124
  return MtnaWfBooleanComponent;
4635
5125
  }(MtnaWfBaseParentValueItem));
4636
- MtnaWfBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, deps: [{ token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
4637
- MtnaWfBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBooleanComponent, selector: "mtna-wf-boolean-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-slide-toggle *ngIf=\"control\" [formControl]=\"control\" (change)=\"toggleChange($event)\">{{ item.option.option.name }}</mat-slide-toggle>\n<ng-container *ngIf=\"!!item.optionItemMap\">\n <mtna-wf-item\n *ngFor=\"let f of item.optionItemMap | keyvalue; trackBy: _trackByInstanceId\"\n [item]=\"f.value\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[f.value.instanceId] : undefined\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n <ng-container> </ng-container\n></ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-value-item>mtna-wf-boolean-item{padding-right:24px}mtna-wf-boolean-item{display:block}mtna-wf-boolean-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-boolean-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-boolean-item .mat-slide-toggle{margin:4px 0}mtna-wf-boolean-item .mat-slide-toggle+mtna-wf-item{margin-top:0}mtna-wf-boolean-item .mat-slide-toggle~mtna-wf-item{padding-left:18px}mtna-wf-boolean-item.read-only .mat-slide-toggle.mat-disabled{opacity:.8}mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label,mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label .mat-slide-toggle-bar .mat-slide-toggle-thumb-container{cursor:default}mtna-wf-boolean-item .mat-slide-toggle{height:auto;min-height:24px}mtna-wf-boolean-item .mat-slide-toggle>.mat-slide-toggle-label>.mat-slide-toggle-content{white-space:normal}\n"], components: [{ type: i2__namespace$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "required", "checked", "aria-describedby"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5126
+ MtnaWfBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5127
+ MtnaWfBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBooleanComponent, selector: "mtna-wf-boolean-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-slide-toggle\n *ngIf=\"control\"\n [aria-label]=\"item.option.option.name\"\n [formControl]=\"control\"\n [disabled]=\"readonly\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n (change)=\"toggleChange($event)\"\n >{{ item.option.option.name }}</mat-slide-toggle\n>\n<ng-container *ngIf=\"!!item.optionItemMap\">\n <mtna-wf-item\n *ngFor=\"let f of item.optionItemMap | keyvalue; trackBy: _trackByInstanceId\"\n [item]=\"f.value\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[f.value.instanceId] : undefined\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n <ng-container> </ng-container>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-boolean-item{padding-right:24px}mtna-wf-boolean-item{display:block}mtna-wf-boolean-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-boolean-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-boolean-item .mat-slide-toggle{margin:4px 0}mtna-wf-boolean-item .mat-slide-toggle+mtna-wf-item{margin-top:0}mtna-wf-boolean-item .mat-slide-toggle~mtna-wf-item{padding-left:18px}mtna-wf-boolean-item.read-only .mat-slide-toggle.mat-disabled{opacity:.8}mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label,mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label .mat-slide-toggle-bar .mat-slide-toggle-thumb-container{cursor:default}mtna-wf-boolean-item .mat-slide-toggle{height:auto;min-height:24px;width:100%}mtna-wf-boolean-item .mat-slide-toggle>.mat-slide-toggle-label>.mat-slide-toggle-content{white-space:normal}\n"], components: [{ type: i2__namespace$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "required", "checked", "aria-describedby"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4638
5128
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, decorators: [{
4639
5129
  type: i0.Component,
4640
5130
  args: [{
@@ -4644,7 +5134,7 @@
4644
5134
  encapsulation: i0.ViewEncapsulation.None,
4645
5135
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4646
5136
  }]
4647
- }], ctorParameters: function () { return [{ type: MtnaWfUIService }]; } });
5137
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfUIService }]; } });
4648
5138
 
4649
5139
  var MtnaWfBooleanModule = /** @class */ (function () {
4650
5140
  function MtnaWfBooleanModule() {
@@ -4652,12 +5142,34 @@
4652
5142
  return MtnaWfBooleanModule;
4653
5143
  }());
4654
5144
  MtnaWfBooleanModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4655
- MtnaWfBooleanModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, declarations: [MtnaWfBooleanComponent], imports: [i4.CommonModule, i2$3.MatSlideToggleModule, MtnaWfFormItemModule, i6.FormsModule, i6.ReactiveFormsModule, MtnaWfAcknowledgeDialogModule], exports: [MtnaWfBooleanComponent] });
4656
- MtnaWfBooleanModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, imports: [[i4.CommonModule, i2$3.MatSlideToggleModule, MtnaWfFormItemModule, i6.FormsModule, i6.ReactiveFormsModule, MtnaWfAcknowledgeDialogModule]] });
5145
+ MtnaWfBooleanModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, declarations: [MtnaWfBooleanComponent], imports: [i3$1.CommonModule,
5146
+ i2$3.MatSlideToggleModule,
5147
+ MtnaWfFormItemModule,
5148
+ i6.FormsModule,
5149
+ i6.ReactiveFormsModule,
5150
+ MtnaWfAcknowledgeDialogModule,
5151
+ i4.MtnaHighlightModule], exports: [MtnaWfBooleanComponent] });
5152
+ MtnaWfBooleanModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, imports: [[
5153
+ i3$1.CommonModule,
5154
+ i2$3.MatSlideToggleModule,
5155
+ MtnaWfFormItemModule,
5156
+ i6.FormsModule,
5157
+ i6.ReactiveFormsModule,
5158
+ MtnaWfAcknowledgeDialogModule,
5159
+ i4.MtnaHighlightModule,
5160
+ ]] });
4657
5161
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, decorators: [{
4658
5162
  type: i0.NgModule,
4659
5163
  args: [{
4660
- imports: [i4.CommonModule, i2$3.MatSlideToggleModule, MtnaWfFormItemModule, i6.FormsModule, i6.ReactiveFormsModule, MtnaWfAcknowledgeDialogModule],
5164
+ imports: [
5165
+ i3$1.CommonModule,
5166
+ i2$3.MatSlideToggleModule,
5167
+ MtnaWfFormItemModule,
5168
+ i6.FormsModule,
5169
+ i6.ReactiveFormsModule,
5170
+ MtnaWfAcknowledgeDialogModule,
5171
+ i4.MtnaHighlightModule,
5172
+ ],
4661
5173
  declarations: [MtnaWfBooleanComponent],
4662
5174
  exports: [MtnaWfBooleanComponent],
4663
5175
  }]
@@ -4665,10 +5177,11 @@
4665
5177
 
4666
5178
  var MtnaWfCheckboxComponent = /** @class */ (function (_super) {
4667
5179
  __extends(MtnaWfCheckboxComponent, _super);
4668
- function MtnaWfCheckboxComponent(dialogService) {
4669
- var _this = _super.call(this) || this;
5180
+ function MtnaWfCheckboxComponent(cdr, dialogService) {
5181
+ var _this = _super.call(this, cdr) || this;
4670
5182
  _this.dialogService = dialogService;
4671
5183
  _this.destroyed$ = new rxjs.Subject();
5184
+ _this._acknowledgementText = $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["Acknowledged. Click to view the agreement."], ["Acknowledged. Click to view the agreement."])));
4672
5185
  return _this;
4673
5186
  }
4674
5187
  MtnaWfCheckboxComponent.prototype.handleChange = function (change, index) {
@@ -4716,7 +5229,6 @@
4716
5229
  * @param acknowledgementItem The form item that represents the acknowledgement text to display to the user.
4717
5230
  * */
4718
5231
  MtnaWfCheckboxComponent.prototype.showAcknowledgement = function (event, acknowledgementItem) {
4719
- console.warn('showAcknowledgement in checkbox component');
4720
5232
  event.stopPropagation();
4721
5233
  event.preventDefault();
4722
5234
  this.dialogService.showAcknowledgement(acknowledgementItem);
@@ -4730,8 +5242,8 @@
4730
5242
  };
4731
5243
  return MtnaWfCheckboxComponent;
4732
5244
  }(MtnaWfBaseParentValueItem));
4733
- MtnaWfCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, deps: [{ token: MtnaWfDialogService }], target: i0__namespace.ɵɵFactoryTarget.Component });
4734
- MtnaWfCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxComponent, selector: "mtna-wf-checkbox-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"hasItemHeader\" class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control?.invalid && (control?.dirty || control?.touched)\">\n <mat-error *ngFor=\"let error of control?.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n</div>\n<fieldset\n class=\"control-item-content\"\n [class.single-option]=\"item.options.length === 1\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <ng-container *ngFor=\"let opt of item.options; let i = index; trackBy: _trackByOptionId\">\n <mat-checkbox\n *ngIf=\"!!control && !!control.controls && !!control.controls[i]\"\n [disableRipple]=\"readonly\"\n [formControl]=\"$any(control.controls[i])\"\n [color]=\"color\"\n (change)=\"handleChange($event, i)\"\n >{{ opt.option.name }}\n <button\n *ngIf=\"opt.acknowledgement && control.controls[i].value\"\n aria-label=\"Acknowledged. Click to view the agreement.\"\n class=\"acknowledge-verification-button\"\n mat-icon-button\n matTooltip=\"Acknowledged. Click to view the agreement.\"\n matTooltipShowDelay=\"800\"\n (click)=\"showAcknowledgement($event, opt.acknowledgement)\"\n (mousedown)=\"stopEventPropagation($event)\"\n (touchstart)=\"stopEventPropagation($event)\"\n >\n <mat-icon>verified</mat-icon>\n </button>\n </mat-checkbox>\n <ng-container *ngIf=\"item.optionItemMap[opt.option.id]\">\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n ></mtna-wf-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-checkbox-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-checkbox-item .mat-checkbox{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button{vertical-align:top;width:18px;height:18px;line-height:18px;margin-left:4px}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button .mat-icon{width:18px;height:18px;line-height:18px;font-size:18px}mtna-wf-checkbox-item fieldset{border:none;margin:0}mtna-wf-checkbox-item fieldset.control-item-content.single-option{padding:0}mtna-wf-checkbox-item .mat-checkbox+mtna-wf-item{margin-top:0;padding-left:24px}mtna-wf-checkbox-item.read-only .mat-checkbox{cursor:default}\n"], components: [{ type: i2__namespace$3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5245
+ MtnaWfCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MtnaWfDialogService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5246
+ MtnaWfCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxComponent, selector: "mtna-wf-checkbox-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"hasItemHeader\" class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control?.invalid && (control?.dirty || control?.touched)\">\n <mat-error *ngFor=\"let error of control?.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n</div>\n<fieldset\n class=\"control-item-content\"\n [class.single-option]=\"item.options.length === 1\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <ng-container *ngFor=\"let opt of item.options; let i = index; trackBy: _trackByOptionId\">\n <div *ngIf=\"!!control && !!control.controls && !!control.controls[i]\" fxLayout=\"row\">\n <mat-checkbox\n [disableRipple]=\"readonly\"\n [formControl]=\"$any(control.controls[i])\"\n [color]=\"color\"\n [disabled]=\"readonly\"\n (change)=\"handleChange($event, i)\"\n >{{ opt.option.name }}\n </mat-checkbox>\n <button\n *ngIf=\"opt.acknowledgement && control.controls[i].value\"\n mat-icon-button\n class=\"acknowledge-verification-button\"\n [attr.aria-label]=\"_acknowledgementText\"\n [matTooltip]=\"_acknowledgementText\"\n matTooltipShowDelay=\"800\"\n (click)=\"showAcknowledgement($event, opt.acknowledgement)\"\n (mousedown)=\"stopEventPropagation($event)\"\n (touchstart)=\"stopEventPropagation($event)\"\n >\n <mat-icon>verified</mat-icon>\n </button>\n </div>\n <ng-container *ngIf=\"item.optionItemMap[opt.option.id]\">\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n ></mtna-wf-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-checkbox-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-checkbox-item .mat-checkbox{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item .mat-checkbox .mat-checkbox-inner-container{bottom:1px}mtna-wf-checkbox-item .acknowledge-verification-button{vertical-align:top;width:18px;height:18px;line-height:18px;margin-left:4px}mtna-wf-checkbox-item .acknowledge-verification-button .mat-icon{width:18px;height:18px;line-height:18px;font-size:18px}mtna-wf-checkbox-item fieldset{border:none;margin:0}mtna-wf-checkbox-item fieldset.control-item-content.single-option{padding:0}mtna-wf-checkbox-item .mat-checkbox+mtna-wf-item{margin-top:0;padding-left:24px}mtna-wf-checkbox-item.read-only .mat-checkbox{cursor:default}\n"], components: [{ type: i2__namespace$3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4735
5247
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, decorators: [{
4736
5248
  type: i0.Component,
4737
5249
  args: [{
@@ -4741,7 +5253,25 @@
4741
5253
  encapsulation: i0.ViewEncapsulation.None,
4742
5254
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4743
5255
  }]
4744
- }], ctorParameters: function () { return [{ type: MtnaWfDialogService }]; } });
5256
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfDialogService }]; } });
5257
+ var templateObject_1$7;
5258
+
5259
+ var MtnaWfFormItemDialogModule = /** @class */ (function () {
5260
+ function MtnaWfFormItemDialogModule() {
5261
+ }
5262
+ return MtnaWfFormItemDialogModule;
5263
+ }());
5264
+ MtnaWfFormItemDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5265
+ MtnaWfFormItemDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, declarations: [MtnaWfFormItemDialogComponent], imports: [i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule, i3$2.MatButtonModule], exports: [MtnaWfFormItemDialogComponent] });
5266
+ MtnaWfFormItemDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, imports: [[i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule, i3$2.MatButtonModule]] });
5267
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, decorators: [{
5268
+ type: i0.NgModule,
5269
+ args: [{
5270
+ imports: [i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule, i3$2.MatButtonModule],
5271
+ declarations: [MtnaWfFormItemDialogComponent],
5272
+ exports: [MtnaWfFormItemDialogComponent],
5273
+ }]
5274
+ }] });
4745
5275
 
4746
5276
  var MtnaWfCheckboxModule = /** @class */ (function () {
4747
5277
  function MtnaWfCheckboxModule() {
@@ -4749,45 +5279,51 @@
4749
5279
  return MtnaWfCheckboxModule;
4750
5280
  }());
4751
5281
  MtnaWfCheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4752
- MtnaWfCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, declarations: [MtnaWfCheckboxComponent], imports: [i4.CommonModule,
5282
+ MtnaWfCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, declarations: [MtnaWfCheckboxComponent], imports: [i3$1.CommonModule,
4753
5283
  MtnaWfGetFormControlErrorPipeModule,
5284
+ flexLayout.FlexLayoutModule,
4754
5285
  i6.FormsModule,
4755
- i1$7.MatFormFieldModule,
5286
+ i1$6.MatFormFieldModule,
4756
5287
  i2$4.MatCheckboxModule,
4757
- i3$1.MatButtonModule,
5288
+ i3$2.MatButtonModule,
4758
5289
  i5.MatIconModule,
4759
5290
  i6$1.MatTooltipModule,
4760
5291
  MtnaWfFormItemModule,
4761
- i1$1.MtnaHighlightModule,
4762
- i6.ReactiveFormsModule], exports: [MtnaWfCheckboxComponent] });
5292
+ i4.MtnaHighlightModule,
5293
+ i6.ReactiveFormsModule,
5294
+ MtnaWfFormItemDialogModule], exports: [MtnaWfCheckboxComponent] });
4763
5295
  MtnaWfCheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, imports: [[
4764
- i4.CommonModule,
5296
+ i3$1.CommonModule,
4765
5297
  MtnaWfGetFormControlErrorPipeModule,
5298
+ flexLayout.FlexLayoutModule,
4766
5299
  i6.FormsModule,
4767
- i1$7.MatFormFieldModule,
5300
+ i1$6.MatFormFieldModule,
4768
5301
  i2$4.MatCheckboxModule,
4769
- i3$1.MatButtonModule,
5302
+ i3$2.MatButtonModule,
4770
5303
  i5.MatIconModule,
4771
5304
  i6$1.MatTooltipModule,
4772
5305
  MtnaWfFormItemModule,
4773
- i1$1.MtnaHighlightModule,
5306
+ i4.MtnaHighlightModule,
4774
5307
  i6.ReactiveFormsModule,
5308
+ MtnaWfFormItemDialogModule,
4775
5309
  ]] });
4776
5310
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, decorators: [{
4777
5311
  type: i0.NgModule,
4778
5312
  args: [{
4779
5313
  imports: [
4780
- i4.CommonModule,
5314
+ i3$1.CommonModule,
4781
5315
  MtnaWfGetFormControlErrorPipeModule,
5316
+ flexLayout.FlexLayoutModule,
4782
5317
  i6.FormsModule,
4783
- i1$7.MatFormFieldModule,
5318
+ i1$6.MatFormFieldModule,
4784
5319
  i2$4.MatCheckboxModule,
4785
- i3$1.MatButtonModule,
5320
+ i3$2.MatButtonModule,
4786
5321
  i5.MatIconModule,
4787
5322
  i6$1.MatTooltipModule,
4788
5323
  MtnaWfFormItemModule,
4789
- i1$1.MtnaHighlightModule,
5324
+ i4.MtnaHighlightModule,
4790
5325
  i6.ReactiveFormsModule,
5326
+ MtnaWfFormItemDialogModule,
4791
5327
  ],
4792
5328
  declarations: [MtnaWfCheckboxComponent],
4793
5329
  exports: [MtnaWfCheckboxComponent],
@@ -4796,12 +5332,13 @@
4796
5332
 
4797
5333
  var MtnaWfDateComponent = /** @class */ (function (_super) {
4798
5334
  __extends(MtnaWfDateComponent, _super);
4799
- function MtnaWfDateComponent(logger) {
4800
- var _this = _super.call(this) || this;
5335
+ function MtnaWfDateComponent(cdr, logger) {
5336
+ var _this = _super.call(this, cdr) || this;
4801
5337
  _this.dateItemClass = true;
4802
5338
  // TODO: This is not currenlty used, the back end needs to add range limits on the DateItem in order for this to work
4803
5339
  // Remove once accomplished and replace usage with item.rangeLimits in the html
4804
5340
  _this.rangeLimits = { end: null, start: null };
5341
+ _this._dateText = $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["Date"], ["Date"])));
4805
5342
  // We need to check to ensure 'moment' & 'moment-jdateformatparser' scripts have been added to angular.json so that
4806
5343
  // the DateFormItemComponent doesn't break when attempting to format SimpleDateFormat string to Moment format string
4807
5344
  MtnaWfDateComponent.dateFormItemComponentInstances++;
@@ -4857,8 +5394,8 @@
4857
5394
  return MtnaWfDateComponent;
4858
5395
  }(MtnaWfBaseValueItem));
4859
5396
  MtnaWfDateComponent.dateFormItemComponentInstances = 0;
4860
- MtnaWfDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, deps: [{ token: i1__namespace$1.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Component });
4861
- MtnaWfDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: { rangeLimits: "rangeLimits" }, host: { properties: { "class.mtna-wf-date-item": "this.dateItemClass" } }, viewQueries: [{ propertyName: "picker", first: true, predicate: i3$3.MatDatepicker, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-form-field *ngIf=\"control\" appearance=\"outline\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\">\n <mat-label>{{ item.label || 'Date' }}</mat-label>\n <input\n matInput\n [matDatepicker]=\"picker\"\n [formControl]=\"control\"\n [max]=\"rangeLimits?.end\"\n [min]=\"rangeLimits?.start\"\n placeholder=\"Choose a date\"\n [required]=\"item.required\"\n />\n <mat-datepicker-toggle matSuffix [for]=\"picker\" [disabled]=\"readonly || control.disabled\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n <mat-hint>{{ item.format }}</mat-hint>\n</mat-form-field>\n", styles: ["mtna-wf-date-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-date-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i3__namespace$3.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i3__namespace$3.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i3__namespace$3.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$5.MatSuffix, selector: "[matSuffix]" }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5397
+ MtnaWfDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i4__namespace.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Component });
5398
+ MtnaWfDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: { rangeLimits: "rangeLimits" }, host: { properties: { "class.mtna-wf-date-item": "this.dateItemClass" } }, viewQueries: [{ propertyName: "picker", first: true, predicate: i3$4.MatDatepicker, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-form-field *ngIf=\"control\" appearance=\"outline\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\">\n <mat-label>{{ item.label || _dateText }}</mat-label>\n <input\n matInput\n [formControl]=\"control\"\n [matDatepicker]=\"picker\"\n [max]=\"rangeLimits?.end\"\n [min]=\"rangeLimits?.start\"\n placeholder=\"Choose a date\"\n i18n-placeholder\n [required]=\"item.required\"\n [disabled]=\"readonly || control.disabled\"\n />\n <mat-datepicker-toggle matSuffix [for]=\"picker\" [disabled]=\"readonly || control.disabled\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n <mat-hint>{{ item.format }}</mat-hint>\n</mat-form-field>\n", styles: ["mtna-wf-date-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-date-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i3__namespace$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i3__namespace$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$4.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3__namespace$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$4.MatSuffix, selector: "[matSuffix]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4862
5399
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, decorators: [{
4863
5400
  type: i0.Component,
4864
5401
  args: [{
@@ -4868,15 +5405,16 @@
4868
5405
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4869
5406
  encapsulation: i0.ViewEncapsulation.None,
4870
5407
  }]
4871
- }], ctorParameters: function () { return [{ type: i1__namespace$1.MtnaLogger }]; }, propDecorators: { dateItemClass: [{
5408
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i4__namespace.MtnaLogger }]; }, propDecorators: { dateItemClass: [{
4872
5409
  type: i0.HostBinding,
4873
5410
  args: ['class.mtna-wf-date-item']
4874
5411
  }], rangeLimits: [{
4875
5412
  type: i0.Input
4876
5413
  }], picker: [{
4877
5414
  type: i0.ViewChild,
4878
- args: [i3$3.MatDatepicker, { static: false }]
5415
+ args: [i3$4.MatDatepicker, { static: false }]
4879
5416
  }] } });
5417
+ var templateObject_1$6;
4880
5418
 
4881
5419
  var MtnaWfDateModule = /** @class */ (function () {
4882
5420
  function MtnaWfDateModule() {
@@ -4884,23 +5422,23 @@
4884
5422
  return MtnaWfDateModule;
4885
5423
  }());
4886
5424
  MtnaWfDateModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4887
- MtnaWfDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, declarations: [MtnaWfDateComponent], imports: [i4.CommonModule,
5425
+ MtnaWfDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, declarations: [MtnaWfDateComponent], imports: [i3$1.CommonModule,
4888
5426
  i6.FormsModule,
4889
- i1$7.MatFormFieldModule,
5427
+ i1$6.MatFormFieldModule,
4890
5428
  i5$1.MatInputModule,
4891
- i3$3.MatDatepickerModule,
5429
+ i3$4.MatDatepickerModule,
4892
5430
  materialMomentAdapter.MatMomentDateModule,
4893
- i1$1.MtnaHighlightModule,
5431
+ i4.MtnaHighlightModule,
4894
5432
  i6.ReactiveFormsModule,
4895
5433
  MtnaWfGetFormControlErrorPipeModule], exports: [MtnaWfDateComponent] });
4896
5434
  MtnaWfDateModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, imports: [[
4897
- i4.CommonModule,
5435
+ i3$1.CommonModule,
4898
5436
  i6.FormsModule,
4899
- i1$7.MatFormFieldModule,
5437
+ i1$6.MatFormFieldModule,
4900
5438
  i5$1.MatInputModule,
4901
- i3$3.MatDatepickerModule,
5439
+ i3$4.MatDatepickerModule,
4902
5440
  materialMomentAdapter.MatMomentDateModule,
4903
- i1$1.MtnaHighlightModule,
5441
+ i4.MtnaHighlightModule,
4904
5442
  i6.ReactiveFormsModule,
4905
5443
  MtnaWfGetFormControlErrorPipeModule,
4906
5444
  ]] });
@@ -4908,13 +5446,13 @@
4908
5446
  type: i0.NgModule,
4909
5447
  args: [{
4910
5448
  imports: [
4911
- i4.CommonModule,
5449
+ i3$1.CommonModule,
4912
5450
  i6.FormsModule,
4913
- i1$7.MatFormFieldModule,
5451
+ i1$6.MatFormFieldModule,
4914
5452
  i5$1.MatInputModule,
4915
- i3$3.MatDatepickerModule,
5453
+ i3$4.MatDatepickerModule,
4916
5454
  materialMomentAdapter.MatMomentDateModule,
4917
- i1$1.MtnaHighlightModule,
5455
+ i4.MtnaHighlightModule,
4918
5456
  i6.ReactiveFormsModule,
4919
5457
  MtnaWfGetFormControlErrorPipeModule,
4920
5458
  ],
@@ -4926,7 +5464,9 @@
4926
5464
  var MtnaWfDateRangeComponent = /** @class */ (function (_super) {
4927
5465
  __extends(MtnaWfDateRangeComponent, _super);
4928
5466
  function MtnaWfDateRangeComponent() {
4929
- return _super !== null && _super.apply(this, arguments) || this;
5467
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5468
+ _this.toText = $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["to"], ["to"])));
5469
+ return _this;
4930
5470
  }
4931
5471
  Object.defineProperty(MtnaWfDateRangeComponent.prototype, "item", {
4932
5472
  get: function () {
@@ -4944,7 +5484,7 @@
4944
5484
  return MtnaWfDateRangeComponent;
4945
5485
  }(MtnaWfBaseValueItem));
4946
5486
  MtnaWfDateRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
4947
- MtnaWfDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateRangeComponent, selector: "mtna-wf-date-range", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-date-item\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [item]=\"_startItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n <span fxFlex=\"14px\"> to </span>\n <mtna-wf-date-item\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [item]=\"_endItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n</div>\n", components: [{ type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: ["rangeLimits"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5487
+ MtnaWfDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateRangeComponent, selector: "mtna-wf-date-range", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-date-item\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [item]=\"_startItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n <span fxFlex=\"14px\"> {{toText}} </span>\n <mtna-wf-date-item\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [item]=\"_endItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n</div>\n", components: [{ type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: ["rangeLimits"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
4948
5488
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeComponent, decorators: [{
4949
5489
  type: i0.Component,
4950
5490
  args: [{
@@ -4954,6 +5494,7 @@
4954
5494
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4955
5495
  }]
4956
5496
  }] });
5497
+ var templateObject_1$5;
4957
5498
 
4958
5499
  var MtnaWfDateRangeModule = /** @class */ (function () {
4959
5500
  function MtnaWfDateRangeModule() {
@@ -4961,16 +5502,16 @@
4961
5502
  return MtnaWfDateRangeModule;
4962
5503
  }());
4963
5504
  MtnaWfDateRangeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
4964
- MtnaWfDateRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, declarations: [MtnaWfDateRangeComponent], imports: [i4.CommonModule,
4965
- i1$1.MtnaHighlightModule,
5505
+ MtnaWfDateRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, declarations: [MtnaWfDateRangeComponent], imports: [i3$1.CommonModule,
5506
+ i4.MtnaHighlightModule,
4966
5507
  MtnaWfDateModule,
4967
5508
  flexLayout.FlexLayoutModule,
4968
5509
  i6.FormsModule,
4969
5510
  i6.ReactiveFormsModule,
4970
5511
  MtnaWfCoerceFormControlPipeModule], exports: [MtnaWfDateRangeComponent] });
4971
5512
  MtnaWfDateRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, imports: [[
4972
- i4.CommonModule,
4973
- i1$1.MtnaHighlightModule,
5513
+ i3$1.CommonModule,
5514
+ i4.MtnaHighlightModule,
4974
5515
  MtnaWfDateModule,
4975
5516
  flexLayout.FlexLayoutModule,
4976
5517
  i6.FormsModule,
@@ -4981,8 +5522,8 @@
4981
5522
  type: i0.NgModule,
4982
5523
  args: [{
4983
5524
  imports: [
4984
- i4.CommonModule,
4985
- i1$1.MtnaHighlightModule,
5525
+ i3$1.CommonModule,
5526
+ i4.MtnaHighlightModule,
4986
5527
  MtnaWfDateModule,
4987
5528
  flexLayout.FlexLayoutModule,
4988
5529
  i6.FormsModule,
@@ -5002,7 +5543,7 @@
5002
5543
  return MtnaWfDropdownComponent;
5003
5544
  }(MtnaWfBaseSingleSelectionParentValueItem));
5004
5545
  MtnaWfDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5005
- MtnaWfDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDropdownComponent, selector: "mtna-wf-dropdown-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <mat-select [formControl]=\"control\" (selectionChange)=\"selectionChange($event)\" [required]=\"item.required\">\n <mat-option *ngIf=\"!item.required\">-- None --</mat-option>\n <mat-option *ngFor=\"let opt of item.options\" [value]=\"opt.option.id\" [disabled]=\"control.value === opt.option.id\">{{\n opt.option.name\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<ng-template #readOnly>\n <ng-container *ngIf=\"inList; else fullList\">\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </ng-container>\n\n <ng-template #fullList>\n <mat-list>\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</ng-template>\n", styles: ["mtna-wf-dropdown-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-dropdown-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i4__namespace$2.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i3__namespace$2.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetListIcon": MtnaWfGetListIconPipe, "mtnaWfGetSelectedOptionName": MtnaWfGetSelectedOptionNamePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5546
+ MtnaWfDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDropdownComponent, selector: "mtna-wf-dropdown-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <mat-select [formControl]=\"control\" [panelClass]=\"'mtna-wf-dropdown-item__select-panel'\" [required]=\"item.required\" (selectionChange)=\"selectionChange($event)\">\n <mat-option *ngIf=\"!item.required\" i18n>-- None --</mat-option>\n <mat-option *ngFor=\"let opt of item.options\" [value]=\"opt.option.id\" [disabled]=\"control.value === opt.option.id\">{{\n opt.option.name\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<ng-template #readOnly>\n <ng-container *ngIf=\"inList; else fullList\">\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </ng-container>\n\n <ng-template #fullList>\n <mat-list>\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</ng-template>\n", styles: ["mtna-wf-dropdown-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-dropdown-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$4.MatLabel, selector: "mat-label" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i4__namespace$2.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetListIcon": MtnaWfGetListIconPipe, "mtnaWfGetSelectedOptionName": MtnaWfGetSelectedOptionNamePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5006
5547
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownComponent, decorators: [{
5007
5548
  type: i0.Component,
5008
5549
  args: [{
@@ -5020,11 +5561,11 @@
5020
5561
  return MtnaWfDropdownModule;
5021
5562
  }());
5022
5563
  MtnaWfDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5023
- MtnaWfDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, declarations: [MtnaWfDropdownComponent], imports: [i4.CommonModule,
5564
+ MtnaWfDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, declarations: [MtnaWfDropdownComponent], imports: [i3$1.CommonModule,
5024
5565
  i6.FormsModule,
5025
- i1$7.MatFormFieldModule,
5566
+ i1$6.MatFormFieldModule,
5026
5567
  i2.MatSelectModule,
5027
- i1$1.MtnaHighlightModule,
5568
+ i4.MtnaHighlightModule,
5028
5569
  i4$2.MatListModule,
5029
5570
  i5.MatIconModule,
5030
5571
  MtnaWfGetFormControlErrorPipeModule,
@@ -5032,11 +5573,11 @@
5032
5573
  MtnaWfGetListIconPipeModule,
5033
5574
  i6.ReactiveFormsModule], exports: [MtnaWfDropdownComponent] });
5034
5575
  MtnaWfDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, imports: [[
5035
- i4.CommonModule,
5576
+ i3$1.CommonModule,
5036
5577
  i6.FormsModule,
5037
- i1$7.MatFormFieldModule,
5578
+ i1$6.MatFormFieldModule,
5038
5579
  i2.MatSelectModule,
5039
- i1$1.MtnaHighlightModule,
5580
+ i4.MtnaHighlightModule,
5040
5581
  i4$2.MatListModule,
5041
5582
  i5.MatIconModule,
5042
5583
  MtnaWfGetFormControlErrorPipeModule,
@@ -5048,11 +5589,11 @@
5048
5589
  type: i0.NgModule,
5049
5590
  args: [{
5050
5591
  imports: [
5051
- i4.CommonModule,
5592
+ i3$1.CommonModule,
5052
5593
  i6.FormsModule,
5053
- i1$7.MatFormFieldModule,
5594
+ i1$6.MatFormFieldModule,
5054
5595
  i2.MatSelectModule,
5055
- i1$1.MtnaHighlightModule,
5596
+ i4.MtnaHighlightModule,
5056
5597
  i4$2.MatListModule,
5057
5598
  i5.MatIconModule,
5058
5599
  MtnaWfGetFormControlErrorPipeModule,
@@ -5067,10 +5608,11 @@
5067
5608
 
5068
5609
  var MtnaWfFileUploadComponent = /** @class */ (function (_super) {
5069
5610
  __extends(MtnaWfFileUploadComponent, _super);
5070
- function MtnaWfFileUploadComponent(fileService) {
5071
- var _this = _super.call(this) || this;
5611
+ function MtnaWfFileUploadComponent(cdr, fileService) {
5612
+ var _this = _super.call(this, cdr) || this;
5072
5613
  _this.fileService = fileService;
5073
5614
  _this.loading = false;
5615
+ _this._fileUploadButtonText = $localize(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["CHOOSE A FILE"], ["CHOOSE A FILE"])));
5074
5616
  return _this;
5075
5617
  }
5076
5618
  MtnaWfFileUploadComponent.prototype.fileToUpload = function (file) {
@@ -5104,8 +5646,8 @@
5104
5646
  };
5105
5647
  return MtnaWfFileUploadComponent;
5106
5648
  }(MtnaWfBaseFormItemControl));
5107
- MtnaWfFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, deps: [{ token: i1__namespace$6.FileService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5108
- MtnaWfFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFileUploadComponent, selector: "mtna-wf-file-upload-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div class=\"content\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item?.questionText && !item?.descriptiveText\">\n <ng-container *ngIf=\"!readonly; else readOnly\">\n <ng-container *ngIf=\"!loading; else loader\">\n <mtna-file-download\n *ngIf=\"!!fileInfo; else fileUpload\"\n [fileInfo]=\"fileInfo\"\n [canRemove]=\"true\"\n color=\"primary\"\n [canDownload]=\"true\"\n (download)=\"handleDownload($event)\"\n (remove)=\"removeFile()\"\n ></mtna-file-download>\n\n <ng-template #fileUpload>\n <mtna-file-upload\n [automaticUpload]=\"false\"\n color=\"primary\"\n [buttonText]=\"'CHOOSE A FILE'\"\n (fileToUpload)=\"fileToUpload($event)\"\n ></mtna-file-upload>\n </ng-template>\n </ng-container>\n </ng-container>\n\n <!-- READONLY -->\n <ng-template #readOnly>\n <!-- anchor being used, due to <fieldset disabled> blocking a <button>'s click event -->\n <a\n *ngIf=\"!!item && !!item.value; else unpopulated\"\n class=\"single-icon-button\"\n color=\"primary\"\n mat-stroked-button\n role=\"button\"\n (click)=\"handleDownload(item.value)\"\n >\n <mat-icon color=\"primary\">file_download</mat-icon>\n {{ (item!.value!.fileName ? item!.value!.fileName : '') | uppercase }}\n </a>\n <ng-template #unpopulated>\n <mat-list>\n <mat-list-item class=\"wrappable-list-item\">\n <p mat-line class=\"wrap-line\">No File Provided</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n </ng-template>\n</div>\n\n<!-- PROGRESS SPINNER -->\n<ng-template #loader>\n <mat-spinner diameter=\"125\" strokeWidth=\"10\" mode=\"indeterminate\"></mat-spinner>\n</ng-template>\n", styles: [":host{display:block;margin:1rem 0}mtna-file-download{margin:37px 0}mat-spinner{margin:0 87.5px}\n"], components: [{ type: i1__namespace$6.MtnaFileDownloadComponent, selector: "mtna-file-download", inputs: ["color", "canDownload", "canRemove", "fileInfo", "loading"], outputs: ["download", "remove"] }, { type: i1__namespace$6.MtnaFileUploadComponent, selector: "mtna-file-upload", inputs: ["automaticUpload", "buttonText", "buttonColor", "disabled", "fileUploadUrl", "isProd", "maxUploadSize", "uploading"], outputs: ["uploaded", "fileToUpload", "uploadStatus"] }, { type: i3__namespace.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace$2.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "uppercase": i4__namespace.UpperCasePipe } });
5649
+ MtnaWfFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$5.FileService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5650
+ MtnaWfFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFileUploadComponent, selector: "mtna-wf-file-upload-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div class=\"content\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <ng-container *ngIf=\"!readonly; else readOnly\">\n <ng-container *ngIf=\"!loading; else loader\">\n <mtna-file-download\n *ngIf=\"!!fileInfo; else fileUpload\"\n [fileInfo]=\"fileInfo\"\n [canRemove]=\"true\"\n color=\"primary\"\n [canDownload]=\"true\"\n (download)=\"handleDownload($event)\"\n (remove)=\"removeFile()\"\n ></mtna-file-download>\n\n <ng-template #fileUpload>\n <mtna-file-upload\n [automaticUpload]=\"false\"\n color=\"primary\"\n [buttonText]=\"_fileUploadButtonText\"\n (fileToUpload)=\"fileToUpload($event)\"\n ></mtna-file-upload>\n </ng-template>\n </ng-container>\n </ng-container>\n\n <!-- READONLY -->\n <ng-template #readOnly>\n <!-- anchor being used, due to <fieldset disabled> blocking a <button>'s click event -->\n <a\n *ngIf=\"!!item && !!item.value; else unpopulated\"\n class=\"single-icon-button\"\n color=\"primary\"\n mat-stroked-button\n role=\"button\"\n (click)=\"handleDownload(item.value)\"\n >\n <mat-icon color=\"primary\">file_download</mat-icon>\n {{ (item!.value!.fileName ? item!.value!.fileName : '') | uppercase }}\n </a>\n <ng-template #unpopulated>\n <mat-list>\n <mat-list-item class=\"wrappable-list-item\">\n <p mat-line class=\"wrap-line\" i18n>No File Provided</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n </ng-template>\n</div>\n\n<!-- PROGRESS SPINNER -->\n<ng-template #loader>\n <mat-spinner diameter=\"125\" strokeWidth=\"10\" mode=\"indeterminate\"></mat-spinner>\n</ng-template>\n", styles: [":host{display:block;margin:1rem 0}mtna-file-download{margin:37px 0}mat-spinner{margin:0 87.5px}\n"], components: [{ type: i1__namespace$5.MtnaFileDownloadComponent, selector: "mtna-file-download", inputs: ["color", "canDownload", "canRemove", "fileInfo", "loading"], outputs: ["download", "remove"] }, { type: i1__namespace$5.MtnaFileUploadComponent, selector: "mtna-file-upload", inputs: ["automaticUpload", "buttonText", "buttonColor", "disabled", "fileUploadUrl", "isProd", "maxUploadSize", "uploading"], outputs: ["uploaded", "fileToUpload", "uploadStatus"] }, { type: i3__namespace$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace$2.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "uppercase": i3__namespace.UpperCasePipe } });
5109
5651
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, decorators: [{
5110
5652
  type: i0.Component,
5111
5653
  args: [{
@@ -5113,7 +5655,8 @@
5113
5655
  templateUrl: './file-upload.component.html',
5114
5656
  styleUrls: ['./file-upload.component.scss'],
5115
5657
  }]
5116
- }], ctorParameters: function () { return [{ type: i1__namespace$6.FileService }]; } });
5658
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$5.FileService }]; } });
5659
+ var templateObject_1$4;
5117
5660
 
5118
5661
  var MtnaWfFileUploadModule = /** @class */ (function () {
5119
5662
  function MtnaWfFileUploadModule() {
@@ -5121,21 +5664,21 @@
5121
5664
  return MtnaWfFileUploadModule;
5122
5665
  }());
5123
5666
  MtnaWfFileUploadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5124
- MtnaWfFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, declarations: [MtnaWfFileUploadComponent], imports: [i4.CommonModule,
5125
- i1$1.MtnaHighlightModule,
5126
- i3$1.MatButtonModule,
5667
+ MtnaWfFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, declarations: [MtnaWfFileUploadComponent], imports: [i3$1.CommonModule,
5668
+ i4.MtnaHighlightModule,
5669
+ i3$2.MatButtonModule,
5127
5670
  i5.MatIconModule,
5128
- i1$8.MtnaFileDownloadModule,
5129
- i1$8.MtnaFileUploadModule,
5671
+ i1$7.MtnaFileDownloadModule,
5672
+ i1$7.MtnaFileUploadModule,
5130
5673
  i4$2.MatListModule,
5131
5674
  i5$2.MatProgressSpinnerModule], exports: [MtnaWfFileUploadComponent] });
5132
5675
  MtnaWfFileUploadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, imports: [[
5133
- i4.CommonModule,
5134
- i1$1.MtnaHighlightModule,
5135
- i3$1.MatButtonModule,
5676
+ i3$1.CommonModule,
5677
+ i4.MtnaHighlightModule,
5678
+ i3$2.MatButtonModule,
5136
5679
  i5.MatIconModule,
5137
- i1$8.MtnaFileDownloadModule,
5138
- i1$8.MtnaFileUploadModule,
5680
+ i1$7.MtnaFileDownloadModule,
5681
+ i1$7.MtnaFileUploadModule,
5139
5682
  i4$2.MatListModule,
5140
5683
  i5$2.MatProgressSpinnerModule,
5141
5684
  ]] });
@@ -5143,12 +5686,12 @@
5143
5686
  type: i0.NgModule,
5144
5687
  args: [{
5145
5688
  imports: [
5146
- i4.CommonModule,
5147
- i1$1.MtnaHighlightModule,
5148
- i3$1.MatButtonModule,
5689
+ i3$1.CommonModule,
5690
+ i4.MtnaHighlightModule,
5691
+ i3$2.MatButtonModule,
5149
5692
  i5.MatIconModule,
5150
- i1$8.MtnaFileDownloadModule,
5151
- i1$8.MtnaFileUploadModule,
5693
+ i1$7.MtnaFileDownloadModule,
5694
+ i1$7.MtnaFileUploadModule,
5152
5695
  i4$2.MatListModule,
5153
5696
  i5$2.MatProgressSpinnerModule,
5154
5697
  ],
@@ -5192,7 +5735,7 @@
5192
5735
  return MtnaWfFormGroupComponent;
5193
5736
  }(MtnaWfBaseGroupItem));
5194
5737
  MtnaWfFormGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5195
- MtnaWfFormGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormGroupComponent, selector: "mtna-wf-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item && control\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control.disabled\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n <ng-template #fullLayout>\n <div\n class=\"item-group-container\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\"\n [formGroup]=\"control\"\n [ngClass]=\"item.layout\"\n >\n <mtna-wf-item\n *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [control]=\"control.controls[subItem.instanceId]\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </div>\n </ng-template>\n\n <!-- When readonly, && all child items should be displayed in a mat-list-->\n <mat-list *ngIf=\"readonly && inList; else fullLayout\" [ngClass]=\"item.layout\">\n <mtna-wf-item\n *ngFor=\"let subItem of item.items | mtnaWfItemsWithValue; trackby: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [inList]=\"true\"\n [parentIds]=\"parentIds\"\n [readonly]=\"true\"\n ></mtna-wf-item>\n </mat-list>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-group .item-group-container{padding-top:24px}mtna-wf-group .mtna-wf-group-header{margin-top:1rem}mtna-wf-group .mtna-wf-group-description{margin-bottom:1rem}mtna-wf-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-group mtna-wf-multiple-choice-item{display:block}mtna-wf-group .item-group-container>.mtna-wf-group{margin-top:1rem}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item){padding-left:16px}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item).width-100{width:calc(100% - 16px)}mtna-wf-group .item-group-container>mtna-wf-item:first-of-type{margin-top:0}mtna-wf-group .item-group-container.ROW>mtna-wf-item{margin-top:0}mtna-wf-group .item-group-container.ROW>*{display:block}mtna-wf-group .item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-group .item-group-container .width-100{width:100%}mtna-wf-group .item-group-container .width-100.row-item{width:calc(100% - 16px)}mtna-wf-group mtna-wf-item-header+.item-group-container{padding:.35em .75em .625em}mtna-wf-group mtna-wf-item-header+.item-group-container>mtna-wf-item{margin-top:0}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace$2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfItemsWithValue": MtnaWfItemsWithValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5738
+ MtnaWfFormGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormGroupComponent, selector: "mtna-wf-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item && control\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control.disabled\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n <ng-template #fullLayout>\n <div\n class=\"item-group-container\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\"\n [formGroup]=\"control\"\n [ngClass]=\"item.layout\"\n >\n <mtna-wf-item\n *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [control]=\"control.controls[subItem.instanceId]\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </div>\n </ng-template>\n\n <!-- When readonly, && all child items should be displayed in a mat-list-->\n <mat-list *ngIf=\"readonly && inList; else fullLayout\" [ngClass]=\"item.layout\">\n <mtna-wf-item\n *ngFor=\"let subItem of item.items | mtnaWfItemsWithValue; let index = index; trackBy: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [inList]=\"true\"\n [parentIds]=\"parentIds\"\n [readonly]=\"true\"\n ></mtna-wf-item>\n </mat-list>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-group .item-group-container{padding-top:24px}mtna-wf-group .mtna-wf-group-header{margin-top:1rem}mtna-wf-group .mtna-wf-group-description{margin-bottom:1rem}mtna-wf-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-group mtna-wf-multiple-choice-item{display:block}mtna-wf-group .item-group-container>.mtna-wf-group{margin-top:1rem}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item){padding-left:16px}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item).width-100{width:calc(100% - 16px)}mtna-wf-group .item-group-container>mtna-wf-item:first-of-type{margin-top:0}mtna-wf-group .item-group-container.ROW>mtna-wf-item{margin-top:0}mtna-wf-group .item-group-container.ROW>*{display:block}mtna-wf-group .item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-group .item-group-container .width-100{width:100%}mtna-wf-group .item-group-container .width-100.row-item{width:calc(100% - 16px)}mtna-wf-group mtna-wf-item-header+.item-group-container{padding:.35em .75em .625em}mtna-wf-group mtna-wf-item-header+.item-group-container>mtna-wf-item{margin-top:0}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfItemsWithValue": MtnaWfItemsWithValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5196
5739
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, decorators: [{
5197
5740
  type: i0.Component,
5198
5741
  args: [{
@@ -5210,18 +5753,18 @@
5210
5753
  return MtnaWfFormGroupModule;
5211
5754
  }());
5212
5755
  MtnaWfFormGroupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5213
- MtnaWfFormGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, declarations: [MtnaWfFormGroupComponent], imports: [i4.CommonModule,
5756
+ MtnaWfFormGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, declarations: [MtnaWfFormGroupComponent], imports: [i3$1.CommonModule,
5214
5757
  MtnaWfItemHeaderModule,
5215
- i1$1.MtnaHighlightModule,
5758
+ i4.MtnaHighlightModule,
5216
5759
  MtnaWfFormItemModule,
5217
5760
  i6.FormsModule,
5218
5761
  i6.ReactiveFormsModule,
5219
5762
  flexLayout.FlexLayoutModule,
5220
5763
  MtnaWfItemsWithValuePipeModule], exports: [MtnaWfFormGroupComponent] });
5221
5764
  MtnaWfFormGroupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, imports: [[
5222
- i4.CommonModule,
5765
+ i3$1.CommonModule,
5223
5766
  MtnaWfItemHeaderModule,
5224
- i1$1.MtnaHighlightModule,
5767
+ i4.MtnaHighlightModule,
5225
5768
  MtnaWfFormItemModule,
5226
5769
  i6.FormsModule,
5227
5770
  i6.ReactiveFormsModule,
@@ -5232,9 +5775,9 @@
5232
5775
  type: i0.NgModule,
5233
5776
  args: [{
5234
5777
  imports: [
5235
- i4.CommonModule,
5778
+ i3$1.CommonModule,
5236
5779
  MtnaWfItemHeaderModule,
5237
- i1$1.MtnaHighlightModule,
5780
+ i4.MtnaHighlightModule,
5238
5781
  MtnaWfFormItemModule,
5239
5782
  i6.FormsModule,
5240
5783
  i6.ReactiveFormsModule,
@@ -5254,7 +5797,7 @@
5254
5797
  return MtnaWfFormSectionComponent;
5255
5798
  }(MtnaWfBaseSectionItem));
5256
5799
  MtnaWfFormSectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5257
- MtnaWfFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormSectionComponent, selector: "mtna-wf-section", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-step-card [step]=\"step\" [subtitle]=\"item.descriptiveText\" (focused)=\"focused.emit($event)\">\n <div cardContent>\n <ng-container *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\">\n <mat-divider\n *ngIf=\"(subItem.itemId | mtnaWfGetObjectType) === 'formitemgroupimpl' && item.items.indexOf(subItem) !== 0\"\n class=\"section-item-divider\"\n [inset]=\"true\"\n ></mat-divider>\n\n <mtna-wf-item\n [item]=\"subItem\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n [control]=\"!!control && !!control.controls ? control.controls[subItem.instanceId] : undefined\"\n (focusedSection)=\"focused.emit($event)\"\n ></mtna-wf-item>\n </ng-container>\n </div>\n</mtna-wf-step-card>\n", styles: [":host{display:block}mat-divider.mat-divider-horizontal.mat-divider-inset.section-item-divider{margin-top:8px;margin-bottom:8px}\n"], components: [{ type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: ["color", "step", "subtitle"], outputs: ["focused"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfGetObjectType": MtnaWfGetObjectTypePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
5800
+ MtnaWfFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormSectionComponent, selector: "mtna-wf-section", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-step-card\n [step]=\"step\"\n [subtitle]=\"item.descriptiveText\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n (focused)=\"focused.emit($event)\"\n>\n <div cardContent>\n <ng-container *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\">\n <mat-divider\n *ngIf=\"(subItem.itemId | mtnaWfGetObjectType) === 'formitemgroupimpl' && item.items.indexOf(subItem) !== 0\"\n class=\"section-item-divider\"\n [inset]=\"true\"\n ></mat-divider>\n\n <mtna-wf-item\n [item]=\"subItem\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n [control]=\"!!control && !!control.controls ? control.controls[subItem.instanceId] : undefined\"\n (focusedSection)=\"focused.emit($event)\"\n ></mtna-wf-item>\n </ng-container>\n </div>\n</mtna-wf-step-card>\n", styles: [":host{display:block}mat-divider.mat-divider-horizontal.mat-divider-inset.section-item-divider{margin-top:8px;margin-bottom:8px}mtna-wf-section mtna-wf-title-item .mtna-wf-title-item{font-size:.875rem;line-height:28px;font-weight:500}\n"], components: [{ type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: ["color", "step", "subtitle"], outputs: ["focused"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfGetObjectType": MtnaWfGetObjectTypePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
5258
5801
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, decorators: [{
5259
5802
  type: i0.Component,
5260
5803
  args: [{
@@ -5271,12 +5814,12 @@
5271
5814
  return MtnaWfFormSectionModule;
5272
5815
  }());
5273
5816
  MtnaWfFormSectionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5274
- MtnaWfFormSectionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, declarations: [MtnaWfFormSectionComponent], imports: [i4.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule], exports: [MtnaWfFormSectionComponent] });
5275
- MtnaWfFormSectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, imports: [[i4.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule]] });
5817
+ MtnaWfFormSectionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, declarations: [MtnaWfFormSectionComponent], imports: [i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i4.MtnaHighlightModule], exports: [MtnaWfFormSectionComponent] });
5818
+ MtnaWfFormSectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, imports: [[i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i4.MtnaHighlightModule]] });
5276
5819
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, decorators: [{
5277
5820
  type: i0.NgModule,
5278
5821
  args: [{
5279
- imports: [i4.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule],
5822
+ imports: [i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i4.MtnaHighlightModule],
5280
5823
  declarations: [MtnaWfFormSectionComponent],
5281
5824
  exports: [MtnaWfFormSectionComponent],
5282
5825
  }]
@@ -5284,20 +5827,25 @@
5284
5827
 
5285
5828
  var MtnaWfI18nInputComponent = /** @class */ (function (_super) {
5286
5829
  __extends(MtnaWfI18nInputComponent, _super);
5287
- function MtnaWfI18nInputComponent(elementRef) {
5288
- var _this = _super.call(this) || this;
5289
- _this.elementRef = elementRef;
5290
- _this.isParagraph = _this._hasHostAttributes('mtnaWfI18nParagraphItem');
5830
+ function MtnaWfI18nInputComponent() {
5831
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5832
+ _this.isParagraph = false;
5833
+ _this._notInformationText = $localize(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["No Information Provided"], ["No Information Provided"])));
5291
5834
  return _this;
5292
5835
  }
5293
- MtnaWfI18nInputComponent.prototype._hasHostAttributes = function () {
5294
- var _this = this;
5295
- var attributes = [];
5296
- for (var _i = 0; _i < arguments.length; _i++) {
5297
- attributes[_i] = arguments[_i];
5298
- }
5299
- return attributes.some(function (attr) { return _this.elementRef.nativeElement.hasAttribute(attr); });
5300
- };
5836
+ Object.defineProperty(MtnaWfI18nInputComponent.prototype, "item", {
5837
+ get: function () {
5838
+ return _super.prototype.item;
5839
+ },
5840
+ set: function (value) {
5841
+ _super.prototype.item = value;
5842
+ if (webFormTs.isInternationalizedParagraphAnswerItem(value)) {
5843
+ this.isParagraph = true;
5844
+ }
5845
+ },
5846
+ enumerable: false,
5847
+ configurable: true
5848
+ });
5301
5849
  MtnaWfI18nInputComponent.prototype.getFormControl = function (language) {
5302
5850
  var _a, _b;
5303
5851
  var control = (_a = this.control) === null || _a === void 0 ? void 0 : _a.controls[language];
@@ -5313,18 +5861,19 @@
5313
5861
  };
5314
5862
  return MtnaWfI18nInputComponent;
5315
5863
  }(MtnaWfBaseValueItem));
5316
- MtnaWfI18nInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5317
- MtnaWfI18nInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfI18nInputComponent, selector: "mtna-wf-i18n-input-item[mtnaWfI18nParagraphItem],\n mtna-wf-i18n-input-item[mtnaWfI18nShortAnswerItem],", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<ng-container *ngIf=\"!readonly && !!control; else readOnly\">\n <mat-form-field\n *ngFor=\"let language of item.languageTags\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n >\n <mat-label>{{ item.label + ' - ' + getLanguageDisplay(language) }}</mat-label>\n <ng-container *ngIf=\"isParagraph; else shortInput\">\n <textarea\n matInput\n [formControl]=\"getFormControl(language)\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n </ng-container>\n <ng-template #shortInput>\n <input\n matInput\n [formControl]=\"getFormControl(language)\"\n [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n [required]=\"item.required\"\n />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</ng-container>\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item *ngFor=\"let language of item.languageTags\" class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || 'No Information Provided - ' + language }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-i18n-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-i18n-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-i18n-input-item .mat-list-base .mat-list-item,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$2.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i4__namespace.SlicePipe, "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5864
+ MtnaWfI18nInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5865
+ MtnaWfI18nInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfI18nInputComponent, selector: "mtna-wf-i18n-input-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<ng-container *ngIf=\"!readonly && !!control; else readOnly\">\n <mat-form-field\n *ngFor=\"let language of item.languageTags\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n >\n <mat-label>{{ item.label + ' - ' + getLanguageDisplay(language) }}</mat-label>\n <ng-container *ngIf=\"isParagraph; else shortInput\">\n <textarea\n matInput\n [formControl]=\"getFormControl(language)\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n </ng-container>\n <ng-template #shortInput>\n <input\n matInput\n [formControl]=\"getFormControl(language)\"\n [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n [required]=\"item.required\"\n />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</ng-container>\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item *ngFor=\"let language of item.languageTags\" class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || _notInformationText + ' - ' + language }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-i18n-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-i18n-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-i18n-input-item .mat-list-base .mat-list-item,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$4.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i3__namespace.SlicePipe, "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5318
5866
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, decorators: [{
5319
5867
  type: i0.Component,
5320
5868
  args: [{
5321
- selector: "mtna-wf-i18n-input-item[mtnaWfI18nParagraphItem],\n mtna-wf-i18n-input-item[mtnaWfI18nShortAnswerItem],",
5869
+ selector: 'mtna-wf-i18n-input-item',
5322
5870
  templateUrl: './i18n-input.component.html',
5323
5871
  styleUrls: ['./i18n-input.component.scss'],
5324
5872
  encapsulation: i0.ViewEncapsulation.None,
5325
5873
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5326
5874
  }]
5327
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
5875
+ }] });
5876
+ var templateObject_1$3;
5328
5877
 
5329
5878
  var MtnaWfI18nInputModule = /** @class */ (function () {
5330
5879
  function MtnaWfI18nInputModule() {
@@ -5332,21 +5881,21 @@
5332
5881
  return MtnaWfI18nInputModule;
5333
5882
  }());
5334
5883
  MtnaWfI18nInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5335
- MtnaWfI18nInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, declarations: [MtnaWfI18nInputComponent], imports: [i4.CommonModule,
5884
+ MtnaWfI18nInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, declarations: [MtnaWfI18nInputComponent], imports: [i3$1.CommonModule,
5336
5885
  i6.FormsModule,
5337
- i1$7.MatFormFieldModule,
5886
+ i1$6.MatFormFieldModule,
5338
5887
  i5$1.MatInputModule,
5339
- i1$1.MtnaHighlightModule,
5888
+ i4.MtnaHighlightModule,
5340
5889
  MtnaWfGetAutoCompletePipeModule,
5341
5890
  i4$2.MatListModule,
5342
5891
  i6.ReactiveFormsModule,
5343
5892
  MtnaWfGetFormControlErrorPipeModule], exports: [MtnaWfI18nInputComponent] });
5344
5893
  MtnaWfI18nInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, imports: [[
5345
- i4.CommonModule,
5894
+ i3$1.CommonModule,
5346
5895
  i6.FormsModule,
5347
- i1$7.MatFormFieldModule,
5896
+ i1$6.MatFormFieldModule,
5348
5897
  i5$1.MatInputModule,
5349
- i1$1.MtnaHighlightModule,
5898
+ i4.MtnaHighlightModule,
5350
5899
  MtnaWfGetAutoCompletePipeModule,
5351
5900
  i4$2.MatListModule,
5352
5901
  i6.ReactiveFormsModule,
@@ -5356,11 +5905,11 @@
5356
5905
  type: i0.NgModule,
5357
5906
  args: [{
5358
5907
  imports: [
5359
- i4.CommonModule,
5908
+ i3$1.CommonModule,
5360
5909
  i6.FormsModule,
5361
- i1$7.MatFormFieldModule,
5910
+ i1$6.MatFormFieldModule,
5362
5911
  i5$1.MatInputModule,
5363
- i1$1.MtnaHighlightModule,
5912
+ i4.MtnaHighlightModule,
5364
5913
  MtnaWfGetAutoCompletePipeModule,
5365
5914
  i4$2.MatListModule,
5366
5915
  i6.ReactiveFormsModule,
@@ -5373,35 +5922,44 @@
5373
5922
 
5374
5923
  var MtnaWfInputComponent = /** @class */ (function (_super) {
5375
5924
  __extends(MtnaWfInputComponent, _super);
5376
- function MtnaWfInputComponent(elementRef) {
5377
- var _this = _super.call(this) || this;
5378
- _this.elementRef = elementRef;
5379
- _this.isParagraph = _this._hasHostAttributes('mtnaWfParagraphItem');
5380
- _this.isNumberInput = _this._hasHostAttributes('mtnaWfDecimalItem', 'mtnaWfWholeNumberItem');
5925
+ function MtnaWfInputComponent() {
5926
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5927
+ _this.isParagraph = false;
5928
+ _this.isNumberInput = false;
5929
+ _this._noInformationText = $localize(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["No Information Provided"], ["No Information Provided"])));
5381
5930
  return _this;
5382
5931
  }
5383
- MtnaWfInputComponent.prototype._hasHostAttributes = function () {
5384
- var _this = this;
5385
- var attributes = [];
5386
- for (var _i = 0; _i < arguments.length; _i++) {
5387
- attributes[_i] = arguments[_i];
5388
- }
5389
- return attributes.some(function (attr) { return _this.elementRef.nativeElement.hasAttribute(attr); });
5390
- };
5932
+ Object.defineProperty(MtnaWfInputComponent.prototype, "item", {
5933
+ get: function () {
5934
+ return _super.prototype.item;
5935
+ },
5936
+ set: function (value) {
5937
+ _super.prototype.item = value;
5938
+ if (webFormTs.isDecimalAnswerItem(value) || webFormTs.isWholeNumberItem(value)) {
5939
+ this.isNumberInput = true;
5940
+ }
5941
+ else if (webFormTs.isParagraphAnswerItem(value)) {
5942
+ this.isParagraph = true;
5943
+ }
5944
+ },
5945
+ enumerable: false,
5946
+ configurable: true
5947
+ });
5391
5948
  return MtnaWfInputComponent;
5392
5949
  }(MtnaWfBaseValueItem));
5393
- MtnaWfInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
5394
- MtnaWfInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfInputComponent, selector: "mtna-wf-input-item[mtnaWfDecimalItem],\n mtna-wf-input-item[mtnaWfParagraphItem],\n mtna-wf-input-item[mtnaWfShortAnswerItem],\n mtna-wf-input-item[mtnaWfWholeNumberItem],", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <textarea\n *ngIf=\"isParagraph; else shortInput\"\n matInput\n [formControl]=\"control\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n\n <ng-template #shortInput>\n <input matInput [formControl]=\"control!\" [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\" [required]=\"item.required\" />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || 'No Information Provided' }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-input-item .mat-list-base .mat-list-item,mtna-wf-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$2.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i4__namespace.SlicePipe, "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5950
+ MtnaWfInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5951
+ MtnaWfInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfInputComponent, selector: "mtna-wf-input-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <textarea\n *ngIf=\"isParagraph; else shortInput\"\n matInput\n [formControl]=\"control\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n\n <ng-template #shortInput>\n <input matInput [formControl]=\"control!\" [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\" [required]=\"item.required\" />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || _noInformationText }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-input-item .mat-list-base .mat-list-item,mtna-wf-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$4.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i3__namespace.SlicePipe, "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5395
5952
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, decorators: [{
5396
5953
  type: i0.Component,
5397
5954
  args: [{
5398
- selector: "mtna-wf-input-item[mtnaWfDecimalItem],\n mtna-wf-input-item[mtnaWfParagraphItem],\n mtna-wf-input-item[mtnaWfShortAnswerItem],\n mtna-wf-input-item[mtnaWfWholeNumberItem],",
5955
+ selector: 'mtna-wf-input-item',
5399
5956
  templateUrl: './input.component.html',
5400
5957
  styleUrls: ['./input.component.scss'],
5401
5958
  encapsulation: i0.ViewEncapsulation.None,
5402
5959
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5403
5960
  }]
5404
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
5961
+ }] });
5962
+ var templateObject_1$2;
5405
5963
 
5406
5964
  var MtnaWfInputModule = /** @class */ (function () {
5407
5965
  function MtnaWfInputModule() {
@@ -5409,23 +5967,23 @@
5409
5967
  return MtnaWfInputModule;
5410
5968
  }());
5411
5969
  MtnaWfInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5412
- MtnaWfInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, declarations: [MtnaWfInputComponent], imports: [i4.CommonModule,
5413
- i1$7.MatFormFieldModule,
5970
+ MtnaWfInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, declarations: [MtnaWfInputComponent], imports: [i3$1.CommonModule,
5971
+ i1$6.MatFormFieldModule,
5414
5972
  i6.FormsModule,
5415
5973
  i4$2.MatListModule,
5416
5974
  MtnaWfGetAutoCompletePipeModule,
5417
5975
  MtnaWfGetFormControlErrorPipeModule,
5418
- i1$1.MtnaHighlightModule,
5976
+ i4.MtnaHighlightModule,
5419
5977
  i6.ReactiveFormsModule,
5420
5978
  i5$1.MatInputModule], exports: [MtnaWfInputComponent] });
5421
5979
  MtnaWfInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, imports: [[
5422
- i4.CommonModule,
5423
- i1$7.MatFormFieldModule,
5980
+ i3$1.CommonModule,
5981
+ i1$6.MatFormFieldModule,
5424
5982
  i6.FormsModule,
5425
5983
  i4$2.MatListModule,
5426
5984
  MtnaWfGetAutoCompletePipeModule,
5427
5985
  MtnaWfGetFormControlErrorPipeModule,
5428
- i1$1.MtnaHighlightModule,
5986
+ i4.MtnaHighlightModule,
5429
5987
  i6.ReactiveFormsModule,
5430
5988
  i5$1.MatInputModule,
5431
5989
  ]] });
@@ -5433,13 +5991,13 @@
5433
5991
  type: i0.NgModule,
5434
5992
  args: [{
5435
5993
  imports: [
5436
- i4.CommonModule,
5437
- i1$7.MatFormFieldModule,
5994
+ i3$1.CommonModule,
5995
+ i1$6.MatFormFieldModule,
5438
5996
  i6.FormsModule,
5439
5997
  i4$2.MatListModule,
5440
5998
  MtnaWfGetAutoCompletePipeModule,
5441
5999
  MtnaWfGetFormControlErrorPipeModule,
5442
- i1$1.MtnaHighlightModule,
6000
+ i4.MtnaHighlightModule,
5443
6001
  i6.ReactiveFormsModule,
5444
6002
  i5$1.MatInputModule,
5445
6003
  ],
@@ -5456,7 +6014,7 @@
5456
6014
  return MtnaWfMultipleChoiceComponent;
5457
6015
  }(MtnaWfBaseSingleSelectionParentValueItem));
5458
6016
  MtnaWfMultipleChoiceComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5459
- MtnaWfMultipleChoiceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfMultipleChoiceComponent, selector: "mtna-wf-multiple-choice-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ng-container *ngIf=\"control\">\n <div class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control.invalid && (control.dirty || control.touched)\">\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n </div>\n <mat-radio-group class=\"control-item-content\" [formControl]=\"control\" (change)=\"selectionChange($event)\">\n <ng-container *ngFor=\"let opt of item.options; trackBy: _trackByOptionId\">\n <mat-radio-button [disableRipple]=\"readonly\" [value]=\"opt.option.id\">{{ opt.option.name }}</mat-radio-button>\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && !!controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </ng-container>\n </mat-radio-group>\n</ng-container>\n", styles: ["mtna-wf-multiple-choice-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-multiple-choice-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-multiple-choice-item .mat-radio-group{display:inline-block;max-width:100%;width:100%}mtna-wf-multiple-choice-item .mat-radio-button{display:block;max-width:100%}mtna-wf-multiple-choice-item .mat-radio-button:not(:last-of-type){margin-bottom:4px}mtna-wf-multiple-choice-item .mat-radio-button .mat-radio-label{white-space:normal}mtna-wf-multiple-choice-item .mat-radio-button+mtna-wf-item{padding-left:28px;margin-top:0}mtna-wf-multiple-choice-item.read-only .mat-radio-button .mat-radio-label{cursor:default}\n"], components: [{ type: i1__namespace$7.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$7.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6017
+ MtnaWfMultipleChoiceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfMultipleChoiceComponent, selector: "mtna-wf-multiple-choice-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"control\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">\n <div class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control.invalid && (control.dirty || control.touched)\">\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n </div>\n <mat-radio-group class=\"control-item-content\" [formControl]=\"control\" (change)=\"selectionChange($event)\">\n <ng-container *ngFor=\"let opt of item.options; trackBy: _trackByOptionId\">\n <mat-radio-button [disableRipple]=\"readonly\" [disabled]=\"readonly || control.disabled\" [value]=\"opt.option.id\">{{ opt.option.name }}</mat-radio-button>\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && !!controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </ng-container>\n </mat-radio-group>\n</div>\n", styles: ["mtna-wf-multiple-choice-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-multiple-choice-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-multiple-choice-item .mat-radio-group{display:inline-block;max-width:100%;width:100%}mtna-wf-multiple-choice-item .mat-radio-button{display:block;max-width:100%}mtna-wf-multiple-choice-item .mat-radio-button:not(:last-of-type){margin-bottom:4px}mtna-wf-multiple-choice-item .mat-radio-button .mat-radio-label{white-space:normal}mtna-wf-multiple-choice-item .mat-radio-button+mtna-wf-item{padding-left:28px;margin-top:0}mtna-wf-multiple-choice-item.read-only .mat-radio-button .mat-radio-label{cursor:default}\n"], components: [{ type: i1__namespace$6.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$6.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5460
6018
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceComponent, decorators: [{
5461
6019
  type: i0.Component,
5462
6020
  args: [{
@@ -5474,33 +6032,36 @@
5474
6032
  return MtnaWfMultipleChoiceModule;
5475
6033
  }());
5476
6034
  MtnaWfMultipleChoiceModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5477
- MtnaWfMultipleChoiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, declarations: [MtnaWfMultipleChoiceComponent], imports: [i4.CommonModule,
6035
+ MtnaWfMultipleChoiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, declarations: [MtnaWfMultipleChoiceComponent], imports: [i3$1.CommonModule,
5478
6036
  i6.FormsModule,
5479
- i1$2.MatRadioModule,
6037
+ i1$1.MatRadioModule,
5480
6038
  MtnaWfFormItemModule,
5481
6039
  MtnaWfGetFormControlErrorPipeModule,
5482
6040
  i6.ReactiveFormsModule,
5483
- i1$7.MatFormFieldModule], exports: [MtnaWfMultipleChoiceComponent] });
6041
+ i1$6.MatFormFieldModule,
6042
+ i4.MtnaHighlightModule], exports: [MtnaWfMultipleChoiceComponent] });
5484
6043
  MtnaWfMultipleChoiceModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, imports: [[
5485
- i4.CommonModule,
6044
+ i3$1.CommonModule,
5486
6045
  i6.FormsModule,
5487
- i1$2.MatRadioModule,
6046
+ i1$1.MatRadioModule,
5488
6047
  MtnaWfFormItemModule,
5489
6048
  MtnaWfGetFormControlErrorPipeModule,
5490
6049
  i6.ReactiveFormsModule,
5491
- i1$7.MatFormFieldModule,
6050
+ i1$6.MatFormFieldModule,
6051
+ i4.MtnaHighlightModule,
5492
6052
  ]] });
5493
6053
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, decorators: [{
5494
6054
  type: i0.NgModule,
5495
6055
  args: [{
5496
6056
  imports: [
5497
- i4.CommonModule,
6057
+ i3$1.CommonModule,
5498
6058
  i6.FormsModule,
5499
- i1$2.MatRadioModule,
6059
+ i1$1.MatRadioModule,
5500
6060
  MtnaWfFormItemModule,
5501
6061
  MtnaWfGetFormControlErrorPipeModule,
5502
6062
  i6.ReactiveFormsModule,
5503
- i1$7.MatFormFieldModule,
6063
+ i1$6.MatFormFieldModule,
6064
+ i4.MtnaHighlightModule,
5504
6065
  ],
5505
6066
  declarations: [MtnaWfMultipleChoiceComponent],
5506
6067
  exports: [MtnaWfMultipleChoiceComponent],
@@ -5515,7 +6076,7 @@
5515
6076
  return MtnaWfOrderedListItemComponent;
5516
6077
  }(MtnaWfBaseFormItem));
5517
6078
  MtnaWfOrderedListItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5518
- MtnaWfOrderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfOrderedListItemComponent, selector: "mtna-wf-ordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ol [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ol>\n", styles: ["mtna-wf-ordered-list-item>ol{list-style:decimal outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-value-item mtna-wf-ordered-list-item>ol{padding-right:24px}\n"], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6079
+ MtnaWfOrderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfOrderedListItemComponent, selector: "mtna-wf-ordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ol [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ol>\n", styles: ["mtna-wf-ordered-list-item>ol{list-style:decimal outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-ordered-list-item>ol{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5519
6080
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemComponent, decorators: [{
5520
6081
  type: i0.Component,
5521
6082
  args: [{
@@ -5533,12 +6094,12 @@
5533
6094
  return MtnaWfOrderedListItemModule;
5534
6095
  }());
5535
6096
  MtnaWfOrderedListItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5536
- MtnaWfOrderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, declarations: [MtnaWfOrderedListItemComponent], imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfOrderedListItemComponent] });
5537
- MtnaWfOrderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, imports: [[i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
6097
+ MtnaWfOrderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, declarations: [MtnaWfOrderedListItemComponent], imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfOrderedListItemComponent] });
6098
+ MtnaWfOrderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, imports: [[i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
5538
6099
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, decorators: [{
5539
6100
  type: i0.NgModule,
5540
6101
  args: [{
5541
- imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
6102
+ imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
5542
6103
  declarations: [MtnaWfOrderedListItemComponent],
5543
6104
  exports: [MtnaWfOrderedListItemComponent],
5544
6105
  }]
@@ -5570,12 +6131,12 @@
5570
6131
  return MtnaWfRepeatableItemModule;
5571
6132
  }());
5572
6133
  MtnaWfRepeatableItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5573
- MtnaWfRepeatableItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, declarations: [MtnaWfRepeatableItemComponent], imports: [i4.CommonModule], exports: [MtnaWfRepeatableItemComponent] });
5574
- MtnaWfRepeatableItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, imports: [[i4.CommonModule]] });
6134
+ MtnaWfRepeatableItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, declarations: [MtnaWfRepeatableItemComponent], imports: [i3$1.CommonModule], exports: [MtnaWfRepeatableItemComponent] });
6135
+ MtnaWfRepeatableItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, imports: [[i3$1.CommonModule]] });
5575
6136
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, decorators: [{
5576
6137
  type: i0.NgModule,
5577
6138
  args: [{
5578
- imports: [i4.CommonModule],
6139
+ imports: [i3$1.CommonModule],
5579
6140
  declarations: [MtnaWfRepeatableItemComponent],
5580
6141
  exports: [MtnaWfRepeatableItemComponent],
5581
6142
  }]
@@ -5583,9 +6144,10 @@
5583
6144
 
5584
6145
  var MtnaWfRepeatableItemContainerComponent = /** @class */ (function (_super) {
5585
6146
  __extends(MtnaWfRepeatableItemContainerComponent, _super);
5586
- function MtnaWfRepeatableItemContainerComponent(manager) {
5587
- var _this = _super.call(this) || this;
6147
+ function MtnaWfRepeatableItemContainerComponent(cdr, manager) {
6148
+ var _this = _super.call(this, cdr) || this;
5588
6149
  _this.manager = manager;
6150
+ _this._addText = $localize(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["ADD"], ["ADD"])));
5589
6151
  return _this;
5590
6152
  }
5591
6153
  MtnaWfRepeatableItemContainerComponent.prototype.addItem = function () {
@@ -5597,13 +6159,13 @@
5597
6159
  };
5598
6160
  return MtnaWfRepeatableItemContainerComponent;
5599
6161
  }(MtnaWfBaseParentValueItem));
5600
- MtnaWfRepeatableItemContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerComponent, deps: [{ token: MtnaWfManagerService }], target: i0__namespace.ɵɵFactoryTarget.Component });
5601
- MtnaWfRepeatableItemContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemContainerComponent, selector: "mtna-wf-repeatable-item-container", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled || false\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n></mtna-wf-item-header>\n<section [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <mtna-wf-repeatable-item\n @repeatItemExpandCollapse\n *ngFor=\"let subitem of item.items; let first = first; trackBy: 'instanceId' | mtnaTrackByProperty\"\n >\n <button\n *ngIf=\"!readonly && item.items.length > item.minOccurrences\"\n mat-icon-button\n class=\"item-remove-button\"\n color=\"warn\"\n (click)=\"removeItem(subitem)\"\n matTooltip=\"Remove Item\"\n >\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-item\n [item]=\"subitem\"\n [control]=\"!!control && !!control.controls ? control.controls[subitem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </mtna-wf-repeatable-item>\n</section>\n<button *ngIf=\"!readonly\" mat-raised-button (click)=\"addItem()\" class=\"new-item-button\" color=\"primary\">\n {{ item.additionalText || 'ADD' | uppercase }}\n</button>\n", styles: ["mtna-wf-repeatable-item-container{display:block}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item{position:relative;padding:16px;border-style:dashed;border-width:4px;border-radius:4px;display:inline-block;margin:8px;max-width:100%}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item .item-remove-button{position:absolute;top:-22px;left:-22px}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item>mtna-wf-item:first-child{margin-top:0}mtna-wf-repeatable-item-container .new-item-button{margin-left:.75em}mtna-wf-repeatable-item-container>section{padding-left:.75em}mtna-wf-repeatable-item-container>section,mtna-wf-repeatable-item-container .new-item-button{margin-top:16px}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfRepeatableItemComponent, selector: "mtna-wf-repeatable-item" }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "mtnaTrackByProperty": i1__namespace$1.MtnaTrackByPropertyPipe, "uppercase": i4__namespace.UpperCasePipe }, animations: [
6162
+ MtnaWfRepeatableItemContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MtnaWfManagerService }], target: i0__namespace.ɵɵFactoryTarget.Component });
6163
+ MtnaWfRepeatableItemContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemContainerComponent, selector: "mtna-wf-repeatable-item-container", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled || false\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n></mtna-wf-item-header>\n<section [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <mtna-wf-repeatable-item\n @repeatItemExpandCollapse\n *ngFor=\"let subitem of item.items; let first = first; trackBy: 'instanceId' | mtnaTrackByProperty\"\n >\n <ng-container *ngIf=\"subitem | coerceFormItem as coercedSubItem\">\n <button\n *ngIf=\"!readonly && item.items.length > item.minOccurrences\"\n mat-icon-button\n class=\"item-remove-button\"\n color=\"warn\"\n (click)=\"removeItem(coercedSubItem)\"\n matTooltip=\"Remove Item\"\n i18n-matTooltip\n >\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-item\n [item]=\"coercedSubItem\"\n [control]=\"!!control && !!control.controls ? control.controls[coercedSubItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </ng-container>\n </mtna-wf-repeatable-item>\n</section>\n<button *ngIf=\"!readonly\" mat-raised-button (click)=\"addItem()\" class=\"new-item-button\" color=\"primary\">\n {{ item.additionalText || _addText | uppercase }}\n</button>\n", styles: ["mtna-wf-repeatable-item-container{display:block}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item{position:relative;padding:16px;border-style:dashed;border-width:4px;border-radius:4px;display:inline-block;margin:8px;max-width:100%}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item .item-remove-button{position:absolute;top:-22px;left:-22px}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item>mtna-wf-item:first-child{margin-top:0}mtna-wf-repeatable-item-container .new-item-button{margin-left:.75em}mtna-wf-repeatable-item-container>section{padding-left:.75em}mtna-wf-repeatable-item-container>section,mtna-wf-repeatable-item-container .new-item-button{margin-top:16px}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfRepeatableItemComponent, selector: "mtna-wf-repeatable-item" }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "mtnaTrackByProperty": i4__namespace.MtnaTrackByPropertyPipe, "coerceFormItem": MtnaWfCoerceFormItemPipe, "uppercase": i3__namespace.UpperCasePipe }, animations: [
5602
6164
  animations.trigger('repeatItemExpandCollapse', [
5603
6165
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
5604
6166
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
5605
- animations.transition(':enter', [animations.animate(i1$1.COMPLEX_STANDARD, animations.style({ height: '*', margin: '*', opacity: 1 }))]),
5606
- animations.transition(':leave', animations.animate(i1$1.COMPLEX_STANDARD)),
6167
+ animations.transition(':enter', [animations.animate(i4.COMPLEX_STANDARD, animations.style({ height: '*', margin: '*', opacity: 1 }))]),
6168
+ animations.transition(':leave', animations.animate(i4.COMPLEX_STANDARD)),
5607
6169
  ]),
5608
6170
  ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5609
6171
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerComponent, decorators: [{
@@ -5616,14 +6178,15 @@
5616
6178
  animations.trigger('repeatItemExpandCollapse', [
5617
6179
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
5618
6180
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
5619
- animations.transition(':enter', [animations.animate(i1$1.COMPLEX_STANDARD, animations.style({ height: '*', margin: '*', opacity: 1 }))]),
5620
- animations.transition(':leave', animations.animate(i1$1.COMPLEX_STANDARD)),
6181
+ animations.transition(':enter', [animations.animate(i4.COMPLEX_STANDARD, animations.style({ height: '*', margin: '*', opacity: 1 }))]),
6182
+ animations.transition(':leave', animations.animate(i4.COMPLEX_STANDARD)),
5621
6183
  ]),
5622
6184
  ],
5623
6185
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5624
6186
  encapsulation: i0.ViewEncapsulation.None,
5625
6187
  }]
5626
- }], ctorParameters: function () { return [{ type: MtnaWfManagerService }]; } });
6188
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfManagerService }]; } });
6189
+ var templateObject_1$1;
5627
6190
 
5628
6191
  var MtnaWfRepeatableItemContainerModule = /** @class */ (function () {
5629
6192
  function MtnaWfRepeatableItemContainerModule() {
@@ -5631,39 +6194,42 @@
5631
6194
  return MtnaWfRepeatableItemContainerModule;
5632
6195
  }());
5633
6196
  MtnaWfRepeatableItemContainerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5634
- MtnaWfRepeatableItemContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, declarations: [MtnaWfRepeatableItemContainerComponent], imports: [i4.CommonModule,
6197
+ MtnaWfRepeatableItemContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, declarations: [MtnaWfRepeatableItemContainerComponent], imports: [i3$1.CommonModule,
5635
6198
  MtnaWfItemHeaderModule,
5636
6199
  MtnaWfRepeatableItemModule,
5637
6200
  MtnaWfFormItemModule,
5638
- i1$1.MtnaHighlightModule,
5639
- i3$1.MatButtonModule,
6201
+ i4.MtnaHighlightModule,
6202
+ i3$2.MatButtonModule,
5640
6203
  i5.MatIconModule,
5641
6204
  i6$1.MatTooltipModule,
5642
- i1$1.MtnaTrackByPropertyPipeModule], exports: [MtnaWfRepeatableItemContainerComponent] });
6205
+ i4.MtnaTrackByPropertyPipeModule,
6206
+ MtnaWfCoerceFormItemPipeModule], exports: [MtnaWfRepeatableItemContainerComponent] });
5643
6207
  MtnaWfRepeatableItemContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, imports: [[
5644
- i4.CommonModule,
6208
+ i3$1.CommonModule,
5645
6209
  MtnaWfItemHeaderModule,
5646
6210
  MtnaWfRepeatableItemModule,
5647
6211
  MtnaWfFormItemModule,
5648
- i1$1.MtnaHighlightModule,
5649
- i3$1.MatButtonModule,
6212
+ i4.MtnaHighlightModule,
6213
+ i3$2.MatButtonModule,
5650
6214
  i5.MatIconModule,
5651
6215
  i6$1.MatTooltipModule,
5652
- i1$1.MtnaTrackByPropertyPipeModule,
6216
+ i4.MtnaTrackByPropertyPipeModule,
6217
+ MtnaWfCoerceFormItemPipeModule,
5653
6218
  ]] });
5654
6219
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, decorators: [{
5655
6220
  type: i0.NgModule,
5656
6221
  args: [{
5657
6222
  imports: [
5658
- i4.CommonModule,
6223
+ i3$1.CommonModule,
5659
6224
  MtnaWfItemHeaderModule,
5660
6225
  MtnaWfRepeatableItemModule,
5661
6226
  MtnaWfFormItemModule,
5662
- i1$1.MtnaHighlightModule,
5663
- i3$1.MatButtonModule,
6227
+ i4.MtnaHighlightModule,
6228
+ i3$2.MatButtonModule,
5664
6229
  i5.MatIconModule,
5665
6230
  i6$1.MatTooltipModule,
5666
- i1$1.MtnaTrackByPropertyPipeModule,
6231
+ i4.MtnaTrackByPropertyPipeModule,
6232
+ MtnaWfCoerceFormItemPipeModule,
5667
6233
  ],
5668
6234
  declarations: [MtnaWfRepeatableItemContainerComponent],
5669
6235
  exports: [MtnaWfRepeatableItemContainerComponent],
@@ -5672,10 +6238,10 @@
5672
6238
 
5673
6239
  var MtnaWfResourceSearchComponent = /** @class */ (function (_super) {
5674
6240
  __extends(MtnaWfResourceSearchComponent, _super);
5675
- function MtnaWfResourceSearchComponent(searchFacade, dialog) {
6241
+ function MtnaWfResourceSearchComponent(cdr, searchFacade, dialog) {
5676
6242
  var _this = this;
5677
6243
  var _a, _b;
5678
- _this = _super.call(this) || this;
6244
+ _this = _super.call(this, cdr) || this;
5679
6245
  _this.searchFacade = searchFacade;
5680
6246
  _this.dialog = dialog;
5681
6247
  _this.references = new rxjs.BehaviorSubject((_b = (_a = _this.item) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : []);
@@ -5684,8 +6250,8 @@
5684
6250
  MtnaWfResourceSearchComponent.prototype.openDialog = function () {
5685
6251
  var _this = this;
5686
6252
  this.dialog
5687
- .open(i1$5.MtnaSearchDialogComponent, {
5688
- data: new i1$5.MtnaSearchDialogData(this.searchFacade, $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject(["Select a Reference"], ["Select a Reference"]))), true, Object.assign(Object.assign({}, this.item.baseQuery), { target: this.item.searchTargetId }), undefined, true, {
6253
+ .open(i1$4.MtnaSearchDialogComponent, {
6254
+ data: new i1$4.MtnaSearchDialogData(this.searchFacade, $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject(["Select a Reference"], ["Select a Reference"]))), true, Object.assign(Object.assign({}, this.item.initialQuery), { target: this.item.searchTargetId }), undefined, true, {
5689
6255
  color: 'primary',
5690
6256
  disableSubResults: true,
5691
6257
  resizableColumns: true,
@@ -5717,8 +6283,8 @@
5717
6283
  };
5718
6284
  return MtnaWfResourceSearchComponent;
5719
6285
  }(MtnaWfBaseValueItem));
5720
- MtnaWfResourceSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, deps: [{ token: i1__namespace$8.MtnaInMemorySearchFacade }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
5721
- MtnaWfResourceSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfResourceSearchComponent, selector: "mtna-wf-resource-search-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div class=\"label-container\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div class=\"label-text\" role=\"heading\">\n {{ item.label }}\n </div>\n <mat-divider fxFlex></mat-divider>\n</div>\n<div class=\"values-container\">\n <!-- <aria-ui-reference-list-table\n [path]=\"path\"\n [referenceConfiguration]=\"referenceConfiguration\"\n [references]=\"references\"\n [termReference]=\"termReference\"\n (openDetails)=\"openDetails.emit($event)\"\n (referenceSelected)=\"addButtonDisabled = !!$event\"\n (updateValues)=\"updateValues.emit($event)\"\n >\n </aria-ui-reference-list-table>\n -->\n <button mat-flat-button class=\"add-button\" color=\"primary\" [disabled]=\"readonly\" i18n (click)=\"openDialog()\">\n Add Resource<mat-icon>add_circle_outline</mat-icon>\n </button>\n</div>\n", styles: ["mtna-wf-resource-search-item .label-container .label-text{margin:0 8px 0 0}mtna-wf-resource-search-item .label-container .mat-divider.mat-divider-horizontal{position:unset;width:unset}mtna-wf-resource-search-item .values-container{margin-left:1em;border-width:1px;border-style:solid;border-radius:4px;border-color:#0000001f;padding:8px}mtna-wf-resource-search-item .values-container .paginator-and-order-controls{margin-bottom:8px}mtna-wf-resource-search-item .values-container .add-button .mat-icon{margin-left:4px}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6286
+ MtnaWfResourceSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$7.MtnaInMemorySearchFacade }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
6287
+ MtnaWfResourceSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfResourceSearchComponent, selector: "mtna-wf-resource-search-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div class=\"label-container\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div class=\"label-text\">\n {{ item.label }}\n </div>\n <mat-divider fxFlex></mat-divider>\n</div>\n<div class=\"values-container\">\n <!-- <aria-ui-reference-list-table\n [path]=\"path\"\n [referenceConfiguration]=\"referenceConfiguration\"\n [references]=\"references\"\n [termReference]=\"termReference\"\n (openDetails)=\"openDetails.emit($event)\"\n (referenceSelected)=\"addButtonDisabled = !!$event\"\n (updateValues)=\"updateValues.emit($event)\"\n >\n </aria-ui-reference-list-table>\n -->\n <button mat-flat-button class=\"add-button\" color=\"primary\" [disabled]=\"readonly\" (click)=\"openDialog()\" i18n>\n Add Resource<mat-icon>add_circle_outline</mat-icon>\n </button>\n</div>\n", styles: ["mtna-wf-resource-search-item .label-container .label-text{margin:0 8px 0 0}mtna-wf-resource-search-item .label-container .mat-divider.mat-divider-horizontal{position:unset;width:unset}mtna-wf-resource-search-item .values-container{margin-left:1em;border-width:1px;border-style:solid;border-radius:4px;border-color:#0000001f;padding:8px}mtna-wf-resource-search-item .values-container .paginator-and-order-controls{margin-bottom:8px}mtna-wf-resource-search-item .values-container .add-button .mat-icon{margin-left:4px}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5722
6288
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, decorators: [{
5723
6289
  type: i0.Component,
5724
6290
  args: [{
@@ -5728,7 +6294,7 @@
5728
6294
  encapsulation: i0.ViewEncapsulation.None,
5729
6295
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5730
6296
  }]
5731
- }], ctorParameters: function () { return [{ type: i1__namespace$8.MtnaInMemorySearchFacade }, { type: i1__namespace.MatDialog }]; } });
6297
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$7.MtnaInMemorySearchFacade }, { type: i1__namespace.MatDialog }]; } });
5732
6298
  var templateObject_1;
5733
6299
 
5734
6300
  var MtnaWfResourceSearchModule = /** @class */ (function () {
@@ -5737,12 +6303,12 @@
5737
6303
  return MtnaWfResourceSearchModule;
5738
6304
  }());
5739
6305
  MtnaWfResourceSearchModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5740
- MtnaWfResourceSearchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, declarations: [MtnaWfResourceSearchComponent], imports: [i4.CommonModule, i3$1.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule], exports: [MtnaWfResourceSearchComponent] });
5741
- MtnaWfResourceSearchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, imports: [[i4.CommonModule, i3$1.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule]] });
6306
+ MtnaWfResourceSearchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, declarations: [MtnaWfResourceSearchComponent], imports: [i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule], exports: [MtnaWfResourceSearchComponent] });
6307
+ MtnaWfResourceSearchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, imports: [[i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule]] });
5742
6308
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, decorators: [{
5743
6309
  type: i0.NgModule,
5744
6310
  args: [{
5745
- imports: [i4.CommonModule, i3$1.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule],
6311
+ imports: [i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule],
5746
6312
  declarations: [MtnaWfResourceSearchComponent],
5747
6313
  exports: [MtnaWfResourceSearchComponent],
5748
6314
  }]
@@ -5762,7 +6328,7 @@
5762
6328
  return MtnaWfTableFormItemComponent;
5763
6329
  }(MtnaWfBaseParentValueItem));
5764
6330
  MtnaWfTableFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5765
- MtnaWfTableFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTableFormItemComponent, selector: "mtna-wf-table-item", usesInheritance: true, ngImport: i0__namespace, template: "<table mat-table [dataSource]=\"item.tableRows\" [trackBy]=\"_trackByTableRow\">\n <ng-container *ngFor=\"let header of item.headers; let index = index\" [matColumnDef]=\"header\">\n <th mat-header-cell *matHeaderCellDef>{{ header }}</th>\n\n <td mat-cell *matCellDef=\"let rowItem\">\n <mtna-wf-item\n *ngIf=\"!!rowItem.items[index]\"\n [control]=\"!!control && !!control.controls ? control.controls[rowItem.items[index].instanceId] : undefined\"\n [item]=\"rowItem.items[index]\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"item.headers\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: item.headers\"></tr>\n</table>\n", styles: ["mtna-wf-table-item .mat-table{width:100%}mtna-wf-table-item .mat-table tbody tr td.mat-cell{padding:8px;vertical-align:top}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group{flex-direction:column;place-content:start start;align-items:start;justify-content:start}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group *{margin-top:0;margin-bottom:0}mtna-wf-table-item .mat-table tbody tr td mtna-wf-boolean-item>.mat-slide-toggle{margin-bottom:8px;margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .repeat-item-container:not(:first-of-type){margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .new-item-button{margin:8px 0}\n"], components: [{ type: i1__namespace$9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i1__namespace$9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1__namespace$9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1__namespace$9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1__namespace$9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1__namespace$9.MatCellDef, selector: "[matCellDef]" }, { type: i1__namespace$9.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1__namespace$9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6331
+ MtnaWfTableFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTableFormItemComponent, selector: "mtna-wf-table-item", usesInheritance: true, ngImport: i0__namespace, template: "<table mat-table [dataSource]=\"item.tableRows\" [trackBy]=\"_trackByTableRow\">\n <ng-container *ngFor=\"let header of item.headers; let index = index\" [matColumnDef]=\"header\">\n <th mat-header-cell *matHeaderCellDef>{{ header }}</th>\n\n <td mat-cell *matCellDef=\"let rowItem\">\n <mtna-wf-item\n *ngIf=\"!!rowItem.items[index]\"\n [control]=\"!!control && !!control.controls ? control.controls[rowItem.items[index].instanceId] : undefined\"\n [item]=\"rowItem.items[index]\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"item.headers\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: item.headers\"></tr>\n</table>\n", styles: ["mtna-wf-table-item .mat-table{width:100%}mtna-wf-table-item .mat-table tbody tr td.mat-cell{padding:8px;vertical-align:top}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group{flex-direction:column;place-content:start start;align-items:start;justify-content:start}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group *{margin-top:0;margin-bottom:0}mtna-wf-table-item .mat-table tbody tr td mtna-wf-boolean-item>.mat-slide-toggle{margin-bottom:8px;margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .repeat-item-container:not(:first-of-type){margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .new-item-button{margin:8px 0}\n"], components: [{ type: i1__namespace$8.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i1__namespace$8.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1__namespace$8.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$8.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1__namespace$8.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1__namespace$8.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1__namespace$8.MatCellDef, selector: "[matCellDef]" }, { type: i1__namespace$8.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$8.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1__namespace$8.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5766
6332
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemComponent, decorators: [{
5767
6333
  type: i0.Component,
5768
6334
  args: [{
@@ -5780,12 +6346,12 @@
5780
6346
  return MtnaWfTableFormItemModule;
5781
6347
  }());
5782
6348
  MtnaWfTableFormItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5783
- MtnaWfTableFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, declarations: [MtnaWfTableFormItemComponent], imports: [i4.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule], exports: [MtnaWfTableFormItemComponent] });
5784
- MtnaWfTableFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, imports: [[i4.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule]] });
6349
+ MtnaWfTableFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, declarations: [MtnaWfTableFormItemComponent], imports: [i3$1.CommonModule, i1$8.MatTableModule, MtnaWfFormItemModule], exports: [MtnaWfTableFormItemComponent] });
6350
+ MtnaWfTableFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, imports: [[i3$1.CommonModule, i1$8.MatTableModule, MtnaWfFormItemModule]] });
5785
6351
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, decorators: [{
5786
6352
  type: i0.NgModule,
5787
6353
  args: [{
5788
- imports: [i4.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule],
6354
+ imports: [i3$1.CommonModule, i1$8.MatTableModule, MtnaWfFormItemModule],
5789
6355
  declarations: [MtnaWfTableFormItemComponent],
5790
6356
  exports: [MtnaWfTableFormItemComponent],
5791
6357
  }]
@@ -5799,12 +6365,13 @@
5799
6365
  return MtnaWfTextItemComponent;
5800
6366
  }(MtnaWfBaseFormItem));
5801
6367
  MtnaWfTextItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5802
- MtnaWfTextItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTextItemComponent, selector: "mtna-wf-text-item", usesInheritance: true, ngImport: i0__namespace, template: "<p [innerHTML]=\"$any(item.value) | mtnaWfSanitizeHtml\" class=\"mtna-wf-text-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"></p>\n", directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6368
+ MtnaWfTextItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTextItemComponent, selector: "mtna-wf-text-item", usesInheritance: true, ngImport: i0__namespace, template: "<p [innerHTML]=\"$any(item.value) | mtnaWfSanitizeHtml\" class=\"mtna-wf-text-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"></p>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-text-item .mtna-wf-text-item{padding-right:24px}\n"], directives: [{ type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5803
6369
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemComponent, decorators: [{
5804
6370
  type: i0.Component,
5805
6371
  args: [{
5806
6372
  selector: 'mtna-wf-text-item',
5807
6373
  templateUrl: './text.component.html',
6374
+ styleUrls: ['./text.component.scss'],
5808
6375
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5809
6376
  encapsulation: i0.ViewEncapsulation.None,
5810
6377
  }]
@@ -5816,12 +6383,12 @@
5816
6383
  return MtnaWfTextItemModule;
5817
6384
  }());
5818
6385
  MtnaWfTextItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5819
- MtnaWfTextItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, declarations: [MtnaWfTextItemComponent], imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfTextItemComponent] });
5820
- MtnaWfTextItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, imports: [[i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
6386
+ MtnaWfTextItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, declarations: [MtnaWfTextItemComponent], imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfTextItemComponent] });
6387
+ MtnaWfTextItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, imports: [[i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
5821
6388
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, decorators: [{
5822
6389
  type: i0.NgModule,
5823
6390
  args: [{
5824
- imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
6391
+ imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
5825
6392
  declarations: [MtnaWfTextItemComponent],
5826
6393
  exports: [MtnaWfTextItemComponent],
5827
6394
  }]
@@ -5835,12 +6402,13 @@
5835
6402
  return MtnaWfTitleItemComponent;
5836
6403
  }(MtnaWfBaseFormItem));
5837
6404
  MtnaWfTitleItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5838
- MtnaWfTitleItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTitleItemComponent, selector: "mtna-wf-title-item", usesInheritance: true, ngImport: i0__namespace, template: "<h3 class=\"mtna-wf-title-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">{{ item.value }}</h3>\n", directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6405
+ MtnaWfTitleItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTitleItemComponent, selector: "mtna-wf-title-item", usesInheritance: true, ngImport: i0__namespace, template: "<h3 class=\"mtna-wf-title-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">{{ item.value }}</h3>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-title-item .mtna-wf-title-item{padding-right:24px}mtna-wf-title-item .mtna-wf-title-item{font-size:1rem;font-weight:400;letter-spacing:1px;line-height:32px;text-transform:uppercase}\n"], directives: [{ type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5839
6406
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemComponent, decorators: [{
5840
6407
  type: i0.Component,
5841
6408
  args: [{
5842
6409
  selector: 'mtna-wf-title-item',
5843
6410
  templateUrl: './title.component.html',
6411
+ styleUrls: ['./title.component.scss'],
5844
6412
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5845
6413
  encapsulation: i0.ViewEncapsulation.None,
5846
6414
  }]
@@ -5852,12 +6420,12 @@
5852
6420
  return MtnaWfTitleItemModule;
5853
6421
  }());
5854
6422
  MtnaWfTitleItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5855
- MtnaWfTitleItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, declarations: [MtnaWfTitleItemComponent], imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule], exports: [MtnaWfTitleItemComponent] });
5856
- MtnaWfTitleItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, imports: [[i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule]] });
6423
+ MtnaWfTitleItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, declarations: [MtnaWfTitleItemComponent], imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule], exports: [MtnaWfTitleItemComponent] });
6424
+ MtnaWfTitleItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, imports: [[i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule]] });
5857
6425
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, decorators: [{
5858
6426
  type: i0.NgModule,
5859
6427
  args: [{
5860
- imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule],
6428
+ imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule],
5861
6429
  declarations: [MtnaWfTitleItemComponent],
5862
6430
  exports: [MtnaWfTitleItemComponent],
5863
6431
  }]
@@ -5871,7 +6439,7 @@
5871
6439
  return MtnaWfUnorderedListItemComponent;
5872
6440
  }(MtnaWfBaseFormItem));
5873
6441
  MtnaWfUnorderedListItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
5874
- MtnaWfUnorderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemComponent, selector: "mtna-wf-unordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ul [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ul>\n", styles: ["mtna-wf-unordered-list-item>ul{list-style:disc outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-value-item mtna-wf-unordered-list-item>ul{padding-right:24px}\n"], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6442
+ MtnaWfUnorderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemComponent, selector: "mtna-wf-unordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ul [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ul>\n", styles: ["mtna-wf-unordered-list-item>ul{list-style:disc outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-unordered-list-item>ul{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
5875
6443
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemComponent, decorators: [{
5876
6444
  type: i0.Component,
5877
6445
  args: [{
@@ -5889,12 +6457,12 @@
5889
6457
  return MtnaWfUnorderedListItemModule;
5890
6458
  }());
5891
6459
  MtnaWfUnorderedListItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5892
- MtnaWfUnorderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, declarations: [MtnaWfUnorderedListItemComponent], imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfUnorderedListItemComponent] });
5893
- MtnaWfUnorderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, imports: [[i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
6460
+ MtnaWfUnorderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, declarations: [MtnaWfUnorderedListItemComponent], imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfUnorderedListItemComponent] });
6461
+ MtnaWfUnorderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, imports: [[i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
5894
6462
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, decorators: [{
5895
6463
  type: i0.NgModule,
5896
6464
  args: [{
5897
- imports: [i4.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
6465
+ imports: [i3$1.CommonModule, i4.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
5898
6466
  declarations: [MtnaWfUnorderedListItemComponent],
5899
6467
  exports: [MtnaWfUnorderedListItemComponent],
5900
6468
  }]
@@ -5903,8 +6471,8 @@
5903
6471
  var MTNA_WF_DEFAULT_YEAR_RANGE = new i0.InjectionToken('mtna.wf.default.year.range');
5904
6472
  var MtnaWfYearQuarterComponent = /** @class */ (function (_super) {
5905
6473
  __extends(MtnaWfYearQuarterComponent, _super);
5906
- function MtnaWfYearQuarterComponent(defaultYearRange) {
5907
- var _this = _super.call(this) || this;
6474
+ function MtnaWfYearQuarterComponent(cdr, defaultYearRange) {
6475
+ var _this = _super.call(this, cdr) || this;
5908
6476
  _this.yearQuarterItemClass = true;
5909
6477
  _this._quarterControl = new i6.FormControl();
5910
6478
  _this._yearControl = new i6.FormControl();
@@ -6007,7 +6575,6 @@
6007
6575
  };
6008
6576
  MtnaWfYearQuarterComponent.prototype.ngOnInit = function () {
6009
6577
  var _a, _b, _c;
6010
- console.warn('YearQuarterItem ngOnInit', this.control);
6011
6578
  // Set any initial value onto the Year & Quarter controls
6012
6579
  this._yearControl.setValue(((_a = this.control) === null || _a === void 0 ? void 0 : _a.value) ? this.control.value.year : null);
6013
6580
  this._quarterControl.setValue(((_b = this.control) === null || _b === void 0 ? void 0 : _b.value) ? this.control.value.quarter : null);
@@ -6037,8 +6604,8 @@
6037
6604
  };
6038
6605
  return MtnaWfYearQuarterComponent;
6039
6606
  }(MtnaWfBaseValueItem));
6040
- MtnaWfYearQuarterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, deps: [{ token: MTNA_WF_DEFAULT_YEAR_RANGE, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
6041
- MtnaWfYearQuarterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item", host: { properties: { "class.mtna-wf-year-quarter-item": "this.yearQuarterItemClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div\n *ngIf=\"control\"\n class=\"year-quarter-container\"\n fxLayout=\"row\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-form-field>\n <mat-select [formControl]=\"_yearControl\" aria-label=\"year selection\">\n <mat-option *ngFor=\"let year of _yearSelection\" [value]=\"year\">{{ year }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field>\n <mat-select [formControl]=\"_quarterControl\" aria-label=\"quarter selection\">\n <mat-option>None</mat-option>\n <mat-option *ngFor=\"let quarter of _yearControl.value | mtnaWfGetQuarters : componentRangeLimits\" [value]=\"quarter\">{{\n $any(quarter) | mtnaWfDateQuarter : 'short'\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</div>\n", styles: ["mtna-wf-year-quarter-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field{max-width:75px}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field:first-of-type{margin-right:8px}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$2.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetQuarters": MtnaWfGetAvailableQuartersPipe, "mtnaWfDateQuarter": MtnaWfDateQuarterPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6607
+ MtnaWfYearQuarterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MTNA_WF_DEFAULT_YEAR_RANGE, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
6608
+ MtnaWfYearQuarterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item", host: { properties: { "class.mtna-wf-year-quarter-item": "this.yearQuarterItemClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div\n *ngIf=\"control\"\n class=\"year-quarter-container\"\n fxLayout=\"row\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-form-field>\n <mat-select [formControl]=\"_yearControl\" aria-label=\"Year Selection\" i18n-aria-label>\n <mat-option *ngFor=\"let year of _yearSelection\" [value]=\"year\">{{ year }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field>\n <mat-select [formControl]=\"_quarterControl\" aria-label=\"Quarter Selection\" i18n-aria-label>\n <mat-option i18n>None</mat-option>\n <mat-option *ngFor=\"let quarter of _yearControl.value | mtnaWfGetQuarters : componentRangeLimits\" [value]=\"quarter\">{{\n $any(quarter) | mtnaWfDateQuarter : 'short'\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</div>\n", styles: ["mtna-wf-year-quarter-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field{max-width:75px}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field:first-of-type{margin-right:8px}\n"], components: [{ type: i1__namespace$4.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$4.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetQuarters": MtnaWfGetAvailableQuartersPipe, "mtnaWfDateQuarter": MtnaWfDateQuarterPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6042
6609
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, decorators: [{
6043
6610
  type: i0.Component,
6044
6611
  args: [{
@@ -6049,7 +6616,7 @@
6049
6616
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6050
6617
  }]
6051
6618
  }], ctorParameters: function () {
6052
- return [{ type: undefined, decorators: [{
6619
+ return [{ type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
6053
6620
  type: i0.Optional
6054
6621
  }, {
6055
6622
  type: i0.Inject,
@@ -6066,41 +6633,41 @@
6066
6633
  return MtnaWfYearQuarterModule;
6067
6634
  }());
6068
6635
  MtnaWfYearQuarterModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6069
- MtnaWfYearQuarterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, declarations: [MtnaWfYearQuarterComponent], imports: [i4.CommonModule,
6636
+ MtnaWfYearQuarterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, declarations: [MtnaWfYearQuarterComponent], imports: [i3$1.CommonModule,
6070
6637
  flexLayout.FlexLayoutModule,
6071
- i1$7.MatFormFieldModule,
6638
+ i1$6.MatFormFieldModule,
6072
6639
  i2.MatSelectModule,
6073
6640
  i6.FormsModule,
6074
6641
  MtnaWfGetFormControlErrorPipeModule,
6075
6642
  MtnaWfGetAvailableQuartersPipeModule,
6076
6643
  MtnaWfDateQuarterPipeModule,
6077
- i1$1.MtnaHighlightModule,
6644
+ i4.MtnaHighlightModule,
6078
6645
  i6.ReactiveFormsModule], exports: [MtnaWfYearQuarterComponent] });
6079
6646
  MtnaWfYearQuarterModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, imports: [[
6080
- i4.CommonModule,
6647
+ i3$1.CommonModule,
6081
6648
  flexLayout.FlexLayoutModule,
6082
- i1$7.MatFormFieldModule,
6649
+ i1$6.MatFormFieldModule,
6083
6650
  i2.MatSelectModule,
6084
6651
  i6.FormsModule,
6085
6652
  MtnaWfGetFormControlErrorPipeModule,
6086
6653
  MtnaWfGetAvailableQuartersPipeModule,
6087
6654
  MtnaWfDateQuarterPipeModule,
6088
- i1$1.MtnaHighlightModule,
6655
+ i4.MtnaHighlightModule,
6089
6656
  i6.ReactiveFormsModule,
6090
6657
  ]] });
6091
6658
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, decorators: [{
6092
6659
  type: i0.NgModule,
6093
6660
  args: [{
6094
6661
  imports: [
6095
- i4.CommonModule,
6662
+ i3$1.CommonModule,
6096
6663
  flexLayout.FlexLayoutModule,
6097
- i1$7.MatFormFieldModule,
6664
+ i1$6.MatFormFieldModule,
6098
6665
  i2.MatSelectModule,
6099
6666
  i6.FormsModule,
6100
6667
  MtnaWfGetFormControlErrorPipeModule,
6101
6668
  MtnaWfGetAvailableQuartersPipeModule,
6102
6669
  MtnaWfDateQuarterPipeModule,
6103
- i1$1.MtnaHighlightModule,
6670
+ i4.MtnaHighlightModule,
6104
6671
  i6.ReactiveFormsModule,
6105
6672
  ],
6106
6673
  declarations: [MtnaWfYearQuarterComponent],
@@ -6117,10 +6684,10 @@
6117
6684
  }
6118
6685
  Object.defineProperty(MtnaWfYearQuarterRangeComponent.prototype, "item", {
6119
6686
  get: function () {
6120
- return this._item;
6687
+ return _super.prototype.item;
6121
6688
  },
6122
6689
  set: function (item) {
6123
- this._item = item;
6690
+ _super.prototype.item = item;
6124
6691
  // Create fake items for the underlying date-item component
6125
6692
  this._startItem = Object.assign(Object.assign({}, item), { value: undefined });
6126
6693
  this._endItem = Object.assign(Object.assign({}, item), { value: undefined });
@@ -6131,7 +6698,7 @@
6131
6698
  return MtnaWfYearQuarterRangeComponent;
6132
6699
  }(MtnaWfBaseValueItem));
6133
6700
  MtnaWfYearQuarterRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
6134
- MtnaWfYearQuarterRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterRangeComponent, selector: "mtna-wf-year-quarter-range-item", host: { properties: { "class.mtna-wf-year-quarter-range-item": "this.yearQuarterRangeClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-year-quarter-item\n [item]=\"_startItem\"\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n <span fxFlex=\"14px\">to</span>\n <mtna-wf-year-quarter-item\n [item]=\"_endItem\"\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n</div>\n", styles: ["mtna-wf-year-quarter-range-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-range-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item" }], directives: [{ type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6701
+ MtnaWfYearQuarterRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterRangeComponent, selector: "mtna-wf-year-quarter-range-item", host: { properties: { "class.mtna-wf-year-quarter-range-item": "this.yearQuarterRangeClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-year-quarter-item\n [item]=\"_startItem\"\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n <span fxFlex=\"14px\">to</span>\n <mtna-wf-year-quarter-item\n [item]=\"_endItem\"\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n</div>\n", styles: ["mtna-wf-year-quarter-range-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-range-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item" }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6135
6702
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeComponent, decorators: [{
6136
6703
  type: i0.Component,
6137
6704
  args: [{
@@ -6152,17 +6719,37 @@
6152
6719
  return MtnaWfYearQuarterRangeModule;
6153
6720
  }());
6154
6721
  MtnaWfYearQuarterRangeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6155
- MtnaWfYearQuarterRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, declarations: [MtnaWfYearQuarterRangeComponent], imports: [i4.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule], exports: [MtnaWfYearQuarterRangeComponent] });
6156
- MtnaWfYearQuarterRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, imports: [[i4.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule]] });
6722
+ MtnaWfYearQuarterRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, declarations: [MtnaWfYearQuarterRangeComponent], imports: [i3$1.CommonModule, MtnaWfYearQuarterModule, i4.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule], exports: [MtnaWfYearQuarterRangeComponent] });
6723
+ MtnaWfYearQuarterRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, imports: [[i3$1.CommonModule, MtnaWfYearQuarterModule, i4.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule]] });
6157
6724
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, decorators: [{
6158
6725
  type: i0.NgModule,
6159
6726
  args: [{
6160
- imports: [i4.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule],
6727
+ imports: [i3$1.CommonModule, MtnaWfYearQuarterModule, i4.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule],
6161
6728
  declarations: [MtnaWfYearQuarterRangeComponent],
6162
6729
  exports: [MtnaWfYearQuarterRangeComponent],
6163
6730
  }]
6164
6731
  }] });
6165
6732
 
6733
+ var MtnaWfProgressiveFormSectionComponent = /** @class */ (function (_super) {
6734
+ __extends(MtnaWfProgressiveFormSectionComponent, _super);
6735
+ function MtnaWfProgressiveFormSectionComponent(cdr) {
6736
+ return _super.call(this, cdr) || this;
6737
+ }
6738
+ return MtnaWfProgressiveFormSectionComponent;
6739
+ }(MtnaWfBaseSectionItem));
6740
+ MtnaWfProgressiveFormSectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
6741
+ MtnaWfProgressiveFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfProgressiveFormSectionComponent, selector: "mtna-wf-progressive-form-section", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-step-card [step]=\"step\" [subtitle]=\"item.descriptiveText\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">\n <div cardContent>\n <ng-container *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\">\n <mat-divider\n *ngIf=\"(subItem.itemId | mtnaWfGetObjectType) === 'formitemgroupimpl' && item.items.indexOf(subItem) !== 0\"\n class=\"section-item-divider\"\n [inset]=\"true\"\n ></mat-divider>\n\n <mtna-wf-item\n [item]=\"subItem\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n [control]=\"!!control && !!control.controls ? control.controls[subItem.instanceId] : undefined\"\n (focusedSection)=\"focused.emit($event)\"\n ></mtna-wf-item>\n </ng-container>\n </div>\n</mtna-wf-step-card>\n", styles: ["mtna-wf-progressive-form-section mat-divider.mat-divider-horizontal.progressive-form-section-actions-divider{position:relative;left:unset;padding-bottom:8px}mtna-wf-progressive-form-section .progressive-form-section-actions-wrapper .mat-raised-button{margin:0}\n"], components: [{ type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: ["color", "step", "subtitle"], outputs: ["focused"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i4__namespace.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfGetObjectType": MtnaWfGetObjectTypePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
6742
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionComponent, decorators: [{
6743
+ type: i0.Component,
6744
+ args: [{
6745
+ selector: 'mtna-wf-progressive-form-section',
6746
+ templateUrl: './progressive-form-section.component.html',
6747
+ styleUrls: ['./progressive-form-section.component.scss'],
6748
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
6749
+ encapsulation: i0.ViewEncapsulation.None,
6750
+ }]
6751
+ }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; } });
6752
+
6166
6753
  var MTNA_WF_ITEM_INJECTED_COMPONENTS = [
6167
6754
  // Boolean Item Component
6168
6755
  {
@@ -6204,6 +6791,11 @@
6204
6791
  key: 'us.mtna.web.form.impl.SectionImpl',
6205
6792
  component: MtnaWfFormSectionComponent,
6206
6793
  },
6794
+ // Progressive Form Section Component
6795
+ {
6796
+ key: 'us.mtna.web.form.impl.ProgressiveFormSectionImpl',
6797
+ component: MtnaWfProgressiveFormSectionComponent,
6798
+ },
6207
6799
  // I18n Input Item Components
6208
6800
  {
6209
6801
  key: 'us.mtna.web.form.item.impl.InternationalizedParagraphAnswerItem',
@@ -6291,223 +6883,420 @@
6291
6883
  return MTNA_WF_ITEM_INJECTED_COMPONENTS;
6292
6884
  };
6293
6885
  return MtnaWfItemComponentProvider;
6294
- }(i1$1.InjectedComponentProvider));
6886
+ }(i4.InjectedComponentProvider));
6295
6887
 
6296
- var MtnaWfFormItemDialogModule = /** @class */ (function () {
6297
- function MtnaWfFormItemDialogModule() {
6888
+ /* eslint-disable @angular-eslint/no-outputs-metadata-property */
6889
+ var MtnaWfProgressiveFormComponent = /** @class */ (function (_super) {
6890
+ __extends(MtnaWfProgressiveFormComponent, _super);
6891
+ function MtnaWfProgressiveFormComponent(mtnaFormManager, ngFormService, uiService, cdr, scrollService) {
6892
+ var _this = _super.call(this, mtnaFormManager, ngFormService, uiService) || this;
6893
+ _this.cdr = cdr;
6894
+ _this.scrollService = scrollService;
6895
+ _this._loading = false;
6896
+ /** Emits the updated ProgressiveForm value */
6897
+ _this.nextStepSelected = new i0.EventEmitter();
6898
+ /**
6899
+ * Emits the previous steps instanceId.
6900
+ * Since this component is always on the last step and the last item, we can always count on having the instanceId of the previous step.
6901
+ */
6902
+ _this.previousStepSelected = new i0.EventEmitter();
6903
+ /**
6904
+ * Emits the instanceId of the selected step.
6905
+ * If the currently active step is the step that is selected, this will not emit.
6906
+ */
6907
+ _this.showSelectedStepId = new i0.EventEmitter();
6908
+ _this.activeStepId$ = new rxjs.BehaviorSubject(undefined);
6909
+ _this.formItems = [];
6910
+ _this.formStatusValid$ = new rxjs.BehaviorSubject(false);
6911
+ _this.lastStepActive = false;
6912
+ _this.scrollDirection$ = _this.scrollService.getScrollDirection();
6913
+ _this.showPreviousButton = false;
6914
+ _this.stepArray$ = new rxjs.BehaviorSubject([]);
6915
+ /**
6916
+ * Checks if the last step in the form is active.
6917
+ * @returns true if the last step in the form is active, otherwise false
6918
+ */
6919
+ _this.checkLastStepActive = function () {
6920
+ if (_this.stepArray$.value.length > 0) {
6921
+ return _this.stepArray$.value[_this.stepArray$.value.length - 1].active;
6922
+ }
6923
+ else if (_this.stepArray$.value.length === 0) {
6924
+ return _this.stepArray$.value[0].active;
6925
+ }
6926
+ else {
6927
+ return false;
6928
+ }
6929
+ };
6930
+ return _this;
6298
6931
  }
6299
- return MtnaWfFormItemDialogModule;
6300
- }());
6301
- MtnaWfFormItemDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
6302
- MtnaWfFormItemDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, declarations: [MtnaWfFormItemDialogComponent], imports: [i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule], exports: [MtnaWfFormItemDialogComponent] });
6303
- MtnaWfFormItemDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, imports: [[i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule]] });
6304
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, decorators: [{
6305
- type: i0.NgModule,
6306
- args: [{
6307
- imports: [i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule],
6308
- declarations: [MtnaWfFormItemDialogComponent],
6309
- exports: [MtnaWfFormItemDialogComponent],
6310
- }]
6311
- }] });
6312
-
6313
- /**
6314
- * Base control class for a ValueItem.
6315
- * If a FormItem can have value, its component class should extend this class.
6316
- */
6317
- var BaseFormItemControl = /** @class */ (function () {
6318
- function BaseFormItemControl() {
6319
- this.formControlClass = true;
6320
- this.header = null;
6321
- this.inList = false;
6322
- this.indicatorStatus = 'INACTIVE';
6323
- this.readonly = false;
6324
- }
6325
- Object.defineProperty(BaseFormItemControl.prototype, "control", {
6932
+ Object.defineProperty(MtnaWfProgressiveFormComponent.prototype, "mtnaForm", {
6326
6933
  get: function () {
6327
- return this._control;
6934
+ return _super.prototype.mtnaForm;
6328
6935
  },
6329
- set: function (control) {
6330
- console.log(control);
6331
- this._control = control;
6936
+ set: function (form) {
6937
+ if (form) {
6938
+ this.formItems = form.items;
6939
+ this.resetValues();
6940
+ this.generateFormSteps(form.outline);
6941
+ this.checkAllStepsIds(form.items);
6942
+ _super.prototype.steps = this.determineStepsToPassToSuper(form.items);
6943
+ _super.prototype.mtnaForm = form;
6944
+ this.setStepStatus();
6945
+ this.setFormStatusSubscription();
6946
+ this.showPreviousButton = this.showPreviousButtonFn();
6947
+ this.lastStepActive = this.checkLastStepActive();
6948
+ this.cdr.markForCheck();
6949
+ }
6332
6950
  },
6333
6951
  enumerable: false,
6334
6952
  configurable: true
6335
6953
  });
6336
- Object.defineProperty(BaseFormItemControl.prototype, "item", {
6954
+ Object.defineProperty(MtnaWfProgressiveFormComponent.prototype, "loading", {
6337
6955
  get: function () {
6338
- return this._item;
6956
+ return this._loading;
6339
6957
  },
6340
- set: function (item) {
6341
- this._item = item;
6342
- },
6343
- enumerable: false,
6344
- configurable: true
6345
- });
6346
- Object.defineProperty(BaseFormItemControl.prototype, "hasItemHeader", {
6347
- // Whether the item has a header component above the content
6348
- get: function () {
6349
- return !!this.item && (!!this.item.questionText || !!this.item.descriptiveText);
6958
+ set: function (value) {
6959
+ this._loading = coercion.coerceBooleanProperty(value);
6350
6960
  },
6351
6961
  enumerable: false,
6352
6962
  configurable: true
6353
6963
  });
6354
- BaseFormItemControl.prototype._trackByOptionId = function (index, option) {
6355
- return option.option.id;
6964
+ MtnaWfProgressiveFormComponent.prototype.ngOnDestroy = function () {
6965
+ _super.prototype.ngOnDestroy.call(this);
6966
+ if (this.formStatusSubscriber) {
6967
+ this.formStatusSubscriber.unsubscribe();
6968
+ }
6356
6969
  };
6357
- return BaseFormItemControl;
6358
- }());
6359
- BaseFormItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseFormItemControl, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
6360
- BaseFormItemControl.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseFormItemControl, inputs: { control: "control", header: "header", inList: "inList", indicatorStatus: "indicatorStatus", item: "item", readonly: "readonly" }, host: { properties: { "class.mtna-wf-control-item": "this.formControlClass", "class.read-only": "this.readonly" } }, ngImport: i0__namespace });
6361
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseFormItemControl, decorators: [{
6362
- type: i0.Directive
6363
- }], propDecorators: { formControlClass: [{
6364
- type: i0.HostBinding,
6365
- args: ['class.mtna-wf-control-item']
6366
- }], control: [{
6367
- type: i0.Input
6368
- }], header: [{
6369
- type: i0.Input
6370
- }], inList: [{
6371
- type: i0.Input
6372
- }], indicatorStatus: [{
6373
- type: i0.Input
6374
- }], item: [{
6375
- type: i0.Input
6376
- }], readonly: [{
6377
- type: i0.HostBinding,
6378
- args: ['class.read-only']
6379
- }, {
6380
- type: i0.Input
6381
- }] } });
6382
-
6383
- /**
6384
- * Base control class for a FormItem with nested FormItems.
6385
- * If a FormItem contains an 'optionItemMap', its component class should extend this class.
6386
- */
6387
- var BaseParentItemControl = /** @class */ (function (_super) {
6388
- __extends(BaseParentItemControl, _super);
6389
- function BaseParentItemControl() {
6390
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
6391
- _this.parentIds = new Array();
6392
- return _this;
6393
- }
6394
- Object.defineProperty(BaseParentItemControl.prototype, "control", {
6395
- /** FormControl representing this item's value.
6396
- * If this item has items in its 'optionItemMap', this control is nested inside a FormGroup wrapper */
6397
- get: function () {
6398
- return this._control;
6399
- },
6400
- set: function (control) {
6401
- if (control instanceof i6.FormGroup) {
6402
- this._control = control.get(this.item.instanceId);
6403
- this.controlWrapper = control;
6970
+ /**
6971
+ * Checks if the previous button should be shown.
6972
+ * @returns true if the previous button should be shown, otherwise false
6973
+ */
6974
+ MtnaWfProgressiveFormComponent.prototype.showPreviousButtonFn = function () {
6975
+ var _this = this;
6976
+ if (this.activeStepId$.value) {
6977
+ var indexOfActiveStep = this.stepArray$.value.findIndex(function (step) { return step.instanceId === _this.activeStepId$.value; });
6978
+ return indexOfActiveStep > 0;
6979
+ }
6980
+ else {
6981
+ return false;
6982
+ }
6983
+ };
6984
+ /**
6985
+ * Subscribes to the form status changes and updates the formStatusValid$ BehaviorSubject with the validity of the active step.
6986
+ */
6987
+ MtnaWfProgressiveFormComponent.prototype.setFormStatusSubscription = function () {
6988
+ var _this = this;
6989
+ var _a;
6990
+ if (this.ngForm) {
6991
+ // Used to set the initial validity of the active step, otherwise it will always default to false
6992
+ if (this.activeStepId$.value) {
6993
+ var initialValidity = (_a = this.ngForm.controls[this.activeStepId$.value]) === null || _a === void 0 ? void 0 : _a.valid;
6994
+ this.formStatusValid$.next(initialValidity);
6404
6995
  }
6405
- else {
6406
- _super.prototype.control = control;
6996
+ if (!this.formStatusSubscriber) {
6997
+ this.formStatusSubscriber = this.ngForm.statusChanges.subscribe(function () {
6998
+ if (_this.activeStepId$.value) {
6999
+ if (_this.ngForm) {
7000
+ var activeControlExists = Object.keys(_this.ngForm.controls).includes(_this.activeStepId$.value);
7001
+ if (activeControlExists) {
7002
+ var activeControl = _this.ngForm.controls[_this.activeStepId$.value];
7003
+ if (activeControl) {
7004
+ _this.formStatusValid$.next(activeControl.valid);
7005
+ }
7006
+ }
7007
+ }
7008
+ }
7009
+ });
6407
7010
  }
6408
- // FIXME sometimes this gets set with undefined which was a problem
6409
- // Why is it undefined sometimes? something to do with readonly?
6410
- // Do we need to split the read-only components and edit-components
6411
- // I think the read-only components are carrying a bunch of extra unecessary weight
6412
- },
6413
- enumerable: false,
6414
- configurable: true
6415
- });
6416
- return BaseParentItemControl;
6417
- }(BaseFormItemControl));
6418
- BaseParentItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseParentItemControl, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
6419
- BaseParentItemControl.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseParentItemControl, inputs: { control: "control", parentIds: "parentIds" }, usesInheritance: true, ngImport: i0__namespace });
6420
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseParentItemControl, decorators: [{
6421
- type: i0.Directive
6422
- }], propDecorators: { control: [{
6423
- type: i0.Input
6424
- }], parentIds: [{
6425
- type: i0.Input
6426
- }] } });
6427
-
6428
- var BaseSingleSelectionParent = /** @class */ (function (_super) {
6429
- __extends(BaseSingleSelectionParent, _super);
6430
- function BaseSingleSelectionParent(uiService) {
6431
- var _this = _super.call(this) || this;
6432
- _this.uiService = uiService;
6433
- return _this;
6434
- }
6435
- BaseSingleSelectionParent.prototype.ngOnInit = function () {
6436
- var _this = this;
7011
+ }
7012
+ };
7013
+ /**
7014
+ * Resets all necessary values to build to form each iteration.
7015
+ */
7016
+ MtnaWfProgressiveFormComponent.prototype.resetValues = function () {
6437
7017
  var _a;
6438
- if (coreTs.isPresent((_a = this.control) === null || _a === void 0 ? void 0 : _a.value)) {
6439
- this.selectedOption = this.item.options.find(function (o) { var _a; return ((_a = _this.control) === null || _a === void 0 ? void 0 : _a.value) === o.option.id; });
7018
+ (_a = this.formStatusSubscriber) === null || _a === void 0 ? void 0 : _a.unsubscribe();
7019
+ this.ngForm = undefined;
7020
+ this._steps = undefined;
7021
+ this.ngFormService.disposeForm();
7022
+ this.stepArray$.next([]);
7023
+ this.activeStepId$.next(undefined);
7024
+ };
7025
+ /**
7026
+ * Generates the steps for the form based on the outline property of the form.
7027
+ * @param outline the outline of the form that is the basis for the steps
7028
+ */
7029
+ MtnaWfProgressiveFormComponent.prototype.generateFormSteps = function (outline) {
7030
+ var _this = this;
7031
+ if (this.stepArray$.value.length === 0) {
7032
+ var generatedFormSteps = generateFormStepsFromOutline(outline);
7033
+ var flattenedFormSteps = flattenSteps(generatedFormSteps);
7034
+ this.stepArray$.next(flattenedFormSteps);
7035
+ // Set the active step to the first step in the array for the first load
7036
+ var lastItemIndex_1 = this.formItems.length - 1;
7037
+ var updatedSteps_1 = [];
7038
+ this.stepArray$.value.forEach(function (step) {
7039
+ if (step.instanceId === _this.formItems[lastItemIndex_1].instanceId || step.instanceId === _this.formItems[lastItemIndex_1].templateId) {
7040
+ updatedSteps_1.push(Object.assign(Object.assign({}, step), { active: true, status: 'INVALID' }));
7041
+ }
7042
+ else {
7043
+ updatedSteps_1.push(step);
7044
+ }
7045
+ });
7046
+ this.stepArray$.next(updatedSteps_1);
6440
7047
  }
6441
7048
  };
6442
7049
  /**
6443
- * Toggles the 'selected' value of the previous & newly selected options,
6444
- * then calls toggleFormItems to change their enabled/disabled items
6445
- * @param change MatRadioChange from the radio group
7050
+ * Checks all of the steps to ensure that each steps instanceId property matches the instanceId of the FormItem and updates the property if needed.
7051
+ * This finds the step based on the templateId. When the stepArray is first built, the templateId of the FormItem gets set as the steps instanceId.
7052
+ * Here, we just need to find the steps that match the templateId and update the instanceId.
7053
+ * Matching is based off of templateId reduces the number of steps that need to be checked/manipulated.
7054
+ *
7055
+ * @param formItems the FormItems to check against the steps
6446
7056
  */
6447
- BaseSingleSelectionParent.prototype.selectionChange = function (change) {
6448
- // event fires when an option's nested item, e.g. FileUploadItem, changes value.
6449
- // This event is not a MatRadioChange, so we need to ignore it.
6450
- if (change instanceof i1$2.MatRadioChange || change instanceof i2.MatSelectChange) {
6451
- // Newly selected option
6452
- var option = this.item.options.find(function (o) { return o.option.id === change.value; });
6453
- if (!!this.selectedOption && this.selectedOption.option.id !== change.value) {
6454
- // New option does not match the previous option
6455
- // Previous option's enabled/disabled items need toggling
6456
- // toggle visibility and enable/disable, should be rendered already
6457
- this.uiService.toggleFormItems(this.selectedOption.enabledItems, this.selectedOption.disabledItems, false, this.item.instanceId);
7057
+ MtnaWfProgressiveFormComponent.prototype.checkAllStepsIds = function (formItems) {
7058
+ var _this = this;
7059
+ formItems.forEach(function (item) {
7060
+ var stepMatchedOnTemplateId = _this.stepArray$.value.find(function (s) { return s.instanceId === item.templateId; });
7061
+ if (stepMatchedOnTemplateId) {
7062
+ stepMatchedOnTemplateId.instanceId = item.instanceId;
7063
+ if (stepMatchedOnTemplateId.active) {
7064
+ _this.activeStepId$.next(item.instanceId);
7065
+ _this.cdr.markForCheck();
7066
+ }
6458
7067
  }
6459
- // toggle visibility and enable/disable, should be rendered already
6460
- if (option) {
6461
- this.uiService.toggleFormItems(option.enabledItems, option.disabledItems, true, this.item.instanceId);
7068
+ });
7069
+ };
7070
+ /**
7071
+ * Because the super class has no knowledge of the stepArray that have been generated for the form,
7072
+ * this function determines which steps need to be passed to the super class and the inherited _steps
7073
+ * property. The super class "should" obtain each step as it is passed in. This means that when the
7074
+ * call to either grab the form again or to get the next FormItem, should also continue to pass the
7075
+ * steps that have been generated.
7076
+ * @returns
7077
+ */
7078
+ MtnaWfProgressiveFormComponent.prototype.determineStepsToPassToSuper = function (items) {
7079
+ var availableItemInstanceIds = [];
7080
+ items.forEach(function (item) {
7081
+ availableItemInstanceIds.push(item.instanceId);
7082
+ });
7083
+ var stepsToPass = [];
7084
+ this.stepArray$.value.forEach(function (step) {
7085
+ if (availableItemInstanceIds.includes(step.instanceId)) {
7086
+ stepsToPass.push(step);
7087
+ }
7088
+ });
7089
+ return stepsToPass;
7090
+ };
7091
+ /**
7092
+ * Sets the status of each step in the form based on the validity of the form control.
7093
+ * If the form control key is not found in the controls of the form, the status is set to 'PLACEHOLDER'.
7094
+ */
7095
+ MtnaWfProgressiveFormComponent.prototype.setStepStatus = function () {
7096
+ var _this = this;
7097
+ var updatedSteps = [];
7098
+ this.stepArray$.value.forEach(function (step) {
7099
+ if (_this.ngForm) {
7100
+ var controlKeyExists = Object.keys(_this.ngForm.controls).includes(step.instanceId);
7101
+ if (controlKeyExists) {
7102
+ updatedSteps.push(Object.assign(Object.assign({}, step), { status: _this.ngForm.controls[step.instanceId].valid ? 'VALID' : 'INVALID' }));
7103
+ }
7104
+ else {
7105
+ updatedSteps.push(Object.assign(Object.assign({}, step), { status: 'PLACEHOLDER' }));
7106
+ }
7107
+ }
7108
+ });
7109
+ this.stepArray$.next(updatedSteps);
7110
+ };
7111
+ /**
7112
+ * Emits the next or previous step templateId based on the direction provided.
7113
+ * @param stepDirection the direction of the step to emit
7114
+ */
7115
+ MtnaWfProgressiveFormComponent.prototype.showDirectionalStep = function (stepDirection) {
7116
+ var _this = this;
7117
+ // const stepTemplateId = this.getDirectionalStepTemplateId(stepDirection);
7118
+ // if (stepTemplateId) {
7119
+ if (this.mtnaForm) {
7120
+ var formValue = this.ngFormService.getFormValue();
7121
+ var updatedForm = this.mtnaFormManager.insertNewValues(this.mtnaForm, formValue);
7122
+ if (stepDirection === 'next') {
7123
+ this.nextStepSelected.emit(updatedForm);
7124
+ this.scrollService.scrollTop();
7125
+ }
7126
+ else {
7127
+ var previousStepIndex = this.stepArray$.value.findIndex(function (step) { return step.instanceId === _this.activeStepId$.value; }) - 1;
7128
+ if (previousStepIndex >= 0) {
7129
+ var previousStep = this.stepArray$.value[previousStepIndex];
7130
+ if (previousStep) {
7131
+ this.previousStepSelected.emit(previousStep.instanceId);
7132
+ this.scrollService.scrollTop();
7133
+ }
7134
+ }
6462
7135
  }
6463
- // Set the selected option as the previous
6464
- this.selectedOption = option;
6465
7136
  }
6466
- else {
6467
- console.warn('[BaseSingleSelectionParent] selectionChange - not a MatRadioChange | MatSelectChange', change);
7137
+ };
7138
+ /**
7139
+ * Shows the selected step as the active step in the form.
7140
+ * To be used on the mtna-wf-form-stepper components "selected" output.
7141
+ * @param step the step to show as the active step
7142
+ */
7143
+ MtnaWfProgressiveFormComponent.prototype.showSelectedStep = function (step) {
7144
+ if (this.activeStepId$.value !== step.instanceId) {
7145
+ this.showSelectedStepId.emit(step.instanceId);
7146
+ this.activeStepId$.next(step.instanceId);
7147
+ this.scrollService.scrollTop();
6468
7148
  }
6469
7149
  };
6470
- return BaseSingleSelectionParent;
6471
- }(BaseParentItemControl));
6472
- BaseSingleSelectionParent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseSingleSelectionParent, deps: [{ token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
6473
- BaseSingleSelectionParent.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: BaseSingleSelectionParent, usesInheritance: true, ngImport: i0__namespace });
6474
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BaseSingleSelectionParent, decorators: [{
6475
- type: i0.Directive
6476
- }], ctorParameters: function () { return [{ type: MtnaWfUIService }]; } });
7150
+ MtnaWfProgressiveFormComponent.prototype._trackByStepInstanceId = function (index, formStep) {
7151
+ return formStep.instanceId;
7152
+ };
7153
+ return MtnaWfProgressiveFormComponent;
7154
+ }(MtnaWfBaseFormComponent));
7155
+ MtnaWfProgressiveFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormComponent, deps: [{ token: MtnaWfManagerService }, { token: MtnaWfNgFormService }, { token: MtnaWfUIService }, { token: i0__namespace.ChangeDetectorRef }, { token: i4__namespace.MtnaScrollService }], target: i0__namespace.ɵɵFactoryTarget.Component });
7156
+ MtnaWfProgressiveFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfProgressiveFormComponent, selector: "mtna-wf-progressive-form", inputs: { loading: "loading" }, outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange", nextStepSelected: "nextStepSelected", previousStepSelected: "previousStepSelected", showSelectedStepId: "showSelectedStepId" }, usesInheritance: true, ngImport: i0__namespace, template: "<div fxLayout=\"row\" class=\"mtna-wf-progressive-form__container\">\n <mtna-wf-stepper\n *ngIf=\"stepArray$ | async as steps\"\n fxFlex=\"200px\"\n [steps]=\"steps\"\n (selected)=\"showSelectedStep($event)\"\n ></mtna-wf-stepper>\n <div fxFlex class=\"mtna-wf-progressive-form__form-container\">\n <form *ngIf=\"ngForm\" [formGroup]=\"ngForm\" [formDisabled]=\"readonly\">\n <ng-container *ngFor=\"let item of mtnaForm?.items\">\n <ng-container *ngIf=\"activeStepId$ | async as activeStepId\">\n <mtna-wf-item\n *ngIf=\"item.instanceId === activeStepId\"\n [item]=\"item\"\n [control]=\"ngForm.controls[item.instanceId]\"\n [readonly]=\"readonly\"\n [parentIds]=\"componentIds\"\n [step]=\"_steps?.[item.instanceId]\"\n (focusedSection)=\"focusedSection.emit($event)\"\n ></mtna-wf-item>\n </ng-container>\n </ng-container>\n </form>\n <div *ngIf=\"!loading\" class=\"mtna-wf-progressive-form__stepper-actions\" fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"26px\">\n <button *ngIf=\"showPreviousButton\" mat-stroked-button color=\"primary\" (click)=\"showDirectionalStep('previous')\" i18n>\n Previous Step\n </button>\n <ng-container *ngIf=\"!lastStepActive; else parentActions\">\n <button mat-raised-button color=\"primary\" (click)=\"showDirectionalStep('next')\" i18n>Next Step</button>\n </ng-container>\n </div>\n </div>\n</div>\n\n<ng-template #parentActions>\n <ng-content></ng-content>\n</ng-template>\n", styles: ["mtna-wf-progressive-form{display:flex;flex:1}mtna-wf-progressive-form .mtna-wf-progressive-form__container{width:100%}mtna-wf-progressive-form mtna-wf-progressive-form-section mtna-wf-step-card{margin:24px}mtna-wf-progressive-form .mtna-wf-progressive-form__stepper-actions{margin:0 24px 24px}mtna-wf-progressive-form .mtna-wf-progressive-form__stepper-actions .mtna-wf-progressive-form__next-button{margin-left:auto}\n"], components: [{ type: MtnaWfFormStepperComponent, selector: "mtna-wf-stepper", inputs: ["color", "incompleteIcon", "steps"], outputs: ["selected"] }, { type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: ["formDisabled"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }], pipes: { "async": i3__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
7157
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormComponent, decorators: [{
7158
+ type: i0.Component,
7159
+ args: [{
7160
+ selector: 'mtna-wf-progressive-form',
7161
+ templateUrl: './progressive-form.component.html',
7162
+ styleUrls: ['./progressive-form.component.scss'],
7163
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
7164
+ encapsulation: i0.ViewEncapsulation.None,
7165
+ outputs: ['status', 'focusedSection', 'mtnaFormChange'],
7166
+ }]
7167
+ }], ctorParameters: function () { return [{ type: MtnaWfManagerService }, { type: MtnaWfNgFormService }, { type: MtnaWfUIService }, { type: i0__namespace.ChangeDetectorRef }, { type: i4__namespace.MtnaScrollService }]; }, propDecorators: { loading: [{
7168
+ type: i0.Input
7169
+ }], nextStepSelected: [{
7170
+ type: i0.Output
7171
+ }], previousStepSelected: [{
7172
+ type: i0.Output
7173
+ }], showSelectedStepId: [{
7174
+ type: i0.Output
7175
+ }] } });
6477
7176
 
6478
- /* eslint-disable @angular-eslint/directive-selector */
6479
- /**
6480
- * Used to retrieve the host container for a dynamically rendered component.
6481
- *
6482
- * @export
6483
- */
6484
- var MtnaWfFormItemDirective = /** @class */ (function () {
6485
- function MtnaWfFormItemDirective(viewContainerRef) {
6486
- this.viewContainerRef = viewContainerRef;
7177
+ var MtnaWfProgressiveFormSectionModule = /** @class */ (function () {
7178
+ function MtnaWfProgressiveFormSectionModule() {
6487
7179
  }
6488
- return MtnaWfFormItemDirective;
7180
+ return MtnaWfProgressiveFormSectionModule;
6489
7181
  }());
6490
- MtnaWfFormItemDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDirective, deps: [{ token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
6491
- MtnaWfFormItemDirectivedir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemDirective, selector: "[formItemHost]", ngImport: i0__namespace });
6492
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDirective, decorators: [{
6493
- type: i0.Directive,
7182
+ MtnaWfProgressiveFormSectionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
7183
+ MtnaWfProgressiveFormSectionModulemod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionModule, declarations: [MtnaWfProgressiveFormSectionComponent], imports: [i3$1.CommonModule,
7184
+ flexLayout.FlexLayoutModule,
7185
+ MtnaWfStepCardModule,
7186
+ i4.MtnaHighlightModule,
7187
+ i2$2.MatDividerModule,
7188
+ MtnaWfGetObjectTypePipeModule,
7189
+ MtnaWfFormItemModule,
7190
+ i3$2.MatButtonModule,
7191
+ i5.MatIconModule], exports: [MtnaWfProgressiveFormSectionComponent] });
7192
+ MtnaWfProgressiveFormSectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionModule, imports: [[
7193
+ i3$1.CommonModule,
7194
+ flexLayout.FlexLayoutModule,
7195
+ MtnaWfStepCardModule,
7196
+ i4.MtnaHighlightModule,
7197
+ i2$2.MatDividerModule,
7198
+ MtnaWfGetObjectTypePipeModule,
7199
+ MtnaWfFormItemModule,
7200
+ i3$2.MatButtonModule,
7201
+ i5.MatIconModule,
7202
+ ]] });
7203
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormSectionModule, decorators: [{
7204
+ type: i0.NgModule,
6494
7205
  args: [{
6495
- selector: '[formItemHost]',
7206
+ imports: [
7207
+ i3$1.CommonModule,
7208
+ flexLayout.FlexLayoutModule,
7209
+ MtnaWfStepCardModule,
7210
+ i4.MtnaHighlightModule,
7211
+ i2$2.MatDividerModule,
7212
+ MtnaWfGetObjectTypePipeModule,
7213
+ MtnaWfFormItemModule,
7214
+ i3$2.MatButtonModule,
7215
+ i5.MatIconModule,
7216
+ ],
7217
+ declarations: [MtnaWfProgressiveFormSectionComponent],
7218
+ exports: [MtnaWfProgressiveFormSectionComponent],
6496
7219
  }]
6497
- }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
7220
+ }] });
7221
+
7222
+ var MtnaWfProgressiveFormModule = /** @class */ (function () {
7223
+ function MtnaWfProgressiveFormModule() {
7224
+ }
7225
+ return MtnaWfProgressiveFormModule;
7226
+ }());
7227
+ MtnaWfProgressiveFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
7228
+ MtnaWfProgressiveFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormModule, declarations: [MtnaWfProgressiveFormComponent], imports: [i4$1.A11yModule,
7229
+ i3$1.CommonModule,
7230
+ flexLayout.FlexLayoutModule,
7231
+ i6.FormsModule,
7232
+ i3$2.MatButtonModule,
7233
+ i5.MatIconModule,
7234
+ MtnaWfFormDisablerModule,
7235
+ MtnaWfFormItemModule,
7236
+ MtnaWfProgressiveFormSectionModule,
7237
+ i6.ReactiveFormsModule,
7238
+ MtnaWfFormStepperModule,
7239
+ GetProgressiveFormItemPipeModule,
7240
+ GetActiveFormStepItemPipeModule], exports: [MtnaWfProgressiveFormComponent] });
7241
+ MtnaWfProgressiveFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormModule, imports: [[
7242
+ i4$1.A11yModule,
7243
+ i3$1.CommonModule,
7244
+ flexLayout.FlexLayoutModule,
7245
+ i6.FormsModule,
7246
+ i3$2.MatButtonModule,
7247
+ i5.MatIconModule,
7248
+ MtnaWfFormDisablerModule,
7249
+ MtnaWfFormItemModule,
7250
+ MtnaWfProgressiveFormSectionModule,
7251
+ i6.ReactiveFormsModule,
7252
+ MtnaWfFormStepperModule,
7253
+ GetProgressiveFormItemPipeModule,
7254
+ GetActiveFormStepItemPipeModule,
7255
+ ]] });
7256
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfProgressiveFormModule, decorators: [{
7257
+ type: i0.NgModule,
7258
+ args: [{
7259
+ imports: [
7260
+ i4$1.A11yModule,
7261
+ i3$1.CommonModule,
7262
+ flexLayout.FlexLayoutModule,
7263
+ i6.FormsModule,
7264
+ i3$2.MatButtonModule,
7265
+ i5.MatIconModule,
7266
+ MtnaWfFormDisablerModule,
7267
+ MtnaWfFormItemModule,
7268
+ MtnaWfProgressiveFormSectionModule,
7269
+ i6.ReactiveFormsModule,
7270
+ MtnaWfFormStepperModule,
7271
+ GetProgressiveFormItemPipeModule,
7272
+ GetActiveFormStepItemPipeModule,
7273
+ ],
7274
+ declarations: [MtnaWfProgressiveFormComponent],
7275
+ exports: [MtnaWfProgressiveFormComponent],
7276
+ }]
7277
+ }] });
6498
7278
 
6499
7279
  /**
6500
7280
  * Generated bundle index. Do not edit.
6501
7281
  */
6502
7282
 
6503
- exports.BaseFormItemControl = BaseFormItemControl;
6504
7283
  exports.BaseFormStep = BaseFormStep;
6505
- exports.BaseParentItemControl = BaseParentItemControl;
6506
- exports.BaseSingleSelectionParent = BaseSingleSelectionParent;
6507
7284
  exports.COMPLEX_STANDARD = COMPLEX_STANDARD;
7285
+ exports.ChildStepActivePipe = ChildStepActivePipe;
7286
+ exports.ChildStepActivePipeModule = ChildStepActivePipeModule;
7287
+ exports.CoerceFormStepGroupPipe = CoerceFormStepGroupPipe;
7288
+ exports.CoerceFormStepGroupPipeModule = CoerceFormStepGroupPipeModule;
7289
+ exports.CoerceFormStepPipe = CoerceFormStepPipe;
7290
+ exports.CoerceFormStepPipeModule = CoerceFormStepPipeModule;
6508
7291
  exports.DEFAULT_ERROR_MESSAGES = DEFAULT_ERROR_MESSAGES;
6509
7292
  exports.FormStep = FormStep;
6510
7293
  exports.FormStepGroup = FormStepGroup;
7294
+ exports.GetActiveFormStepItemPipe = GetActiveFormStepItemPipe;
7295
+ exports.GetActiveFormStepItemPipeModule = GetActiveFormStepItemPipeModule;
7296
+ exports.GetProgressiveFormItemPipe = GetProgressiveFormItemPipe;
7297
+ exports.GetProgressiveFormItemPipeModule = GetProgressiveFormItemPipeModule;
7298
+ exports.GetStepAriaLabel = GetStepAriaLabel;
7299
+ exports.GetStepAriaLabelModule = GetStepAriaLabelModule;
6511
7300
  exports.MTNA_WF_API_TOKEN = MTNA_WF_API_TOKEN;
6512
7301
  exports.MTNA_WF_DEFAULT_YEAR_RANGE = MTNA_WF_DEFAULT_YEAR_RANGE;
6513
7302
  exports.MTNA_WF_EXPAND_COLLAPSE = MTNA_WF_EXPAND_COLLAPSE;
@@ -6535,6 +7324,8 @@
6535
7324
  exports.MtnaWfCoerceFormControlPipeModule = MtnaWfCoerceFormControlPipeModule;
6536
7325
  exports.MtnaWfCoerceFormGroupPipe = MtnaWfCoerceFormGroupPipe;
6537
7326
  exports.MtnaWfCoerceFormGroupPipeModule = MtnaWfCoerceFormGroupPipeModule;
7327
+ exports.MtnaWfCoerceFormItemPipe = MtnaWfCoerceFormItemPipe;
7328
+ exports.MtnaWfCoerceFormItemPipeModule = MtnaWfCoerceFormItemPipeModule;
6538
7329
  exports.MtnaWfDateComponent = MtnaWfDateComponent;
6539
7330
  exports.MtnaWfDateModule = MtnaWfDateModule;
6540
7331
  exports.MtnaWfDateQuarterPipe = MtnaWfDateQuarterPipe;
@@ -6555,7 +7346,6 @@
6555
7346
  exports.MtnaWfFormItemDialogComponent = MtnaWfFormItemDialogComponent;
6556
7347
  exports.MtnaWfFormItemDialogData = MtnaWfFormItemDialogData;
6557
7348
  exports.MtnaWfFormItemDialogModule = MtnaWfFormItemDialogModule;
6558
- exports.MtnaWfFormItemDirective = MtnaWfFormItemDirective;
6559
7349
  exports.MtnaWfFormItemModule = MtnaWfFormItemModule;
6560
7350
  exports.MtnaWfFormSectionComponent = MtnaWfFormSectionComponent;
6561
7351
  exports.MtnaWfFormSectionModule = MtnaWfFormSectionModule;
@@ -6595,6 +7385,10 @@
6595
7385
  exports.MtnaWfNgFormService = MtnaWfNgFormService;
6596
7386
  exports.MtnaWfOrderedListItemComponent = MtnaWfOrderedListItemComponent;
6597
7387
  exports.MtnaWfOrderedListItemModule = MtnaWfOrderedListItemModule;
7388
+ exports.MtnaWfProgressiveFormComponent = MtnaWfProgressiveFormComponent;
7389
+ exports.MtnaWfProgressiveFormModule = MtnaWfProgressiveFormModule;
7390
+ exports.MtnaWfProgressiveFormSectionComponent = MtnaWfProgressiveFormSectionComponent;
7391
+ exports.MtnaWfProgressiveFormSectionModule = MtnaWfProgressiveFormSectionModule;
6598
7392
  exports.MtnaWfRepeatableItemComponent = MtnaWfRepeatableItemComponent;
6599
7393
  exports.MtnaWfRepeatableItemContainerComponent = MtnaWfRepeatableItemContainerComponent;
6600
7394
  exports.MtnaWfRepeatableItemContainerModule = MtnaWfRepeatableItemContainerModule;
@@ -6620,16 +7414,23 @@
6620
7414
  exports.MtnaWfYearQuarterModule = MtnaWfYearQuarterModule;
6621
7415
  exports.MtnaWfYearQuarterRangeComponent = MtnaWfYearQuarterRangeComponent;
6622
7416
  exports.MtnaWfYearQuarterRangeModule = MtnaWfYearQuarterRangeModule;
7417
+ exports.PROGRESSIVE_FORM_ID = PROGRESSIVE_FORM_ID;
7418
+ exports.PROGRESSIVE_FORM_SECTION_ID = PROGRESSIVE_FORM_SECTION_ID;
6623
7419
  exports.WEB_FORM_CUSTOM_ERRORS = WEB_FORM_CUSTOM_ERRORS;
6624
7420
  exports.everyStepStatus = everyStepStatus;
6625
7421
  exports.findFormControl = findFormControl;
6626
7422
  exports.findFormItem = findFormItem;
6627
7423
  exports.flattenSteps = flattenSteps;
6628
7424
  exports.generateFormSteps = generateFormSteps;
7425
+ exports.generateFormStepsFromOutline = generateFormStepsFromOutline;
6629
7426
  exports.getItemClassSuffix = getItemClassSuffix;
7427
+ exports.instanceOfFormStep = instanceOfFormStep;
7428
+ exports.instanceOfFormStepGroup = instanceOfFormStepGroup;
6630
7429
  exports.isFormControl = isFormControl;
6631
7430
  exports.isFormGroup = isFormGroup;
6632
7431
  exports.isFormStepGroup = isFormStepGroup;
7432
+ exports.isProgressiveForm = isProgressiveForm;
7433
+ exports.isProgressiveFormSection = isProgressiveFormSection;
6633
7434
  exports.updateStepStatus = updateStepStatus;
6634
7435
  exports.validationResultValidator = validationResultValidator;
6635
7436