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