@mtna/web-form-angular 1.0.6-SNAPSHOT.2 → 1.0.6-SNAPSHOT.4

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.
@@ -1278,7 +1278,7 @@
1278
1278
  function isTemplateItemDesign(design) {
1279
1279
  switch (design.type) {
1280
1280
  case webFormTs.BOOLEAN_ITEM_TEMPLATE_ID:
1281
- // case BULLETED_LIST_ITEM_TEMPLATE_ID:
1281
+ case webFormTs.BULLETED_LIST_ITEM_TEMPLATE_ID:
1282
1282
  case webFormTs.CHECKBOX_GRID_TEMPLATE_ID:
1283
1283
  case webFormTs.CHECKBOX_ITEM_TEMPLATE_ID:
1284
1284
  case webFormTs.DATE_ITEM_TEMPLATE_ID:
@@ -1291,7 +1291,7 @@
1291
1291
  case webFormTs.LINEAR_SCALE_ITEM_TEMPLATE_ID:
1292
1292
  case webFormTs.MULTIPLE_CHOICE_GRID_ITEM_TEMPLATE_ID:
1293
1293
  case webFormTs.MULTIPLE_CHOICE_ITEM_TEMPLATE_ID:
1294
- // case NUMBERED_LIST_ITEM_TEMPLATE_ID:
1294
+ case webFormTs.NUMBERED_LIST_ITEM_TEMPLATE_ID:
1295
1295
  case webFormTs.OFFSET_DATE_RANGE_ITEM_TEMPLATE_ID:
1296
1296
  case webFormTs.PARAGRAPH_ANSWER_ITEM_TEMPLATE_ID:
1297
1297
  case webFormTs.REPEATABLE_ITEM_TEMPLATE_IMPL_ID:
@@ -1311,7 +1311,7 @@
1311
1311
  }
1312
1312
  function isTemplateItem(something) {
1313
1313
  return (webFormTs.instanceOfBooleanItemTemplate(something) ||
1314
- // instanceOfBulletedListItemTemplate(something) ||
1314
+ webFormTs.instanceOfBulletedListItemTemplate(something) ||
1315
1315
  webFormTs.instanceOfCheckboxGridTemplate(something) ||
1316
1316
  webFormTs.instanceOfCheckboxItemTemplate(something) ||
1317
1317
  webFormTs.instanceOfDateItemTemplate(something) ||
@@ -1324,7 +1324,7 @@
1324
1324
  webFormTs.instanceOfLinearScaleItemTemplate(something) ||
1325
1325
  webFormTs.instanceOfMultipleChoiceGridItemTemplate(something) ||
1326
1326
  webFormTs.instanceOfMultipleChoiceItemTemplate(something) ||
1327
- // instanceOfNumberedListItemTemplate(something) ||
1327
+ webFormTs.instanceOfNumberedListItemTemplate(something) ||
1328
1328
  webFormTs.instanceOfOffsetDateRangeTemplate(something) ||
1329
1329
  webFormTs.instanceOfParagraphAnswerItemTemplate(something) ||
1330
1330
  webFormTs.instanceOfRepeatableItemTemplate(something) ||
@@ -2551,7 +2551,6 @@
2551
2551
  };
2552
2552
  BulletedListItemTemplateMapper.prototype.getSectionItemBulletedList = function (item) {
2553
2553
  var properties = [];
2554
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2555
2554
  properties.push(designerTs.getI18nListDesignProperty(i18n_values, i18n_valuesInstructions, prop_item_values, i18n_listValue, i18n_newListValue, item.values));
2556
2555
  return { display: i18n_bulletedListConfiguration, properties: properties };
2557
2556
  };
@@ -2793,7 +2792,6 @@
2793
2792
  };
2794
2793
  NumberedListItemTemplateMapper.prototype.getSectionItemNumberedList = function (item) {
2795
2794
  var properties = [];
2796
- // TODO need to handle for repeated literals, add new type of REPEATED_STRING_I18N(?) and component to handle input
2797
2795
  properties.push(designerTs.getI18nListDesignProperty(i18n_items, i18n_templateItemsInstructions, prop_item_items, i18n_item, i18n_newItem, item.items));
2798
2796
  return { display: i18n_numberedListConfiguration, properties: properties };
2799
2797
  };
@@ -3266,8 +3264,6 @@
3266
3264
  return coreTs.isType(something, 'className') && something.className === 'FormStep';
3267
3265
  }
3268
3266
 
3269
- var MTNA_WF_API_TOKEN = new i0.InjectionToken('mtnaWfApiConfig');
3270
-
3271
3267
  var CUSTOM_MAT_DATE_FORMAT = {
3272
3268
  parse: {
3273
3269
  dateInput: 'YYYY/MM/DD',
@@ -6022,20 +6018,24 @@
6022
6018
  }]
6023
6019
  }] });
6024
6020
 
6025
- var MtnaWfApiService = /** @class */ (function () {
6026
- function MtnaWfApiService(apiConfig, http) {
6027
- this.apiConfig = apiConfig;
6028
- this.http = http;
6029
- this.API_URL = this.apiConfig.baseUrl + "/api";
6030
- this.FORM_URL = this.API_URL + "/form";
6031
- this.TEMPLATE_URL = this.API_URL + "/template";
6032
- this.NEW_TEMPLATE_URL = this.TEMPLATE_URL + "/new";
6033
- this.NEW_SECTION_URL = this.TEMPLATE_URL + "/section";
6034
- this.ITEMS_URL = this.TEMPLATE_URL + "/items";
6035
- this.ITEM_INSTANCE_URL = this.TEMPLATE_URL + "/item";
6036
- this.TEMPLATE_SAVE_URL = this.TEMPLATE_URL + "/save";
6037
- this.TEMPLATE_DELETE_URL = this.TEMPLATE_URL + "/delete";
6038
- this.ALL_TEMPLATES_URL = this.API_URL + "/templates";
6021
+ var MtnaWfApiService = /** @class */ (function (_super) {
6022
+ __extends(MtnaWfApiService, _super);
6023
+ function MtnaWfApiService(apiConfig, http, logger) {
6024
+ var _this = _super.call(this, apiConfig, http, logger) || this;
6025
+ _this.apiConfig = apiConfig;
6026
+ _this.http = http;
6027
+ _this.logger = logger;
6028
+ _this.API_URL = "" + _this.BASE_URL;
6029
+ _this.FORM_URL = _this.API_URL + "/form";
6030
+ _this.TEMPLATE_URL = _this.API_URL + "/template";
6031
+ _this.NEW_TEMPLATE_URL = _this.TEMPLATE_URL + "/new";
6032
+ _this.NEW_SECTION_URL = _this.TEMPLATE_URL + "/section";
6033
+ _this.ITEMS_URL = _this.TEMPLATE_URL + "/items";
6034
+ _this.ITEM_INSTANCE_URL = _this.TEMPLATE_URL + "/item";
6035
+ _this.TEMPLATE_SAVE_URL = _this.TEMPLATE_URL + "/save";
6036
+ _this.TEMPLATE_DELETE_URL = _this.TEMPLATE_URL + "/delete";
6037
+ _this.ALL_TEMPLATES_URL = _this.API_URL + "/templates";
6038
+ return _this;
6039
6039
  }
6040
6040
  /**
6041
6041
  * Download a web form
@@ -6081,8 +6081,8 @@
6081
6081
  return this.http.post(this.ITEM_INSTANCE_URL + "/convert", templateItem);
6082
6082
  };
6083
6083
  return MtnaWfApiService;
6084
- }());
6085
- 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 });
6084
+ }(i1$2.BaseUrlService));
6085
+ 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 });
6086
6086
  MtnaWfApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, providedIn: 'root' });
6087
6087
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfApiService, decorators: [{
6088
6088
  type: i0.Injectable,
@@ -6090,8 +6090,8 @@
6090
6090
  }], ctorParameters: function () {
6091
6091
  return [{ type: undefined, decorators: [{
6092
6092
  type: i0.Inject,
6093
- args: [MTNA_WF_API_TOKEN]
6094
- }] }, { type: i1__namespace$3.HttpClient }];
6093
+ args: [i1$2.MTNA_API_CONFIG]
6094
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6095
6095
  } });
6096
6096
 
6097
6097
  /**
@@ -6914,11 +6914,15 @@
6914
6914
  type: i0.Injectable
6915
6915
  }] });
6916
6916
 
6917
- var MtnaTemplateTransformationService = /** @class */ (function () {
6918
- function MtnaTemplateTransformationService(apiConfig, http) {
6919
- this.apiConfig = apiConfig;
6920
- this.http = http;
6921
- this.API_URL = this.apiConfig.baseUrl + "/api";
6917
+ var MtnaTemplateTransformationService = /** @class */ (function (_super) {
6918
+ __extends(MtnaTemplateTransformationService, _super);
6919
+ function MtnaTemplateTransformationService(apiConfig, http, logger) {
6920
+ var _this = _super.call(this, apiConfig, http, logger) || this;
6921
+ _this.apiConfig = apiConfig;
6922
+ _this.http = http;
6923
+ _this.logger = logger;
6924
+ _this.API_URL = "" + _this.BASE_URL;
6925
+ return _this;
6922
6926
  }
6923
6927
  MtnaTemplateTransformationService.prototype.convertTemplateToForm = function (request) {
6924
6928
  // return this.http.post<Form>(`${this.API_URL}/template/convert`, request);
@@ -6926,8 +6930,8 @@
6926
6930
  return rxjs.of(undefined);
6927
6931
  };
6928
6932
  return MtnaTemplateTransformationService;
6929
- }());
6930
- 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 });
6933
+ }(i1$2.BaseUrlService));
6934
+ 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 });
6931
6935
  MtnaTemplateTransformationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, providedIn: 'root' });
6932
6936
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaTemplateTransformationService, decorators: [{
6933
6937
  type: i0.Injectable,
@@ -6935,8 +6939,8 @@
6935
6939
  }], ctorParameters: function () {
6936
6940
  return [{ type: undefined, decorators: [{
6937
6941
  type: i0.Inject,
6938
- args: [MTNA_WF_API_TOKEN]
6939
- }] }, { type: i1__namespace$3.HttpClient }];
6942
+ args: [i1$2.MTNA_API_CONFIG]
6943
+ }] }, { type: i1__namespace$3.HttpClient }, { type: i1__namespace$1.MtnaLogger }];
6940
6944
  } });
6941
6945
 
6942
6946
  var _BaseFormComponent = i1$2.mixinDestroyNotifier(/** @class */ (function () {
@@ -7607,6 +7611,9 @@
7607
7611
  enumerable: false,
7608
7612
  configurable: true
7609
7613
  });
7614
+ MtnaWfStepCardComponent.prototype.handleMouseEnter = function (event) {
7615
+ this.handleFocusChange('mouse');
7616
+ };
7610
7617
  Object.defineProperty(MtnaWfStepCardComponent.prototype, "step", {
7611
7618
  // @Input() step: FormStep | null | undefined;
7612
7619
  get: function () {
@@ -7626,7 +7633,7 @@
7626
7633
  return MtnaWfStepCardComponent;
7627
7634
  }(_StepCardMixinBase));
7628
7635
  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 });
7629
- 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 });
7636
+ 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 });
7630
7637
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, decorators: [{
7631
7638
  type: i0.Component,
7632
7639
  args: [{
@@ -7640,6 +7647,9 @@
7640
7647
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { active: [{
7641
7648
  type: i0.HostBinding,
7642
7649
  args: ['class.active']
7650
+ }], handleMouseEnter: [{
7651
+ type: i0.HostListener,
7652
+ args: ['mouseenter', ['$event']]
7643
7653
  }], step: [{
7644
7654
  type: i0.Input
7645
7655
  }], subtitle: [{
@@ -12173,15 +12183,35 @@
12173
12183
  }] });
12174
12184
  var templateObject_1;
12175
12185
 
12186
+ var MtnaWfUnorderedListItemTemplateComponent = /** @class */ (function (_super) {
12187
+ __extends(MtnaWfUnorderedListItemTemplateComponent, _super);
12188
+ function MtnaWfUnorderedListItemTemplateComponent() {
12189
+ return _super !== null && _super.apply(this, arguments) || this;
12190
+ }
12191
+ return MtnaWfUnorderedListItemTemplateComponent;
12192
+ }(MtnaWfBaseTemplateItemComponent));
12193
+ 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 });
12194
+ 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 });
12195
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, decorators: [{
12196
+ type: i0.Component,
12197
+ args: [{
12198
+ selector: 'mtna-wf-unordered-list-item-template',
12199
+ templateUrl: './unordered-list-item.component.html',
12200
+ styleUrls: ['./unordered-list-item.component.scss'],
12201
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
12202
+ encapsulation: i0.ViewEncapsulation.None,
12203
+ }]
12204
+ }] });
12205
+
12176
12206
  var MTNA_WF_TEMPLATE_ITEM_INJECTED_COMPONENTS = [
12177
12207
  {
12178
12208
  key: webFormTs.BOOLEAN_ITEM_TEMPLATE_ID,
12179
12209
  component: MtnaWfBooleanItemTemplateComponent,
12180
12210
  },
12181
- // {
12182
- // key: BULLETED_LIST_ITEM_TEMPLATE_ID,
12183
- // component: MtnaWfUnorderedListItemTemplateComponent,
12184
- // },
12211
+ {
12212
+ key: webFormTs.BULLETED_LIST_ITEM_TEMPLATE_ID,
12213
+ component: MtnaWfUnorderedListItemTemplateComponent,
12214
+ },
12185
12215
  {
12186
12216
  key: webFormTs.CHECKBOX_ITEM_TEMPLATE_ID,
12187
12217
  component: MtnaWfCheckboxItemTemplateComponent,
@@ -12218,10 +12248,10 @@
12218
12248
  key: webFormTs.OFFSET_DATE_RANGE_ITEM_TEMPLATE_ID,
12219
12249
  component: MtnaWfOffsetDateRangeItemTemplateComponent,
12220
12250
  },
12221
- // {
12222
- // key: NUMBERED_LIST_ITEM_TEMPLATE_ID,
12223
- // component: MtnaWfOrderedListItemTemplateComponent,
12224
- // },
12251
+ {
12252
+ key: webFormTs.NUMBERED_LIST_ITEM_TEMPLATE_ID,
12253
+ component: MtnaWfOrderedListItemTemplateComponent,
12254
+ },
12225
12255
  {
12226
12256
  key: webFormTs.PARAGRAPH_ANSWER_ITEM_TEMPLATE_ID,
12227
12257
  component: MtnaWfParagraphAnswerItemTemplateComponent,
@@ -12361,26 +12391,6 @@
12361
12391
  }]
12362
12392
  }] });
12363
12393
 
12364
- var MtnaWfUnorderedListItemTemplateComponent = /** @class */ (function (_super) {
12365
- __extends(MtnaWfUnorderedListItemTemplateComponent, _super);
12366
- function MtnaWfUnorderedListItemTemplateComponent() {
12367
- return _super !== null && _super.apply(this, arguments) || this;
12368
- }
12369
- return MtnaWfUnorderedListItemTemplateComponent;
12370
- }(MtnaWfBaseTemplateItemComponent));
12371
- 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 });
12372
- 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 });
12373
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemTemplateComponent, decorators: [{
12374
- type: i0.Component,
12375
- args: [{
12376
- selector: 'mtna-wf-unordered-list-item-template',
12377
- templateUrl: './unordered-list-item.component.html',
12378
- styleUrls: ['./unordered-list-item.component.scss'],
12379
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
12380
- encapsulation: i0.ViewEncapsulation.None,
12381
- }]
12382
- }] });
12383
-
12384
12394
  var MtnaWfUnorderedListItemTemplateModule = /** @class */ (function () {
12385
12395
  function MtnaWfUnorderedListItemTemplateModule() {
12386
12396
  }
@@ -12485,7 +12495,6 @@
12485
12495
  exports.I18nTextResponseItemTemplateMapper = I18nTextResponseItemTemplateMapper;
12486
12496
  exports.ISO_8601_DATE_DISPLAY_VALUE = ISO_8601_DATE_DISPLAY_VALUE;
12487
12497
  exports.LONG_DATE_DISPLAY_VALUE = LONG_DATE_DISPLAY_VALUE;
12488
- exports.MTNA_WF_API_TOKEN = MTNA_WF_API_TOKEN;
12489
12498
  exports.MTNA_WF_DEFAULT_YEAR_RANGE = MTNA_WF_DEFAULT_YEAR_RANGE;
12490
12499
  exports.MTNA_WF_EXPAND_COLLAPSE = MTNA_WF_EXPAND_COLLAPSE;
12491
12500
  exports.MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME = MTNA_WF_FORM_ITEM_VALIDATION_RESULT_ERROR_NAME;