@mtna/web-form-angular 1.0.6-SNAPSHOT.1 → 1.0.6-SNAPSHOT.11

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 (37) hide show
  1. package/bundles/mtna-web-form-angular.umd.js +166 -171
  2. package/bundles/mtna-web-form-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/form/form.component.js +1 -1
  4. package/esm2015/lib/components/form-item-impl/checkbox/checkbox.component.js +7 -7
  5. package/esm2015/lib/components/form-item-impl/form-group/form-group.component.js +2 -2
  6. package/esm2015/lib/components/form-item-impl/form-section/form-section.component.js +2 -2
  7. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +6 -7
  8. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.js +1 -5
  9. package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +22 -3
  10. package/esm2015/lib/components/item-header/item-header.component.js +2 -2
  11. package/esm2015/lib/components/step-card/step-card.component.js +9 -3
  12. package/esm2015/lib/components/template-item-impl/template-item-component-provider/template-item-injected-components.js +12 -10
  13. package/esm2015/lib/models/design/design-mapper/bulleted-list-item-template-mapper.js +1 -2
  14. package/esm2015/lib/models/design/design-mapper/numbered-list-item-template-mapper.js +1 -2
  15. package/esm2015/lib/models/design/design-mapper/option-selector-mapper.js +1 -1
  16. package/esm2015/lib/models/index.js +1 -2
  17. package/esm2015/lib/pipes/index.js +1 -2
  18. package/esm2015/lib/pipes/sanitize-html.pipe.js +11 -2
  19. package/esm2015/lib/services/api.service.js +13 -10
  20. package/esm2015/lib/services/form-manager.service.js +5 -3
  21. package/esm2015/lib/services/template-transformation.service.js +11 -8
  22. package/esm2015/lib/utilities/template-design-util.js +6 -6
  23. package/fesm2015/mtna-web-form-angular.js +105 -106
  24. package/fesm2015/mtna-web-form-angular.js.map +1 -1
  25. package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.d.ts +2 -3
  26. package/lib/components/form-item-injector/form-item-injector.component.d.ts +4 -0
  27. package/lib/components/step-card/step-card.component.d.ts +1 -0
  28. package/lib/models/index.d.ts +0 -1
  29. package/lib/pipes/index.d.ts +0 -1
  30. package/lib/pipes/sanitize-html.pipe.d.ts +7 -1
  31. package/lib/services/api.service.d.ts +6 -5
  32. package/lib/services/template-transformation.service.d.ts +5 -4
  33. package/package.json +1 -1
  34. package/esm2015/lib/models/api-config.js +0 -3
  35. package/esm2015/lib/pipes/coerce-form-item.pipe.js +0 -36
  36. package/lib/models/api-config.d.ts +0 -5
  37. package/lib/pipes/coerce-form-item.pipe.d.ts +0 -14
@@ -2,7 +2,7 @@
2
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('@mtna/core-i18n-angular'), require('@mtna/designer-ts'), require('@mtna/core-ts'), require('@mtna/designer-angular'), require('uuid'), require('@angular/forms'), 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('@angular/material/table'), require('@ngrx/store'), require('@ngrx/effects'), require('@angular/router')) :
3
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', '@mtna/core-i18n-angular', '@mtna/designer-ts', '@mtna/core-ts', '@mtna/designer-angular', 'uuid', '@angular/forms', '@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', '@angular/material/table', '@ngrx/store', '@ngrx/effects', '@angular/router'], factory) :
4
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.i2, global.designerTs, global.coreTs, global.i1, global.uuid, global.ng.forms, global.ng.material.core, global.ng.animations, global.i2$2, global.i1$2, 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$6, 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$9, global.ng.material.progressSpinner, global.ng.material.table, global.i1$b, global.i1$c, global.ng.router));
5
- })(this, (function (exports, i0, i1$1, coercion, webFormTs, rxjs, i2, designerTs, coreTs, i1, uuid, i6, i3, animations, i2$2, i1$2, i1$3, i2$1, i3$1, i1$4, i3$2, materialMomentAdapter, operators, i1$5, i1$6, i4, flexLayout, i2$3, i3$4, i6$1, i3$3, i6$2, i1$7, i2$4, i2$5, i1$8, i3$5, i5, i2$6, i1$9, i5$1, i1$a, i1$b, i1$c, i5$2) { 'use strict';
5
+ })(this, (function (exports, i0, i1$1, coercion, webFormTs, rxjs, i2, designerTs, coreTs, i1, uuid, i6, i3, animations, i2$2, i1$2, i1$3, i2$1, i3$1, i1$4, i3$2, materialMomentAdapter, operators, i1$5, i1$6, i4, flexLayout, i2$3, i3$4, i10, i3$3, i6$1, i1$7, i2$4, i2$5, i1$8, i3$5, i5, i2$6, i1$9, i5$1, i1$a, i1$b, i1$c, i5$2) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -40,9 +40,9 @@
40
40
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
41
41
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$3);
42
42
  var i3__namespace$4 = /*#__PURE__*/_interopNamespace(i3$4);
43
- var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
43
+ var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
44
44
  var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$3);
45
- var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
45
+ var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
46
46
  var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$7);
47
47
  var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$4);
48
48
  var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$5);
@@ -1278,7 +1278,7 @@
1278
1278
  function isTemplateItemDesign(design) {
1279
1279
  switch (design.type) {
1280
1280
  case webFormTs.BOOLEAN_ITEM_TEMPLATE_ID:
1281
- // case BULLETED_LIST_ITEM_TEMPLATE_ID:
1281
+ case webFormTs.BULLETED_LIST_ITEM_TEMPLATE_ID:
1282
1282
  case webFormTs.CHECKBOX_GRID_TEMPLATE_ID:
1283
1283
  case webFormTs.CHECKBOX_ITEM_TEMPLATE_ID:
1284
1284
  case webFormTs.DATE_ITEM_TEMPLATE_ID:
@@ -1291,7 +1291,7 @@
1291
1291
  case webFormTs.LINEAR_SCALE_ITEM_TEMPLATE_ID:
1292
1292
  case webFormTs.MULTIPLE_CHOICE_GRID_ITEM_TEMPLATE_ID:
1293
1293
  case webFormTs.MULTIPLE_CHOICE_ITEM_TEMPLATE_ID:
1294
- // case NUMBERED_LIST_ITEM_TEMPLATE_ID:
1294
+ case webFormTs.NUMBERED_LIST_ITEM_TEMPLATE_ID:
1295
1295
  case webFormTs.OFFSET_DATE_RANGE_ITEM_TEMPLATE_ID:
1296
1296
  case webFormTs.PARAGRAPH_ANSWER_ITEM_TEMPLATE_ID:
1297
1297
  case webFormTs.REPEATABLE_ITEM_TEMPLATE_IMPL_ID:
@@ -1311,7 +1311,7 @@
1311
1311
  }
1312
1312
  function isTemplateItem(something) {
1313
1313
  return (webFormTs.instanceOfBooleanItemTemplate(something) ||
1314
- // instanceOfBulletedListItemTemplate(something) ||
1314
+ webFormTs.instanceOfBulletedListItemTemplate(something) ||
1315
1315
  webFormTs.instanceOfCheckboxGridTemplate(something) ||
1316
1316
  webFormTs.instanceOfCheckboxItemTemplate(something) ||
1317
1317
  webFormTs.instanceOfDateItemTemplate(something) ||
@@ -1324,7 +1324,7 @@
1324
1324
  webFormTs.instanceOfLinearScaleItemTemplate(something) ||
1325
1325
  webFormTs.instanceOfMultipleChoiceGridItemTemplate(something) ||
1326
1326
  webFormTs.instanceOfMultipleChoiceItemTemplate(something) ||
1327
- // instanceOfNumberedListItemTemplate(something) ||
1327
+ webFormTs.instanceOfNumberedListItemTemplate(something) ||
1328
1328
  webFormTs.instanceOfOffsetDateRangeTemplate(something) ||
1329
1329
  webFormTs.instanceOfParagraphAnswerItemTemplate(something) ||
1330
1330
  webFormTs.instanceOfRepeatableItemTemplate(something) ||
@@ -2551,7 +2551,6 @@
2551
2551
  };
2552
2552
  BulletedListItemTemplateMapper.prototype.getSectionItemBulletedList = function (item) {
2553
2553
  var properties = [];
2554
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2555
2554
  properties.push(designerTs.getI18nListDesignProperty(i18n_values, i18n_valuesInstructions, prop_item_values, i18n_listValue, i18n_newListValue, item.values));
2556
2555
  return { display: i18n_bulletedListConfiguration, properties: properties };
2557
2556
  };
@@ -2793,7 +2792,6 @@
2793
2792
  };
2794
2793
  NumberedListItemTemplateMapper.prototype.getSectionItemNumberedList = function (item) {
2795
2794
  var properties = [];
2796
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2797
2795
  properties.push(designerTs.getI18nListDesignProperty(i18n_items, i18n_templateItemsInstructions, prop_item_items, i18n_item, i18n_newItem, item.items));
2798
2796
  return { display: i18n_numberedListConfiguration, properties: properties };
2799
2797
  };
@@ -3266,8 +3264,6 @@
3266
3264
  return coreTs.isType(something, 'className') && something.className === 'FormStep';
3267
3265
  }
3268
3266
 
3269
- var MTNA_WF_API_TOKEN = new i0.InjectionToken('mtnaWfApiConfig');
3270
-
3271
3267
  var CUSTOM_MAT_DATE_FORMAT = {
3272
3268
  parse: {
3273
3269
  dateInput: 'YYYY/MM/DD',
@@ -4444,6 +4440,9 @@
4444
4440
  },
4445
4441
  set: function (value) {
4446
4442
  this._item = value;
4443
+ if (this.wfItemComponent) {
4444
+ this.reset();
4445
+ }
4447
4446
  },
4448
4447
  enumerable: false,
4449
4448
  configurable: true
@@ -4478,6 +4477,20 @@
4478
4477
  enumerable: false,
4479
4478
  configurable: true
4480
4479
  });
4480
+ MtnaWfItemInjector.prototype.reset = function () {
4481
+ var _a, _b, _c;
4482
+ if (coreTs.isPresent(this.focusedSectionSubscription)) {
4483
+ (_a = this.focusedSectionSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
4484
+ this.focusedSectionSubscription = undefined;
4485
+ }
4486
+ if (coreTs.isPresent(this.toggleFormItemsSubscription)) {
4487
+ (_b = this.toggleFormItemsSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
4488
+ this.toggleFormItemsSubscription = undefined;
4489
+ }
4490
+ (_c = this.componentRef) === null || _c === void 0 ? void 0 : _c.destroy();
4491
+ this.wfItemComponent = undefined;
4492
+ this.ngOnInit();
4493
+ };
4481
4494
  MtnaWfItemInjector.prototype.ngOnInit = function () {
4482
4495
  if (this.item) {
4483
4496
  _super.prototype.ngOnInit.call(this);
@@ -4485,6 +4498,7 @@
4485
4498
  };
4486
4499
  MtnaWfItemInjector.prototype.configureComponent = function (componentRef) {
4487
4500
  var _this = this;
4501
+ this.componentRef = componentRef;
4488
4502
  this.wfItemComponent = componentRef.instance;
4489
4503
  this.wfItemComponent.header = this.header;
4490
4504
  this._indicatorStatus.subscribe(function (status) {
@@ -4503,7 +4517,7 @@
4503
4517
  if (this.wfItemComponent instanceof MtnaWfBaseParentValueItem) {
4504
4518
  this.wfItemComponent.parentIds = this.parentIds;
4505
4519
  // added output to remove ui service from base components
4506
- this.wfItemComponent.toggleFormItems.subscribe(function (data) {
4520
+ this.toggleFormItemsSubscription = this.wfItemComponent.toggleFormItems.subscribe(function (data) {
4507
4521
  _this.toggleFormItems.emit(data);
4508
4522
  });
4509
4523
  if (this.wfItemComponent instanceof MtnaWfBaseSingleSelectionParentValueItem) {
@@ -4516,7 +4530,7 @@
4516
4530
  this.wfItemComponent.parentIds = this.parentIds;
4517
4531
  if (this.wfItemComponent instanceof MtnaWfBaseSectionItem) {
4518
4532
  this.wfItemComponent.step = this.step;
4519
- this.wfItemComponent.focused.subscribe(function (step) {
4533
+ this.focusedSectionSubscription = this.wfItemComponent.focused.subscribe(function (step) {
4520
4534
  _this.focusedSection.emit(step);
4521
4535
  });
4522
4536
  }
@@ -4572,14 +4586,24 @@
4572
4586
  type: i0.Output
4573
4587
  }] } });
4574
4588
 
4589
+ /**
4590
+ * Sanitize the HTML string and optionally add a required field indicator.
4591
+ * @param v The HTML string to sanitize.
4592
+ * @param required Whether to append a required field indicator to the HTML string.
4593
+ * @returns A SafeHtml object that can be safely rendered in the template.
4594
+ */
4575
4595
  var MtnaWfSanitizeHtmlPipe = /** @class */ (function () {
4576
4596
  function MtnaWfSanitizeHtmlPipe(_sanitizer) {
4577
4597
  this._sanitizer = _sanitizer;
4578
4598
  }
4579
- MtnaWfSanitizeHtmlPipe.prototype.transform = function (v) {
4599
+ MtnaWfSanitizeHtmlPipe.prototype.transform = function (v, required) {
4600
+ if (required === void 0) { required = false; }
4580
4601
  if (!v) {
4581
4602
  return '';
4582
4603
  }
4604
+ if (required) {
4605
+ v = v + '<span class="sr-only">This field is required</span>';
4606
+ }
4583
4607
  return this._sanitizer.bypassSecurityTrustHtml(v);
4584
4608
  };
4585
4609
  return MtnaWfSanitizeHtmlPipe;
@@ -4660,7 +4684,7 @@
4660
4684
  return MtnaWfItemHeaderComponent;
4661
4685
  }());
4662
4686
  MtnaWfItemHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
4663
- 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 });
4687
+ 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 : required\"\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 });
4664
4688
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, decorators: [{
4665
4689
  type: i0.Component,
4666
4690
  args: [{
@@ -5083,45 +5107,6 @@
5083
5107
  }]
5084
5108
  }] });
5085
5109
 
5086
- var MtnaWfCoerceFormItemPipe = /** @class */ (function () {
5087
- function MtnaWfCoerceFormItemPipe() {
5088
- }
5089
- MtnaWfCoerceFormItemPipe.prototype.transform = function (item) {
5090
- var formItem = undefined;
5091
- if (this.instanceOfFormItem(item)) {
5092
- formItem = item;
5093
- }
5094
- return formItem;
5095
- };
5096
- MtnaWfCoerceFormItemPipe.prototype.instanceOfFormItem = function (something) {
5097
- return coreTs.isType(something, 'instanceId', 'itemId', 'name', 'required', 'templateId');
5098
- };
5099
- return MtnaWfCoerceFormItemPipe;
5100
- }());
5101
- MtnaWfCoerceFormItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
5102
- MtnaWfCoerceFormItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, name: "coerceFormItem" });
5103
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, decorators: [{
5104
- type: i0.Pipe,
5105
- args: [{
5106
- name: 'coerceFormItem',
5107
- }]
5108
- }] });
5109
- var MtnaWfCoerceFormItemPipeModule = /** @class */ (function () {
5110
- function MtnaWfCoerceFormItemPipeModule() {
5111
- }
5112
- return MtnaWfCoerceFormItemPipeModule;
5113
- }());
5114
- MtnaWfCoerceFormItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5115
- MtnaWfCoerceFormItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, declarations: [MtnaWfCoerceFormItemPipe], exports: [MtnaWfCoerceFormItemPipe] });
5116
- MtnaWfCoerceFormItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule });
5117
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, decorators: [{
5118
- type: i0.NgModule,
5119
- args: [{
5120
- declarations: [MtnaWfCoerceFormItemPipe],
5121
- exports: [MtnaWfCoerceFormItemPipe],
5122
- }]
5123
- }] });
5124
-
5125
5110
  var CoerceFormStepGroupPipe = /** @class */ (function () {
5126
5111
  function CoerceFormStepGroupPipe() {
5127
5112
  }
@@ -6012,20 +5997,24 @@
6012
5997
  }]
6013
5998
  }] });
6014
5999
 
6015
- var MtnaWfApiService = /** @class */ (function () {
6016
- function MtnaWfApiService(apiConfig, http) {
6017
- this.apiConfig = apiConfig;
6018
- this.http = http;
6019
- this.API_URL = this.apiConfig.baseUrl + "/api";
6020
- this.FORM_URL = this.API_URL + "/form";
6021
- this.TEMPLATE_URL = this.API_URL + "/template";
6022
- this.NEW_TEMPLATE_URL = this.TEMPLATE_URL + "/new";
6023
- this.NEW_SECTION_URL = this.TEMPLATE_URL + "/section";
6024
- this.ITEMS_URL = this.TEMPLATE_URL + "/items";
6025
- this.ITEM_INSTANCE_URL = this.TEMPLATE_URL + "/item";
6026
- this.TEMPLATE_SAVE_URL = this.TEMPLATE_URL + "/save";
6027
- this.TEMPLATE_DELETE_URL = this.TEMPLATE_URL + "/delete";
6028
- this.ALL_TEMPLATES_URL = this.API_URL + "/templates";
6000
+ var MtnaWfApiService = /** @class */ (function (_super) {
6001
+ __extends(MtnaWfApiService, _super);
6002
+ function MtnaWfApiService(apiConfig, http, logger) {
6003
+ var _this = _super.call(this, apiConfig, http, logger) || this;
6004
+ _this.apiConfig = apiConfig;
6005
+ _this.http = http;
6006
+ _this.logger = logger;
6007
+ _this.API_URL = "" + _this.BASE_URL;
6008
+ _this.FORM_URL = _this.API_URL + "/form";
6009
+ _this.TEMPLATE_URL = _this.API_URL + "/template";
6010
+ _this.NEW_TEMPLATE_URL = _this.TEMPLATE_URL + "/new";
6011
+ _this.NEW_SECTION_URL = _this.TEMPLATE_URL + "/section";
6012
+ _this.ITEMS_URL = _this.TEMPLATE_URL + "/items";
6013
+ _this.ITEM_INSTANCE_URL = _this.TEMPLATE_URL + "/item";
6014
+ _this.TEMPLATE_SAVE_URL = _this.TEMPLATE_URL + "/save";
6015
+ _this.TEMPLATE_DELETE_URL = _this.TEMPLATE_URL + "/delete";
6016
+ _this.ALL_TEMPLATES_URL = _this.API_URL + "/templates";
6017
+ return _this;
6029
6018
  }
6030
6019
  /**
6031
6020
  * Download a web form
@@ -6040,8 +6029,8 @@
6040
6029
  * @param formInstanceId template ID of the mtna form
6041
6030
  * @param itemId repeatableTemplateId of the requesting RepeatableItem
6042
6031
  */
6043
- MtnaWfApiService.prototype.getRepeatableItem = function (formInstanceId, itemId) {
6044
- return this.http.get(this.FORM_URL + "/" + formInstanceId + "/new/item/" + itemId);
6032
+ MtnaWfApiService.prototype.getRepeatableItem = function (templateId, itemTemplateId) {
6033
+ return this.http.get(this.FORM_URL + "/" + templateId + "/item/" + itemTemplateId);
6045
6034
  };
6046
6035
  MtnaWfApiService.prototype.getNewTemplate = function () {
6047
6036
  return this.http.get(this.NEW_TEMPLATE_URL);
@@ -6071,8 +6060,8 @@
6071
6060
  return this.http.post(this.ITEM_INSTANCE_URL + "/convert", templateItem);
6072
6061
  };
6073
6062
  return MtnaWfApiService;
6074
- }());
6075
- 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 });
6063
+ }(i1$2.BaseUrlService));
6064
+ MtnaWfApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, deps: [{ token: i1$2.MTNA_API_CONFIG }, { token: i1__namespace$3.HttpClient }, { token: i1__namespace$1.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
6076
6065
  MtnaWfApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, providedIn: 'root' });
6077
6066
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, decorators: [{
6078
6067
  type: i0.Injectable,
@@ -6080,8 +6069,8 @@
6080
6069
  }], ctorParameters: function () {
6081
6070
  return [{ type: undefined, decorators: [{
6082
6071
  type: i0.Inject,
6083
- args: [MTNA_WF_API_TOKEN]
6084
- }] }, { type: i1__namespace$3.HttpClient }];
6072
+ args: [i1$2.MTNA_API_CONFIG]
6073
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6085
6074
  } });
6086
6075
 
6087
6076
  /**
@@ -6368,7 +6357,7 @@
6368
6357
  }
6369
6358
  else {
6370
6359
  this.apiService
6371
- .getRepeatableItem(this._mtnaForm.instanceId, change.id)
6360
+ .getRepeatableItem(this._mtnaForm.templateId, change.templateId)
6372
6361
  .pipe(operators.take(1))
6373
6362
  .subscribe(function (newItem) {
6374
6363
  var newFormControl = _this.serializeMtnaFormItem(newItem);
@@ -6456,18 +6445,18 @@
6456
6445
  if (!!this.itemToggleQue && !!this.itemToggleQue.length) {
6457
6446
  // The form needs time to rerender, so we push this loop to the end of the stack
6458
6447
  setTimeout(function () {
6459
- var e_1, _b;
6448
+ var e_1, _c;
6460
6449
  if (_this.itemToggleQue) {
6461
6450
  try {
6462
- for (var _c = __values(_this.itemToggleQue), _d = _c.next(); !_d.done; _d = _c.next()) {
6463
- var change = _d.value;
6451
+ for (var _d = __values(_this.itemToggleQue), _e = _d.next(); !_e.done; _e = _d.next()) {
6452
+ var change = _e.value;
6464
6453
  _this.uiService.toggleFormItems(change.enabledItems, change.disabledItems, !!change.enable, change.enablerId, true);
6465
6454
  }
6466
6455
  }
6467
6456
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6468
6457
  finally {
6469
6458
  try {
6470
- if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
6459
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
6471
6460
  }
6472
6461
  finally { if (e_1) throw e_1.error; }
6473
6462
  }
@@ -6625,15 +6614,16 @@
6625
6614
  * @param change The change that recently occurred in the mtnaForm
6626
6615
  */
6627
6616
  MtnaWfManagerService.prototype._modifyFormItemConditions = function (form, change) {
6628
- var e_2, _b;
6617
+ var e_2, _c;
6618
+ var _a, _b;
6629
6619
  var newForm = form;
6630
6620
  if (change.conditionChanges) {
6631
6621
  var formItems = {};
6632
6622
  var _loop_1 = function (cc) {
6633
- var e_3, _e;
6623
+ var e_3, _f;
6634
6624
  try {
6635
- for (var _f = (e_3 = void 0, __values(__spreadArray(__spreadArray([], __read(cc.enabledItems)), __read(cc.disabledItems)))), _g = _f.next(); !_g.done; _g = _f.next()) {
6636
- var toggledId = _g.value;
6625
+ for (var _g = (e_3 = void 0, __values(__spreadArray(__spreadArray([], __read(cc.enabledItems)), __read(cc.disabledItems)))), _h = _g.next(); !_h.done; _h = _g.next()) {
6626
+ var toggledId = _h.value;
6637
6627
  var formItem = formItems[toggledId];
6638
6628
  var formItemComponent = this_1.uiService.getItem(toggledId);
6639
6629
  if (!formItem && (formItemComponent === null || formItemComponent === void 0 ? void 0 : formItemComponent.item)) {
@@ -6644,7 +6634,8 @@
6644
6634
  var itemIds = change.actionType === 'ADD'
6645
6635
  ? __spreadArray(__spreadArray([], __read(itemConditionItemIds)), [cc.enablerId]) : itemConditionItemIds.filter(function (i) { return i !== cc.enablerId; });
6646
6636
  var newItem = Object.assign(Object.assign({}, formItem), { condition: Object.assign(Object.assign({}, formItem.condition), { itemIds: itemIds }) });
6647
- var newChange = new webFormTs.MtnaWfFormItemChange(newItem.instanceId, (formItemComponent === null || formItemComponent === void 0 ? void 0 : formItemComponent.parentIds) || [], 'REPLACE');
6637
+ var templateId = (_b = (_a = formItem) === null || _a === void 0 ? void 0 : _a.templateId) !== null && _b !== void 0 ? _b : newItem.instanceId;
6638
+ var newChange = new webFormTs.MtnaWfFormItemChange(newItem.instanceId, templateId, (formItemComponent === null || formItemComponent === void 0 ? void 0 : formItemComponent.parentIds) || [], 'REPLACE');
6648
6639
  newForm = this_1._modifyFormItem(newForm, newChange, newItem);
6649
6640
  formItems[toggledId] = newItem;
6650
6641
  }
@@ -6653,7 +6644,7 @@
6653
6644
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
6654
6645
  finally {
6655
6646
  try {
6656
- if (_g && !_g.done && (_e = _f.return)) _e.call(_f);
6647
+ if (_h && !_h.done && (_f = _g.return)) _f.call(_g);
6657
6648
  }
6658
6649
  finally { if (e_3) throw e_3.error; }
6659
6650
  }
@@ -6663,15 +6654,15 @@
6663
6654
  };
6664
6655
  var this_1 = this;
6665
6656
  try {
6666
- for (var _c = __values(change.conditionChanges), _d = _c.next(); !_d.done; _d = _c.next()) {
6667
- var cc = _d.value;
6657
+ for (var _d = __values(change.conditionChanges), _e = _d.next(); !_e.done; _e = _d.next()) {
6658
+ var cc = _e.value;
6668
6659
  _loop_1(cc);
6669
6660
  }
6670
6661
  }
6671
6662
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
6672
6663
  finally {
6673
6664
  try {
6674
- if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
6665
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
6675
6666
  }
6676
6667
  finally { if (e_2) throw e_2.error; }
6677
6668
  }
@@ -6684,7 +6675,7 @@
6684
6675
  * @param idMap map of the item's internal instanceIds
6685
6676
  */
6686
6677
  MtnaWfManagerService.prototype._buildInternalIdsMap = function (item, idMap) {
6687
- var e_4, _b;
6678
+ var e_4, _c;
6688
6679
  idMap[item.instanceId] = true;
6689
6680
  if (coreTs.isType(item, 'items')) {
6690
6681
  var items = item.items;
@@ -6697,7 +6688,7 @@
6697
6688
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
6698
6689
  finally {
6699
6690
  try {
6700
- if (items_1_1 && !items_1_1.done && (_b = items_1.return)) _b.call(items_1);
6691
+ if (items_1_1 && !items_1_1.done && (_c = items_1.return)) _c.call(items_1);
6701
6692
  }
6702
6693
  finally { if (e_4) throw e_4.error; }
6703
6694
  }
@@ -6719,7 +6710,7 @@
6719
6710
  * @param action Whether the item was added or removed
6720
6711
  */
6721
6712
  MtnaWfManagerService.prototype._buildConditionChangeArray = function (item, changes, internalIdMap, action) {
6722
- var e_5, _b, e_6, _c;
6713
+ var e_5, _c, e_6, _d;
6723
6714
  if (webFormTs.isOptionItemImpl(item)) {
6724
6715
  var enable = !!action && action === 'ADD' ? item.option.selected || item.value === item.option.option.id : false;
6725
6716
  this._pushConditionToArray(item.instanceId, item.option.enabledItems, item.option.disabledItems, changes, internalIdMap, enable);
@@ -6732,15 +6723,15 @@
6732
6723
  };
6733
6724
  var this_2 = this;
6734
6725
  try {
6735
- for (var _d = __values(item.options), _e = _d.next(); !_e.done; _e = _d.next()) {
6736
- var option = _e.value;
6726
+ for (var _e = __values(item.options), _f = _e.next(); !_f.done; _f = _e.next()) {
6727
+ var option = _f.value;
6737
6728
  _loop_2(option);
6738
6729
  }
6739
6730
  }
6740
6731
  catch (e_5_1) { e_5 = { error: e_5_1 }; }
6741
6732
  finally {
6742
6733
  try {
6743
- if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
6734
+ if (_f && !_f.done && (_c = _e.return)) _c.call(_e);
6744
6735
  }
6745
6736
  finally { if (e_5) throw e_5.error; }
6746
6737
  }
@@ -6757,7 +6748,7 @@
6757
6748
  catch (e_6_1) { e_6 = { error: e_6_1 }; }
6758
6749
  finally {
6759
6750
  try {
6760
- if (items_2_1 && !items_2_1.done && (_c = items_2.return)) _c.call(items_2);
6751
+ if (items_2_1 && !items_2_1.done && (_d = items_2.return)) _d.call(items_2);
6761
6752
  }
6762
6753
  finally { if (e_6) throw e_6.error; }
6763
6754
  }
@@ -6815,7 +6806,7 @@
6815
6806
  * Revalidate form controls that previously had errors or have new errors now.
6816
6807
  */
6817
6808
  MtnaWfManagerService.prototype._updateServerSideErrors = function () {
6818
- var e_7, _b, e_8, _c;
6809
+ var e_7, _c, e_8, _d;
6819
6810
  var _a;
6820
6811
  // Keep track of IDs for each control that needs to be revalidated
6821
6812
  var controlIdsToRevalidate = new Set();
@@ -6831,8 +6822,8 @@
6831
6822
  this._formItemValidationResults = {};
6832
6823
  if ((_a = this._mtnaForm) === null || _a === void 0 ? void 0 : _a.validationResult) {
6833
6824
  try {
6834
- for (var _d = __values(this._mtnaForm.validationResult.formItemValidationResults), _e = _d.next(); !_e.done; _e = _d.next()) {
6835
- var result = _e.value;
6825
+ for (var _e = __values(this._mtnaForm.validationResult.formItemValidationResults), _f = _e.next(); !_f.done; _f = _e.next()) {
6826
+ var result = _f.value;
6836
6827
  if (result.validationStatus === 'ERRORS') {
6837
6828
  // Store errors so that the validationResultValidator can validate each control
6838
6829
  this._formItemValidationResults[result.id] = result;
@@ -6844,7 +6835,7 @@
6844
6835
  catch (e_7_1) { e_7 = { error: e_7_1 }; }
6845
6836
  finally {
6846
6837
  try {
6847
- if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
6838
+ if (_f && !_f.done && (_c = _e.return)) _c.call(_e);
6848
6839
  }
6849
6840
  finally { if (e_7) throw e_7.error; }
6850
6841
  }
@@ -6864,7 +6855,7 @@
6864
6855
  catch (e_8_1) { e_8 = { error: e_8_1 }; }
6865
6856
  finally {
6866
6857
  try {
6867
- if (controlIdsToRevalidate_1_1 && !controlIdsToRevalidate_1_1.done && (_c = controlIdsToRevalidate_1.return)) _c.call(controlIdsToRevalidate_1);
6858
+ if (controlIdsToRevalidate_1_1 && !controlIdsToRevalidate_1_1.done && (_d = controlIdsToRevalidate_1.return)) _d.call(controlIdsToRevalidate_1);
6868
6859
  }
6869
6860
  finally { if (e_8) throw e_8.error; }
6870
6861
  }
@@ -6904,11 +6895,15 @@
6904
6895
  type: i0.Injectable
6905
6896
  }] });
6906
6897
 
6907
- var MtnaTemplateTransformationService = /** @class */ (function () {
6908
- function MtnaTemplateTransformationService(apiConfig, http) {
6909
- this.apiConfig = apiConfig;
6910
- this.http = http;
6911
- this.API_URL = this.apiConfig.baseUrl + "/api";
6898
+ var MtnaTemplateTransformationService = /** @class */ (function (_super) {
6899
+ __extends(MtnaTemplateTransformationService, _super);
6900
+ function MtnaTemplateTransformationService(apiConfig, http, logger) {
6901
+ var _this = _super.call(this, apiConfig, http, logger) || this;
6902
+ _this.apiConfig = apiConfig;
6903
+ _this.http = http;
6904
+ _this.logger = logger;
6905
+ _this.API_URL = "" + _this.BASE_URL;
6906
+ return _this;
6912
6907
  }
6913
6908
  MtnaTemplateTransformationService.prototype.convertTemplateToForm = function (request) {
6914
6909
  // return this.http.post<Form>(`${this.API_URL}/template/convert`, request);
@@ -6916,8 +6911,8 @@
6916
6911
  return rxjs.of(undefined);
6917
6912
  };
6918
6913
  return MtnaTemplateTransformationService;
6919
- }());
6920
- MtnaTemplateTransformationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, deps: [{ token: MTNA_WF_API_TOKEN }, { token: i1__namespace$3.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
6914
+ }(i1$2.BaseUrlService));
6915
+ MtnaTemplateTransformationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, deps: [{ token: i1$2.MTNA_API_CONFIG }, { token: i1__namespace$3.HttpClient }, { token: i1__namespace$1.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
6921
6916
  MtnaTemplateTransformationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, providedIn: 'root' });
6922
6917
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, decorators: [{
6923
6918
  type: i0.Injectable,
@@ -6925,8 +6920,8 @@
6925
6920
  }], ctorParameters: function () {
6926
6921
  return [{ type: undefined, decorators: [{
6927
6922
  type: i0.Inject,
6928
- args: [MTNA_WF_API_TOKEN]
6929
- }] }, { type: i1__namespace$3.HttpClient }];
6923
+ args: [i1$2.MTNA_API_CONFIG]
6924
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6930
6925
  } });
6931
6926
 
6932
6927
  var _BaseFormComponent = i1$2.mixinDestroyNotifier(/** @class */ (function () {
@@ -7256,7 +7251,7 @@
7256
7251
  return MtnaWfFormComponent;
7257
7252
  }(MtnaWfBaseFormComponent));
7258
7253
  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 });
7259
- 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 | mtnaWfFilterHiddenItems; let index = index; trackBy: _trackByInstanceId\"\n [isCompact]=\"isCompact\"\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;width:100%}mtna-form form fieldset{min-width:100%}mtna-form form mtna-wf-item:not(:first-of-type){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", "isCompact", "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"] }], pipes: { "mtnaWfFilterHiddenItems": MtnaWfFilterHiddenItemsPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
7254
+ 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 | mtnaWfFilterHiddenItems; let index = index; trackBy: _trackByInstanceId\"\n [isCompact]=\"isCompact\"\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;width:100%}mtna-form form fieldset{min-width:100%}mtna-form form mtna-wf-item:not(:first-of-type){display:block}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", "isCompact", "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"] }], pipes: { "mtnaWfFilterHiddenItems": MtnaWfFilterHiddenItemsPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
7260
7255
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, decorators: [{
7261
7256
  type: i0.Component,
7262
7257
  args: [{
@@ -7400,7 +7395,7 @@
7400
7395
  return MtnaWfFormStepGroupComponent;
7401
7396
  }(_FormStepMixinBase));
7402
7397
  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 });
7403
- 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: i3__namespace$4.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 });
7398
+ 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: i3__namespace$4.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: i10__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "slice": i3__namespace.SlicePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
7404
7399
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, decorators: [{
7405
7400
  type: i0.Component,
7406
7401
  args: [{
@@ -7497,7 +7492,7 @@
7497
7492
  return MtnaWfFormStepperComponent;
7498
7493
  }(_FormStepperMixinBase));
7499
7494
  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 });
7500
- 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\n fxLayout=\"column\"\n fxLayoutAlign=\"start start\"\n [class.child-step-active]=\"(groupStepParent.steps | childStepActive) && groupStepCollapsedMap[groupStepParent.instanceId]\"\n >\n <div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"mtna-wf-step-item-content\">\n <button\n fxFlex\n mat-button\n class=\"step-button\"\n [attr.aria-label]=\"groupStepParent | getStepAriaLabel : groupStepCollapsedMap[groupStepParent.instanceId]\"\n (click)=\"toggleGroupStep(step)\"\n >\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=\"\n let groupStep of step.steps | slice : 0 : (groupStepCollapsedMap[step.instanceId] ? 0 : step.steps.length);\n let last = last\n \"\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\n [ngTemplateOutlet]=\"stepContent\"\n [ngTemplateOutletContext]=\"{ $implicit: groupStepChild, isChildStep: true }\"\n ></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\n fxFlex\n mat-button\n class=\"step-button\"\n [attr.aria-label]=\"step | getStepAriaLabel\"\n [disabled]=\"step.status === 'DISABLED' || step.status === 'PLACEHOLDER'\"\n (click)=\"_haltClickEvent($event, step)\"\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\" 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: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i3__namespace$4.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: 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: 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 });
7495
+ 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\n fxLayout=\"column\"\n fxLayoutAlign=\"start start\"\n [class.child-step-active]=\"(groupStepParent.steps | childStepActive) && groupStepCollapsedMap[groupStepParent.instanceId]\"\n >\n <div fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"mtna-wf-step-item-content\">\n <button\n fxFlex\n mat-button\n class=\"step-button\"\n [attr.aria-label]=\"groupStepParent | getStepAriaLabel : groupStepCollapsedMap[groupStepParent.instanceId]\"\n (click)=\"toggleGroupStep(step)\"\n >\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=\"\n let groupStep of step.steps | slice : 0 : (groupStepCollapsedMap[step.instanceId] ? 0 : step.steps.length);\n let last = last\n \"\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\n [ngTemplateOutlet]=\"stepContent\"\n [ngTemplateOutletContext]=\"{ $implicit: groupStepChild, isChildStep: true }\"\n ></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\n fxFlex\n mat-button\n class=\"step-button\"\n [attr.aria-label]=\"step | getStepAriaLabel\"\n [disabled]=\"step.status === 'DISABLED' || step.status === 'PLACEHOLDER'\"\n (click)=\"_haltClickEvent($event, step)\"\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\" 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: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i3__namespace$4.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: i6__namespace$1.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 });
7501
7496
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, decorators: [{
7502
7497
  type: i0.Component,
7503
7498
  args: [{
@@ -7530,7 +7525,7 @@
7530
7525
  i1$2.MtnaStatusCircleModule,
7531
7526
  i3.MatRippleModule,
7532
7527
  i3$2.MatButtonModule,
7533
- i6$1.MatTooltipModule,
7528
+ i10.MatTooltipModule,
7534
7529
  i3$4.MatIconModule,
7535
7530
  MtnaWfFormStepGroupPipeModule,
7536
7531
  CoerceFormStepGroupPipeModule,
@@ -7544,7 +7539,7 @@
7544
7539
  i1$2.MtnaStatusCircleModule,
7545
7540
  i3.MatRippleModule,
7546
7541
  i3$2.MatButtonModule,
7547
- i6$1.MatTooltipModule,
7542
+ i10.MatTooltipModule,
7548
7543
  i3$4.MatIconModule,
7549
7544
  MtnaWfFormStepGroupPipeModule,
7550
7545
  CoerceFormStepGroupPipeModule,
@@ -7562,7 +7557,7 @@
7562
7557
  i1$2.MtnaStatusCircleModule,
7563
7558
  i3.MatRippleModule,
7564
7559
  i3$2.MatButtonModule,
7565
- i6$1.MatTooltipModule,
7560
+ i10.MatTooltipModule,
7566
7561
  i3$4.MatIconModule,
7567
7562
  MtnaWfFormStepGroupPipeModule,
7568
7563
  CoerceFormStepGroupPipeModule,
@@ -7597,6 +7592,9 @@
7597
7592
  enumerable: false,
7598
7593
  configurable: true
7599
7594
  });
7595
+ MtnaWfStepCardComponent.prototype.handleMouseEnter = function (event) {
7596
+ this.handleFocusChange('mouse');
7597
+ };
7600
7598
  Object.defineProperty(MtnaWfStepCardComponent.prototype, "step", {
7601
7599
  // @Input() step: FormStep | null | undefined;
7602
7600
  get: function () {
@@ -7616,7 +7614,7 @@
7616
7614
  return MtnaWfStepCardComponent;
7617
7615
  }(_StepCardMixinBase));
7618
7616
  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 });
7619
- 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$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.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: i3__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 });
7617
+ 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: { listeners: { "mouseenter": "handleMouseEnter($event)" }, 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$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.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: i3__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 });
7620
7618
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, decorators: [{
7621
7619
  type: i0.Component,
7622
7620
  args: [{
@@ -7630,6 +7628,9 @@
7630
7628
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { active: [{
7631
7629
  type: i0.HostBinding,
7632
7630
  args: ['class.active']
7631
+ }], handleMouseEnter: [{
7632
+ type: i0.HostListener,
7633
+ args: ['mouseenter', ['$event']]
7633
7634
  }], step: [{
7634
7635
  type: i0.Input
7635
7636
  }], subtitle: [{
@@ -7864,7 +7865,7 @@
7864
7865
  return MtnaWfCheckboxComponent;
7865
7866
  }(MtnaWfBaseParentValueItem));
7866
7867
  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 });
7867
- 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 [isCompact]=\"isCompact\"\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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "isCompact", "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$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$1.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 });
7868
+ 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\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 [isCompact]=\"isCompact\"\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<div *ngIf=\"hasItemHeader\" class=\"mtna-wf-error-container checkbox-error\">\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", 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 .mtna-wf-error-container.checkbox-error{margin-top:4px;margin-left:.75em}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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.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"] }, { 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: i10__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
7868
7869
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, decorators: [{
7869
7870
  type: i0.Component,
7870
7871
  args: [{
@@ -7908,7 +7909,7 @@
7908
7909
  i2$5.MatCheckboxModule,
7909
7910
  i3$2.MatButtonModule,
7910
7911
  i3$4.MatIconModule,
7911
- i6$1.MatTooltipModule,
7912
+ i10.MatTooltipModule,
7912
7913
  MtnaWfFormItemModule,
7913
7914
  i1$2.MtnaHighlightModule,
7914
7915
  i6.ReactiveFormsModule,
@@ -7922,7 +7923,7 @@
7922
7923
  i2$5.MatCheckboxModule,
7923
7924
  i3$2.MatButtonModule,
7924
7925
  i3$4.MatIconModule,
7925
- i6$1.MatTooltipModule,
7926
+ i10.MatTooltipModule,
7926
7927
  MtnaWfFormItemModule,
7927
7928
  i1$2.MtnaHighlightModule,
7928
7929
  i6.ReactiveFormsModule,
@@ -7940,7 +7941,7 @@
7940
7941
  i2$5.MatCheckboxModule,
7941
7942
  i3$2.MatButtonModule,
7942
7943
  i3$4.MatIconModule,
7943
- i6$1.MatTooltipModule,
7944
+ i10.MatTooltipModule,
7944
7945
  MtnaWfFormItemModule,
7945
7946
  i1$2.MtnaHighlightModule,
7946
7947
  i6.ReactiveFormsModule,
@@ -8357,7 +8358,7 @@
8357
8358
  return MtnaWfFormGroupComponent;
8358
8359
  }(MtnaWfBaseGroupItem));
8359
8360
  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 });
8360
- 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 [isCompact]=\"isCompact\"\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", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__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: i3__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: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfItemsWithValue": MtnaWfItemsWithValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
8361
+ 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 [isCompact]=\"isCompact\"\n [item]=\"subItem\"\n [control]=\"control.controls[subItem.instanceId]\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\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.concat(item.instanceId)\"\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", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__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: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace$1.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 });
8361
8362
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, decorators: [{
8362
8363
  type: i0.Component,
8363
8364
  args: [{
@@ -8419,7 +8420,7 @@
8419
8420
  return MtnaWfFormSectionComponent;
8420
8421
  }(MtnaWfBaseSectionItem));
8421
8422
  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 });
8422
- 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 [isCompact]=\"isCompact\"\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-section{display:block}mtna-wf-section 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", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i1__namespace$1.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 });
8423
+ 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 [isCompact]=\"isCompact\"\n [item]=\"subItem\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\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-section{display:block}mtna-wf-section 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", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i1__namespace$1.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 });
8423
8424
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, decorators: [{
8424
8425
  type: i0.Component,
8425
8426
  args: [{
@@ -8777,16 +8778,16 @@
8777
8778
  return _this;
8778
8779
  }
8779
8780
  MtnaWfRepeatableItemContainerComponent.prototype.addItem = function () {
8780
- this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(this.item.repeatableTemplateId, this.parentIds, 'ADD'));
8781
+ this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(this.item.repeatableTemplateId, this.item.repeatableTemplateId, __spreadArray(__spreadArray([], __read(this.parentIds)), [this.item.instanceId]), 'ADD'));
8781
8782
  };
8782
8783
  MtnaWfRepeatableItemContainerComponent.prototype.removeItem = function (item) {
8783
8784
  var conditionChanges = this.manager.generateConditionChangeArray(item, 'REMOVE');
8784
- this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(item.instanceId, this.parentIds, 'REMOVE', conditionChanges));
8785
+ this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(item.instanceId, item.templateId, __spreadArray(__spreadArray([], __read(this.parentIds)), [this.item.instanceId]), 'REMOVE', conditionChanges));
8785
8786
  };
8786
8787
  return MtnaWfRepeatableItemContainerComponent;
8787
8788
  }(MtnaWfBaseParentValueItem));
8788
8789
  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 });
8789
- 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 <mat-card *ngIf=\"item.items.length > 0\">\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 [isCompact]=\"isCompact\"\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 </mat-card>\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;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: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.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": i1__namespace$1.MtnaTrackByPropertyPipe, "coerceFormItem": MtnaWfCoerceFormItemPipe, "uppercase": i3__namespace.UpperCasePipe }, animations: [
8790
+ 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 <mat-card>\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 i18n-matTooltip\n >\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-item\n [isCompact]=\"isCompact\"\n [item]=\"subitem\"\n [control]=\"!!control && !!control.controls ? control.controls[subitem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </mat-card>\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;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: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "isCompact", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "mtnaTrackByProperty": i1__namespace$1.MtnaTrackByPropertyPipe, "uppercase": i3__namespace.UpperCasePipe }, animations: [
8790
8791
  animations.trigger('repeatItemExpandCollapse', [
8791
8792
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
8792
8793
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
@@ -8827,9 +8828,8 @@
8827
8828
  i1$2.MtnaHighlightModule,
8828
8829
  i3$2.MatButtonModule,
8829
8830
  i3$4.MatIconModule,
8830
- i6$1.MatTooltipModule,
8831
+ i10.MatTooltipModule,
8831
8832
  i1$2.MtnaTrackByPropertyPipeModule,
8832
- MtnaWfCoerceFormItemPipeModule,
8833
8833
  i1$7.MatCardModule], exports: [MtnaWfRepeatableItemContainerComponent] });
8834
8834
  MtnaWfRepeatableItemContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, imports: [[
8835
8835
  i3$1.CommonModule,
@@ -8839,9 +8839,8 @@
8839
8839
  i1$2.MtnaHighlightModule,
8840
8840
  i3$2.MatButtonModule,
8841
8841
  i3$4.MatIconModule,
8842
- i6$1.MatTooltipModule,
8842
+ i10.MatTooltipModule,
8843
8843
  i1$2.MtnaTrackByPropertyPipeModule,
8844
- MtnaWfCoerceFormItemPipeModule,
8845
8844
  i1$7.MatCardModule,
8846
8845
  ]] });
8847
8846
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, decorators: [{
@@ -8855,9 +8854,8 @@
8855
8854
  i1$2.MtnaHighlightModule,
8856
8855
  i3$2.MatButtonModule,
8857
8856
  i3$4.MatIconModule,
8858
- i6$1.MatTooltipModule,
8857
+ i10.MatTooltipModule,
8859
8858
  i1$2.MtnaTrackByPropertyPipeModule,
8860
- MtnaWfCoerceFormItemPipeModule,
8861
8859
  i1$7.MatCardModule,
8862
8860
  ],
8863
8861
  declarations: [MtnaWfRepeatableItemContainerComponent],
@@ -10423,7 +10421,7 @@
10423
10421
  return MtnaWfCheckboxItemTemplateComponent;
10424
10422
  }(MtnaWfBaseTemplateOptionGroupItemComponent));
10425
10423
  MtnaWfCheckboxItemTemplateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateComponent, deps: [{ token: i0.LOCALE_ID }, { token: MtnaWfDialogService }], target: i0__namespace.ɵɵFactoryTarget.Component });
10426
- MtnaWfCheckboxItemTemplateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxItemTemplateComponent, selector: "mtna-wf-checkbox-item-template", usesInheritance: true, ngImport: i0__namespace, template: "<fieldset *ngIf=\"template\" [ngClass]=\"{ 'template-control-item-content': true, 'single-option': template.options.length === 1 }\">\n <ng-container *ngFor=\"let option of template.options; let i = index; trackBy: _trackByOptionId\">\n <div fxLayout=\"row\">\n <mat-checkbox [color]=\"color\" [disabled]=\"template.disabled\">\n {{ option.option.name }}\n </mat-checkbox>\n <button *ngIf=\"option.acknowledgement\" class=\"acknowledgement-btn\" mat-stroked-button (click)=\"handleClick(option)\">\n [acknowledgement]\n </button>\n </div>\n <ng-container *ngIf=\"template.optionTemplateMap[option.option.id] as subTemplate\">\n <mtna-wf-template-item\n [color]=\"color\"\n [displayLocale]=\"displayLocale\"\n [isCompact]=\"isCompact\"\n [template]=\"subTemplate\"\n ></mtna-wf-template-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item-template{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item-template .mat-checkbox{display:block;margin-right:8px}mtna-wf-checkbox-item-template .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item-template .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item-template .mat-checkbox .mat-checkbox-inner-container{bottom:1px}mtna-wf-checkbox-item-template .mat-stroked-button.acknowledgement-btn{line-height:24px;font-weight:normal;padding:0 4px;min-width:132px;height:24px}mtna-wf-checkbox-item-template fieldset{border:none;margin:0}mtna-wf-checkbox-item-template fieldset.template-control-item-content.single-option{padding:0}\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: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__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: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
10424
+ MtnaWfCheckboxItemTemplateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxItemTemplateComponent, selector: "mtna-wf-checkbox-item-template", usesInheritance: true, ngImport: i0__namespace, template: "<fieldset *ngIf=\"template\" [ngClass]=\"{ 'template-control-item-content': true, 'single-option': template.options.length === 1 }\">\n <ng-container *ngFor=\"let option of template.options; let i = index; trackBy: _trackByOptionId\">\n <div fxLayout=\"row\">\n <mat-checkbox [color]=\"color\" [disabled]=\"template.disabled\">\n {{ option.option.name }}\n </mat-checkbox>\n <button *ngIf=\"option.acknowledgement\" class=\"acknowledgement-btn\" mat-stroked-button (click)=\"handleClick(option)\">\n [acknowledgement]\n </button>\n </div>\n <ng-container *ngIf=\"template.optionTemplateMap[option.option.id] as subTemplate\">\n <mtna-wf-template-item\n [color]=\"color\"\n [displayLocale]=\"displayLocale\"\n [isCompact]=\"isCompact\"\n [template]=\"subTemplate\"\n ></mtna-wf-template-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item-template{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item-template .mat-checkbox{display:block;margin-right:8px}mtna-wf-checkbox-item-template .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item-template .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item-template .mat-checkbox .mat-checkbox-inner-container{bottom:1px}mtna-wf-checkbox-item-template .mat-stroked-button.acknowledgement-btn{line-height:24px;font-weight:normal;padding:0 4px;min-width:132px;height:24px}mtna-wf-checkbox-item-template fieldset{border:none;margin:0}mtna-wf-checkbox-item-template fieldset.template-control-item-content.single-option{padding:0}\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: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace$1.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"] }, { 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"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
10427
10425
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateComponent, decorators: [{
10428
10426
  type: i0.Component,
10429
10427
  args: [{
@@ -10446,12 +10444,12 @@
10446
10444
  return MtnaWfCheckboxItemTemplateModule;
10447
10445
  }());
10448
10446
  MtnaWfCheckboxItemTemplateModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
10449
- MtnaWfCheckboxItemTemplateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, declarations: [MtnaWfCheckboxItemTemplateComponent], imports: [i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i6$1.MatTooltipModule, MtnaWfTemplateItemModule], exports: [MtnaWfCheckboxItemTemplateComponent] });
10450
- MtnaWfCheckboxItemTemplateModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, imports: [[i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i6$1.MatTooltipModule, MtnaWfTemplateItemModule]] });
10447
+ MtnaWfCheckboxItemTemplateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, declarations: [MtnaWfCheckboxItemTemplateComponent], imports: [i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i10.MatTooltipModule, MtnaWfTemplateItemModule], exports: [MtnaWfCheckboxItemTemplateComponent] });
10448
+ MtnaWfCheckboxItemTemplateModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, imports: [[i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i10.MatTooltipModule, MtnaWfTemplateItemModule]] });
10451
10449
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, decorators: [{
10452
10450
  type: i0.NgModule,
10453
10451
  args: [{
10454
- imports: [i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i6$1.MatTooltipModule, MtnaWfTemplateItemModule],
10452
+ imports: [i3$1.CommonModule, flexLayout.FlexLayoutModule, i2$5.MatCheckboxModule, i3$2.MatButtonModule, i3$4.MatIconModule, i10.MatTooltipModule, MtnaWfTemplateItemModule],
10455
10453
  declarations: [MtnaWfCheckboxItemTemplateComponent],
10456
10454
  exports: [MtnaWfCheckboxItemTemplateComponent],
10457
10455
  }]
@@ -11300,7 +11298,7 @@
11300
11298
  return MtnaWfRepeatableItemTemplateContainerComponent;
11301
11299
  }(MtnaWfBaseTemplateItemWithListComponent));
11302
11300
  MtnaWfRepeatableItemTemplateContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemTemplateContainerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
11303
- MtnaWfRepeatableItemTemplateContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemTemplateContainerComponent, selector: "mtna-wf-repeatable-item-template-container", usesInheritance: true, ngImport: i0__namespace, template: "<section>\n <mtna-wf-repeatable-item-template @repeatItemExpandCollapse>\n <ng-container *ngIf=\"template && template.item\">\n <mat-card>\n <button mat-icon-button class=\"item-remove-button\" color=\"warn\" matTooltip=\"Remove Item\" i18n-matTooltip>\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-template-item [isCompact]=\"isCompact\" [template]=\"template.item\"></mtna-wf-template-item>\n </mat-card>\n </ng-container>\n </mtna-wf-repeatable-item-template>\n</section>\n<button mat-raised-button class=\"new-item-button\" color=\"primary\">\n {{ template?.additionalText || _addText | uppercase }}\n</button>\n", styles: ["mtna-wf-repeatable-item-template-container{display:block}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template{position:relative;padding:16px;display:inline-block;margin:8px;max-width:100%}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template .item-remove-button{position:absolute;top:-22px;left:-22px}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template>mtna-wf-template-item:first-child{margin-top:0}mtna-wf-repeatable-item-template-container .new-item-button{margin-left:.75em}mtna-wf-repeatable-item-template-container>section{padding-left:.75em}mtna-wf-repeatable-item-template-container>section,mtna-wf-repeatable-item-template-container .new-item-button{margin-top:16px}\n"], components: [{ type: MtnaWfRepeatableItemTemplateComponent, selector: "mtna-wf-repeatable-item-template" }, { type: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "uppercase": i3__namespace.UpperCasePipe }, animations: [
11301
+ MtnaWfRepeatableItemTemplateContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemTemplateContainerComponent, selector: "mtna-wf-repeatable-item-template-container", usesInheritance: true, ngImport: i0__namespace, template: "<section>\n <mtna-wf-repeatable-item-template @repeatItemExpandCollapse>\n <ng-container *ngIf=\"template && template.item\">\n <mat-card>\n <button mat-icon-button class=\"item-remove-button\" color=\"warn\" matTooltip=\"Remove Item\" i18n-matTooltip>\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-template-item [isCompact]=\"isCompact\" [template]=\"template.item\"></mtna-wf-template-item>\n </mat-card>\n </ng-container>\n </mtna-wf-repeatable-item-template>\n</section>\n<button mat-raised-button class=\"new-item-button\" color=\"primary\">\n {{ template?.additionalText || _addText | uppercase }}\n</button>\n", styles: ["mtna-wf-repeatable-item-template-container{display:block}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template{position:relative;padding:16px;display:inline-block;margin:8px;max-width:100%}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template .item-remove-button{position:absolute;top:-22px;left:-22px}mtna-wf-repeatable-item-template-container>section>mtna-wf-repeatable-item-template>mtna-wf-template-item:first-child{margin-top:0}mtna-wf-repeatable-item-template-container .new-item-button{margin-left:.75em}mtna-wf-repeatable-item-template-container>section{padding-left:.75em}mtna-wf-repeatable-item-template-container>section,mtna-wf-repeatable-item-template-container .new-item-button{margin-top:16px}\n"], components: [{ type: MtnaWfRepeatableItemTemplateComponent, selector: "mtna-wf-repeatable-item-template" }, { type: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { 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: i3__namespace$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "uppercase": i3__namespace.UpperCasePipe }, animations: [
11304
11302
  animations.trigger('repeatItemExpandCollapse', [
11305
11303
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
11306
11304
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
@@ -11339,7 +11337,7 @@
11339
11337
  MtnaWfTemplateItemModule,
11340
11338
  i3$2.MatButtonModule,
11341
11339
  i3$4.MatIconModule,
11342
- i6$1.MatTooltipModule,
11340
+ i10.MatTooltipModule,
11343
11341
  i1$2.MtnaTrackByPropertyPipeModule,
11344
11342
  i1$7.MatCardModule], exports: [MtnaWfRepeatableItemTemplateContainerComponent] });
11345
11343
  MtnaWfRepeatableItemTemplateContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemTemplateContainerModule, imports: [[
@@ -11348,7 +11346,7 @@
11348
11346
  MtnaWfTemplateItemModule,
11349
11347
  i3$2.MatButtonModule,
11350
11348
  i3$4.MatIconModule,
11351
- i6$1.MatTooltipModule,
11349
+ i10.MatTooltipModule,
11352
11350
  i1$2.MtnaTrackByPropertyPipeModule,
11353
11351
  i1$7.MatCardModule,
11354
11352
  ]] });
@@ -11361,7 +11359,7 @@
11361
11359
  MtnaWfTemplateItemModule,
11362
11360
  i3$2.MatButtonModule,
11363
11361
  i3$4.MatIconModule,
11364
- i6$1.MatTooltipModule,
11362
+ i10.MatTooltipModule,
11365
11363
  i1$2.MtnaTrackByPropertyPipeModule,
11366
11364
  i1$7.MatCardModule,
11367
11365
  ],
@@ -12056,7 +12054,7 @@
12056
12054
  return MtnaWfTemplateItemGroupComponent;
12057
12055
  }(MtnaWfBaseTemplateItemComponent));
12058
12056
  MtnaWfTemplateItemGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTemplateItemGroupComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
12059
- MtnaWfTemplateItemGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTemplateItemGroupComponent, selector: "mtna-wf-template-item-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"template\">\n <mat-list *ngIf=\"inList; else fullLayout\" [ngClass]=\"template.layout\">\n <mtna-wf-template-item\n *ngFor=\"let subItem of template.items; let index = index; trackBy: _trackByInstanceId\"\n [class.row-item]=\"template.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [template]=\"subItem\"\n [inList]=\"true\"\n ></mtna-wf-template-item>\n </mat-list>\n\n <ng-template #fullLayout>\n <div class=\"template-item-group-container\" [ngClass]=\"template.layout\">\n <mtna-wf-template-item\n *ngFor=\"let subItem of template.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"template.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [color]=\"color\"\n [displayLocale]=\"displayLocale\"\n [template]=\"subItem\"\n ></mtna-wf-template-item>\n </div>\n </ng-template>\n</ng-container>\n", styles: ["mtna-wf-template-item-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-template-item-group mtna-wf-multiple-choice-template-item{display:block}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item-group{margin-top:1rem}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template){padding-left:16px}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template).width-100{width:calc(100% - 16px)}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template):first-of-type{margin-top:0}mtna-wf-template-item-group .template-item-group-container.ROW>mtna-wf-template-item{margin-top:0}mtna-wf-template-item-group .template-item-group-container.ROW>*{display:block}mtna-wf-template-item-group .template-item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-template-item-group .template-item-group-container .width-100{width:100%}mtna-wf-template-item-group .template-item-group-container .width-100.row-item{width:calc(100% - 16px)}\n"], components: [{ type: i2__namespace$5.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__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: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
12057
+ MtnaWfTemplateItemGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTemplateItemGroupComponent, selector: "mtna-wf-template-item-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"template\">\n <mat-list *ngIf=\"inList; else fullLayout\" [ngClass]=\"template.layout\">\n <mtna-wf-template-item\n *ngFor=\"let subItem of template.items; let index = index; trackBy: _trackByInstanceId\"\n [class.row-item]=\"template.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [template]=\"subItem\"\n [inList]=\"true\"\n ></mtna-wf-template-item>\n </mat-list>\n\n <ng-template #fullLayout>\n <div class=\"template-item-group-container\" [ngClass]=\"template.layout\">\n <mtna-wf-template-item\n *ngFor=\"let subItem of template.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"template.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [color]=\"color\"\n [displayLocale]=\"displayLocale\"\n [template]=\"subItem\"\n ></mtna-wf-template-item>\n </div>\n </ng-template>\n</ng-container>\n", styles: ["mtna-wf-template-item-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-template-item-group mtna-wf-multiple-choice-template-item{display:block}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item-group{margin-top:1rem}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template){padding-left:16px}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template).width-100{width:calc(100% - 16px)}mtna-wf-template-item-group .template-item-group-container>mtna-wf-template-item:has(mtna-wf-title-item-template)~:not(mtna-wf-template-item > mtna-wf-title-item-template):first-of-type{margin-top:0}mtna-wf-template-item-group .template-item-group-container.ROW>mtna-wf-template-item{margin-top:0}mtna-wf-template-item-group .template-item-group-container.ROW>*{display:block}mtna-wf-template-item-group .template-item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-template-item-group .template-item-group-container .width-100{width:100%}mtna-wf-template-item-group .template-item-group-container .width-100.row-item{width:calc(100% - 16px)}\n"], components: [{ type: i2__namespace$5.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: MtnaWfTemplateItemComponent, selector: "mtna-wf-template-item", inputs: ["displayLocale", "inList", "isCompact", "step", "template", "color"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace$1.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"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
12060
12058
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTemplateItemGroupComponent, decorators: [{
12061
12059
  type: i0.Component,
12062
12060
  args: [{
@@ -12163,15 +12161,35 @@
12163
12161
  }] });
12164
12162
  var templateObject_1;
12165
12163
 
12164
+ var MtnaWfUnorderedListItemTemplateComponent = /** @class */ (function (_super) {
12165
+ __extends(MtnaWfUnorderedListItemTemplateComponent, _super);
12166
+ function MtnaWfUnorderedListItemTemplateComponent() {
12167
+ return _super !== null && _super.apply(this, arguments) || this;
12168
+ }
12169
+ return MtnaWfUnorderedListItemTemplateComponent;
12170
+ }(MtnaWfBaseTemplateItemComponent));
12171
+ MtnaWfUnorderedListItemTemplateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
12172
+ MtnaWfUnorderedListItemTemplateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemTemplateComponent, selector: "mtna-wf-unordered-list-item-template", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"template\">\n <ul>\n <ng-container *ngIf=\"displayLocale | getI18nStringsValueFromLocale : template.values as values\">\n <li *ngFor=\"let value of values\" [innerHTML]=\"value | mtnaWfSanitizeHtml\"></li>\n </ng-container>\n </ul>\n</ng-container>\n", styles: ["mtna-wf-unordered-list-item-template>ul{list-style:disc outside;padding-left:1rem}\n"], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "getI18nStringsValueFromLocale": GetI18nStringsValueFromLocalePipe, "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
12173
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, decorators: [{
12174
+ type: i0.Component,
12175
+ args: [{
12176
+ selector: 'mtna-wf-unordered-list-item-template',
12177
+ templateUrl: './unordered-list-item.component.html',
12178
+ styleUrls: ['./unordered-list-item.component.scss'],
12179
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
12180
+ encapsulation: i0.ViewEncapsulation.None,
12181
+ }]
12182
+ }] });
12183
+
12166
12184
  var MTNA_WF_TEMPLATE_ITEM_INJECTED_COMPONENTS = [
12167
12185
  {
12168
12186
  key: webFormTs.BOOLEAN_ITEM_TEMPLATE_ID,
12169
12187
  component: MtnaWfBooleanItemTemplateComponent,
12170
12188
  },
12171
- // {
12172
- // key: BULLETED_LIST_ITEM_TEMPLATE_ID,
12173
- // component: MtnaWfUnorderedListItemTemplateComponent,
12174
- // },
12189
+ {
12190
+ key: webFormTs.BULLETED_LIST_ITEM_TEMPLATE_ID,
12191
+ component: MtnaWfUnorderedListItemTemplateComponent,
12192
+ },
12175
12193
  {
12176
12194
  key: webFormTs.CHECKBOX_ITEM_TEMPLATE_ID,
12177
12195
  component: MtnaWfCheckboxItemTemplateComponent,
@@ -12208,10 +12226,10 @@
12208
12226
  key: webFormTs.OFFSET_DATE_RANGE_ITEM_TEMPLATE_ID,
12209
12227
  component: MtnaWfOffsetDateRangeItemTemplateComponent,
12210
12228
  },
12211
- // {
12212
- // key: NUMBERED_LIST_ITEM_TEMPLATE_ID,
12213
- // component: MtnaWfOrderedListItemTemplateComponent,
12214
- // },
12229
+ {
12230
+ key: webFormTs.NUMBERED_LIST_ITEM_TEMPLATE_ID,
12231
+ component: MtnaWfOrderedListItemTemplateComponent,
12232
+ },
12215
12233
  {
12216
12234
  key: webFormTs.PARAGRAPH_ANSWER_ITEM_TEMPLATE_ID,
12217
12235
  component: MtnaWfParagraphAnswerItemTemplateComponent,
@@ -12351,26 +12369,6 @@
12351
12369
  }]
12352
12370
  }] });
12353
12371
 
12354
- var MtnaWfUnorderedListItemTemplateComponent = /** @class */ (function (_super) {
12355
- __extends(MtnaWfUnorderedListItemTemplateComponent, _super);
12356
- function MtnaWfUnorderedListItemTemplateComponent() {
12357
- return _super !== null && _super.apply(this, arguments) || this;
12358
- }
12359
- return MtnaWfUnorderedListItemTemplateComponent;
12360
- }(MtnaWfBaseTemplateItemComponent));
12361
- MtnaWfUnorderedListItemTemplateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
12362
- MtnaWfUnorderedListItemTemplateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemTemplateComponent, selector: "mtna-wf-unordered-list-item-template", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"template\">\n <ul>\n <ng-container *ngIf=\"displayLocale | getI18nStringsValueFromLocale : template.values as values\">\n <li *ngFor=\"let value of values\" [innerHTML]=\"value | mtnaWfSanitizeHtml\"></li>\n </ng-container>\n </ul>\n</ng-container>\n", styles: ["mtna-wf-unordered-list-item-template>ul{list-style:disc outside;padding-left:1rem}\n"], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "getI18nStringsValueFromLocale": GetI18nStringsValueFromLocalePipe, "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
12363
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, decorators: [{
12364
- type: i0.Component,
12365
- args: [{
12366
- selector: 'mtna-wf-unordered-list-item-template',
12367
- templateUrl: './unordered-list-item.component.html',
12368
- styleUrls: ['./unordered-list-item.component.scss'],
12369
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
12370
- encapsulation: i0.ViewEncapsulation.None,
12371
- }]
12372
- }] });
12373
-
12374
12372
  var MtnaWfUnorderedListItemTemplateModule = /** @class */ (function () {
12375
12373
  function MtnaWfUnorderedListItemTemplateModule() {
12376
12374
  }
@@ -12475,7 +12473,6 @@
12475
12473
  exports.I18nTextResponseItemTemplateMapper = I18nTextResponseItemTemplateMapper;
12476
12474
  exports.ISO_8601_DATE_DISPLAY_VALUE = ISO_8601_DATE_DISPLAY_VALUE;
12477
12475
  exports.LONG_DATE_DISPLAY_VALUE = LONG_DATE_DISPLAY_VALUE;
12478
- exports.MTNA_WF_API_TOKEN = MTNA_WF_API_TOKEN;
12479
12476
  exports.MTNA_WF_DEFAULT_YEAR_RANGE = MTNA_WF_DEFAULT_YEAR_RANGE;
12480
12477
  exports.MTNA_WF_EXPAND_COLLAPSE = MTNA_WF_EXPAND_COLLAPSE;
12481
12478
  exports.MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME = MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME;
@@ -12513,8 +12510,6 @@
12513
12510
  exports.MtnaWfCoerceFormControlPipeModule = MtnaWfCoerceFormControlPipeModule;
12514
12511
  exports.MtnaWfCoerceFormGroupPipe = MtnaWfCoerceFormGroupPipe;
12515
12512
  exports.MtnaWfCoerceFormGroupPipeModule = MtnaWfCoerceFormGroupPipeModule;
12516
- exports.MtnaWfCoerceFormItemPipe = MtnaWfCoerceFormItemPipe;
12517
- exports.MtnaWfCoerceFormItemPipeModule = MtnaWfCoerceFormItemPipeModule;
12518
12513
  exports.MtnaWfDateComponent = MtnaWfDateComponent;
12519
12514
  exports.MtnaWfDateItemTemplateComponent = MtnaWfDateItemTemplateComponent;
12520
12515
  exports.MtnaWfDateItemTemplateModule = MtnaWfDateItemTemplateModule;