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