@mtna/web-form-angular 1.0.5 → 1.0.6-SNAPSHOT.10

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 (39) hide show
  1. package/bundles/mtna-web-form-angular.umd.js +166 -177
  2. package/bundles/mtna-web-form-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/form-item-impl/checkbox/checkbox.component.js +7 -7
  4. package/esm2015/lib/components/form-item-impl/form-group/form-group.component.js +2 -2
  5. package/esm2015/lib/components/form-item-impl/form-section/form-section.component.js +2 -2
  6. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +6 -7
  7. package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.js +1 -5
  8. package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +22 -3
  9. package/esm2015/lib/components/item-header/item-header.component.js +2 -2
  10. package/esm2015/lib/components/step-card/step-card.component.js +9 -3
  11. package/esm2015/lib/components/template-item-impl/template-display-viewer/template-display-viewer.component.js +2 -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/state/form/template-form.facade.js +1 -3
  23. package/esm2015/lib/utilities/template-design-util.js +6 -10
  24. package/fesm2015/mtna-web-form-angular.js +106 -113
  25. package/fesm2015/mtna-web-form-angular.js.map +1 -1
  26. package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.d.ts +2 -3
  27. package/lib/components/form-item-injector/form-item-injector.component.d.ts +4 -0
  28. package/lib/components/step-card/step-card.component.d.ts +1 -0
  29. package/lib/components/template-item-impl/template-display-viewer/template-display-viewer.component.d.ts +1 -1
  30. package/lib/models/index.d.ts +0 -1
  31. package/lib/pipes/index.d.ts +0 -1
  32. package/lib/pipes/sanitize-html.pipe.d.ts +7 -1
  33. package/lib/services/api.service.d.ts +6 -5
  34. package/lib/services/template-transformation.service.d.ts +5 -4
  35. package/package.json +3 -3
  36. package/esm2015/lib/models/api-config.js +0 -3
  37. package/esm2015/lib/pipes/coerce-form-item.pipe.js +0 -36
  38. package/lib/models/api-config.d.ts +0 -5
  39. 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) ||
@@ -1353,15 +1353,11 @@
1353
1353
  function getText(properties, key, i18n, languageId, fallback) {
1354
1354
  if (fallback === void 0) { fallback = ''; }
1355
1355
  var _a;
1356
- console.warn('getText', { properties: properties, key: key, i18n: i18n, languageId: languageId, fallback: fallback });
1357
1356
  if (coreTs.isPresent(properties[key]) && properties[key] !== '') {
1358
- console.warn('present');
1359
1357
  if (i18n) {
1360
- console.warn('i18n');
1361
1358
  return (_a = i2.getI18nString(properties[key], languageId, true)) !== null && _a !== void 0 ? _a : '';
1362
1359
  }
1363
1360
  else {
1364
- console.warn('not i18n');
1365
1361
  return properties[key];
1366
1362
  }
1367
1363
  }
@@ -2555,7 +2551,6 @@
2555
2551
  };
2556
2552
  BulletedListItemTemplateMapper.prototype.getSectionItemBulletedList = function (item) {
2557
2553
  var properties = [];
2558
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2559
2554
  properties.push(designerTs.getI18nListDesignProperty(i18n_values, i18n_valuesInstructions, prop_item_values, i18n_listValue, i18n_newListValue, item.values));
2560
2555
  return { display: i18n_bulletedListConfiguration, properties: properties };
2561
2556
  };
@@ -2797,7 +2792,6 @@
2797
2792
  };
2798
2793
  NumberedListItemTemplateMapper.prototype.getSectionItemNumberedList = function (item) {
2799
2794
  var properties = [];
2800
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2801
2795
  properties.push(designerTs.getI18nListDesignProperty(i18n_items, i18n_templateItemsInstructions, prop_item_items, i18n_item, i18n_newItem, item.items));
2802
2796
  return { display: i18n_numberedListConfiguration, properties: properties };
2803
2797
  };
@@ -3270,8 +3264,6 @@
3270
3264
  return coreTs.isType(something, 'className') && something.className === 'FormStep';
3271
3265
  }
3272
3266
 
3273
- var MTNA_WF_API_TOKEN = new i0.InjectionToken('mtnaWfApiConfig');
3274
-
3275
3267
  var CUSTOM_MAT_DATE_FORMAT = {
3276
3268
  parse: {
3277
3269
  dateInput: 'YYYY/MM/DD',
@@ -4448,6 +4440,9 @@
4448
4440
  },
4449
4441
  set: function (value) {
4450
4442
  this._item = value;
4443
+ if (this.wfItemComponent) {
4444
+ this.reset();
4445
+ }
4451
4446
  },
4452
4447
  enumerable: false,
4453
4448
  configurable: true
@@ -4482,6 +4477,20 @@
4482
4477
  enumerable: false,
4483
4478
  configurable: true
4484
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
+ };
4485
4494
  MtnaWfItemInjector.prototype.ngOnInit = function () {
4486
4495
  if (this.item) {
4487
4496
  _super.prototype.ngOnInit.call(this);
@@ -4489,6 +4498,7 @@
4489
4498
  };
4490
4499
  MtnaWfItemInjector.prototype.configureComponent = function (componentRef) {
4491
4500
  var _this = this;
4501
+ this.componentRef = componentRef;
4492
4502
  this.wfItemComponent = componentRef.instance;
4493
4503
  this.wfItemComponent.header = this.header;
4494
4504
  this._indicatorStatus.subscribe(function (status) {
@@ -4507,7 +4517,7 @@
4507
4517
  if (this.wfItemComponent instanceof MtnaWfBaseParentValueItem) {
4508
4518
  this.wfItemComponent.parentIds = this.parentIds;
4509
4519
  // added output to remove ui service from base components
4510
- this.wfItemComponent.toggleFormItems.subscribe(function (data) {
4520
+ this.toggleFormItemsSubscription = this.wfItemComponent.toggleFormItems.subscribe(function (data) {
4511
4521
  _this.toggleFormItems.emit(data);
4512
4522
  });
4513
4523
  if (this.wfItemComponent instanceof MtnaWfBaseSingleSelectionParentValueItem) {
@@ -4520,7 +4530,7 @@
4520
4530
  this.wfItemComponent.parentIds = this.parentIds;
4521
4531
  if (this.wfItemComponent instanceof MtnaWfBaseSectionItem) {
4522
4532
  this.wfItemComponent.step = this.step;
4523
- this.wfItemComponent.focused.subscribe(function (step) {
4533
+ this.focusedSectionSubscription = this.wfItemComponent.focused.subscribe(function (step) {
4524
4534
  _this.focusedSection.emit(step);
4525
4535
  });
4526
4536
  }
@@ -4576,14 +4586,24 @@
4576
4586
  type: i0.Output
4577
4587
  }] } });
4578
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
+ */
4579
4595
  var MtnaWfSanitizeHtmlPipe = /** @class */ (function () {
4580
4596
  function MtnaWfSanitizeHtmlPipe(_sanitizer) {
4581
4597
  this._sanitizer = _sanitizer;
4582
4598
  }
4583
- MtnaWfSanitizeHtmlPipe.prototype.transform = function (v) {
4599
+ MtnaWfSanitizeHtmlPipe.prototype.transform = function (v, required) {
4600
+ if (required === void 0) { required = false; }
4584
4601
  if (!v) {
4585
4602
  return '';
4586
4603
  }
4604
+ if (required) {
4605
+ v = v + '<span class="sr-only">This field is required</span>';
4606
+ }
4587
4607
  return this._sanitizer.bypassSecurityTrustHtml(v);
4588
4608
  };
4589
4609
  return MtnaWfSanitizeHtmlPipe;
@@ -4664,7 +4684,7 @@
4664
4684
  return MtnaWfItemHeaderComponent;
4665
4685
  }());
4666
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 });
4667
- 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 });
4668
4688
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, decorators: [{
4669
4689
  type: i0.Component,
4670
4690
  args: [{
@@ -5087,45 +5107,6 @@
5087
5107
  }]
5088
5108
  }] });
5089
5109
 
5090
- var MtnaWfCoerceFormItemPipe = /** @class */ (function () {
5091
- function MtnaWfCoerceFormItemPipe() {
5092
- }
5093
- MtnaWfCoerceFormItemPipe.prototype.transform = function (item) {
5094
- var formItem = undefined;
5095
- if (this.instanceOfFormItem(item)) {
5096
- formItem = item;
5097
- }
5098
- return formItem;
5099
- };
5100
- MtnaWfCoerceFormItemPipe.prototype.instanceOfFormItem = function (something) {
5101
- return coreTs.isType(something, 'instanceId', 'itemId', 'name', 'required', 'templateId');
5102
- };
5103
- return MtnaWfCoerceFormItemPipe;
5104
- }());
5105
- MtnaWfCoerceFormItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
5106
- MtnaWfCoerceFormItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, name: "coerceFormItem" });
5107
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, decorators: [{
5108
- type: i0.Pipe,
5109
- args: [{
5110
- name: 'coerceFormItem',
5111
- }]
5112
- }] });
5113
- var MtnaWfCoerceFormItemPipeModule = /** @class */ (function () {
5114
- function MtnaWfCoerceFormItemPipeModule() {
5115
- }
5116
- return MtnaWfCoerceFormItemPipeModule;
5117
- }());
5118
- MtnaWfCoerceFormItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
5119
- MtnaWfCoerceFormItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, declarations: [MtnaWfCoerceFormItemPipe], exports: [MtnaWfCoerceFormItemPipe] });
5120
- MtnaWfCoerceFormItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule });
5121
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, decorators: [{
5122
- type: i0.NgModule,
5123
- args: [{
5124
- declarations: [MtnaWfCoerceFormItemPipe],
5125
- exports: [MtnaWfCoerceFormItemPipe],
5126
- }]
5127
- }] });
5128
-
5129
5110
  var CoerceFormStepGroupPipe = /** @class */ (function () {
5130
5111
  function CoerceFormStepGroupPipe() {
5131
5112
  }
@@ -6016,20 +5997,24 @@
6016
5997
  }]
6017
5998
  }] });
6018
5999
 
6019
- var MtnaWfApiService = /** @class */ (function () {
6020
- function MtnaWfApiService(apiConfig, http) {
6021
- this.apiConfig = apiConfig;
6022
- this.http = http;
6023
- this.API_URL = this.apiConfig.baseUrl + "/api";
6024
- this.FORM_URL = this.API_URL + "/form";
6025
- this.TEMPLATE_URL = this.API_URL + "/template";
6026
- this.NEW_TEMPLATE_URL = this.TEMPLATE_URL + "/new";
6027
- this.NEW_SECTION_URL = this.TEMPLATE_URL + "/section";
6028
- this.ITEMS_URL = this.TEMPLATE_URL + "/items";
6029
- this.ITEM_INSTANCE_URL = this.TEMPLATE_URL + "/item";
6030
- this.TEMPLATE_SAVE_URL = this.TEMPLATE_URL + "/save";
6031
- this.TEMPLATE_DELETE_URL = this.TEMPLATE_URL + "/delete";
6032
- 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;
6033
6018
  }
6034
6019
  /**
6035
6020
  * Download a web form
@@ -6044,8 +6029,8 @@
6044
6029
  * @param formInstanceId template ID of the mtna form
6045
6030
  * @param itemId repeatableTemplateId of the requesting RepeatableItem
6046
6031
  */
6047
- MtnaWfApiService.prototype.getRepeatableItem = function (formInstanceId, itemId) {
6048
- 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);
6049
6034
  };
6050
6035
  MtnaWfApiService.prototype.getNewTemplate = function () {
6051
6036
  return this.http.get(this.NEW_TEMPLATE_URL);
@@ -6075,8 +6060,8 @@
6075
6060
  return this.http.post(this.ITEM_INSTANCE_URL + "/convert", templateItem);
6076
6061
  };
6077
6062
  return MtnaWfApiService;
6078
- }());
6079
- 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 });
6080
6065
  MtnaWfApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, providedIn: 'root' });
6081
6066
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, decorators: [{
6082
6067
  type: i0.Injectable,
@@ -6084,8 +6069,8 @@
6084
6069
  }], ctorParameters: function () {
6085
6070
  return [{ type: undefined, decorators: [{
6086
6071
  type: i0.Inject,
6087
- args: [MTNA_WF_API_TOKEN]
6088
- }] }, { type: i1__namespace$3.HttpClient }];
6072
+ args: [i1$2.MTNA_API_CONFIG]
6073
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6089
6074
  } });
6090
6075
 
6091
6076
  /**
@@ -6372,7 +6357,7 @@
6372
6357
  }
6373
6358
  else {
6374
6359
  this.apiService
6375
- .getRepeatableItem(this._mtnaForm.instanceId, change.id)
6360
+ .getRepeatableItem(this._mtnaForm.templateId, change.templateId)
6376
6361
  .pipe(operators.take(1))
6377
6362
  .subscribe(function (newItem) {
6378
6363
  var newFormControl = _this.serializeMtnaFormItem(newItem);
@@ -6460,18 +6445,18 @@
6460
6445
  if (!!this.itemToggleQue && !!this.itemToggleQue.length) {
6461
6446
  // The form needs time to rerender, so we push this loop to the end of the stack
6462
6447
  setTimeout(function () {
6463
- var e_1, _b;
6448
+ var e_1, _c;
6464
6449
  if (_this.itemToggleQue) {
6465
6450
  try {
6466
- for (var _c = __values(_this.itemToggleQue), _d = _c.next(); !_d.done; _d = _c.next()) {
6467
- var change = _d.value;
6451
+ for (var _d = __values(_this.itemToggleQue), _e = _d.next(); !_e.done; _e = _d.next()) {
6452
+ var change = _e.value;
6468
6453
  _this.uiService.toggleFormItems(change.enabledItems, change.disabledItems, !!change.enable, change.enablerId, true);
6469
6454
  }
6470
6455
  }
6471
6456
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
6472
6457
  finally {
6473
6458
  try {
6474
- if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
6459
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
6475
6460
  }
6476
6461
  finally { if (e_1) throw e_1.error; }
6477
6462
  }
@@ -6629,15 +6614,16 @@
6629
6614
  * @param change The change that recently occurred in the mtnaForm
6630
6615
  */
6631
6616
  MtnaWfManagerService.prototype._modifyFormItemConditions = function (form, change) {
6632
- var e_2, _b;
6617
+ var e_2, _c;
6618
+ var _a, _b;
6633
6619
  var newForm = form;
6634
6620
  if (change.conditionChanges) {
6635
6621
  var formItems = {};
6636
6622
  var _loop_1 = function (cc) {
6637
- var e_3, _e;
6623
+ var e_3, _f;
6638
6624
  try {
6639
- for (var _f = (e_3 = void 0, __values(__spreadArray(__spreadArray([], __read(cc.enabledItems)), __read(cc.disabledItems)))), _g = _f.next(); !_g.done; _g = _f.next()) {
6640
- 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;
6641
6627
  var formItem = formItems[toggledId];
6642
6628
  var formItemComponent = this_1.uiService.getItem(toggledId);
6643
6629
  if (!formItem && (formItemComponent === null || formItemComponent === void 0 ? void 0 : formItemComponent.item)) {
@@ -6648,7 +6634,8 @@
6648
6634
  var itemIds = change.actionType === 'ADD'
6649
6635
  ? __spreadArray(__spreadArray([], __read(itemConditionItemIds)), [cc.enablerId]) : itemConditionItemIds.filter(function (i) { return i !== cc.enablerId; });
6650
6636
  var newItem = Object.assign(Object.assign({}, formItem), { condition: Object.assign(Object.assign({}, formItem.condition), { itemIds: itemIds }) });
6651
- 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');
6652
6639
  newForm = this_1._modifyFormItem(newForm, newChange, newItem);
6653
6640
  formItems[toggledId] = newItem;
6654
6641
  }
@@ -6657,7 +6644,7 @@
6657
6644
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
6658
6645
  finally {
6659
6646
  try {
6660
- if (_g && !_g.done && (_e = _f.return)) _e.call(_f);
6647
+ if (_h && !_h.done && (_f = _g.return)) _f.call(_g);
6661
6648
  }
6662
6649
  finally { if (e_3) throw e_3.error; }
6663
6650
  }
@@ -6667,15 +6654,15 @@
6667
6654
  };
6668
6655
  var this_1 = this;
6669
6656
  try {
6670
- for (var _c = __values(change.conditionChanges), _d = _c.next(); !_d.done; _d = _c.next()) {
6671
- var cc = _d.value;
6657
+ for (var _d = __values(change.conditionChanges), _e = _d.next(); !_e.done; _e = _d.next()) {
6658
+ var cc = _e.value;
6672
6659
  _loop_1(cc);
6673
6660
  }
6674
6661
  }
6675
6662
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
6676
6663
  finally {
6677
6664
  try {
6678
- if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
6665
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
6679
6666
  }
6680
6667
  finally { if (e_2) throw e_2.error; }
6681
6668
  }
@@ -6688,7 +6675,7 @@
6688
6675
  * @param idMap map of the item's internal instanceIds
6689
6676
  */
6690
6677
  MtnaWfManagerService.prototype._buildInternalIdsMap = function (item, idMap) {
6691
- var e_4, _b;
6678
+ var e_4, _c;
6692
6679
  idMap[item.instanceId] = true;
6693
6680
  if (coreTs.isType(item, 'items')) {
6694
6681
  var items = item.items;
@@ -6701,7 +6688,7 @@
6701
6688
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
6702
6689
  finally {
6703
6690
  try {
6704
- 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);
6705
6692
  }
6706
6693
  finally { if (e_4) throw e_4.error; }
6707
6694
  }
@@ -6723,7 +6710,7 @@
6723
6710
  * @param action Whether the item was added or removed
6724
6711
  */
6725
6712
  MtnaWfManagerService.prototype._buildConditionChangeArray = function (item, changes, internalIdMap, action) {
6726
- var e_5, _b, e_6, _c;
6713
+ var e_5, _c, e_6, _d;
6727
6714
  if (webFormTs.isOptionItemImpl(item)) {
6728
6715
  var enable = !!action && action === 'ADD' ? item.option.selected || item.value === item.option.option.id : false;
6729
6716
  this._pushConditionToArray(item.instanceId, item.option.enabledItems, item.option.disabledItems, changes, internalIdMap, enable);
@@ -6736,15 +6723,15 @@
6736
6723
  };
6737
6724
  var this_2 = this;
6738
6725
  try {
6739
- for (var _d = __values(item.options), _e = _d.next(); !_e.done; _e = _d.next()) {
6740
- var option = _e.value;
6726
+ for (var _e = __values(item.options), _f = _e.next(); !_f.done; _f = _e.next()) {
6727
+ var option = _f.value;
6741
6728
  _loop_2(option);
6742
6729
  }
6743
6730
  }
6744
6731
  catch (e_5_1) { e_5 = { error: e_5_1 }; }
6745
6732
  finally {
6746
6733
  try {
6747
- if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
6734
+ if (_f && !_f.done && (_c = _e.return)) _c.call(_e);
6748
6735
  }
6749
6736
  finally { if (e_5) throw e_5.error; }
6750
6737
  }
@@ -6761,7 +6748,7 @@
6761
6748
  catch (e_6_1) { e_6 = { error: e_6_1 }; }
6762
6749
  finally {
6763
6750
  try {
6764
- 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);
6765
6752
  }
6766
6753
  finally { if (e_6) throw e_6.error; }
6767
6754
  }
@@ -6819,7 +6806,7 @@
6819
6806
  * Revalidate form controls that previously had errors or have new errors now.
6820
6807
  */
6821
6808
  MtnaWfManagerService.prototype._updateServerSideErrors = function () {
6822
- var e_7, _b, e_8, _c;
6809
+ var e_7, _c, e_8, _d;
6823
6810
  var _a;
6824
6811
  // Keep track of IDs for each control that needs to be revalidated
6825
6812
  var controlIdsToRevalidate = new Set();
@@ -6835,8 +6822,8 @@
6835
6822
  this._formItemValidationResults = {};
6836
6823
  if ((_a = this._mtnaForm) === null || _a === void 0 ? void 0 : _a.validationResult) {
6837
6824
  try {
6838
- for (var _d = __values(this._mtnaForm.validationResult.formItemValidationResults), _e = _d.next(); !_e.done; _e = _d.next()) {
6839
- 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;
6840
6827
  if (result.validationStatus === 'ERRORS') {
6841
6828
  // Store errors so that the validationResultValidator can validate each control
6842
6829
  this._formItemValidationResults[result.id] = result;
@@ -6848,7 +6835,7 @@
6848
6835
  catch (e_7_1) { e_7 = { error: e_7_1 }; }
6849
6836
  finally {
6850
6837
  try {
6851
- if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
6838
+ if (_f && !_f.done && (_c = _e.return)) _c.call(_e);
6852
6839
  }
6853
6840
  finally { if (e_7) throw e_7.error; }
6854
6841
  }
@@ -6868,7 +6855,7 @@
6868
6855
  catch (e_8_1) { e_8 = { error: e_8_1 }; }
6869
6856
  finally {
6870
6857
  try {
6871
- 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);
6872
6859
  }
6873
6860
  finally { if (e_8) throw e_8.error; }
6874
6861
  }
@@ -6908,11 +6895,15 @@
6908
6895
  type: i0.Injectable
6909
6896
  }] });
6910
6897
 
6911
- var MtnaTemplateTransformationService = /** @class */ (function () {
6912
- function MtnaTemplateTransformationService(apiConfig, http) {
6913
- this.apiConfig = apiConfig;
6914
- this.http = http;
6915
- 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;
6916
6907
  }
6917
6908
  MtnaTemplateTransformationService.prototype.convertTemplateToForm = function (request) {
6918
6909
  // return this.http.post<Form>(`${this.API_URL}/template/convert`, request);
@@ -6920,8 +6911,8 @@
6920
6911
  return rxjs.of(undefined);
6921
6912
  };
6922
6913
  return MtnaTemplateTransformationService;
6923
- }());
6924
- 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 });
6925
6916
  MtnaTemplateTransformationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, providedIn: 'root' });
6926
6917
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, decorators: [{
6927
6918
  type: i0.Injectable,
@@ -6929,8 +6920,8 @@
6929
6920
  }], ctorParameters: function () {
6930
6921
  return [{ type: undefined, decorators: [{
6931
6922
  type: i0.Inject,
6932
- args: [MTNA_WF_API_TOKEN]
6933
- }] }, { type: i1__namespace$3.HttpClient }];
6923
+ args: [i1$2.MTNA_API_CONFIG]
6924
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6934
6925
  } });
6935
6926
 
6936
6927
  var _BaseFormComponent = i1$2.mixinDestroyNotifier(/** @class */ (function () {
@@ -7404,7 +7395,7 @@
7404
7395
  return MtnaWfFormStepGroupComponent;
7405
7396
  }(_FormStepMixinBase));
7406
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 });
7407
- 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 });
7408
7399
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, decorators: [{
7409
7400
  type: i0.Component,
7410
7401
  args: [{
@@ -7501,7 +7492,7 @@
7501
7492
  return MtnaWfFormStepperComponent;
7502
7493
  }(_FormStepperMixinBase));
7503
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 });
7504
- 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 });
7505
7496
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, decorators: [{
7506
7497
  type: i0.Component,
7507
7498
  args: [{
@@ -7534,7 +7525,7 @@
7534
7525
  i1$2.MtnaStatusCircleModule,
7535
7526
  i3.MatRippleModule,
7536
7527
  i3$2.MatButtonModule,
7537
- i6$1.MatTooltipModule,
7528
+ i10.MatTooltipModule,
7538
7529
  i3$4.MatIconModule,
7539
7530
  MtnaWfFormStepGroupPipeModule,
7540
7531
  CoerceFormStepGroupPipeModule,
@@ -7548,7 +7539,7 @@
7548
7539
  i1$2.MtnaStatusCircleModule,
7549
7540
  i3.MatRippleModule,
7550
7541
  i3$2.MatButtonModule,
7551
- i6$1.MatTooltipModule,
7542
+ i10.MatTooltipModule,
7552
7543
  i3$4.MatIconModule,
7553
7544
  MtnaWfFormStepGroupPipeModule,
7554
7545
  CoerceFormStepGroupPipeModule,
@@ -7566,7 +7557,7 @@
7566
7557
  i1$2.MtnaStatusCircleModule,
7567
7558
  i3.MatRippleModule,
7568
7559
  i3$2.MatButtonModule,
7569
- i6$1.MatTooltipModule,
7560
+ i10.MatTooltipModule,
7570
7561
  i3$4.MatIconModule,
7571
7562
  MtnaWfFormStepGroupPipeModule,
7572
7563
  CoerceFormStepGroupPipeModule,
@@ -7601,6 +7592,9 @@
7601
7592
  enumerable: false,
7602
7593
  configurable: true
7603
7594
  });
7595
+ MtnaWfStepCardComponent.prototype.handleMouseEnter = function (event) {
7596
+ this.handleFocusChange('mouse');
7597
+ };
7604
7598
  Object.defineProperty(MtnaWfStepCardComponent.prototype, "step", {
7605
7599
  // @Input() step: FormStep | null | undefined;
7606
7600
  get: function () {
@@ -7620,7 +7614,7 @@
7620
7614
  return MtnaWfStepCardComponent;
7621
7615
  }(_StepCardMixinBase));
7622
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 });
7623
- 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 });
7624
7618
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, decorators: [{
7625
7619
  type: i0.Component,
7626
7620
  args: [{
@@ -7634,6 +7628,9 @@
7634
7628
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { active: [{
7635
7629
  type: i0.HostBinding,
7636
7630
  args: ['class.active']
7631
+ }], handleMouseEnter: [{
7632
+ type: i0.HostListener,
7633
+ args: ['mouseenter', ['$event']]
7637
7634
  }], step: [{
7638
7635
  type: i0.Input
7639
7636
  }], subtitle: [{
@@ -7868,7 +7865,7 @@
7868
7865
  return MtnaWfCheckboxComponent;
7869
7866
  }(MtnaWfBaseParentValueItem));
7870
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 });
7871
- 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 });
7872
7869
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, decorators: [{
7873
7870
  type: i0.Component,
7874
7871
  args: [{
@@ -7912,7 +7909,7 @@
7912
7909
  i2$5.MatCheckboxModule,
7913
7910
  i3$2.MatButtonModule,
7914
7911
  i3$4.MatIconModule,
7915
- i6$1.MatTooltipModule,
7912
+ i10.MatTooltipModule,
7916
7913
  MtnaWfFormItemModule,
7917
7914
  i1$2.MtnaHighlightModule,
7918
7915
  i6.ReactiveFormsModule,
@@ -7926,7 +7923,7 @@
7926
7923
  i2$5.MatCheckboxModule,
7927
7924
  i3$2.MatButtonModule,
7928
7925
  i3$4.MatIconModule,
7929
- i6$1.MatTooltipModule,
7926
+ i10.MatTooltipModule,
7930
7927
  MtnaWfFormItemModule,
7931
7928
  i1$2.MtnaHighlightModule,
7932
7929
  i6.ReactiveFormsModule,
@@ -7944,7 +7941,7 @@
7944
7941
  i2$5.MatCheckboxModule,
7945
7942
  i3$2.MatButtonModule,
7946
7943
  i3$4.MatIconModule,
7947
- i6$1.MatTooltipModule,
7944
+ i10.MatTooltipModule,
7948
7945
  MtnaWfFormItemModule,
7949
7946
  i1$2.MtnaHighlightModule,
7950
7947
  i6.ReactiveFormsModule,
@@ -8361,7 +8358,7 @@
8361
8358
  return MtnaWfFormGroupComponent;
8362
8359
  }(MtnaWfBaseGroupItem));
8363
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 });
8364
- 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 });
8365
8362
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, decorators: [{
8366
8363
  type: i0.Component,
8367
8364
  args: [{
@@ -8423,7 +8420,7 @@
8423
8420
  return MtnaWfFormSectionComponent;
8424
8421
  }(MtnaWfBaseSectionItem));
8425
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 });
8426
- 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 });
8427
8424
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, decorators: [{
8428
8425
  type: i0.Component,
8429
8426
  args: [{
@@ -8781,16 +8778,16 @@
8781
8778
  return _this;
8782
8779
  }
8783
8780
  MtnaWfRepeatableItemContainerComponent.prototype.addItem = function () {
8784
- 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'));
8785
8782
  };
8786
8783
  MtnaWfRepeatableItemContainerComponent.prototype.removeItem = function (item) {
8787
8784
  var conditionChanges = this.manager.generateConditionChangeArray(item, 'REMOVE');
8788
- 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));
8789
8786
  };
8790
8787
  return MtnaWfRepeatableItemContainerComponent;
8791
8788
  }(MtnaWfBaseParentValueItem));
8792
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 });
8793
- 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: [
8794
8791
  animations.trigger('repeatItemExpandCollapse', [
8795
8792
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
8796
8793
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
@@ -8831,9 +8828,8 @@
8831
8828
  i1$2.MtnaHighlightModule,
8832
8829
  i3$2.MatButtonModule,
8833
8830
  i3$4.MatIconModule,
8834
- i6$1.MatTooltipModule,
8831
+ i10.MatTooltipModule,
8835
8832
  i1$2.MtnaTrackByPropertyPipeModule,
8836
- MtnaWfCoerceFormItemPipeModule,
8837
8833
  i1$7.MatCardModule], exports: [MtnaWfRepeatableItemContainerComponent] });
8838
8834
  MtnaWfRepeatableItemContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, imports: [[
8839
8835
  i3$1.CommonModule,
@@ -8843,9 +8839,8 @@
8843
8839
  i1$2.MtnaHighlightModule,
8844
8840
  i3$2.MatButtonModule,
8845
8841
  i3$4.MatIconModule,
8846
- i6$1.MatTooltipModule,
8842
+ i10.MatTooltipModule,
8847
8843
  i1$2.MtnaTrackByPropertyPipeModule,
8848
- MtnaWfCoerceFormItemPipeModule,
8849
8844
  i1$7.MatCardModule,
8850
8845
  ]] });
8851
8846
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, decorators: [{
@@ -8859,9 +8854,8 @@
8859
8854
  i1$2.MtnaHighlightModule,
8860
8855
  i3$2.MatButtonModule,
8861
8856
  i3$4.MatIconModule,
8862
- i6$1.MatTooltipModule,
8857
+ i10.MatTooltipModule,
8863
8858
  i1$2.MtnaTrackByPropertyPipeModule,
8864
- MtnaWfCoerceFormItemPipeModule,
8865
8859
  i1$7.MatCardModule,
8866
8860
  ],
8867
8861
  declarations: [MtnaWfRepeatableItemContainerComponent],
@@ -10427,7 +10421,7 @@
10427
10421
  return MtnaWfCheckboxItemTemplateComponent;
10428
10422
  }(MtnaWfBaseTemplateOptionGroupItemComponent));
10429
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 });
10430
- 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 });
10431
10425
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateComponent, decorators: [{
10432
10426
  type: i0.Component,
10433
10427
  args: [{
@@ -10450,12 +10444,12 @@
10450
10444
  return MtnaWfCheckboxItemTemplateModule;
10451
10445
  }());
10452
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 });
10453
- 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] });
10454
- 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]] });
10455
10449
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxItemTemplateModule, decorators: [{
10456
10450
  type: i0.NgModule,
10457
10451
  args: [{
10458
- 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],
10459
10453
  declarations: [MtnaWfCheckboxItemTemplateComponent],
10460
10454
  exports: [MtnaWfCheckboxItemTemplateComponent],
10461
10455
  }]
@@ -11304,7 +11298,7 @@
11304
11298
  return MtnaWfRepeatableItemTemplateContainerComponent;
11305
11299
  }(MtnaWfBaseTemplateItemWithListComponent));
11306
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 });
11307
- 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: [
11308
11302
  animations.trigger('repeatItemExpandCollapse', [
11309
11303
  animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
11310
11304
  animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
@@ -11343,7 +11337,7 @@
11343
11337
  MtnaWfTemplateItemModule,
11344
11338
  i3$2.MatButtonModule,
11345
11339
  i3$4.MatIconModule,
11346
- i6$1.MatTooltipModule,
11340
+ i10.MatTooltipModule,
11347
11341
  i1$2.MtnaTrackByPropertyPipeModule,
11348
11342
  i1$7.MatCardModule], exports: [MtnaWfRepeatableItemTemplateContainerComponent] });
11349
11343
  MtnaWfRepeatableItemTemplateContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemTemplateContainerModule, imports: [[
@@ -11352,7 +11346,7 @@
11352
11346
  MtnaWfTemplateItemModule,
11353
11347
  i3$2.MatButtonModule,
11354
11348
  i3$4.MatIconModule,
11355
- i6$1.MatTooltipModule,
11349
+ i10.MatTooltipModule,
11356
11350
  i1$2.MtnaTrackByPropertyPipeModule,
11357
11351
  i1$7.MatCardModule,
11358
11352
  ]] });
@@ -11365,7 +11359,7 @@
11365
11359
  MtnaWfTemplateItemModule,
11366
11360
  i3$2.MatButtonModule,
11367
11361
  i3$4.MatIconModule,
11368
- i6$1.MatTooltipModule,
11362
+ i10.MatTooltipModule,
11369
11363
  i1$2.MtnaTrackByPropertyPipeModule,
11370
11364
  i1$7.MatCardModule,
11371
11365
  ],
@@ -11658,11 +11652,9 @@
11658
11652
  this.typeLoaded$ = this.store.select(templateDesignTypeLoaded);
11659
11653
  }
11660
11654
  TemplateFormFacade.prototype.getTemplateInstance = function (template) {
11661
- console.warn({ template: template });
11662
11655
  this.store.dispatch(getTemplateInstance({ template: template }));
11663
11656
  };
11664
11657
  TemplateFormFacade.prototype.getTemplateItemInstance = function (templateItem) {
11665
- console.warn({ templateItem: templateItem });
11666
11658
  this.store.dispatch(getTemplateItemInstance({ templateItem: templateItem }));
11667
11659
  };
11668
11660
  return TemplateFormFacade;
@@ -11948,7 +11940,7 @@
11948
11940
  this.templateFormFacade = templateFormFacade;
11949
11941
  this.contextSelected$ = this.designFacade.contextSelected$;
11950
11942
  this.focusedDesignId$ = this.designFacade.focusedDesignId$;
11951
- this.modifiedModel$ = this.designFacade.modifiedModel$.pipe(operators.tap(function (modifiedModel) { return console.warn('here'); }));
11943
+ this.modifiedModel$ = this.designFacade.modifiedModel$;
11952
11944
  this.previewLanguage$ = this.designFacade.previewLanguage$;
11953
11945
  this.loading$ = this.templateFormFacade.loading$;
11954
11946
  this.templateForm$ = this.templateFormFacade.templateForm$;
@@ -12062,7 +12054,7 @@
12062
12054
  return MtnaWfTemplateItemGroupComponent;
12063
12055
  }(MtnaWfBaseTemplateItemComponent));
12064
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 });
12065
- 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 });
12066
12058
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTemplateItemGroupComponent, decorators: [{
12067
12059
  type: i0.Component,
12068
12060
  args: [{
@@ -12169,15 +12161,35 @@
12169
12161
  }] });
12170
12162
  var templateObject_1;
12171
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
+
12172
12184
  var MTNA_WF_TEMPLATE_ITEM_INJECTED_COMPONENTS = [
12173
12185
  {
12174
12186
  key: webFormTs.BOOLEAN_ITEM_TEMPLATE_ID,
12175
12187
  component: MtnaWfBooleanItemTemplateComponent,
12176
12188
  },
12177
- // {
12178
- // key: BULLETED_LIST_ITEM_TEMPLATE_ID,
12179
- // component: MtnaWfUnorderedListItemTemplateComponent,
12180
- // },
12189
+ {
12190
+ key: webFormTs.BULLETED_LIST_ITEM_TEMPLATE_ID,
12191
+ component: MtnaWfUnorderedListItemTemplateComponent,
12192
+ },
12181
12193
  {
12182
12194
  key: webFormTs.CHECKBOX_ITEM_TEMPLATE_ID,
12183
12195
  component: MtnaWfCheckboxItemTemplateComponent,
@@ -12214,10 +12226,10 @@
12214
12226
  key: webFormTs.OFFSET_DATE_RANGE_ITEM_TEMPLATE_ID,
12215
12227
  component: MtnaWfOffsetDateRangeItemTemplateComponent,
12216
12228
  },
12217
- // {
12218
- // key: NUMBERED_LIST_ITEM_TEMPLATE_ID,
12219
- // component: MtnaWfOrderedListItemTemplateComponent,
12220
- // },
12229
+ {
12230
+ key: webFormTs.NUMBERED_LIST_ITEM_TEMPLATE_ID,
12231
+ component: MtnaWfOrderedListItemTemplateComponent,
12232
+ },
12221
12233
  {
12222
12234
  key: webFormTs.PARAGRAPH_ANSWER_ITEM_TEMPLATE_ID,
12223
12235
  component: MtnaWfParagraphAnswerItemTemplateComponent,
@@ -12357,26 +12369,6 @@
12357
12369
  }]
12358
12370
  }] });
12359
12371
 
12360
- var MtnaWfUnorderedListItemTemplateComponent = /** @class */ (function (_super) {
12361
- __extends(MtnaWfUnorderedListItemTemplateComponent, _super);
12362
- function MtnaWfUnorderedListItemTemplateComponent() {
12363
- return _super !== null && _super.apply(this, arguments) || this;
12364
- }
12365
- return MtnaWfUnorderedListItemTemplateComponent;
12366
- }(MtnaWfBaseTemplateItemComponent));
12367
- 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 });
12368
- 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 });
12369
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, decorators: [{
12370
- type: i0.Component,
12371
- args: [{
12372
- selector: 'mtna-wf-unordered-list-item-template',
12373
- templateUrl: './unordered-list-item.component.html',
12374
- styleUrls: ['./unordered-list-item.component.scss'],
12375
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
12376
- encapsulation: i0.ViewEncapsulation.None,
12377
- }]
12378
- }] });
12379
-
12380
12372
  var MtnaWfUnorderedListItemTemplateModule = /** @class */ (function () {
12381
12373
  function MtnaWfUnorderedListItemTemplateModule() {
12382
12374
  }
@@ -12481,7 +12473,6 @@
12481
12473
  exports.I18nTextResponseItemTemplateMapper = I18nTextResponseItemTemplateMapper;
12482
12474
  exports.ISO_8601_DATE_DISPLAY_VALUE = ISO_8601_DATE_DISPLAY_VALUE;
12483
12475
  exports.LONG_DATE_DISPLAY_VALUE = LONG_DATE_DISPLAY_VALUE;
12484
- exports.MTNA_WF_API_TOKEN = MTNA_WF_API_TOKEN;
12485
12476
  exports.MTNA_WF_DEFAULT_YEAR_RANGE = MTNA_WF_DEFAULT_YEAR_RANGE;
12486
12477
  exports.MTNA_WF_EXPAND_COLLAPSE = MTNA_WF_EXPAND_COLLAPSE;
12487
12478
  exports.MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME = MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME;
@@ -12519,8 +12510,6 @@
12519
12510
  exports.MtnaWfCoerceFormControlPipeModule = MtnaWfCoerceFormControlPipeModule;
12520
12511
  exports.MtnaWfCoerceFormGroupPipe = MtnaWfCoerceFormGroupPipe;
12521
12512
  exports.MtnaWfCoerceFormGroupPipeModule = MtnaWfCoerceFormGroupPipeModule;
12522
- exports.MtnaWfCoerceFormItemPipe = MtnaWfCoerceFormItemPipe;
12523
- exports.MtnaWfCoerceFormItemPipeModule = MtnaWfCoerceFormItemPipeModule;
12524
12513
  exports.MtnaWfDateComponent = MtnaWfDateComponent;
12525
12514
  exports.MtnaWfDateItemTemplateComponent = MtnaWfDateItemTemplateComponent;
12526
12515
  exports.MtnaWfDateItemTemplateModule = MtnaWfDateItemTemplateModule;