@hmcts/ccd-case-ui-toolkit 6.19.10-doc-upload → 6.19.11-exui-848
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 +166 -127
- 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 +7 -2
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +16 -12
- package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +2 -1
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +4 -3
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +16 -2
- 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 +26 -13
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +164 -126
- 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 +2 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +1 -0
- 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$10 = [[["", "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$10);
|
|
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$_ = [[["", "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$_);
|
|
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$Z = [[["", "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$Z);
|
|
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$Y = 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$Y, 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$Y, 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$Y, 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$Y, 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$Y, 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$Y, 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$X = ["*"];
|
|
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$X, 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$W = 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$W, !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$V = ["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$V, 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$U = 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$U, 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.startsWith(head)) {
|
|
4871
|
+
if (path && 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 {
|
|
@@ -8700,6 +8700,7 @@
|
|
|
8700
8700
|
childrenCaseFields.forEach(function (e) { return _this.hideParentIfAllChildrenHidden(e); });
|
|
8701
8701
|
if (childrenCaseFields.length > 0 && this.allCaseFieldsHidden(childrenCaseFields)) {
|
|
8702
8702
|
caseField.hidden = true;
|
|
8703
|
+
caseField.display_context = 'HIDDEN';
|
|
8703
8704
|
}
|
|
8704
8705
|
};
|
|
8705
8706
|
WizardPageFieldToCaseFieldMapper.prototype.getCaseFieldChildren = function (caseField) {
|
|
@@ -9888,27 +9889,30 @@
|
|
|
9888
9889
|
function ValidPageListCaseFieldsService(fieldsUtils) {
|
|
9889
9890
|
this.fieldsUtils = fieldsUtils;
|
|
9890
9891
|
}
|
|
9891
|
-
ValidPageListCaseFieldsService.prototype.isShown = function (page, eventTriggerFields,
|
|
9892
|
+
ValidPageListCaseFieldsService.prototype.isShown = function (page, eventTriggerFields, formFields) {
|
|
9892
9893
|
var fields = this.fieldsUtils
|
|
9893
|
-
.mergeCaseFieldsAndFormFields(eventTriggerFields,
|
|
9894
|
+
.mergeCaseFieldsAndFormFields(eventTriggerFields, formFields);
|
|
9894
9895
|
return page.parsedShowCondition.match(fields);
|
|
9895
9896
|
};
|
|
9896
|
-
ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList,
|
|
9897
|
+
ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList, caseEventDatadata, eventTriggerFields, fromPreviousPage, formFields) {
|
|
9898
|
+
var pageListCaseFields = this.validPageListCaseFields(validPageList, eventTriggerFields, formFields);
|
|
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, eventTriggerFields, formFields) {
|
|
9897
9908
|
var _this = this;
|
|
9898
|
-
if (fromPreviousPage === void 0) { fromPreviousPage = false; }
|
|
9899
9909
|
var validPageListCaseFields = [];
|
|
9900
9910
|
validPageList.forEach(function (page) {
|
|
9901
|
-
if (_this.isShown(page, eventTriggerFields,
|
|
9911
|
+
if (_this.isShown(page, eventTriggerFields, formFields)) {
|
|
9902
9912
|
page.case_fields.forEach(function (field) { return validPageListCaseFields.push(field); });
|
|
9903
9913
|
}
|
|
9904
9914
|
});
|
|
9905
|
-
|
|
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
|
-
}
|
|
9915
|
+
return validPageListCaseFields;
|
|
9912
9916
|
};
|
|
9913
9917
|
return ValidPageListCaseFieldsService;
|
|
9914
9918
|
}());
|
|
@@ -10109,7 +10113,12 @@
|
|
|
10109
10113
|
// Remove "Launcher"-type fields (these have no values and are not intended to be persisted)
|
|
10110
10114
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
10111
10115
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10112
|
-
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
10116
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false, form.controls['data'].value);
|
|
10117
|
+
var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, eventTrigger.case_fields, form.controls['data'].value);
|
|
10118
|
+
// Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
|
|
10119
|
+
if (!this.isCaseFlagSubmission) {
|
|
10120
|
+
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
10121
|
+
}
|
|
10113
10122
|
caseEventData.event_token = eventTrigger.event_token;
|
|
10114
10123
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
10115
10124
|
if (this.confirmation) {
|
|
@@ -11484,7 +11493,7 @@
|
|
|
11484
11493
|
// Get hold of the CaseEventData.
|
|
11485
11494
|
var caseEventData = this.formValueService.sanitise(formFields);
|
|
11486
11495
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
11487
|
-
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage);
|
|
11496
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage, this.editForm.controls['data'].value);
|
|
11488
11497
|
// Tidy it up before we return it.
|
|
11489
11498
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
11490
11499
|
return caseEventData;
|
|
@@ -11770,7 +11779,7 @@
|
|
|
11770
11779
|
return AddressOption;
|
|
11771
11780
|
}());
|
|
11772
11781
|
|
|
11773
|
-
var _c0$
|
|
11782
|
+
var _c0$T = ["writeComplexFieldComponent"];
|
|
11774
11783
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) {
|
|
11775
11784
|
if (rf & 1) {
|
|
11776
11785
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -12005,7 +12014,7 @@
|
|
|
12005
12014
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12006
12015
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
12007
12016
|
if (rf & 1) {
|
|
12008
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
12017
|
+
i0__namespace.ɵɵviewQuery(_c0$T, 1);
|
|
12009
12018
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
12010
12019
|
}
|
|
12011
12020
|
if (rf & 2) {
|
|
@@ -12659,7 +12668,7 @@
|
|
|
12659
12668
|
i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
12660
12669
|
}
|
|
12661
12670
|
}
|
|
12662
|
-
var _c0$
|
|
12671
|
+
var _c0$S = function (a0) { return { "form-group-error": a0 }; };
|
|
12663
12672
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
12664
12673
|
if (rf & 1) {
|
|
12665
12674
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -12681,7 +12690,7 @@
|
|
|
12681
12690
|
i0__namespace.ɵɵadvance(1);
|
|
12682
12691
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
12683
12692
|
i0__namespace.ɵɵadvance(1);
|
|
12684
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
12693
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$S, ctx_r1.errorMessages.length > 0));
|
|
12685
12694
|
i0__namespace.ɵɵadvance(1);
|
|
12686
12695
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
|
|
12687
12696
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -13157,7 +13166,7 @@
|
|
|
13157
13166
|
}], null, null);
|
|
13158
13167
|
})();
|
|
13159
13168
|
|
|
13160
|
-
var _c0$
|
|
13169
|
+
var _c0$R = ["writeComplexFieldComponent"];
|
|
13161
13170
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
13162
13171
|
if (rf & 1) {
|
|
13163
13172
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -13265,7 +13274,7 @@
|
|
|
13265
13274
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
13266
13275
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
13267
13276
|
if (rf & 1) {
|
|
13268
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13277
|
+
i0__namespace.ɵɵviewQuery(_c0$R, 1);
|
|
13269
13278
|
}
|
|
13270
13279
|
if (rf & 2) {
|
|
13271
13280
|
var _t = void 0;
|
|
@@ -13310,7 +13319,7 @@
|
|
|
13310
13319
|
}] });
|
|
13311
13320
|
})();
|
|
13312
13321
|
|
|
13313
|
-
var _c0$
|
|
13322
|
+
var _c0$Q = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
13314
13323
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
13315
13324
|
if (rf & 1) {
|
|
13316
13325
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -13325,7 +13334,7 @@
|
|
|
13325
13334
|
if (rf & 2) {
|
|
13326
13335
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
13327
13336
|
i0__namespace.ɵɵadvance(4);
|
|
13328
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
13337
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$Q, 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);
|
|
13329
13338
|
}
|
|
13330
13339
|
}
|
|
13331
13340
|
var _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -13490,7 +13499,7 @@
|
|
|
13490
13499
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
13491
13500
|
})();
|
|
13492
13501
|
|
|
13493
|
-
var _c0$
|
|
13502
|
+
var _c0$P = ["collectionItem"];
|
|
13494
13503
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) {
|
|
13495
13504
|
if (rf & 1) {
|
|
13496
13505
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -13923,7 +13932,7 @@
|
|
|
13923
13932
|
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)); };
|
|
13924
13933
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13925
13934
|
if (rf & 1) {
|
|
13926
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13935
|
+
i0__namespace.ɵɵviewQuery(_c0$P, 1);
|
|
13927
13936
|
}
|
|
13928
13937
|
if (rf & 2) {
|
|
13929
13938
|
var _t = void 0;
|
|
@@ -14636,7 +14645,7 @@
|
|
|
14636
14645
|
}], null, null);
|
|
14637
14646
|
})();
|
|
14638
14647
|
|
|
14639
|
-
var _c0$
|
|
14648
|
+
var _c0$O = ["fileInput"];
|
|
14640
14649
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) {
|
|
14641
14650
|
if (rf & 1) {
|
|
14642
14651
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14686,6 +14695,15 @@
|
|
|
14686
14695
|
_this.valid = true;
|
|
14687
14696
|
return _this;
|
|
14688
14697
|
}
|
|
14698
|
+
WriteDocumentFieldComponent.prototype.clickout = function (event) {
|
|
14699
|
+
// Capturing the event of the associated ElementRef <input type="file" #fileInpu
|
|
14700
|
+
if (this.fileInput.nativeElement.contains(event.target)) {
|
|
14701
|
+
this.clickInsideTheDocument = true;
|
|
14702
|
+
}
|
|
14703
|
+
else {
|
|
14704
|
+
this.fileValidations();
|
|
14705
|
+
}
|
|
14706
|
+
};
|
|
14689
14707
|
WriteDocumentFieldComponent.prototype.ngOnInit = function () {
|
|
14690
14708
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
14691
14709
|
if (this.secureModeOn) {
|
|
@@ -14941,12 +14959,16 @@
|
|
|
14941
14959
|
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)); };
|
|
14942
14960
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14943
14961
|
if (rf & 1) {
|
|
14944
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14962
|
+
i0__namespace.ɵɵviewQuery(_c0$O, 1);
|
|
14945
14963
|
}
|
|
14946
14964
|
if (rf & 2) {
|
|
14947
14965
|
var _t = void 0;
|
|
14948
14966
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
14949
14967
|
}
|
|
14968
|
+
}, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) {
|
|
14969
|
+
if (rf & 1) {
|
|
14970
|
+
i0__namespace.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0__namespace.ɵɵresolveDocument);
|
|
14971
|
+
}
|
|
14950
14972
|
}, 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) {
|
|
14951
14973
|
if (rf & 1) {
|
|
14952
14974
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -15015,6 +15037,9 @@
|
|
|
15015
15037
|
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
|
|
15016
15038
|
type: i0.ViewChild,
|
|
15017
15039
|
args: ['fileInput', { static: false }]
|
|
15040
|
+
}], clickout: [{
|
|
15041
|
+
type: i0.HostListener,
|
|
15042
|
+
args: ['document:click', ['$event']]
|
|
15018
15043
|
}] });
|
|
15019
15044
|
})();
|
|
15020
15045
|
|
|
@@ -15148,7 +15173,7 @@
|
|
|
15148
15173
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
15149
15174
|
}
|
|
15150
15175
|
}
|
|
15151
|
-
var _c0$
|
|
15176
|
+
var _c0$N = function (a0) { return { "form-group-error": a0 }; };
|
|
15152
15177
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
15153
15178
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
15154
15179
|
function WriteDynamicListFieldComponent() {
|
|
@@ -15198,7 +15223,7 @@
|
|
|
15198
15223
|
i0__namespace.ɵɵelementEnd();
|
|
15199
15224
|
}
|
|
15200
15225
|
if (rf & 2) {
|
|
15201
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$
|
|
15226
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(13, _c0$N, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15202
15227
|
i0__namespace.ɵɵadvance(1);
|
|
15203
15228
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15204
15229
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15425,7 +15450,7 @@
|
|
|
15425
15450
|
i0__namespace.ɵɵproperty("content", checkbox_r4.label);
|
|
15426
15451
|
}
|
|
15427
15452
|
}
|
|
15428
|
-
var _c0$
|
|
15453
|
+
var _c0$M = function (a0) { return { "error": a0 }; };
|
|
15429
15454
|
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
15430
15455
|
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
15431
15456
|
function WriteDynamicMultiSelectListFieldComponent() {
|
|
@@ -15508,7 +15533,7 @@
|
|
|
15508
15533
|
i0__namespace.ɵɵelementEnd();
|
|
15509
15534
|
}
|
|
15510
15535
|
if (rf & 2) {
|
|
15511
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
15536
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$M, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15512
15537
|
i0__namespace.ɵɵadvance(3);
|
|
15513
15538
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15514
15539
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15660,7 +15685,7 @@
|
|
|
15660
15685
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
15661
15686
|
}
|
|
15662
15687
|
}
|
|
15663
|
-
var _c0$
|
|
15688
|
+
var _c0$L = function (a0) { return { selected: a0 }; };
|
|
15664
15689
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
15665
15690
|
if (rf & 1) {
|
|
15666
15691
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -15674,7 +15699,7 @@
|
|
|
15674
15699
|
if (rf & 2) {
|
|
15675
15700
|
var radioButton_r5 = ctx.$implicit;
|
|
15676
15701
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
15677
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
15702
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
15678
15703
|
i0__namespace.ɵɵadvance(1);
|
|
15679
15704
|
i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
15680
15705
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15840,7 +15865,7 @@
|
|
|
15840
15865
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
15841
15866
|
}
|
|
15842
15867
|
}
|
|
15843
|
-
var _c0$
|
|
15868
|
+
var _c0$K = function (a0) { return { "form-group-error": a0 }; };
|
|
15844
15869
|
var _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
15845
15870
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
15846
15871
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -15865,7 +15890,7 @@
|
|
|
15865
15890
|
i0__namespace.ɵɵelementEnd();
|
|
15866
15891
|
}
|
|
15867
15892
|
if (rf & 2) {
|
|
15868
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
15893
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
15869
15894
|
i0__namespace.ɵɵadvance(1);
|
|
15870
15895
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
15871
15896
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15976,7 +16001,7 @@
|
|
|
15976
16001
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
15977
16002
|
}
|
|
15978
16003
|
}
|
|
15979
|
-
var _c0$
|
|
16004
|
+
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
15980
16005
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
15981
16006
|
__extends(WriteFixedListFieldComponent, _super);
|
|
15982
16007
|
function WriteFixedListFieldComponent() {
|
|
@@ -16025,7 +16050,7 @@
|
|
|
16025
16050
|
i0__namespace.ɵɵelementEnd();
|
|
16026
16051
|
}
|
|
16027
16052
|
if (rf & 2) {
|
|
16028
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16053
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16029
16054
|
i0__namespace.ɵɵadvance(1);
|
|
16030
16055
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
16031
16056
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16147,7 +16172,7 @@
|
|
|
16147
16172
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
16148
16173
|
}
|
|
16149
16174
|
}
|
|
16150
|
-
var _c0$
|
|
16175
|
+
var _c0$I = function (a0) { return { selected: a0 }; };
|
|
16151
16176
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
16152
16177
|
if (rf & 1) {
|
|
16153
16178
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -16161,7 +16186,7 @@
|
|
|
16161
16186
|
if (rf & 2) {
|
|
16162
16187
|
var radioButton_r4 = ctx.$implicit;
|
|
16163
16188
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
16164
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16189
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
16165
16190
|
i0__namespace.ɵɵadvance(1);
|
|
16166
16191
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
16167
16192
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -16344,7 +16369,7 @@
|
|
|
16344
16369
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
16345
16370
|
}
|
|
16346
16371
|
}
|
|
16347
|
-
var _c0$
|
|
16372
|
+
var _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
16348
16373
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) {
|
|
16349
16374
|
if (rf & 1) {
|
|
16350
16375
|
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -16356,7 +16381,7 @@
|
|
|
16356
16381
|
if (rf & 2) {
|
|
16357
16382
|
var judicialUser_r7 = ctx.$implicit;
|
|
16358
16383
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
16359
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
16384
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
16360
16385
|
i0__namespace.ɵɵadvance(1);
|
|
16361
16386
|
i0__namespace.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
16362
16387
|
}
|
|
@@ -17285,7 +17310,7 @@
|
|
|
17285
17310
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
17286
17311
|
}
|
|
17287
17312
|
}
|
|
17288
|
-
var _c0$
|
|
17313
|
+
var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17289
17314
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
17290
17315
|
if (rf & 1) {
|
|
17291
17316
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -17303,7 +17328,7 @@
|
|
|
17303
17328
|
}
|
|
17304
17329
|
if (rf & 2) {
|
|
17305
17330
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
17306
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
17331
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
|
|
17307
17332
|
i0__namespace.ɵɵadvance(3);
|
|
17308
17333
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
17309
17334
|
}
|
|
@@ -17360,11 +17385,11 @@
|
|
|
17360
17385
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
17361
17386
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
17362
17387
|
i0__namespace.ɵɵadvance(1);
|
|
17363
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
17388
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
|
|
17364
17389
|
i0__namespace.ɵɵadvance(3);
|
|
17365
17390
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
17366
17391
|
i0__namespace.ɵɵadvance(2);
|
|
17367
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
17392
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
|
|
17368
17393
|
i0__namespace.ɵɵadvance(5);
|
|
17369
17394
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
17370
17395
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17798,7 +17823,7 @@
|
|
|
17798
17823
|
i0__namespace.ɵɵadvance(4);
|
|
17799
17824
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17800
17825
|
i0__namespace.ɵɵadvance(4);
|
|
17801
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
17826
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
|
|
17802
17827
|
i0__namespace.ɵɵadvance(1);
|
|
17803
17828
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17804
17829
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -18505,7 +18530,7 @@
|
|
|
18505
18530
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
18506
18531
|
}
|
|
18507
18532
|
}
|
|
18508
|
-
var _c0$
|
|
18533
|
+
var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
18509
18534
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
18510
18535
|
if (rf & 1) {
|
|
18511
18536
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -18517,7 +18542,7 @@
|
|
|
18517
18542
|
}
|
|
18518
18543
|
if (rf & 2) {
|
|
18519
18544
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
18520
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
18545
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
18521
18546
|
i0__namespace.ɵɵadvance(1);
|
|
18522
18547
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
18523
18548
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -19404,7 +19429,7 @@
|
|
|
19404
19429
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
19405
19430
|
}
|
|
19406
19431
|
}
|
|
19407
|
-
var _c0$
|
|
19432
|
+
var _c0$E = function (a0) { return { "form-group-error": a0 }; };
|
|
19408
19433
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
19409
19434
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
19410
19435
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -19434,7 +19459,7 @@
|
|
|
19434
19459
|
i0__namespace.ɵɵelementEnd();
|
|
19435
19460
|
}
|
|
19436
19461
|
if (rf & 2) {
|
|
19437
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
19462
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19438
19463
|
i0__namespace.ɵɵadvance(1);
|
|
19439
19464
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19440
19465
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19589,7 +19614,7 @@
|
|
|
19589
19614
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
19590
19615
|
}
|
|
19591
19616
|
}
|
|
19592
|
-
var _c0$
|
|
19617
|
+
var _c0$D = function (a0) { return { "error": a0 }; };
|
|
19593
19618
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19594
19619
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
19595
19620
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -19653,7 +19678,7 @@
|
|
|
19653
19678
|
i0__namespace.ɵɵelementEnd();
|
|
19654
19679
|
}
|
|
19655
19680
|
if (rf & 2) {
|
|
19656
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
19681
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19657
19682
|
i0__namespace.ɵɵadvance(3);
|
|
19658
19683
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19659
19684
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -19747,7 +19772,7 @@
|
|
|
19747
19772
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
|
|
19748
19773
|
}
|
|
19749
19774
|
}
|
|
19750
|
-
var _c0$
|
|
19775
|
+
var _c0$C = function (a0) { return { "form-group-error": a0 }; };
|
|
19751
19776
|
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
19752
19777
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
19753
19778
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -19772,7 +19797,7 @@
|
|
|
19772
19797
|
i0__namespace.ɵɵelementEnd();
|
|
19773
19798
|
}
|
|
19774
19799
|
if (rf & 2) {
|
|
19775
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
19800
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19776
19801
|
i0__namespace.ɵɵadvance(1);
|
|
19777
19802
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
19778
19803
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20111,7 +20136,7 @@
|
|
|
20111
20136
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
20112
20137
|
}
|
|
20113
20138
|
}
|
|
20114
|
-
var _c0$
|
|
20139
|
+
var _c0$B = function (a0) { return { "scroll-container ": a0 }; };
|
|
20115
20140
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) {
|
|
20116
20141
|
if (rf & 1) {
|
|
20117
20142
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -20127,7 +20152,7 @@
|
|
|
20127
20152
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
20128
20153
|
var tmp_0_0 = null;
|
|
20129
20154
|
var tmp_2_0 = null;
|
|
20130
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
20155
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
20131
20156
|
i0__namespace.ɵɵadvance(2);
|
|
20132
20157
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
20133
20158
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -20625,7 +20650,7 @@
|
|
|
20625
20650
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
20626
20651
|
}
|
|
20627
20652
|
}
|
|
20628
|
-
var _c0$
|
|
20653
|
+
var _c0$A = function (a0) { return { "form-group-error": a0 }; };
|
|
20629
20654
|
var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20630
20655
|
var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
20631
20656
|
__extends(WritePhoneUKFieldComponent, _super);
|
|
@@ -20650,7 +20675,7 @@
|
|
|
20650
20675
|
i0__namespace.ɵɵelementEnd();
|
|
20651
20676
|
}
|
|
20652
20677
|
if (rf & 2) {
|
|
20653
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20678
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$A, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20654
20679
|
i0__namespace.ɵɵadvance(1);
|
|
20655
20680
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20656
20681
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20746,7 +20771,7 @@
|
|
|
20746
20771
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
20747
20772
|
}
|
|
20748
20773
|
}
|
|
20749
|
-
var _c0$
|
|
20774
|
+
var _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
20750
20775
|
var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
20751
20776
|
var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
|
|
20752
20777
|
__extends(WriteTextAreaFieldComponent, _super);
|
|
@@ -20782,7 +20807,7 @@
|
|
|
20782
20807
|
i0__namespace.ɵɵelementEnd();
|
|
20783
20808
|
}
|
|
20784
20809
|
if (rf & 2) {
|
|
20785
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20810
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$z, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
20786
20811
|
i0__namespace.ɵɵadvance(1);
|
|
20787
20812
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20788
20813
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -20878,7 +20903,7 @@
|
|
|
20878
20903
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
20879
20904
|
}
|
|
20880
20905
|
}
|
|
20881
|
-
var _c0$
|
|
20906
|
+
var _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
20882
20907
|
var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20883
20908
|
var WriteTextFieldComponent = /** @class */ (function (_super) {
|
|
20884
20909
|
__extends(WriteTextFieldComponent, _super);
|
|
@@ -20908,7 +20933,7 @@
|
|
|
20908
20933
|
i0__namespace.ɵɵelementEnd();
|
|
20909
20934
|
}
|
|
20910
20935
|
if (rf & 2) {
|
|
20911
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
20936
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$y, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
20912
20937
|
i0__namespace.ɵɵadvance(1);
|
|
20913
20938
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
20914
20939
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21121,7 +21146,7 @@
|
|
|
21121
21146
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, i0__namespace.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
21122
21147
|
}
|
|
21123
21148
|
}
|
|
21124
|
-
var _c0$
|
|
21149
|
+
var _c0$x = function (a0) { return { selected: a0 }; };
|
|
21125
21150
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) {
|
|
21126
21151
|
if (rf & 1) {
|
|
21127
21152
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -21134,7 +21159,7 @@
|
|
|
21134
21159
|
if (rf & 2) {
|
|
21135
21160
|
var value_r4 = ctx.$implicit;
|
|
21136
21161
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
21137
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
21162
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$x, ctx_r3.yesNoControl.value === value_r4));
|
|
21138
21163
|
i0__namespace.ɵɵadvance(1);
|
|
21139
21164
|
i0__namespace.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
21140
21165
|
i0__namespace.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -21302,7 +21327,7 @@
|
|
|
21302
21327
|
}], null, null);
|
|
21303
21328
|
})();
|
|
21304
21329
|
|
|
21305
|
-
var _c0$
|
|
21330
|
+
var _c0$w = ["fieldContainer"];
|
|
21306
21331
|
var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
21307
21332
|
var FieldReadComponent = /** @class */ (function (_super) {
|
|
21308
21333
|
__extends(FieldReadComponent, _super);
|
|
@@ -21355,7 +21380,7 @@
|
|
|
21355
21380
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
21356
21381
|
FieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) {
|
|
21357
21382
|
if (rf & 1) {
|
|
21358
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
21383
|
+
i0__namespace.ɵɵviewQuery(_c0$w, 1, i0.ViewContainerRef);
|
|
21359
21384
|
}
|
|
21360
21385
|
if (rf & 2) {
|
|
21361
21386
|
var _t = void 0;
|
|
@@ -21396,7 +21421,7 @@
|
|
|
21396
21421
|
}] });
|
|
21397
21422
|
})();
|
|
21398
21423
|
|
|
21399
|
-
var _c0$
|
|
21424
|
+
var _c0$v = ["fieldContainer"];
|
|
21400
21425
|
var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
21401
21426
|
var FieldWriteComponent = /** @class */ (function (_super) {
|
|
21402
21427
|
__extends(FieldWriteComponent, _super);
|
|
@@ -21444,7 +21469,7 @@
|
|
|
21444
21469
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(PaletteService)); };
|
|
21445
21470
|
FieldWriteComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) {
|
|
21446
21471
|
if (rf & 1) {
|
|
21447
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
21472
|
+
i0__namespace.ɵɵviewQuery(_c0$v, 3, i0.ViewContainerRef);
|
|
21448
21473
|
}
|
|
21449
21474
|
if (rf & 2) {
|
|
21450
21475
|
var _t = void 0;
|
|
@@ -21508,7 +21533,7 @@
|
|
|
21508
21533
|
i0__namespace.ɵɵprojection(0);
|
|
21509
21534
|
}
|
|
21510
21535
|
}
|
|
21511
|
-
var _c0$
|
|
21536
|
+
var _c0$u = ["*"];
|
|
21512
21537
|
var FieldReadLabelComponent = /** @class */ (function (_super) {
|
|
21513
21538
|
__extends(FieldReadLabelComponent, _super);
|
|
21514
21539
|
function FieldReadLabelComponent() {
|
|
@@ -21546,7 +21571,7 @@
|
|
|
21546
21571
|
return FieldReadLabelComponent;
|
|
21547
21572
|
}(AbstractFieldReadComponent));
|
|
21548
21573
|
FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
|
|
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$
|
|
21574
|
+
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$u, 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) {
|
|
21550
21575
|
if (rf & 1) {
|
|
21551
21576
|
i0__namespace.ɵɵprojectionDef();
|
|
21552
21577
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -21585,7 +21610,7 @@
|
|
|
21585
21610
|
i0__namespace.ɵɵelementContainer(0);
|
|
21586
21611
|
}
|
|
21587
21612
|
}
|
|
21588
|
-
var _c0$
|
|
21613
|
+
var _c0$t = function (a0) { return { cat: a0, level: 1 }; };
|
|
21589
21614
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
21590
21615
|
if (rf & 1) {
|
|
21591
21616
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -21597,7 +21622,7 @@
|
|
|
21597
21622
|
i0__namespace.ɵɵnextContext();
|
|
21598
21623
|
var _r1 = i0__namespace.ɵɵreference(13);
|
|
21599
21624
|
i0__namespace.ɵɵadvance(1);
|
|
21600
|
-
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
21625
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c0$t, cat_r3));
|
|
21601
21626
|
}
|
|
21602
21627
|
}
|
|
21603
21628
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) {
|
|
@@ -21839,7 +21864,7 @@
|
|
|
21839
21864
|
i0__namespace.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
21840
21865
|
}
|
|
21841
21866
|
}
|
|
21842
|
-
var _c0$
|
|
21867
|
+
var _c0$s = [[["", "trigger", ""]]];
|
|
21843
21868
|
var _c1$8 = ["[trigger]"];
|
|
21844
21869
|
var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
|
|
21845
21870
|
function CaseFileViewOverlayMenuComponent() {
|
|
@@ -21857,7 +21882,7 @@
|
|
|
21857
21882
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
21858
21883
|
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) {
|
|
21859
21884
|
if (rf & 1) {
|
|
21860
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
21885
|
+
i0__namespace.ɵɵprojectionDef(_c0$s);
|
|
21861
21886
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21862
21887
|
i0__namespace.ɵɵelementStart(1, "button", 0, 1);
|
|
21863
21888
|
i0__namespace.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
@@ -22527,7 +22552,7 @@
|
|
|
22527
22552
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
|
|
22528
22553
|
}
|
|
22529
22554
|
}
|
|
22530
|
-
var _c0$
|
|
22555
|
+
var _c0$r = function (a0) { return { "form-group-error": a0 }; };
|
|
22531
22556
|
var AddCommentsComponent = /** @class */ (function () {
|
|
22532
22557
|
function AddCommentsComponent() {
|
|
22533
22558
|
this.optional = false;
|
|
@@ -22612,7 +22637,7 @@
|
|
|
22612
22637
|
if (rf & 2) {
|
|
22613
22638
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22614
22639
|
i0__namespace.ɵɵadvance(2);
|
|
22615
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$
|
|
22640
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(21, _c0$r, ctx.errorMessages.length > 0));
|
|
22616
22641
|
i0__namespace.ɵɵadvance(2);
|
|
22617
22642
|
i0__namespace.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
22618
22643
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -22986,7 +23011,7 @@
|
|
|
22986
23011
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
|
|
22987
23012
|
}
|
|
22988
23013
|
}
|
|
22989
|
-
var _c0$
|
|
23014
|
+
var _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
22990
23015
|
var ManageCaseFlagsComponent = /** @class */ (function () {
|
|
22991
23016
|
function ManageCaseFlagsComponent() {
|
|
22992
23017
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -23147,7 +23172,7 @@
|
|
|
23147
23172
|
if (rf & 2) {
|
|
23148
23173
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23149
23174
|
i0__namespace.ɵɵadvance(1);
|
|
23150
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
23175
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$q, ctx.errorMessages.length > 0));
|
|
23151
23176
|
i0__namespace.ɵɵadvance(4);
|
|
23152
23177
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
23153
23178
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -23258,7 +23283,7 @@
|
|
|
23258
23283
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
|
|
23259
23284
|
}
|
|
23260
23285
|
}
|
|
23261
|
-
var _c0$
|
|
23286
|
+
var _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
23262
23287
|
function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) {
|
|
23263
23288
|
if (rf & 1) {
|
|
23264
23289
|
i0__namespace.ɵɵelementStart(0, "div", 25);
|
|
@@ -23275,7 +23300,7 @@
|
|
|
23275
23300
|
if (rf & 2) {
|
|
23276
23301
|
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
23277
23302
|
i0__namespace.ɵɵadvance(1);
|
|
23278
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
23303
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$p, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
23279
23304
|
i0__namespace.ɵɵadvance(2);
|
|
23280
23305
|
i0__namespace.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
|
|
23281
23306
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23450,7 +23475,7 @@
|
|
|
23450
23475
|
var _r2 = i0__namespace.ɵɵreference(12);
|
|
23451
23476
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23452
23477
|
i0__namespace.ɵɵadvance(1);
|
|
23453
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$
|
|
23478
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c0$p, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
23454
23479
|
i0__namespace.ɵɵadvance(2);
|
|
23455
23480
|
i0__namespace.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
23456
23481
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23595,7 +23620,7 @@
|
|
|
23595
23620
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Next"));
|
|
23596
23621
|
}
|
|
23597
23622
|
}
|
|
23598
|
-
var _c0$
|
|
23623
|
+
var _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
23599
23624
|
var SelectFlagLocationComponent = /** @class */ (function () {
|
|
23600
23625
|
function SelectFlagLocationComponent() {
|
|
23601
23626
|
this.caseFlagStateEmitter = new i0.EventEmitter();
|
|
@@ -23685,7 +23710,7 @@
|
|
|
23685
23710
|
if (rf & 2) {
|
|
23686
23711
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23687
23712
|
i0__namespace.ɵɵadvance(1);
|
|
23688
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
23713
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$o, ctx.errorMessages.length > 0));
|
|
23689
23714
|
i0__namespace.ɵɵadvance(4);
|
|
23690
23715
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
23691
23716
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -23767,7 +23792,7 @@
|
|
|
23767
23792
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
23768
23793
|
}
|
|
23769
23794
|
}
|
|
23770
|
-
var _c0$
|
|
23795
|
+
var _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
23771
23796
|
var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
23772
23797
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
|
|
23773
23798
|
if (rf & 1) {
|
|
@@ -23784,7 +23809,7 @@
|
|
|
23784
23809
|
if (rf & 2) {
|
|
23785
23810
|
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
23786
23811
|
i0__namespace.ɵɵadvance(1);
|
|
23787
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
23812
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$n, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
23788
23813
|
i0__namespace.ɵɵadvance(3);
|
|
23789
23814
|
i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
23790
23815
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -23953,7 +23978,7 @@
|
|
|
23953
23978
|
if (rf & 2) {
|
|
23954
23979
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
23955
23980
|
i0__namespace.ɵɵadvance(1);
|
|
23956
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
23981
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$n, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
23957
23982
|
i0__namespace.ɵɵadvance(4);
|
|
23958
23983
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
23959
23984
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -24028,7 +24053,7 @@
|
|
|
24028
24053
|
i0__namespace.ɵɵelementEnd();
|
|
24029
24054
|
}
|
|
24030
24055
|
}
|
|
24031
|
-
var _c0$
|
|
24056
|
+
var _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
24032
24057
|
var _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
24033
24058
|
var UpdateFlagComponent = /** @class */ (function () {
|
|
24034
24059
|
function UpdateFlagComponent() {
|
|
@@ -24150,7 +24175,7 @@
|
|
|
24150
24175
|
if (rf & 2) {
|
|
24151
24176
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
24152
24177
|
i0__namespace.ɵɵadvance(2);
|
|
24153
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$
|
|
24178
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$m, ctx.errorMessages.length > 0));
|
|
24154
24179
|
i0__namespace.ɵɵadvance(2);
|
|
24155
24180
|
i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
24156
24181
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -24216,7 +24241,7 @@
|
|
|
24216
24241
|
i0__namespace.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
24217
24242
|
}
|
|
24218
24243
|
}
|
|
24219
|
-
var _c0$
|
|
24244
|
+
var _c0$l = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
24220
24245
|
/**
|
|
24221
24246
|
* Display a complex type fields as a list of values without labels.
|
|
24222
24247
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -24240,7 +24265,7 @@
|
|
|
24240
24265
|
}
|
|
24241
24266
|
if (rf & 2) {
|
|
24242
24267
|
i0__namespace.ɵɵadvance(1);
|
|
24243
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$
|
|
24268
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(2, 1, i0__namespace.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
24244
24269
|
}
|
|
24245
24270
|
}, 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}"] });
|
|
24246
24271
|
var ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
|
|
@@ -24321,6 +24346,7 @@
|
|
|
24321
24346
|
i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
24322
24347
|
}
|
|
24323
24348
|
}
|
|
24349
|
+
var _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
24324
24350
|
var ReadComplexFieldTableComponent = /** @class */ (function (_super) {
|
|
24325
24351
|
__extends(ReadComplexFieldTableComponent, _super);
|
|
24326
24352
|
function ReadComplexFieldTableComponent() {
|
|
@@ -24331,7 +24357,7 @@
|
|
|
24331
24357
|
return ReadComplexFieldTableComponent;
|
|
24332
24358
|
}(AbstractFieldReadComponent));
|
|
24333
24359
|
ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
|
|
24334
|
-
ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
24360
|
+
ReadComplexFieldTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, 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) {
|
|
24335
24361
|
if (rf & 1) {
|
|
24336
24362
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
24337
24363
|
i0__namespace.ɵɵelementStart(1, "dl", 1);
|
|
@@ -24355,7 +24381,7 @@
|
|
|
24355
24381
|
i0__namespace.ɵɵadvance(4);
|
|
24356
24382
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
24357
24383
|
i0__namespace.ɵɵadvance(5);
|
|
24358
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵ
|
|
24384
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBindV(10, 4, i0__namespace.ɵɵpureFunction3(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
|
|
24359
24385
|
}
|
|
24360
24386
|
}, 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}"] });
|
|
24361
24387
|
var ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
|
|
@@ -26389,17 +26415,17 @@
|
|
|
26389
26415
|
/**
|
|
26390
26416
|
* Complex type should have at least on simple field descendant with a value.
|
|
26391
26417
|
*/
|
|
26392
|
-
ReadFieldsFilterPipe.isValidComplex = function (field, values) {
|
|
26418
|
+
ReadFieldsFilterPipe.isValidComplex = function (field, values, checkConditionalShowAgainst) {
|
|
26393
26419
|
values = values || {};
|
|
26394
26420
|
var type = field.field_type;
|
|
26395
26421
|
var value = ReadFieldsFilterPipe.getValue(field, values);
|
|
26396
26422
|
var hasChildrenWithValue = type.complex_fields.find(function (f) {
|
|
26397
|
-
var willKeep = ReadFieldsFilterPipe.keepField(f, value, true);
|
|
26398
|
-
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f,
|
|
26423
|
+
var willKeep = ReadFieldsFilterPipe.keepField(f, value, true, checkConditionalShowAgainst);
|
|
26424
|
+
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, checkConditionalShowAgainst).hidden !== true;
|
|
26399
26425
|
});
|
|
26400
26426
|
return !!hasChildrenWithValue;
|
|
26401
26427
|
};
|
|
26402
|
-
ReadFieldsFilterPipe.isValidCollection = function (field, values) {
|
|
26428
|
+
ReadFieldsFilterPipe.isValidCollection = function (field, values, checkConditionalShowAgainst) {
|
|
26403
26429
|
// if field is collection and it has complex/collection child field; parent field doesnt have value defined
|
|
26404
26430
|
if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
|
|
26405
26431
|
return true;
|
|
@@ -26413,7 +26439,7 @@
|
|
|
26413
26439
|
value: item.value,
|
|
26414
26440
|
label: null,
|
|
26415
26441
|
});
|
|
26416
|
-
return ReadFieldsFilterPipe.isValidComplex(complexField);
|
|
26442
|
+
return ReadFieldsFilterPipe.isValidComplex(complexField, undefined, checkConditionalShowAgainst);
|
|
26417
26443
|
});
|
|
26418
26444
|
}
|
|
26419
26445
|
return isNotEmpty;
|
|
@@ -26425,11 +26451,11 @@
|
|
|
26425
26451
|
ReadFieldsFilterPipe.isCompound = function (field) {
|
|
26426
26452
|
return ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type];
|
|
26427
26453
|
};
|
|
26428
|
-
ReadFieldsFilterPipe.isValidCompound = function (field, value) {
|
|
26454
|
+
ReadFieldsFilterPipe.isValidCompound = function (field, value, checkConditionalShowAgainst) {
|
|
26429
26455
|
return ReadFieldsFilterPipe.isCompound(field)
|
|
26430
|
-
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value);
|
|
26456
|
+
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value, checkConditionalShowAgainst);
|
|
26431
26457
|
};
|
|
26432
|
-
ReadFieldsFilterPipe.keepField = function (field, value, ignoreLabels) {
|
|
26458
|
+
ReadFieldsFilterPipe.keepField = function (field, value, ignoreLabels, checkConditionalShowAgainst) {
|
|
26433
26459
|
if (ignoreLabels === void 0) { ignoreLabels = false; }
|
|
26434
26460
|
// We shouldn't ditch labels.
|
|
26435
26461
|
if (!ignoreLabels && field.field_type.type === 'Label' && (field.label || '').length > 0) {
|
|
@@ -26441,7 +26467,7 @@
|
|
|
26441
26467
|
}
|
|
26442
26468
|
value = value || {};
|
|
26443
26469
|
if (ReadFieldsFilterPipe.isCompound(field)) {
|
|
26444
|
-
return ReadFieldsFilterPipe.isValidCompound(field, value);
|
|
26470
|
+
return ReadFieldsFilterPipe.isValidCompound(field, value, checkConditionalShowAgainst);
|
|
26445
26471
|
}
|
|
26446
26472
|
return !ReadFieldsFilterPipe.isEmpty(field.value)
|
|
26447
26473
|
|| !ReadFieldsFilterPipe.isEmpty(value[field.id]);
|
|
@@ -26484,7 +26510,7 @@
|
|
|
26484
26510
|
/**
|
|
26485
26511
|
* Filter out fields having no data to display and harmonise field values coming parent's value.
|
|
26486
26512
|
*/
|
|
26487
|
-
ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path) {
|
|
26513
|
+
ReadFieldsFilterPipe.prototype.transform = function (complexField, keepEmpty, index, setupHidden, formGroup, path, idPrefix) {
|
|
26488
26514
|
if (setupHidden === void 0) { setupHidden = false; }
|
|
26489
26515
|
if (!complexField || !complexField.field_type) {
|
|
26490
26516
|
return [];
|
|
@@ -26494,8 +26520,21 @@
|
|
|
26494
26520
|
var checkConditionalShowAgainst = values;
|
|
26495
26521
|
var formGroupAvailable = false;
|
|
26496
26522
|
if (formGroup) {
|
|
26497
|
-
checkConditionalShowAgainst = formGroup.
|
|
26523
|
+
checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
|
|
26498
26524
|
formGroupAvailable = true;
|
|
26525
|
+
if (idPrefix !== undefined) {
|
|
26526
|
+
if (idPrefix !== '') {
|
|
26527
|
+
var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
26528
|
+
if (checkConditionalShowAgainst[fieldId]) {
|
|
26529
|
+
checkConditionalShowAgainst = values;
|
|
26530
|
+
formGroupAvailable = false;
|
|
26531
|
+
}
|
|
26532
|
+
}
|
|
26533
|
+
else {
|
|
26534
|
+
checkConditionalShowAgainst = Object.assign(checkConditionalShowAgainst, values);
|
|
26535
|
+
formGroupAvailable = false;
|
|
26536
|
+
}
|
|
26537
|
+
}
|
|
26499
26538
|
}
|
|
26500
26539
|
return fields
|
|
26501
26540
|
.map(function (f) {
|
|
@@ -26515,7 +26554,7 @@
|
|
|
26515
26554
|
}
|
|
26516
26555
|
return f;
|
|
26517
26556
|
})
|
|
26518
|
-
.filter(function (f) { return keepEmpty || ReadFieldsFilterPipe.keepField(f); });
|
|
26557
|
+
.filter(function (f) { return keepEmpty || ReadFieldsFilterPipe.keepField(f, undefined, false, checkConditionalShowAgainst); });
|
|
26519
26558
|
};
|
|
26520
26559
|
return ReadFieldsFilterPipe;
|
|
26521
26560
|
}());
|