@mtna/web-form-angular 1.0.2-SNAPSHOT.1 → 1.0.2-SNAPSHOT.2
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.
- package/_index.scss +1 -0
- package/bundles/mtna-web-form-angular.umd.js +391 -270
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/base-items/base-form-item-control.component.js +7 -5
- package/esm2015/lib/components/base-items/base-form-item.component.js +8 -5
- package/esm2015/lib/components/base-items/base-group-item.component.js +2 -1
- package/esm2015/lib/components/base-items/base-parent-value-item.component.js +2 -1
- package/esm2015/lib/components/base-items/base-section-item.component.js +2 -1
- package/esm2015/lib/components/base-items/base-single-selection-parent-value-item.component.js +4 -6
- package/esm2015/lib/components/base-items/base-value-item.component.js +2 -1
- package/esm2015/lib/components/form/form.component.js +1 -1
- package/esm2015/lib/components/form-item/form-item.component.js +7 -3
- package/esm2015/lib/components/form-item/form-item.module.js +26 -6
- package/esm2015/lib/components/form-item-impl/boolean/boolean.component.js +7 -6
- package/esm2015/lib/components/form-item-impl/boolean/boolean.module.js +28 -5
- package/esm2015/lib/components/form-item-impl/checkbox/checkbox.component.js +6 -7
- package/esm2015/lib/components/form-item-impl/checkbox/checkbox.module.js +7 -3
- package/esm2015/lib/components/form-item-impl/date/date.component.js +6 -6
- package/esm2015/lib/components/form-item-impl/date/date.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/date-range/date-range.component.js +2 -2
- package/esm2015/lib/components/form-item-impl/date-range/date-range.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/dropdown/dropdown.component.js +2 -2
- package/esm2015/lib/components/form-item-impl/file-upload/file-upload.component.js +7 -7
- package/esm2015/lib/components/form-item-impl/form-group/form-group.component.js +3 -3
- package/esm2015/lib/components/form-item-impl/form-group/form-group.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/form-section/form-section.component.js +5 -4
- package/esm2015/lib/components/form-item-impl/form-section/form-section.module.js +6 -5
- package/esm2015/lib/components/form-item-impl/i18n-input/i18n-input.component.js +18 -13
- package/esm2015/lib/components/form-item-impl/input/input.component.js +22 -16
- package/esm2015/lib/components/form-item-impl/multiple-choice/multiple-choice.component.js +7 -6
- package/esm2015/lib/components/form-item-impl/multiple-choice/multiple-choice.module.js +7 -3
- package/esm2015/lib/components/form-item-impl/ordered-list/ordered-list-item.component.js +1 -1
- package/esm2015/lib/components/form-item-impl/ordered-list/ordered-list-item.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +9 -8
- package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.js +6 -2
- package/esm2015/lib/components/form-item-impl/search/resource-search.component.js +7 -7
- package/esm2015/lib/components/form-item-impl/table-item/table-item.component.js +2 -2
- package/esm2015/lib/components/form-item-impl/text/text.component.js +3 -2
- package/esm2015/lib/components/form-item-impl/text/text.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/title/title.component.js +3 -2
- package/esm2015/lib/components/form-item-impl/title/title.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/unordered-list/unordered-list-item.component.js +1 -1
- package/esm2015/lib/components/form-item-impl/unordered-list/unordered-list-item.module.js +2 -2
- package/esm2015/lib/components/form-item-impl/year-quarter/year-quarter.component.js +6 -6
- package/esm2015/lib/components/form-item-impl/year-quarter-range/year-quarter-range.component.js +3 -3
- package/esm2015/lib/components/form-item-impl/year-quarter-range/year-quarter-range.module.js +2 -2
- package/esm2015/lib/components/form-item-injector/form-item-injector.component.js +14 -9
- package/esm2015/lib/directives/base-form-item-control.directive.js +1 -2
- package/esm2015/lib/pipes/coerce-form-control.pipe.js +1 -3
- package/esm2015/lib/pipes/coerce-form-item.pipe.js +36 -0
- package/esm2015/lib/pipes/index.js +2 -1
- package/esm2015/lib/services/dialog.service.js +1 -2
- package/esm2015/lib/utilities/serializer-util.js +11 -6
- package/fesm2015/mtna-web-form-angular.js +259 -151
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/lib/components/base-items/base-form-item-control.component.d.ts +2 -0
- package/lib/components/base-items/base-form-item.component.d.ts +3 -1
- package/lib/components/base-items/base-single-selection-parent-value-item.component.d.ts +0 -1
- package/lib/components/base-items/base-value-item.component.d.ts +1 -2
- package/lib/components/form-item/form-item.component.d.ts +3 -2
- package/lib/components/form-item/form-item.module.d.ts +2 -1
- package/lib/components/form-item-impl/boolean/boolean.component.d.ts +2 -1
- package/lib/components/form-item-impl/boolean/boolean.module.d.ts +2 -1
- package/lib/components/form-item-impl/checkbox/checkbox.component.d.ts +2 -2
- package/lib/components/form-item-impl/checkbox/checkbox.module.d.ts +2 -1
- package/lib/components/form-item-impl/date/date.component.d.ts +2 -2
- package/lib/components/form-item-impl/date-range/date-range.component.d.ts +1 -1
- package/lib/components/form-item-impl/dropdown/dropdown.component.d.ts +1 -1
- package/lib/components/form-item-impl/file-upload/file-upload.component.d.ts +3 -3
- package/lib/components/form-item-impl/form-group/form-group.component.d.ts +1 -1
- package/lib/components/form-item-impl/form-section/form-section.module.d.ts +2 -1
- package/lib/components/form-item-impl/i18n-input/i18n-input.component.d.ts +5 -7
- package/lib/components/form-item-impl/input/input.component.d.ts +6 -8
- package/lib/components/form-item-impl/multiple-choice/multiple-choice.component.d.ts +1 -1
- package/lib/components/form-item-impl/multiple-choice/multiple-choice.module.d.ts +2 -1
- package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.d.ts +4 -3
- package/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.module.d.ts +2 -1
- package/lib/components/form-item-impl/search/resource-search.component.d.ts +3 -2
- package/lib/components/form-item-impl/table-item/table-item.component.d.ts +1 -1
- package/lib/components/form-item-impl/title/_title-theme.scss +28 -0
- package/lib/components/form-item-impl/year-quarter/year-quarter.component.d.ts +4 -4
- package/lib/components/form-item-injector/form-item-injector.component.d.ts +6 -2
- package/lib/core/_all-color.scss +2 -0
- package/lib/core/_all-theme.scss +2 -0
- package/lib/core/_all-typography.scss +2 -0
- package/lib/core/_core-theme.scss +0 -18
- package/lib/pipes/coerce-form-item.pipe.d.ts +14 -0
- package/lib/pipes/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/cdk/coercion'), require('@mtna/web-form-ts'), require('@angular/forms'), require('@mtna/core-ts'), require('@angular/material/core'), require('@angular/animations'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@mtna/web-form-angular', ['exports', '@angular/core', '@angular/material/dialog', '@angular/cdk/coercion', '@mtna/web-form-ts', '@angular/forms', '@mtna/core-ts', '@angular/material/core', '@angular/animations', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.mtna = global.mtna || {}, global.mtna["web-form-angular"] = {}), global.ng.core, global.ng.material.dialog, global.ng.cdk.coercion, global.webFormTs, global.ng.forms, global.coreTs, global.ng.material.core, global.ng.animations, global.
|
|
5
|
-
})(this, (function (exports, i0, i1, coercion, webFormTs, i6, coreTs, i3, animations,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/material/dialog'), require('@angular/cdk/coercion'), require('@mtna/web-form-ts'), require('rxjs'), require('@angular/forms'), require('@mtna/core-ts'), require('@angular/material/core'), require('@angular/animations'), require('@mtna/pojo-social-angular'), require('@mtna/core-angular'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/common'), require('@angular/platform-browser'), require('@angular/material/button'), require('@angular/material-moment-adapter'), require('rxjs/operators'), require('@angular/common/http'), require('@mtna/search-manager-angular'), require('@angular/cdk/a11y'), require('@angular/flex-layout'), require('@angular/material/divider'), require('@angular/material/icon'), require('@angular/material/tooltip'), require('@angular/flex-layout/flex'), require('@angular/material/card'), require('@angular/material/slide-toggle'), require('@angular/material/checkbox'), require('@angular/material/form-field'), require('@angular/material/datepicker'), require('@angular/material/input'), require('@angular/material/list'), require('@mtna/file-manager-angular'), require('@angular/material/progress-spinner'), require('@angular/flex-layout/extended'), require('@mtna/core-i18n-angular'), require('@angular/material/table')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@mtna/web-form-angular', ['exports', '@angular/core', '@angular/material/dialog', '@angular/cdk/coercion', '@mtna/web-form-ts', 'rxjs', '@angular/forms', '@mtna/core-ts', '@angular/material/core', '@angular/animations', '@mtna/pojo-social-angular', '@mtna/core-angular', '@angular/material/radio', '@angular/material/select', '@angular/common', '@angular/platform-browser', '@angular/material/button', '@angular/material-moment-adapter', 'rxjs/operators', '@angular/common/http', '@mtna/search-manager-angular', '@angular/cdk/a11y', '@angular/flex-layout', '@angular/material/divider', '@angular/material/icon', '@angular/material/tooltip', '@angular/flex-layout/flex', '@angular/material/card', '@angular/material/slide-toggle', '@angular/material/checkbox', '@angular/material/form-field', '@angular/material/datepicker', '@angular/material/input', '@angular/material/list', '@mtna/file-manager-angular', '@angular/material/progress-spinner', '@angular/flex-layout/extended', '@mtna/core-i18n-angular', '@angular/material/table'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.mtna = global.mtna || {}, global.mtna["web-form-angular"] = {}), global.ng.core, global.ng.material.dialog, global.ng.cdk.coercion, global.webFormTs, global.rxjs, global.ng.forms, global.coreTs, global.ng.material.core, global.ng.animations, global.i2$1, global.i1$1, global.ng.material.radio, global.ng.material.select, global.ng.common, global.ng.platformBrowser, global.ng.material.button, global.ng.materialMomentAdapter, global.rxjs.operators, global.ng.common.http, global.i1$5, global.ng.cdk.a11y, global.ng.flexLayout, global.ng.material.divider, global.ng.material.icon, global.ng.material.tooltip, global.ng.flexLayout.flex, global.ng.material.card, global.ng.material.slideToggle, global.ng.material.checkbox, global.ng.material.formField, global.ng.material.datepicker, global.ng.material.input, global.ng.material.list, global.i1$8, global.ng.material.progressSpinner, global.ng.flexLayout.extended, global.coreI18nAngular, global.ng.material.table));
|
|
5
|
+
})(this, (function (exports, i0, i1, coercion, webFormTs, rxjs, i6, coreTs, i3, animations, i2$1, i1$1, i1$2, i2, i3$1, i1$3, i3$2, materialMomentAdapter, operators, i1$4, i1$5, i4, flexLayout, i2$2, i5, i6$1, i3$3, i1$6, i2$3, i2$4, i1$7, i3$4, i5$1, i4$1, i1$8, i5$2, i6$2, coreI18nAngular, i1$9) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
27
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
28
|
-
var i3__namespace$
|
|
28
|
+
var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3);
|
|
29
29
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2$1);
|
|
30
30
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
31
31
|
var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
32
32
|
var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2);
|
|
33
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
34
|
-
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
35
33
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
|
|
34
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
35
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$2);
|
|
36
36
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
37
37
|
var i1__namespace$8 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
38
|
-
var i4__namespace
|
|
38
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
39
39
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
40
40
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
41
41
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
42
|
-
var i3__namespace$
|
|
42
|
+
var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$3);
|
|
43
43
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
44
44
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$3);
|
|
45
45
|
var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$4);
|
|
46
46
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$7);
|
|
47
|
-
var i3__namespace$
|
|
47
|
+
var i3__namespace$4 = /*#__PURE__*/_interopNamespace(i3$4);
|
|
48
48
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
49
|
-
var i4__namespace$
|
|
49
|
+
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
50
50
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$8);
|
|
51
51
|
var i5__namespace$2 = /*#__PURE__*/_interopNamespace(i5$2);
|
|
52
52
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
validators.push(i6.Validators.required);
|
|
628
628
|
}
|
|
629
629
|
switch (formItem.itemId) {
|
|
630
|
-
case webFormTs.CHECKBOX_ITEM_ID:
|
|
630
|
+
case webFormTs.CHECKBOX_ITEM_ID: {
|
|
631
631
|
var checkboxItem_1 = formItem;
|
|
632
632
|
var value_1 = checkboxItem_1.value || [];
|
|
633
633
|
validators.push(numCheckboxesValidator('MIN', checkboxItem_1.minSelections), numCheckboxesValidator('MAX', checkboxItem_1.maxSelections));
|
|
@@ -636,8 +636,9 @@
|
|
|
636
636
|
disabled: checkboxItem_1.disabled,
|
|
637
637
|
}); }), i6.Validators.compose(validators));
|
|
638
638
|
return arr;
|
|
639
|
+
}
|
|
639
640
|
case webFormTs.DECIMAL_ANSWER_ITEM_ID:
|
|
640
|
-
case webFormTs.WHOLE_NUMBER_ANSWER_ITEM_ID:
|
|
641
|
+
case webFormTs.WHOLE_NUMBER_ANSWER_ITEM_ID: {
|
|
641
642
|
var item = formItem;
|
|
642
643
|
validators.push(numericalValueCheck());
|
|
643
644
|
if (webFormTs.isWholeNumberItem(item)) {
|
|
@@ -653,14 +654,16 @@
|
|
|
653
654
|
validators.push(numValueLimit('max', item.maxValue));
|
|
654
655
|
}
|
|
655
656
|
break;
|
|
657
|
+
}
|
|
656
658
|
case webFormTs.PARAGRAPH_ANSWER_ITEM_ID:
|
|
657
|
-
case webFormTs.SHORT_ANSWER_ITEM_ID:
|
|
659
|
+
case webFormTs.SHORT_ANSWER_ITEM_ID: {
|
|
658
660
|
var shortAnswerItem = formItem;
|
|
659
661
|
validators.push.apply(validators, __spreadArray([], __read(getNumericValidator('minLength', shortAnswerItem.minCharCount))));
|
|
660
662
|
validators.push.apply(validators, __spreadArray([], __read(getNumericValidator('maxLength', shortAnswerItem.maxCharCount))));
|
|
661
663
|
break;
|
|
664
|
+
}
|
|
662
665
|
case webFormTs.I18N_PARAGRAPH_ANSWER_ITEM_ID:
|
|
663
|
-
case webFormTs.I18N_SHORT_ANSWER_ITEM_ID:
|
|
666
|
+
case webFormTs.I18N_SHORT_ANSWER_ITEM_ID: {
|
|
664
667
|
var i18nItem = formItem;
|
|
665
668
|
var group = new i6.FormGroup({}, i6.Validators.compose(validators));
|
|
666
669
|
try {
|
|
@@ -681,6 +684,7 @@
|
|
|
681
684
|
group.disable({ onlySelf: true, emitEvent: false });
|
|
682
685
|
}
|
|
683
686
|
return group;
|
|
687
|
+
}
|
|
684
688
|
default:
|
|
685
689
|
break;
|
|
686
690
|
}
|
|
@@ -896,7 +900,7 @@
|
|
|
896
900
|
}
|
|
897
901
|
return [];
|
|
898
902
|
case 'INTERNATIONALIZEDPARAGRAPHANSWERITEM':
|
|
899
|
-
case 'INTERNATIONALIZEDSHORTANSWERITEM':
|
|
903
|
+
case 'INTERNATIONALIZEDSHORTANSWERITEM': {
|
|
900
904
|
var languages = (itemId === null || itemId === void 0 ? void 0 : itemId.toUpperCase()) === 'INTERNATIONALIZEDPARAGRAPHANSWERITEM'
|
|
901
905
|
? formItem.languageTags
|
|
902
906
|
: formItem.languageTags;
|
|
@@ -910,6 +914,7 @@
|
|
|
910
914
|
return value;
|
|
911
915
|
}, []);
|
|
912
916
|
return value;
|
|
917
|
+
}
|
|
913
918
|
default:
|
|
914
919
|
return ngFormValue;
|
|
915
920
|
}
|
|
@@ -1671,10 +1676,12 @@
|
|
|
1671
1676
|
}
|
|
1672
1677
|
return class_1;
|
|
1673
1678
|
}()));
|
|
1679
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1674
1680
|
var MtnaWfBaseFormItem = /** @class */ (function (_super) {
|
|
1675
1681
|
__extends(MtnaWfBaseFormItem, _super);
|
|
1676
|
-
function MtnaWfBaseFormItem() {
|
|
1677
|
-
var _this = _super.
|
|
1682
|
+
function MtnaWfBaseFormItem(cdr) {
|
|
1683
|
+
var _this = _super.call(this) || this;
|
|
1684
|
+
_this.cdr = cdr;
|
|
1678
1685
|
_this._header = null;
|
|
1679
1686
|
_this._indicatorStatus = 'INACTIVE';
|
|
1680
1687
|
return _this;
|
|
@@ -1695,6 +1702,7 @@
|
|
|
1695
1702
|
},
|
|
1696
1703
|
set: function (value) {
|
|
1697
1704
|
this._indicatorStatus = value;
|
|
1705
|
+
this.cdr.markForCheck();
|
|
1698
1706
|
},
|
|
1699
1707
|
enumerable: false,
|
|
1700
1708
|
configurable: true
|
|
@@ -1718,14 +1726,14 @@
|
|
|
1718
1726
|
});
|
|
1719
1727
|
return MtnaWfBaseFormItem;
|
|
1720
1728
|
}(_BaseFormItemComponent));
|
|
1721
|
-
MtnaWfBaseFormItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, deps:
|
|
1729
|
+
MtnaWfBaseFormItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1722
1730
|
MtnaWfBaseFormItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseFormItem, selector: "ng-component", inputs: { color: "color", header: "header", indicatorStatus: "indicatorStatus", item: "item" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
|
|
1723
1731
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItem, decorators: [{
|
|
1724
1732
|
type: i0.Component,
|
|
1725
1733
|
args: [{
|
|
1726
1734
|
template: "",
|
|
1727
1735
|
}]
|
|
1728
|
-
}], propDecorators: { color: [{
|
|
1736
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { color: [{
|
|
1729
1737
|
type: i0.Input
|
|
1730
1738
|
}], header: [{
|
|
1731
1739
|
type: i0.Input
|
|
@@ -1735,10 +1743,11 @@
|
|
|
1735
1743
|
type: i0.Input
|
|
1736
1744
|
}] } });
|
|
1737
1745
|
|
|
1746
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1738
1747
|
var MtnaWfBaseFormItemControl = /** @class */ (function (_super) {
|
|
1739
1748
|
__extends(MtnaWfBaseFormItemControl, _super);
|
|
1740
|
-
function MtnaWfBaseFormItemControl() {
|
|
1741
|
-
var _this = _super.
|
|
1749
|
+
function MtnaWfBaseFormItemControl(cdr) {
|
|
1750
|
+
var _this = _super.call(this, cdr) || this;
|
|
1742
1751
|
_this._readonly = false;
|
|
1743
1752
|
return _this;
|
|
1744
1753
|
}
|
|
@@ -1758,6 +1767,7 @@
|
|
|
1758
1767
|
},
|
|
1759
1768
|
set: function (value) {
|
|
1760
1769
|
this._readonly = coercion.coerceBooleanProperty(value);
|
|
1770
|
+
this.cdr.markForCheck();
|
|
1761
1771
|
},
|
|
1762
1772
|
enumerable: false,
|
|
1763
1773
|
configurable: true
|
|
@@ -1769,19 +1779,20 @@
|
|
|
1769
1779
|
};
|
|
1770
1780
|
return MtnaWfBaseFormItemControl;
|
|
1771
1781
|
}(MtnaWfBaseFormItem));
|
|
1772
|
-
MtnaWfBaseFormItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, deps:
|
|
1782
|
+
MtnaWfBaseFormItemControl.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1773
1783
|
MtnaWfBaseFormItemControl.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseFormItemControl, selector: "ng-component", inputs: { control: "control", readonly: "readonly" }, usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
|
|
1774
1784
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseFormItemControl, decorators: [{
|
|
1775
1785
|
type: i0.Component,
|
|
1776
1786
|
args: [{
|
|
1777
1787
|
template: "",
|
|
1778
1788
|
}]
|
|
1779
|
-
}], propDecorators: { control: [{
|
|
1789
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { control: [{
|
|
1780
1790
|
type: i0.Input
|
|
1781
1791
|
}], readonly: [{
|
|
1782
1792
|
type: i0.Input
|
|
1783
1793
|
}] } });
|
|
1784
1794
|
|
|
1795
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1785
1796
|
var MtnaWfBaseGroupItem = /** @class */ (function (_super) {
|
|
1786
1797
|
__extends(MtnaWfBaseGroupItem, _super);
|
|
1787
1798
|
function MtnaWfBaseGroupItem() {
|
|
@@ -1815,6 +1826,7 @@
|
|
|
1815
1826
|
type: i0.Input
|
|
1816
1827
|
}] } });
|
|
1817
1828
|
|
|
1829
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1818
1830
|
var MtnaWfBaseValueItem = /** @class */ (function (_super) {
|
|
1819
1831
|
__extends(MtnaWfBaseValueItem, _super);
|
|
1820
1832
|
function MtnaWfBaseValueItem() {
|
|
@@ -1863,6 +1875,7 @@
|
|
|
1863
1875
|
args: ['class.read-only']
|
|
1864
1876
|
}] } });
|
|
1865
1877
|
|
|
1878
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1866
1879
|
var MtnaWfBaseParentValueItem = /** @class */ (function (_super) {
|
|
1867
1880
|
__extends(MtnaWfBaseParentValueItem, _super);
|
|
1868
1881
|
function MtnaWfBaseParentValueItem() {
|
|
@@ -1912,6 +1925,7 @@
|
|
|
1912
1925
|
type: i0.Output
|
|
1913
1926
|
}] } });
|
|
1914
1927
|
|
|
1928
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1915
1929
|
var MtnaWfBaseSectionItem = /** @class */ (function (_super) {
|
|
1916
1930
|
__extends(MtnaWfBaseSectionItem, _super);
|
|
1917
1931
|
function MtnaWfBaseSectionItem() {
|
|
@@ -1944,10 +1958,11 @@
|
|
|
1944
1958
|
type: i0.Output
|
|
1945
1959
|
}] } });
|
|
1946
1960
|
|
|
1961
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
1947
1962
|
var MtnaWfBaseSingleSelectionParentValueItem = /** @class */ (function (_super) {
|
|
1948
1963
|
__extends(MtnaWfBaseSingleSelectionParentValueItem, _super);
|
|
1949
1964
|
function MtnaWfBaseSingleSelectionParentValueItem() {
|
|
1950
|
-
return _super.
|
|
1965
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1951
1966
|
}
|
|
1952
1967
|
MtnaWfBaseSingleSelectionParentValueItem.prototype.ngOnInit = function () {
|
|
1953
1968
|
var _this = this;
|
|
@@ -1996,16 +2011,16 @@
|
|
|
1996
2011
|
};
|
|
1997
2012
|
return MtnaWfBaseSingleSelectionParentValueItem;
|
|
1998
2013
|
}(MtnaWfBaseParentValueItem));
|
|
1999
|
-
MtnaWfBaseSingleSelectionParentValueItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, deps:
|
|
2014
|
+
MtnaWfBaseSingleSelectionParentValueItem.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2000
2015
|
MtnaWfBaseSingleSelectionParentValueItem.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBaseSingleSelectionParentValueItem, selector: "ng-component", usesInheritance: true, ngImport: i0__namespace, template: "", isInline: true });
|
|
2001
2016
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBaseSingleSelectionParentValueItem, decorators: [{
|
|
2002
2017
|
type: i0.Component,
|
|
2003
2018
|
args: [{
|
|
2004
2019
|
template: "",
|
|
2005
2020
|
}]
|
|
2006
|
-
}]
|
|
2021
|
+
}] });
|
|
2007
2022
|
|
|
2008
|
-
|
|
2023
|
+
/* eslint-disable-next-line @angular-eslint/component-class-suffix */
|
|
2009
2024
|
var MtnaWfItemInjector = /** @class */ (function (_super) {
|
|
2010
2025
|
__extends(MtnaWfItemInjector, _super);
|
|
2011
2026
|
function MtnaWfItemInjector(injector, cfr, vcr, injectionService) {
|
|
@@ -2015,10 +2030,10 @@
|
|
|
2015
2030
|
_this.vcr = vcr;
|
|
2016
2031
|
_this.injectionService = injectionService;
|
|
2017
2032
|
_this._header = null;
|
|
2018
|
-
_this._indicatorStatus = 'INACTIVE';
|
|
2033
|
+
_this._indicatorStatus = new rxjs.BehaviorSubject('INACTIVE');
|
|
2019
2034
|
_this._inList = false;
|
|
2020
2035
|
_this._parentIds = new Array();
|
|
2021
|
-
_this._readonly = false;
|
|
2036
|
+
_this._readonly = new rxjs.BehaviorSubject(false);
|
|
2022
2037
|
_this.focusedSection = new i0.EventEmitter();
|
|
2023
2038
|
_this.toggleFormItems = new i0.EventEmitter();
|
|
2024
2039
|
return _this;
|
|
@@ -2045,10 +2060,10 @@
|
|
|
2045
2060
|
});
|
|
2046
2061
|
Object.defineProperty(MtnaWfItemInjector.prototype, "indicatorStatus", {
|
|
2047
2062
|
get: function () {
|
|
2048
|
-
return this._indicatorStatus;
|
|
2063
|
+
return this._indicatorStatus.value;
|
|
2049
2064
|
},
|
|
2050
2065
|
set: function (value) {
|
|
2051
|
-
this._indicatorStatus
|
|
2066
|
+
this._indicatorStatus.next(value);
|
|
2052
2067
|
},
|
|
2053
2068
|
enumerable: false,
|
|
2054
2069
|
configurable: true
|
|
@@ -2085,10 +2100,10 @@
|
|
|
2085
2100
|
});
|
|
2086
2101
|
Object.defineProperty(MtnaWfItemInjector.prototype, "readonly", {
|
|
2087
2102
|
get: function () {
|
|
2088
|
-
return this._readonly;
|
|
2103
|
+
return this._readonly.value;
|
|
2089
2104
|
},
|
|
2090
2105
|
set: function (value) {
|
|
2091
|
-
this._readonly
|
|
2106
|
+
this._readonly.next(coercion.coerceBooleanProperty(value));
|
|
2092
2107
|
},
|
|
2093
2108
|
enumerable: false,
|
|
2094
2109
|
configurable: true
|
|
@@ -2112,7 +2127,11 @@
|
|
|
2112
2127
|
var _this = this;
|
|
2113
2128
|
this.wfItemComponent = componentRef.instance;
|
|
2114
2129
|
this.wfItemComponent.header = this.header;
|
|
2115
|
-
this.
|
|
2130
|
+
this._indicatorStatus.subscribe(function (status) {
|
|
2131
|
+
if (_this.wfItemComponent) {
|
|
2132
|
+
_this.wfItemComponent.indicatorStatus = status;
|
|
2133
|
+
}
|
|
2134
|
+
});
|
|
2116
2135
|
this.wfItemComponent.item = this.item;
|
|
2117
2136
|
this.wfItemComponent.color = this.color;
|
|
2118
2137
|
if (this.wfItemComponent instanceof MtnaWfBaseFormItemControl) {
|
|
@@ -2278,7 +2297,7 @@
|
|
|
2278
2297
|
return MtnaWfItemHeaderComponent;
|
|
2279
2298
|
}());
|
|
2280
2299
|
MtnaWfItemHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2281
|
-
MtnaWfItemHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: { descriptiveText: "descriptiveText", disabled: "disabled", hideRequiredMarker: "hideRequiredMarker", invalid: "invalid", questionText: "questionText", required: "required" }, host: { properties: { "class.mtna-wf-item-header": "this.itemHeaderClass" } }, ngImport: i0__namespace, template: "<h3\n *ngIf=\"!!questionText\"\n class=\"mtna-wf-item-question\"\n [class.invalid]=\"invalid\"\n [innerHTML]=\"questionText + (required && !disabled && !hideRequiredMarker ? _requiredHtml : '') | mtnaWfSanitizeHtml\"\n></h3>\n<p *ngIf=\"!!descriptiveText\" class=\"mtna-wf-item-description\" [innerHTML]=\"descriptiveText | mtnaWfSanitizeHtml\"></p>\n", styles: [".mtna-wf-item-header{display:block;margin-bottom:.5rem}.mtna-wf-item-header .mtna-wf-item-question,.mtna-wf-item-description{margin:0;font-size:.9rem;line-height:1.6}.mtna-wf-item-header .mtna-wf-item-description{opacity:.56}mtna-annotations-indicator+mtna-wf-repeatable-item-container>mtna-wf-item-header,mtna-annotations-indicator+mtna-wf-value-item>mtna-wf-input-item>mtna-wf-item-header{padding-right:24px}\n"], directives: [{ type:
|
|
2300
|
+
MtnaWfItemHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: { descriptiveText: "descriptiveText", disabled: "disabled", hideRequiredMarker: "hideRequiredMarker", invalid: "invalid", questionText: "questionText", required: "required" }, host: { properties: { "class.mtna-wf-item-header": "this.itemHeaderClass" } }, ngImport: i0__namespace, template: "<h3\n *ngIf=\"!!questionText\"\n class=\"mtna-wf-item-question\"\n [class.invalid]=\"invalid\"\n [innerHTML]=\"questionText + (required && !disabled && !hideRequiredMarker ? _requiredHtml : '') | mtnaWfSanitizeHtml\"\n></h3>\n<p *ngIf=\"!!descriptiveText\" class=\"mtna-wf-item-description\" [innerHTML]=\"descriptiveText | mtnaWfSanitizeHtml\"></p>\n", styles: [".mtna-wf-item-header{display:block;margin-bottom:.5rem}.mtna-wf-item-header .mtna-wf-item-question,.mtna-wf-item-description{margin:0;font-size:.9rem;line-height:1.6}.mtna-wf-item-header .mtna-wf-item-description{opacity:.56}mtna-annotations-indicator+mtna-wf-repeatable-item-container>mtna-wf-item-header,mtna-annotations-indicator+mtna-wf-value-item>mtna-wf-input-item>mtna-wf-item-header{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2282
2301
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderComponent, decorators: [{
|
|
2283
2302
|
type: i0.Component,
|
|
2284
2303
|
args: [{
|
|
@@ -2323,7 +2342,7 @@
|
|
|
2323
2342
|
this._parentIds = new Array();
|
|
2324
2343
|
this._readonly = false;
|
|
2325
2344
|
this.focusedSection = new i0.EventEmitter();
|
|
2326
|
-
this.indicatorStatus = 'INACTIVE';
|
|
2345
|
+
this.indicatorStatus$ = new rxjs.BehaviorSubject('INACTIVE');
|
|
2327
2346
|
}
|
|
2328
2347
|
Object.defineProperty(MtnaWfFormItemComponent.prototype, "elementId", {
|
|
2329
2348
|
get: function () {
|
|
@@ -2412,10 +2431,13 @@
|
|
|
2412
2431
|
MtnaWfFormItemComponent.prototype.toggleFormItems = function (data) {
|
|
2413
2432
|
this.uiService.toggleFormItems(data.enabledItemIds, data.disabledItemIds, data.enabled, data.callerId, data.reset);
|
|
2414
2433
|
};
|
|
2434
|
+
MtnaWfFormItemComponent.prototype.updateIndicatorStatus = function (status) {
|
|
2435
|
+
this.indicatorStatus$.next(status);
|
|
2436
|
+
};
|
|
2415
2437
|
return MtnaWfFormItemComponent;
|
|
2416
2438
|
}());
|
|
2417
2439
|
MtnaWfFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemComponent, deps: [{ token: i0__namespace.ElementRef }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2418
|
-
MtnaWfFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: { color: "color", control: "control", header: "header", inList: "inList", item: "item", parentIds: "parentIds", readonly: "readonly", step: "step" }, outputs: { focusedSection: "focusedSection" }, host: { properties: { "@mtnaWfExpandCollapse": "this.visible", "attr.id": "this.elementId" } }, ngImport: i0__namespace, template: "<mtna-annotations-indicator\n *ngIf=\"item.annotationEnabled\"\n [annotatableId]=\"item.annotatableId\"\n color=\"primary\"\n [count]=\"annotations$ | async\"\n (status)=\"
|
|
2440
|
+
MtnaWfFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: { color: "color", control: "control", header: "header", inList: "inList", item: "item", parentIds: "parentIds", readonly: "readonly", step: "step" }, outputs: { focusedSection: "focusedSection" }, host: { properties: { "@mtnaWfExpandCollapse": "this.visible", "attr.id": "this.elementId" } }, ngImport: i0__namespace, template: "<mtna-annotations-indicator\n *ngIf=\"item.annotationEnabled\"\n [annotatableId]=\"item.annotatableId\"\n color=\"primary\"\n [count]=\"annotations$ | async\"\n (status)=\"updateIndicatorStatus($event)\"\n></mtna-annotations-indicator>\n\n<mtna-wf-item-injector\n [color]=\"color\"\n [control]=\"control\"\n [header]=\"header\"\n [indicatorStatus]=\"indicatorStatus$.value\"\n [inList]=\"inList\"\n [item]=\"item\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n [step]=\"step\"\n (focusedSection)=\"focusedSection.emit($event)\"\n (toggleFormItems)=\"toggleFormItems($event)\"\n></mtna-wf-item-injector>\n\n<ng-template #header let-hideRequiredMarker=\"hideRequiredMarker\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled\"\n [hideRequiredMarker]=\"hideRequiredMarker\"\n [invalid]=\"control?.invalid && (control?.dirty || control?.touched)\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n</ng-template>\n\n<!-- <ng-container [ngSwitch]=\"item.itemId | mtnaWfGetObjectType\">\n <mtna-wf-section\n *ngSwitchCase=\"'sectionimpl'\"\n [control]=\"$any(control)\"\n [item]=\"$any(item)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n [step]=\"step\"\n (focused)=\"focusedSection.emit($event)\"\n ></mtna-wf-section>\n\n <mtna-wf-group\n *ngSwitchCase=\"'formitemgroupimpl'\"\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"$any(control)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-group>\n\n <mtna-wf-repeatable-item-container\n *ngSwitchCase=\"'repeatableitem'\"\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"$any(control)\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-repeatable-item-container>\n\n <mtna-wf-value-item\n *ngSwitchDefault\n [indicatorStatus]=\"indicatorStatus\"\n [item]=\"$any(item)\"\n [control]=\"control\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && (!!item.descriptiveText || !!item.questionText)\"\n [parentIds]=\"parentIds.concat(item.instanceId)\"\n [readonly]=\"readonly\"\n ></mtna-wf-value-item>\n</ng-container> -->\n", styles: ["mtna-wf-item{display:block;position:relative}mtna-wf-item mtna-annotations-indicator{position:absolute;top:0;right:0;z-index:2}mtna-wf-item .mat-list-base{padding-top:0}\n"], components: [{ type: i2__namespace.MtnaAnnotationsIndicatorComponent, selector: "mtna-annotations-indicator", inputs: ["color", "annotatableId", "annotatableItemName", "count"], outputs: ["status"] }, { type: MtnaWfItemInjector, selector: "mtna-wf-item-injector", inputs: ["color", "control", "header", "indicatorStatus", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection", "toggleFormItems"] }, { type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3__namespace.AsyncPipe }, animations: [MTNA_WF_EXPAND_COLLAPSE], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
2419
2441
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemComponent, decorators: [{
|
|
2420
2442
|
type: i0.Component,
|
|
2421
2443
|
args: [{
|
|
@@ -2463,7 +2485,7 @@
|
|
|
2463
2485
|
return MtnaWfAcknowledgeDialogComponent;
|
|
2464
2486
|
}());
|
|
2465
2487
|
MtnaWfAcknowledgeDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2466
|
-
MtnaWfAcknowledgeDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfAcknowledgeDialogComponent, selector: "mtna-wf-acknowledge-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button [mat-dialog-close]=\"false\" mat-button>CANCEL</button>\n <button [mat-dialog-close]=\"true\" color=\"accent\" mat-raised-button>ACKNOWLEDGE</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type:
|
|
2488
|
+
MtnaWfAcknowledgeDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfAcknowledgeDialogComponent, selector: "mtna-wf-acknowledge-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button [mat-dialog-close]=\"false\" mat-button>CANCEL</button>\n <button [mat-dialog-close]=\"true\" color=\"accent\" mat-raised-button>ACKNOWLEDGE</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
|
|
2467
2489
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogComponent, decorators: [{
|
|
2468
2490
|
type: i0.Component,
|
|
2469
2491
|
args: [{
|
|
@@ -2483,12 +2505,12 @@
|
|
|
2483
2505
|
return MtnaWfItemInjectorModule;
|
|
2484
2506
|
}());
|
|
2485
2507
|
MtnaWfItemInjectorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2486
|
-
MtnaWfItemInjectorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, declarations: [MtnaWfItemInjector], imports: [
|
|
2487
|
-
MtnaWfItemInjectorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, imports: [[
|
|
2508
|
+
MtnaWfItemInjectorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, declarations: [MtnaWfItemInjector], imports: [i3$1.CommonModule], exports: [MtnaWfItemInjector] });
|
|
2509
|
+
MtnaWfItemInjectorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, imports: [[i3$1.CommonModule]] });
|
|
2488
2510
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemInjectorModule, decorators: [{
|
|
2489
2511
|
type: i0.NgModule,
|
|
2490
2512
|
args: [{
|
|
2491
|
-
imports: [
|
|
2513
|
+
imports: [i3$1.CommonModule],
|
|
2492
2514
|
declarations: [MtnaWfItemInjector],
|
|
2493
2515
|
exports: [MtnaWfItemInjector],
|
|
2494
2516
|
}]
|
|
@@ -2568,13 +2590,11 @@
|
|
|
2568
2590
|
function MtnaWfCoerceFormControlPipe() {
|
|
2569
2591
|
}
|
|
2570
2592
|
MtnaWfCoerceFormControlPipe.prototype.transform = function (control) {
|
|
2571
|
-
var isFormControl = control instanceof i6.FormControl;
|
|
2572
2593
|
if (control) {
|
|
2573
2594
|
var value = control.value;
|
|
2574
2595
|
var validators = control.validator;
|
|
2575
2596
|
var asyncValidators = control.asyncValidator;
|
|
2576
2597
|
var newFormControl = new i6.FormControl(value, validators, asyncValidators);
|
|
2577
|
-
console.error('CREATED NEW FORM CONTROL');
|
|
2578
2598
|
return newFormControl;
|
|
2579
2599
|
}
|
|
2580
2600
|
return null;
|
|
@@ -2655,6 +2675,45 @@
|
|
|
2655
2675
|
}]
|
|
2656
2676
|
}] });
|
|
2657
2677
|
|
|
2678
|
+
var MtnaWfCoerceFormItemPipe = /** @class */ (function () {
|
|
2679
|
+
function MtnaWfCoerceFormItemPipe() {
|
|
2680
|
+
}
|
|
2681
|
+
MtnaWfCoerceFormItemPipe.prototype.transform = function (item) {
|
|
2682
|
+
var formItem = undefined;
|
|
2683
|
+
if (this.instanceOfFormItem(item)) {
|
|
2684
|
+
formItem = item;
|
|
2685
|
+
}
|
|
2686
|
+
return formItem;
|
|
2687
|
+
};
|
|
2688
|
+
MtnaWfCoerceFormItemPipe.prototype.instanceOfFormItem = function (something) {
|
|
2689
|
+
return coreTs.isType(something, 'instanceId', 'itemId', 'name', 'required', 'templateId');
|
|
2690
|
+
};
|
|
2691
|
+
return MtnaWfCoerceFormItemPipe;
|
|
2692
|
+
}());
|
|
2693
|
+
MtnaWfCoerceFormItemPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
2694
|
+
MtnaWfCoerceFormItemPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, name: "coerceFormItem" });
|
|
2695
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipe, decorators: [{
|
|
2696
|
+
type: i0.Pipe,
|
|
2697
|
+
args: [{
|
|
2698
|
+
name: 'coerceFormItem',
|
|
2699
|
+
}]
|
|
2700
|
+
}] });
|
|
2701
|
+
var MtnaWfCoerceFormItemPipeModule = /** @class */ (function () {
|
|
2702
|
+
function MtnaWfCoerceFormItemPipeModule() {
|
|
2703
|
+
}
|
|
2704
|
+
return MtnaWfCoerceFormItemPipeModule;
|
|
2705
|
+
}());
|
|
2706
|
+
MtnaWfCoerceFormItemPipeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2707
|
+
MtnaWfCoerceFormItemPipeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, declarations: [MtnaWfCoerceFormItemPipe], exports: [MtnaWfCoerceFormItemPipe] });
|
|
2708
|
+
MtnaWfCoerceFormItemPipeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule });
|
|
2709
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCoerceFormItemPipeModule, decorators: [{
|
|
2710
|
+
type: i0.NgModule,
|
|
2711
|
+
args: [{
|
|
2712
|
+
declarations: [MtnaWfCoerceFormItemPipe],
|
|
2713
|
+
exports: [MtnaWfCoerceFormItemPipe],
|
|
2714
|
+
}]
|
|
2715
|
+
}] });
|
|
2716
|
+
|
|
2658
2717
|
var MtnaWfDateQuarterPipe = /** @class */ (function () {
|
|
2659
2718
|
function MtnaWfDateQuarterPipe() {
|
|
2660
2719
|
}
|
|
@@ -3040,12 +3099,12 @@
|
|
|
3040
3099
|
return MtnaWfItemHeaderModule;
|
|
3041
3100
|
}());
|
|
3042
3101
|
MtnaWfItemHeaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3043
|
-
MtnaWfItemHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, declarations: [MtnaWfItemHeaderComponent], imports: [
|
|
3044
|
-
MtnaWfItemHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, imports: [[
|
|
3102
|
+
MtnaWfItemHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, declarations: [MtnaWfItemHeaderComponent], imports: [i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfItemHeaderComponent] });
|
|
3103
|
+
MtnaWfItemHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, imports: [[i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule]] });
|
|
3045
3104
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfItemHeaderModule, decorators: [{
|
|
3046
3105
|
type: i0.NgModule,
|
|
3047
3106
|
args: [{
|
|
3048
|
-
imports: [
|
|
3107
|
+
imports: [i3$1.CommonModule, MtnaWfSanitizeHtmlPipeModule],
|
|
3049
3108
|
declarations: [MtnaWfItemHeaderComponent],
|
|
3050
3109
|
exports: [MtnaWfItemHeaderComponent],
|
|
3051
3110
|
}]
|
|
@@ -3057,12 +3116,31 @@
|
|
|
3057
3116
|
return MtnaWfFormItemModule;
|
|
3058
3117
|
}());
|
|
3059
3118
|
MtnaWfFormItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3060
|
-
MtnaWfFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, declarations: [MtnaWfFormItemComponent], imports: [
|
|
3061
|
-
|
|
3119
|
+
MtnaWfFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, declarations: [MtnaWfFormItemComponent], imports: [i3$1.CommonModule,
|
|
3120
|
+
i2$1.MtnaAnnotationsIndicatorModule,
|
|
3121
|
+
MtnaWfItemInjectorModule,
|
|
3122
|
+
MtnaWfItemHeaderModule,
|
|
3123
|
+
materialMomentAdapter.MatMomentDateModule,
|
|
3124
|
+
i3$2.MatButtonModule], exports: [MtnaWfFormItemComponent] });
|
|
3125
|
+
MtnaWfFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, imports: [[
|
|
3126
|
+
i3$1.CommonModule,
|
|
3127
|
+
i2$1.MtnaAnnotationsIndicatorModule,
|
|
3128
|
+
MtnaWfItemInjectorModule,
|
|
3129
|
+
MtnaWfItemHeaderModule,
|
|
3130
|
+
materialMomentAdapter.MatMomentDateModule,
|
|
3131
|
+
i3$2.MatButtonModule,
|
|
3132
|
+
]] });
|
|
3062
3133
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemModule, decorators: [{
|
|
3063
3134
|
type: i0.NgModule,
|
|
3064
3135
|
args: [{
|
|
3065
|
-
imports: [
|
|
3136
|
+
imports: [
|
|
3137
|
+
i3$1.CommonModule,
|
|
3138
|
+
i2$1.MtnaAnnotationsIndicatorModule,
|
|
3139
|
+
MtnaWfItemInjectorModule,
|
|
3140
|
+
MtnaWfItemHeaderModule,
|
|
3141
|
+
materialMomentAdapter.MatMomentDateModule,
|
|
3142
|
+
i3$2.MatButtonModule,
|
|
3143
|
+
],
|
|
3066
3144
|
declarations: [MtnaWfFormItemComponent],
|
|
3067
3145
|
exports: [MtnaWfFormItemComponent],
|
|
3068
3146
|
}]
|
|
@@ -3074,12 +3152,12 @@
|
|
|
3074
3152
|
return MtnaWfAcknowledgeDialogModule;
|
|
3075
3153
|
}());
|
|
3076
3154
|
MtnaWfAcknowledgeDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3077
|
-
MtnaWfAcknowledgeDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, declarations: [MtnaWfAcknowledgeDialogComponent], imports: [
|
|
3078
|
-
MtnaWfAcknowledgeDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, imports: [[
|
|
3155
|
+
MtnaWfAcknowledgeDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, declarations: [MtnaWfAcknowledgeDialogComponent], imports: [i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule], exports: [MtnaWfAcknowledgeDialogComponent] });
|
|
3156
|
+
MtnaWfAcknowledgeDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, imports: [[i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule]] });
|
|
3079
3157
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfAcknowledgeDialogModule, decorators: [{
|
|
3080
3158
|
type: i0.NgModule,
|
|
3081
3159
|
args: [{
|
|
3082
|
-
imports: [
|
|
3160
|
+
imports: [i3$1.CommonModule, i1.MatDialogModule, i3$2.MatButtonModule, MtnaWfFormItemModule],
|
|
3083
3161
|
declarations: [MtnaWfAcknowledgeDialogComponent],
|
|
3084
3162
|
exports: [MtnaWfAcknowledgeDialogComponent],
|
|
3085
3163
|
}]
|
|
@@ -3162,7 +3240,7 @@
|
|
|
3162
3240
|
return MtnaWfFormItemDialogComponent;
|
|
3163
3241
|
}());
|
|
3164
3242
|
MtnaWfFormItemDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3165
|
-
MtnaWfFormItemDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemDialogComponent, selector: "mtna-wf-form-item-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button mat-dialog-close>Close</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type:
|
|
3243
|
+
MtnaWfFormItemDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormItemDialogComponent, selector: "mtna-wf-form-item-dialog", ngImport: i0__namespace, template: "<h2 *ngIf=\"data.title as title\" mat-dialog-title>{{ title }}</h2>\n<mat-dialog-content>\n <mtna-wf-item *ngFor=\"let item of data.formItems\" [item]=\"item\" [readonly]=\"true\"></mtna-wf-item>\n</mat-dialog-content>\n<mat-dialog-actions align=\"end\">\n <button mat-button mat-dialog-close>Close</button>\n</mat-dialog-actions>\n", components: [{ type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }] });
|
|
3166
3244
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogComponent, decorators: [{
|
|
3167
3245
|
type: i0.Component,
|
|
3168
3246
|
args: [{
|
|
@@ -3185,7 +3263,6 @@
|
|
|
3185
3263
|
* @param acknowledgementItem The {@link Section} that represents the acknowledgement text to display to the user.
|
|
3186
3264
|
*/
|
|
3187
3265
|
MtnaWfDialogService.prototype.showAcknowledgement = function (acknowledgementItem) {
|
|
3188
|
-
console.warn('showAcknowledgement in dialog service');
|
|
3189
3266
|
this.dialog.open(MtnaWfFormItemDialogComponent, {
|
|
3190
3267
|
closeOnNavigation: true,
|
|
3191
3268
|
data: new MtnaWfFormItemDialogData(acknowledgementItem.items, acknowledgementItem.title.value || 'Acknowledgement'),
|
|
@@ -4230,7 +4307,7 @@
|
|
|
4230
4307
|
return class_1;
|
|
4231
4308
|
}()))));
|
|
4232
4309
|
MtnaWfFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, deps: [{ token: MtnaWfManagerService }, { token: MtnaWfNgFormService }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4233
|
-
MtnaWfFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormComponent, selector: "mtna-form", inputs: { annotations: "annotations", emitStatusOnMtnaFormChange: "emitStatusOnMtnaFormChange", mtnaForm: "mtnaForm", steps: "steps", readonly: "readonly" }, outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange" }, usesInheritance: true, ngImport: i0__namespace, template: "<form *ngIf=\"ngForm\" [formGroup]=\"ngForm\" [formDisabled]=\"readonly\">\n <mtna-wf-item\n *ngFor=\"let item of mtnaForm?.items; let index = index; trackBy: _trackByInstanceId\"\n [item]=\"item\"\n [control]=\"ngForm.controls[item.instanceId]\"\n [readonly]=\"readonly\"\n [parentIds]=\"componentIds\"\n [step]=\"_steps?.[item.instanceId]\"\n (focusedSection)=\"focusedSection.emit($event)\"\n ></mtna-wf-item>\n</form>\n", styles: ["mtna-form form{display:block}mtna-form form .mtna-wf-section{display:block;margin:32px 0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline{opacity:0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-end,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-gap,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:1px}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-suffix .mat-datepicker-toggle .mat-icon-button{cursor:default}mtna-form .mtna-wf-item,mtna-form .mtna-wf-title{margin-top:1rem}mtna-form .mtna-wf-text{margin:.5rem 0;font-size:.9rem}mtna-form .mtna-wf-title-item,mtna-form .mtna-wf-text-item{margin:0}
|
|
4310
|
+
MtnaWfFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormComponent, selector: "mtna-form", inputs: { annotations: "annotations", emitStatusOnMtnaFormChange: "emitStatusOnMtnaFormChange", mtnaForm: "mtnaForm", steps: "steps", readonly: "readonly" }, outputs: { status: "status", focusedSection: "focusedSection", mtnaFormChange: "mtnaFormChange" }, usesInheritance: true, ngImport: i0__namespace, template: "<form *ngIf=\"ngForm\" [formGroup]=\"ngForm\" [formDisabled]=\"readonly\">\n <mtna-wf-item\n *ngFor=\"let item of mtnaForm?.items; let index = index; trackBy: _trackByInstanceId\"\n [item]=\"item\"\n [control]=\"ngForm.controls[item.instanceId]\"\n [readonly]=\"readonly\"\n [parentIds]=\"componentIds\"\n [step]=\"_steps?.[item.instanceId]\"\n (focusedSection)=\"focusedSection.emit($event)\"\n ></mtna-wf-item>\n</form>\n", styles: ["mtna-form form{display:block}mtna-form form .mtna-wf-section{display:block;margin:32px 0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline{opacity:0}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-end,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-gap,mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-flex:hover .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:1px}mtna-form form fieldset[disabled] .mtna-wf-item .mtna-wf-date-item .mat-form-field.mat-form-field-appearance-outline .mat-form-field-suffix .mat-datepicker-toggle .mat-icon-button{cursor:default}mtna-form .mtna-wf-item,mtna-form .mtna-wf-title{margin-top:1rem}mtna-form .mtna-wf-text{margin:.5rem 0;font-size:.9rem}mtna-form .mtna-wf-title-item,mtna-form .mtna-wf-text-item{margin:0}\n"], components: [{ type: MtnaWfFormDisablerComponent, selector: "[formDisabled]", inputs: ["formDisabled"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i6__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i6__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4234
4311
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormComponent, decorators: [{
|
|
4235
4312
|
type: i0.Component,
|
|
4236
4313
|
args: [{
|
|
@@ -4264,12 +4341,12 @@
|
|
|
4264
4341
|
return MtnaWfFormDisablerModule;
|
|
4265
4342
|
}());
|
|
4266
4343
|
MtnaWfFormDisablerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4267
|
-
MtnaWfFormDisablerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, declarations: [MtnaWfFormDisablerComponent], imports: [
|
|
4268
|
-
MtnaWfFormDisablerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, imports: [[
|
|
4344
|
+
MtnaWfFormDisablerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, declarations: [MtnaWfFormDisablerComponent], imports: [i3$1.CommonModule], exports: [MtnaWfFormDisablerComponent] });
|
|
4345
|
+
MtnaWfFormDisablerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, imports: [[i3$1.CommonModule]] });
|
|
4269
4346
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormDisablerModule, decorators: [{
|
|
4270
4347
|
type: i0.NgModule,
|
|
4271
4348
|
args: [{
|
|
4272
|
-
imports: [
|
|
4349
|
+
imports: [i3$1.CommonModule],
|
|
4273
4350
|
exports: [MtnaWfFormDisablerComponent],
|
|
4274
4351
|
declarations: [MtnaWfFormDisablerComponent],
|
|
4275
4352
|
}]
|
|
@@ -4323,7 +4400,7 @@
|
|
|
4323
4400
|
return MtnaWfFormStepComponent;
|
|
4324
4401
|
}(_FormStepMixinBase$1));
|
|
4325
4402
|
MtnaWfFormStepComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4326
|
-
MtnaWfFormStepComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: { color: "color", step: "step", clickable: "clickable", incompleteIcon: "incompleteIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.clickable": "this.clickable" } }, usesInheritance: true, ngImport: i0__namespace, template: "<li\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n matRipple\n [matRippleDisabled]=\"!clickable\"\n [class.active-step]=\"step.active\"\n (click)=\"_haltClickEvent($event)\"\n>\n <mtna-status-circle\n [color]=\"color\"\n [circleNumber]=\"step.num\"\n [incompleteIcon]=\"incompleteIcon\"\n [optional]=\"step.optional\"\n [status]=\"step.status\"\n ></mtna-status-circle>\n <div fxLayout=\"column\" fxFlex=\"100\">\n <p class=\"step-title\">{{ step.label }}</p>\n <p *ngIf=\"step.optional || disabled\" class=\"step-status\">{{ disabled ? step.disabledText || 'Not Applicable' : 'Optional' }}</p>\n </div>\n</li>\n", styles: ["mtna-wf-step li{padding:8px 16px;position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;line-height:24px;font-size:14px;transition:background-color .15s cubic-bezier(0,0,.2,1)}mtna-wf-step li:after{content:\"\";display:block;position:absolute;top:0;right:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1}mtna-wf-step li .step-title,mtna-wf-step li .step-status{margin:0}mtna-wf-step.disabled{font-style:italic}\n"], components: [{ type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }], directives: [{ type: i3__namespace$
|
|
4403
|
+
MtnaWfFormStepComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: { color: "color", step: "step", clickable: "clickable", incompleteIcon: "incompleteIcon" }, host: { properties: { "class.disabled": "this.disabled", "class.clickable": "this.clickable" } }, usesInheritance: true, ngImport: i0__namespace, template: "<li\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n matRipple\n [matRippleDisabled]=\"!clickable\"\n [class.active-step]=\"step.active\"\n (click)=\"_haltClickEvent($event)\"\n>\n <mtna-status-circle\n [color]=\"color\"\n [circleNumber]=\"step.num\"\n [incompleteIcon]=\"incompleteIcon\"\n [optional]=\"step.optional\"\n [status]=\"step.status\"\n ></mtna-status-circle>\n <div fxLayout=\"column\" fxFlex=\"100\">\n <p class=\"step-title\">{{ step.label }}</p>\n <p *ngIf=\"step.optional || disabled\" class=\"step-status\">{{ disabled ? step.disabledText || 'Not Applicable' : 'Optional' }}</p>\n </div>\n</li>\n", styles: ["mtna-wf-step li{padding:8px 16px;position:relative;-webkit-user-select:none;-o-user-select:none;user-select:none;line-height:24px;font-size:14px;transition:background-color .15s cubic-bezier(0,0,.2,1)}mtna-wf-step li:after{content:\"\";display:block;position:absolute;top:0;right:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1}mtna-wf-step li .step-title,mtna-wf-step li .step-status{margin:0}mtna-wf-step.disabled{font-style:italic}\n"], components: [{ type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }], directives: [{ type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$3.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleRadius", "matRippleDisabled", "matRippleTrigger", "matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleAnimation"], exportAs: ["matRipple"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4327
4404
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepComponent, decorators: [{
|
|
4328
4405
|
type: i0.Component,
|
|
4329
4406
|
args: [{
|
|
@@ -4379,7 +4456,7 @@
|
|
|
4379
4456
|
return MtnaWfFormStepGroupComponent;
|
|
4380
4457
|
}(_FormStepMixinBase));
|
|
4381
4458
|
MtnaWfFormStepGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4382
|
-
MtnaWfFormStepGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: { color: "color", collapsed: "collapsed", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngFor=\"let step of steps | slice : 0 : (collapsed ? 1 : steps.length); let last = last\">\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [step]=\"step\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n <p *ngIf=\"collapsed\" class=\"show-more mat-caption\">and {{ steps.length - 1 }} more...</p>\n</ng-container>\n<button\n mat-icon-button\n class=\"collapse-button\"\n [color]=\"color\"\n (click)=\"collapsed = !collapsed\"\n [matTooltip]=\"collapsed ? 'View All' : 'Hide'\"\n>\n <mat-icon>{{ collapsed ? 'expand_more' : 'expand_less' }}</mat-icon>\n</button>\n", styles: ["mtna-wf-step-group{border-style:solid;border-radius:4px;border-width:1px;display:block;margin:4px 4px 16px 8px;padding-bottom:16px;position:relative}mtna-wf-step-group .collapse-button{bottom:-19px;left:calc(50% - 20px);position:absolute;z-index:10}mtna-wf-step-group .collapse-button:after{bottom:8px;content:\"\";height:12px;left:calc(50% - 16px);position:absolute;width:32px;z-index:-1}mtna-wf-step-group mtna-wf-step li{padding-left:8px}mtna-wf-step-group mat-divider.mat-divider{margin-left:20px}mtna-wf-step-group .show-more{margin:0;text-align:center}\n"], components: [{ type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type:
|
|
4459
|
+
MtnaWfFormStepGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: { color: "color", collapsed: "collapsed", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngFor=\"let step of steps | slice : 0 : (collapsed ? 1 : steps.length); let last = last\">\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [step]=\"step\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n <p *ngIf=\"collapsed\" class=\"show-more mat-caption\">and {{ steps.length - 1 }} more...</p>\n</ng-container>\n<button\n mat-icon-button\n class=\"collapse-button\"\n [color]=\"color\"\n (click)=\"collapsed = !collapsed\"\n [matTooltip]=\"collapsed ? 'View All' : 'Hide'\"\n>\n <mat-icon>{{ collapsed ? 'expand_more' : 'expand_less' }}</mat-icon>\n</button>\n", styles: ["mtna-wf-step-group{border-style:solid;border-radius:4px;border-width:1px;display:block;margin:4px 4px 16px 8px;padding-bottom:16px;position:relative}mtna-wf-step-group .collapse-button{bottom:-19px;left:calc(50% - 20px);position:absolute;z-index:10}mtna-wf-step-group .collapse-button:after{bottom:8px;content:\"\";height:12px;left:calc(50% - 16px);position:absolute;width:32px;z-index:-1}mtna-wf-step-group mtna-wf-step li{padding-left:8px}mtna-wf-step-group mat-divider.mat-divider{margin-left:20px}mtna-wf-step-group .show-more{margin:0;text-align:center}\n"], components: [{ type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "slice": i3__namespace.SlicePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4383
4460
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepGroupComponent, decorators: [{
|
|
4384
4461
|
type: i0.Component,
|
|
4385
4462
|
args: [{
|
|
@@ -4436,7 +4513,7 @@
|
|
|
4436
4513
|
return MtnaWfFormStepperComponent;
|
|
4437
4514
|
}(_FormStepperMixinBase));
|
|
4438
4515
|
MtnaWfFormStepperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4439
|
-
MtnaWfFormStepperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepperComponent, selector: "mtna-wf-stepper", inputs: { color: "color", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ol>\n <ng-container *ngFor=\"let step of steps; let last = last; trackBy: _trackStep\">\n <ng-container\n [ngTemplateOutlet]=\"(step | mtnaWfStepGroupPipe) ? groupStep : singleStep\"\n [ngTemplateOutletContext]=\"{ $implicit: step }\"\n ></ng-container>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n <ng-template #singleStep let-step>\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [step]=\"step\"\n [incompleteIcon]=\"incompleteIcon\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n </ng-template>\n <ng-template #groupStep let-step>\n <mtna-wf-step-group\n [collapsed]=\"step.collapsed\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [steps]=\"step.steps\"\n (selected)=\"selected.emit($event)\"\n ></mtna-wf-step-group>\n </ng-template>\n</ol>\n", styles: ["mtna-wf-stepper{border-right-width:1px;border-right-style:solid;overflow-y:auto}mtna-wf-stepper mtna-wf-step li.active-step:after{transform-origin:top;transform:scaleY(1)}mtna-wf-stepper mtna-wf-step.clickable{cursor:pointer}mtna-wf-stepper mat-divider.mat-divider{height:24px;width:1px;margin-left:28px}mtna-wf-stepper ol{padding:0}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: ["color", "collapsed", "incompleteIcon", "steps"], outputs: ["selected"] }], directives: [{ type:
|
|
4516
|
+
MtnaWfFormStepperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormStepperComponent, selector: "mtna-wf-stepper", inputs: { color: "color", incompleteIcon: "incompleteIcon", steps: "steps" }, outputs: { selected: "selected" }, usesInheritance: true, ngImport: i0__namespace, template: "<ol>\n <ng-container *ngFor=\"let step of steps; let last = last; trackBy: _trackStep\">\n <ng-container\n [ngTemplateOutlet]=\"(step | mtnaWfStepGroupPipe) ? groupStep : singleStep\"\n [ngTemplateOutletContext]=\"{ $implicit: step }\"\n ></ng-container>\n <mat-divider *ngIf=\"!last\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n <ng-template #singleStep let-step>\n <mtna-wf-step\n [clickable]=\"step.status !== 'DISABLED'\"\n [color]=\"color\"\n [step]=\"step\"\n [incompleteIcon]=\"incompleteIcon\"\n (click)=\"selected.emit(step)\"\n ></mtna-wf-step>\n </ng-template>\n <ng-template #groupStep let-step>\n <mtna-wf-step-group\n [collapsed]=\"step.collapsed\"\n [color]=\"color\"\n [incompleteIcon]=\"incompleteIcon\"\n [steps]=\"step.steps\"\n (selected)=\"selected.emit($event)\"\n ></mtna-wf-step-group>\n </ng-template>\n</ol>\n", styles: ["mtna-wf-stepper{border-right-width:1px;border-right-style:solid;overflow-y:auto}mtna-wf-stepper mtna-wf-step li.active-step:after{transform-origin:top;transform:scaleY(1)}mtna-wf-stepper mtna-wf-step.clickable{cursor:pointer}mtna-wf-stepper mat-divider.mat-divider{height:24px;width:1px;margin-left:28px}mtna-wf-stepper ol{padding:0}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormStepComponent, selector: "mtna-wf-step", inputs: ["color", "step", "clickable", "incompleteIcon"] }, { type: MtnaWfFormStepGroupComponent, selector: "mtna-wf-step-group", inputs: ["color", "collapsed", "incompleteIcon", "steps"], outputs: ["selected"] }], directives: [{ type: 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"] }], pipes: { "mtnaWfStepGroupPipe": MtnaWfFormStepGroupPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4440
4517
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperComponent, decorators: [{
|
|
4441
4518
|
type: i0.Component,
|
|
4442
4519
|
args: [{
|
|
@@ -4461,22 +4538,22 @@
|
|
|
4461
4538
|
return MtnaWfFormStepperModule;
|
|
4462
4539
|
}());
|
|
4463
4540
|
MtnaWfFormStepperModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4464
|
-
MtnaWfFormStepperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, declarations: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent], imports: [
|
|
4541
|
+
MtnaWfFormStepperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, declarations: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent], imports: [i3$1.CommonModule,
|
|
4465
4542
|
flexLayout.FlexLayoutModule,
|
|
4466
4543
|
i2$2.MatDividerModule,
|
|
4467
4544
|
i1$1.MtnaStatusCircleModule,
|
|
4468
4545
|
i3.MatRippleModule,
|
|
4469
|
-
i3$
|
|
4546
|
+
i3$2.MatButtonModule,
|
|
4470
4547
|
i6$1.MatTooltipModule,
|
|
4471
4548
|
i5.MatIconModule,
|
|
4472
4549
|
MtnaWfFormStepGroupPipeModule], exports: [MtnaWfFormStepComponent, MtnaWfFormStepGroupComponent, MtnaWfFormStepperComponent] });
|
|
4473
4550
|
MtnaWfFormStepperModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormStepperModule, imports: [[
|
|
4474
|
-
|
|
4551
|
+
i3$1.CommonModule,
|
|
4475
4552
|
flexLayout.FlexLayoutModule,
|
|
4476
4553
|
i2$2.MatDividerModule,
|
|
4477
4554
|
i1$1.MtnaStatusCircleModule,
|
|
4478
4555
|
i3.MatRippleModule,
|
|
4479
|
-
i3$
|
|
4556
|
+
i3$2.MatButtonModule,
|
|
4480
4557
|
i6$1.MatTooltipModule,
|
|
4481
4558
|
i5.MatIconModule,
|
|
4482
4559
|
MtnaWfFormStepGroupPipeModule,
|
|
@@ -4485,12 +4562,12 @@
|
|
|
4485
4562
|
type: i0.NgModule,
|
|
4486
4563
|
args: [{
|
|
4487
4564
|
imports: [
|
|
4488
|
-
|
|
4565
|
+
i3$1.CommonModule,
|
|
4489
4566
|
flexLayout.FlexLayoutModule,
|
|
4490
4567
|
i2$2.MatDividerModule,
|
|
4491
4568
|
i1$1.MtnaStatusCircleModule,
|
|
4492
4569
|
i3.MatRippleModule,
|
|
4493
|
-
i3$
|
|
4570
|
+
i3$2.MatButtonModule,
|
|
4494
4571
|
i6$1.MatTooltipModule,
|
|
4495
4572
|
i5.MatIconModule,
|
|
4496
4573
|
MtnaWfFormStepGroupPipeModule,
|
|
@@ -4530,7 +4607,7 @@
|
|
|
4530
4607
|
return MtnaWfStepCardComponent;
|
|
4531
4608
|
}(_StepCardMixinBase));
|
|
4532
4609
|
MtnaWfStepCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4533
|
-
MtnaWfStepCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: { color: "color", step: "step", subtitle: "subtitle" }, outputs: { focused: "focused" }, host: { properties: { "class.active": "this.active" } }, usesInheritance: true, ngImport: i0__namespace, template: "<mat-card cdkMonitorSubtreeFocus (cdkFocusChange)=\"handleFocusChange($event)\">\n <mat-card-header>\n <mtna-status-circle mat-card-avatar [circleNumber]=\"step?.num\" [optional]=\"step?.optional\" [status]=\"step?.status\"></mtna-status-circle>\n <mat-card-title>{{ step?.label }}</mat-card-title>\n <mat-card-subtitle [innerHTML]=\"subtitle | mtnaWfSanitizeHtml\"></mat-card-subtitle>\n <p *ngIf=\"step?.optional\" class=\"optional mat-caption\">Optional</p>\n </mat-card-header>\n\n <mat-divider [inset]=\"true\"></mat-divider>\n\n <mat-card-content>\n <ng-content select=\"[cardContent]\"></ng-content>\n </mat-card-content>\n\n <mat-card-actions>\n <ng-content select=\"[cardActions]\"></ng-content>\n </mat-card-actions>\n</mat-card>\n", styles: ["mtna-wf-step-card{display:block;position:relative}mtna-wf-step-card.active:before{transform-origin:top;transform:scaleY(1)}mtna-wf-step-card:before{content:\"\";display:block;position:absolute;top:0;left:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1;border-top-left-radius:2px;border-bottom-left-radius:2px}mtna-wf-step-card mat-card-header{position:relative}mtna-wf-step-card mat-card-header mat-card-title{line-height:24px;margin-right:100px}mtna-wf-step-card mat-card-header mtna-status-circle[mat-card-avatar]{width:24px;height:24px}mtna-wf-step-card mat-card-header>.optional:not(.mtna-status-circle){position:absolute;right:16px;top:0;margin:0;line-height:24px}mtna-wf-step-card mat-card-actions{padding:0;margin:0}mtna-wf-step-card mat-card-content{margin-top:16px}mtna-wf-step-card mat-card-content [cardcontent]>:first-child{margin-top:0}\n"], components: [{ type: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i1__namespace$4.MatCardHeader, selector: "mat-card-header" }, { type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4__namespace
|
|
4610
|
+
MtnaWfStepCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: { color: "color", step: "step", subtitle: "subtitle" }, outputs: { focused: "focused" }, host: { properties: { "class.active": "this.active" } }, usesInheritance: true, ngImport: i0__namespace, template: "<mat-card cdkMonitorSubtreeFocus (cdkFocusChange)=\"handleFocusChange($event)\">\n <mat-card-header>\n <mtna-status-circle mat-card-avatar [circleNumber]=\"step?.num\" [optional]=\"step?.optional\" [status]=\"step?.status\"></mtna-status-circle>\n <mat-card-title>{{ step?.label }}</mat-card-title>\n <mat-card-subtitle [innerHTML]=\"subtitle | mtnaWfSanitizeHtml\"></mat-card-subtitle>\n <p *ngIf=\"step?.optional\" class=\"optional mat-caption\">Optional</p>\n </mat-card-header>\n\n <mat-divider [inset]=\"true\"></mat-divider>\n\n <mat-card-content>\n <ng-content select=\"[cardContent]\"></ng-content>\n </mat-card-content>\n\n <mat-card-actions>\n <ng-content select=\"[cardActions]\"></ng-content>\n </mat-card-actions>\n</mat-card>\n", styles: ["mtna-wf-step-card{display:block;position:relative}mtna-wf-step-card.active:before{transform-origin:top;transform:scaleY(1)}mtna-wf-step-card:before{content:\"\";display:block;position:absolute;top:0;left:0;bottom:0;width:5px;transition:transform .4s cubic-bezier(.25,.8,.25,1);transform-origin:bottom;transform:scaleY(0);z-index:1;border-top-left-radius:2px;border-bottom-left-radius:2px}mtna-wf-step-card mat-card-header{position:relative}mtna-wf-step-card mat-card-header mat-card-title{line-height:24px;margin-right:100px}mtna-wf-step-card mat-card-header mtna-status-circle[mat-card-avatar]{width:24px;height:24px}mtna-wf-step-card mat-card-header>.optional:not(.mtna-status-circle){position:absolute;right:16px;top:0;margin:0;line-height:24px}mtna-wf-step-card mat-card-actions{padding:0;margin:0}mtna-wf-step-card mat-card-content{margin-top:16px}mtna-wf-step-card mat-card-content [cardcontent]>:first-child{margin-top:0}\n"], components: [{ type: i1__namespace$4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i1__namespace$4.MatCardHeader, selector: "mat-card-header" }, { type: i1__namespace$1.MtnaStatusCircleComponent, selector: "mtna-status-circle", inputs: ["color", "circleNumber", "incompleteIcon", "status", "validIcon", "optional"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i4__namespace.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 });
|
|
4534
4611
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardComponent, decorators: [{
|
|
4535
4612
|
type: i0.Component,
|
|
4536
4613
|
args: [{
|
|
@@ -4558,12 +4635,12 @@
|
|
|
4558
4635
|
return MtnaWfStepCardModule;
|
|
4559
4636
|
}());
|
|
4560
4637
|
MtnaWfStepCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4561
|
-
MtnaWfStepCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, declarations: [MtnaWfStepCardComponent], imports: [i4
|
|
4562
|
-
MtnaWfStepCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, imports: [[i4
|
|
4638
|
+
MtnaWfStepCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, declarations: [MtnaWfStepCardComponent], imports: [i4.A11yModule, i3$1.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule], exports: [MtnaWfStepCardComponent] });
|
|
4639
|
+
MtnaWfStepCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, imports: [[i4.A11yModule, i3$1.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule]] });
|
|
4563
4640
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfStepCardModule, decorators: [{
|
|
4564
4641
|
type: i0.NgModule,
|
|
4565
4642
|
args: [{
|
|
4566
|
-
imports: [i4
|
|
4643
|
+
imports: [i4.A11yModule, i3$1.CommonModule, i1$6.MatCardModule, i1$1.MtnaStatusCircleModule, MtnaWfSanitizeHtmlPipeModule, i2$2.MatDividerModule],
|
|
4567
4644
|
declarations: [MtnaWfStepCardComponent],
|
|
4568
4645
|
exports: [MtnaWfStepCardComponent],
|
|
4569
4646
|
}]
|
|
@@ -4575,8 +4652,8 @@
|
|
|
4575
4652
|
return MtnaFormModule;
|
|
4576
4653
|
}());
|
|
4577
4654
|
MtnaFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4578
|
-
MtnaFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, declarations: [MtnaWfFormComponent], imports: [i4
|
|
4579
|
-
|
|
4655
|
+
MtnaFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, declarations: [MtnaWfFormComponent], imports: [i4.A11yModule,
|
|
4656
|
+
i3$1.CommonModule,
|
|
4580
4657
|
flexLayout.FlexLayoutModule,
|
|
4581
4658
|
i6.FormsModule,
|
|
4582
4659
|
MtnaWfFormItemModule,
|
|
@@ -4586,8 +4663,8 @@
|
|
|
4586
4663
|
MtnaWfFormStepperModule,
|
|
4587
4664
|
MtnaWfStepCardModule], exports: [MtnaWfFormComponent] });
|
|
4588
4665
|
MtnaFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaFormModule, providers: [{ provide: i3.ErrorStateMatcher, useClass: MtnaWfInstantValidationResultErrorStateMatcher }], imports: [[
|
|
4589
|
-
i4
|
|
4590
|
-
|
|
4666
|
+
i4.A11yModule,
|
|
4667
|
+
i3$1.CommonModule,
|
|
4591
4668
|
flexLayout.FlexLayoutModule,
|
|
4592
4669
|
i6.FormsModule,
|
|
4593
4670
|
MtnaWfFormItemModule,
|
|
@@ -4601,8 +4678,8 @@
|
|
|
4601
4678
|
type: i0.NgModule,
|
|
4602
4679
|
args: [{
|
|
4603
4680
|
imports: [
|
|
4604
|
-
i4
|
|
4605
|
-
|
|
4681
|
+
i4.A11yModule,
|
|
4682
|
+
i3$1.CommonModule,
|
|
4606
4683
|
flexLayout.FlexLayoutModule,
|
|
4607
4684
|
i6.FormsModule,
|
|
4608
4685
|
MtnaWfFormItemModule,
|
|
@@ -4620,8 +4697,8 @@
|
|
|
4620
4697
|
|
|
4621
4698
|
var MtnaWfBooleanComponent = /** @class */ (function (_super) {
|
|
4622
4699
|
__extends(MtnaWfBooleanComponent, _super);
|
|
4623
|
-
function MtnaWfBooleanComponent(uiService) {
|
|
4624
|
-
var _this = _super.call(this) || this;
|
|
4700
|
+
function MtnaWfBooleanComponent(cdr, uiService) {
|
|
4701
|
+
var _this = _super.call(this, cdr) || this;
|
|
4625
4702
|
_this.uiService = uiService;
|
|
4626
4703
|
return _this;
|
|
4627
4704
|
}
|
|
@@ -4633,8 +4710,8 @@
|
|
|
4633
4710
|
};
|
|
4634
4711
|
return MtnaWfBooleanComponent;
|
|
4635
4712
|
}(MtnaWfBaseParentValueItem));
|
|
4636
|
-
MtnaWfBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, deps: [{ token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4637
|
-
MtnaWfBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBooleanComponent, selector: "mtna-wf-boolean-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-slide-toggle
|
|
4713
|
+
MtnaWfBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MtnaWfUIService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4714
|
+
MtnaWfBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfBooleanComponent, selector: "mtna-wf-boolean-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-slide-toggle\n *ngIf=\"control\"\n [formControl]=\"control\"\n [disabled]=\"readonly\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n (change)=\"toggleChange($event)\"\n >{{ item.option.option.name }}</mat-slide-toggle\n>\n<ng-container *ngIf=\"!!item.optionItemMap\">\n <mtna-wf-item\n *ngFor=\"let f of item.optionItemMap | keyvalue; trackBy: _trackByInstanceId\"\n [item]=\"f.value\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[f.value.instanceId] : undefined\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n <ng-container> </ng-container>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-boolean-item{padding-right:24px}mtna-wf-boolean-item{display:block}mtna-wf-boolean-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-boolean-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-boolean-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-boolean-item .mat-slide-toggle{margin:4px 0}mtna-wf-boolean-item .mat-slide-toggle+mtna-wf-item{margin-top:0}mtna-wf-boolean-item .mat-slide-toggle~mtna-wf-item{padding-left:18px}mtna-wf-boolean-item.read-only .mat-slide-toggle.mat-disabled{opacity:.8}mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label,mtna-wf-boolean-item.read-only .mat-slide-toggle .mat-slide-toggle-label .mat-slide-toggle-bar .mat-slide-toggle-thumb-container{cursor:default}mtna-wf-boolean-item .mat-slide-toggle{height:auto;min-height:24px;width:100%}mtna-wf-boolean-item .mat-slide-toggle>.mat-slide-toggle-label>.mat-slide-toggle-content{white-space:normal}\n"], components: [{ type: i2__namespace$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "required", "checked", "aria-describedby"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4638
4715
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanComponent, decorators: [{
|
|
4639
4716
|
type: i0.Component,
|
|
4640
4717
|
args: [{
|
|
@@ -4644,7 +4721,7 @@
|
|
|
4644
4721
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4645
4722
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4646
4723
|
}]
|
|
4647
|
-
}], ctorParameters: function () { return [{ type: MtnaWfUIService }]; } });
|
|
4724
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfUIService }]; } });
|
|
4648
4725
|
|
|
4649
4726
|
var MtnaWfBooleanModule = /** @class */ (function () {
|
|
4650
4727
|
function MtnaWfBooleanModule() {
|
|
@@ -4652,12 +4729,34 @@
|
|
|
4652
4729
|
return MtnaWfBooleanModule;
|
|
4653
4730
|
}());
|
|
4654
4731
|
MtnaWfBooleanModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4655
|
-
MtnaWfBooleanModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, declarations: [MtnaWfBooleanComponent], imports: [
|
|
4656
|
-
|
|
4732
|
+
MtnaWfBooleanModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, declarations: [MtnaWfBooleanComponent], imports: [i3$1.CommonModule,
|
|
4733
|
+
i2$3.MatSlideToggleModule,
|
|
4734
|
+
MtnaWfFormItemModule,
|
|
4735
|
+
i6.FormsModule,
|
|
4736
|
+
i6.ReactiveFormsModule,
|
|
4737
|
+
MtnaWfAcknowledgeDialogModule,
|
|
4738
|
+
i1$1.MtnaHighlightModule], exports: [MtnaWfBooleanComponent] });
|
|
4739
|
+
MtnaWfBooleanModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, imports: [[
|
|
4740
|
+
i3$1.CommonModule,
|
|
4741
|
+
i2$3.MatSlideToggleModule,
|
|
4742
|
+
MtnaWfFormItemModule,
|
|
4743
|
+
i6.FormsModule,
|
|
4744
|
+
i6.ReactiveFormsModule,
|
|
4745
|
+
MtnaWfAcknowledgeDialogModule,
|
|
4746
|
+
i1$1.MtnaHighlightModule,
|
|
4747
|
+
]] });
|
|
4657
4748
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfBooleanModule, decorators: [{
|
|
4658
4749
|
type: i0.NgModule,
|
|
4659
4750
|
args: [{
|
|
4660
|
-
imports: [
|
|
4751
|
+
imports: [
|
|
4752
|
+
i3$1.CommonModule,
|
|
4753
|
+
i2$3.MatSlideToggleModule,
|
|
4754
|
+
MtnaWfFormItemModule,
|
|
4755
|
+
i6.FormsModule,
|
|
4756
|
+
i6.ReactiveFormsModule,
|
|
4757
|
+
MtnaWfAcknowledgeDialogModule,
|
|
4758
|
+
i1$1.MtnaHighlightModule,
|
|
4759
|
+
],
|
|
4661
4760
|
declarations: [MtnaWfBooleanComponent],
|
|
4662
4761
|
exports: [MtnaWfBooleanComponent],
|
|
4663
4762
|
}]
|
|
@@ -4665,8 +4764,8 @@
|
|
|
4665
4764
|
|
|
4666
4765
|
var MtnaWfCheckboxComponent = /** @class */ (function (_super) {
|
|
4667
4766
|
__extends(MtnaWfCheckboxComponent, _super);
|
|
4668
|
-
function MtnaWfCheckboxComponent(dialogService) {
|
|
4669
|
-
var _this = _super.call(this) || this;
|
|
4767
|
+
function MtnaWfCheckboxComponent(cdr, dialogService) {
|
|
4768
|
+
var _this = _super.call(this, cdr) || this;
|
|
4670
4769
|
_this.dialogService = dialogService;
|
|
4671
4770
|
_this.destroyed$ = new rxjs.Subject();
|
|
4672
4771
|
return _this;
|
|
@@ -4716,7 +4815,6 @@
|
|
|
4716
4815
|
* @param acknowledgementItem The form item that represents the acknowledgement text to display to the user.
|
|
4717
4816
|
* */
|
|
4718
4817
|
MtnaWfCheckboxComponent.prototype.showAcknowledgement = function (event, acknowledgementItem) {
|
|
4719
|
-
console.warn('showAcknowledgement in checkbox component');
|
|
4720
4818
|
event.stopPropagation();
|
|
4721
4819
|
event.preventDefault();
|
|
4722
4820
|
this.dialogService.showAcknowledgement(acknowledgementItem);
|
|
@@ -4730,8 +4828,8 @@
|
|
|
4730
4828
|
};
|
|
4731
4829
|
return MtnaWfCheckboxComponent;
|
|
4732
4830
|
}(MtnaWfBaseParentValueItem));
|
|
4733
|
-
MtnaWfCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, deps: [{ token: MtnaWfDialogService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4734
|
-
MtnaWfCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxComponent, selector: "mtna-wf-checkbox-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"hasItemHeader\" class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control?.invalid && (control?.dirty || control?.touched)\">\n <mat-error *ngFor=\"let error of control?.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n</div>\n<fieldset\n class=\"control-item-content\"\n [class.single-option]=\"item.options.length === 1\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <ng-container *ngFor=\"let opt of item.options; let i = index; trackBy: _trackByOptionId\">\n <mat-checkbox\n *ngIf=\"!!control && !!control.controls && !!control.controls[i]\"\n [disableRipple]=\"readonly\"\n [formControl]=\"$any(control.controls[i])\"\n [color]=\"color\"\n (change)=\"handleChange($event, i)\"\n >{{ opt.option.name }}\n <button\n *ngIf=\"opt.acknowledgement && control.controls[i].value\"\n aria-label=\"Acknowledged. Click to view the agreement.\"\n class=\"acknowledge-verification-button\"\n mat-icon-button\n matTooltip=\"Acknowledged. Click to view the agreement.\"\n matTooltipShowDelay=\"800\"\n (click)=\"showAcknowledgement($event, opt.acknowledgement)\"\n (mousedown)=\"stopEventPropagation($event)\"\n (touchstart)=\"stopEventPropagation($event)\"\n >\n <mat-icon>verified</mat-icon>\n </button>\n </mat-checkbox>\n <ng-container *ngIf=\"item.optionItemMap[opt.option.id]\">\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n ></mtna-wf-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-checkbox-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-checkbox-item .mat-checkbox{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button{vertical-align:top;width:18px;height:18px;line-height:18px;margin-left:4px}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button .mat-icon{width:18px;height:18px;line-height:18px;font-size:18px}mtna-wf-checkbox-item fieldset{border:none;margin:0}mtna-wf-checkbox-item fieldset.control-item-content.single-option{padding:0}mtna-wf-checkbox-item .mat-checkbox+mtna-wf-item{margin-top:0;padding-left:24px}mtna-wf-checkbox-item.read-only .mat-checkbox{cursor:default}\n"], components: [{ type: i2__namespace$3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type:
|
|
4831
|
+
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 });
|
|
4832
|
+
MtnaWfCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfCheckboxComponent, selector: "mtna-wf-checkbox-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"hasItemHeader\" class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control?.invalid && (control?.dirty || control?.touched)\">\n <mat-error *ngFor=\"let error of control?.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n</div>\n<fieldset\n class=\"control-item-content\"\n [class.single-option]=\"item.options.length === 1\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <ng-container *ngFor=\"let opt of item.options; let i = index; trackBy: _trackByOptionId\">\n <mat-checkbox\n *ngIf=\"!!control && !!control.controls && !!control.controls[i]\"\n [disableRipple]=\"readonly\"\n [formControl]=\"$any(control.controls[i])\"\n [color]=\"color\"\n [disabled]=\"readonly\"\n (change)=\"handleChange($event, i)\"\n >{{ opt.option.name }}\n <button\n *ngIf=\"opt.acknowledgement && control.controls[i].value\"\n aria-label=\"Acknowledged. Click to view the agreement.\"\n class=\"acknowledge-verification-button\"\n mat-icon-button\n matTooltip=\"Acknowledged. Click to view the agreement.\"\n matTooltipShowDelay=\"800\"\n (click)=\"showAcknowledgement($event, opt.acknowledgement)\"\n (mousedown)=\"stopEventPropagation($event)\"\n (touchstart)=\"stopEventPropagation($event)\"\n >\n <mat-icon>verified</mat-icon>\n </button>\n </mat-checkbox>\n <ng-container *ngIf=\"item.optionItemMap[opt.option.id]\">\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n ></mtna-wf-item>\n </ng-container>\n </ng-container>\n</fieldset>\n", styles: ["mtna-wf-checkbox-item{display:flex;flex-direction:column;position:relative}mtna-wf-checkbox-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-checkbox-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-checkbox-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-checkbox-item .mat-checkbox{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout{display:block}mtna-wf-checkbox-item .mat-checkbox>.mat-checkbox-layout>.mat-checkbox-label{white-space:normal}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button{vertical-align:top;width:18px;height:18px;line-height:18px;margin-left:4px}mtna-wf-checkbox-item .mat-checkbox .acknowledge-verification-button .mat-icon{width:18px;height:18px;line-height:18px;font-size:18px}mtna-wf-checkbox-item fieldset{border:none;margin:0}mtna-wf-checkbox-item fieldset.control-item-content.single-option{padding:0}mtna-wf-checkbox-item .mat-checkbox+mtna-wf-item{margin-top:0;padding-left:24px}mtna-wf-checkbox-item.read-only .mat-checkbox{cursor:default}\n"], components: [{ type: i2__namespace$3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4735
4833
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxComponent, decorators: [{
|
|
4736
4834
|
type: i0.Component,
|
|
4737
4835
|
args: [{
|
|
@@ -4741,7 +4839,24 @@
|
|
|
4741
4839
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4742
4840
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4743
4841
|
}]
|
|
4744
|
-
}], ctorParameters: function () { return [{ type: MtnaWfDialogService }]; } });
|
|
4842
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfDialogService }]; } });
|
|
4843
|
+
|
|
4844
|
+
var MtnaWfFormItemDialogModule = /** @class */ (function () {
|
|
4845
|
+
function MtnaWfFormItemDialogModule() {
|
|
4846
|
+
}
|
|
4847
|
+
return MtnaWfFormItemDialogModule;
|
|
4848
|
+
}());
|
|
4849
|
+
MtnaWfFormItemDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4850
|
+
MtnaWfFormItemDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, declarations: [MtnaWfFormItemDialogComponent], imports: [i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule], exports: [MtnaWfFormItemDialogComponent] });
|
|
4851
|
+
MtnaWfFormItemDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, imports: [[i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule]] });
|
|
4852
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, decorators: [{
|
|
4853
|
+
type: i0.NgModule,
|
|
4854
|
+
args: [{
|
|
4855
|
+
imports: [i3$1.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule],
|
|
4856
|
+
declarations: [MtnaWfFormItemDialogComponent],
|
|
4857
|
+
exports: [MtnaWfFormItemDialogComponent],
|
|
4858
|
+
}]
|
|
4859
|
+
}] });
|
|
4745
4860
|
|
|
4746
4861
|
var MtnaWfCheckboxModule = /** @class */ (function () {
|
|
4747
4862
|
function MtnaWfCheckboxModule() {
|
|
@@ -4749,45 +4864,48 @@
|
|
|
4749
4864
|
return MtnaWfCheckboxModule;
|
|
4750
4865
|
}());
|
|
4751
4866
|
MtnaWfCheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4752
|
-
MtnaWfCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, declarations: [MtnaWfCheckboxComponent], imports: [
|
|
4867
|
+
MtnaWfCheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, declarations: [MtnaWfCheckboxComponent], imports: [i3$1.CommonModule,
|
|
4753
4868
|
MtnaWfGetFormControlErrorPipeModule,
|
|
4754
4869
|
i6.FormsModule,
|
|
4755
4870
|
i1$7.MatFormFieldModule,
|
|
4756
4871
|
i2$4.MatCheckboxModule,
|
|
4757
|
-
i3$
|
|
4872
|
+
i3$2.MatButtonModule,
|
|
4758
4873
|
i5.MatIconModule,
|
|
4759
4874
|
i6$1.MatTooltipModule,
|
|
4760
4875
|
MtnaWfFormItemModule,
|
|
4761
4876
|
i1$1.MtnaHighlightModule,
|
|
4762
|
-
i6.ReactiveFormsModule
|
|
4877
|
+
i6.ReactiveFormsModule,
|
|
4878
|
+
MtnaWfFormItemDialogModule], exports: [MtnaWfCheckboxComponent] });
|
|
4763
4879
|
MtnaWfCheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, imports: [[
|
|
4764
|
-
|
|
4880
|
+
i3$1.CommonModule,
|
|
4765
4881
|
MtnaWfGetFormControlErrorPipeModule,
|
|
4766
4882
|
i6.FormsModule,
|
|
4767
4883
|
i1$7.MatFormFieldModule,
|
|
4768
4884
|
i2$4.MatCheckboxModule,
|
|
4769
|
-
i3$
|
|
4885
|
+
i3$2.MatButtonModule,
|
|
4770
4886
|
i5.MatIconModule,
|
|
4771
4887
|
i6$1.MatTooltipModule,
|
|
4772
4888
|
MtnaWfFormItemModule,
|
|
4773
4889
|
i1$1.MtnaHighlightModule,
|
|
4774
4890
|
i6.ReactiveFormsModule,
|
|
4891
|
+
MtnaWfFormItemDialogModule,
|
|
4775
4892
|
]] });
|
|
4776
4893
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfCheckboxModule, decorators: [{
|
|
4777
4894
|
type: i0.NgModule,
|
|
4778
4895
|
args: [{
|
|
4779
4896
|
imports: [
|
|
4780
|
-
|
|
4897
|
+
i3$1.CommonModule,
|
|
4781
4898
|
MtnaWfGetFormControlErrorPipeModule,
|
|
4782
4899
|
i6.FormsModule,
|
|
4783
4900
|
i1$7.MatFormFieldModule,
|
|
4784
4901
|
i2$4.MatCheckboxModule,
|
|
4785
|
-
i3$
|
|
4902
|
+
i3$2.MatButtonModule,
|
|
4786
4903
|
i5.MatIconModule,
|
|
4787
4904
|
i6$1.MatTooltipModule,
|
|
4788
4905
|
MtnaWfFormItemModule,
|
|
4789
4906
|
i1$1.MtnaHighlightModule,
|
|
4790
4907
|
i6.ReactiveFormsModule,
|
|
4908
|
+
MtnaWfFormItemDialogModule,
|
|
4791
4909
|
],
|
|
4792
4910
|
declarations: [MtnaWfCheckboxComponent],
|
|
4793
4911
|
exports: [MtnaWfCheckboxComponent],
|
|
@@ -4796,8 +4914,8 @@
|
|
|
4796
4914
|
|
|
4797
4915
|
var MtnaWfDateComponent = /** @class */ (function (_super) {
|
|
4798
4916
|
__extends(MtnaWfDateComponent, _super);
|
|
4799
|
-
function MtnaWfDateComponent(logger) {
|
|
4800
|
-
var _this = _super.call(this) || this;
|
|
4917
|
+
function MtnaWfDateComponent(cdr, logger) {
|
|
4918
|
+
var _this = _super.call(this, cdr) || this;
|
|
4801
4919
|
_this.dateItemClass = true;
|
|
4802
4920
|
// TODO: This is not currenlty used, the back end needs to add range limits on the DateItem in order for this to work
|
|
4803
4921
|
// Remove once accomplished and replace usage with item.rangeLimits in the html
|
|
@@ -4857,8 +4975,8 @@
|
|
|
4857
4975
|
return MtnaWfDateComponent;
|
|
4858
4976
|
}(MtnaWfBaseValueItem));
|
|
4859
4977
|
MtnaWfDateComponent.dateFormItemComponentInstances = 0;
|
|
4860
|
-
MtnaWfDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, deps: [{ token: i1__namespace$1.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4861
|
-
MtnaWfDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: { rangeLimits: "rangeLimits" }, host: { properties: { "class.mtna-wf-date-item": "this.dateItemClass" } }, viewQueries: [{ propertyName: "picker", first: true, predicate: i3$
|
|
4978
|
+
MtnaWfDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.MtnaLogger }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4979
|
+
MtnaWfDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: { rangeLimits: "rangeLimits" }, host: { properties: { "class.mtna-wf-date-item": "this.dateItemClass" } }, viewQueries: [{ propertyName: "picker", first: true, predicate: i3$4.MatDatepicker, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<mat-form-field *ngIf=\"control\" appearance=\"outline\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\">\n <mat-label>{{ item.label || 'Date' }}</mat-label>\n <input\n matInput\n [matDatepicker]=\"picker\"\n [formControl]=\"control\"\n [max]=\"rangeLimits?.end\"\n [min]=\"rangeLimits?.start\"\n placeholder=\"Choose a date\"\n [required]=\"item.required\"\n />\n <mat-datepicker-toggle matSuffix [for]=\"picker\" [disabled]=\"readonly || control.disabled\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n <mat-hint>{{ item.format }}</mat-hint>\n</mat-form-field>\n", styles: ["mtna-wf-date-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-date-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-date-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i3__namespace$4.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["tabIndex", "disabled", "for", "aria-label", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i3__namespace$4.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i3__namespace$4.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$5.MatSuffix, selector: "[matSuffix]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4862
4980
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateComponent, decorators: [{
|
|
4863
4981
|
type: i0.Component,
|
|
4864
4982
|
args: [{
|
|
@@ -4868,14 +4986,14 @@
|
|
|
4868
4986
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4869
4987
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4870
4988
|
}]
|
|
4871
|
-
}], ctorParameters: function () { return [{ type: i1__namespace$1.MtnaLogger }]; }, propDecorators: { dateItemClass: [{
|
|
4989
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.MtnaLogger }]; }, propDecorators: { dateItemClass: [{
|
|
4872
4990
|
type: i0.HostBinding,
|
|
4873
4991
|
args: ['class.mtna-wf-date-item']
|
|
4874
4992
|
}], rangeLimits: [{
|
|
4875
4993
|
type: i0.Input
|
|
4876
4994
|
}], picker: [{
|
|
4877
4995
|
type: i0.ViewChild,
|
|
4878
|
-
args: [i3$
|
|
4996
|
+
args: [i3$4.MatDatepicker, { static: false }]
|
|
4879
4997
|
}] } });
|
|
4880
4998
|
|
|
4881
4999
|
var MtnaWfDateModule = /** @class */ (function () {
|
|
@@ -4884,21 +5002,21 @@
|
|
|
4884
5002
|
return MtnaWfDateModule;
|
|
4885
5003
|
}());
|
|
4886
5004
|
MtnaWfDateModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4887
|
-
MtnaWfDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, declarations: [MtnaWfDateComponent], imports: [
|
|
5005
|
+
MtnaWfDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, declarations: [MtnaWfDateComponent], imports: [i3$1.CommonModule,
|
|
4888
5006
|
i6.FormsModule,
|
|
4889
5007
|
i1$7.MatFormFieldModule,
|
|
4890
5008
|
i5$1.MatInputModule,
|
|
4891
|
-
i3$
|
|
5009
|
+
i3$4.MatDatepickerModule,
|
|
4892
5010
|
materialMomentAdapter.MatMomentDateModule,
|
|
4893
5011
|
i1$1.MtnaHighlightModule,
|
|
4894
5012
|
i6.ReactiveFormsModule,
|
|
4895
5013
|
MtnaWfGetFormControlErrorPipeModule], exports: [MtnaWfDateComponent] });
|
|
4896
5014
|
MtnaWfDateModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateModule, imports: [[
|
|
4897
|
-
|
|
5015
|
+
i3$1.CommonModule,
|
|
4898
5016
|
i6.FormsModule,
|
|
4899
5017
|
i1$7.MatFormFieldModule,
|
|
4900
5018
|
i5$1.MatInputModule,
|
|
4901
|
-
i3$
|
|
5019
|
+
i3$4.MatDatepickerModule,
|
|
4902
5020
|
materialMomentAdapter.MatMomentDateModule,
|
|
4903
5021
|
i1$1.MtnaHighlightModule,
|
|
4904
5022
|
i6.ReactiveFormsModule,
|
|
@@ -4908,11 +5026,11 @@
|
|
|
4908
5026
|
type: i0.NgModule,
|
|
4909
5027
|
args: [{
|
|
4910
5028
|
imports: [
|
|
4911
|
-
|
|
5029
|
+
i3$1.CommonModule,
|
|
4912
5030
|
i6.FormsModule,
|
|
4913
5031
|
i1$7.MatFormFieldModule,
|
|
4914
5032
|
i5$1.MatInputModule,
|
|
4915
|
-
i3$
|
|
5033
|
+
i3$4.MatDatepickerModule,
|
|
4916
5034
|
materialMomentAdapter.MatMomentDateModule,
|
|
4917
5035
|
i1$1.MtnaHighlightModule,
|
|
4918
5036
|
i6.ReactiveFormsModule,
|
|
@@ -4944,7 +5062,7 @@
|
|
|
4944
5062
|
return MtnaWfDateRangeComponent;
|
|
4945
5063
|
}(MtnaWfBaseValueItem));
|
|
4946
5064
|
MtnaWfDateRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4947
|
-
MtnaWfDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateRangeComponent, selector: "mtna-wf-date-range", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-date-item\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [item]=\"_startItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n <span fxFlex=\"14px\"> to </span>\n <mtna-wf-date-item\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [item]=\"_endItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n</div>\n", components: [{ type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: ["rangeLimits"] }], directives: [{ type:
|
|
5065
|
+
MtnaWfDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDateRangeComponent, selector: "mtna-wf-date-range", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-date-item\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [item]=\"_startItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n <span fxFlex=\"14px\"> to </span>\n <mtna-wf-date-item\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [item]=\"_endItem\"\n [rangeLimits]=\"item.rangeLimits\"\n [readonly]=\"readonly\"\n ></mtna-wf-date-item>\n</div>\n", components: [{ type: MtnaWfDateComponent, selector: "mtna-wf-date-item", inputs: ["rangeLimits"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4948
5066
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeComponent, decorators: [{
|
|
4949
5067
|
type: i0.Component,
|
|
4950
5068
|
args: [{
|
|
@@ -4961,7 +5079,7 @@
|
|
|
4961
5079
|
return MtnaWfDateRangeModule;
|
|
4962
5080
|
}());
|
|
4963
5081
|
MtnaWfDateRangeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
4964
|
-
MtnaWfDateRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, declarations: [MtnaWfDateRangeComponent], imports: [
|
|
5082
|
+
MtnaWfDateRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, declarations: [MtnaWfDateRangeComponent], imports: [i3$1.CommonModule,
|
|
4965
5083
|
i1$1.MtnaHighlightModule,
|
|
4966
5084
|
MtnaWfDateModule,
|
|
4967
5085
|
flexLayout.FlexLayoutModule,
|
|
@@ -4969,7 +5087,7 @@
|
|
|
4969
5087
|
i6.ReactiveFormsModule,
|
|
4970
5088
|
MtnaWfCoerceFormControlPipeModule], exports: [MtnaWfDateRangeComponent] });
|
|
4971
5089
|
MtnaWfDateRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDateRangeModule, imports: [[
|
|
4972
|
-
|
|
5090
|
+
i3$1.CommonModule,
|
|
4973
5091
|
i1$1.MtnaHighlightModule,
|
|
4974
5092
|
MtnaWfDateModule,
|
|
4975
5093
|
flexLayout.FlexLayoutModule,
|
|
@@ -4981,7 +5099,7 @@
|
|
|
4981
5099
|
type: i0.NgModule,
|
|
4982
5100
|
args: [{
|
|
4983
5101
|
imports: [
|
|
4984
|
-
|
|
5102
|
+
i3$1.CommonModule,
|
|
4985
5103
|
i1$1.MtnaHighlightModule,
|
|
4986
5104
|
MtnaWfDateModule,
|
|
4987
5105
|
flexLayout.FlexLayoutModule,
|
|
@@ -5002,7 +5120,7 @@
|
|
|
5002
5120
|
return MtnaWfDropdownComponent;
|
|
5003
5121
|
}(MtnaWfBaseSingleSelectionParentValueItem));
|
|
5004
5122
|
MtnaWfDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5005
|
-
MtnaWfDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDropdownComponent, selector: "mtna-wf-dropdown-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <mat-select [formControl]=\"control\" (selectionChange)=\"selectionChange($event)\" [required]=\"item.required\">\n <mat-option *ngIf=\"!item.required\">-- None --</mat-option>\n <mat-option *ngFor=\"let opt of item.options\" [value]=\"opt.option.id\" [disabled]=\"control.value === opt.option.id\">{{\n opt.option.name\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<ng-template #readOnly>\n <ng-container *ngIf=\"inList; else fullList\">\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </ng-container>\n\n <ng-template #fullList>\n <mat-list>\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</ng-template>\n", styles: ["mtna-wf-dropdown-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-dropdown-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$
|
|
5123
|
+
MtnaWfDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfDropdownComponent, selector: "mtna-wf-dropdown-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <mat-select [formControl]=\"control\" (selectionChange)=\"selectionChange($event)\" [required]=\"item.required\">\n <mat-option *ngIf=\"!item.required\">-- None --</mat-option>\n <mat-option *ngFor=\"let opt of item.options\" [value]=\"opt.option.id\" [disabled]=\"control.value === opt.option.id\">{{\n opt.option.name\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<ng-template #readOnly>\n <ng-container *ngIf=\"inList; else fullList\">\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </ng-container>\n\n <ng-template #fullList>\n <mat-list>\n <mat-list-item *ngIf=\"item.required || !!item.value\">\n <mat-icon *ngIf=\"item.label | mtnaWfGetListIcon as icon\" matListIcon>{{ icon }}</mat-icon>\n <h4 matLine>{{ item.label }}</h4>\n <p matLine>{{ item.value || control?.value | mtnaWfGetSelectedOptionName : item.options }}</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n</ng-template>\n", styles: ["mtna-wf-dropdown-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-dropdown-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-dropdown-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$3.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i4__namespace$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$1.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i4__namespace$1.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetListIcon": MtnaWfGetListIconPipe, "mtnaWfGetSelectedOptionName": MtnaWfGetSelectedOptionNamePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5006
5124
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownComponent, decorators: [{
|
|
5007
5125
|
type: i0.Component,
|
|
5008
5126
|
args: [{
|
|
@@ -5020,24 +5138,24 @@
|
|
|
5020
5138
|
return MtnaWfDropdownModule;
|
|
5021
5139
|
}());
|
|
5022
5140
|
MtnaWfDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5023
|
-
MtnaWfDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, declarations: [MtnaWfDropdownComponent], imports: [
|
|
5141
|
+
MtnaWfDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, declarations: [MtnaWfDropdownComponent], imports: [i3$1.CommonModule,
|
|
5024
5142
|
i6.FormsModule,
|
|
5025
5143
|
i1$7.MatFormFieldModule,
|
|
5026
5144
|
i2.MatSelectModule,
|
|
5027
5145
|
i1$1.MtnaHighlightModule,
|
|
5028
|
-
i4$
|
|
5146
|
+
i4$1.MatListModule,
|
|
5029
5147
|
i5.MatIconModule,
|
|
5030
5148
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5031
5149
|
MtnaWfGetSelectedOptionNamePipeModule,
|
|
5032
5150
|
MtnaWfGetListIconPipeModule,
|
|
5033
5151
|
i6.ReactiveFormsModule], exports: [MtnaWfDropdownComponent] });
|
|
5034
5152
|
MtnaWfDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfDropdownModule, imports: [[
|
|
5035
|
-
|
|
5153
|
+
i3$1.CommonModule,
|
|
5036
5154
|
i6.FormsModule,
|
|
5037
5155
|
i1$7.MatFormFieldModule,
|
|
5038
5156
|
i2.MatSelectModule,
|
|
5039
5157
|
i1$1.MtnaHighlightModule,
|
|
5040
|
-
i4$
|
|
5158
|
+
i4$1.MatListModule,
|
|
5041
5159
|
i5.MatIconModule,
|
|
5042
5160
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5043
5161
|
MtnaWfGetSelectedOptionNamePipeModule,
|
|
@@ -5048,12 +5166,12 @@
|
|
|
5048
5166
|
type: i0.NgModule,
|
|
5049
5167
|
args: [{
|
|
5050
5168
|
imports: [
|
|
5051
|
-
|
|
5169
|
+
i3$1.CommonModule,
|
|
5052
5170
|
i6.FormsModule,
|
|
5053
5171
|
i1$7.MatFormFieldModule,
|
|
5054
5172
|
i2.MatSelectModule,
|
|
5055
5173
|
i1$1.MtnaHighlightModule,
|
|
5056
|
-
i4$
|
|
5174
|
+
i4$1.MatListModule,
|
|
5057
5175
|
i5.MatIconModule,
|
|
5058
5176
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5059
5177
|
MtnaWfGetSelectedOptionNamePipeModule,
|
|
@@ -5067,8 +5185,8 @@
|
|
|
5067
5185
|
|
|
5068
5186
|
var MtnaWfFileUploadComponent = /** @class */ (function (_super) {
|
|
5069
5187
|
__extends(MtnaWfFileUploadComponent, _super);
|
|
5070
|
-
function MtnaWfFileUploadComponent(fileService) {
|
|
5071
|
-
var _this = _super.call(this) || this;
|
|
5188
|
+
function MtnaWfFileUploadComponent(cdr, fileService) {
|
|
5189
|
+
var _this = _super.call(this, cdr) || this;
|
|
5072
5190
|
_this.fileService = fileService;
|
|
5073
5191
|
_this.loading = false;
|
|
5074
5192
|
return _this;
|
|
@@ -5104,8 +5222,8 @@
|
|
|
5104
5222
|
};
|
|
5105
5223
|
return MtnaWfFileUploadComponent;
|
|
5106
5224
|
}(MtnaWfBaseFormItemControl));
|
|
5107
|
-
MtnaWfFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, deps: [{ token: i1__namespace$6.FileService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5108
|
-
MtnaWfFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFileUploadComponent, selector: "mtna-wf-file-upload-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div class=\"content\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item
|
|
5225
|
+
MtnaWfFileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$6.FileService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5226
|
+
MtnaWfFileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFileUploadComponent, selector: "mtna-wf-file-upload-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div class=\"content\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item?.descriptiveText\">\n <ng-container *ngIf=\"!readonly; else readOnly\">\n <ng-container *ngIf=\"!loading; else loader\">\n <mtna-file-download\n *ngIf=\"!!fileInfo; else fileUpload\"\n [fileInfo]=\"fileInfo\"\n [canRemove]=\"true\"\n color=\"primary\"\n [canDownload]=\"true\"\n (download)=\"handleDownload($event)\"\n (remove)=\"removeFile()\"\n ></mtna-file-download>\n\n <ng-template #fileUpload>\n <mtna-file-upload\n [automaticUpload]=\"false\"\n color=\"primary\"\n [buttonText]=\"'CHOOSE A FILE'\"\n (fileToUpload)=\"fileToUpload($event)\"\n ></mtna-file-upload>\n </ng-template>\n </ng-container>\n </ng-container>\n\n <!-- READONLY -->\n <ng-template #readOnly>\n <!-- anchor being used, due to <fieldset disabled> blocking a <button>'s click event -->\n <a\n *ngIf=\"!!item && !!item.value; else unpopulated\"\n class=\"single-icon-button\"\n color=\"primary\"\n mat-stroked-button\n role=\"button\"\n (click)=\"handleDownload(item.value)\"\n >\n <mat-icon color=\"primary\">file_download</mat-icon>\n {{ (item!.value!.fileName ? item!.value!.fileName : '') | uppercase }}\n </a>\n <ng-template #unpopulated>\n <mat-list>\n <mat-list-item class=\"wrappable-list-item\">\n <p mat-line class=\"wrap-line\">No File Provided</p>\n </mat-list-item>\n </mat-list>\n </ng-template>\n </ng-template>\n</div>\n\n<!-- PROGRESS SPINNER -->\n<ng-template #loader>\n <mat-spinner diameter=\"125\" strokeWidth=\"10\" mode=\"indeterminate\"></mat-spinner>\n</ng-template>\n", styles: [":host{display:block;margin:1rem 0}mtna-file-download{margin:37px 0}mat-spinner{margin:0 87.5px}\n"], components: [{ type: i1__namespace$6.MtnaFileDownloadComponent, selector: "mtna-file-download", inputs: ["color", "canDownload", "canRemove", "fileInfo", "loading"], outputs: ["download", "remove"] }, { type: i1__namespace$6.MtnaFileUploadComponent, selector: "mtna-file-upload", inputs: ["automaticUpload", "buttonText", "buttonColor", "disabled", "fileUploadUrl", "isProd", "maxUploadSize", "uploading"], outputs: ["uploaded", "fileToUpload", "uploadStatus"] }, { type: i3__namespace$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matButton", "matAnchor"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace$1.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i5__namespace$2.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "uppercase": i3__namespace.UpperCasePipe } });
|
|
5109
5227
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadComponent, decorators: [{
|
|
5110
5228
|
type: i0.Component,
|
|
5111
5229
|
args: [{
|
|
@@ -5113,7 +5231,7 @@
|
|
|
5113
5231
|
templateUrl: './file-upload.component.html',
|
|
5114
5232
|
styleUrls: ['./file-upload.component.scss'],
|
|
5115
5233
|
}]
|
|
5116
|
-
}], ctorParameters: function () { return [{ type: i1__namespace$6.FileService }]; } });
|
|
5234
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$6.FileService }]; } });
|
|
5117
5235
|
|
|
5118
5236
|
var MtnaWfFileUploadModule = /** @class */ (function () {
|
|
5119
5237
|
function MtnaWfFileUploadModule() {
|
|
@@ -5121,35 +5239,35 @@
|
|
|
5121
5239
|
return MtnaWfFileUploadModule;
|
|
5122
5240
|
}());
|
|
5123
5241
|
MtnaWfFileUploadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5124
|
-
MtnaWfFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, declarations: [MtnaWfFileUploadComponent], imports: [
|
|
5242
|
+
MtnaWfFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, declarations: [MtnaWfFileUploadComponent], imports: [i3$1.CommonModule,
|
|
5125
5243
|
i1$1.MtnaHighlightModule,
|
|
5126
|
-
i3$
|
|
5244
|
+
i3$2.MatButtonModule,
|
|
5127
5245
|
i5.MatIconModule,
|
|
5128
5246
|
i1$8.MtnaFileDownloadModule,
|
|
5129
5247
|
i1$8.MtnaFileUploadModule,
|
|
5130
|
-
i4$
|
|
5248
|
+
i4$1.MatListModule,
|
|
5131
5249
|
i5$2.MatProgressSpinnerModule], exports: [MtnaWfFileUploadComponent] });
|
|
5132
5250
|
MtnaWfFileUploadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, imports: [[
|
|
5133
|
-
|
|
5251
|
+
i3$1.CommonModule,
|
|
5134
5252
|
i1$1.MtnaHighlightModule,
|
|
5135
|
-
i3$
|
|
5253
|
+
i3$2.MatButtonModule,
|
|
5136
5254
|
i5.MatIconModule,
|
|
5137
5255
|
i1$8.MtnaFileDownloadModule,
|
|
5138
5256
|
i1$8.MtnaFileUploadModule,
|
|
5139
|
-
i4$
|
|
5257
|
+
i4$1.MatListModule,
|
|
5140
5258
|
i5$2.MatProgressSpinnerModule,
|
|
5141
5259
|
]] });
|
|
5142
5260
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFileUploadModule, decorators: [{
|
|
5143
5261
|
type: i0.NgModule,
|
|
5144
5262
|
args: [{
|
|
5145
5263
|
imports: [
|
|
5146
|
-
|
|
5264
|
+
i3$1.CommonModule,
|
|
5147
5265
|
i1$1.MtnaHighlightModule,
|
|
5148
|
-
i3$
|
|
5266
|
+
i3$2.MatButtonModule,
|
|
5149
5267
|
i5.MatIconModule,
|
|
5150
5268
|
i1$8.MtnaFileDownloadModule,
|
|
5151
5269
|
i1$8.MtnaFileUploadModule,
|
|
5152
|
-
i4$
|
|
5270
|
+
i4$1.MatListModule,
|
|
5153
5271
|
i5$2.MatProgressSpinnerModule,
|
|
5154
5272
|
],
|
|
5155
5273
|
declarations: [MtnaWfFileUploadComponent],
|
|
@@ -5192,7 +5310,7 @@
|
|
|
5192
5310
|
return MtnaWfFormGroupComponent;
|
|
5193
5311
|
}(MtnaWfBaseGroupItem));
|
|
5194
5312
|
MtnaWfFormGroupComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5195
|
-
MtnaWfFormGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormGroupComponent, selector: "mtna-wf-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item && control\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control.disabled\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n <ng-template #fullLayout>\n <div\n class=\"item-group-container\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\"\n [formGroup]=\"control\"\n [ngClass]=\"item.layout\"\n >\n <mtna-wf-item\n *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [control]=\"control.controls[subItem.instanceId]\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </div>\n </ng-template>\n\n <!-- When readonly, && all child items should be displayed in a mat-list-->\n <mat-list *ngIf=\"readonly && inList; else fullLayout\" [ngClass]=\"item.layout\">\n <mtna-wf-item\n *ngFor=\"let subItem of item.items | mtnaWfItemsWithValue; trackby: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [inList]=\"true\"\n [parentIds]=\"parentIds\"\n [readonly]=\"true\"\n ></mtna-wf-item>\n </mat-list>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-group .item-group-container{padding-top:24px}mtna-wf-group .mtna-wf-group-header{margin-top:1rem}mtna-wf-group .mtna-wf-group-description{margin-bottom:1rem}mtna-wf-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-group mtna-wf-multiple-choice-item{display:block}mtna-wf-group .item-group-container>.mtna-wf-group{margin-top:1rem}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item){padding-left:16px}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item).width-100{width:calc(100% - 16px)}mtna-wf-group .item-group-container>mtna-wf-item:first-of-type{margin-top:0}mtna-wf-group .item-group-container.ROW>mtna-wf-item{margin-top:0}mtna-wf-group .item-group-container.ROW>*{display:block}mtna-wf-group .item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-group .item-group-container .width-100{width:100%}mtna-wf-group .item-group-container .width-100.row-item{width:calc(100% - 16px)}mtna-wf-group mtna-wf-item-header+.item-group-container{padding:.35em .75em .625em}mtna-wf-group mtna-wf-item-header+.item-group-container>mtna-wf-item{margin-top:0}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type:
|
|
5313
|
+
MtnaWfFormGroupComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormGroupComponent, selector: "mtna-wf-group", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item && control\">\n <mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control.disabled\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n ></mtna-wf-item-header>\n <ng-template #fullLayout>\n <div\n class=\"item-group-container\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\"\n [formGroup]=\"control\"\n [ngClass]=\"item.layout\"\n >\n <mtna-wf-item\n *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW' && !fullWidth[subItem.itemId]\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [control]=\"control.controls[subItem.instanceId]\"\n [parentIds]=\"parentIds\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </div>\n </ng-template>\n\n <!-- When readonly, && all child items should be displayed in a mat-list-->\n <mat-list *ngIf=\"readonly && inList; else fullLayout\" [ngClass]=\"item.layout\">\n <mtna-wf-item\n *ngFor=\"let subItem of item.items | mtnaWfItemsWithValue; trackby: _trackByInstanceId\"\n [class.row-item]=\"item.layout === 'ROW'\"\n [ngClass.lt-md]=\"'width-100'\"\n [item]=\"subItem\"\n [inList]=\"true\"\n [parentIds]=\"parentIds\"\n [readonly]=\"true\"\n ></mtna-wf-item>\n </mat-list>\n</ng-container>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-group .item-group-container{padding-top:24px}mtna-wf-group .mtna-wf-group-header{margin-top:1rem}mtna-wf-group .mtna-wf-group-description{margin-bottom:1rem}mtna-wf-group mat-list mat-list-item [mat-line]{letter-spacing:.5px}mtna-wf-group mtna-wf-multiple-choice-item{display:block}mtna-wf-group .item-group-container>.mtna-wf-group{margin-top:1rem}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item){padding-left:16px}mtna-wf-group .item-group-container>mtna-wf-item.mtna-wf-title~mtna-wf-item:not(.mtna-wf-title):not(.row-item).width-100{width:calc(100% - 16px)}mtna-wf-group .item-group-container>mtna-wf-item:first-of-type{margin-top:0}mtna-wf-group .item-group-container.ROW>mtna-wf-item{margin-top:0}mtna-wf-group .item-group-container.ROW>*{display:block}mtna-wf-group .item-group-container .row-item{width:calc(50% - 16px);display:inline-block;margin:0 8px}mtna-wf-group .item-group-container .width-100{width:100%}mtna-wf-group .item-group-container .width-100.row-item{width:calc(100% - 16px)}mtna-wf-group mtna-wf-item-header+.item-group-container{padding:.35em .75em .625em}mtna-wf-group mtna-wf-item-header+.item-group-container>mtna-wf-item{margin-top:0}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: 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 });
|
|
5196
5314
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupComponent, decorators: [{
|
|
5197
5315
|
type: i0.Component,
|
|
5198
5316
|
args: [{
|
|
@@ -5210,7 +5328,7 @@
|
|
|
5210
5328
|
return MtnaWfFormGroupModule;
|
|
5211
5329
|
}());
|
|
5212
5330
|
MtnaWfFormGroupModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5213
|
-
MtnaWfFormGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, declarations: [MtnaWfFormGroupComponent], imports: [
|
|
5331
|
+
MtnaWfFormGroupModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, declarations: [MtnaWfFormGroupComponent], imports: [i3$1.CommonModule,
|
|
5214
5332
|
MtnaWfItemHeaderModule,
|
|
5215
5333
|
i1$1.MtnaHighlightModule,
|
|
5216
5334
|
MtnaWfFormItemModule,
|
|
@@ -5219,7 +5337,7 @@
|
|
|
5219
5337
|
flexLayout.FlexLayoutModule,
|
|
5220
5338
|
MtnaWfItemsWithValuePipeModule], exports: [MtnaWfFormGroupComponent] });
|
|
5221
5339
|
MtnaWfFormGroupModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormGroupModule, imports: [[
|
|
5222
|
-
|
|
5340
|
+
i3$1.CommonModule,
|
|
5223
5341
|
MtnaWfItemHeaderModule,
|
|
5224
5342
|
i1$1.MtnaHighlightModule,
|
|
5225
5343
|
MtnaWfFormItemModule,
|
|
@@ -5232,7 +5350,7 @@
|
|
|
5232
5350
|
type: i0.NgModule,
|
|
5233
5351
|
args: [{
|
|
5234
5352
|
imports: [
|
|
5235
|
-
|
|
5353
|
+
i3$1.CommonModule,
|
|
5236
5354
|
MtnaWfItemHeaderModule,
|
|
5237
5355
|
i1$1.MtnaHighlightModule,
|
|
5238
5356
|
MtnaWfFormItemModule,
|
|
@@ -5254,7 +5372,7 @@
|
|
|
5254
5372
|
return MtnaWfFormSectionComponent;
|
|
5255
5373
|
}(MtnaWfBaseSectionItem));
|
|
5256
5374
|
MtnaWfFormSectionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5257
|
-
MtnaWfFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormSectionComponent, selector: "mtna-wf-section", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-step-card
|
|
5375
|
+
MtnaWfFormSectionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfFormSectionComponent, selector: "mtna-wf-section", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-step-card\n [step]=\"step\"\n [subtitle]=\"item.descriptiveText\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"\n (focused)=\"focused.emit($event)\"\n>\n <div cardContent>\n <ng-container *ngFor=\"let subItem of item.items; trackBy: _trackByInstanceId\">\n <mat-divider\n *ngIf=\"(subItem.itemId | mtnaWfGetObjectType) === 'formitemgroupimpl' && item.items.indexOf(subItem) !== 0\"\n class=\"section-item-divider\"\n [inset]=\"true\"\n ></mat-divider>\n\n <mtna-wf-item\n [item]=\"subItem\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n [control]=\"!!control && !!control.controls ? control.controls[subItem.instanceId] : undefined\"\n (focusedSection)=\"focused.emit($event)\"\n ></mtna-wf-item>\n </ng-container>\n </div>\n</mtna-wf-step-card>\n", styles: [":host{display:block}mat-divider.mat-divider-horizontal.mat-divider-inset.section-item-divider{margin-top:8px;margin-bottom:8px}mtna-wf-section mtna-wf-title-item .mtna-wf-title-item{font-size:.875rem;line-height:28px;font-weight:500}\n"], components: [{ type: MtnaWfStepCardComponent, selector: "mtna-wf-step-card", inputs: ["color", "step", "subtitle"], outputs: ["focused"] }, { type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: 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 });
|
|
5258
5376
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionComponent, decorators: [{
|
|
5259
5377
|
type: i0.Component,
|
|
5260
5378
|
args: [{
|
|
@@ -5271,12 +5389,12 @@
|
|
|
5271
5389
|
return MtnaWfFormSectionModule;
|
|
5272
5390
|
}());
|
|
5273
5391
|
MtnaWfFormSectionModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5274
|
-
MtnaWfFormSectionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, declarations: [MtnaWfFormSectionComponent], imports: [
|
|
5275
|
-
MtnaWfFormSectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, imports: [[
|
|
5392
|
+
MtnaWfFormSectionModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, declarations: [MtnaWfFormSectionComponent], imports: [i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i1$1.MtnaHighlightModule], exports: [MtnaWfFormSectionComponent] });
|
|
5393
|
+
MtnaWfFormSectionModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, imports: [[i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i1$1.MtnaHighlightModule]] });
|
|
5276
5394
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormSectionModule, decorators: [{
|
|
5277
5395
|
type: i0.NgModule,
|
|
5278
5396
|
args: [{
|
|
5279
|
-
imports: [
|
|
5397
|
+
imports: [i3$1.CommonModule, MtnaWfStepCardModule, i2$2.MatDividerModule, MtnaWfFormItemModule, MtnaWfGetObjectTypePipeModule, i1$1.MtnaHighlightModule],
|
|
5280
5398
|
declarations: [MtnaWfFormSectionComponent],
|
|
5281
5399
|
exports: [MtnaWfFormSectionComponent],
|
|
5282
5400
|
}]
|
|
@@ -5284,20 +5402,24 @@
|
|
|
5284
5402
|
|
|
5285
5403
|
var MtnaWfI18nInputComponent = /** @class */ (function (_super) {
|
|
5286
5404
|
__extends(MtnaWfI18nInputComponent, _super);
|
|
5287
|
-
function MtnaWfI18nInputComponent(
|
|
5288
|
-
var _this = _super.
|
|
5289
|
-
_this.
|
|
5290
|
-
_this.isParagraph = _this._hasHostAttributes('mtnaWfI18nParagraphItem');
|
|
5405
|
+
function MtnaWfI18nInputComponent() {
|
|
5406
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
5407
|
+
_this.isParagraph = false;
|
|
5291
5408
|
return _this;
|
|
5292
5409
|
}
|
|
5293
|
-
MtnaWfI18nInputComponent.prototype
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5410
|
+
Object.defineProperty(MtnaWfI18nInputComponent.prototype, "item", {
|
|
5411
|
+
get: function () {
|
|
5412
|
+
return _super.prototype.item;
|
|
5413
|
+
},
|
|
5414
|
+
set: function (value) {
|
|
5415
|
+
_super.prototype.item = value;
|
|
5416
|
+
if (webFormTs.isInternationalizedParagraphAnswerItem(value)) {
|
|
5417
|
+
this.isParagraph = true;
|
|
5418
|
+
}
|
|
5419
|
+
},
|
|
5420
|
+
enumerable: false,
|
|
5421
|
+
configurable: true
|
|
5422
|
+
});
|
|
5301
5423
|
MtnaWfI18nInputComponent.prototype.getFormControl = function (language) {
|
|
5302
5424
|
var _a, _b;
|
|
5303
5425
|
var control = (_a = this.control) === null || _a === void 0 ? void 0 : _a.controls[language];
|
|
@@ -5313,18 +5435,18 @@
|
|
|
5313
5435
|
};
|
|
5314
5436
|
return MtnaWfI18nInputComponent;
|
|
5315
5437
|
}(MtnaWfBaseValueItem));
|
|
5316
|
-
MtnaWfI18nInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, deps:
|
|
5317
|
-
MtnaWfI18nInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfI18nInputComponent, selector: "mtna-wf-i18n-input-item
|
|
5438
|
+
MtnaWfI18nInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5439
|
+
MtnaWfI18nInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfI18nInputComponent, selector: "mtna-wf-i18n-input-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<ng-container *ngIf=\"!readonly && !!control; else readOnly\">\n <mat-form-field\n *ngFor=\"let language of item.languageTags\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n >\n <mat-label>{{ item.label + ' - ' + getLanguageDisplay(language) }}</mat-label>\n <ng-container *ngIf=\"isParagraph; else shortInput\">\n <textarea\n matInput\n [formControl]=\"getFormControl(language)\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n </ng-container>\n <ng-template #shortInput>\n <input\n matInput\n [formControl]=\"getFormControl(language)\"\n [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n [required]=\"item.required\"\n />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</ng-container>\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item *ngFor=\"let language of item.languageTags\" class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || 'No Information Provided - ' + language }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-i18n-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-i18n-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-i18n-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-i18n-input-item .mat-list-base .mat-list-item,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-i18n-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-i18n-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$1.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i3__namespace.SlicePipe, "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5318
5440
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputComponent, decorators: [{
|
|
5319
5441
|
type: i0.Component,
|
|
5320
5442
|
args: [{
|
|
5321
|
-
selector:
|
|
5443
|
+
selector: 'mtna-wf-i18n-input-item',
|
|
5322
5444
|
templateUrl: './i18n-input.component.html',
|
|
5323
5445
|
styleUrls: ['./i18n-input.component.scss'],
|
|
5324
5446
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5325
5447
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5326
5448
|
}]
|
|
5327
|
-
}]
|
|
5449
|
+
}] });
|
|
5328
5450
|
|
|
5329
5451
|
var MtnaWfI18nInputModule = /** @class */ (function () {
|
|
5330
5452
|
function MtnaWfI18nInputModule() {
|
|
@@ -5332,23 +5454,23 @@
|
|
|
5332
5454
|
return MtnaWfI18nInputModule;
|
|
5333
5455
|
}());
|
|
5334
5456
|
MtnaWfI18nInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5335
|
-
MtnaWfI18nInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, declarations: [MtnaWfI18nInputComponent], imports: [
|
|
5457
|
+
MtnaWfI18nInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, declarations: [MtnaWfI18nInputComponent], imports: [i3$1.CommonModule,
|
|
5336
5458
|
i6.FormsModule,
|
|
5337
5459
|
i1$7.MatFormFieldModule,
|
|
5338
5460
|
i5$1.MatInputModule,
|
|
5339
5461
|
i1$1.MtnaHighlightModule,
|
|
5340
5462
|
MtnaWfGetAutoCompletePipeModule,
|
|
5341
|
-
i4$
|
|
5463
|
+
i4$1.MatListModule,
|
|
5342
5464
|
i6.ReactiveFormsModule,
|
|
5343
5465
|
MtnaWfGetFormControlErrorPipeModule], exports: [MtnaWfI18nInputComponent] });
|
|
5344
5466
|
MtnaWfI18nInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfI18nInputModule, imports: [[
|
|
5345
|
-
|
|
5467
|
+
i3$1.CommonModule,
|
|
5346
5468
|
i6.FormsModule,
|
|
5347
5469
|
i1$7.MatFormFieldModule,
|
|
5348
5470
|
i5$1.MatInputModule,
|
|
5349
5471
|
i1$1.MtnaHighlightModule,
|
|
5350
5472
|
MtnaWfGetAutoCompletePipeModule,
|
|
5351
|
-
i4$
|
|
5473
|
+
i4$1.MatListModule,
|
|
5352
5474
|
i6.ReactiveFormsModule,
|
|
5353
5475
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5354
5476
|
]] });
|
|
@@ -5356,13 +5478,13 @@
|
|
|
5356
5478
|
type: i0.NgModule,
|
|
5357
5479
|
args: [{
|
|
5358
5480
|
imports: [
|
|
5359
|
-
|
|
5481
|
+
i3$1.CommonModule,
|
|
5360
5482
|
i6.FormsModule,
|
|
5361
5483
|
i1$7.MatFormFieldModule,
|
|
5362
5484
|
i5$1.MatInputModule,
|
|
5363
5485
|
i1$1.MtnaHighlightModule,
|
|
5364
5486
|
MtnaWfGetAutoCompletePipeModule,
|
|
5365
|
-
i4$
|
|
5487
|
+
i4$1.MatListModule,
|
|
5366
5488
|
i6.ReactiveFormsModule,
|
|
5367
5489
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5368
5490
|
],
|
|
@@ -5373,35 +5495,42 @@
|
|
|
5373
5495
|
|
|
5374
5496
|
var MtnaWfInputComponent = /** @class */ (function (_super) {
|
|
5375
5497
|
__extends(MtnaWfInputComponent, _super);
|
|
5376
|
-
function MtnaWfInputComponent(
|
|
5377
|
-
var _this = _super.
|
|
5378
|
-
_this.
|
|
5379
|
-
_this.
|
|
5380
|
-
_this.isNumberInput = _this._hasHostAttributes('mtnaWfDecimalItem', 'mtnaWfWholeNumberItem');
|
|
5498
|
+
function MtnaWfInputComponent() {
|
|
5499
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
5500
|
+
_this.isParagraph = false;
|
|
5501
|
+
_this.isNumberInput = false;
|
|
5381
5502
|
return _this;
|
|
5382
5503
|
}
|
|
5383
|
-
MtnaWfInputComponent.prototype
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5504
|
+
Object.defineProperty(MtnaWfInputComponent.prototype, "item", {
|
|
5505
|
+
get: function () {
|
|
5506
|
+
return _super.prototype.item;
|
|
5507
|
+
},
|
|
5508
|
+
set: function (value) {
|
|
5509
|
+
_super.prototype.item = value;
|
|
5510
|
+
if (webFormTs.isDecimalAnswerItem(value) || webFormTs.isWholeNumberItem(value)) {
|
|
5511
|
+
this.isNumberInput = true;
|
|
5512
|
+
}
|
|
5513
|
+
else if (webFormTs.isParagraphAnswerItem(value)) {
|
|
5514
|
+
this.isParagraph = true;
|
|
5515
|
+
}
|
|
5516
|
+
},
|
|
5517
|
+
enumerable: false,
|
|
5518
|
+
configurable: true
|
|
5519
|
+
});
|
|
5391
5520
|
return MtnaWfInputComponent;
|
|
5392
5521
|
}(MtnaWfBaseValueItem));
|
|
5393
|
-
MtnaWfInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, deps:
|
|
5394
|
-
MtnaWfInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfInputComponent, selector: "mtna-wf-input-item
|
|
5522
|
+
MtnaWfInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5523
|
+
MtnaWfInputComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfInputComponent, selector: "mtna-wf-input-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header; context: { $implicit: true }\"></ng-container>\n<mat-form-field\n *ngIf=\"!readonly && !!control; else readOnly\"\n appearance=\"outline\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-label>{{ item.label }}</mat-label>\n <textarea\n *ngIf=\"isParagraph; else shortInput\"\n matInput\n [formControl]=\"control\"\n [required]=\"item.required\"\n [attr.autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\"\n cdkTextareaAutoSize\n cdkAutosizeMinRows=\"3\"\n cdkAutosizeMaxRows=\"5\"\n ></textarea>\n\n <ng-template #shortInput>\n <input matInput [formControl]=\"control!\" [autocomplete]=\"item.label || item.name | mtnaWfGetAutoComplete\" [required]=\"item.required\" />\n </ng-template>\n\n <mat-error *ngFor=\"let error of control.errors | keyvalue | slice : 0 : 1\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n</mat-form-field>\n\n<!-- READONLY -->\n<ng-template #readOnly>\n <ng-container *ngTemplateOutlet=\"inList ? listItem : fullList\"></ng-container>\n</ng-template>\n\n<ng-template #fullList>\n <mat-list>\n <ng-container *ngTemplateOutlet=\"listItem\"></ng-container>\n </mat-list>\n</ng-template>\n\n<ng-template #listItem>\n <mat-list-item class=\"wrappable-list-item\">\n <!-- <mat-icon *ngIf=\"item.label || item.header as label\" matListIcon>{{ label | mtnaWfGetListIcon }}</mat-icon> -->\n <h4 *ngIf=\"!item.questionText && (item.label || item.name) as label\" mat-line>{{ label }}</h4>\n <p mat-line class=\"wrap-line\">{{ item.value || 'No Information Provided' }}</p>\n </mat-list-item>\n</ng-template>\n", styles: ["mtna-wf-input-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-input-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-input-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-input-item .mat-list-base .mat-list-item,mtna-wf-input-item .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:auto;padding:12px 0}mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line,mtna-wf-input-item .mat-list-base .mat-list-item.mat-2-line.mat-list-item-with-avatar{padding:18.5px 0}mtna-wf-input-item .mat-list-base .mat-list-item .mat-line{white-space:normal;overflow:unset;text-overflow:unset}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i4__namespace$1.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4__namespace$1.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i1__namespace$5.MatLabel, selector: "mat-label" }, { type: i5__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i6__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i3__namespace$3.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "mtnaWfGetAutoComplete": MtnaWfGetAutoCompletePipe, "slice": i3__namespace.SlicePipe, "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5395
5524
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputComponent, decorators: [{
|
|
5396
5525
|
type: i0.Component,
|
|
5397
5526
|
args: [{
|
|
5398
|
-
selector:
|
|
5527
|
+
selector: 'mtna-wf-input-item',
|
|
5399
5528
|
templateUrl: './input.component.html',
|
|
5400
5529
|
styleUrls: ['./input.component.scss'],
|
|
5401
5530
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5402
5531
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5403
5532
|
}]
|
|
5404
|
-
}]
|
|
5533
|
+
}] });
|
|
5405
5534
|
|
|
5406
5535
|
var MtnaWfInputModule = /** @class */ (function () {
|
|
5407
5536
|
function MtnaWfInputModule() {
|
|
@@ -5409,20 +5538,20 @@
|
|
|
5409
5538
|
return MtnaWfInputModule;
|
|
5410
5539
|
}());
|
|
5411
5540
|
MtnaWfInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5412
|
-
MtnaWfInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, declarations: [MtnaWfInputComponent], imports: [
|
|
5541
|
+
MtnaWfInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, declarations: [MtnaWfInputComponent], imports: [i3$1.CommonModule,
|
|
5413
5542
|
i1$7.MatFormFieldModule,
|
|
5414
5543
|
i6.FormsModule,
|
|
5415
|
-
i4$
|
|
5544
|
+
i4$1.MatListModule,
|
|
5416
5545
|
MtnaWfGetAutoCompletePipeModule,
|
|
5417
5546
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5418
5547
|
i1$1.MtnaHighlightModule,
|
|
5419
5548
|
i6.ReactiveFormsModule,
|
|
5420
5549
|
i5$1.MatInputModule], exports: [MtnaWfInputComponent] });
|
|
5421
5550
|
MtnaWfInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfInputModule, imports: [[
|
|
5422
|
-
|
|
5551
|
+
i3$1.CommonModule,
|
|
5423
5552
|
i1$7.MatFormFieldModule,
|
|
5424
5553
|
i6.FormsModule,
|
|
5425
|
-
i4$
|
|
5554
|
+
i4$1.MatListModule,
|
|
5426
5555
|
MtnaWfGetAutoCompletePipeModule,
|
|
5427
5556
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5428
5557
|
i1$1.MtnaHighlightModule,
|
|
@@ -5433,10 +5562,10 @@
|
|
|
5433
5562
|
type: i0.NgModule,
|
|
5434
5563
|
args: [{
|
|
5435
5564
|
imports: [
|
|
5436
|
-
|
|
5565
|
+
i3$1.CommonModule,
|
|
5437
5566
|
i1$7.MatFormFieldModule,
|
|
5438
5567
|
i6.FormsModule,
|
|
5439
|
-
i4$
|
|
5568
|
+
i4$1.MatListModule,
|
|
5440
5569
|
MtnaWfGetAutoCompletePipeModule,
|
|
5441
5570
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5442
5571
|
i1$1.MtnaHighlightModule,
|
|
@@ -5456,7 +5585,7 @@
|
|
|
5456
5585
|
return MtnaWfMultipleChoiceComponent;
|
|
5457
5586
|
}(MtnaWfBaseSingleSelectionParentValueItem));
|
|
5458
5587
|
MtnaWfMultipleChoiceComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5459
|
-
MtnaWfMultipleChoiceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfMultipleChoiceComponent, selector: "mtna-wf-multiple-choice-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<
|
|
5588
|
+
MtnaWfMultipleChoiceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfMultipleChoiceComponent, selector: "mtna-wf-multiple-choice-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div *ngIf=\"control\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">\n <div class=\"mtna-wf-error-container\">\n <ng-container *ngIf=\"control.invalid && (control.dirty || control.touched)\">\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </ng-container>\n </div>\n <mat-radio-group class=\"control-item-content\" [formControl]=\"control\" (change)=\"selectionChange($event)\">\n <ng-container *ngFor=\"let opt of item.options; trackBy: _trackByOptionId\">\n <mat-radio-button [disableRipple]=\"readonly\" [value]=\"opt.option.id\">{{ opt.option.name }}</mat-radio-button>\n <mtna-wf-item\n *ngIf=\"item.optionItemMap[opt.option.id] as subItem\"\n [item]=\"subItem\"\n [control]=\"!!controlWrapper && !!controlWrapper.controls ? controlWrapper.controls[subItem.instanceId] : undefined\"\n [parentIds]=\"parentIds.concat(opt.option.id)\"\n [readonly]=\"readonly\"\n ></mtna-wf-item>\n </ng-container>\n </mat-radio-group>\n</div>\n", styles: ["mtna-wf-multiple-choice-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-multiple-choice-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-multiple-choice-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-multiple-choice-item .mat-radio-group{display:inline-block;max-width:100%;width:100%}mtna-wf-multiple-choice-item .mat-radio-button{display:block;max-width:100%}mtna-wf-multiple-choice-item .mat-radio-button:not(:last-of-type){margin-bottom:4px}mtna-wf-multiple-choice-item .mat-radio-button .mat-radio-label{white-space:normal}mtna-wf-multiple-choice-item .mat-radio-button+mtna-wf-item{padding-left:28px;margin-top:0}mtna-wf-multiple-choice-item.read-only .mat-radio-button .mat-radio-label{cursor:default}\n"], components: [{ type: i1__namespace$7.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { 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: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }, { type: i1__namespace$7.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5460
5589
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceComponent, decorators: [{
|
|
5461
5590
|
type: i0.Component,
|
|
5462
5591
|
args: [{
|
|
@@ -5474,33 +5603,36 @@
|
|
|
5474
5603
|
return MtnaWfMultipleChoiceModule;
|
|
5475
5604
|
}());
|
|
5476
5605
|
MtnaWfMultipleChoiceModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5477
|
-
MtnaWfMultipleChoiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, declarations: [MtnaWfMultipleChoiceComponent], imports: [
|
|
5606
|
+
MtnaWfMultipleChoiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, declarations: [MtnaWfMultipleChoiceComponent], imports: [i3$1.CommonModule,
|
|
5478
5607
|
i6.FormsModule,
|
|
5479
5608
|
i1$2.MatRadioModule,
|
|
5480
5609
|
MtnaWfFormItemModule,
|
|
5481
5610
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5482
5611
|
i6.ReactiveFormsModule,
|
|
5483
|
-
i1$7.MatFormFieldModule
|
|
5612
|
+
i1$7.MatFormFieldModule,
|
|
5613
|
+
i1$1.MtnaHighlightModule], exports: [MtnaWfMultipleChoiceComponent] });
|
|
5484
5614
|
MtnaWfMultipleChoiceModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, imports: [[
|
|
5485
|
-
|
|
5615
|
+
i3$1.CommonModule,
|
|
5486
5616
|
i6.FormsModule,
|
|
5487
5617
|
i1$2.MatRadioModule,
|
|
5488
5618
|
MtnaWfFormItemModule,
|
|
5489
5619
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5490
5620
|
i6.ReactiveFormsModule,
|
|
5491
5621
|
i1$7.MatFormFieldModule,
|
|
5622
|
+
i1$1.MtnaHighlightModule,
|
|
5492
5623
|
]] });
|
|
5493
5624
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfMultipleChoiceModule, decorators: [{
|
|
5494
5625
|
type: i0.NgModule,
|
|
5495
5626
|
args: [{
|
|
5496
5627
|
imports: [
|
|
5497
|
-
|
|
5628
|
+
i3$1.CommonModule,
|
|
5498
5629
|
i6.FormsModule,
|
|
5499
5630
|
i1$2.MatRadioModule,
|
|
5500
5631
|
MtnaWfFormItemModule,
|
|
5501
5632
|
MtnaWfGetFormControlErrorPipeModule,
|
|
5502
5633
|
i6.ReactiveFormsModule,
|
|
5503
5634
|
i1$7.MatFormFieldModule,
|
|
5635
|
+
i1$1.MtnaHighlightModule,
|
|
5504
5636
|
],
|
|
5505
5637
|
declarations: [MtnaWfMultipleChoiceComponent],
|
|
5506
5638
|
exports: [MtnaWfMultipleChoiceComponent],
|
|
@@ -5515,7 +5647,7 @@
|
|
|
5515
5647
|
return MtnaWfOrderedListItemComponent;
|
|
5516
5648
|
}(MtnaWfBaseFormItem));
|
|
5517
5649
|
MtnaWfOrderedListItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5518
|
-
MtnaWfOrderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfOrderedListItemComponent, selector: "mtna-wf-ordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ol [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ol>\n", styles: ["mtna-wf-ordered-list-item>ol{list-style:decimal outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-
|
|
5650
|
+
MtnaWfOrderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfOrderedListItemComponent, selector: "mtna-wf-ordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ol [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ol>\n", styles: ["mtna-wf-ordered-list-item>ol{list-style:decimal outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-ordered-list-item>ol{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5519
5651
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemComponent, decorators: [{
|
|
5520
5652
|
type: i0.Component,
|
|
5521
5653
|
args: [{
|
|
@@ -5533,12 +5665,12 @@
|
|
|
5533
5665
|
return MtnaWfOrderedListItemModule;
|
|
5534
5666
|
}());
|
|
5535
5667
|
MtnaWfOrderedListItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5536
|
-
MtnaWfOrderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, declarations: [MtnaWfOrderedListItemComponent], imports: [
|
|
5537
|
-
MtnaWfOrderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, imports: [[
|
|
5668
|
+
MtnaWfOrderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, declarations: [MtnaWfOrderedListItemComponent], imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfOrderedListItemComponent] });
|
|
5669
|
+
MtnaWfOrderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, imports: [[i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
|
|
5538
5670
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfOrderedListItemModule, decorators: [{
|
|
5539
5671
|
type: i0.NgModule,
|
|
5540
5672
|
args: [{
|
|
5541
|
-
imports: [
|
|
5673
|
+
imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
|
|
5542
5674
|
declarations: [MtnaWfOrderedListItemComponent],
|
|
5543
5675
|
exports: [MtnaWfOrderedListItemComponent],
|
|
5544
5676
|
}]
|
|
@@ -5570,12 +5702,12 @@
|
|
|
5570
5702
|
return MtnaWfRepeatableItemModule;
|
|
5571
5703
|
}());
|
|
5572
5704
|
MtnaWfRepeatableItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5573
|
-
MtnaWfRepeatableItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, declarations: [MtnaWfRepeatableItemComponent], imports: [
|
|
5574
|
-
MtnaWfRepeatableItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, imports: [[
|
|
5705
|
+
MtnaWfRepeatableItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, declarations: [MtnaWfRepeatableItemComponent], imports: [i3$1.CommonModule], exports: [MtnaWfRepeatableItemComponent] });
|
|
5706
|
+
MtnaWfRepeatableItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, imports: [[i3$1.CommonModule]] });
|
|
5575
5707
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemModule, decorators: [{
|
|
5576
5708
|
type: i0.NgModule,
|
|
5577
5709
|
args: [{
|
|
5578
|
-
imports: [
|
|
5710
|
+
imports: [i3$1.CommonModule],
|
|
5579
5711
|
declarations: [MtnaWfRepeatableItemComponent],
|
|
5580
5712
|
exports: [MtnaWfRepeatableItemComponent],
|
|
5581
5713
|
}]
|
|
@@ -5583,8 +5715,8 @@
|
|
|
5583
5715
|
|
|
5584
5716
|
var MtnaWfRepeatableItemContainerComponent = /** @class */ (function (_super) {
|
|
5585
5717
|
__extends(MtnaWfRepeatableItemContainerComponent, _super);
|
|
5586
|
-
function MtnaWfRepeatableItemContainerComponent(manager) {
|
|
5587
|
-
var _this = _super.call(this) || this;
|
|
5718
|
+
function MtnaWfRepeatableItemContainerComponent(cdr, manager) {
|
|
5719
|
+
var _this = _super.call(this, cdr) || this;
|
|
5588
5720
|
_this.manager = manager;
|
|
5589
5721
|
return _this;
|
|
5590
5722
|
}
|
|
@@ -5597,8 +5729,8 @@
|
|
|
5597
5729
|
};
|
|
5598
5730
|
return MtnaWfRepeatableItemContainerComponent;
|
|
5599
5731
|
}(MtnaWfBaseParentValueItem));
|
|
5600
|
-
MtnaWfRepeatableItemContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerComponent, deps: [{ token: MtnaWfManagerService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5601
|
-
MtnaWfRepeatableItemContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemContainerComponent, selector: "mtna-wf-repeatable-item-container", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled || false\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n></mtna-wf-item-header>\n<section [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <mtna-wf-repeatable-item\n @repeatItemExpandCollapse\n *ngFor=\"let subitem of item.items; let first = first; trackBy: 'instanceId' | mtnaTrackByProperty\"\n >\n <button\n
|
|
5732
|
+
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 });
|
|
5733
|
+
MtnaWfRepeatableItemContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfRepeatableItemContainerComponent, selector: "mtna-wf-repeatable-item-container", usesInheritance: true, ngImport: i0__namespace, template: "<mtna-wf-item-header\n *ngIf=\"!!item.questionText || !!item.descriptiveText\"\n [descriptiveText]=\"item.descriptiveText\"\n [disabled]=\"control?.disabled || false\"\n [questionText]=\"item.questionText\"\n [required]=\"item.required\"\n></mtna-wf-item-header>\n<section [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <mtna-wf-repeatable-item\n @repeatItemExpandCollapse\n *ngFor=\"let subitem of item.items; let first = first; trackBy: 'instanceId' | mtnaTrackByProperty\"\n >\n <ng-container *ngIf=\"subitem | coerceFormItem as coercedSubItem\">\n <button\n *ngIf=\"!readonly && item.items.length > item.minOccurrences\"\n mat-icon-button\n class=\"item-remove-button\"\n color=\"warn\"\n (click)=\"removeItem(coercedSubItem)\"\n matTooltip=\"Remove Item\"\n >\n <mat-icon>remove_circle</mat-icon>\n </button>\n <mtna-wf-item\n [item]=\"coercedSubItem\"\n [control]=\"!!control && !!control.controls ? control.controls[coercedSubItem.instanceId] : undefined\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </ng-container>\n </mtna-wf-repeatable-item>\n</section>\n<button *ngIf=\"!readonly\" mat-raised-button (click)=\"addItem()\" class=\"new-item-button\" color=\"primary\">\n {{ item.additionalText || 'ADD' | uppercase }}\n</button>\n", styles: ["mtna-wf-repeatable-item-container{display:block}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item{position:relative;padding:16px;border-style:dashed;border-width:4px;border-radius:4px;display:inline-block;margin:8px;max-width:100%}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item .item-remove-button{position:absolute;top:-22px;left:-22px}mtna-wf-repeatable-item-container>section>mtna-wf-repeatable-item>mtna-wf-item:first-child{margin-top:0}mtna-wf-repeatable-item-container .new-item-button{margin-left:.75em}mtna-wf-repeatable-item-container>section{padding-left:.75em}mtna-wf-repeatable-item-container>section,mtna-wf-repeatable-item-container .new-item-button{margin-top:16px}\n"], components: [{ type: MtnaWfItemHeaderComponent, selector: "mtna-wf-item-header", inputs: ["descriptiveText", "disabled", "hideRequiredMarker", "invalid", "questionText", "required"] }, { type: MtnaWfRepeatableItemComponent, selector: "mtna-wf-repeatable-item" }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: 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: [
|
|
5602
5734
|
animations.trigger('repeatItemExpandCollapse', [
|
|
5603
5735
|
animations.state('in', animations.style({ height: '*', margin: '*', opacity: 1 })),
|
|
5604
5736
|
animations.state('void', animations.style({ height: 0, margin: 0, opacity: 0, visibility: 'hidden' })),
|
|
@@ -5623,7 +5755,7 @@
|
|
|
5623
5755
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5624
5756
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5625
5757
|
}]
|
|
5626
|
-
}], ctorParameters: function () { return [{ type: MtnaWfManagerService }]; } });
|
|
5758
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MtnaWfManagerService }]; } });
|
|
5627
5759
|
|
|
5628
5760
|
var MtnaWfRepeatableItemContainerModule = /** @class */ (function () {
|
|
5629
5761
|
function MtnaWfRepeatableItemContainerModule() {
|
|
@@ -5631,39 +5763,42 @@
|
|
|
5631
5763
|
return MtnaWfRepeatableItemContainerModule;
|
|
5632
5764
|
}());
|
|
5633
5765
|
MtnaWfRepeatableItemContainerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5634
|
-
MtnaWfRepeatableItemContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, declarations: [MtnaWfRepeatableItemContainerComponent], imports: [
|
|
5766
|
+
MtnaWfRepeatableItemContainerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, declarations: [MtnaWfRepeatableItemContainerComponent], imports: [i3$1.CommonModule,
|
|
5635
5767
|
MtnaWfItemHeaderModule,
|
|
5636
5768
|
MtnaWfRepeatableItemModule,
|
|
5637
5769
|
MtnaWfFormItemModule,
|
|
5638
5770
|
i1$1.MtnaHighlightModule,
|
|
5639
|
-
i3$
|
|
5771
|
+
i3$2.MatButtonModule,
|
|
5640
5772
|
i5.MatIconModule,
|
|
5641
5773
|
i6$1.MatTooltipModule,
|
|
5642
|
-
i1$1.MtnaTrackByPropertyPipeModule
|
|
5774
|
+
i1$1.MtnaTrackByPropertyPipeModule,
|
|
5775
|
+
MtnaWfCoerceFormItemPipeModule], exports: [MtnaWfRepeatableItemContainerComponent] });
|
|
5643
5776
|
MtnaWfRepeatableItemContainerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, imports: [[
|
|
5644
|
-
|
|
5777
|
+
i3$1.CommonModule,
|
|
5645
5778
|
MtnaWfItemHeaderModule,
|
|
5646
5779
|
MtnaWfRepeatableItemModule,
|
|
5647
5780
|
MtnaWfFormItemModule,
|
|
5648
5781
|
i1$1.MtnaHighlightModule,
|
|
5649
|
-
i3$
|
|
5782
|
+
i3$2.MatButtonModule,
|
|
5650
5783
|
i5.MatIconModule,
|
|
5651
5784
|
i6$1.MatTooltipModule,
|
|
5652
5785
|
i1$1.MtnaTrackByPropertyPipeModule,
|
|
5786
|
+
MtnaWfCoerceFormItemPipeModule,
|
|
5653
5787
|
]] });
|
|
5654
5788
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfRepeatableItemContainerModule, decorators: [{
|
|
5655
5789
|
type: i0.NgModule,
|
|
5656
5790
|
args: [{
|
|
5657
5791
|
imports: [
|
|
5658
|
-
|
|
5792
|
+
i3$1.CommonModule,
|
|
5659
5793
|
MtnaWfItemHeaderModule,
|
|
5660
5794
|
MtnaWfRepeatableItemModule,
|
|
5661
5795
|
MtnaWfFormItemModule,
|
|
5662
5796
|
i1$1.MtnaHighlightModule,
|
|
5663
|
-
i3$
|
|
5797
|
+
i3$2.MatButtonModule,
|
|
5664
5798
|
i5.MatIconModule,
|
|
5665
5799
|
i6$1.MatTooltipModule,
|
|
5666
5800
|
i1$1.MtnaTrackByPropertyPipeModule,
|
|
5801
|
+
MtnaWfCoerceFormItemPipeModule,
|
|
5667
5802
|
],
|
|
5668
5803
|
declarations: [MtnaWfRepeatableItemContainerComponent],
|
|
5669
5804
|
exports: [MtnaWfRepeatableItemContainerComponent],
|
|
@@ -5672,10 +5807,10 @@
|
|
|
5672
5807
|
|
|
5673
5808
|
var MtnaWfResourceSearchComponent = /** @class */ (function (_super) {
|
|
5674
5809
|
__extends(MtnaWfResourceSearchComponent, _super);
|
|
5675
|
-
function MtnaWfResourceSearchComponent(searchFacade, dialog) {
|
|
5810
|
+
function MtnaWfResourceSearchComponent(cdr, searchFacade, dialog) {
|
|
5676
5811
|
var _this = this;
|
|
5677
5812
|
var _a, _b;
|
|
5678
|
-
_this = _super.call(this) || this;
|
|
5813
|
+
_this = _super.call(this, cdr) || this;
|
|
5679
5814
|
_this.searchFacade = searchFacade;
|
|
5680
5815
|
_this.dialog = dialog;
|
|
5681
5816
|
_this.references = new rxjs.BehaviorSubject((_b = (_a = _this.item) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : []);
|
|
@@ -5685,7 +5820,7 @@
|
|
|
5685
5820
|
var _this = this;
|
|
5686
5821
|
this.dialog
|
|
5687
5822
|
.open(i1$5.MtnaSearchDialogComponent, {
|
|
5688
|
-
data: new i1$5.MtnaSearchDialogData(this.searchFacade, $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject(["Select a Reference"], ["Select a Reference"]))), true, Object.assign(Object.assign({}, this.item.
|
|
5823
|
+
data: new i1$5.MtnaSearchDialogData(this.searchFacade, $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject(["Select a Reference"], ["Select a Reference"]))), true, Object.assign(Object.assign({}, this.item.initialQuery), { target: this.item.searchTargetId }), undefined, true, {
|
|
5689
5824
|
color: 'primary',
|
|
5690
5825
|
disableSubResults: true,
|
|
5691
5826
|
resizableColumns: true,
|
|
@@ -5717,8 +5852,8 @@
|
|
|
5717
5852
|
};
|
|
5718
5853
|
return MtnaWfResourceSearchComponent;
|
|
5719
5854
|
}(MtnaWfBaseValueItem));
|
|
5720
|
-
MtnaWfResourceSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, deps: [{ token: i1__namespace$8.MtnaInMemorySearchFacade }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5721
|
-
MtnaWfResourceSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfResourceSearchComponent, selector: "mtna-wf-resource-search-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div class=\"label-container\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div class=\"label-text\" role=\"heading\">\n {{ item.label }}\n </div>\n <mat-divider fxFlex></mat-divider>\n</div>\n<div class=\"values-container\">\n <!-- <aria-ui-reference-list-table\n [path]=\"path\"\n [referenceConfiguration]=\"referenceConfiguration\"\n [references]=\"references\"\n [termReference]=\"termReference\"\n (openDetails)=\"openDetails.emit($event)\"\n (referenceSelected)=\"addButtonDisabled = !!$event\"\n (updateValues)=\"updateValues.emit($event)\"\n >\n </aria-ui-reference-list-table>\n -->\n <button mat-flat-button class=\"add-button\" color=\"primary\" [disabled]=\"readonly\" i18n (click)=\"openDialog()\">\n Add Resource<mat-icon>add_circle_outline</mat-icon>\n </button>\n</div>\n", styles: ["mtna-wf-resource-search-item .label-container .label-text{margin:0 8px 0 0}mtna-wf-resource-search-item .label-container .mat-divider.mat-divider-horizontal{position:unset;width:unset}mtna-wf-resource-search-item .values-container{margin-left:1em;border-width:1px;border-style:solid;border-radius:4px;border-color:#0000001f;padding:8px}mtna-wf-resource-search-item .values-container .paginator-and-order-controls{margin-bottom:8px}mtna-wf-resource-search-item .values-container .add-button .mat-icon{margin-left:4px}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type:
|
|
5855
|
+
MtnaWfResourceSearchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$8.MtnaInMemorySearchFacade }, { token: i1__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5856
|
+
MtnaWfResourceSearchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfResourceSearchComponent, selector: "mtna-wf-resource-search-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div class=\"label-container\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div class=\"label-text\" role=\"heading\">\n {{ item.label }}\n </div>\n <mat-divider fxFlex></mat-divider>\n</div>\n<div class=\"values-container\">\n <!-- <aria-ui-reference-list-table\n [path]=\"path\"\n [referenceConfiguration]=\"referenceConfiguration\"\n [references]=\"references\"\n [termReference]=\"termReference\"\n (openDetails)=\"openDetails.emit($event)\"\n (referenceSelected)=\"addButtonDisabled = !!$event\"\n (updateValues)=\"updateValues.emit($event)\"\n >\n </aria-ui-reference-list-table>\n -->\n <button mat-flat-button class=\"add-button\" color=\"primary\" [disabled]=\"readonly\" i18n (click)=\"openDialog()\">\n Add Resource<mat-icon>add_circle_outline</mat-icon>\n </button>\n</div>\n", styles: ["mtna-wf-resource-search-item .label-container .label-text{margin:0 8px 0 0}mtna-wf-resource-search-item .label-container .mat-divider.mat-divider-horizontal{position:unset;width:unset}mtna-wf-resource-search-item .values-container{margin-left:1em;border-width:1px;border-style:solid;border-radius:4px;border-color:#0000001f;padding:8px}mtna-wf-resource-search-item .values-container .paginator-and-order-controls{margin-bottom:8px}mtna-wf-resource-search-item .values-container .add-button .mat-icon{margin-left:4px}\n"], components: [{ type: i2__namespace$1.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i3__namespace$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5722
5857
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchComponent, decorators: [{
|
|
5723
5858
|
type: i0.Component,
|
|
5724
5859
|
args: [{
|
|
@@ -5728,7 +5863,7 @@
|
|
|
5728
5863
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5729
5864
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5730
5865
|
}]
|
|
5731
|
-
}], ctorParameters: function () { return [{ type: i1__namespace$8.MtnaInMemorySearchFacade }, { type: i1__namespace.MatDialog }]; } });
|
|
5866
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$8.MtnaInMemorySearchFacade }, { type: i1__namespace.MatDialog }]; } });
|
|
5732
5867
|
var templateObject_1;
|
|
5733
5868
|
|
|
5734
5869
|
var MtnaWfResourceSearchModule = /** @class */ (function () {
|
|
@@ -5737,12 +5872,12 @@
|
|
|
5737
5872
|
return MtnaWfResourceSearchModule;
|
|
5738
5873
|
}());
|
|
5739
5874
|
MtnaWfResourceSearchModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5740
|
-
MtnaWfResourceSearchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, declarations: [MtnaWfResourceSearchComponent], imports: [
|
|
5741
|
-
MtnaWfResourceSearchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, imports: [[
|
|
5875
|
+
MtnaWfResourceSearchModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, declarations: [MtnaWfResourceSearchComponent], imports: [i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule], exports: [MtnaWfResourceSearchComponent] });
|
|
5876
|
+
MtnaWfResourceSearchModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, imports: [[i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule]] });
|
|
5742
5877
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfResourceSearchModule, decorators: [{
|
|
5743
5878
|
type: i0.NgModule,
|
|
5744
5879
|
args: [{
|
|
5745
|
-
imports: [
|
|
5880
|
+
imports: [i3$1.CommonModule, i3$2.MatButtonModule, i2$2.MatDividerModule, i5.MatIconModule, flexLayout.FlexLayoutModule],
|
|
5746
5881
|
declarations: [MtnaWfResourceSearchComponent],
|
|
5747
5882
|
exports: [MtnaWfResourceSearchComponent],
|
|
5748
5883
|
}]
|
|
@@ -5762,7 +5897,7 @@
|
|
|
5762
5897
|
return MtnaWfTableFormItemComponent;
|
|
5763
5898
|
}(MtnaWfBaseParentValueItem));
|
|
5764
5899
|
MtnaWfTableFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5765
|
-
MtnaWfTableFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTableFormItemComponent, selector: "mtna-wf-table-item", usesInheritance: true, ngImport: i0__namespace, template: "<table mat-table [dataSource]=\"item.tableRows\" [trackBy]=\"_trackByTableRow\">\n <ng-container *ngFor=\"let header of item.headers; let index = index\" [matColumnDef]=\"header\">\n <th mat-header-cell *matHeaderCellDef>{{ header }}</th>\n\n <td mat-cell *matCellDef=\"let rowItem\">\n <mtna-wf-item\n *ngIf=\"!!rowItem.items[index]\"\n [control]=\"!!control && !!control.controls ? control.controls[rowItem.items[index].instanceId] : undefined\"\n [item]=\"rowItem.items[index]\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"item.headers\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: item.headers\"></tr>\n</table>\n", styles: ["mtna-wf-table-item .mat-table{width:100%}mtna-wf-table-item .mat-table tbody tr td.mat-cell{padding:8px;vertical-align:top}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group{flex-direction:column;place-content:start start;align-items:start;justify-content:start}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group *{margin-top:0;margin-bottom:0}mtna-wf-table-item .mat-table tbody tr td mtna-wf-boolean-item>.mat-slide-toggle{margin-bottom:8px;margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .repeat-item-container:not(:first-of-type){margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .new-item-button{margin:8px 0}\n"], components: [{ type: i1__namespace$9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i1__namespace$9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1__namespace$9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type:
|
|
5900
|
+
MtnaWfTableFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTableFormItemComponent, selector: "mtna-wf-table-item", usesInheritance: true, ngImport: i0__namespace, template: "<table mat-table [dataSource]=\"item.tableRows\" [trackBy]=\"_trackByTableRow\">\n <ng-container *ngFor=\"let header of item.headers; let index = index\" [matColumnDef]=\"header\">\n <th mat-header-cell *matHeaderCellDef>{{ header }}</th>\n\n <td mat-cell *matCellDef=\"let rowItem\">\n <mtna-wf-item\n *ngIf=\"!!rowItem.items[index]\"\n [control]=\"!!control && !!control.controls ? control.controls[rowItem.items[index].instanceId] : undefined\"\n [item]=\"rowItem.items[index]\"\n [readonly]=\"readonly\"\n [parentIds]=\"parentIds\"\n ></mtna-wf-item>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"item.headers\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: item.headers\"></tr>\n</table>\n", styles: ["mtna-wf-table-item .mat-table{width:100%}mtna-wf-table-item .mat-table tbody tr td.mat-cell{padding:8px;vertical-align:top}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group{flex-direction:column;place-content:start start;align-items:start;justify-content:start}mtna-wf-table-item .mat-table tbody tr td mtna-wf-group>.group *{margin-top:0;margin-bottom:0}mtna-wf-table-item .mat-table tbody tr td mtna-wf-boolean-item>.mat-slide-toggle{margin-bottom:8px;margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .repeat-item-container:not(:first-of-type){margin-top:8px}mtna-wf-table-item .mat-table tbody tr td mtna-wf-repeatable-item-container .new-item-button{margin:8px 0}\n"], components: [{ type: i1__namespace$9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: MtnaWfFormItemComponent, selector: "mtna-wf-item", inputs: ["color", "control", "header", "inList", "item", "parentIds", "readonly", "step"], outputs: ["focusedSection"] }, { type: i1__namespace$9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1__namespace$9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1__namespace$9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1__namespace$9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i1__namespace$9.MatCellDef, selector: "[matCellDef]" }, { type: i1__namespace$9.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1__namespace$9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5766
5901
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemComponent, decorators: [{
|
|
5767
5902
|
type: i0.Component,
|
|
5768
5903
|
args: [{
|
|
@@ -5780,12 +5915,12 @@
|
|
|
5780
5915
|
return MtnaWfTableFormItemModule;
|
|
5781
5916
|
}());
|
|
5782
5917
|
MtnaWfTableFormItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5783
|
-
MtnaWfTableFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, declarations: [MtnaWfTableFormItemComponent], imports: [
|
|
5784
|
-
MtnaWfTableFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, imports: [[
|
|
5918
|
+
MtnaWfTableFormItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, declarations: [MtnaWfTableFormItemComponent], imports: [i3$1.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule], exports: [MtnaWfTableFormItemComponent] });
|
|
5919
|
+
MtnaWfTableFormItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, imports: [[i3$1.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule]] });
|
|
5785
5920
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTableFormItemModule, decorators: [{
|
|
5786
5921
|
type: i0.NgModule,
|
|
5787
5922
|
args: [{
|
|
5788
|
-
imports: [
|
|
5923
|
+
imports: [i3$1.CommonModule, i1$9.MatTableModule, MtnaWfFormItemModule],
|
|
5789
5924
|
declarations: [MtnaWfTableFormItemComponent],
|
|
5790
5925
|
exports: [MtnaWfTableFormItemComponent],
|
|
5791
5926
|
}]
|
|
@@ -5799,12 +5934,13 @@
|
|
|
5799
5934
|
return MtnaWfTextItemComponent;
|
|
5800
5935
|
}(MtnaWfBaseFormItem));
|
|
5801
5936
|
MtnaWfTextItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5802
|
-
MtnaWfTextItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTextItemComponent, selector: "mtna-wf-text-item", usesInheritance: true, ngImport: i0__namespace, template: "<p [innerHTML]=\"$any(item.value) | mtnaWfSanitizeHtml\" class=\"mtna-wf-text-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"></p>\n", directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5937
|
+
MtnaWfTextItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTextItemComponent, selector: "mtna-wf-text-item", usesInheritance: true, ngImport: i0__namespace, template: "<p [innerHTML]=\"$any(item.value) | mtnaWfSanitizeHtml\" class=\"mtna-wf-text-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\"></p>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-text-item .mtna-wf-text-item{padding-right:24px}\n"], directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5803
5938
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemComponent, decorators: [{
|
|
5804
5939
|
type: i0.Component,
|
|
5805
5940
|
args: [{
|
|
5806
5941
|
selector: 'mtna-wf-text-item',
|
|
5807
5942
|
templateUrl: './text.component.html',
|
|
5943
|
+
styleUrls: ['./text.component.scss'],
|
|
5808
5944
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5809
5945
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5810
5946
|
}]
|
|
@@ -5816,12 +5952,12 @@
|
|
|
5816
5952
|
return MtnaWfTextItemModule;
|
|
5817
5953
|
}());
|
|
5818
5954
|
MtnaWfTextItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5819
|
-
MtnaWfTextItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, declarations: [MtnaWfTextItemComponent], imports: [
|
|
5820
|
-
MtnaWfTextItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, imports: [[
|
|
5955
|
+
MtnaWfTextItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, declarations: [MtnaWfTextItemComponent], imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfTextItemComponent] });
|
|
5956
|
+
MtnaWfTextItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, imports: [[i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
|
|
5821
5957
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTextItemModule, decorators: [{
|
|
5822
5958
|
type: i0.NgModule,
|
|
5823
5959
|
args: [{
|
|
5824
|
-
imports: [
|
|
5960
|
+
imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
|
|
5825
5961
|
declarations: [MtnaWfTextItemComponent],
|
|
5826
5962
|
exports: [MtnaWfTextItemComponent],
|
|
5827
5963
|
}]
|
|
@@ -5835,12 +5971,13 @@
|
|
|
5835
5971
|
return MtnaWfTitleItemComponent;
|
|
5836
5972
|
}(MtnaWfBaseFormItem));
|
|
5837
5973
|
MtnaWfTitleItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5838
|
-
MtnaWfTitleItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTitleItemComponent, selector: "mtna-wf-title-item", usesInheritance: true, ngImport: i0__namespace, template: "<h3 class=\"mtna-wf-title-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">{{ item.value }}</h3>\n", directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5974
|
+
MtnaWfTitleItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfTitleItemComponent, selector: "mtna-wf-title-item", usesInheritance: true, ngImport: i0__namespace, template: "<h3 class=\"mtna-wf-title-item\" [mtnaHighlight]=\"indicatorStatus === 'ACTIVE'\">{{ item.value }}</h3>\n", styles: ["mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-title-item .mtna-wf-title-item{padding-right:24px}mtna-wf-title-item .mtna-wf-title-item{font-size:1rem;font-weight:400;letter-spacing:1px;line-height:32px;text-transform:uppercase}\n"], directives: [{ type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5839
5975
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemComponent, decorators: [{
|
|
5840
5976
|
type: i0.Component,
|
|
5841
5977
|
args: [{
|
|
5842
5978
|
selector: 'mtna-wf-title-item',
|
|
5843
5979
|
templateUrl: './title.component.html',
|
|
5980
|
+
styleUrls: ['./title.component.scss'],
|
|
5844
5981
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5845
5982
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5846
5983
|
}]
|
|
@@ -5852,12 +5989,12 @@
|
|
|
5852
5989
|
return MtnaWfTitleItemModule;
|
|
5853
5990
|
}());
|
|
5854
5991
|
MtnaWfTitleItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5855
|
-
MtnaWfTitleItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, declarations: [MtnaWfTitleItemComponent], imports: [
|
|
5856
|
-
MtnaWfTitleItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, imports: [[
|
|
5992
|
+
MtnaWfTitleItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, declarations: [MtnaWfTitleItemComponent], imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule], exports: [MtnaWfTitleItemComponent] });
|
|
5993
|
+
MtnaWfTitleItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, imports: [[i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule]] });
|
|
5857
5994
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfTitleItemModule, decorators: [{
|
|
5858
5995
|
type: i0.NgModule,
|
|
5859
5996
|
args: [{
|
|
5860
|
-
imports: [
|
|
5997
|
+
imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfGetObjectTypePipeModule],
|
|
5861
5998
|
declarations: [MtnaWfTitleItemComponent],
|
|
5862
5999
|
exports: [MtnaWfTitleItemComponent],
|
|
5863
6000
|
}]
|
|
@@ -5871,7 +6008,7 @@
|
|
|
5871
6008
|
return MtnaWfUnorderedListItemComponent;
|
|
5872
6009
|
}(MtnaWfBaseFormItem));
|
|
5873
6010
|
MtnaWfUnorderedListItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5874
|
-
MtnaWfUnorderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemComponent, selector: "mtna-wf-unordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ul [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ul>\n", styles: ["mtna-wf-unordered-list-item>ul{list-style:disc outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-
|
|
6011
|
+
MtnaWfUnorderedListItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfUnorderedListItemComponent, selector: "mtna-wf-unordered-list-item", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<ul [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !item.questionText && !item.descriptiveText\">\n <li *ngFor=\"let item of item.value\" [innerHTML]=\"item | mtnaWfSanitizeHtml\"></li>\n</ul>\n", styles: ["mtna-wf-unordered-list-item>ul{list-style:disc outside;padding-left:1rem}mtna-annotations-indicator+mtna-wf-item-injector+mtna-wf-unordered-list-item>ul{padding-right:24px}\n"], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "mtnaWfSanitizeHtml": MtnaWfSanitizeHtmlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
5875
6012
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemComponent, decorators: [{
|
|
5876
6013
|
type: i0.Component,
|
|
5877
6014
|
args: [{
|
|
@@ -5889,12 +6026,12 @@
|
|
|
5889
6026
|
return MtnaWfUnorderedListItemModule;
|
|
5890
6027
|
}());
|
|
5891
6028
|
MtnaWfUnorderedListItemModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
5892
|
-
MtnaWfUnorderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, declarations: [MtnaWfUnorderedListItemComponent], imports: [
|
|
5893
|
-
MtnaWfUnorderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, imports: [[
|
|
6029
|
+
MtnaWfUnorderedListItemModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, declarations: [MtnaWfUnorderedListItemComponent], imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule], exports: [MtnaWfUnorderedListItemComponent] });
|
|
6030
|
+
MtnaWfUnorderedListItemModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, imports: [[i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule]] });
|
|
5894
6031
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfUnorderedListItemModule, decorators: [{
|
|
5895
6032
|
type: i0.NgModule,
|
|
5896
6033
|
args: [{
|
|
5897
|
-
imports: [
|
|
6034
|
+
imports: [i3$1.CommonModule, i1$1.MtnaHighlightModule, MtnaWfSanitizeHtmlPipeModule],
|
|
5898
6035
|
declarations: [MtnaWfUnorderedListItemComponent],
|
|
5899
6036
|
exports: [MtnaWfUnorderedListItemComponent],
|
|
5900
6037
|
}]
|
|
@@ -5903,8 +6040,8 @@
|
|
|
5903
6040
|
var MTNA_WF_DEFAULT_YEAR_RANGE = new i0.InjectionToken('mtna.wf.default.year.range');
|
|
5904
6041
|
var MtnaWfYearQuarterComponent = /** @class */ (function (_super) {
|
|
5905
6042
|
__extends(MtnaWfYearQuarterComponent, _super);
|
|
5906
|
-
function MtnaWfYearQuarterComponent(defaultYearRange) {
|
|
5907
|
-
var _this = _super.call(this) || this;
|
|
6043
|
+
function MtnaWfYearQuarterComponent(cdr, defaultYearRange) {
|
|
6044
|
+
var _this = _super.call(this, cdr) || this;
|
|
5908
6045
|
_this.yearQuarterItemClass = true;
|
|
5909
6046
|
_this._quarterControl = new i6.FormControl();
|
|
5910
6047
|
_this._yearControl = new i6.FormControl();
|
|
@@ -6037,8 +6174,8 @@
|
|
|
6037
6174
|
};
|
|
6038
6175
|
return MtnaWfYearQuarterComponent;
|
|
6039
6176
|
}(MtnaWfBaseValueItem));
|
|
6040
|
-
MtnaWfYearQuarterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, deps: [{ token: MTNA_WF_DEFAULT_YEAR_RANGE, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6041
|
-
MtnaWfYearQuarterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item", host: { properties: { "class.mtna-wf-year-quarter-item": "this.yearQuarterItemClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div\n *ngIf=\"control\"\n class=\"year-quarter-container\"\n fxLayout=\"row\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-form-field>\n <mat-select [formControl]=\"_yearControl\" aria-label=\"year selection\">\n <mat-option *ngFor=\"let year of _yearSelection\" [value]=\"year\">{{ year }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field>\n <mat-select [formControl]=\"_quarterControl\" aria-label=\"quarter selection\">\n <mat-option>None</mat-option>\n <mat-option *ngFor=\"let quarter of _yearControl.value | mtnaWfGetQuarters : componentRangeLimits\" [value]=\"quarter\">{{\n $any(quarter) | mtnaWfDateQuarter : 'short'\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</div>\n", styles: ["mtna-wf-year-quarter-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field{max-width:75px}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field:first-of-type{margin-right:8px}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$
|
|
6177
|
+
MtnaWfYearQuarterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: MTNA_WF_DEFAULT_YEAR_RANGE, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6178
|
+
MtnaWfYearQuarterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item", host: { properties: { "class.mtna-wf-year-quarter-item": "this.yearQuarterItemClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n<div\n *ngIf=\"control\"\n class=\"year-quarter-container\"\n fxLayout=\"row\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mat-form-field>\n <mat-select [formControl]=\"_yearControl\" aria-label=\"year selection\">\n <mat-option *ngFor=\"let year of _yearSelection\" [value]=\"year\">{{ year }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field>\n <mat-select [formControl]=\"_quarterControl\" aria-label=\"quarter selection\">\n <mat-option>None</mat-option>\n <mat-option *ngFor=\"let quarter of _yearControl.value | mtnaWfGetQuarters : componentRangeLimits\" [value]=\"quarter\">{{\n $any(quarter) | mtnaWfDateQuarter : 'short'\n }}</mat-option>\n </mat-select>\n <mat-error *ngFor=\"let error of control.errors | keyvalue\">\n {{ error | mtnaWfGetControlError : item }}\n </mat-error>\n </mat-form-field>\n</div>\n", styles: ["mtna-wf-year-quarter-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field{max-width:75px}mtna-wf-year-quarter-item.mtna-wf-year-quarter-item .year-quarter-container>.mat-form-field:first-of-type{margin-right:8px}\n"], components: [{ type: i1__namespace$5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i2__namespace$4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3__namespace$3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace$5.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "keyvalue": i3__namespace.KeyValuePipe, "mtnaWfGetControlError": MtnaWfGetFormControlErrorPipe, "mtnaWfGetQuarters": MtnaWfGetAvailableQuartersPipe, "mtnaWfDateQuarter": MtnaWfDateQuarterPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6042
6179
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterComponent, decorators: [{
|
|
6043
6180
|
type: i0.Component,
|
|
6044
6181
|
args: [{
|
|
@@ -6049,7 +6186,7 @@
|
|
|
6049
6186
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6050
6187
|
}]
|
|
6051
6188
|
}], ctorParameters: function () {
|
|
6052
|
-
return [{ type: undefined, decorators: [{
|
|
6189
|
+
return [{ type: i0__namespace.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
6053
6190
|
type: i0.Optional
|
|
6054
6191
|
}, {
|
|
6055
6192
|
type: i0.Inject,
|
|
@@ -6066,7 +6203,7 @@
|
|
|
6066
6203
|
return MtnaWfYearQuarterModule;
|
|
6067
6204
|
}());
|
|
6068
6205
|
MtnaWfYearQuarterModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6069
|
-
MtnaWfYearQuarterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, declarations: [MtnaWfYearQuarterComponent], imports: [
|
|
6206
|
+
MtnaWfYearQuarterModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, declarations: [MtnaWfYearQuarterComponent], imports: [i3$1.CommonModule,
|
|
6070
6207
|
flexLayout.FlexLayoutModule,
|
|
6071
6208
|
i1$7.MatFormFieldModule,
|
|
6072
6209
|
i2.MatSelectModule,
|
|
@@ -6077,7 +6214,7 @@
|
|
|
6077
6214
|
i1$1.MtnaHighlightModule,
|
|
6078
6215
|
i6.ReactiveFormsModule], exports: [MtnaWfYearQuarterComponent] });
|
|
6079
6216
|
MtnaWfYearQuarterModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterModule, imports: [[
|
|
6080
|
-
|
|
6217
|
+
i3$1.CommonModule,
|
|
6081
6218
|
flexLayout.FlexLayoutModule,
|
|
6082
6219
|
i1$7.MatFormFieldModule,
|
|
6083
6220
|
i2.MatSelectModule,
|
|
@@ -6092,7 +6229,7 @@
|
|
|
6092
6229
|
type: i0.NgModule,
|
|
6093
6230
|
args: [{
|
|
6094
6231
|
imports: [
|
|
6095
|
-
|
|
6232
|
+
i3$1.CommonModule,
|
|
6096
6233
|
flexLayout.FlexLayoutModule,
|
|
6097
6234
|
i1$7.MatFormFieldModule,
|
|
6098
6235
|
i2.MatSelectModule,
|
|
@@ -6117,10 +6254,10 @@
|
|
|
6117
6254
|
}
|
|
6118
6255
|
Object.defineProperty(MtnaWfYearQuarterRangeComponent.prototype, "item", {
|
|
6119
6256
|
get: function () {
|
|
6120
|
-
return
|
|
6257
|
+
return _super.prototype.item;
|
|
6121
6258
|
},
|
|
6122
6259
|
set: function (item) {
|
|
6123
|
-
|
|
6260
|
+
_super.prototype.item = item;
|
|
6124
6261
|
// Create fake items for the underlying date-item component
|
|
6125
6262
|
this._startItem = Object.assign(Object.assign({}, item), { value: undefined });
|
|
6126
6263
|
this._endItem = Object.assign(Object.assign({}, item), { value: undefined });
|
|
@@ -6131,7 +6268,7 @@
|
|
|
6131
6268
|
return MtnaWfYearQuarterRangeComponent;
|
|
6132
6269
|
}(MtnaWfBaseValueItem));
|
|
6133
6270
|
MtnaWfYearQuarterRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6134
|
-
MtnaWfYearQuarterRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterRangeComponent, selector: "mtna-wf-year-quarter-range-item", host: { properties: { "class.mtna-wf-year-quarter-range-item": "this.yearQuarterRangeClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-year-quarter-item\n [item]=\"_startItem\"\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n <span fxFlex=\"14px\">to</span>\n <mtna-wf-year-quarter-item\n [item]=\"_endItem\"\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n</div>\n", styles: ["mtna-wf-year-quarter-range-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-range-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item" }], directives: [{ type:
|
|
6271
|
+
MtnaWfYearQuarterRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MtnaWfYearQuarterRangeComponent, selector: "mtna-wf-year-quarter-range-item", host: { properties: { "class.mtna-wf-year-quarter-range-item": "this.yearQuarterRangeClass" } }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngTemplateOutlet=\"header\"></ng-container>\n\n<div\n *ngIf=\"control\"\n class=\"range-item-container\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"8px\"\n [mtnaHighlight]=\"indicatorStatus === 'ACTIVE' && !hasItemHeader\"\n>\n <mtna-wf-year-quarter-item\n [item]=\"_startItem\"\n [control]=\"control.controls['start'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n <span fxFlex=\"14px\">to</span>\n <mtna-wf-year-quarter-item\n [item]=\"_endItem\"\n [control]=\"control.controls['end'] | mtnaWfCoerceFormControl\"\n [readonly]=\"readonly\"\n ></mtna-wf-year-quarter-item>\n</div>\n", styles: ["mtna-wf-year-quarter-range-item.mtna-wf-control-item .mat-form-field{width:100%}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-error-container{font-size:75%;line-height:1;min-height:1em;margin-top:-.75rem}mtna-wf-year-quarter-range-item.mtna-wf-control-item .control-item-content{padding:.35em .75em .625em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list){padding-left:.75em}mtna-wf-year-quarter-range-item.mtna-wf-control-item .mtna-wf-item-header~:not(.mtna-wf-error-container):not(.mat-list).mat-form-field{width:calc(100% - .75em)}\n"], components: [{ type: MtnaWfYearQuarterComponent, selector: "mtna-wf-year-quarter-item" }], directives: [{ type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i3__namespace$2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i1__namespace$1.MtnaHighlightDirective, selector: "[mtnaHighlight]", inputs: ["mtnaHighlight", "mtnaHighlightColor"], exportAs: ["mtnaHighlight"] }, { type: i3__namespace$2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], pipes: { "mtnaWfCoerceFormControl": MtnaWfCoerceFormControlPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
6135
6272
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeComponent, decorators: [{
|
|
6136
6273
|
type: i0.Component,
|
|
6137
6274
|
args: [{
|
|
@@ -6152,12 +6289,12 @@
|
|
|
6152
6289
|
return MtnaWfYearQuarterRangeModule;
|
|
6153
6290
|
}());
|
|
6154
6291
|
MtnaWfYearQuarterRangeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6155
|
-
MtnaWfYearQuarterRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, declarations: [MtnaWfYearQuarterRangeComponent], imports: [
|
|
6156
|
-
MtnaWfYearQuarterRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, imports: [[
|
|
6292
|
+
MtnaWfYearQuarterRangeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, declarations: [MtnaWfYearQuarterRangeComponent], imports: [i3$1.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule], exports: [MtnaWfYearQuarterRangeComponent] });
|
|
6293
|
+
MtnaWfYearQuarterRangeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, imports: [[i3$1.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule]] });
|
|
6157
6294
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfYearQuarterRangeModule, decorators: [{
|
|
6158
6295
|
type: i0.NgModule,
|
|
6159
6296
|
args: [{
|
|
6160
|
-
imports: [
|
|
6297
|
+
imports: [i3$1.CommonModule, MtnaWfYearQuarterModule, i1$1.MtnaHighlightModule, flexLayout.FlexLayoutModule, MtnaWfCoerceFormControlPipeModule],
|
|
6161
6298
|
declarations: [MtnaWfYearQuarterRangeComponent],
|
|
6162
6299
|
exports: [MtnaWfYearQuarterRangeComponent],
|
|
6163
6300
|
}]
|
|
@@ -6293,23 +6430,6 @@
|
|
|
6293
6430
|
return MtnaWfItemComponentProvider;
|
|
6294
6431
|
}(i1$1.InjectedComponentProvider));
|
|
6295
6432
|
|
|
6296
|
-
var MtnaWfFormItemDialogModule = /** @class */ (function () {
|
|
6297
|
-
function MtnaWfFormItemDialogModule() {
|
|
6298
|
-
}
|
|
6299
|
-
return MtnaWfFormItemDialogModule;
|
|
6300
|
-
}());
|
|
6301
|
-
MtnaWfFormItemDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
6302
|
-
MtnaWfFormItemDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, declarations: [MtnaWfFormItemDialogComponent], imports: [i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule], exports: [MtnaWfFormItemDialogComponent] });
|
|
6303
|
-
MtnaWfFormItemDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, imports: [[i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule]] });
|
|
6304
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MtnaWfFormItemDialogModule, decorators: [{
|
|
6305
|
-
type: i0.NgModule,
|
|
6306
|
-
args: [{
|
|
6307
|
-
imports: [i4.CommonModule, i1.MatDialogModule, MtnaWfFormItemModule],
|
|
6308
|
-
declarations: [MtnaWfFormItemDialogComponent],
|
|
6309
|
-
exports: [MtnaWfFormItemDialogComponent],
|
|
6310
|
-
}]
|
|
6311
|
-
}] });
|
|
6312
|
-
|
|
6313
6433
|
/**
|
|
6314
6434
|
* Base control class for a ValueItem.
|
|
6315
6435
|
* If a FormItem can have value, its component class should extend this class.
|
|
@@ -6327,7 +6447,6 @@
|
|
|
6327
6447
|
return this._control;
|
|
6328
6448
|
},
|
|
6329
6449
|
set: function (control) {
|
|
6330
|
-
console.log(control);
|
|
6331
6450
|
this._control = control;
|
|
6332
6451
|
},
|
|
6333
6452
|
enumerable: false,
|
|
@@ -6535,6 +6654,8 @@
|
|
|
6535
6654
|
exports.MtnaWfCoerceFormControlPipeModule = MtnaWfCoerceFormControlPipeModule;
|
|
6536
6655
|
exports.MtnaWfCoerceFormGroupPipe = MtnaWfCoerceFormGroupPipe;
|
|
6537
6656
|
exports.MtnaWfCoerceFormGroupPipeModule = MtnaWfCoerceFormGroupPipeModule;
|
|
6657
|
+
exports.MtnaWfCoerceFormItemPipe = MtnaWfCoerceFormItemPipe;
|
|
6658
|
+
exports.MtnaWfCoerceFormItemPipeModule = MtnaWfCoerceFormItemPipeModule;
|
|
6538
6659
|
exports.MtnaWfDateComponent = MtnaWfDateComponent;
|
|
6539
6660
|
exports.MtnaWfDateModule = MtnaWfDateModule;
|
|
6540
6661
|
exports.MtnaWfDateQuarterPipe = MtnaWfDateQuarterPipe;
|