@hmcts/ccd-case-ui-toolkit 6.19.9 → 6.19.10-doc-upload
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +112 -143
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +1 -4
- package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +9 -13
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +3 -4
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +2 -16
- package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +2 -2
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +3 -10
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +111 -140
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +1 -2
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +0 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
var _c0
|
|
147
|
+
var _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
148
148
|
var _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
149
149
|
var FooterComponent = /** @class */ (function () {
|
|
150
150
|
function FooterComponent() {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
155
155
|
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$t, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
|
|
156
156
|
if (rf & 1) {
|
|
157
|
-
i0__namespace.ɵɵprojectionDef(_c0
|
|
157
|
+
i0__namespace.ɵɵprojectionDef(_c0$$);
|
|
158
158
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
159
159
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
160
160
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
var _c0
|
|
243
|
+
var _c0$_ = [[["", "headerNavigation", ""]]];
|
|
244
244
|
var _c1$s = ["[headerNavigation]"];
|
|
245
245
|
var HeaderBarComponent = /** @class */ (function () {
|
|
246
246
|
function HeaderBarComponent() {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
255
255
|
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$s, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
|
|
256
256
|
if (rf & 1) {
|
|
257
|
-
i0__namespace.ɵɵprojectionDef(_c0
|
|
257
|
+
i0__namespace.ɵɵprojectionDef(_c0$_);
|
|
258
258
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
259
259
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
260
260
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
}] });
|
|
322
322
|
})();
|
|
323
323
|
|
|
324
|
-
var _c0$
|
|
324
|
+
var _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
325
325
|
var _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
326
326
|
var NavigationComponent = /** @class */ (function () {
|
|
327
327
|
function NavigationComponent() {
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
332
332
|
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$r, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
333
333
|
if (rf & 1) {
|
|
334
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
334
|
+
i0__namespace.ɵɵprojectionDef(_c0$Z);
|
|
335
335
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
336
336
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
337
337
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
}], null, null);
|
|
488
488
|
})();
|
|
489
489
|
|
|
490
|
-
var _c0$
|
|
490
|
+
var _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
491
491
|
var _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
492
492
|
var BodyComponent = /** @class */ (function () {
|
|
493
493
|
function BodyComponent() {
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
498
498
|
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
499
499
|
if (rf & 1) {
|
|
500
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
500
|
+
i0__namespace.ɵɵprojectionDef(_c0$Y);
|
|
501
501
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
502
502
|
i0__namespace.ɵɵprojection(1);
|
|
503
503
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
__disposeResources: __disposeResources,
|
|
982
982
|
};
|
|
983
983
|
|
|
984
|
-
var _c0$
|
|
984
|
+
var _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
|
|
985
985
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
986
986
|
if (rf & 1) {
|
|
987
987
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
i0__namespace.ɵɵadvance(1);
|
|
1003
1003
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Hour"));
|
|
1004
1004
|
i0__namespace.ɵɵadvance(2);
|
|
1005
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
1005
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r3.isInvalid));
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
function DateInputComponent_div_20_Template(rf, ctx) {
|
|
@@ -1025,7 +1025,7 @@
|
|
|
1025
1025
|
i0__namespace.ɵɵadvance(1);
|
|
1026
1026
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Minute"));
|
|
1027
1027
|
i0__namespace.ɵɵadvance(2);
|
|
1028
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
1028
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r4.isInvalid));
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
1031
|
function DateInputComponent_div_21_Template(rf, ctx) {
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
i0__namespace.ɵɵadvance(1);
|
|
1049
1049
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 6, "Second"));
|
|
1050
1050
|
i0__namespace.ɵɵadvance(2);
|
|
1051
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
1051
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$X, ctx_r5.isInvalid));
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1287,19 +1287,19 @@
|
|
|
1287
1287
|
i0__namespace.ɵɵadvance(1);
|
|
1288
1288
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Day"));
|
|
1289
1289
|
i0__namespace.ɵɵadvance(2);
|
|
1290
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$
|
|
1290
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(27, _c0$X, ctx.isInvalid));
|
|
1291
1291
|
i0__namespace.ɵɵadvance(3);
|
|
1292
1292
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1293
1293
|
i0__namespace.ɵɵadvance(1);
|
|
1294
1294
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 23, "Month"));
|
|
1295
1295
|
i0__namespace.ɵɵadvance(2);
|
|
1296
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$
|
|
1296
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(29, _c0$X, ctx.isInvalid));
|
|
1297
1297
|
i0__namespace.ɵɵadvance(3);
|
|
1298
1298
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1299
1299
|
i0__namespace.ɵɵadvance(1);
|
|
1300
1300
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 25, "Year"));
|
|
1301
1301
|
i0__namespace.ɵɵadvance(2);
|
|
1302
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$
|
|
1302
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(31, _c0$X, ctx.isInvalid));
|
|
1303
1303
|
i0__namespace.ɵɵadvance(2);
|
|
1304
1304
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1305
1305
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1380,7 +1380,7 @@
|
|
|
1380
1380
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
|
-
var _c0$
|
|
1383
|
+
var _c0$W = ["*"];
|
|
1384
1384
|
exports.AlertMessageType = void 0;
|
|
1385
1385
|
(function (AlertMessageType) {
|
|
1386
1386
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1401,7 +1401,7 @@
|
|
|
1401
1401
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1402
1402
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1403
1403
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1404
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1404
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$W, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1405
1405
|
if (rf & 1) {
|
|
1406
1406
|
i0__namespace.ɵɵprojectionDef();
|
|
1407
1407
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1683,7 +1683,7 @@
|
|
|
1683
1683
|
}] });
|
|
1684
1684
|
})();
|
|
1685
1685
|
|
|
1686
|
-
var _c0$
|
|
1686
|
+
var _c0$V = function (a0) { return { "js-hidden": a0 }; };
|
|
1687
1687
|
var _c1$p = ["*"];
|
|
1688
1688
|
var TabComponent = /** @class */ (function () {
|
|
1689
1689
|
function TabComponent() {
|
|
@@ -1699,7 +1699,7 @@
|
|
|
1699
1699
|
i0__namespace.ɵɵelementEnd();
|
|
1700
1700
|
}
|
|
1701
1701
|
if (rf & 2) {
|
|
1702
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1702
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
|
|
1703
1703
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1704
1704
|
}
|
|
1705
1705
|
}, directives: [i2__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
}] });
|
|
1723
1723
|
})();
|
|
1724
1724
|
|
|
1725
|
-
var _c0$
|
|
1725
|
+
var _c0$U = ["tab"];
|
|
1726
1726
|
var _c1$o = function () { return ["."]; };
|
|
1727
1727
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1728
1728
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1778,7 +1778,7 @@
|
|
|
1778
1778
|
}
|
|
1779
1779
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1780
1780
|
if (rf & 1) {
|
|
1781
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1781
|
+
i0__namespace.ɵɵviewQuery(_c0$U, 1);
|
|
1782
1782
|
}
|
|
1783
1783
|
if (rf & 2) {
|
|
1784
1784
|
var _t = void 0;
|
|
@@ -1859,7 +1859,7 @@
|
|
|
1859
1859
|
}], null, null);
|
|
1860
1860
|
})();
|
|
1861
1861
|
|
|
1862
|
-
var _c0$
|
|
1862
|
+
var _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1863
1863
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1864
1864
|
function ActivityBannerComponent() {
|
|
1865
1865
|
}
|
|
@@ -1882,7 +1882,7 @@
|
|
|
1882
1882
|
i0__namespace.ɵɵelementEnd();
|
|
1883
1883
|
}
|
|
1884
1884
|
if (rf & 2) {
|
|
1885
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$
|
|
1885
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(8, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1886
1886
|
i0__namespace.ɵɵadvance(2);
|
|
1887
1887
|
i0__namespace.ɵɵpropertyInterpolate("alt", i0__namespace.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1888
1888
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -4868,7 +4868,7 @@
|
|
|
4868
4868
|
};
|
|
4869
4869
|
ConditionParser.findValueForComplexConditionInArray = function (fields, head, tail, path) {
|
|
4870
4870
|
// use the path to resolve which array element we refer to
|
|
4871
|
-
if (path
|
|
4871
|
+
if (path.startsWith(head)) {
|
|
4872
4872
|
var _a = __read(path.split(/[_]+/g)), _ = _a[0], pathTail = _a.slice(1);
|
|
4873
4873
|
if (pathTail.length > 0) {
|
|
4874
4874
|
try {
|
|
@@ -9893,26 +9893,22 @@
|
|
|
9893
9893
|
.mergeCaseFieldsAndFormFields(eventTriggerFields, data);
|
|
9894
9894
|
return page.parsedShowCondition.match(fields);
|
|
9895
9895
|
};
|
|
9896
|
-
ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList,
|
|
9897
|
-
if (fromPreviousPage === void 0) { fromPreviousPage = false; }
|
|
9898
|
-
var pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
|
|
9899
|
-
if (!fromPreviousPage && pageListCaseFields.length > 0) {
|
|
9900
|
-
Object.keys(caseEventDatadata).forEach(function (key) {
|
|
9901
|
-
if (pageListCaseFields.findIndex(function (element) { return element.id === key; }) < 0) {
|
|
9902
|
-
delete caseEventDatadata[key];
|
|
9903
|
-
}
|
|
9904
|
-
});
|
|
9905
|
-
}
|
|
9906
|
-
};
|
|
9907
|
-
ValidPageListCaseFieldsService.prototype.validPageListCaseFields = function (validPageList, data, eventTriggerFields) {
|
|
9896
|
+
ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList, data, eventTriggerFields, fromPreviousPage) {
|
|
9908
9897
|
var _this = this;
|
|
9898
|
+
if (fromPreviousPage === void 0) { fromPreviousPage = false; }
|
|
9909
9899
|
var validPageListCaseFields = [];
|
|
9910
9900
|
validPageList.forEach(function (page) {
|
|
9911
9901
|
if (_this.isShown(page, eventTriggerFields, data)) {
|
|
9912
9902
|
page.case_fields.forEach(function (field) { return validPageListCaseFields.push(field); });
|
|
9913
9903
|
}
|
|
9914
9904
|
});
|
|
9915
|
-
|
|
9905
|
+
if (!fromPreviousPage && validPageListCaseFields.length > 0) {
|
|
9906
|
+
Object.keys(data).forEach(function (key) {
|
|
9907
|
+
if (validPageListCaseFields.findIndex(function (element) { return element.id === key; }) < 0) {
|
|
9908
|
+
delete data[key];
|
|
9909
|
+
}
|
|
9910
|
+
});
|
|
9911
|
+
}
|
|
9916
9912
|
};
|
|
9917
9913
|
return ValidPageListCaseFieldsService;
|
|
9918
9914
|
}());
|
|
@@ -10114,9 +10110,6 @@
|
|
|
10114
10110
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
10115
10111
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10116
10112
|
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
10117
|
-
var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
10118
|
-
// // Remove unnesessary case fields which are hidden
|
|
10119
|
-
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
10120
10113
|
caseEventData.event_token = eventTrigger.event_token;
|
|
10121
10114
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
10122
10115
|
if (this.confirmation) {
|
|
@@ -11777,7 +11770,7 @@
|
|
|
11777
11770
|
return AddressOption;
|
|
11778
11771
|
}());
|
|
11779
11772
|
|
|
11780
|
-
var _c0$
|
|
11773
|
+
var _c0$S = ["writeComplexFieldComponent"];
|
|
11781
11774
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
|
|
11782
11775
|
if (rf & 1) {
|
|
11783
11776
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -12012,7 +12005,7 @@
|
|
|
12012
12005
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12013
12006
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
12014
12007
|
if (rf & 1) {
|
|
12015
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
12008
|
+
i0__namespace.ɵɵviewQuery(_c0$S, 1);
|
|
12016
12009
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
12017
12010
|
}
|
|
12018
12011
|
if (rf & 2) {
|
|
@@ -12666,7 +12659,7 @@
|
|
|
12666
12659
|
i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
12667
12660
|
}
|
|
12668
12661
|
}
|
|
12669
|
-
var _c0$
|
|
12662
|
+
var _c0$R = function (a0) { return { "form-group-error": a0 }; };
|
|
12670
12663
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
12671
12664
|
if (rf & 1) {
|
|
12672
12665
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -12688,7 +12681,7 @@
|
|
|
12688
12681
|
i0__namespace.ɵɵadvance(1);
|
|
12689
12682
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
12690
12683
|
i0__namespace.ɵɵadvance(1);
|
|
12691
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
12684
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$R, ctx_r1.errorMessages.length > 0));
|
|
12692
12685
|
i0__namespace.ɵɵadvance(1);
|
|
12693
12686
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
|
|
12694
12687
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -13164,7 +13157,7 @@
|
|
|
13164
13157
|
}], null, null);
|
|
13165
13158
|
})();
|
|
13166
13159
|
|
|
13167
|
-
var _c0$
|
|
13160
|
+
var _c0$Q = ["writeComplexFieldComponent"];
|
|
13168
13161
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
13169
13162
|
if (rf & 1) {
|
|
13170
13163
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -13272,7 +13265,7 @@
|
|
|
13272
13265
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
13273
13266
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
13274
13267
|
if (rf & 1) {
|
|
13275
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13268
|
+
i0__namespace.ɵɵviewQuery(_c0$Q, 1);
|
|
13276
13269
|
}
|
|
13277
13270
|
if (rf & 2) {
|
|
13278
13271
|
var _t = void 0;
|
|
@@ -13317,7 +13310,7 @@
|
|
|
13317
13310
|
}] });
|
|
13318
13311
|
})();
|
|
13319
13312
|
|
|
13320
|
-
var _c0$
|
|
13313
|
+
var _c0$P = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
13321
13314
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
13322
13315
|
if (rf & 1) {
|
|
13323
13316
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -13332,7 +13325,7 @@
|
|
|
13332
13325
|
if (rf & 2) {
|
|
13333
13326
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
13334
13327
|
i0__namespace.ɵɵadvance(4);
|
|
13335
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
13328
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$P, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
13336
13329
|
}
|
|
13337
13330
|
}
|
|
13338
13331
|
var _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -13497,7 +13490,7 @@
|
|
|
13497
13490
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
13498
13491
|
})();
|
|
13499
13492
|
|
|
13500
|
-
var _c0$
|
|
13493
|
+
var _c0$O = ["collectionItem"];
|
|
13501
13494
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
|
|
13502
13495
|
if (rf & 1) {
|
|
13503
13496
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -13930,7 +13923,7 @@
|
|
|
13930
13923
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$2.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
13931
13924
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13932
13925
|
if (rf & 1) {
|
|
13933
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13926
|
+
i0__namespace.ɵɵviewQuery(_c0$O, 1);
|
|
13934
13927
|
}
|
|
13935
13928
|
if (rf & 2) {
|
|
13936
13929
|
var _t = void 0;
|
|
@@ -14643,7 +14636,7 @@
|
|
|
14643
14636
|
}], null, null);
|
|
14644
14637
|
})();
|
|
14645
14638
|
|
|
14646
|
-
var _c0$
|
|
14639
|
+
var _c0$N = ["fileInput"];
|
|
14647
14640
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
14648
14641
|
if (rf & 1) {
|
|
14649
14642
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14693,15 +14686,6 @@
|
|
|
14693
14686
|
_this.valid = true;
|
|
14694
14687
|
return _this;
|
|
14695
14688
|
}
|
|
14696
|
-
WriteDocumentFieldComponent.prototype.clickout = function (event) {
|
|
14697
|
-
// Capturing the event of the associated ElementRef <input type="file" #fileInpu
|
|
14698
|
-
if (this.fileInput.nativeElement.contains(event.target)) {
|
|
14699
|
-
this.clickInsideTheDocument = true;
|
|
14700
|
-
}
|
|
14701
|
-
else {
|
|
14702
|
-
this.fileValidations();
|
|
14703
|
-
}
|
|
14704
|
-
};
|
|
14705
14689
|
WriteDocumentFieldComponent.prototype.ngOnInit = function () {
|
|
14706
14690
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
14707
14691
|
if (this.secureModeOn) {
|
|
@@ -14957,16 +14941,12 @@
|
|
|
14957
14941
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService), i0__namespace.ɵɵdirectiveInject(JurisdictionService)); };
|
|
14958
14942
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14959
14943
|
if (rf & 1) {
|
|
14960
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14944
|
+
i0__namespace.ɵɵviewQuery(_c0$N, 1);
|
|
14961
14945
|
}
|
|
14962
14946
|
if (rf & 2) {
|
|
14963
14947
|
var _t = void 0;
|
|
14964
14948
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
14965
14949
|
}
|
|
14966
|
-
}, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) {
|
|
14967
|
-
if (rf & 1) {
|
|
14968
|
-
i0__namespace.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0__namespace.ɵɵresolveDocument);
|
|
14969
|
-
}
|
|
14970
14950
|
}, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 19, vars: 22, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "id", "click"], ["type", "file", 1, "form-control", "bottom-30", 3, "id", "accept", "keydown.Tab", "change"], ["fileInput", ""], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "disabled", "click"], [1, "form-hint"], [1, "error-message"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) {
|
|
14971
14951
|
if (rf & 1) {
|
|
14972
14952
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -15035,9 +15015,6 @@
|
|
|
15035
15015
|
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
|
|
15036
15016
|
type: i0.ViewChild,
|
|
15037
15017
|
args: ['fileInput', { static: false }]
|
|
15038
|
-
}], clickout: [{
|
|
15039
|
-
type: i0.HostListener,
|
|
15040
|
-
args: ['document:click', ['$event']]
|
|
15041
15018
|
}] });
|
|
15042
15019
|
})();
|
|
15043
15020
|
|
|
@@ -15171,7 +15148,7 @@
|
|
|
15171
15148
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
15172
15149
|
}
|
|
15173
15150
|
}
|
|
15174
|
-
var _c0$
|
|
15151
|
+
var _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
15175
15152
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
15176
15153
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
15177
15154
|
function WriteDynamicListFieldComponent() {
|
|
@@ -15221,7 +15198,7 @@
|
|
|
15221
15198
|
i0__namespace.ɵɵelementEnd();
|
|
15222
15199
|
}
|
|
15223
15200
|
if (rf & 2) {
|
|
15224
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$
|
|
15201
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15225
15202
|
i0__namespace.ɵɵadvance(1);
|
|
15226
15203
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15227
15204
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15448,7 +15425,7 @@
|
|
|
15448
15425
|
i0__namespace.ɵɵproperty("content", checkbox_r4.label);
|
|
15449
15426
|
}
|
|
15450
15427
|
}
|
|
15451
|
-
var _c0$
|
|
15428
|
+
var _c0$L = function (a0) { return { "error": a0 }; };
|
|
15452
15429
|
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15453
15430
|
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
15454
15431
|
function WriteDynamicMultiSelectListFieldComponent() {
|
|
@@ -15531,7 +15508,7 @@
|
|
|
15531
15508
|
i0__namespace.ɵɵelementEnd();
|
|
15532
15509
|
}
|
|
15533
15510
|
if (rf & 2) {
|
|
15534
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
15511
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15535
15512
|
i0__namespace.ɵɵadvance(3);
|
|
15536
15513
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15537
15514
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15683,7 +15660,7 @@
|
|
|
15683
15660
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
15684
15661
|
}
|
|
15685
15662
|
}
|
|
15686
|
-
var _c0$
|
|
15663
|
+
var _c0$K = function (a0) { return { selected: a0 }; };
|
|
15687
15664
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15688
15665
|
if (rf & 1) {
|
|
15689
15666
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -15697,7 +15674,7 @@
|
|
|
15697
15674
|
if (rf & 2) {
|
|
15698
15675
|
var radioButton_r5 = ctx.$implicit;
|
|
15699
15676
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
15700
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
15677
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
15701
15678
|
i0__namespace.ɵɵadvance(1);
|
|
15702
15679
|
i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
15703
15680
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15863,7 +15840,7 @@
|
|
|
15863
15840
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
15864
15841
|
}
|
|
15865
15842
|
}
|
|
15866
|
-
var _c0$
|
|
15843
|
+
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
15867
15844
|
var _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15868
15845
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15869
15846
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -15888,7 +15865,7 @@
|
|
|
15888
15865
|
i0__namespace.ɵɵelementEnd();
|
|
15889
15866
|
}
|
|
15890
15867
|
if (rf & 2) {
|
|
15891
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
15868
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
15892
15869
|
i0__namespace.ɵɵadvance(1);
|
|
15893
15870
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15894
15871
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15999,7 +15976,7 @@
|
|
|
15999
15976
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
16000
15977
|
}
|
|
16001
15978
|
}
|
|
16002
|
-
var _c0$
|
|
15979
|
+
var _c0$I = function (a0) { return { "form-group-error": a0 }; };
|
|
16003
15980
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
16004
15981
|
__extends(WriteFixedListFieldComponent, _super);
|
|
16005
15982
|
function WriteFixedListFieldComponent() {
|
|
@@ -16048,7 +16025,7 @@
|
|
|
16048
16025
|
i0__namespace.ɵɵelementEnd();
|
|
16049
16026
|
}
|
|
16050
16027
|
if (rf & 2) {
|
|
16051
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16028
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16052
16029
|
i0__namespace.ɵɵadvance(1);
|
|
16053
16030
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
16054
16031
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16170,7 +16147,7 @@
|
|
|
16170
16147
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
16171
16148
|
}
|
|
16172
16149
|
}
|
|
16173
|
-
var _c0$
|
|
16150
|
+
var _c0$H = function (a0) { return { selected: a0 }; };
|
|
16174
16151
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
16175
16152
|
if (rf & 1) {
|
|
16176
16153
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -16184,7 +16161,7 @@
|
|
|
16184
16161
|
if (rf & 2) {
|
|
16185
16162
|
var radioButton_r4 = ctx.$implicit;
|
|
16186
16163
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
16187
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16164
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
16188
16165
|
i0__namespace.ɵɵadvance(1);
|
|
16189
16166
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
16190
16167
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16367,7 +16344,7 @@
|
|
|
16367
16344
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
16368
16345
|
}
|
|
16369
16346
|
}
|
|
16370
|
-
var _c0$
|
|
16347
|
+
var _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
16371
16348
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
16372
16349
|
if (rf & 1) {
|
|
16373
16350
|
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -16379,7 +16356,7 @@
|
|
|
16379
16356
|
if (rf & 2) {
|
|
16380
16357
|
var judicialUser_r7 = ctx.$implicit;
|
|
16381
16358
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
16382
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
16359
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$G, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
16383
16360
|
i0__namespace.ɵɵadvance(1);
|
|
16384
16361
|
i0__namespace.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
16385
16362
|
}
|
|
@@ -17308,7 +17285,7 @@
|
|
|
17308
17285
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
17309
17286
|
}
|
|
17310
17287
|
}
|
|
17311
|
-
var _c0$
|
|
17288
|
+
var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17312
17289
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
17313
17290
|
if (rf & 1) {
|
|
17314
17291
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -17326,7 +17303,7 @@
|
|
|
17326
17303
|
}
|
|
17327
17304
|
if (rf & 2) {
|
|
17328
17305
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
17329
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
17306
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
|
|
17330
17307
|
i0__namespace.ɵɵadvance(3);
|
|
17331
17308
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
17332
17309
|
}
|
|
@@ -17383,11 +17360,11 @@
|
|
|
17383
17360
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
17384
17361
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
17385
17362
|
i0__namespace.ɵɵadvance(1);
|
|
17386
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
17363
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
|
|
17387
17364
|
i0__namespace.ɵɵadvance(3);
|
|
17388
17365
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
17389
17366
|
i0__namespace.ɵɵadvance(2);
|
|
17390
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
17367
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
|
|
17391
17368
|
i0__namespace.ɵɵadvance(5);
|
|
17392
17369
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
17393
17370
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17821,7 +17798,7 @@
|
|
|
17821
17798
|
i0__namespace.ɵɵadvance(4);
|
|
17822
17799
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17823
17800
|
i0__namespace.ɵɵadvance(4);
|
|
17824
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
17801
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
|
|
17825
17802
|
i0__namespace.ɵɵadvance(1);
|
|
17826
17803
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17827
17804
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -18528,7 +18505,7 @@
|
|
|
18528
18505
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
18529
18506
|
}
|
|
18530
18507
|
}
|
|
18531
|
-
var _c0$
|
|
18508
|
+
var _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
18532
18509
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
18533
18510
|
if (rf & 1) {
|
|
18534
18511
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -18540,7 +18517,7 @@
|
|
|
18540
18517
|
}
|
|
18541
18518
|
if (rf & 2) {
|
|
18542
18519
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
18543
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
18520
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
18544
18521
|
i0__namespace.ɵɵadvance(1);
|
|
18545
18522
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
18546
18523
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -19427,7 +19404,7 @@
|
|
|
19427
19404
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
19428
19405
|
}
|
|
19429
19406
|
}
|
|
19430
|
-
var _c0$
|
|
19407
|
+
var _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
19431
19408
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
19432
19409
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
19433
19410
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -19457,7 +19434,7 @@
|
|
|
19457
19434
|
i0__namespace.ɵɵelementEnd();
|
|
19458
19435
|
}
|
|
19459
19436
|
if (rf & 2) {
|
|
19460
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
19437
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19461
19438
|
i0__namespace.ɵɵadvance(1);
|
|
19462
19439
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19463
19440
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19612,7 +19589,7 @@
|
|
|
19612
19589
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
19613
19590
|
}
|
|
19614
19591
|
}
|
|
19615
|
-
var _c0$
|
|
19592
|
+
var _c0$C = function (a0) { return { "error": a0 }; };
|
|
19616
19593
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19617
19594
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
19618
19595
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -19676,7 +19653,7 @@
|
|
|
19676
19653
|
i0__namespace.ɵɵelementEnd();
|
|
19677
19654
|
}
|
|
19678
19655
|
if (rf & 2) {
|
|
19679
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
19656
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19680
19657
|
i0__namespace.ɵɵadvance(3);
|
|
19681
19658
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19682
19659
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19770,7 +19747,7 @@
|
|
|
19770
19747
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
|
|
19771
19748
|
}
|
|
19772
19749
|
}
|
|
19773
|
-
var _c0$
|
|
19750
|
+
var _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
19774
19751
|
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19775
19752
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
19776
19753
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -19795,7 +19772,7 @@
|
|
|
19795
19772
|
i0__namespace.ɵɵelementEnd();
|
|
19796
19773
|
}
|
|
19797
19774
|
if (rf & 2) {
|
|
19798
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
19775
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19799
19776
|
i0__namespace.ɵɵadvance(1);
|
|
19800
19777
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19801
19778
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20134,7 +20111,7 @@
|
|
|
20134
20111
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
20135
20112
|
}
|
|
20136
20113
|
}
|
|
20137
|
-
var _c0$
|
|
20114
|
+
var _c0$A = function (a0) { return { "scroll-container ": a0 }; };
|
|
20138
20115
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
20139
20116
|
if (rf & 1) {
|
|
20140
20117
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -20150,7 +20127,7 @@
|
|
|
20150
20127
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
20151
20128
|
var tmp_0_0 = null;
|
|
20152
20129
|
var tmp_2_0 = null;
|
|
20153
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
20130
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
20154
20131
|
i0__namespace.ɵɵadvance(2);
|
|
20155
20132
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
20156
20133
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -20648,7 +20625,7 @@
|
|
|
20648
20625
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
20649
20626
|
}
|
|
20650
20627
|
}
|
|
20651
|
-
var _c0$
|
|
20628
|
+
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
20652
20629
|
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20653
20630
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
20654
20631
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
@@ -20673,7 +20650,7 @@
|
|
|
20673
20650
|
i0__namespace.ɵɵelementEnd();
|
|
20674
20651
|
}
|
|
20675
20652
|
if (rf & 2) {
|
|
20676
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20653
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20677
20654
|
i0__namespace.ɵɵadvance(1);
|
|
20678
20655
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20679
20656
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20769,7 +20746,7 @@
|
|
|
20769
20746
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
20770
20747
|
}
|
|
20771
20748
|
}
|
|
20772
|
-
var _c0$
|
|
20749
|
+
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
20773
20750
|
var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
20774
20751
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
20775
20752
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
@@ -20805,7 +20782,7 @@
|
|
|
20805
20782
|
i0__namespace.ɵɵelementEnd();
|
|
20806
20783
|
}
|
|
20807
20784
|
if (rf & 2) {
|
|
20808
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20785
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
20809
20786
|
i0__namespace.ɵɵadvance(1);
|
|
20810
20787
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20811
20788
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20901,7 +20878,7 @@
|
|
|
20901
20878
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
20902
20879
|
}
|
|
20903
20880
|
}
|
|
20904
|
-
var _c0$
|
|
20881
|
+
var _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
20905
20882
|
var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20906
20883
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
20907
20884
|
__extends(WriteTextFieldComponent, _super);
|
|
@@ -20931,7 +20908,7 @@
|
|
|
20931
20908
|
i0__namespace.ɵɵelementEnd();
|
|
20932
20909
|
}
|
|
20933
20910
|
if (rf & 2) {
|
|
20934
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20911
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
20935
20912
|
i0__namespace.ɵɵadvance(1);
|
|
20936
20913
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20937
20914
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21144,7 +21121,7 @@
|
|
|
21144
21121
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
21145
21122
|
}
|
|
21146
21123
|
}
|
|
21147
|
-
var _c0$
|
|
21124
|
+
var _c0$w = function (a0) { return { selected: a0 }; };
|
|
21148
21125
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
21149
21126
|
if (rf & 1) {
|
|
21150
21127
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -21157,7 +21134,7 @@
|
|
|
21157
21134
|
if (rf & 2) {
|
|
21158
21135
|
var value_r4 = ctx.$implicit;
|
|
21159
21136
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
21160
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
21137
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
21161
21138
|
i0__namespace.ɵɵadvance(1);
|
|
21162
21139
|
i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
21163
21140
|
i0__namespace.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -21325,7 +21302,7 @@
|
|
|
21325
21302
|
}], null, null);
|
|
21326
21303
|
})();
|
|
21327
21304
|
|
|
21328
|
-
var _c0$
|
|
21305
|
+
var _c0$v = ["fieldContainer"];
|
|
21329
21306
|
var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
21330
21307
|
var FieldReadComponent = /** @class */ (function (_super) {
|
|
21331
21308
|
__extends(FieldReadComponent, _super);
|
|
@@ -21378,7 +21355,7 @@
|
|
|
21378
21355
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
21379
21356
|
FieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
|
|
21380
21357
|
if (rf & 1) {
|
|
21381
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
21358
|
+
i0__namespace.ɵɵviewQuery(_c0$v, 1, i0.ViewContainerRef);
|
|
21382
21359
|
}
|
|
21383
21360
|
if (rf & 2) {
|
|
21384
21361
|
var _t = void 0;
|
|
@@ -21419,7 +21396,7 @@
|
|
|
21419
21396
|
}] });
|
|
21420
21397
|
})();
|
|
21421
21398
|
|
|
21422
|
-
var _c0$
|
|
21399
|
+
var _c0$u = ["fieldContainer"];
|
|
21423
21400
|
var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
21424
21401
|
var FieldWriteComponent = /** @class */ (function (_super) {
|
|
21425
21402
|
__extends(FieldWriteComponent, _super);
|
|
@@ -21467,7 +21444,7 @@
|
|
|
21467
21444
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
21468
21445
|
FieldWriteComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
|
|
21469
21446
|
if (rf & 1) {
|
|
21470
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
21447
|
+
i0__namespace.ɵɵviewQuery(_c0$u, 3, i0.ViewContainerRef);
|
|
21471
21448
|
}
|
|
21472
21449
|
if (rf & 2) {
|
|
21473
21450
|
var _t = void 0;
|
|
@@ -21531,7 +21508,7 @@
|
|
|
21531
21508
|
i0__namespace.ɵɵprojection(0);
|
|
21532
21509
|
}
|
|
21533
21510
|
}
|
|
21534
|
-
var _c0$
|
|
21511
|
+
var _c0$t = ["*"];
|
|
21535
21512
|
var FieldReadLabelComponent = /** @class */ (function (_super) {
|
|
21536
21513
|
__extends(FieldReadLabelComponent, _super);
|
|
21537
21514
|
function FieldReadLabelComponent() {
|
|
@@ -21569,7 +21546,7 @@
|
|
|
21569
21546
|
return FieldReadLabelComponent;
|
|
21570
21547
|
}(AbstractFieldReadComponent));
|
|
21571
21548
|
FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
|
|
21572
|
-
FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
21549
|
+
FieldReadLabelComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$t, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) {
|
|
21573
21550
|
if (rf & 1) {
|
|
21574
21551
|
i0__namespace.ɵɵprojectionDef();
|
|
21575
21552
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -21608,7 +21585,7 @@
|
|
|
21608
21585
|
i0__namespace.ɵɵelementContainer(0);
|
|
21609
21586
|
}
|
|
21610
21587
|
}
|
|
21611
|
-
var _c0$
|
|
21588
|
+
var _c0$s = function (a0) { return { cat: a0, level: 1 }; };
|
|
21612
21589
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
21613
21590
|
if (rf & 1) {
|
|
21614
21591
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -21620,7 +21597,7 @@
|
|
|
21620
21597
|
i0__namespace.ɵɵnextContext();
|
|
21621
21598
|
var _r1 = i0__namespace.ɵɵreference(13);
|
|
21622
21599
|
i0__namespace.ɵɵadvance(1);
|
|
21623
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
21600
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$s, cat_r3));
|
|
21624
21601
|
}
|
|
21625
21602
|
}
|
|
21626
21603
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
@@ -21862,7 +21839,7 @@
|
|
|
21862
21839
|
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
21863
21840
|
}
|
|
21864
21841
|
}
|
|
21865
|
-
var _c0$
|
|
21842
|
+
var _c0$r = [[["", "trigger", ""]]];
|
|
21866
21843
|
var _c1$8 = ["[trigger]"];
|
|
21867
21844
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
21868
21845
|
function CaseFileViewOverlayMenuComponent() {
|
|
@@ -21880,7 +21857,7 @@
|
|
|
21880
21857
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
21881
21858
|
CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$8, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
|
|
21882
21859
|
if (rf & 1) {
|
|
21883
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
21860
|
+
i0__namespace.ɵɵprojectionDef(_c0$r);
|
|
21884
21861
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21885
21862
|
i0__namespace.ɵɵelementStart(1, "button", 0, 1);
|
|
21886
21863
|
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
@@ -22550,7 +22527,7 @@
|
|
|
22550
22527
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
|
|
22551
22528
|
}
|
|
22552
22529
|
}
|
|
22553
|
-
var _c0$
|
|
22530
|
+
var _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
22554
22531
|
var AddCommentsComponent = /** @class */ (function () {
|
|
22555
22532
|
function AddCommentsComponent() {
|
|
22556
22533
|
this.optional = false;
|
|
@@ -22635,7 +22612,7 @@
|
|
|
22635
22612
|
if (rf & 2) {
|
|
22636
22613
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22637
22614
|
i0__namespace.ɵɵadvance(2);
|
|
22638
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$
|
|
22615
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$q, ctx.errorMessages.length > 0));
|
|
22639
22616
|
i0__namespace.ɵɵadvance(2);
|
|
22640
22617
|
i0__namespace.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
22641
22618
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23009,7 +22986,7 @@
|
|
|
23009
22986
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
|
|
23010
22987
|
}
|
|
23011
22988
|
}
|
|
23012
|
-
var _c0$
|
|
22989
|
+
var _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
23013
22990
|
var ManageCaseFlagsComponent = /** @class */ (function () {
|
|
23014
22991
|
function ManageCaseFlagsComponent() {
|
|
23015
22992
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -23170,7 +23147,7 @@
|
|
|
23170
23147
|
if (rf & 2) {
|
|
23171
23148
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23172
23149
|
i0__namespace.ɵɵadvance(1);
|
|
23173
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
23150
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
|
|
23174
23151
|
i0__namespace.ɵɵadvance(4);
|
|
23175
23152
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
23176
23153
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -23281,7 +23258,7 @@
|
|
|
23281
23258
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
|
|
23282
23259
|
}
|
|
23283
23260
|
}
|
|
23284
|
-
var _c0$
|
|
23261
|
+
var _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
23285
23262
|
function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) {
|
|
23286
23263
|
if (rf & 1) {
|
|
23287
23264
|
i0__namespace.ɵɵelementStart(0, "div", 25);
|
|
@@ -23298,7 +23275,7 @@
|
|
|
23298
23275
|
if (rf & 2) {
|
|
23299
23276
|
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
23300
23277
|
i0__namespace.ɵɵadvance(1);
|
|
23301
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
23278
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$o, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
23302
23279
|
i0__namespace.ɵɵadvance(2);
|
|
23303
23280
|
i0__namespace.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
|
|
23304
23281
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23473,7 +23450,7 @@
|
|
|
23473
23450
|
var _r2 = i0__namespace.ɵɵreference(12);
|
|
23474
23451
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23475
23452
|
i0__namespace.ɵɵadvance(1);
|
|
23476
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$
|
|
23453
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$o, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
23477
23454
|
i0__namespace.ɵɵadvance(2);
|
|
23478
23455
|
i0__namespace.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
23479
23456
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23618,7 +23595,7 @@
|
|
|
23618
23595
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
|
|
23619
23596
|
}
|
|
23620
23597
|
}
|
|
23621
|
-
var _c0$
|
|
23598
|
+
var _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
23622
23599
|
var SelectFlagLocationComponent = /** @class */ (function () {
|
|
23623
23600
|
function SelectFlagLocationComponent() {
|
|
23624
23601
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -23708,7 +23685,7 @@
|
|
|
23708
23685
|
if (rf & 2) {
|
|
23709
23686
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23710
23687
|
i0__namespace.ɵɵadvance(1);
|
|
23711
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
23688
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$n, ctx.errorMessages.length > 0));
|
|
23712
23689
|
i0__namespace.ɵɵadvance(4);
|
|
23713
23690
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
23714
23691
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -23790,7 +23767,7 @@
|
|
|
23790
23767
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
23791
23768
|
}
|
|
23792
23769
|
}
|
|
23793
|
-
var _c0$
|
|
23770
|
+
var _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
23794
23771
|
var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
23795
23772
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
23796
23773
|
if (rf & 1) {
|
|
@@ -23807,7 +23784,7 @@
|
|
|
23807
23784
|
if (rf & 2) {
|
|
23808
23785
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
23809
23786
|
i0__namespace.ɵɵadvance(1);
|
|
23810
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
23787
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$m, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
23811
23788
|
i0__namespace.ɵɵadvance(3);
|
|
23812
23789
|
i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
23813
23790
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23976,7 +23953,7 @@
|
|
|
23976
23953
|
if (rf & 2) {
|
|
23977
23954
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23978
23955
|
i0__namespace.ɵɵadvance(1);
|
|
23979
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
23956
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$m, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
23980
23957
|
i0__namespace.ɵɵadvance(4);
|
|
23981
23958
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
23982
23959
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -24051,7 +24028,7 @@
|
|
|
24051
24028
|
i0__namespace.ɵɵelementEnd();
|
|
24052
24029
|
}
|
|
24053
24030
|
}
|
|
24054
|
-
var _c0$
|
|
24031
|
+
var _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
24055
24032
|
var _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
24056
24033
|
var UpdateFlagComponent = /** @class */ (function () {
|
|
24057
24034
|
function UpdateFlagComponent() {
|
|
@@ -24173,7 +24150,7 @@
|
|
|
24173
24150
|
if (rf & 2) {
|
|
24174
24151
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
24175
24152
|
i0__namespace.ɵɵadvance(2);
|
|
24176
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$
|
|
24153
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
|
|
24177
24154
|
i0__namespace.ɵɵadvance(2);
|
|
24178
24155
|
i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
24179
24156
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -24239,7 +24216,7 @@
|
|
|
24239
24216
|
i0__namespace.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
24240
24217
|
}
|
|
24241
24218
|
}
|
|
24242
|
-
var _c0$
|
|
24219
|
+
var _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
24243
24220
|
/**
|
|
24244
24221
|
* Display a complex type fields as a list of values without labels.
|
|
24245
24222
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -24263,7 +24240,7 @@
|
|
|
24263
24240
|
}
|
|
24264
24241
|
if (rf & 2) {
|
|
24265
24242
|
i0__namespace.ɵɵadvance(1);
|
|
24266
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$
|
|
24243
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
24267
24244
|
}
|
|
24268
24245
|
}, styles: ["dl.complex-raw[_ngcontent-%COMP%]{list-style-type:none;margin:5px 0 10px}dl.complex-raw[_ngcontent-%COMP%] dl.complex-raw[_ngcontent-%COMP%]{padding-left:2ch}dl.complex-raw[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:700}"] });
|
|
24269
24246
|
var ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
|
|
@@ -24344,7 +24321,6 @@
|
|
|
24344
24321
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
24345
24322
|
}
|
|
24346
24323
|
}
|
|
24347
|
-
var _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
24348
24324
|
var ReadComplexFieldTableComponent = /** @class */ (function (_super) {
|
|
24349
24325
|
__extends(ReadComplexFieldTableComponent, _super);
|
|
24350
24326
|
function ReadComplexFieldTableComponent() {
|
|
@@ -24355,7 +24331,7 @@
|
|
|
24355
24331
|
return ReadComplexFieldTableComponent;
|
|
24356
24332
|
}(AbstractFieldReadComponent));
|
|
24357
24333
|
ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
|
|
24358
|
-
ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
24334
|
+
ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 11, vars: 9, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) {
|
|
24359
24335
|
if (rf & 1) {
|
|
24360
24336
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
24361
24337
|
i0__namespace.ɵɵelementStart(1, "dl", 1);
|
|
@@ -24379,7 +24355,7 @@
|
|
|
24379
24355
|
i0__namespace.ɵɵadvance(4);
|
|
24380
24356
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
24381
24357
|
i0__namespace.ɵɵadvance(5);
|
|
24382
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵ
|
|
24358
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind4(10, 4, ctx.caseField, false, undefined, true));
|
|
24383
24359
|
}
|
|
24384
24360
|
}, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;padding:5px 5px 2px;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width:641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
24385
24361
|
var ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
|
|
@@ -26508,7 +26484,7 @@
|
|
|
26508
26484
|
/**
|
|
26509
26485
|
* Filter out fields having no data to display and harmonise field values coming parent's value.
|
|
26510
26486
|
*/
|
|
26511
|
-
ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path
|
|
26487
|
+
ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path) {
|
|
26512
26488
|
if (setupHidden === void 0) { setupHidden = false; }
|
|
26513
26489
|
if (!complexField || !complexField.field_type) {
|
|
26514
26490
|
return [];
|
|
@@ -26518,15 +26494,8 @@
|
|
|
26518
26494
|
var checkConditionalShowAgainst = values;
|
|
26519
26495
|
var formGroupAvailable = false;
|
|
26520
26496
|
if (formGroup) {
|
|
26521
|
-
checkConditionalShowAgainst = formGroup.
|
|
26497
|
+
checkConditionalShowAgainst = formGroup.value;
|
|
26522
26498
|
formGroupAvailable = true;
|
|
26523
|
-
if (idPrefix) {
|
|
26524
|
-
var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
26525
|
-
if (checkConditionalShowAgainst[fieldId]) {
|
|
26526
|
-
checkConditionalShowAgainst = values;
|
|
26527
|
-
formGroupAvailable = false;
|
|
26528
|
-
}
|
|
26529
|
-
}
|
|
26530
26499
|
}
|
|
26531
26500
|
return fields
|
|
26532
26501
|
.map(function (f) {
|