@hmcts/ccd-case-ui-toolkit 6.19.9-rc4 → 6.19.10-doc-upload
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +122 -154
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +1 -4
- package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +9 -13
- package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +1 -2
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +3 -4
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +2 -16
- package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +2 -2
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +13 -20
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +121 -151
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +1 -2
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -1
- package/lib/shared/components/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 +0 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -142,13 +142,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
142
142
|
i0.ɵɵadvance(4);
|
|
143
143
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 13, ctx_r1.workhours));
|
|
144
144
|
} }
|
|
145
|
-
const _c0
|
|
145
|
+
const _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
146
146
|
const _c1$t = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
147
147
|
class FooterComponent {
|
|
148
148
|
}
|
|
149
149
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
150
150
|
FooterComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
|
|
151
|
-
i0.ɵɵprojectionDef(_c0
|
|
151
|
+
i0.ɵɵprojectionDef(_c0$$);
|
|
152
152
|
i0.ɵɵelementStart(0, "footer", 0);
|
|
153
153
|
i0.ɵɵelementStart(1, "div", 1);
|
|
154
154
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2);
|
|
@@ -221,7 +221,7 @@ function HeaderBarComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
221
221
|
i0.ɵɵadvance(3);
|
|
222
222
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r2.title));
|
|
223
223
|
} }
|
|
224
|
-
const _c0
|
|
224
|
+
const _c0$_ = [[["", "headerNavigation", ""]]];
|
|
225
225
|
const _c1$s = ["[headerNavigation]"];
|
|
226
226
|
class HeaderBarComponent {
|
|
227
227
|
constructor() {
|
|
@@ -233,7 +233,7 @@ class HeaderBarComponent {
|
|
|
233
233
|
}
|
|
234
234
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
235
235
|
HeaderBarComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
|
|
236
|
-
i0.ɵɵprojectionDef(_c0
|
|
236
|
+
i0.ɵɵprojectionDef(_c0$_);
|
|
237
237
|
i0.ɵɵelementStart(0, "header", 0);
|
|
238
238
|
i0.ɵɵelementStart(1, "div", 1);
|
|
239
239
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -296,13 +296,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
|
|
|
296
296
|
type: Output
|
|
297
297
|
}] }); })();
|
|
298
298
|
|
|
299
|
-
const _c0$
|
|
299
|
+
const _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
300
300
|
const _c1$r = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
301
301
|
class NavigationComponent {
|
|
302
302
|
}
|
|
303
303
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
304
304
|
NavigationComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
|
|
305
|
-
i0.ɵɵprojectionDef(_c0$
|
|
305
|
+
i0.ɵɵprojectionDef(_c0$Z);
|
|
306
306
|
i0.ɵɵelementStart(0, "div");
|
|
307
307
|
i0.ɵɵelementStart(1, "nav", 0);
|
|
308
308
|
i0.ɵɵprojection(2);
|
|
@@ -430,13 +430,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
|
|
|
430
430
|
}]
|
|
431
431
|
}], null, null); })();
|
|
432
432
|
|
|
433
|
-
const _c0$
|
|
433
|
+
const _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
434
434
|
const _c1$q = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
435
435
|
class BodyComponent {
|
|
436
436
|
}
|
|
437
437
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
438
438
|
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$q, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
439
|
-
i0.ɵɵprojectionDef(_c0$
|
|
439
|
+
i0.ɵɵprojectionDef(_c0$Y);
|
|
440
440
|
i0.ɵɵelementStart(0, "div", 0);
|
|
441
441
|
i0.ɵɵprojection(1);
|
|
442
442
|
i0.ɵɵprojection(2, 1);
|
|
@@ -453,7 +453,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
|
|
|
453
453
|
}]
|
|
454
454
|
}], null, null); })();
|
|
455
455
|
|
|
456
|
-
const _c0$
|
|
456
|
+
const _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
|
|
457
457
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
458
458
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
459
459
|
i0.ɵɵelementStart(0, "div", 12);
|
|
@@ -472,7 +472,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
472
472
|
i0.ɵɵadvance(1);
|
|
473
473
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Hour"));
|
|
474
474
|
i0.ɵɵadvance(2);
|
|
475
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
475
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r3.isInvalid));
|
|
476
476
|
} }
|
|
477
477
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
478
478
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
@@ -492,7 +492,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
492
492
|
i0.ɵɵadvance(1);
|
|
493
493
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Minute"));
|
|
494
494
|
i0.ɵɵadvance(2);
|
|
495
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
495
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r4.isInvalid));
|
|
496
496
|
} }
|
|
497
497
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
498
498
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
@@ -512,7 +512,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
512
512
|
i0.ɵɵadvance(1);
|
|
513
513
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "Second"));
|
|
514
514
|
i0.ɵɵadvance(2);
|
|
515
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
515
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(8, _c0$X, ctx_r5.isInvalid));
|
|
516
516
|
} }
|
|
517
517
|
class DateInputComponent {
|
|
518
518
|
constructor() {
|
|
@@ -746,19 +746,19 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
|
|
|
746
746
|
i0.ɵɵadvance(1);
|
|
747
747
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Day"));
|
|
748
748
|
i0.ɵɵadvance(2);
|
|
749
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$
|
|
749
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(27, _c0$X, ctx.isInvalid));
|
|
750
750
|
i0.ɵɵadvance(3);
|
|
751
751
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
752
752
|
i0.ɵɵadvance(1);
|
|
753
753
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 23, "Month"));
|
|
754
754
|
i0.ɵɵadvance(2);
|
|
755
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$
|
|
755
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(29, _c0$X, ctx.isInvalid));
|
|
756
756
|
i0.ɵɵadvance(3);
|
|
757
757
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
758
758
|
i0.ɵɵadvance(1);
|
|
759
759
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 25, "Year"));
|
|
760
760
|
i0.ɵɵadvance(2);
|
|
761
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$
|
|
761
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(31, _c0$X, ctx.isInvalid));
|
|
762
762
|
i0.ɵɵadvance(2);
|
|
763
763
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
764
764
|
i0.ɵɵadvance(1);
|
|
@@ -828,7 +828,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
828
828
|
i0.ɵɵelementEnd();
|
|
829
829
|
i0.ɵɵelementContainerEnd();
|
|
830
830
|
} }
|
|
831
|
-
const _c0$
|
|
831
|
+
const _c0$W = ["*"];
|
|
832
832
|
var AlertMessageType;
|
|
833
833
|
(function (AlertMessageType) {
|
|
834
834
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -848,7 +848,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
848
848
|
AlertComponent.TYPE_ERROR = 'error';
|
|
849
849
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
850
850
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
851
|
-
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
851
|
+
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$W, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
852
852
|
i0.ɵɵprojectionDef();
|
|
853
853
|
i0.ɵɵelementStart(0, "div", 0);
|
|
854
854
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1086,7 +1086,7 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
|
|
|
1086
1086
|
type: Output
|
|
1087
1087
|
}] }); })();
|
|
1088
1088
|
|
|
1089
|
-
const _c0$
|
|
1089
|
+
const _c0$V = function (a0) { return { "js-hidden": a0 }; };
|
|
1090
1090
|
const _c1$p = ["*"];
|
|
1091
1091
|
class TabComponent {
|
|
1092
1092
|
}
|
|
@@ -1097,7 +1097,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1097
1097
|
i0.ɵɵprojection(1);
|
|
1098
1098
|
i0.ɵɵelementEnd();
|
|
1099
1099
|
} if (rf & 2) {
|
|
1100
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
1100
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
|
|
1101
1101
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1102
1102
|
} }, directives: [i2.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}}"] });
|
|
1103
1103
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
|
|
@@ -1117,7 +1117,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1117
1117
|
type: Input
|
|
1118
1118
|
}] }); })();
|
|
1119
1119
|
|
|
1120
|
-
const _c0$
|
|
1120
|
+
const _c0$U = ["tab"];
|
|
1121
1121
|
const _c1$o = function () { return ["."]; };
|
|
1122
1122
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1123
1123
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1164,7 +1164,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
|
|
|
1164
1164
|
let _t;
|
|
1165
1165
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1166
1166
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1167
|
-
i0.ɵɵviewQuery(_c0$
|
|
1167
|
+
i0.ɵɵviewQuery(_c0$U, 1);
|
|
1168
1168
|
} if (rf & 2) {
|
|
1169
1169
|
let _t;
|
|
1170
1170
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1231,7 +1231,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
1231
1231
|
}]
|
|
1232
1232
|
}], null, null); })();
|
|
1233
1233
|
|
|
1234
|
-
const _c0$
|
|
1234
|
+
const _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1235
1235
|
class ActivityBannerComponent {
|
|
1236
1236
|
constructor() { }
|
|
1237
1237
|
ngOnInit() {
|
|
@@ -1250,7 +1250,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
|
|
|
1250
1250
|
i0.ɵɵelementEnd();
|
|
1251
1251
|
i0.ɵɵelementEnd();
|
|
1252
1252
|
} if (rf & 2) {
|
|
1253
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$
|
|
1253
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1254
1254
|
i0.ɵɵadvance(2);
|
|
1255
1255
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1256
1256
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -4225,7 +4225,7 @@ class ConditionParser {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
static findValueForComplexConditionInArray(fields, head, tail, path) {
|
|
4227
4227
|
// use the path to resolve which array element we refer to
|
|
4228
|
-
if (path
|
|
4228
|
+
if (path.startsWith(head)) {
|
|
4229
4229
|
const [_, ...pathTail] = path.split(/[_]+/g);
|
|
4230
4230
|
if (pathTail.length > 0) {
|
|
4231
4231
|
try {
|
|
@@ -7400,7 +7400,6 @@ class WizardPageFieldToCaseFieldMapper {
|
|
|
7400
7400
|
childrenCaseFields.forEach(e => this.hideParentIfAllChildrenHidden(e));
|
|
7401
7401
|
if (childrenCaseFields.length > 0 && this.allCaseFieldsHidden(childrenCaseFields)) {
|
|
7402
7402
|
caseField.hidden = true;
|
|
7403
|
-
caseField.display_context = 'HIDDEN';
|
|
7404
7403
|
}
|
|
7405
7404
|
}
|
|
7406
7405
|
getCaseFieldChildren(caseField) {
|
|
@@ -8520,24 +8519,20 @@ class ValidPageListCaseFieldsService {
|
|
|
8520
8519
|
.mergeCaseFieldsAndFormFields(eventTriggerFields, data);
|
|
8521
8520
|
return page.parsedShowCondition.match(fields);
|
|
8522
8521
|
}
|
|
8523
|
-
deleteNonValidatedFields(validPageList,
|
|
8524
|
-
const pageListCaseFields = this.validPageListCaseFields(validPageList, caseEventDatadata, eventTriggerFields);
|
|
8525
|
-
if (!fromPreviousPage && pageListCaseFields.length > 0) {
|
|
8526
|
-
Object.keys(caseEventDatadata).forEach(key => {
|
|
8527
|
-
if (pageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8528
|
-
delete caseEventDatadata[key];
|
|
8529
|
-
}
|
|
8530
|
-
});
|
|
8531
|
-
}
|
|
8532
|
-
}
|
|
8533
|
-
validPageListCaseFields(validPageList, data, eventTriggerFields) {
|
|
8522
|
+
deleteNonValidatedFields(validPageList, data, eventTriggerFields, fromPreviousPage = false) {
|
|
8534
8523
|
const validPageListCaseFields = [];
|
|
8535
8524
|
validPageList.forEach(page => {
|
|
8536
8525
|
if (this.isShown(page, eventTriggerFields, data)) {
|
|
8537
8526
|
page.case_fields.forEach(field => validPageListCaseFields.push(field));
|
|
8538
8527
|
}
|
|
8539
8528
|
});
|
|
8540
|
-
|
|
8529
|
+
if (!fromPreviousPage && validPageListCaseFields.length > 0) {
|
|
8530
|
+
Object.keys(data).forEach(key => {
|
|
8531
|
+
if (validPageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8532
|
+
delete data[key];
|
|
8533
|
+
}
|
|
8534
|
+
});
|
|
8535
|
+
}
|
|
8541
8536
|
}
|
|
8542
8537
|
}
|
|
8543
8538
|
ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(i0.ɵɵinject(FieldsUtils)); };
|
|
@@ -8732,9 +8727,6 @@ class CaseEditComponent {
|
|
|
8732
8727
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
8733
8728
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
8734
8729
|
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
8735
|
-
const pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
8736
|
-
// // Remove unnesessary case fields which are hidden
|
|
8737
|
-
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
8738
8730
|
caseEventData.event_token = eventTrigger.event_token;
|
|
8739
8731
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
8740
8732
|
if (this.confirmation) {
|
|
@@ -10497,7 +10489,7 @@ WriteComplexFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteComplexFi
|
|
|
10497
10489
|
type: Input
|
|
10498
10490
|
}] }); })();
|
|
10499
10491
|
|
|
10500
|
-
const _c0$
|
|
10492
|
+
const _c0$S = ["writeComplexFieldComponent"];
|
|
10501
10493
|
function WriteAddressFieldComponent_div_1_div_5_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
10502
10494
|
i0.ɵɵelementStart(0, "span", 14);
|
|
10503
10495
|
i0.ɵɵtext(1);
|
|
@@ -10709,7 +10701,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
10709
10701
|
}
|
|
10710
10702
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
10711
10703
|
WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10712
|
-
i0.ɵɵviewQuery(_c0$
|
|
10704
|
+
i0.ɵɵviewQuery(_c0$S, 1);
|
|
10713
10705
|
i0.ɵɵviewQuery(FocusElementDirective, 1);
|
|
10714
10706
|
} if (rf & 2) {
|
|
10715
10707
|
let _t;
|
|
@@ -11287,7 +11279,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_8_Template(rf, ctx) { if
|
|
|
11287
11279
|
i0.ɵɵadvance(1);
|
|
11288
11280
|
i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
11289
11281
|
} }
|
|
11290
|
-
const _c0$
|
|
11282
|
+
const _c0$R = function (a0) { return { "form-group-error": a0 }; };
|
|
11291
11283
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
11292
11284
|
i0.ɵɵelementStart(0, "div", 8);
|
|
11293
11285
|
i0.ɵɵelementStart(1, "div", 9);
|
|
@@ -11307,7 +11299,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11307
11299
|
i0.ɵɵadvance(1);
|
|
11308
11300
|
i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
11309
11301
|
i0.ɵɵadvance(1);
|
|
11310
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
11302
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$R, ctx_r1.errorMessages.length > 0));
|
|
11311
11303
|
i0.ɵɵadvance(1);
|
|
11312
11304
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 8, ctx_r1.createFlagCaption), " ");
|
|
11313
11305
|
i0.ɵɵadvance(2);
|
|
@@ -11744,7 +11736,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
11744
11736
|
}]
|
|
11745
11737
|
}], null, null); })();
|
|
11746
11738
|
|
|
11747
|
-
const _c0$
|
|
11739
|
+
const _c0$Q = ["writeComplexFieldComponent"];
|
|
11748
11740
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11749
11741
|
i0.ɵɵelementStart(0, "span", 6);
|
|
11750
11742
|
i0.ɵɵtext(1);
|
|
@@ -11825,7 +11817,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11825
11817
|
}
|
|
11826
11818
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
11827
11819
|
WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11828
|
-
i0.ɵɵviewQuery(_c0$
|
|
11820
|
+
i0.ɵɵviewQuery(_c0$Q, 1);
|
|
11829
11821
|
} if (rf & 2) {
|
|
11830
11822
|
let _t;
|
|
11831
11823
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -11863,7 +11855,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
|
|
|
11863
11855
|
args: ['writeComplexFieldComponent']
|
|
11864
11856
|
}] }); })();
|
|
11865
11857
|
|
|
11866
|
-
const _c0$
|
|
11858
|
+
const _c0$P = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
11867
11859
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
11868
11860
|
i0.ɵɵelementStart(0, "tbody");
|
|
11869
11861
|
i0.ɵɵelementStart(1, "tr");
|
|
@@ -11876,7 +11868,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11876
11868
|
} if (rf & 2) {
|
|
11877
11869
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11878
11870
|
i0.ɵɵadvance(4);
|
|
11879
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$
|
|
11871
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$P, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
11880
11872
|
} }
|
|
11881
11873
|
const _c1$l = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11882
11874
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -12017,7 +12009,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
12017
12009
|
}]
|
|
12018
12010
|
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
12019
12011
|
|
|
12020
|
-
const _c0$
|
|
12012
|
+
const _c0$O = ["collectionItem"];
|
|
12021
12013
|
function WriteCollectionFieldComponent_h2_9_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
12022
12014
|
i0.ɵɵelementStart(0, "span", 9);
|
|
12023
12015
|
i0.ɵɵtext(1);
|
|
@@ -12411,7 +12403,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12411
12403
|
}
|
|
12412
12404
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
12413
12405
|
WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12414
|
-
i0.ɵɵviewQuery(_c0$
|
|
12406
|
+
i0.ɵɵviewQuery(_c0$O, 1);
|
|
12415
12407
|
} if (rf & 2) {
|
|
12416
12408
|
let _t;
|
|
12417
12409
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -12748,7 +12740,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
|
|
|
12748
12740
|
type: Injectable
|
|
12749
12741
|
}], null, null); })();
|
|
12750
12742
|
|
|
12751
|
-
const _c0$
|
|
12743
|
+
const _c0$N = ["fileInput"];
|
|
12752
12744
|
function WriteDocumentFieldComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
12753
12745
|
i0.ɵɵelementStart(0, "span", 12);
|
|
12754
12746
|
i0.ɵɵtext(1);
|
|
@@ -12787,15 +12779,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12787
12779
|
this.jurisdictionService = jurisdictionService;
|
|
12788
12780
|
this.valid = true;
|
|
12789
12781
|
}
|
|
12790
|
-
clickout(event) {
|
|
12791
|
-
// Capturing the event of the associated ElementRef <input type="file" #fileInpu
|
|
12792
|
-
if (this.fileInput.nativeElement.contains(event.target)) {
|
|
12793
|
-
this.clickInsideTheDocument = true;
|
|
12794
|
-
}
|
|
12795
|
-
else {
|
|
12796
|
-
this.fileValidations();
|
|
12797
|
-
}
|
|
12798
|
-
}
|
|
12799
12782
|
ngOnInit() {
|
|
12800
12783
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
12801
12784
|
if (this.secureModeOn) {
|
|
@@ -13046,12 +13029,10 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
|
|
|
13046
13029
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
13047
13030
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
13048
13031
|
WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
13049
|
-
i0.ɵɵviewQuery(_c0$
|
|
13032
|
+
i0.ɵɵviewQuery(_c0$N, 1);
|
|
13050
13033
|
} if (rf & 2) {
|
|
13051
13034
|
let _t;
|
|
13052
13035
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
13053
|
-
} }, hostBindings: function WriteDocumentFieldComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
13054
|
-
i0.ɵɵlistener("click", function WriteDocumentFieldComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, i0.ɵɵresolveDocument);
|
|
13055
13036
|
} }, features: [i0.ɵɵ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) { if (rf & 1) {
|
|
13056
13037
|
i0.ɵɵelementStart(0, "div", 0);
|
|
13057
13038
|
i0.ɵɵelementStart(1, "label", 1);
|
|
@@ -13116,9 +13097,6 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
|
|
|
13116
13097
|
}], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatDialog }, { type: FileUploadStateService }, { type: JurisdictionService }]; }, { fileInput: [{
|
|
13117
13098
|
type: ViewChild,
|
|
13118
13099
|
args: ['fileInput', { static: false }]
|
|
13119
|
-
}], clickout: [{
|
|
13120
|
-
type: HostListener,
|
|
13121
|
-
args: ['document:click', ['$event']]
|
|
13122
13100
|
}] }); })();
|
|
13123
13101
|
|
|
13124
13102
|
class DynamicListPipe {
|
|
@@ -13221,7 +13199,7 @@ function WriteDynamicListFieldComponent_option_10_Template(rf, ctx) { if (rf & 1
|
|
|
13221
13199
|
i0.ɵɵadvance(1);
|
|
13222
13200
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r5.label));
|
|
13223
13201
|
} }
|
|
13224
|
-
const _c0$
|
|
13202
|
+
const _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
13225
13203
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
13226
13204
|
ngOnInit() {
|
|
13227
13205
|
/**
|
|
@@ -13264,7 +13242,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
13264
13242
|
i0.ɵɵelementEnd();
|
|
13265
13243
|
i0.ɵɵelementEnd();
|
|
13266
13244
|
} if (rf & 2) {
|
|
13267
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
13245
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
13268
13246
|
i0.ɵɵadvance(1);
|
|
13269
13247
|
i0.ɵɵproperty("for", ctx.id());
|
|
13270
13248
|
i0.ɵɵadvance(1);
|
|
@@ -13449,7 +13427,7 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
13449
13427
|
i0.ɵɵadvance(1);
|
|
13450
13428
|
i0.ɵɵproperty("content", checkbox_r4.label);
|
|
13451
13429
|
} }
|
|
13452
|
-
const _c0$
|
|
13430
|
+
const _c0$L = function (a0) { return { "error": a0 }; };
|
|
13453
13431
|
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
13454
13432
|
ngOnInit() {
|
|
13455
13433
|
this.checkboxes = new FormArray([]);
|
|
@@ -13523,7 +13501,7 @@ WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type:
|
|
|
13523
13501
|
i0.ɵɵelementEnd();
|
|
13524
13502
|
i0.ɵɵelementEnd();
|
|
13525
13503
|
} if (rf & 2) {
|
|
13526
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
13504
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$L, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
13527
13505
|
i0.ɵɵadvance(3);
|
|
13528
13506
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
13529
13507
|
i0.ɵɵadvance(1);
|
|
@@ -13645,7 +13623,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
|
|
|
13645
13623
|
i0.ɵɵadvance(1);
|
|
13646
13624
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind1(3, 3, ctx_r3.dynamicRadioListControl.errors)));
|
|
13647
13625
|
} }
|
|
13648
|
-
const _c0$
|
|
13626
|
+
const _c0$K = function (a0) { return { selected: a0 }; };
|
|
13649
13627
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
13650
13628
|
i0.ɵɵelementStart(0, "div", 10);
|
|
13651
13629
|
i0.ɵɵelement(1, "input", 11);
|
|
@@ -13657,7 +13635,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
13657
13635
|
} if (rf & 2) {
|
|
13658
13636
|
const radioButton_r5 = ctx.$implicit;
|
|
13659
13637
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
13660
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
13638
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
13661
13639
|
i0.ɵɵadvance(1);
|
|
13662
13640
|
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.id())("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
13663
13641
|
i0.ɵɵadvance(1);
|
|
@@ -13792,7 +13770,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13792
13770
|
i0.ɵɵadvance(1);
|
|
13793
13771
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.emailControl.errors, ctx_r2.caseField.label)));
|
|
13794
13772
|
} }
|
|
13795
|
-
const _c0$
|
|
13773
|
+
const _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
13796
13774
|
const _c1$i = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13797
13775
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
13798
13776
|
ngOnInit() {
|
|
@@ -13810,7 +13788,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
13810
13788
|
i0.ɵɵelement(5, "input", 5);
|
|
13811
13789
|
i0.ɵɵelementEnd();
|
|
13812
13790
|
} if (rf & 2) {
|
|
13813
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
13791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$J, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
13814
13792
|
i0.ɵɵadvance(1);
|
|
13815
13793
|
i0.ɵɵproperty("for", ctx.id());
|
|
13816
13794
|
i0.ɵɵadvance(1);
|
|
@@ -13896,7 +13874,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
13896
13874
|
i0.ɵɵadvance(1);
|
|
13897
13875
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, type_r4.label));
|
|
13898
13876
|
} }
|
|
13899
|
-
const _c0$
|
|
13877
|
+
const _c0$I = function (a0) { return { "form-group-error": a0 }; };
|
|
13900
13878
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
13901
13879
|
get listItems() {
|
|
13902
13880
|
if (this.caseField) {
|
|
@@ -13934,7 +13912,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
13934
13912
|
i0.ɵɵelementEnd();
|
|
13935
13913
|
i0.ɵɵelementEnd();
|
|
13936
13914
|
} if (rf & 2) {
|
|
13937
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
13915
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$I, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
13938
13916
|
i0.ɵɵadvance(1);
|
|
13939
13917
|
i0.ɵɵproperty("for", ctx.id());
|
|
13940
13918
|
i0.ɵɵadvance(1);
|
|
@@ -14029,7 +14007,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
|
|
|
14029
14007
|
i0.ɵɵadvance(1);
|
|
14030
14008
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label)));
|
|
14031
14009
|
} }
|
|
14032
|
-
const _c0$
|
|
14010
|
+
const _c0$H = function (a0) { return { selected: a0 }; };
|
|
14033
14011
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
14034
14012
|
i0.ɵɵelementStart(0, "div", 9);
|
|
14035
14013
|
i0.ɵɵelement(1, "input", 10);
|
|
@@ -14041,7 +14019,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
14041
14019
|
} if (rf & 2) {
|
|
14042
14020
|
const radioButton_r4 = ctx.$implicit;
|
|
14043
14021
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
14044
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
14022
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$H, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
14045
14023
|
i0.ɵɵadvance(1);
|
|
14046
14024
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
14047
14025
|
i0.ɵɵadvance(1);
|
|
@@ -14182,7 +14160,7 @@ function WriteJudicialUserFieldComponent_span_4_Template(rf, ctx) { if (rf & 1)
|
|
|
14182
14160
|
i0.ɵɵadvance(1);
|
|
14183
14161
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r2.errors, ctx_r2.caseField.label), " ");
|
|
14184
14162
|
} }
|
|
14185
|
-
const _c0$
|
|
14163
|
+
const _c0$G = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
14186
14164
|
function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
14187
14165
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
14188
14166
|
i0.ɵɵelementStart(0, "mat-option", 13);
|
|
@@ -14192,7 +14170,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
|
|
|
14192
14170
|
} if (rf & 2) {
|
|
14193
14171
|
const judicialUser_r7 = ctx.$implicit;
|
|
14194
14172
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
14195
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
14173
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$G, !ctx_r4.showAutocomplete))("value", judicialUser_r7);
|
|
14196
14174
|
i0.ɵɵadvance(1);
|
|
14197
14175
|
i0.ɵɵtextInterpolate2(" ", (judicialUser_r7 == null ? null : judicialUser_r7.fullName) ? judicialUser_r7.fullName : "", "", (judicialUser_r7 == null ? null : judicialUser_r7.emailId) ? " (" + judicialUser_r7.emailId + ")" : "", " ");
|
|
14198
14176
|
} }
|
|
@@ -15016,7 +14994,7 @@ function LinkCasesComponent_div_8_div_14_span_3_Template(rf, ctx) { if (rf & 1)
|
|
|
15016
14994
|
i0.ɵɵadvance(3);
|
|
15017
14995
|
i0.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
15018
14996
|
} }
|
|
15019
|
-
const _c0$
|
|
14997
|
+
const _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
15020
14998
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
15021
14999
|
i0.ɵɵelementStart(0, "div", 35);
|
|
15022
15000
|
i0.ɵɵelementStart(1, "h3", 22);
|
|
@@ -15032,7 +15010,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
15032
15010
|
i0.ɵɵelementEnd();
|
|
15033
15011
|
} if (rf & 2) {
|
|
15034
15012
|
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
15035
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
15013
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$F, !!ctx_r7.caseReasonCommentsError));
|
|
15036
15014
|
i0.ɵɵadvance(3);
|
|
15037
15015
|
i0.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
15038
15016
|
} }
|
|
@@ -15083,11 +15061,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
15083
15061
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
15084
15062
|
i0.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
15085
15063
|
i0.ɵɵadvance(1);
|
|
15086
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
15064
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$F, !!ctx_r0.caseNumberError));
|
|
15087
15065
|
i0.ɵɵadvance(3);
|
|
15088
15066
|
i0.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
15089
15067
|
i0.ɵɵadvance(2);
|
|
15090
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
15068
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$F, !!ctx_r0.caseReasonError));
|
|
15091
15069
|
i0.ɵɵadvance(5);
|
|
15092
15070
|
i0.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
15093
15071
|
i0.ɵɵadvance(2);
|
|
@@ -15498,7 +15476,7 @@ LinkCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LinkCasesComponent, se
|
|
|
15498
15476
|
i0.ɵɵadvance(4);
|
|
15499
15477
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
15500
15478
|
i0.ɵɵadvance(4);
|
|
15501
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
15479
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$F, !!ctx.noSelectedCaseError));
|
|
15502
15480
|
i0.ɵɵadvance(1);
|
|
15503
15481
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
15504
15482
|
i0.ɵɵadvance(18);
|
|
@@ -16129,7 +16107,7 @@ function UnLinkCasesComponent_div_0_div_4_div_3_Template(rf, ctx) { if (rf & 1)
|
|
|
16129
16107
|
i0.ɵɵadvance(1);
|
|
16130
16108
|
i0.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
16131
16109
|
} }
|
|
16132
|
-
const _c0$
|
|
16110
|
+
const _c0$E = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16133
16111
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
16134
16112
|
i0.ɵɵelementStart(0, "div", 7);
|
|
16135
16113
|
i0.ɵɵtemplate(1, UnLinkCasesComponent_div_0_div_4_p_1_Template, 4, 1, "p", 8);
|
|
@@ -16139,7 +16117,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16139
16117
|
i0.ɵɵelementEnd();
|
|
16140
16118
|
} if (rf & 2) {
|
|
16141
16119
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
16142
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
16120
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$E, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
16143
16121
|
i0.ɵɵadvance(1);
|
|
16144
16122
|
i0.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
16145
16123
|
i0.ɵɵadvance(2);
|
|
@@ -16909,7 +16887,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16909
16887
|
i0.ɵɵadvance(1);
|
|
16910
16888
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label)));
|
|
16911
16889
|
} }
|
|
16912
|
-
const _c0$
|
|
16890
|
+
const _c0$D = function (a0) { return { "form-group-error": a0 }; };
|
|
16913
16891
|
class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
16914
16892
|
ngOnInit() {
|
|
16915
16893
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -16932,7 +16910,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
|
|
|
16932
16910
|
i0.ɵɵelementEnd();
|
|
16933
16911
|
i0.ɵɵelementEnd();
|
|
16934
16912
|
} if (rf & 2) {
|
|
16935
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
16913
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$D, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
16936
16914
|
i0.ɵɵadvance(1);
|
|
16937
16915
|
i0.ɵɵproperty("for", ctx.id());
|
|
16938
16916
|
i0.ɵɵadvance(1);
|
|
@@ -17056,7 +17034,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
|
|
|
17056
17034
|
i0.ɵɵadvance(1);
|
|
17057
17035
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 6, checkbox_r4.label));
|
|
17058
17036
|
} }
|
|
17059
|
-
const _c0$
|
|
17037
|
+
const _c0$C = function (a0) { return { "error": a0 }; };
|
|
17060
17038
|
class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
17061
17039
|
ngOnInit() {
|
|
17062
17040
|
this.checkboxes = new FormArray([]);
|
|
@@ -17111,7 +17089,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
|
|
|
17111
17089
|
i0.ɵɵelementEnd();
|
|
17112
17090
|
i0.ɵɵelementEnd();
|
|
17113
17091
|
} if (rf & 2) {
|
|
17114
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
17092
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$C, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
17115
17093
|
i0.ɵɵadvance(3);
|
|
17116
17094
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
17117
17095
|
i0.ɵɵadvance(1);
|
|
@@ -17183,7 +17161,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
17183
17161
|
i0.ɵɵadvance(1);
|
|
17184
17162
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.numberControl.errors, ctx_r2.caseField.label)), " ");
|
|
17185
17163
|
} }
|
|
17186
|
-
const _c0$
|
|
17164
|
+
const _c0$B = function (a0) { return { "form-group-error": a0 }; };
|
|
17187
17165
|
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17188
17166
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
17189
17167
|
ngOnInit() {
|
|
@@ -17201,7 +17179,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
17201
17179
|
i0.ɵɵelement(5, "input", 5);
|
|
17202
17180
|
i0.ɵɵelementEnd();
|
|
17203
17181
|
} if (rf & 2) {
|
|
17204
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17182
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
17205
17183
|
i0.ɵɵadvance(1);
|
|
17206
17184
|
i0.ɵɵproperty("for", ctx.id());
|
|
17207
17185
|
i0.ɵɵadvance(1);
|
|
@@ -17487,7 +17465,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_div_4_Template(rf, ct
|
|
|
17487
17465
|
i0.ɵɵadvance(2);
|
|
17488
17466
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, "No results found."), " ");
|
|
17489
17467
|
} }
|
|
17490
|
-
const _c0$
|
|
17468
|
+
const _c0$A = function (a0) { return { "scroll-container ": a0 }; };
|
|
17491
17469
|
function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
17492
17470
|
i0.ɵɵelementStart(0, "div", 26);
|
|
17493
17471
|
i0.ɵɵpipe(1, "async");
|
|
@@ -17501,7 +17479,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
17501
17479
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
17502
17480
|
let tmp_0_0 = null;
|
|
17503
17481
|
let tmp_2_0 = null;
|
|
17504
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
17482
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$A, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
17505
17483
|
i0.ɵɵadvance(2);
|
|
17506
17484
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
17507
17485
|
i0.ɵɵadvance(2);
|
|
@@ -17926,7 +17904,7 @@ function WritePhoneUKFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
17926
17904
|
i0.ɵɵadvance(1);
|
|
17927
17905
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.phoneUkControl.errors, ctx_r2.caseField.label)), " ");
|
|
17928
17906
|
} }
|
|
17929
|
-
const _c0$
|
|
17907
|
+
const _c0$z = function (a0) { return { "form-group-error": a0 }; };
|
|
17930
17908
|
const _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
|
|
17931
17909
|
class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
17932
17910
|
ngOnInit() {
|
|
@@ -17944,7 +17922,7 @@ WritePhoneUKFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WritePhoneUKFi
|
|
|
17944
17922
|
i0.ɵɵelement(5, "input", 5);
|
|
17945
17923
|
i0.ɵɵelementEnd();
|
|
17946
17924
|
} if (rf & 2) {
|
|
17947
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17925
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$z, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
17948
17926
|
i0.ɵɵadvance(1);
|
|
17949
17927
|
i0.ɵɵproperty("for", ctx.id());
|
|
17950
17928
|
i0.ɵɵadvance(1);
|
|
@@ -18018,7 +17996,7 @@ function WriteTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18018
17996
|
i0.ɵɵadvance(1);
|
|
18019
17997
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textareaControl.errors, ctx_r2.caseField.label)), " ");
|
|
18020
17998
|
} }
|
|
18021
|
-
const _c0$
|
|
17999
|
+
const _c0$y = function (a0) { return { "form-group-error": a0 }; };
|
|
18022
18000
|
const _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
|
|
18023
18001
|
class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
18024
18002
|
constructor(browserService) {
|
|
@@ -18049,7 +18027,7 @@ WriteTextAreaFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextArea
|
|
|
18049
18027
|
i0.ɵɵelementEnd();
|
|
18050
18028
|
i0.ɵɵelementEnd();
|
|
18051
18029
|
} if (rf & 2) {
|
|
18052
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18030
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$y, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
18053
18031
|
i0.ɵɵadvance(1);
|
|
18054
18032
|
i0.ɵɵproperty("for", ctx.id());
|
|
18055
18033
|
i0.ɵɵadvance(1);
|
|
@@ -18123,7 +18101,7 @@ function WriteTextFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18123
18101
|
i0.ɵɵadvance(1);
|
|
18124
18102
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.textControl.errors, ctx_r2.caseField.label)), " ");
|
|
18125
18103
|
} }
|
|
18126
|
-
const _c0$
|
|
18104
|
+
const _c0$x = function (a0) { return { "form-group-error": a0 }; };
|
|
18127
18105
|
const _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18128
18106
|
class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
18129
18107
|
ngOnInit() {
|
|
@@ -18146,7 +18124,7 @@ WriteTextFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteTextFieldCom
|
|
|
18146
18124
|
i0.ɵɵelementEnd();
|
|
18147
18125
|
i0.ɵɵelementEnd();
|
|
18148
18126
|
} if (rf & 2) {
|
|
18149
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$x, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
18150
18128
|
i0.ɵɵadvance(1);
|
|
18151
18129
|
i0.ɵɵproperty("for", ctx.id());
|
|
18152
18130
|
i0.ɵɵadvance(1);
|
|
@@ -18317,7 +18295,7 @@ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
18317
18295
|
i0.ɵɵadvance(1);
|
|
18318
18296
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, i0.ɵɵpipeBind2(3, 3, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label)), " ");
|
|
18319
18297
|
} }
|
|
18320
|
-
const _c0$
|
|
18298
|
+
const _c0$w = function (a0) { return { selected: a0 }; };
|
|
18321
18299
|
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
18322
18300
|
i0.ɵɵelementStart(0, "div", 10);
|
|
18323
18301
|
i0.ɵɵelement(1, "input", 11);
|
|
@@ -18328,7 +18306,7 @@ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
18328
18306
|
} if (rf & 2) {
|
|
18329
18307
|
const value_r4 = ctx.$implicit;
|
|
18330
18308
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
18331
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
18309
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$w, ctx_r3.yesNoControl.value === value_r4));
|
|
18332
18310
|
i0.ɵɵadvance(1);
|
|
18333
18311
|
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
18334
18312
|
i0.ɵɵattribute("name", ctx_r3.id());
|
|
@@ -18483,7 +18461,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
|
|
|
18483
18461
|
type: Injectable
|
|
18484
18462
|
}], null, null); })();
|
|
18485
18463
|
|
|
18486
|
-
const _c0$
|
|
18464
|
+
const _c0$v = ["fieldContainer"];
|
|
18487
18465
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
18488
18466
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
18489
18467
|
constructor(resolver, paletteService) {
|
|
@@ -18531,7 +18509,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
18531
18509
|
}
|
|
18532
18510
|
FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
18533
18511
|
FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
18534
|
-
i0.ɵɵviewQuery(_c0$
|
|
18512
|
+
i0.ɵɵviewQuery(_c0$v, 1, ViewContainerRef);
|
|
18535
18513
|
} if (rf & 2) {
|
|
18536
18514
|
let _t;
|
|
18537
18515
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -18565,7 +18543,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
|
|
|
18565
18543
|
args: ['fieldContainer', { static: false, read: ViewContainerRef }]
|
|
18566
18544
|
}] }); })();
|
|
18567
18545
|
|
|
18568
|
-
const _c0$
|
|
18546
|
+
const _c0$u = ["fieldContainer"];
|
|
18569
18547
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
18570
18548
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
18571
18549
|
constructor(resolver, paletteService) {
|
|
@@ -18609,7 +18587,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
18609
18587
|
}
|
|
18610
18588
|
FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
18611
18589
|
FieldWriteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
18612
|
-
i0.ɵɵviewQuery(_c0$
|
|
18590
|
+
i0.ɵɵviewQuery(_c0$u, 3, ViewContainerRef);
|
|
18613
18591
|
} if (rf & 2) {
|
|
18614
18592
|
let _t;
|
|
18615
18593
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -18659,7 +18637,7 @@ function FieldReadLabelComponent_dl_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
18659
18637
|
function FieldReadLabelComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
18660
18638
|
i0.ɵɵprojection(0);
|
|
18661
18639
|
} }
|
|
18662
|
-
const _c0$
|
|
18640
|
+
const _c0$t = ["*"];
|
|
18663
18641
|
class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
18664
18642
|
constructor() {
|
|
18665
18643
|
super(...arguments);
|
|
@@ -18694,7 +18672,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
18694
18672
|
}
|
|
18695
18673
|
}
|
|
18696
18674
|
FieldReadLabelComponent.ɵfac = function FieldReadLabelComponent_Factory(t) { return ɵFieldReadLabelComponent_BaseFactory(t || FieldReadLabelComponent); };
|
|
18697
|
-
FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
18675
|
+
FieldReadLabelComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$t, decls: 4, vars: 5, consts: [[3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], ["caseFieldValue", ""], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18698
18676
|
i0.ɵɵprojectionDef();
|
|
18699
18677
|
i0.ɵɵelementStart(0, "div", 0);
|
|
18700
18678
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 1);
|
|
@@ -18726,7 +18704,7 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
18726
18704
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18727
18705
|
i0.ɵɵelementContainer(0);
|
|
18728
18706
|
} }
|
|
18729
|
-
const _c0$
|
|
18707
|
+
const _c0$s = function (a0) { return { cat: a0, level: 1 }; };
|
|
18730
18708
|
function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
18731
18709
|
i0.ɵɵelementContainerStart(0);
|
|
18732
18710
|
i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
@@ -18736,7 +18714,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
18736
18714
|
i0.ɵɵnextContext();
|
|
18737
18715
|
const _r1 = i0.ɵɵreference(13);
|
|
18738
18716
|
i0.ɵɵadvance(1);
|
|
18739
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
18717
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$s, cat_r3));
|
|
18740
18718
|
} }
|
|
18741
18719
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
18742
18720
|
i0.ɵɵelementContainer(0);
|
|
@@ -18927,7 +18905,7 @@ function CaseFileViewOverlayMenuComponent_ng_template_4_Template(rf, ctx) { if (
|
|
|
18927
18905
|
i0.ɵɵadvance(1);
|
|
18928
18906
|
i0.ɵɵproperty("ngForOf", ctx_r1.menuItems);
|
|
18929
18907
|
} }
|
|
18930
|
-
const _c0$
|
|
18908
|
+
const _c0$r = [[["", "trigger", ""]]];
|
|
18931
18909
|
const _c1$8 = ["[trigger]"];
|
|
18932
18910
|
class CaseFileViewOverlayMenuComponent {
|
|
18933
18911
|
constructor() {
|
|
@@ -18943,7 +18921,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
18943
18921
|
}
|
|
18944
18922
|
CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
|
|
18945
18923
|
CaseFileViewOverlayMenuComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
|
|
18946
|
-
i0.ɵɵprojectionDef(_c0$
|
|
18924
|
+
i0.ɵɵprojectionDef(_c0$r);
|
|
18947
18925
|
i0.ɵɵelementStart(0, "div");
|
|
18948
18926
|
i0.ɵɵelementStart(1, "button", 0, 1);
|
|
18949
18927
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { $event.stopPropagation(); return ctx.isOpen = !ctx.isOpen; });
|
|
@@ -19542,7 +19520,7 @@ function AddCommentsComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
|
19542
19520
|
i0.ɵɵadvance(2);
|
|
19543
19521
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.flagCommentsCharLimitErrorMessage), " ");
|
|
19544
19522
|
} }
|
|
19545
|
-
const _c0$
|
|
19523
|
+
const _c0$q = function (a0) { return { "form-group-error": a0 }; };
|
|
19546
19524
|
class AddCommentsComponent {
|
|
19547
19525
|
constructor() {
|
|
19548
19526
|
this.optional = false;
|
|
@@ -19624,7 +19602,7 @@ AddCommentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AddCommentsComponent
|
|
|
19624
19602
|
} if (rf & 2) {
|
|
19625
19603
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
19626
19604
|
i0.ɵɵadvance(2);
|
|
19627
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$
|
|
19605
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(21, _c0$q, ctx.errorMessages.length > 0));
|
|
19628
19606
|
i0.ɵɵadvance(2);
|
|
19629
19607
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
19630
19608
|
i0.ɵɵadvance(1);
|
|
@@ -19945,7 +19923,7 @@ function ManageCaseFlagsComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
19945
19923
|
i0.ɵɵadvance(2);
|
|
19946
19924
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
19947
19925
|
} }
|
|
19948
|
-
const _c0$
|
|
19926
|
+
const _c0$p = function (a0) { return { "form-group-error": a0 }; };
|
|
19949
19927
|
class ManageCaseFlagsComponent {
|
|
19950
19928
|
constructor() {
|
|
19951
19929
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -20105,7 +20083,7 @@ ManageCaseFlagsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ManageCaseFlagsC
|
|
|
20105
20083
|
} if (rf & 2) {
|
|
20106
20084
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20107
20085
|
i0.ɵɵadvance(1);
|
|
20108
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20086
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx.errorMessages.length > 0));
|
|
20109
20087
|
i0.ɵɵadvance(4);
|
|
20110
20088
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.manageCaseFlagTitle), " ");
|
|
20111
20089
|
i0.ɵɵadvance(2);
|
|
@@ -20196,7 +20174,7 @@ function SearchLanguageInterpreterComponent_div_21_div_5_Template(rf, ctx) { if
|
|
|
20196
20174
|
i0.ɵɵadvance(3);
|
|
20197
20175
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.languageCharLimitErrorMessage, " ");
|
|
20198
20176
|
} }
|
|
20199
|
-
const _c0$
|
|
20177
|
+
const _c0$o = function (a0) { return { "form-group-error": a0 }; };
|
|
20200
20178
|
function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
20201
20179
|
i0.ɵɵelementStart(0, "div", 25);
|
|
20202
20180
|
i0.ɵɵelementStart(1, "div", 1);
|
|
@@ -20211,7 +20189,7 @@ function SearchLanguageInterpreterComponent_div_21_Template(rf, ctx) { if (rf &
|
|
|
20211
20189
|
} if (rf & 2) {
|
|
20212
20190
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
20213
20191
|
i0.ɵɵadvance(1);
|
|
20214
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
20192
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$o, ctx_r5.languageNotEnteredErrorMessage || ctx_r5.languageCharLimitErrorMessage));
|
|
20215
20193
|
i0.ɵɵadvance(2);
|
|
20216
20194
|
i0.ɵɵtextInterpolate(ctx_r5.searchLanguageInterpreterStep.INPUT_LABEL);
|
|
20217
20195
|
i0.ɵɵadvance(1);
|
|
@@ -20377,7 +20355,7 @@ SearchLanguageInterpreterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Search
|
|
|
20377
20355
|
const _r2 = i0.ɵɵreference(12);
|
|
20378
20356
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20379
20357
|
i0.ɵɵadvance(1);
|
|
20380
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$
|
|
20358
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$o, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
20381
20359
|
i0.ɵɵadvance(2);
|
|
20382
20360
|
i0.ɵɵproperty("for", ctx.languageSearchTermControlName);
|
|
20383
20361
|
i0.ɵɵadvance(1);
|
|
@@ -20501,7 +20479,7 @@ function SelectFlagLocationComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
20501
20479
|
i0.ɵɵadvance(2);
|
|
20502
20480
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Next"));
|
|
20503
20481
|
} }
|
|
20504
|
-
const _c0$
|
|
20482
|
+
const _c0$n = function (a0) { return { "form-group-error": a0 }; };
|
|
20505
20483
|
class SelectFlagLocationComponent {
|
|
20506
20484
|
constructor() {
|
|
20507
20485
|
this.caseFlagStateEmitter = new EventEmitter();
|
|
@@ -20587,7 +20565,7 @@ SelectFlagLocationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagLoc
|
|
|
20587
20565
|
} if (rf & 2) {
|
|
20588
20566
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20589
20567
|
i0.ɵɵadvance(1);
|
|
20590
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20568
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$n, ctx.errorMessages.length > 0));
|
|
20591
20569
|
i0.ɵɵadvance(4);
|
|
20592
20570
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 6, ctx.flagLocationTitle), " ");
|
|
20593
20571
|
i0.ɵɵadvance(2);
|
|
@@ -20657,7 +20635,7 @@ function SelectFlagTypeComponent_div_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
20657
20635
|
i0.ɵɵadvance(3);
|
|
20658
20636
|
i0.ɵɵtextInterpolate1(" ", ctx_r8.flagTypeErrorMessage, " ");
|
|
20659
20637
|
} }
|
|
20660
|
-
const _c0$
|
|
20638
|
+
const _c0$m = function (a0) { return { "form-group-error": a0 }; };
|
|
20661
20639
|
const _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
20662
20640
|
function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
20663
20641
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -20672,7 +20650,7 @@ function SelectFlagTypeComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
20672
20650
|
} if (rf & 2) {
|
|
20673
20651
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
20674
20652
|
i0.ɵɵadvance(1);
|
|
20675
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
20653
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$m, ctx_r2.flagTypeErrorMessage.length > 0));
|
|
20676
20654
|
i0.ɵɵadvance(3);
|
|
20677
20655
|
i0.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
|
|
20678
20656
|
i0.ɵɵadvance(1);
|
|
@@ -20830,7 +20808,7 @@ SelectFlagTypeComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SelectFlagTypeCom
|
|
|
20830
20808
|
} if (rf & 2) {
|
|
20831
20809
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
20832
20810
|
i0.ɵɵadvance(1);
|
|
20833
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
20811
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$m, ctx.flagTypeNotSelectedErrorMessage.length > 0));
|
|
20834
20812
|
i0.ɵɵadvance(4);
|
|
20835
20813
|
i0.ɵɵtextInterpolate1(" ", ctx.caseFlagWizardStepTitle.SELECT_CASE_FLAG, " ");
|
|
20836
20814
|
i0.ɵɵadvance(1);
|
|
@@ -20894,7 +20872,7 @@ function UpdateFlagComponent_button_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
20894
20872
|
i0.ɵɵtext(1, " Make inactive ");
|
|
20895
20873
|
i0.ɵɵelementEnd();
|
|
20896
20874
|
} }
|
|
20897
|
-
const _c0$
|
|
20875
|
+
const _c0$l = function (a0) { return { "form-group-error": a0 }; };
|
|
20898
20876
|
const _c1$6 = function (a0) { return { "govuk-tag--grey": a0 }; };
|
|
20899
20877
|
class UpdateFlagComponent {
|
|
20900
20878
|
constructor() {
|
|
@@ -21013,7 +20991,7 @@ UpdateFlagComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UpdateFlagComponent,
|
|
|
21013
20991
|
} if (rf & 2) {
|
|
21014
20992
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21015
20993
|
i0.ɵɵadvance(2);
|
|
21016
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$
|
|
20994
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$l, ctx.errorMessages.length > 0));
|
|
21017
20995
|
i0.ɵɵadvance(2);
|
|
21018
20996
|
i0.ɵɵproperty("for", ctx.updateFlagControlName);
|
|
21019
20997
|
i0.ɵɵadvance(1);
|
|
@@ -21073,7 +21051,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
|
|
|
21073
21051
|
i0.ɵɵadvance(1);
|
|
21074
21052
|
i0.ɵɵproperty("caseField", field_r1)("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.idPrefix);
|
|
21075
21053
|
} }
|
|
21076
|
-
const _c0$
|
|
21054
|
+
const _c0$k = function (a0, a4, a5) { return [a0, false, undefined, true, a4, a5]; };
|
|
21077
21055
|
/**
|
|
21078
21056
|
* Display a complex type fields as a list of values without labels.
|
|
21079
21057
|
* This is intended for rendering of Check Your Answer page.
|
|
@@ -21092,7 +21070,7 @@ ReadComplexFieldRawComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexF
|
|
|
21092
21070
|
i0.ɵɵelementEnd();
|
|
21093
21071
|
} if (rf & 2) {
|
|
21094
21072
|
i0.ɵɵadvance(1);
|
|
21095
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
21073
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
21096
21074
|
} }, 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}"] });
|
|
21097
21075
|
const ɵReadComplexFieldRawComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent);
|
|
21098
21076
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -21161,7 +21139,6 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
|
|
|
21161
21139
|
i0.ɵɵadvance(1);
|
|
21162
21140
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 2, field_r1))("ngIfElse", _r3);
|
|
21163
21141
|
} }
|
|
21164
|
-
const _c0$k = function (a0, a4, a6) { return [a0, false, undefined, true, a4, undefined, a6]; };
|
|
21165
21142
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
21166
21143
|
constructor() {
|
|
21167
21144
|
super(...arguments);
|
|
@@ -21169,7 +21146,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
21169
21146
|
}
|
|
21170
21147
|
}
|
|
21171
21148
|
ReadComplexFieldTableComponent.ɵfac = function ReadComplexFieldTableComponent_Factory(t) { return ɵReadComplexFieldTableComponent_BaseFactory(t || ReadComplexFieldTableComponent); };
|
|
21172
|
-
ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
21149
|
+
ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 9, consts: [[1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["SimpleRow", ""], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21173
21150
|
i0.ɵɵelementStart(0, "div", 0);
|
|
21174
21151
|
i0.ɵɵelementStart(1, "dl", 1);
|
|
21175
21152
|
i0.ɵɵelementStart(2, "dt");
|
|
@@ -21191,7 +21168,7 @@ ReadComplexFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadComple
|
|
|
21191
21168
|
i0.ɵɵadvance(4);
|
|
21192
21169
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
21193
21170
|
i0.ɵɵadvance(5);
|
|
21194
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵ
|
|
21171
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind4(10, 4, ctx.caseField, false, undefined, true));
|
|
21195
21172
|
} }, 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}"] });
|
|
21196
21173
|
const ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent);
|
|
21197
21174
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -22949,17 +22926,17 @@ class ReadFieldsFilterPipe {
|
|
|
22949
22926
|
/**
|
|
22950
22927
|
* Complex type should have at least on simple field descendant with a value.
|
|
22951
22928
|
*/
|
|
22952
|
-
static isValidComplex(field, values
|
|
22929
|
+
static isValidComplex(field, values) {
|
|
22953
22930
|
values = values || {};
|
|
22954
22931
|
const type = field.field_type;
|
|
22955
22932
|
const value = ReadFieldsFilterPipe.getValue(field, values);
|
|
22956
22933
|
const hasChildrenWithValue = type.complex_fields.find(f => {
|
|
22957
|
-
const willKeep = ReadFieldsFilterPipe.keepField(f, value, true
|
|
22958
|
-
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f,
|
|
22934
|
+
const willKeep = ReadFieldsFilterPipe.keepField(f, value, true);
|
|
22935
|
+
return willKeep && ReadFieldsFilterPipe.evaluateConditionalShow(f, value).hidden !== true;
|
|
22959
22936
|
});
|
|
22960
22937
|
return !!hasChildrenWithValue;
|
|
22961
22938
|
}
|
|
22962
|
-
static isValidCollection(field, values
|
|
22939
|
+
static isValidCollection(field, values) {
|
|
22963
22940
|
// if field is collection and it has complex/collection child field; parent field doesnt have value defined
|
|
22964
22941
|
if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
|
|
22965
22942
|
return true;
|
|
@@ -22973,7 +22950,7 @@ class ReadFieldsFilterPipe {
|
|
|
22973
22950
|
value: item.value,
|
|
22974
22951
|
label: null,
|
|
22975
22952
|
});
|
|
22976
|
-
return ReadFieldsFilterPipe.isValidComplex(complexField
|
|
22953
|
+
return ReadFieldsFilterPipe.isValidComplex(complexField);
|
|
22977
22954
|
});
|
|
22978
22955
|
}
|
|
22979
22956
|
return isNotEmpty;
|
|
@@ -22985,11 +22962,11 @@ class ReadFieldsFilterPipe {
|
|
|
22985
22962
|
static isCompound(field) {
|
|
22986
22963
|
return ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type];
|
|
22987
22964
|
}
|
|
22988
|
-
static isValidCompound(field, value
|
|
22965
|
+
static isValidCompound(field, value) {
|
|
22989
22966
|
return ReadFieldsFilterPipe.isCompound(field)
|
|
22990
|
-
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value
|
|
22967
|
+
&& ReadFieldsFilterPipe.NESTED_TYPES[field.field_type.type](field, value);
|
|
22991
22968
|
}
|
|
22992
|
-
static keepField(field, value, ignoreLabels = false
|
|
22969
|
+
static keepField(field, value, ignoreLabels = false) {
|
|
22993
22970
|
// We shouldn't ditch labels.
|
|
22994
22971
|
if (!ignoreLabels && field.field_type.type === 'Label' && (field.label || '').length > 0) {
|
|
22995
22972
|
return true;
|
|
@@ -23000,7 +22977,7 @@ class ReadFieldsFilterPipe {
|
|
|
23000
22977
|
}
|
|
23001
22978
|
value = value || {};
|
|
23002
22979
|
if (ReadFieldsFilterPipe.isCompound(field)) {
|
|
23003
|
-
return ReadFieldsFilterPipe.isValidCompound(field, value
|
|
22980
|
+
return ReadFieldsFilterPipe.isValidCompound(field, value);
|
|
23004
22981
|
}
|
|
23005
22982
|
return !ReadFieldsFilterPipe.isEmpty(field.value)
|
|
23006
22983
|
|| !ReadFieldsFilterPipe.isEmpty(value[field.id]);
|
|
@@ -23043,7 +23020,7 @@ class ReadFieldsFilterPipe {
|
|
|
23043
23020
|
/**
|
|
23044
23021
|
* Filter out fields having no data to display and harmonise field values coming parent's value.
|
|
23045
23022
|
*/
|
|
23046
|
-
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path
|
|
23023
|
+
transform(complexField, keepEmpty, index, setupHidden = false, formGroup, path) {
|
|
23047
23024
|
if (!complexField || !complexField.field_type) {
|
|
23048
23025
|
return [];
|
|
23049
23026
|
}
|
|
@@ -23052,15 +23029,8 @@ class ReadFieldsFilterPipe {
|
|
|
23052
23029
|
let checkConditionalShowAgainst = values;
|
|
23053
23030
|
let formGroupAvailable = false;
|
|
23054
23031
|
if (formGroup) {
|
|
23055
|
-
checkConditionalShowAgainst = formGroup.
|
|
23032
|
+
checkConditionalShowAgainst = formGroup.value;
|
|
23056
23033
|
formGroupAvailable = true;
|
|
23057
|
-
if (idPrefix) {
|
|
23058
|
-
const fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
|
|
23059
|
-
if (checkConditionalShowAgainst[fieldId]) {
|
|
23060
|
-
checkConditionalShowAgainst = values;
|
|
23061
|
-
formGroupAvailable = false;
|
|
23062
|
-
}
|
|
23063
|
-
}
|
|
23064
23034
|
}
|
|
23065
23035
|
return fields
|
|
23066
23036
|
.map(f => {
|
|
@@ -23080,7 +23050,7 @@ class ReadFieldsFilterPipe {
|
|
|
23080
23050
|
}
|
|
23081
23051
|
return f;
|
|
23082
23052
|
})
|
|
23083
|
-
.filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f
|
|
23053
|
+
.filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f));
|
|
23084
23054
|
}
|
|
23085
23055
|
}
|
|
23086
23056
|
ReadFieldsFilterPipe.EMPTY_VALUES = [
|