@hmcts/ccd-case-ui-toolkit 7.2.35 → 7.2.36-3044-2761
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/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +4 -4
- package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +5 -5
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +3 -3
- package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +5 -5
- package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +5 -5
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +9 -4
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +16 -3
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +15 -8
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +13 -9
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -2
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +10 -6
- package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +3 -3
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +3 -3
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +6 -6
- package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +9 -9
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +5 -4
- package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +6 -6
- package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +5 -5
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +12 -12
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +6 -6
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +5 -5
- package/esm2022/lib/shared/components/palette/palette.module.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +26 -15
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +71 -69
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +23 -19
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +5 -5
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +5 -5
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +5 -5
- package/esm2022/lib/shared/directives/index.mjs +2 -1
- package/esm2022/lib/shared/directives/welsh-translated-markdown/index.mjs +3 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.mjs +104 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.mjs +21 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +601 -404
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +1 -0
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.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/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -2
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +18 -17
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +2 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts +2 -0
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
- package/lib/shared/directives/index.d.ts +1 -0
- package/lib/shared/directives/index.d.ts.map +1 -1
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts +3 -0
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts +76 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts +8 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ import * as i10 from '@angular/material/legacy-tabs';
|
|
|
59
59
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
60
60
|
import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
|
|
61
61
|
|
|
62
|
-
const _c0$
|
|
62
|
+
const _c0$17 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
63
63
|
const _c1$u = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
64
64
|
function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
65
|
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
@@ -137,7 +137,7 @@ class FooterComponent {
|
|
|
137
137
|
workhours;
|
|
138
138
|
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
139
139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$u, 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) {
|
|
140
|
-
i0.ɵɵprojectionDef(_c0$
|
|
140
|
+
i0.ɵɵprojectionDef(_c0$17);
|
|
141
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
142
142
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
|
|
143
143
|
i0.ɵɵelementEnd()();
|
|
@@ -164,7 +164,7 @@ class FooterComponent {
|
|
|
164
164
|
}] }); })();
|
|
165
165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 8 }); })();
|
|
166
166
|
|
|
167
|
-
const _c0$
|
|
167
|
+
const _c0$16 = [[["", "headerNavigation", ""]]];
|
|
168
168
|
const _c1$t = ["[headerNavigation]"];
|
|
169
169
|
function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
170
170
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
@@ -206,8 +206,8 @@ class HeaderBarComponent {
|
|
|
206
206
|
this.signOutRequest.emit();
|
|
207
207
|
}
|
|
208
208
|
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
209
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, 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",
|
|
210
|
-
i0.ɵɵprojectionDef(_c0$
|
|
209
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, 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"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 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) {
|
|
210
|
+
i0.ɵɵprojectionDef(_c0$16);
|
|
211
211
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
212
212
|
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
213
213
|
i0.ɵɵelementEnd();
|
|
@@ -219,8 +219,8 @@ class HeaderBarComponent {
|
|
|
219
219
|
i0.ɵɵelementStart(11, "div", 9)(12, "span", 10);
|
|
220
220
|
i0.ɵɵtext(13);
|
|
221
221
|
i0.ɵɵelementEnd();
|
|
222
|
-
i0.ɵɵelementStart(14, "
|
|
223
|
-
i0.ɵɵlistener("click", function
|
|
222
|
+
i0.ɵɵelementStart(14, "button", 11);
|
|
223
|
+
i0.ɵɵlistener("click", function HeaderBarComponent_Template_button_click_14_listener() { return ctx.signOut(); });
|
|
224
224
|
i0.ɵɵtext(15);
|
|
225
225
|
i0.ɵɵpipe(16, "rpxTranslate");
|
|
226
226
|
i0.ɵɵelementEnd()()()()()();
|
|
@@ -245,7 +245,7 @@ class HeaderBarComponent {
|
|
|
245
245
|
}
|
|
246
246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderBarComponent, [{
|
|
247
247
|
type: Component,
|
|
248
|
-
args: [{ selector: 'cut-header-bar', template: "<header role=\"banner\" id=\"global-header\" class=\"with-proposition\">\n <div [class.full-screen]=\"!isSolicitor\" class=\"header-wrapper\">\n\n <div class=\"header-global\" [class.header-logo]=\"isSolicitor\">\n <div *ngIf=\"isSolicitor\">\n <a href=\"https://www.gov.uk\" title=\"Go to the GOV.UK homepage\" id=\"logo\" class=\"content\" style=\"margin-left: 0px;\">\n <img src=\"/img/gov.uk_logotype_crown_invert_trans.png?0.23.0\" width=\"36\" height=\"32\" alt=\"\"> {{'GOV.UK'}}\n </a>\n </div>\n <div class=\"global-header\" *ngIf=\"!isSolicitor\">\n <div class=\"title\">\n <span>{{title | rpxTranslate}}</span>\n </div>\n </div>\n </div>\n\n <div class=\"header-proposition\">\n <div class=\"content\">\n <a href=\"#proposition-links\" class=\"js-header-toggle menu\">{{'Menu' | rpxTranslate}}</a>\n <div *ngIf=\"isSolicitor\" id=\"proposition-menu\">\n <div class=\"title-solicitor\">\n <span id=\"proposition-name\">{{title | rpxTranslate}}</span>\n <ng-content select=\"[headerNavigation]\"></ng-content>\n </div>\n </div>\n\n <div class=\"proposition-right\">\n <span id=\"user-name\">{{username}}</span>\n <
|
|
248
|
+
args: [{ selector: 'cut-header-bar', template: "<header role=\"banner\" id=\"global-header\" class=\"with-proposition\">\n <div [class.full-screen]=\"!isSolicitor\" class=\"header-wrapper\">\n\n <div class=\"header-global\" [class.header-logo]=\"isSolicitor\">\n <div *ngIf=\"isSolicitor\">\n <a href=\"https://www.gov.uk\" title=\"Go to the GOV.UK homepage\" id=\"logo\" class=\"content\" style=\"margin-left: 0px;\">\n <img src=\"/img/gov.uk_logotype_crown_invert_trans.png?0.23.0\" width=\"36\" height=\"32\" alt=\"\"> {{'GOV.UK'}}\n </a>\n </div>\n <div class=\"global-header\" *ngIf=\"!isSolicitor\">\n <div class=\"title\">\n <span>{{title | rpxTranslate}}</span>\n </div>\n </div>\n </div>\n\n <div class=\"header-proposition\">\n <div class=\"content\">\n <a href=\"#proposition-links\" class=\"js-header-toggle menu\">{{'Menu' | rpxTranslate}}</a>\n <div *ngIf=\"isSolicitor\" id=\"proposition-menu\">\n <div class=\"title-solicitor\">\n <span id=\"proposition-name\">{{title | rpxTranslate}}</span>\n <ng-content select=\"[headerNavigation]\"></ng-content>\n </div>\n </div>\n\n <div class=\"proposition-right\">\n <span id=\"user-name\">{{username}}</span>\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"signOut()\" id=\"sign-out\">{{'Sign Out' | rpxTranslate}}</button>\n </div>\n </div>\n </div>\n\n </div>\n</header>\n", styles: [".title:after,.global-header .header-username:after,.global-header .header-title:after,.global-header:after{content:\"\";display:block;clear:both}.global-header{background-color:#000;width:100%}.global-header .header-title{font-family:nta,Arial,sans-serif;text-transform:none;font-size:16pt;line-height:1.25;float:left;font-weight:700;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 641px){.global-header .header-title{font-size:20pt;line-height:1.3}}@media (min-width: 769px){.global-header .header-title{width:50%}}@media screen and (max-width: 379px){.global-header .header-title{width:auto;float:none}}.global-header .header-title .header-title-span{padding-left:22px}.global-header .header-username{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:12pt;line-height:1.25;float:right;text-align:right;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 641px){.global-header .header-username{font-size:14pt;line-height:1.4285714286}}@media (min-width: 769px){.global-header .header-username{width:50%}}.global-header .header-username .header-username-span{padding-right:15px}#global-header .full-screen{max-width:100%}.title{font-weight:700;color:#fff;font-size:24px}.title-solicitor{float:left}.proposition-right{float:right;padding-top:5px}#global-header.with-proposition .header-wrapper .header-logo{width:27%}#global-header.with-proposition .header-wrapper .header-proposition{width:100%;float:none}#global-header.with-proposition .header-wrapper .header-proposition .content{margin:0}#user-name,#sign-out{font-size:16px;font-weight:700;border:none;color:#fff;margin:0 0 0 9px;text-decoration:none;background-color:#000}#user-name:focus,#sign-out:focus{color:#fff}#sign-out:hover{text-decoration:underline}\n"] }]
|
|
249
249
|
}], null, { title: [{
|
|
250
250
|
type: Input
|
|
251
251
|
}], isSolicitor: [{
|
|
@@ -257,13 +257,13 @@ class HeaderBarComponent {
|
|
|
257
257
|
}] }); })();
|
|
258
258
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 8 }); })();
|
|
259
259
|
|
|
260
|
-
const _c0$
|
|
260
|
+
const _c0$15 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
261
|
const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
isSolicitor;
|
|
264
264
|
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
265
265
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
-
i0.ɵɵprojectionDef(_c0$
|
|
266
|
+
i0.ɵɵprojectionDef(_c0$15);
|
|
267
267
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
268
268
|
i0.ɵɵprojection(2);
|
|
269
269
|
i0.ɵɵprojection(3, 1);
|
|
@@ -382,12 +382,12 @@ class HeadersModule {
|
|
|
382
382
|
}], null, null); })();
|
|
383
383
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
|
|
384
384
|
|
|
385
|
-
const _c0$
|
|
385
|
+
const _c0$14 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
386
386
|
const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
387
387
|
class BodyComponent {
|
|
388
388
|
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
389
389
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
390
|
-
i0.ɵɵprojectionDef(_c0$
|
|
390
|
+
i0.ɵɵprojectionDef(_c0$14);
|
|
391
391
|
i0.ɵɵelementStart(0, "div", 0);
|
|
392
392
|
i0.ɵɵprojection(1);
|
|
393
393
|
i0.ɵɵprojection(2, 1);
|
|
@@ -401,7 +401,7 @@ class BodyComponent {
|
|
|
401
401
|
}], null, null); })();
|
|
402
402
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 9 }); })();
|
|
403
403
|
|
|
404
|
-
const _c0$
|
|
404
|
+
const _c0$13 = a0 => ({ "govuk-input--error": a0 });
|
|
405
405
|
function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
406
406
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
407
407
|
i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
|
|
@@ -418,7 +418,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
|
418
418
|
i0.ɵɵadvance();
|
|
419
419
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
|
|
420
420
|
i0.ɵɵadvance(2);
|
|
421
|
-
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
421
|
+
i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
422
422
|
i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
|
|
423
423
|
} }
|
|
424
424
|
function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -437,7 +437,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
437
437
|
i0.ɵɵadvance();
|
|
438
438
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
|
|
439
439
|
i0.ɵɵadvance(2);
|
|
440
|
-
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
440
|
+
i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
441
441
|
i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
|
|
442
442
|
} }
|
|
443
443
|
function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -456,7 +456,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
456
456
|
i0.ɵɵadvance();
|
|
457
457
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
|
|
458
458
|
i0.ɵɵadvance(2);
|
|
459
|
-
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
459
|
+
i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$13, ctx_r6.isInvalid));
|
|
460
460
|
i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
|
|
461
461
|
} }
|
|
462
462
|
class DateInputComponent {
|
|
@@ -692,21 +692,21 @@ class DateInputComponent {
|
|
|
692
692
|
i0.ɵɵadvance();
|
|
693
693
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
|
|
694
694
|
i0.ɵɵadvance(2);
|
|
695
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$
|
|
695
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$13, ctx.isInvalid));
|
|
696
696
|
i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
|
|
697
697
|
i0.ɵɵadvance(3);
|
|
698
698
|
i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
|
|
699
699
|
i0.ɵɵadvance();
|
|
700
700
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
|
|
701
701
|
i0.ɵɵadvance(2);
|
|
702
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$
|
|
702
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$13, ctx.isInvalid));
|
|
703
703
|
i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
|
|
704
704
|
i0.ɵɵadvance(3);
|
|
705
705
|
i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
|
|
706
706
|
i0.ɵɵadvance();
|
|
707
707
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
|
|
708
708
|
i0.ɵɵadvance(2);
|
|
709
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$
|
|
709
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$13, ctx.isInvalid));
|
|
710
710
|
i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
|
|
711
711
|
i0.ɵɵadvance(2);
|
|
712
712
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
@@ -743,7 +743,7 @@ class DateInputComponent {
|
|
|
743
743
|
}] }); })();
|
|
744
744
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 20 }); })();
|
|
745
745
|
|
|
746
|
-
const _c0$
|
|
746
|
+
const _c0$12 = ["*"];
|
|
747
747
|
function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
748
748
|
i0.ɵɵelementContainerStart(0);
|
|
749
749
|
i0.ɵɵnamespaceSVG();
|
|
@@ -793,7 +793,7 @@ class AlertComponent {
|
|
|
793
793
|
showIcon = true;
|
|
794
794
|
alertMessageType = AlertMessageType;
|
|
795
795
|
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
796
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
796
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$12, 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) {
|
|
797
797
|
i0.ɵɵprojectionDef();
|
|
798
798
|
i0.ɵɵelementStart(0, "div", 0);
|
|
799
799
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -939,7 +939,7 @@ function NotificationBannerComponent_div_0_a_12_Template(rf, ctx) { if (rf & 1)
|
|
|
939
939
|
function NotificationBannerComponent_div_0_a_13_Template(rf, ctx) { if (rf & 1) {
|
|
940
940
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
941
941
|
i0.ɵɵelementStart(0, "a", 15);
|
|
942
|
-
i0.ɵɵlistener("click", function NotificationBannerComponent_div_0_a_13_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2);
|
|
942
|
+
i0.ɵɵlistener("click", function NotificationBannerComponent_div_0_a_13_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.onLinkClick(ctx_r0.notificationBannerConfig.triggerOutputEventText); return i0.ɵɵresetView($event.preventDefault()); });
|
|
943
943
|
i0.ɵɵtext(1);
|
|
944
944
|
i0.ɵɵelementEnd();
|
|
945
945
|
} if (rf & 2) {
|
|
@@ -990,7 +990,7 @@ class NotificationBannerComponent {
|
|
|
990
990
|
this.linkClicked.emit(triggerOutputEventText);
|
|
991
991
|
}
|
|
992
992
|
static ɵfac = function NotificationBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationBannerComponent)(); };
|
|
993
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationBannerComponent, selectors: [["ccd-notification-banner"]], inputs: { notificationBannerConfig: "notificationBannerConfig" }, outputs: { linkClicked: "linkClicked" }, decls: 1, vars: 1, consts: [["class", "govuk-notification-banner", "role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 3, "ngClass", 4, "ngIf"], ["role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 1, "govuk-notification-banner", 3, "ngClass"], [1, "govuk-notification-banner__header"], ["id", "govuk-notification-banner-title", 1, "govuk-notification-banner__title"], [1, "govuk-notification-banner__content"], [1, "govuk-notification-banner__heading"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "govuk-notification-banner__link", 3, "href", 4, "ngIf"], ["class", "govuk-notification-banner__link", "href", "
|
|
993
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationBannerComponent, selectors: [["ccd-notification-banner"]], inputs: { notificationBannerConfig: "notificationBannerConfig" }, outputs: { linkClicked: "linkClicked" }, decls: 1, vars: 1, consts: [["class", "govuk-notification-banner", "role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 3, "ngClass", 4, "ngIf"], ["role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 1, "govuk-notification-banner", 3, "ngClass"], [1, "govuk-notification-banner__header"], ["id", "govuk-notification-banner-title", 1, "govuk-notification-banner__title"], [1, "govuk-notification-banner__content"], [1, "govuk-notification-banner__heading"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "govuk-notification-banner__link", 3, "href", 4, "ngIf"], ["class", "govuk-notification-banner__link", "href", "#", 3, "click", 4, "ngIf"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "36", "width", "36", 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"], [1, "govuk-notification-banner__link", 3, "href"], ["href", "#", 1, "govuk-notification-banner__link", 3, "click"]], template: function NotificationBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
994
994
|
i0.ɵɵtemplate(0, NotificationBannerComponent_div_0_Template, 14, 10, "div", 0);
|
|
995
995
|
} if (rf & 2) {
|
|
996
996
|
i0.ɵɵproperty("ngIf", ctx.notificationBannerConfig);
|
|
@@ -998,7 +998,7 @@ class NotificationBannerComponent {
|
|
|
998
998
|
}
|
|
999
999
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationBannerComponent, [{
|
|
1000
1000
|
type: Component,
|
|
1001
|
-
args: [{ selector: 'ccd-notification-banner', template: "<div *ngIf=\"notificationBannerConfig\"\n class=\"govuk-notification-banner\"\n [ngClass]=\"notificationBannerConfig.headerClass\"\n role=\"region\"\n aria-labelledby=\"govuk-notification-banner-title\"\n data-module=\"govuk-notification-banner\">\n\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" id=\"govuk-notification-banner-title\">\n {{notificationBannerConfig.headingText}}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <p class=\"govuk-notification-banner__heading\">\n <ng-container [ngSwitch]=\"notificationBannerConfig.bannerType\">\n <ng-container *ngSwitchCase=\"notificationBannerType.WARNING\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.ERROR\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.SUCCESS\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.INFORMATION\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n </ng-container>\n {{notificationBannerConfig.description}}\n <a *ngIf=\"notificationBannerConfig.showLink && !notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"{{notificationBannerConfig.linkUrl}}\">{{notificationBannerConfig.linkText}}</a>\n <a *ngIf=\"notificationBannerConfig.showLink && notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"
|
|
1001
|
+
args: [{ selector: 'ccd-notification-banner', template: "<div *ngIf=\"notificationBannerConfig\"\n class=\"govuk-notification-banner\"\n [ngClass]=\"notificationBannerConfig.headerClass\"\n role=\"region\"\n aria-labelledby=\"govuk-notification-banner-title\"\n data-module=\"govuk-notification-banner\">\n\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" id=\"govuk-notification-banner-title\">\n {{notificationBannerConfig.headingText}}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <p class=\"govuk-notification-banner__heading\">\n <ng-container [ngSwitch]=\"notificationBannerConfig.bannerType\">\n <ng-container *ngSwitchCase=\"notificationBannerType.WARNING\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.ERROR\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.SUCCESS\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path d=\"M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z\"></path>\n </svg>\n </ng-container>\n <ng-container *ngSwitchCase=\"notificationBannerType.INFORMATION\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\"\n xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"36\" width=\"36\">\n <path 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\"></path>\n </svg>\n </ng-container>\n </ng-container>\n {{notificationBannerConfig.description}}\n <a *ngIf=\"notificationBannerConfig.showLink && !notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"{{notificationBannerConfig.linkUrl}}\">{{notificationBannerConfig.linkText}}</a>\n <a *ngIf=\"notificationBannerConfig.showLink && notificationBannerConfig.triggerOutputEvent\"\n class=\"govuk-notification-banner__link\"\n href=\"#\"\n (click)=\"onLinkClick(notificationBannerConfig.triggerOutputEventText); $event.preventDefault()\">{{notificationBannerConfig.linkText}}</a>\n </p>\n </div>\n</div>\n", styles: [".govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading{margin-left:0;max-width:900px}.govuk-notification-banner .govuk-notification-banner__content .govuk-notification-banner__heading .govuk-notification-banner__link{margin-left:10px}.notification-banner-information,.notification-banner-error{background-color:#d4351c;border:5px solid #d4351c}.notification-banner-warning{background-color:#912b88;border:5px solid #912b88}.notification-banner-success{background-color:#006435;border:5px solid #006435}\n"] }]
|
|
1002
1002
|
}], null, { notificationBannerConfig: [{
|
|
1003
1003
|
type: Input
|
|
1004
1004
|
}], linkClicked: [{
|
|
@@ -1006,14 +1006,14 @@ class NotificationBannerComponent {
|
|
|
1006
1006
|
}] }); })();
|
|
1007
1007
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 10 }); })();
|
|
1008
1008
|
|
|
1009
|
-
const _c0$
|
|
1009
|
+
const _c0$11 = ["*"];
|
|
1010
1010
|
const _c1$q = a0 => ({ "js-hidden": a0 });
|
|
1011
1011
|
class TabComponent {
|
|
1012
1012
|
id;
|
|
1013
1013
|
title;
|
|
1014
1014
|
selected;
|
|
1015
1015
|
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1016
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$
|
|
1016
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$11, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1017
1017
|
i0.ɵɵprojectionDef();
|
|
1018
1018
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1019
1019
|
i0.ɵɵprojection(1);
|
|
@@ -1035,7 +1035,7 @@ class TabComponent {
|
|
|
1035
1035
|
}] }); })();
|
|
1036
1036
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 10 }); })();
|
|
1037
1037
|
|
|
1038
|
-
const _c0
|
|
1038
|
+
const _c0$10 = ["tab"];
|
|
1039
1039
|
const _c1$p = ["*"];
|
|
1040
1040
|
const _c2$4 = () => ["."];
|
|
1041
1041
|
const _c3 = a0 => ({ "tabs-toggle-selected": a0 });
|
|
@@ -1082,7 +1082,7 @@ class TabsComponent {
|
|
|
1082
1082
|
let _t;
|
|
1083
1083
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1084
1084
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1085
|
-
i0.ɵɵviewQuery(_c0
|
|
1085
|
+
i0.ɵɵviewQuery(_c0$10, 5);
|
|
1086
1086
|
} if (rf & 2) {
|
|
1087
1087
|
let _t;
|
|
1088
1088
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1141,7 +1141,7 @@ class TabsModule {
|
|
|
1141
1141
|
RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
|
|
1142
1142
|
TabComponent] }); })();
|
|
1143
1143
|
|
|
1144
|
-
const _c0
|
|
1144
|
+
const _c0$$ = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
|
|
1145
1145
|
class ActivityBannerComponent {
|
|
1146
1146
|
bannerType;
|
|
1147
1147
|
description;
|
|
@@ -1160,7 +1160,7 @@ class ActivityBannerComponent {
|
|
|
1160
1160
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
1161
1161
|
i0.ɵɵelementEnd()();
|
|
1162
1162
|
} if (rf & 2) {
|
|
1163
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0
|
|
1163
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c0$$, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1164
1164
|
i0.ɵɵadvance(2);
|
|
1165
1165
|
i0.ɵɵpropertyInterpolate("alt", i0.ɵɵpipeBind1(3, 4, ctx.description));
|
|
1166
1166
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -6769,6 +6769,124 @@ class FocusElementModule {
|
|
|
6769
6769
|
}], null, null); })();
|
|
6770
6770
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FocusElementModule, { declarations: [FocusElementDirective], exports: [FocusElementDirective] }); })();
|
|
6771
6771
|
|
|
6772
|
+
/**
|
|
6773
|
+
* @directive TranslatedMarkdownDirective
|
|
6774
|
+
*
|
|
6775
|
+
* @description
|
|
6776
|
+
* Structural directive that emits language-appropriate markdown content based on the user's UI language.
|
|
6777
|
+
* It is designed for service-supplied content that optionally includes a Welsh (`markdown_cy`) version.
|
|
6778
|
+
*
|
|
6779
|
+
* The directive:
|
|
6780
|
+
* - Emits `markdown_cy` if the UI language is Welsh and the field exists
|
|
6781
|
+
* - Emits `markdown` otherwise (no translation is applied within the directive)
|
|
6782
|
+
* - Leaves it up to the consuming template to apply fallback translation (e.g. via `rpxTranslate`)
|
|
6783
|
+
*
|
|
6784
|
+
* This allows cleaner templates and better separation of content choice vs. translation logic.
|
|
6785
|
+
*
|
|
6786
|
+
* @usage
|
|
6787
|
+
* ```html
|
|
6788
|
+
* <div *ngFor="let qq of qualifyingQuestions">
|
|
6789
|
+
* <ng-container *translatedMarkdown="qq; let content">
|
|
6790
|
+
* <markdown [data]="qq ? content : (qq.markdown | rpxTranslate)"></markdown>
|
|
6791
|
+
* </ng-container>
|
|
6792
|
+
* </div>
|
|
6793
|
+
* ```
|
|
6794
|
+
*
|
|
6795
|
+
* @input dataItem - An object expected to contain:
|
|
6796
|
+
* - `markdown` (string): the default English content
|
|
6797
|
+
* - `markdown_cy` (string | optional): the Welsh version of the content
|
|
6798
|
+
* - Any additional metadata used in context
|
|
6799
|
+
*
|
|
6800
|
+
* @example
|
|
6801
|
+
* // --- LaunchDarkly JSON format ---
|
|
6802
|
+
* {
|
|
6803
|
+
* "UNSPEC_CLAIM": [
|
|
6804
|
+
* {
|
|
6805
|
+
* "name": "Raise a query",
|
|
6806
|
+
* "url": "http://...",
|
|
6807
|
+
* "markdown": "### Raise a query\nUse this to raise a new query.",
|
|
6808
|
+
* "markdown_cy": "### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd."
|
|
6809
|
+
* }
|
|
6810
|
+
* ]
|
|
6811
|
+
* }
|
|
6812
|
+
*
|
|
6813
|
+
* // --- Input object in component after processing ---
|
|
6814
|
+
* const dataItem = {
|
|
6815
|
+
* name: 'Raise a query',
|
|
6816
|
+
* url: 'http://...',
|
|
6817
|
+
* markdown: '### Raise a query\nUse this to raise a new query.',
|
|
6818
|
+
* markdown_cy: '### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd.'
|
|
6819
|
+
* };
|
|
6820
|
+
*
|
|
6821
|
+
* // --- Template usage ---
|
|
6822
|
+
* <ng-container *translatedMarkdown="dataItem; let content">
|
|
6823
|
+
* <markdown [data]="dataItem ? content : (dataItem.markdown | rpxTranslate)"></markdown>
|
|
6824
|
+
* </ng-container>
|
|
6825
|
+
*/
|
|
6826
|
+
/**
|
|
6827
|
+
* @directive TranslatedMarkdownDirective
|
|
6828
|
+
*
|
|
6829
|
+
* Renders Welsh markdown (`markdown_cy`) if the UI language is Welsh,
|
|
6830
|
+
* otherwise uses English (`markdown`). Reactively updates when the language changes.
|
|
6831
|
+
*/
|
|
6832
|
+
class TranslatedMarkdownDirective {
|
|
6833
|
+
viewContainer;
|
|
6834
|
+
templateRef;
|
|
6835
|
+
translationService;
|
|
6836
|
+
dataItem;
|
|
6837
|
+
subscription;
|
|
6838
|
+
constructor(viewContainer, templateRef, translationService) {
|
|
6839
|
+
this.viewContainer = viewContainer;
|
|
6840
|
+
this.templateRef = templateRef;
|
|
6841
|
+
this.translationService = translationService;
|
|
6842
|
+
}
|
|
6843
|
+
ngOnInit() {
|
|
6844
|
+
this.subscription = this.translationService.language$.subscribe((lang) => {
|
|
6845
|
+
const isWelsh = lang === 'cy';
|
|
6846
|
+
const content = isWelsh && this.dataItem?.markdown_cy
|
|
6847
|
+
? this.dataItem.markdown_cy
|
|
6848
|
+
: this.dataItem?.markdown ?? '';
|
|
6849
|
+
this.viewContainer.clear();
|
|
6850
|
+
this.viewContainer.createEmbeddedView(this.templateRef, {
|
|
6851
|
+
$implicit: content,
|
|
6852
|
+
translatedMarkdown: this.dataItem
|
|
6853
|
+
});
|
|
6854
|
+
});
|
|
6855
|
+
}
|
|
6856
|
+
ngOnDestroy() {
|
|
6857
|
+
this.subscription?.unsubscribe();
|
|
6858
|
+
}
|
|
6859
|
+
static ɵfac = function TranslatedMarkdownDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TranslatedMarkdownDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
|
|
6860
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TranslatedMarkdownDirective, selectors: [["", "translatedMarkdown", ""]], inputs: { dataItem: [0, "translatedMarkdown", "dataItem"] } });
|
|
6861
|
+
}
|
|
6862
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedMarkdownDirective, [{
|
|
6863
|
+
type: Directive,
|
|
6864
|
+
args: [{
|
|
6865
|
+
selector: '[translatedMarkdown]'
|
|
6866
|
+
}]
|
|
6867
|
+
}], () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i1.RpxTranslationService }], { dataItem: [{
|
|
6868
|
+
type: Input,
|
|
6869
|
+
args: ['translatedMarkdown']
|
|
6870
|
+
}] }); })();
|
|
6871
|
+
|
|
6872
|
+
class TranslatedMarkdownModule {
|
|
6873
|
+
static ɵfac = function TranslatedMarkdownModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TranslatedMarkdownModule)(); };
|
|
6874
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TranslatedMarkdownModule });
|
|
6875
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6876
|
+
}
|
|
6877
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedMarkdownModule, [{
|
|
6878
|
+
type: NgModule,
|
|
6879
|
+
args: [{
|
|
6880
|
+
declarations: [
|
|
6881
|
+
TranslatedMarkdownDirective
|
|
6882
|
+
],
|
|
6883
|
+
exports: [
|
|
6884
|
+
TranslatedMarkdownDirective
|
|
6885
|
+
]
|
|
6886
|
+
}]
|
|
6887
|
+
}], null, null); })();
|
|
6888
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TranslatedMarkdownModule, { declarations: [TranslatedMarkdownDirective], exports: [TranslatedMarkdownDirective] }); })();
|
|
6889
|
+
|
|
6772
6890
|
var AddressType;
|
|
6773
6891
|
(function (AddressType) {
|
|
6774
6892
|
AddressType["DPA"] = "DPA";
|
|
@@ -9300,7 +9418,7 @@ class CaseEditComponent {
|
|
|
9300
9418
|
this.cancelled.emit();
|
|
9301
9419
|
}
|
|
9302
9420
|
emitSubmitted(response) {
|
|
9303
|
-
this.submitted.emit({ caseId: response['id'], status: this.getStatus(response) });
|
|
9421
|
+
this.submitted.emit({ caseId: response['id'], jurisdiction: response['jurisdiction'], caseType: response['case_type'], status: this.getStatus(response) });
|
|
9304
9422
|
}
|
|
9305
9423
|
getNextPage({ wizard, currentPageId, eventTrigger, form }) {
|
|
9306
9424
|
return wizard.nextPage(currentPageId, this.fieldsUtils.buildCanShowPredicate(eventTrigger, form));
|
|
@@ -9628,7 +9746,7 @@ class CaseEditComponent {
|
|
|
9628
9746
|
}
|
|
9629
9747
|
else {
|
|
9630
9748
|
// Navigate to tasks tab on case details page
|
|
9631
|
-
this.router.navigate([`/cases/case-details/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9749
|
+
this.router.navigate([`/cases/case-details/${this.caseDetails.case_type.jurisdiction.id}/${this.caseDetails.case_type.id}/${this.getCaseId(caseDetails)}/tasks`], { relativeTo: this.route });
|
|
9632
9750
|
}
|
|
9633
9751
|
}
|
|
9634
9752
|
getStatus(response) {
|
|
@@ -10840,8 +10958,8 @@ function CaseEditPageComponent_form_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
10840
10958
|
i0.ɵɵtext(8);
|
|
10841
10959
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
10842
10960
|
i0.ɵɵelementEnd()();
|
|
10843
|
-
i0.ɵɵelementStart(10, "p", 30)(11, "
|
|
10844
|
-
i0.ɵɵlistener("click", function
|
|
10961
|
+
i0.ɵɵelementStart(10, "p", 30)(11, "button", 31);
|
|
10962
|
+
i0.ɵɵlistener("click", function CaseEditPageComponent_form_10_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancel()); });
|
|
10845
10963
|
i0.ɵɵtext(12);
|
|
10846
10964
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
10847
10965
|
i0.ɵɵelementEnd()()();
|
|
@@ -11559,7 +11677,7 @@ class CaseEditPageComponent {
|
|
|
11559
11677
|
});
|
|
11560
11678
|
}
|
|
11561
11679
|
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
11562
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["
|
|
11680
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["id", "caseEditForm", 3, "valuesChanged", "fields", "formGroup", "caseFields", "pageChangeSubject"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11563
11681
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11564
11682
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 2)(1, CaseEditPageComponent_div_1_Template, 1, 0, "div", 3)(2, CaseEditPageComponent_ng_template_2_Template, 2, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, CaseEditPageComponent_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, CaseEditPageComponent_div_6_Template, 5, 4, "div", 4);
|
|
11565
11683
|
i0.ɵɵelement(7, "ccd-case-edit-generic-errors", 5);
|
|
@@ -11590,7 +11708,7 @@ class CaseEditPageComponent {
|
|
|
11590
11708
|
}
|
|
11591
11709
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
11592
11710
|
type: Component,
|
|
11593
|
-
args: [{ selector: 'ccd-case-edit-page', template: "<ng-container *ngIf=\"currentPage\">\n <h1 *ngIf=\"!currentPage.label\" class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n <ng-container *ngIf=\"currentPage.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name | rpxTranslate}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label | rpxTranslate}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data']\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" (keyup.enter)=\"navigateToErrorElement(validationError.id)\" tabindex=\"0\" class=\"validation-error\">\n {{ validationError.message | rpxTranslate: getRpxTranslatePipeArgs(validationError.label | rpxTranslate): null }}\n </a>\n </li>\n </ul>\n </div>\n</div>\n\n<ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"nextStep()\">\n <fieldset id=\"fieldset-case-data\">\n <legend style=\"display: none;\"></legend>\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </fieldset>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"toPreviousPage()\" *ngIf=\"!isAtStart()\" [disabled]=\"isDisabled()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText | rpxTranslate}}</button>\n </div>\n\n <p class=\"cancel\"><
|
|
11711
|
+
args: [{ selector: 'ccd-case-edit-page', template: "<ng-container *ngIf=\"currentPage\">\n <h1 *ngIf=\"!currentPage.label\" class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n <ng-container *ngIf=\"currentPage.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name | rpxTranslate}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label | rpxTranslate}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data']\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" (keyup.enter)=\"navigateToErrorElement(validationError.id)\" tabindex=\"0\" class=\"validation-error\">\n {{ validationError.message | rpxTranslate: getRpxTranslatePipeArgs(validationError.label | rpxTranslate): null }}\n </a>\n </li>\n </ul>\n </div>\n</div>\n\n<ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"nextStep()\">\n <fieldset id=\"fieldset-case-data\">\n <legend style=\"display: none;\"></legend>\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </fieldset>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"toPreviousPage()\" *ngIf=\"!isAtStart()\" [disabled]=\"isDisabled()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText | rpxTranslate}}</button>\n </div>\n\n <p class=\"cancel\"><button type=\"button\" (click)=\"cancel()\" class=\"govuk-js-link\">{{getCancelText() | rpxTranslate}}</button></p>\n </form>\n</div>\n\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: [".rightBorderSeparator{border-right-width:4px;border-right-color:#ffcc02;border-right-style:solid}.validation-error{cursor:pointer;text-decoration:underline;color:#d4351c}\n"] }]
|
|
11594
11712
|
}], () => [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatLegacyDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: MultipageComponentStateService }, { type: AddressesService }, { type: LinkedCasesService }, { type: CaseFlagStateService }], null); })();
|
|
11595
11713
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditPageComponent, { className: "CaseEditPageComponent", filePath: "lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts", lineNumber: 34 }); })();
|
|
11596
11714
|
|
|
@@ -11835,13 +11953,17 @@ class CaseEventCompletionComponent {
|
|
|
11835
11953
|
}] }); })();
|
|
11836
11954
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 20 }); })();
|
|
11837
11955
|
|
|
11838
|
-
const _c0$
|
|
11956
|
+
const _c0$_ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11839
11957
|
class CaseEventCompletionTaskCancelledComponent {
|
|
11840
11958
|
context;
|
|
11841
11959
|
notifyEventCompletionCancelled = new EventEmitter();
|
|
11842
11960
|
caseId;
|
|
11961
|
+
jurisdiction;
|
|
11962
|
+
caseType;
|
|
11843
11963
|
ngOnInit() {
|
|
11844
11964
|
this.caseId = this.context.caseId;
|
|
11965
|
+
this.jurisdiction = this.context.task.jurisdiction;
|
|
11966
|
+
this.caseType = this.context.task.case_type_id;
|
|
11845
11967
|
}
|
|
11846
11968
|
onContinue() {
|
|
11847
11969
|
// Removes task to complete so event completes without task
|
|
@@ -11850,7 +11972,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11850
11972
|
this.notifyEventCompletionCancelled.emit(true);
|
|
11851
11973
|
}
|
|
11852
11974
|
static ɵfac = function CaseEventCompletionTaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskCancelledComponent)(); };
|
|
11853
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars:
|
|
11975
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars: 29, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11854
11976
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
11855
11977
|
i0.ɵɵtext(3);
|
|
11856
11978
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -11900,14 +12022,14 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11900
12022
|
i0.ɵɵadvance(4);
|
|
11901
12023
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
|
|
11902
12024
|
i0.ɵɵadvance(2);
|
|
11903
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
12025
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$_, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
11904
12026
|
i0.ɵɵadvance();
|
|
11905
12027
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
|
|
11906
12028
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
11907
12029
|
}
|
|
11908
12030
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskCancelledComponent, [{
|
|
11909
12031
|
type: Component,
|
|
11910
|
-
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12032
|
+
args: [{ selector: 'app-case-event-completion-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n <p>{{'Click Continue to complete the event and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
11911
12033
|
}], null, { context: [{
|
|
11912
12034
|
type: Input
|
|
11913
12035
|
}], notifyEventCompletionCancelled: [{
|
|
@@ -11915,7 +12037,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11915
12037
|
}] }); })();
|
|
11916
12038
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 9 }); })();
|
|
11917
12039
|
|
|
11918
|
-
const _c0$
|
|
12040
|
+
const _c0$Z = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
11919
12041
|
function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
11920
12042
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11921
12043
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
@@ -11968,7 +12090,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
|
|
|
11968
12090
|
i0.ɵɵadvance(4);
|
|
11969
12091
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
|
|
11970
12092
|
i0.ɵɵadvance(2);
|
|
11971
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
12093
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$Z, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
|
|
11972
12094
|
i0.ɵɵadvance();
|
|
11973
12095
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
|
|
11974
12096
|
} }
|
|
@@ -11984,6 +12106,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11984
12106
|
subscription;
|
|
11985
12107
|
caseworkerSubscription;
|
|
11986
12108
|
judicialworkerSubscription;
|
|
12109
|
+
jurisdiction;
|
|
12110
|
+
caseType;
|
|
11987
12111
|
constructor(sessionStorageService, judicialworkerService, caseworkerService) {
|
|
11988
12112
|
this.sessionStorageService = sessionStorageService;
|
|
11989
12113
|
this.judicialworkerService = judicialworkerService;
|
|
@@ -11993,6 +12117,8 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11993
12117
|
// Get case id and task from the parent component
|
|
11994
12118
|
this.caseId = this.context.caseId;
|
|
11995
12119
|
const task = this.context.reassignedTask;
|
|
12120
|
+
this.jurisdiction = task.jurisdiction;
|
|
12121
|
+
this.caseType = task.case_type_id;
|
|
11996
12122
|
// Current user is a caseworker?
|
|
11997
12123
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(task.jurisdiction).subscribe(result => {
|
|
11998
12124
|
if (result && result[0].service === task.jurisdiction && result[0].caseworkers) {
|
|
@@ -12048,14 +12174,14 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
12048
12174
|
}
|
|
12049
12175
|
static ɵfac = function CaseEventCompletionTaskReassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskReassignedComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
12050
12176
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskReassignedComponent, selectors: [["app-case-event-completion-task-reassigned"]], inputs: { context: "context" }, outputs: { notifyEventCompletionReassigned: "notifyEventCompletionReassigned" }, decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskReassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12051
|
-
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31,
|
|
12177
|
+
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31, 30, "div", 0);
|
|
12052
12178
|
} if (rf & 2) {
|
|
12053
12179
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
12054
12180
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
12055
12181
|
}
|
|
12056
12182
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEventCompletionTaskReassignedComponent, [{
|
|
12057
12183
|
type: Component,
|
|
12058
|
-
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12184
|
+
args: [{ selector: 'app-case-event-completion-task-reassigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task reassigned' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task reassigned' | rpxTranslate}}</h2>\n <p>{{'This task has been reassigned to' | rpxTranslate}} {{assignedUserName}}.</p>\n <p>{{'Click Continue to reassign the task to you and save your progress.' | rpxTranslate}}</p>\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n <div class=\"form-group form-group-related\">\n <button class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\" (click)=\"onContinue()\">\n {{'Continue' | rpxTranslate}}\n </button>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
12059
12185
|
}], () => [{ type: SessionStorageService }, { type: JudicialworkerService }, { type: CaseworkerService }], { context: [{
|
|
12060
12186
|
type: Input
|
|
12061
12187
|
}], notifyEventCompletionReassigned: [{
|
|
@@ -12369,7 +12495,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12369
12495
|
}] }); })();
|
|
12370
12496
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 21 }); })();
|
|
12371
12497
|
|
|
12372
|
-
const _c0$
|
|
12498
|
+
const _c0$Y = ["writeComplexFieldComponent"];
|
|
12373
12499
|
const _c1$o = a0 => ({ "form-group-error": a0 });
|
|
12374
12500
|
const _c2$3 = a0 => ({ "govuk-input--error": a0 });
|
|
12375
12501
|
function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -12458,7 +12584,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
|
|
|
12458
12584
|
function WriteAddressFieldComponent_div_1_a_6_Template(rf, ctx) { if (rf & 1) {
|
|
12459
12585
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
12460
12586
|
i0.ɵɵelementStart(0, "a", 19);
|
|
12461
|
-
i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_a_6_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
12587
|
+
i0.ɵɵlistener("click", function WriteAddressFieldComponent_div_1_a_6_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.blankAddress(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
12462
12588
|
i0.ɵɵtext(1);
|
|
12463
12589
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
12464
12590
|
i0.ɵɵelementEnd();
|
|
@@ -12611,13 +12737,13 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12611
12737
|
}
|
|
12612
12738
|
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12613
12739
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12614
|
-
i0.ɵɵviewQuery(_c0$
|
|
12740
|
+
i0.ɵɵviewQuery(_c0$Y, 5);
|
|
12615
12741
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
12616
12742
|
} if (rf & 2) {
|
|
12617
12743
|
let _t;
|
|
12618
12744
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
12619
12745
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.focusElementDirectives = _t);
|
|
12620
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 4, vars: 9, consts: [["writeComplexFieldComponent", ""], [1, "form-group", 3, "id"], [4, "ngIf"], [3, "hidden", "caseField", "renderLabel", "parent", "formGroup", "ignoreMandatory", "idPrefix"], [1, "heading-h2"], ["class", "form-group bottom-30 postcodeLookup", 3, "id", "ngClass", 4, "ngIf"], ["class", "form-group", "id", "selectAddress", 3, "ngClass", 4, "ngIf"], ["class", "manual-link bottom-30", "href", "
|
|
12746
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 4, vars: 9, consts: [["writeComplexFieldComponent", ""], [1, "form-group", 3, "id"], [4, "ngIf"], [3, "hidden", "caseField", "renderLabel", "parent", "formGroup", "ignoreMandatory", "idPrefix"], [1, "heading-h2"], ["class", "form-group bottom-30 postcodeLookup", 3, "id", "ngClass", 4, "ngIf"], ["class", "form-group", "id", "selectAddress", 3, "ngClass", 4, "ngIf"], ["class", "manual-link bottom-30", "href", "#", 3, "click", 4, "ngIf"], [1, "form-group", "bottom-30", "postcodeLookup", 3, "id", "ngClass"], [3, "for"], [1, "form-label"], ["class", "error-message", 4, "ngIf"], ["type", "text", "name", "postcode", 1, "form-control", "postcodeinput", "inline-block", 3, "ngClass", "id", "formControl"], ["type", "button", 1, "button", "button-30", 3, "click"], [1, "error-message"], ["id", "selectAddress", 1, "form-group", 3, "ngClass"], ["name", "address", "focusElement", "", 1, "form-control", "ccd-dropdown", "addressList", 3, "change", "id", "formControl"], [3, "ngValue", 4, "ngFor", "ngForOf"], [3, "ngValue"], ["href", "#", 1, "manual-link", "bottom-30", 3, "click"]], template: function WriteAddressFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12621
12747
|
i0.ɵɵelementStart(0, "div", 1);
|
|
12622
12748
|
i0.ɵɵtemplate(1, WriteAddressFieldComponent_div_1_Template, 7, 6, "div", 2);
|
|
12623
12749
|
i0.ɵɵelement(2, "ccd-write-complex-type-field", 3, 0);
|
|
@@ -12632,7 +12758,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12632
12758
|
}
|
|
12633
12759
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteAddressFieldComponent, [{
|
|
12634
12760
|
type: Component,
|
|
12635
|
-
args: [{ selector: 'ccd-write-address-field', template: "<div class=\"form-group\" [id]=\"id()\">\n <div *ngIf=\"!isComplexWithHiddenFields()\">\n <h2 class=\"heading-h2\">{{caseField | ccdFieldLabel}}</h2>\n\n <div class=\"form-group bottom-30 postcodeLookup\" [id]=\"createElementId('postcodeLookup')\" [ngClass]=\"{'form-group-error': missingPostcode}\" *ngIf=\"!isExpanded\">\n <label [for]=\"createElementId('postcodeInput')\">\n <span class=\"form-label\">{{'Enter a UK postcode' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"missingPostcode\">{{errorMessage | rpxTranslate}}</span>\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\"\n [id]=\"createElementId('postcodeInput')\" name=\"postcode\" class=\"form-control postcodeinput inline-block\" [formControl]=\"postcode\">\n <button type=\"button\" class=\"button button-30\" (click)=\"findAddress()\">{{'Find address' | rpxTranslate}}</button>\n </div>\n\n <div class=\"form-group\" *ngIf=\"addressOptions\" id=\"selectAddress\" [ngClass]=\"{'form-group-error': noAddressSelected}\">\n <label [for]=\"createElementId('addressList')\">\n <span class=\"form-label\">{{'Select an address' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"noAddressSelected\">{{errorMessage | rpxTranslate}}</span>\n <select class=\"form-control ccd-dropdown addressList\" [id]=\"createElementId('addressList')\" name=\"address\" [formControl]=\"addressList\" (change)=\"addressSelected()\" focusElement>\n <option *ngFor=\"let addressOption of addressOptions\" [ngValue]=\"addressOption.value\">\n {{addressOption.description | rpxTranslate}}\n </option>\n </select>\n </div>\n\n <a class=\"manual-link bottom-30\" *ngIf=\"!shouldShowDetailFields()\" (click)=\"blankAddress()\" href=\"
|
|
12761
|
+
args: [{ selector: 'ccd-write-address-field', template: "<div class=\"form-group\" [id]=\"id()\">\n <div *ngIf=\"!isComplexWithHiddenFields()\">\n <h2 class=\"heading-h2\">{{caseField | ccdFieldLabel}}</h2>\n\n <div class=\"form-group bottom-30 postcodeLookup\" [id]=\"createElementId('postcodeLookup')\" [ngClass]=\"{'form-group-error': missingPostcode}\" *ngIf=\"!isExpanded\">\n <label [for]=\"createElementId('postcodeInput')\">\n <span class=\"form-label\">{{'Enter a UK postcode' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"missingPostcode\">{{errorMessage | rpxTranslate}}</span>\n <input type=\"text\" [ngClass]=\"{'govuk-input--error': missingPostcode}\"\n [id]=\"createElementId('postcodeInput')\" name=\"postcode\" class=\"form-control postcodeinput inline-block\" [formControl]=\"postcode\">\n <button type=\"button\" class=\"button button-30\" (click)=\"findAddress()\">{{'Find address' | rpxTranslate}}</button>\n </div>\n\n <div class=\"form-group\" *ngIf=\"addressOptions\" id=\"selectAddress\" [ngClass]=\"{'form-group-error': noAddressSelected}\">\n <label [for]=\"createElementId('addressList')\">\n <span class=\"form-label\">{{'Select an address' | rpxTranslate}}</span>\n </label>\n <span class=\"error-message\" *ngIf=\"noAddressSelected\">{{errorMessage | rpxTranslate}}</span>\n <select class=\"form-control ccd-dropdown addressList\" [id]=\"createElementId('addressList')\" name=\"address\" [formControl]=\"addressList\" (change)=\"addressSelected()\" focusElement>\n <option *ngFor=\"let addressOption of addressOptions\" [ngValue]=\"addressOption.value\">\n {{addressOption.description | rpxTranslate}}\n </option>\n </select>\n </div>\n\n <a class=\"manual-link bottom-30\" *ngIf=\"!shouldShowDetailFields()\" (click)=\"blankAddress(); $event.preventDefault()\" href=\"#\">\n {{\"I can't enter a UK postcode\" | rpxTranslate}}\n </a>\n </div>\n\n <ccd-write-complex-type-field\n [hidden]=\"!shouldShowDetailFields()\"\n [caseField]=\"caseField\"\n [renderLabel]=\"false\"\n [parent]=\"parent\"\n [formGroup]=\"formGroup\"\n [ignoreMandatory]=\"true\"\n [idPrefix]=\"buildIdPrefix('detail')\"\n #writeComplexFieldComponent>\n </ccd-write-complex-type-field>\n</div>\n", styles: [".manual-link{cursor:pointer;display:block;text-decoration:underline}\n"] }]
|
|
12636
12762
|
}], () => [{ type: AddressesService }, { type: IsCompoundPipe }], { writeComplexFieldComponent: [{
|
|
12637
12763
|
type: ViewChild,
|
|
12638
12764
|
args: ['writeComplexFieldComponent', { static: false }]
|
|
@@ -12674,7 +12800,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
12674
12800
|
type: Input
|
|
12675
12801
|
}] }); })();
|
|
12676
12802
|
|
|
12677
|
-
const _c0$
|
|
12803
|
+
const _c0$X = ["journeyChild"];
|
|
12678
12804
|
class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
12679
12805
|
multipageComponentStateService;
|
|
12680
12806
|
journeyStartPageNumber = 0;
|
|
@@ -12749,7 +12875,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12749
12875
|
;
|
|
12750
12876
|
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12751
12877
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12752
|
-
i0.ɵɵviewQuery(_c0$
|
|
12878
|
+
i0.ɵɵviewQuery(_c0$X, 5);
|
|
12753
12879
|
} if (rf & 2) {
|
|
12754
12880
|
let _t;
|
|
12755
12881
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -12764,7 +12890,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12764
12890
|
args: ['journeyChild']
|
|
12765
12891
|
}] }); })();
|
|
12766
12892
|
|
|
12767
|
-
const _c0$
|
|
12893
|
+
const _c0$W = ["journeyChild"];
|
|
12768
12894
|
class AbstractJourneyComponent {
|
|
12769
12895
|
multipageComponentStateService;
|
|
12770
12896
|
journeyStartPageNumber = 0;
|
|
@@ -12826,7 +12952,7 @@ class AbstractJourneyComponent {
|
|
|
12826
12952
|
onPageChange() { }
|
|
12827
12953
|
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12828
12954
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12829
|
-
i0.ɵɵviewQuery(_c0$
|
|
12955
|
+
i0.ɵɵviewQuery(_c0$W, 5);
|
|
12830
12956
|
} if (rf & 2) {
|
|
12831
12957
|
let _t;
|
|
12832
12958
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
|
|
@@ -12856,7 +12982,7 @@ var DisplayContextCustomParameter;
|
|
|
12856
12982
|
})(DisplayContextCustomParameter || (DisplayContextCustomParameter = {}));
|
|
12857
12983
|
|
|
12858
12984
|
function CaseFileViewFieldComponent_ng_container_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
12859
|
-
i0.ɵɵelementStart(0, "li")(1, "
|
|
12985
|
+
i0.ɵɵelementStart(0, "li")(1, "button", 8);
|
|
12860
12986
|
i0.ɵɵtext(2);
|
|
12861
12987
|
i0.ɵɵelementEnd()();
|
|
12862
12988
|
} if (rf & 2) {
|
|
@@ -13024,7 +13150,7 @@ class CaseFileViewFieldComponent {
|
|
|
13024
13150
|
return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
|
|
13025
13151
|
}
|
|
13026
13152
|
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
13027
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["
|
|
13153
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["type", "button", 1, "govuk-js-link"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "caseId", "multimediaPlayerEnabled", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13028
13154
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
|
|
13029
13155
|
} if (rf & 2) {
|
|
13030
13156
|
i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
|
|
@@ -13036,7 +13162,7 @@ class CaseFileViewFieldComponent {
|
|
|
13036
13162
|
}
|
|
13037
13163
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
13038
13164
|
type: Component,
|
|
13039
|
-
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <
|
|
13165
|
+
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <button type=\"button\" class=\"govuk-js-link\">{{ errorMessage }}</button>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer\n [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [caseId]=\"caseId\"\n [multimediaPlayerEnabled]=\"true\"\n [enableICP]=\"isIcpEnabled()\"\n >\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: ["#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
13040
13166
|
}], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
13041
13167
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 17 }); })();
|
|
13042
13168
|
|
|
@@ -14163,7 +14289,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
14163
14289
|
}], null, null); })();
|
|
14164
14290
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 8 }); })();
|
|
14165
14291
|
|
|
14166
|
-
const _c0$
|
|
14292
|
+
const _c0$V = ["writeComplexFieldComponent"];
|
|
14167
14293
|
const _c1$n = a0 => ({ "form-group-error": a0 });
|
|
14168
14294
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14169
14295
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -14244,7 +14370,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14244
14370
|
}
|
|
14245
14371
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
14246
14372
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14247
|
-
i0.ɵɵviewQuery(_c0$
|
|
14373
|
+
i0.ɵɵviewQuery(_c0$V, 5);
|
|
14248
14374
|
} if (rf & 2) {
|
|
14249
14375
|
let _t;
|
|
14250
14376
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -14278,7 +14404,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14278
14404
|
}] }); })();
|
|
14279
14405
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 11 }); })();
|
|
14280
14406
|
|
|
14281
|
-
const _c0$
|
|
14407
|
+
const _c0$U = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
|
|
14282
14408
|
const _c1$m = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
|
|
14283
14409
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
14284
14410
|
i0.ɵɵelementStart(0, "tbody")(1, "tr");
|
|
@@ -14289,7 +14415,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
14289
14415
|
} if (rf & 2) {
|
|
14290
14416
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14291
14417
|
i0.ɵɵadvance(4);
|
|
14292
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$
|
|
14418
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(3, _c0$U, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
|
|
14293
14419
|
} }
|
|
14294
14420
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
14295
14421
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -14408,7 +14534,7 @@ class RemoveDialogComponent {
|
|
|
14408
14534
|
}], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
|
|
14409
14535
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 9 }); })();
|
|
14410
14536
|
|
|
14411
|
-
const _c0$
|
|
14537
|
+
const _c0$T = ["collectionItem"];
|
|
14412
14538
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14413
14539
|
i0.ɵɵelementStart(0, "span", 10);
|
|
14414
14540
|
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
@@ -14795,7 +14921,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14795
14921
|
}
|
|
14796
14922
|
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
14797
14923
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14798
|
-
i0.ɵɵviewQuery(_c0$
|
|
14924
|
+
i0.ɵɵviewQuery(_c0$T, 5);
|
|
14799
14925
|
} if (rf & 2) {
|
|
14800
14926
|
let _t;
|
|
14801
14927
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -14960,10 +15086,10 @@ class WriteDateContainerFieldComponent extends AbstractFormFieldComponent {
|
|
|
14960
15086
|
}], null, null); })();
|
|
14961
15087
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDateContainerFieldComponent, { className: "WriteDateContainerFieldComponent", filePath: "lib/shared/components/palette/date/write-date-container-field.component.ts", lineNumber: 8 }); })();
|
|
14962
15088
|
|
|
14963
|
-
function
|
|
15089
|
+
function ReadDocumentFieldComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
14964
15090
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14965
|
-
i0.ɵɵelementStart(0, "
|
|
14966
|
-
i0.ɵɵlistener("click", function
|
|
15091
|
+
i0.ɵɵelementStart(0, "button", 1);
|
|
15092
|
+
i0.ɵɵlistener("click", function ReadDocumentFieldComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showMediaViewer()); });
|
|
14967
15093
|
i0.ɵɵtext(1);
|
|
14968
15094
|
i0.ɵɵelementEnd();
|
|
14969
15095
|
} if (rf & 2) {
|
|
@@ -15024,15 +15150,15 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
15024
15150
|
}
|
|
15025
15151
|
}
|
|
15026
15152
|
static ɵfac = function ReadDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadDocumentFieldComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService)); };
|
|
15027
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDocumentFieldComponent, selectors: [["ccd-read-document-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["
|
|
15028
|
-
i0.ɵɵtemplate(0,
|
|
15153
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDocumentFieldComponent, selectors: [["ccd-read-document-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["type", "button", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["type", "button", 1, "govuk-js-link", 3, "click"]], template: function ReadDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15154
|
+
i0.ɵɵtemplate(0, ReadDocumentFieldComponent_button_0_Template, 2, 1, "button", 0);
|
|
15029
15155
|
} if (rf & 2) {
|
|
15030
15156
|
i0.ɵɵproperty("ngIf", ctx.caseField.value);
|
|
15031
15157
|
} }, dependencies: [i5.NgIf], encapsulation: 2 });
|
|
15032
15158
|
}
|
|
15033
15159
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDocumentFieldComponent, [{
|
|
15034
15160
|
type: Component,
|
|
15035
|
-
args: [{ selector: 'ccd-read-document-field', template: "<
|
|
15161
|
+
args: [{ selector: 'ccd-read-document-field', template: "<button type=\"button\" *ngIf=\"caseField.value\" class=\"govuk-js-link\"\n (click)=\"showMediaViewer()\">\n {{ caseField.value.document_filename }}\n</button>\n" }]
|
|
15036
15162
|
}], () => [{ type: WindowService }, { type: DocumentManagementService }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: CasesService }], null); })();
|
|
15037
15163
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDocumentFieldComponent, { className: "ReadDocumentFieldComponent", filePath: "lib/shared/components/palette/document/read-document-field.component.ts", lineNumber: 15 }); })();
|
|
15038
15164
|
|
|
@@ -15108,7 +15234,7 @@ class FileUploadStateService {
|
|
|
15108
15234
|
type: Injectable
|
|
15109
15235
|
}], null, null); })();
|
|
15110
15236
|
|
|
15111
|
-
const _c0$
|
|
15237
|
+
const _c0$S = ["fileInput"];
|
|
15112
15238
|
const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
|
|
15113
15239
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
15114
15240
|
i0.ɵɵelementStart(0, "span", 12);
|
|
@@ -15470,7 +15596,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15470
15596
|
}
|
|
15471
15597
|
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15472
15598
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15473
|
-
i0.ɵɵviewQuery(_c0$
|
|
15599
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
15474
15600
|
} if (rf & 2) {
|
|
15475
15601
|
let _t;
|
|
15476
15602
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -15584,7 +15710,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15584
15710
|
}], null, null); })();
|
|
15585
15711
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 8 }); })();
|
|
15586
15712
|
|
|
15587
|
-
const _c0$
|
|
15713
|
+
const _c0$R = a0 => ({ "form-group-error": a0 });
|
|
15588
15714
|
function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
15589
15715
|
i0.ɵɵelementStart(0, "span", 8);
|
|
15590
15716
|
i0.ɵɵtext(1);
|
|
@@ -15672,7 +15798,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15672
15798
|
i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
|
|
15673
15799
|
i0.ɵɵelementEnd()();
|
|
15674
15800
|
} if (rf & 2) {
|
|
15675
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
15801
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$R, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
15676
15802
|
i0.ɵɵadvance();
|
|
15677
15803
|
i0.ɵɵproperty("for", ctx.id());
|
|
15678
15804
|
i0.ɵɵadvance();
|
|
@@ -15850,7 +15976,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
15850
15976
|
}], null, null); })();
|
|
15851
15977
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
15852
15978
|
|
|
15853
|
-
const _c0$
|
|
15979
|
+
const _c0$Q = a0 => ({ "error": a0 });
|
|
15854
15980
|
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
15855
15981
|
i0.ɵɵelementStart(0, "span", 5);
|
|
15856
15982
|
i0.ɵɵtext(1);
|
|
@@ -15971,7 +16097,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
15971
16097
|
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 7, "ng-container", 4);
|
|
15972
16098
|
i0.ɵɵelementEnd()();
|
|
15973
16099
|
} if (rf & 2) {
|
|
15974
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
16100
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$Q, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
15975
16101
|
i0.ɵɵadvance(3);
|
|
15976
16102
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
15977
16103
|
i0.ɵɵadvance();
|
|
@@ -16049,7 +16175,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16049
16175
|
}], null, null); })();
|
|
16050
16176
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16051
16177
|
|
|
16052
|
-
const _c0$
|
|
16178
|
+
const _c0$P = a0 => ({ "form-group-error": a0 });
|
|
16053
16179
|
const _c1$k = a0 => ({ selected: a0 });
|
|
16054
16180
|
function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16055
16181
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -16144,7 +16270,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16144
16270
|
i0.ɵɵelementContainerEnd();
|
|
16145
16271
|
i0.ɵɵelementEnd()();
|
|
16146
16272
|
} if (rf & 2) {
|
|
16147
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16273
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
|
|
16148
16274
|
i0.ɵɵadvance(3);
|
|
16149
16275
|
i0.ɵɵproperty("for", ctx.id());
|
|
16150
16276
|
i0.ɵɵadvance();
|
|
@@ -16197,7 +16323,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
16197
16323
|
}], null, null); })();
|
|
16198
16324
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 10 }); })();
|
|
16199
16325
|
|
|
16200
|
-
const _c0$
|
|
16326
|
+
const _c0$O = a0 => ({ "form-group-error": a0 });
|
|
16201
16327
|
const _c1$j = a0 => ({ "govuk-input--error": a0 });
|
|
16202
16328
|
function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16203
16329
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16243,7 +16369,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16243
16369
|
i0.ɵɵelement(5, "input", 5);
|
|
16244
16370
|
i0.ɵɵelementEnd();
|
|
16245
16371
|
} if (rf & 2) {
|
|
16246
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
16372
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$O, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
16247
16373
|
i0.ɵɵadvance();
|
|
16248
16374
|
i0.ɵɵproperty("for", ctx.id());
|
|
16249
16375
|
i0.ɵɵadvance();
|
|
@@ -16284,7 +16410,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16284
16410
|
}], null, null); })();
|
|
16285
16411
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 8 }); })();
|
|
16286
16412
|
|
|
16287
|
-
const _c0$
|
|
16413
|
+
const _c0$N = a0 => ({ "form-group-error": a0 });
|
|
16288
16414
|
function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16289
16415
|
i0.ɵɵelementStart(0, "span", 8);
|
|
16290
16416
|
i0.ɵɵtext(1);
|
|
@@ -16359,7 +16485,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16359
16485
|
i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
|
|
16360
16486
|
i0.ɵɵelementEnd()();
|
|
16361
16487
|
} if (rf & 2) {
|
|
16362
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
16488
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$N, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
16363
16489
|
i0.ɵɵadvance();
|
|
16364
16490
|
i0.ɵɵproperty("for", ctx.id());
|
|
16365
16491
|
i0.ɵɵadvance();
|
|
@@ -16420,7 +16546,7 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
16420
16546
|
}], null, null); })();
|
|
16421
16547
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 8 }); })();
|
|
16422
16548
|
|
|
16423
|
-
const _c0$
|
|
16549
|
+
const _c0$M = a0 => ({ "form-group-error": a0 });
|
|
16424
16550
|
const _c1$i = a0 => ({ selected: a0 });
|
|
16425
16551
|
function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
16426
16552
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -16488,7 +16614,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16488
16614
|
i0.ɵɵelementContainerEnd();
|
|
16489
16615
|
i0.ɵɵelementEnd()();
|
|
16490
16616
|
} if (rf & 2) {
|
|
16491
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
16617
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$M, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
|
|
16492
16618
|
i0.ɵɵadvance(3);
|
|
16493
16619
|
i0.ɵɵproperty("for", ctx.id());
|
|
16494
16620
|
i0.ɵɵadvance();
|
|
@@ -16564,7 +16690,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
16564
16690
|
}], () => [{ type: JurisdictionService }], null); })();
|
|
16565
16691
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 11 }); })();
|
|
16566
16692
|
|
|
16567
|
-
const _c0$
|
|
16693
|
+
const _c0$L = a0 => ({ "form-group-error": a0 });
|
|
16568
16694
|
const _c1$h = a0 => ({ "hide-autocomplete": a0 });
|
|
16569
16695
|
function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
16570
16696
|
i0.ɵɵelementStart(0, "span", 10);
|
|
@@ -16784,7 +16910,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
16784
16910
|
i0.ɵɵelementEnd()();
|
|
16785
16911
|
} if (rf & 2) {
|
|
16786
16912
|
const autoComplete_r5 = i0.ɵɵreference(7);
|
|
16787
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
16913
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$L, !!ctx.judicialUserControl && ctx.errors));
|
|
16788
16914
|
i0.ɵɵadvance();
|
|
16789
16915
|
i0.ɵɵproperty("for", ctx.id());
|
|
16790
16916
|
i0.ɵɵadvance();
|
|
@@ -16915,8 +17041,8 @@ function BeforeYouStartComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
16915
17041
|
i0.ɵɵtext(2, "There is a problem");
|
|
16916
17042
|
i0.ɵɵelementEnd();
|
|
16917
17043
|
i0.ɵɵtemplate(3, BeforeYouStartComponent_div_1_p_3_Template, 4, 1, "p", 2);
|
|
16918
|
-
i0.ɵɵelementStart(4, "p", 3)(5, "
|
|
16919
|
-
i0.ɵɵlistener("click", function
|
|
17044
|
+
i0.ɵɵelementStart(4, "p", 3)(5, "button", 4);
|
|
17045
|
+
i0.ɵɵlistener("click", function BeforeYouStartComponent_div_1_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onBack()); });
|
|
16920
17046
|
i0.ɵɵtext(6, "Go back to the Linked cases tab");
|
|
16921
17047
|
i0.ɵɵelementEnd()()();
|
|
16922
17048
|
} if (rf & 2) {
|
|
@@ -16997,10 +17123,10 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
16997
17123
|
}
|
|
16998
17124
|
}
|
|
16999
17125
|
onBack() {
|
|
17000
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
17126
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
17001
17127
|
}
|
|
17002
17128
|
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
17003
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["
|
|
17129
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17004
17130
|
i0.ɵɵelementStart(0, "div");
|
|
17005
17131
|
i0.ɵɵtemplate(1, BeforeYouStartComponent_div_1_Template, 7, 1, "div", 0)(2, BeforeYouStartComponent_div_2_Template, 5, 2, "div", 0);
|
|
17006
17132
|
i0.ɵɵelementEnd();
|
|
@@ -17013,7 +17139,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
17013
17139
|
}
|
|
17014
17140
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BeforeYouStartComponent, [{
|
|
17015
17141
|
type: Component,
|
|
17016
|
-
args: [{ selector: 'ccd-linked-cases-before-you-start', template: "<div>\n <div *ngIf=\"serverLinkedApiError\">\n <h1 class=\"govuk-heading-xl\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\" *ngIf=\"serverLinkedApiError\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <p class=\"govuk-body\">\n <
|
|
17142
|
+
args: [{ selector: 'ccd-linked-cases-before-you-start', template: "<div>\n <div *ngIf=\"serverLinkedApiError\">\n <h1 class=\"govuk-heading-xl\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\" *ngIf=\"serverLinkedApiError\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <p class=\"govuk-body\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">Go back to the Linked cases tab</button>\n </p>\n </div>\n <div *ngIf=\"!serverLinkedApiError\">\n <h1 class=\"govuk-heading-xl\">Before you start</h1>\n <div id=\"link-cases-journey\" *ngIf=\"isLinkCasesJourney\">\n <p class=\"govuk-body\">If a group of linked cases has a lead case, you must start from the lead case.</p>\n <p class=\"govuk-body\">If the cases to be linked has no lead, you can start the linking journey from any of those\n cases.</p>\n </div>\n <div id=\"manage-link-cases-journey\" *ngIf=\"!isLinkCasesJourney\">\n <p class=\"govuk-body\">If there are linked hearings for the case you need to un-link then you must unlink the\n hearing first.</p>\n </div>\n </div>\n</div>\n" }]
|
|
17017
17143
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], { linkedCasesStateEmitter: [{
|
|
17018
17144
|
type: Output
|
|
17019
17145
|
}] }); })();
|
|
@@ -17028,7 +17154,7 @@ function CheckYourAnswersComponent_table_4_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
17028
17154
|
i0.ɵɵpipe(5, "ccdCaseReference");
|
|
17029
17155
|
i0.ɵɵelementEnd();
|
|
17030
17156
|
i0.ɵɵelementStart(6, "td", 14)(7, "a", 15);
|
|
17031
|
-
i0.ɵɵlistener("click", function CheckYourAnswersComponent_table_4_tr_9_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
17157
|
+
i0.ɵɵlistener("click", function CheckYourAnswersComponent_table_4_tr_9_Template_a_click_7_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.onChange(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
17032
17158
|
i0.ɵɵtext(8, "Change");
|
|
17033
17159
|
i0.ɵɵelementEnd()()();
|
|
17034
17160
|
} if (rf & 2) {
|
|
@@ -17105,7 +17231,7 @@ function CheckYourAnswersComponent_tr_17_span_8_Template(rf, ctx) { if (rf & 1)
|
|
|
17105
17231
|
function CheckYourAnswersComponent_tr_17_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
17106
17232
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
17107
17233
|
i0.ɵɵelementStart(0, "td", 14)(1, "a", 15);
|
|
17108
|
-
i0.ɵɵlistener("click", function CheckYourAnswersComponent_tr_17_td_10_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
17234
|
+
i0.ɵɵlistener("click", function CheckYourAnswersComponent_tr_17_td_10_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.onChange(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
17109
17235
|
i0.ɵɵtext(2, "Change");
|
|
17110
17236
|
i0.ɵɵelementEnd()();
|
|
17111
17237
|
} }
|
|
@@ -17183,7 +17309,7 @@ class CheckYourAnswersComponent extends AbstractJourneyComponent {
|
|
|
17183
17309
|
super.next();
|
|
17184
17310
|
}
|
|
17185
17311
|
static ɵfac = function CheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckYourAnswersComponent)(i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
17186
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckYourAnswersComponent, selectors: [["ccd-linked-cases-check-your-answers"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 5, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["id", "cases-to-unlink-table", "class", "govuk-table", 4, "ngIf"], ["id", "linked-cases-table", 1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], ["scope", "col", "class", "govuk-table__header", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], ["id", "cases-to-unlink-table", 1, "govuk-table"], [1, "govuk-table__cell"], ["href", "
|
|
17312
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckYourAnswersComponent, selectors: [["ccd-linked-cases-check-your-answers"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 5, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["id", "cases-to-unlink-table", "class", "govuk-table", 4, "ngIf"], ["id", "linked-cases-table", 1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], ["scope", "col", "class", "govuk-table__header", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], ["id", "cases-to-unlink-table", 1, "govuk-table"], [1, "govuk-table__cell"], ["href", "#", 1, "govuk-link", "govuk-link--no-visited-state", "float-right", 3, "click"], ["colspan", "2", 1, "govuk-table__cell"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__cell", 4, "ngIf"], [4, "ngIf"], ["colspan", "4", 1, "govuk-table__cell"]], template: function CheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17187
17313
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
17188
17314
|
i0.ɵɵtext(3, "Check your answers");
|
|
17189
17315
|
i0.ɵɵelementEnd();
|
|
@@ -17218,7 +17344,7 @@ class CheckYourAnswersComponent extends AbstractJourneyComponent {
|
|
|
17218
17344
|
}
|
|
17219
17345
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckYourAnswersComponent, [{
|
|
17220
17346
|
type: Component,
|
|
17221
|
-
args: [{ selector: 'ccd-linked-cases-check-your-answers', template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h1 class=\"govuk-heading-xl\">Check your answers</h1>\n <!-- Top table for manage link cases journey -->\n <table id=\"cases-to-unlink-table\" class=\"govuk-table\" *ngIf=\"!isLinkCasesJourney\">\n <caption class=\"govuk-table__caption govuk-table__caption--m\">Cases to unlink</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of casesToUnlink\">\n <td class=\"govuk-table__cell\">\n {{case.caseName}} <br> {{case.caseReference | ccdCaseReference}}\n </td>\n <td class=\"govuk-table__cell\">\n <a href=\"
|
|
17347
|
+
args: [{ selector: 'ccd-linked-cases-check-your-answers', template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h1 class=\"govuk-heading-xl\">Check your answers</h1>\n <!-- Top table for manage link cases journey -->\n <table id=\"cases-to-unlink-table\" class=\"govuk-table\" *ngIf=\"!isLinkCasesJourney\">\n <caption class=\"govuk-table__caption govuk-table__caption--m\">Cases to unlink</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of casesToUnlink\">\n <td class=\"govuk-table__cell\">\n {{case.caseName}} <br> {{case.caseReference | ccdCaseReference}}\n </td>\n <td class=\"govuk-table__cell\">\n <a href=\"#\" class=\"govuk-link govuk-link--no-visited-state float-right\" (click)=\"onChange(); $event.preventDefault()\">Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"!casesToUnlink.length\">\n <td class=\"govuk-table__cell\" colspan=\"2\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n <!-- Table for both link case and manage link case journeys -->\n <table id=\"linked-cases-table\" class=\"govuk-table\">\n <caption class=\"govuk-table__caption govuk-table__caption--m\">{{linkedCasesTableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header\">Reasons for case link</th>\n <td scope=\"col\" class=\"govuk-table__header\"></td>\n <th scope=\"col\" class=\"govuk-table__header\" *ngIf=\"isLinkCasesJourney\"></th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCases\">\n <td class=\"govuk-table__cell\">\n <span>{{case.caseName}} <br> {{case.caseReference | ccdCaseReference}} </span>\n </td>\n <td class=\"govuk-table__cell\">\n <span *ngFor=\"let reason of case.reasons; last as isLast\">\n <span *ngIf=\"isLinkCasesJourney\">\n {{reason | ccdLinkCasesReasonValue}}\n </span>\n <span *ngIf=\"!isLinkCasesJourney\">\n {{reason.Reason.value | ccdLinkCasesReasonValue}}\n </span>\n <br *ngIf=\"!isLast\">\n </span>\n </td>\n <td class=\"govuk-table__cell\"></td>\n <td class=\"govuk-table__cell\" *ngIf=\"isLinkCasesJourney\">\n <a href=\"#\" class=\"govuk-link govuk-link--no-visited-state float-right\" (click)=\"onChange(); $event.preventDefault()\">Change</a>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"!linkedCases.length\">\n <td class=\"govuk-table__cell\" colspan=\"4\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".float-right{float:right}\n"] }]
|
|
17222
17348
|
}], () => [{ type: LinkedCasesService }, { type: MultipageComponentStateService }], { linkedCasesStateEmitter: [{
|
|
17223
17349
|
type: Output
|
|
17224
17350
|
}] }); })();
|
|
@@ -17249,7 +17375,7 @@ class ValidatorsUtils {
|
|
|
17249
17375
|
args: [{ providedIn: 'root' }]
|
|
17250
17376
|
}], null, null); })();
|
|
17251
17377
|
|
|
17252
|
-
const _c0$
|
|
17378
|
+
const _c0$K = a0 => ({ "govuk-form-group--error": a0 });
|
|
17253
17379
|
const _c1$g = a0 => ({ "table-group-error": a0 });
|
|
17254
17380
|
function LinkCasesComponent_div_8_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
17255
17381
|
i0.ɵɵelementStart(0, "span", 28)(1, "span", 29);
|
|
@@ -17317,7 +17443,7 @@ function LinkCasesComponent_div_8_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
17317
17443
|
i0.ɵɵelementEnd()();
|
|
17318
17444
|
} if (rf & 2) {
|
|
17319
17445
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
17320
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
17446
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$K, !!ctx_r1.caseReasonCommentsError));
|
|
17321
17447
|
i0.ɵɵadvance(3);
|
|
17322
17448
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonCommentsError);
|
|
17323
17449
|
} }
|
|
@@ -17361,11 +17487,11 @@ function LinkCasesComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
17361
17487
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
17362
17488
|
i0.ɵɵproperty("formGroup", ctx_r1.linkCaseForm);
|
|
17363
17489
|
i0.ɵɵadvance();
|
|
17364
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
17490
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$K, !!ctx_r1.caseNumberError));
|
|
17365
17491
|
i0.ɵɵadvance(3);
|
|
17366
17492
|
i0.ɵɵproperty("ngIf", ctx_r1.caseNumberError);
|
|
17367
17493
|
i0.ɵɵadvance(2);
|
|
17368
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
17494
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !!ctx_r1.caseReasonError));
|
|
17369
17495
|
i0.ɵɵadvance(5);
|
|
17370
17496
|
i0.ɵɵproperty("ngIf", ctx_r1.caseReasonError);
|
|
17371
17497
|
i0.ɵɵadvance(2);
|
|
@@ -17793,7 +17919,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17793
17919
|
i0.ɵɵadvance(4);
|
|
17794
17920
|
i0.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
17795
17921
|
i0.ɵɵadvance(4);
|
|
17796
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
17922
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$K, !!ctx.noSelectedCaseError));
|
|
17797
17923
|
i0.ɵɵadvance();
|
|
17798
17924
|
i0.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
17799
17925
|
i0.ɵɵadvance(18);
|
|
@@ -17810,10 +17936,10 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17810
17936
|
}] }); })();
|
|
17811
17937
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LinkCasesComponent, { className: "LinkCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.ts", lineNumber: 26 }); })();
|
|
17812
17938
|
|
|
17813
|
-
function
|
|
17939
|
+
function LinkedCasesFromTableComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
17814
17940
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
17815
|
-
i0.ɵɵelementStart(0, "
|
|
17816
|
-
i0.ɵɵlistener("click", function
|
|
17941
|
+
i0.ɵɵelementStart(0, "button", 2);
|
|
17942
|
+
i0.ɵɵlistener("click", function LinkedCasesFromTableComponent_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onClick()); });
|
|
17817
17943
|
i0.ɵɵtext(1);
|
|
17818
17944
|
i0.ɵɵelementEnd();
|
|
17819
17945
|
} if (rf & 2) {
|
|
@@ -17828,7 +17954,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Te
|
|
|
17828
17954
|
} if (rf & 2) {
|
|
17829
17955
|
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
17830
17956
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
17831
|
-
i0.ɵɵ
|
|
17957
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17832
17958
|
i0.ɵɵadvance();
|
|
17833
17959
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
17834
17960
|
} }
|
|
@@ -17840,7 +17966,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Templa
|
|
|
17840
17966
|
i0.ɵɵtext(1);
|
|
17841
17967
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
17842
17968
|
i0.ɵɵelementStart(3, "span");
|
|
17843
|
-
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2,
|
|
17969
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 5, "a", 18);
|
|
17844
17970
|
i0.ɵɵelementEnd();
|
|
17845
17971
|
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
17846
17972
|
i0.ɵɵelementEnd();
|
|
@@ -17885,11 +18011,11 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
17885
18011
|
} if (rf & 2) {
|
|
17886
18012
|
const case_r3 = ctx.$implicit;
|
|
17887
18013
|
i0.ɵɵadvance(3);
|
|
17888
|
-
i0.ɵɵ
|
|
18014
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r3.ccdJurisdiction, "/", case_r3.ccdCaseType, "/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
17889
18015
|
i0.ɵɵadvance(2);
|
|
17890
18016
|
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
17891
18017
|
i0.ɵɵadvance(2);
|
|
17892
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
18018
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r3.caseReference), "");
|
|
17893
18019
|
i0.ɵɵadvance(3);
|
|
17894
18020
|
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
17895
18021
|
i0.ɵɵadvance();
|
|
@@ -17910,7 +18036,7 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) {
|
|
|
17910
18036
|
} }
|
|
17911
18037
|
function LinkedCasesFromTableComponent_table_1_tbody_13_Template(rf, ctx) { if (rf & 1) {
|
|
17912
18038
|
i0.ɵɵelementStart(0, "tbody", 8);
|
|
17913
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19,
|
|
18039
|
+
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template, 19, 14, "tr", 9)(2, LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template, 3, 0, "tr", 10);
|
|
17914
18040
|
i0.ɵɵelementEnd();
|
|
17915
18041
|
} if (rf & 2) {
|
|
17916
18042
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -18028,8 +18154,8 @@ class LinkedCasesFromTableComponent {
|
|
|
18028
18154
|
: 'Show';
|
|
18029
18155
|
}
|
|
18030
18156
|
static ɵfac = function LinkedCasesFromTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
18031
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link",
|
|
18032
|
-
i0.ɵɵtemplate(0,
|
|
18157
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["type", "button", "id", "show-hide-link", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["type", "button", "id", "show-hide-link", 1, "govuk-js-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18158
|
+
i0.ɵɵtemplate(0, LinkedCasesFromTableComponent_button_0_Template, 2, 1, "button", 0)(1, LinkedCasesFromTableComponent_table_1_Template, 14, 1, "table", 1);
|
|
18033
18159
|
} if (rf & 2) {
|
|
18034
18160
|
i0.ɵɵproperty("ngIf", !ctx.noLinkedCases && !ctx.isServerError);
|
|
18035
18161
|
i0.ɵɵadvance();
|
|
@@ -18038,7 +18164,7 @@ class LinkedCasesFromTableComponent {
|
|
|
18038
18164
|
}
|
|
18039
18165
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
18040
18166
|
type: Component,
|
|
18041
|
-
args: [{ selector: 'ccd-linked-cases-from-table', template: "<
|
|
18167
|
+
args: [{ selector: 'ccd-linked-cases-from-table', template: "<button type=\"button\" *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-js-link\"\n (click)=\"onClick()\">{{showHideLinkText}}</button>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.ccdJurisdiction }}/{{ case.ccdCaseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
18042
18168
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
18043
18169
|
type: Input
|
|
18044
18170
|
}], notifyAPIFailure: [{
|
|
@@ -18053,7 +18179,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template(rf,
|
|
|
18053
18179
|
} if (rf & 2) {
|
|
18054
18180
|
const case_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
18055
18181
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18056
|
-
i0.ɵɵ
|
|
18182
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18057
18183
|
i0.ɵɵadvance();
|
|
18058
18184
|
i0.ɵɵtextInterpolate(ctx_r1.getCaseRefereneLink(case_r1.caseReference));
|
|
18059
18185
|
} }
|
|
@@ -18065,7 +18191,7 @@ function LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_Template(rf, ctx
|
|
|
18065
18191
|
i0.ɵɵtext(1);
|
|
18066
18192
|
i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
|
|
18067
18193
|
i0.ɵɵelementStart(3, "span");
|
|
18068
|
-
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2,
|
|
18194
|
+
i0.ɵɵtemplate(4, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_a_4_Template, 2, 5, "a", 15);
|
|
18069
18195
|
i0.ɵɵelementEnd();
|
|
18070
18196
|
i0.ɵɵtemplate(5, LinkedCasesToTableComponent_table_2_tr_14_td_18_span_1_br_5_Template, 1, 0, "br", 13);
|
|
18071
18197
|
i0.ɵɵelementEnd();
|
|
@@ -18110,11 +18236,11 @@ function LinkedCasesToTableComponent_table_2_tr_14_Template(rf, ctx) { if (rf &
|
|
|
18110
18236
|
} if (rf & 2) {
|
|
18111
18237
|
const case_r1 = ctx.$implicit;
|
|
18112
18238
|
i0.ɵɵadvance(3);
|
|
18113
|
-
i0.ɵɵ
|
|
18239
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", case_r1.service, "/", case_r1.caseType, "/", case_r1.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
18114
18240
|
i0.ɵɵadvance(2);
|
|
18115
18241
|
i0.ɵɵtextInterpolate1("", case_r1.caseName, " ");
|
|
18116
18242
|
i0.ɵɵadvance(2);
|
|
18117
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8,
|
|
18243
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, case_r1.caseReference), "");
|
|
18118
18244
|
i0.ɵɵadvance(3);
|
|
18119
18245
|
i0.ɵɵproperty("title", case_r1.caseTypeDescription);
|
|
18120
18246
|
i0.ɵɵadvance();
|
|
@@ -18150,7 +18276,7 @@ function LinkedCasesToTableComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
18150
18276
|
i0.ɵɵtext(12, "Reasons for case link");
|
|
18151
18277
|
i0.ɵɵelementEnd()()();
|
|
18152
18278
|
i0.ɵɵelementStart(13, "tbody", 6);
|
|
18153
|
-
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19,
|
|
18279
|
+
i0.ɵɵtemplate(14, LinkedCasesToTableComponent_table_2_tr_14_Template, 19, 14, "tr", 7)(15, LinkedCasesToTableComponent_table_2_tr_15_Template, 3, 0, "tr", 8);
|
|
18154
18280
|
i0.ɵɵelementEnd()();
|
|
18155
18281
|
} if (rf & 2) {
|
|
18156
18282
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -18315,7 +18441,7 @@ class LinkedCasesToTableComponent {
|
|
|
18315
18441
|
}
|
|
18316
18442
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesToTableComponent, [{
|
|
18317
18443
|
type: Component,
|
|
18318
|
-
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n
|
|
18444
|
+
args: [{ selector: 'ccd-linked-cases-to-table', template: "<div class=\"govuk-grid-row govuk-!-margin-bottom-2\">\n <div class=\"govuk-grid-column-full\">\n <table *ngIf=\"linkedCasesFromResponse\" aria-describedby=\"table to display cases linked TO\">\n <thead>\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of linkedCasesFromResponse\">\n <td>\n <p class=\"govuk-body\"><a target=\"_blank\" href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{case.caseReference}}\"\n rel=\"noopener\"><span class=\"govuk-link\">{{case.caseName}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td><span [title]=\"case.caseTypeDescription\">{{case.caseType}}</span></td>\n <td><span>{{case.service}}</span></td>\n <td><span [title]=\"case.stateDescription\">{{case.state}}</span>\n </td>\n <td *ngIf=\"case && case.reasons\">\n <span *ngFor=\"let reason of case.reasons; let i = index; let isLast = last\">\n {{reason.value | ccdLinkCasesReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.service }}/{{ case.caseType }}/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.value.Reason)\">{{getCaseRefereneLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"linkedCasesFromResponse.length === 0 && (!isServerError && !isServerReasonCodeError)\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".case-table-column{min-width:20%;max-width:20%}\n"] }]
|
|
18319
18445
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LinkedCasesService }, { type: CasesService }], { caseField: [{
|
|
18320
18446
|
type: Input
|
|
18321
18447
|
}], notifyAPIFailure: [{
|
|
@@ -18357,15 +18483,15 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18357
18483
|
this.serverLinkedApiError = this.linkedCasesService.serverLinkedApiError;
|
|
18358
18484
|
}
|
|
18359
18485
|
onBack() {
|
|
18360
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18486
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18361
18487
|
}
|
|
18362
18488
|
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18363
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["
|
|
18489
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["type", "button", 1, "govuk-js-link", 3, "click"], [1, "govuk-button-group"], ["type", "button", "id", "back-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function NoLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18364
18490
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18365
18491
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
18366
18492
|
i0.ɵɵtemplate(2, NoLinkedCasesComponent_h1_2_Template, 2, 0, "h1", 3)(3, NoLinkedCasesComponent_p_3_Template, 4, 1, "p", 4)(4, NoLinkedCasesComponent_ng_template_4_Template, 2, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
18367
|
-
i0.ɵɵelementStart(6, "p", 5)(7, "
|
|
18368
|
-
i0.ɵɵlistener("click", function
|
|
18493
|
+
i0.ɵɵelementStart(6, "p", 5)(7, "button", 6);
|
|
18494
|
+
i0.ɵɵlistener("click", function NoLinkedCasesComponent_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBack()); });
|
|
18369
18495
|
i0.ɵɵtext(8, "Go back to the Linked cases tab");
|
|
18370
18496
|
i0.ɵɵelementEnd()();
|
|
18371
18497
|
i0.ɵɵelementStart(9, "div", 7)(10, "button", 8);
|
|
@@ -18382,11 +18508,11 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18382
18508
|
}
|
|
18383
18509
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoLinkedCasesComponent, [{
|
|
18384
18510
|
type: Component,
|
|
18385
|
-
args: [{ selector: 'ccd-no-linked-cases', template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h1 class=\"govuk-heading-xl\" *ngIf=\"serverLinkedApiError\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\"\n *ngIf=\"serverLinkedApiError;else noLinkedCases;\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <ng-template #noLinkedCases>\n <p class=\"govuk-body\">There are no cases linked to this one.</p>\n </ng-template>\n <p class=\"govuk-body\">\n <
|
|
18511
|
+
args: [{ selector: 'ccd-no-linked-cases', template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <h1 class=\"govuk-heading-xl\" *ngIf=\"serverLinkedApiError\">There is a problem</h1>\n <p id=\"unlink-cases-error\" class=\"govuk-error-message\"\n *ngIf=\"serverLinkedApiError;else noLinkedCases;\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{serverLinkedApiError.message}}\n </p>\n <ng-template #noLinkedCases>\n <p class=\"govuk-body\">There are no cases linked to this one.</p>\n </ng-template>\n <p class=\"govuk-body\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">Go back to the Linked cases tab</button>\n </p>\n <div class=\"govuk-button-group\">\n <button class=\"button button-primary\" type=\"button\" id=\"back-button\" (click)=\"onBack()\">Back</button>\n </div>\n </div>\n</div>\n" }]
|
|
18386
18512
|
}], () => [{ type: i1$1.Router }, { type: LinkedCasesService }, { type: MultipageComponentStateService }], null); })();
|
|
18387
18513
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoLinkedCasesComponent, { className: "NoLinkedCasesComponent", filePath: "lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.ts", lineNumber: 12 }); })();
|
|
18388
18514
|
|
|
18389
|
-
const _c0$
|
|
18515
|
+
const _c0$J = a0 => ({ "govuk-form-group--error": a0 });
|
|
18390
18516
|
function UnLinkCasesComponent_div_0_div_4_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
18391
18517
|
i0.ɵɵelementStart(0, "p", 9)(1, "span", 10);
|
|
18392
18518
|
i0.ɵɵtext(2, "Error:");
|
|
@@ -18425,7 +18551,7 @@ function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
18425
18551
|
i0.ɵɵelementEnd()();
|
|
18426
18552
|
} if (rf & 2) {
|
|
18427
18553
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
18428
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
18554
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$J, ctx_r0.unlinkErrorMessage))("formGroup", ctx_r0.unlinkCaseForm);
|
|
18429
18555
|
i0.ɵɵadvance();
|
|
18430
18556
|
i0.ɵɵproperty("ngIf", ctx_r0.unlinkErrorMessage);
|
|
18431
18557
|
i0.ɵɵadvance(2);
|
|
@@ -18729,7 +18855,7 @@ function ReadLinkedCasesFieldComponent_ng_template_16_Template(rf, ctx) { if (rf
|
|
|
18729
18855
|
i0.ɵɵtext(2);
|
|
18730
18856
|
i0.ɵɵelementEnd();
|
|
18731
18857
|
i0.ɵɵelementStart(3, "span", 10)(4, "a", 11);
|
|
18732
|
-
i0.ɵɵlistener("click", function ReadLinkedCasesFieldComponent_ng_template_16_Template_a_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(
|
|
18858
|
+
i0.ɵɵlistener("click", function ReadLinkedCasesFieldComponent_ng_template_16_Template_a_click_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); ctx_r2.reloadCurrentRoute(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
18733
18859
|
i0.ɵɵtext(5, "Reload the Linked cases tab");
|
|
18734
18860
|
i0.ɵɵelementEnd()()();
|
|
18735
18861
|
} if (rf & 2) {
|
|
@@ -18743,7 +18869,7 @@ function ReadLinkedCasesFieldComponent_ng_template_18_Template(rf, ctx) { if (rf
|
|
|
18743
18869
|
i0.ɵɵtext(2);
|
|
18744
18870
|
i0.ɵɵelementEnd();
|
|
18745
18871
|
i0.ɵɵelementStart(3, "span", 10)(4, "a", 11);
|
|
18746
|
-
i0.ɵɵlistener("click", function ReadLinkedCasesFieldComponent_ng_template_18_Template_a_click_4_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(
|
|
18872
|
+
i0.ɵɵlistener("click", function ReadLinkedCasesFieldComponent_ng_template_18_Template_a_click_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); ctx_r2.reloadCurrentRoute(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
18747
18873
|
i0.ɵɵtext(5, "Reload the Linked cases tab");
|
|
18748
18874
|
i0.ɵɵelementEnd()()();
|
|
18749
18875
|
} if (rf & 2) {
|
|
@@ -18799,7 +18925,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18799
18925
|
};
|
|
18800
18926
|
}
|
|
18801
18927
|
ngAfterViewInit() {
|
|
18802
|
-
this.linkedCasesService.caseFieldValue = this.caseField?.value
|
|
18928
|
+
this.linkedCasesService.caseFieldValue = this.caseField?.value ?? [];
|
|
18803
18929
|
let labelField = document.getElementsByClassName('govuk-heading-l');
|
|
18804
18930
|
if (labelField && labelField.length) {
|
|
18805
18931
|
labelField[0].replaceWith('');
|
|
@@ -18814,7 +18940,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18814
18940
|
}
|
|
18815
18941
|
}
|
|
18816
18942
|
reloadCurrentRoute() {
|
|
18817
|
-
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18943
|
+
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseJurisdictionID, this.linkedCasesService.caseDetails.case_type, this.linkedCasesService.caseDetails.case_id], { fragment: 'Linked cases' });
|
|
18818
18944
|
}
|
|
18819
18945
|
getFailureLinkedToNotification(evt) {
|
|
18820
18946
|
this.isServerLinkedToError = true;
|
|
@@ -18823,7 +18949,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18823
18949
|
this.isServerLinkedFromError = true;
|
|
18824
18950
|
}
|
|
18825
18951
|
static ɵfac = function ReadLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService)); };
|
|
18826
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadLinkedCasesFieldComponent, selectors: [["ccd-read-linked-cases-field"]], decls: 20, vars: 10, consts: [["singleApiError", ""], ["multiApisError", ""], [1, "govuk-!-margin-bottom-2"], [1, "heading-h1"], [1, "table-sub-heading"], ["reloadPage", "reload", 3, "notifyAPIFailure", "caseField"], [4, "ngIf", "ngIfThen"], [1, "govuk-!-margin-top-8"], [1, "govuk-main-wrapper"], [1, "govuk-body"], [1, "govuk-body", "align-left"], ["href", "
|
|
18952
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadLinkedCasesFieldComponent, selectors: [["ccd-read-linked-cases-field"]], decls: 20, vars: 10, consts: [["singleApiError", ""], ["multiApisError", ""], [1, "govuk-!-margin-bottom-2"], [1, "heading-h1"], [1, "table-sub-heading"], ["reloadPage", "reload", 3, "notifyAPIFailure", "caseField"], [4, "ngIf", "ngIfThen"], [1, "govuk-!-margin-top-8"], [1, "govuk-main-wrapper"], [1, "govuk-body"], [1, "govuk-body", "align-left"], ["href", "#", "id", "reload-linked-cases-tab", 1, "govuk-link", 3, "click"]], template: function ReadLinkedCasesFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18827
18953
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18828
18954
|
i0.ɵɵelementStart(0, "div")(1, "div", 2)(2, "h1", 3);
|
|
18829
18955
|
i0.ɵɵtext(3, "Linked cases");
|
|
@@ -18865,7 +18991,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18865
18991
|
}
|
|
18866
18992
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadLinkedCasesFieldComponent, [{
|
|
18867
18993
|
type: Component,
|
|
18868
|
-
args: [{ selector: 'ccd-read-linked-cases-field', template: "<div>\n <div class=\"govuk-!-margin-bottom-2\">\n <h1 class=\"heading-h1\">Linked cases</h1>\n <label class=\"table-sub-heading\">This case is linked to</label>\n <ccd-linked-cases-to-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedToNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-to-table>\n <ng-container\n *ngIf=\"(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedToError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n <div class=\"govuk-!-margin-top-8\">\n <label class=\"table-sub-heading\">This case is linked from</label>\n <br>\n <ccd-linked-cases-from-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedFromNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-from-table>\n <ng-container\n *ngIf=\"(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedFromError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n</div>\n\n<ng-template #singleApiError>\n <div class=\"govuk-main-wrapper\">\n <p class=\"govuk-body\">{{serverLinkedApiError.message}}</p>\n <span class=\"govuk-body align-left\">\n <a href=\"
|
|
18994
|
+
args: [{ selector: 'ccd-read-linked-cases-field', template: "<div>\n <div class=\"govuk-!-margin-bottom-2\">\n <h1 class=\"heading-h1\">Linked cases</h1>\n <label class=\"table-sub-heading\">This case is linked to</label>\n <ccd-linked-cases-to-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedToNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-to-table>\n <ng-container\n *ngIf=\"(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedToError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedToError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n <div class=\"govuk-!-margin-top-8\">\n <label class=\"table-sub-heading\">This case is linked from</label>\n <br>\n <ccd-linked-cases-from-table [caseField]=\"caseField\" (notifyAPIFailure)=\"getFailureLinkedFromNotification($event)\"\n reloadPage=\"reload\"></ccd-linked-cases-from-table>\n <ng-container\n *ngIf=\"(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError); then multiApisError;\">\n </ng-container>\n <ng-container\n *ngIf=\"!(isServerLinkedFromError && isServerJurisdictionError && isServerReasonCodeError) && (isServerLinkedFromError || isServerJurisdictionError || isServerReasonCodeError); then singleApiError;\">\n </ng-container>\n </div>\n</div>\n\n<ng-template #singleApiError>\n <div class=\"govuk-main-wrapper\">\n <p class=\"govuk-body\">{{serverLinkedApiError.message}}</p>\n <span class=\"govuk-body align-left\">\n <a href=\"#\" (click)=\"reloadCurrentRoute(); $event.preventDefault()\" id=\"reload-linked-cases-tab\" class=\"govuk-link\">Reload\n the Linked cases tab</a>\n </span>\n </div>\n</ng-template>\n<ng-template #multiApisError>\n <div class=\"govuk-main-wrapper\">\n <p class=\"govuk-body\">{{serverError.message}}</p>\n <span class=\"govuk-body align-left\">\n <a href=\"#\" (click)=\"reloadCurrentRoute(); $event.preventDefault()\" id=\"reload-linked-cases-tab\" class=\"govuk-link\">Reload\n the Linked cases tab</a>\n </span>\n </div>\n</ng-template>\n", styles: [".table-sub-heading{font-size:24px;font-weight:700}\n"] }]
|
|
18869
18995
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: LinkedCasesService }, { type: AbstractAppConfig }, { type: CommonDataService }], null); })();
|
|
18870
18996
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadLinkedCasesFieldComponent, { className: "ReadLinkedCasesFieldComponent", filePath: "lib/shared/components/palette/linked-cases/read-linked-cases-field.component.ts", lineNumber: 13 }); })();
|
|
18871
18997
|
|
|
@@ -19354,7 +19480,7 @@ class MoneyGbpInputComponent {
|
|
|
19354
19480
|
}] }); })();
|
|
19355
19481
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoneyGbpInputComponent, { className: "MoneyGbpInputComponent", filePath: "lib/shared/components/palette/money-gbp/money-gbp-input.component.ts", lineNumber: 27 }); })();
|
|
19356
19482
|
|
|
19357
|
-
const _c0$
|
|
19483
|
+
const _c0$I = a0 => ({ "form-group-error": a0 });
|
|
19358
19484
|
function WriteMoneyGbpFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19359
19485
|
i0.ɵɵelementStart(0, "span", 8);
|
|
19360
19486
|
i0.ɵɵtext(1);
|
|
@@ -19403,7 +19529,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19403
19529
|
i0.ɵɵpipe(9, "ccdIsMandatory");
|
|
19404
19530
|
i0.ɵɵelementEnd()();
|
|
19405
19531
|
} if (rf & 2) {
|
|
19406
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
19532
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$I, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
19407
19533
|
i0.ɵɵadvance();
|
|
19408
19534
|
i0.ɵɵproperty("for", ctx.id());
|
|
19409
19535
|
i0.ɵɵadvance();
|
|
@@ -19462,7 +19588,7 @@ class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
|
19462
19588
|
}], null, null); })();
|
|
19463
19589
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
19464
19590
|
|
|
19465
|
-
const _c0$
|
|
19591
|
+
const _c0$H = a0 => ({ "error": a0 });
|
|
19466
19592
|
function WriteMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
19467
19593
|
i0.ɵɵelementStart(0, "span", 5);
|
|
19468
19594
|
i0.ɵɵtext(1);
|
|
@@ -19563,7 +19689,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19563
19689
|
i0.ɵɵtemplate(4, WriteMultiSelectListFieldComponent_span_4_Template, 3, 3, "span", 2)(5, WriteMultiSelectListFieldComponent_span_5_Template, 3, 4, "span", 3)(6, WriteMultiSelectListFieldComponent_ng_container_6_Template, 6, 8, "ng-container", 4);
|
|
19564
19690
|
i0.ɵɵelementEnd()();
|
|
19565
19691
|
} if (rf & 2) {
|
|
19566
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
19692
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$H, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
19567
19693
|
i0.ɵɵadvance(3);
|
|
19568
19694
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19569
19695
|
i0.ɵɵadvance();
|
|
@@ -19601,7 +19727,7 @@ class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
|
19601
19727
|
}], null, null); })();
|
|
19602
19728
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadNumberFieldComponent, { className: "ReadNumberFieldComponent", filePath: "lib/shared/components/palette/number/read-number-field.component.ts", lineNumber: 8 }); })();
|
|
19603
19729
|
|
|
19604
|
-
const _c0$
|
|
19730
|
+
const _c0$G = a0 => ({ "form-group-error": a0 });
|
|
19605
19731
|
const _c1$f = a0 => ({ "govuk-input--error": a0 });
|
|
19606
19732
|
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
19607
19733
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -19647,7 +19773,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19647
19773
|
i0.ɵɵelement(5, "input", 5);
|
|
19648
19774
|
i0.ɵɵelementEnd();
|
|
19649
19775
|
} if (rf & 2) {
|
|
19650
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
19776
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$G, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
19651
19777
|
i0.ɵɵadvance();
|
|
19652
19778
|
i0.ɵɵproperty("for", ctx.id());
|
|
19653
19779
|
i0.ɵɵadvance();
|
|
@@ -19826,7 +19952,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
19826
19952
|
}] }); })();
|
|
19827
19953
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldComponent, { className: "ReadOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field.component.ts", lineNumber: 10 }); })();
|
|
19828
19954
|
|
|
19829
|
-
const _c0$
|
|
19955
|
+
const _c0$F = a0 => ({ "scroll-container ": a0 });
|
|
19830
19956
|
function WriteOrganisationFieldComponent_fieldset_1_Template(rf, ctx) { if (rf & 1) {
|
|
19831
19957
|
i0.ɵɵelementStart(0, "fieldset", 3);
|
|
19832
19958
|
i0.ɵɵelement(1, "legend", 4);
|
|
@@ -19868,7 +19994,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_table_2_Template(rf,
|
|
|
19868
19994
|
i0.ɵɵelementEnd();
|
|
19869
19995
|
i0.ɵɵelementStart(9, "td", 33)(10, "a", 34);
|
|
19870
19996
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
19871
|
-
i0.ɵɵlistener("click", function WriteOrganisationFieldComponent_fieldset_3_div_17_table_2_Template_a_click_10_listener() { const organisation_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(
|
|
19997
|
+
i0.ɵɵlistener("click", function WriteOrganisationFieldComponent_fieldset_3_div_17_table_2_Template_a_click_10_listener($event) { const organisation_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); ctx_r2.selectOrg(organisation_r2); return i0.ɵɵresetView($event.preventDefault()); });
|
|
19872
19998
|
i0.ɵɵtext(12);
|
|
19873
19999
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
19874
20000
|
i0.ɵɵelementEnd()()()()();
|
|
@@ -19905,7 +20031,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_17_Template(rf, ctx) { i
|
|
|
19905
20031
|
let tmp_3_0;
|
|
19906
20032
|
let tmp_5_0;
|
|
19907
20033
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19908
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
20034
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$F, ((tmp_3_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_3_0.length) > 10));
|
|
19909
20035
|
i0.ɵɵadvance(2);
|
|
19910
20036
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
19911
20037
|
i0.ɵɵadvance(2);
|
|
@@ -19923,7 +20049,7 @@ function WriteOrganisationFieldComponent_fieldset_3_ng_template_19_table_0_Templ
|
|
|
19923
20049
|
i0.ɵɵelementEnd();
|
|
19924
20050
|
i0.ɵɵelementStart(9, "td", 33)(10, "a", 34);
|
|
19925
20051
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
19926
|
-
i0.ɵɵlistener("click", function WriteOrganisationFieldComponent_fieldset_3_ng_template_19_table_0_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(
|
|
20052
|
+
i0.ɵɵlistener("click", function WriteOrganisationFieldComponent_fieldset_3_ng_template_19_table_0_Template_a_click_10_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(3); ctx_r2.deSelectOrg(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
19927
20053
|
i0.ɵɵtext(12);
|
|
19928
20054
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
19929
20055
|
i0.ɵɵelementEnd()()()()();
|
|
@@ -20188,7 +20314,7 @@ class WriteOrganisationFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20188
20314
|
}
|
|
20189
20315
|
}
|
|
20190
20316
|
static ɵfac = function WriteOrganisationFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteOrganisationFieldComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter), i0.ɵɵdirectiveInject(WindowService)); };
|
|
20191
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteOrganisationFieldComponent, selectors: [["ccd-write-organisation-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 7, consts: [["selectedOrganisation", ""], [1, "form-group", 3, "formGroup"], ["class", "govuk-fieldset", 4, "ngIf"], [1, "govuk-fieldset"], [2, "display", "none"], [1, "hmcts-banner"], ["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.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"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], [1, "warning-message"], [1, "warning-panel"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "heading-h2"], [1, "govuk-form-group"], ["for", "search-org-text", 1, "govuk-label"], ["id", "search-org-hint", 1, "govuk-hint"], ["id", "search-org-text", "type", "text", 1, "form-control", 3, "formControl"], ["for", "organisation-table", 1, "govuk-label"], [1, "govuk-section-break", "govuk-section-break--visible"], [3, "ngClass", 4, "ngIf", "ngIfElse"], [3, "caseField", "formGroup", "selectedOrg$"], ["id", "find-organisation-help", "data-module", "govuk-details", 1, "govuk-details"], [1, "govuk-details__summary"], ["id", "content-why-can-not-find-organisation", 1, "govuk-details__summary-text"], ["id", "content-reason-can-not-find-organisation", 1, "govuk-details__text"], [3, "ngClass"], ["id", "organisation-table", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["id", "organisation-table"], [1, "name-header"], [1, "td-address"], [3, "content"], [1, "td-select"], ["href", "
|
|
20317
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteOrganisationFieldComponent, selectors: [["ccd-write-organisation-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 7, consts: [["selectedOrganisation", ""], [1, "form-group", 3, "formGroup"], ["class", "govuk-fieldset", 4, "ngIf"], [1, "govuk-fieldset"], [2, "display", "none"], [1, "hmcts-banner"], ["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.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"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], [1, "warning-message"], [1, "warning-panel"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "heading-h2"], [1, "govuk-form-group"], ["for", "search-org-text", 1, "govuk-label"], ["id", "search-org-hint", 1, "govuk-hint"], ["id", "search-org-text", "type", "text", 1, "form-control", 3, "formControl"], ["for", "organisation-table", 1, "govuk-label"], [1, "govuk-section-break", "govuk-section-break--visible"], [3, "ngClass", 4, "ngIf", "ngIfElse"], [3, "caseField", "formGroup", "selectedOrg$"], ["id", "find-organisation-help", "data-module", "govuk-details", 1, "govuk-details"], [1, "govuk-details__summary"], ["id", "content-why-can-not-find-organisation", 1, "govuk-details__summary-text"], ["id", "content-reason-can-not-find-organisation", 1, "govuk-details__text"], [3, "ngClass"], ["id", "organisation-table", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["id", "organisation-table"], [1, "name-header"], [1, "td-address"], [3, "content"], [1, "td-select"], ["href", "#", 3, "click", "title"], [1, "no-result-message"], ["id", "organisation-selected-table", 4, "ngIf"], ["id", "organisation-selected-table"]], template: function WriteOrganisationFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20192
20318
|
i0.ɵɵelementStart(0, "div", 1);
|
|
20193
20319
|
i0.ɵɵtemplate(1, WriteOrganisationFieldComponent_fieldset_1_Template, 16, 9, "fieldset", 2);
|
|
20194
20320
|
i0.ɵɵpipe(2, "async");
|
|
@@ -20207,7 +20333,7 @@ class WriteOrganisationFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20207
20333
|
}
|
|
20208
20334
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteOrganisationFieldComponent, [{
|
|
20209
20335
|
type: Component,
|
|
20210
|
-
args: [{ selector: 'ccd-write-organisation-field', template: "<div class=\"form-group\" [formGroup]=\"organisationFormGroup\">\n <fieldset *ngIf=\"(organisations$ | async)?.length === 0\" class=\"govuk-fieldset\">\n <legend style=\"display: none;\"></legend>\n <div class=\"hmcts-banner\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path 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\" /></svg>\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">{{'information' | rpxTranslate}}</span>\n <p class=\"warning-message\">{{'Organisation search is currently unavailable.' | rpxTranslate}}</p>\n </div>\n </div>\n <div class=\"warning-panel\">\n <div class=\"warning-message\">\n {{'We are working to fix the issue.You can try again later.' | rpxTranslate}}\n </div>\n </div>\n </fieldset>\n <fieldset *ngIf=\"(organisations$ | async)?.length > 0\" class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h2 class=\"heading-h2\">\n {{'Search for an organisation' | rpxTranslate}}\n </h2>\n </legend>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"search-org-text\">\n <span id=\"search-org-hint\" class=\"govuk-hint\">\n {{'You can only search for organisations already registered with MyHMCTS. For example, you can search by organisation name or address.' | rpxTranslate}}\n </span>\n </label>\n <input id=\"search-org-text\" class=\"form-control\" type=\"text\" [formControl]=\"searchOrgTextFormControl\"/>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"organisation-table\">\n <h2 class=\"heading-h2\">{{'Organisation name and address' | rpxTranslate}}</h2>\n </label>\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <div *ngIf=\"!(selectedOrg$ | async)?.organisationIdentifier; else selectedOrganisation\" [ngClass]=\"{'scroll-container ': (simpleOrganisations$ | async)?.length > 10}\">\n <table id=\"organisation-table\" *ngFor=\"let organisation of (simpleOrganisations$ | async)\">\n <caption><h3 class=\"name-header\">{{organisation.name}}</h3></caption>\n <tbody>\n <tr>\n <th style=\"display: none;\"></th>\n <td class=\"td-address\">\n <ccd-markdown [content]=\"organisation.address\"></ccd-markdown>\n </td>\n <td class=\"td-select\">\n <a href=\"
|
|
20336
|
+
args: [{ selector: 'ccd-write-organisation-field', template: "<div class=\"form-group\" [formGroup]=\"organisationFormGroup\">\n <fieldset *ngIf=\"(organisations$ | async)?.length === 0\" class=\"govuk-fieldset\">\n <legend style=\"display: none;\"></legend>\n <div class=\"hmcts-banner\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path 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\" /></svg>\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">{{'information' | rpxTranslate}}</span>\n <p class=\"warning-message\">{{'Organisation search is currently unavailable.' | rpxTranslate}}</p>\n </div>\n </div>\n <div class=\"warning-panel\">\n <div class=\"warning-message\">\n {{'We are working to fix the issue.You can try again later.' | rpxTranslate}}\n </div>\n </div>\n </fieldset>\n <fieldset *ngIf=\"(organisations$ | async)?.length > 0\" class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h2 class=\"heading-h2\">\n {{'Search for an organisation' | rpxTranslate}}\n </h2>\n </legend>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"search-org-text\">\n <span id=\"search-org-hint\" class=\"govuk-hint\">\n {{'You can only search for organisations already registered with MyHMCTS. For example, you can search by organisation name or address.' | rpxTranslate}}\n </span>\n </label>\n <input id=\"search-org-text\" class=\"form-control\" type=\"text\" [formControl]=\"searchOrgTextFormControl\"/>\n </div>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"organisation-table\">\n <h2 class=\"heading-h2\">{{'Organisation name and address' | rpxTranslate}}</h2>\n </label>\n <hr class=\"govuk-section-break govuk-section-break--visible\">\n <div *ngIf=\"!(selectedOrg$ | async)?.organisationIdentifier; else selectedOrganisation\" [ngClass]=\"{'scroll-container ': (simpleOrganisations$ | async)?.length > 10}\">\n <table id=\"organisation-table\" *ngFor=\"let organisation of (simpleOrganisations$ | async)\">\n <caption><h3 class=\"name-header\">{{organisation.name}}</h3></caption>\n <tbody>\n <tr>\n <th style=\"display: none;\"></th>\n <td class=\"td-address\">\n <ccd-markdown [content]=\"organisation.address\"></ccd-markdown>\n </td>\n <td class=\"td-select\">\n <a href=\"#\" (click)=\"selectOrg(organisation); $event.preventDefault()\" title=\"{{'Select the organisation' | rpxTranslate}} {{organisation.name}}\">\n {{'Select' | rpxTranslate}}\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n <div *ngIf=\"(simpleOrganisations$ | async)?.length === 0 && (searchOrgValue$ | async)?.length > 2\">\n <div class=\"no-result-message\">\n {{'No results found.' | rpxTranslate}}\n </div>\n </div>\n </div>\n <ng-template #selectedOrganisation>\n <table id=\"organisation-selected-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\">\n <caption><h3 class=\"name-header\">{{selectedOrg.name}}</h3></caption>\n <tbody>\n <tr>\n <th style=\"display: none;\"></th>\n <td class=\"td-address\">\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n <td class=\"td-select\">\n <a href=\"#\" (click)=\"deSelectOrg(); $event.preventDefault()\"\n title=\"{{'Clear organisation selection for' | rpxTranslate}} {{selectedOrg.name}}\">\n {{'Clear' | rpxTranslate}}\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </div>\n <ccd-write-organisation-complex-field [caseField]=\"caseField\"\n [formGroup]=\"formGroup\"\n [selectedOrg$]=\"selectedOrg$\">\n </ccd-write-organisation-complex-field>\n <details id=\"find-organisation-help\" class=\"govuk-details\" data-module=\"govuk-details\">\n <summary class=\"govuk-details__summary\">\n <span id=\"content-why-can-not-find-organisation\" class=\"govuk-details__summary-text\">\n {{\"Can\u2019t find the organisation you are looking for?\" | rpxTranslate}}\n </span>\n </summary>\n <div id=\"content-reason-can-not-find-organisation\" class=\"govuk-details__text\">\n {{'If you know that the solicitor is already registered with MyHMCTS, check that you have entered their details correctly.' | rpxTranslate}}\n {{\"Remember that organisations can only register one office address. This means that the details could be slightly different from what you're expecting. Contact the solicitor directly if you have any concerns.\" | rpxTranslate}}\n </div>\n </details>\n </fieldset>\n</div>\n", styles: [".hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
|
|
20211
20337
|
}], () => [{ type: OrganisationService }, { type: OrganisationConverter }, { type: WindowService }], null); })();
|
|
20212
20338
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteOrganisationFieldComponent, { className: "WriteOrganisationFieldComponent", filePath: "lib/shared/components/palette/organisation/write-organisation-field.component.ts", lineNumber: 18 }); })();
|
|
20213
20339
|
|
|
@@ -20284,7 +20410,7 @@ class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
|
20284
20410
|
}], null, null); })();
|
|
20285
20411
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadPhoneUKFieldComponent, { className: "ReadPhoneUKFieldComponent", filePath: "lib/shared/components/palette/phone-uk/read-phone-uk-field.component.ts", lineNumber: 8 }); })();
|
|
20286
20412
|
|
|
20287
|
-
const _c0$
|
|
20413
|
+
const _c0$E = a0 => ({ "form-group-error": a0 });
|
|
20288
20414
|
const _c1$e = a0 => ({ "govuk-input--error": a0 });
|
|
20289
20415
|
function WritePhoneUKFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
20290
20416
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -20330,7 +20456,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20330
20456
|
i0.ɵɵelement(5, "input", 5);
|
|
20331
20457
|
i0.ɵɵelementEnd();
|
|
20332
20458
|
} if (rf & 2) {
|
|
20333
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
20459
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$E, !ctx.phoneUkControl.valid && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched)));
|
|
20334
20460
|
i0.ɵɵadvance();
|
|
20335
20461
|
i0.ɵɵproperty("for", ctx.id());
|
|
20336
20462
|
i0.ɵɵadvance();
|
|
@@ -20559,36 +20685,46 @@ const caseMessagesMockData = [
|
|
|
20559
20685
|
}
|
|
20560
20686
|
];
|
|
20561
20687
|
|
|
20688
|
+
function QualifyingQuestionDetailComponent_ng_container_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
20689
|
+
i0.ɵɵelementContainerStart(0);
|
|
20690
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
20691
|
+
i0.ɵɵelement(2, "ccd-markdown", 4);
|
|
20692
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
20693
|
+
i0.ɵɵelementEnd();
|
|
20694
|
+
i0.ɵɵelementContainerEnd();
|
|
20695
|
+
} if (rf & 2) {
|
|
20696
|
+
const content_r1 = ctx.$implicit;
|
|
20697
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
20698
|
+
i0.ɵɵadvance(2);
|
|
20699
|
+
i0.ɵɵproperty("content", ctx_r1.qualifyingQuestion ? content_r1 : i0.ɵɵpipeBind1(3, 1, ctx_r1.qualifyingQuestion.markdown));
|
|
20700
|
+
} }
|
|
20562
20701
|
function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
20563
20702
|
i0.ɵɵelementContainerStart(0);
|
|
20564
20703
|
i0.ɵɵelementStart(1, "h1", 1);
|
|
20565
20704
|
i0.ɵɵtext(2);
|
|
20566
20705
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
20567
20706
|
i0.ɵɵelementEnd();
|
|
20568
|
-
i0.ɵɵ
|
|
20569
|
-
i0.ɵɵelement(5, "ccd-markdown", 3);
|
|
20570
|
-
i0.ɵɵpipe(6, "rpxTranslate");
|
|
20571
|
-
i0.ɵɵelementEnd();
|
|
20707
|
+
i0.ɵɵtemplate(4, QualifyingQuestionDetailComponent_ng_container_0_ng_container_4_Template, 4, 3, "ng-container", 2);
|
|
20572
20708
|
i0.ɵɵelementContainerEnd();
|
|
20573
20709
|
} if (rf & 2) {
|
|
20574
|
-
const
|
|
20710
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20575
20711
|
i0.ɵɵadvance(2);
|
|
20576
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
20577
|
-
i0.ɵɵadvance(
|
|
20578
|
-
i0.ɵɵproperty("
|
|
20712
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r1.qualifyingQuestion.name), " ");
|
|
20713
|
+
i0.ɵɵadvance(2);
|
|
20714
|
+
i0.ɵɵproperty("translatedMarkdown", ctx_r1.qualifyingQuestion);
|
|
20579
20715
|
} }
|
|
20580
20716
|
class QualifyingQuestionDetailComponent {
|
|
20581
20717
|
qualifyingQuestion;
|
|
20582
20718
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionDetailComponent)(); };
|
|
20583
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20584
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
20719
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [4, "translatedMarkdown"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20720
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 5, 4, "ng-container", 0);
|
|
20585
20721
|
} if (rf & 2) {
|
|
20586
20722
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
20587
|
-
} }, dependencies: [i5.NgIf, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
20723
|
+
} }, dependencies: [i5.NgIf, TranslatedMarkdownDirective, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
20588
20724
|
}
|
|
20589
20725
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
20590
20726
|
type: Component,
|
|
20591
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <div class=\"qm-qualifying-question\">\n
|
|
20727
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <ng-container *translatedMarkdown=\"qualifyingQuestion; let content;\">\n <div class=\"qm-qualifying-question\">\n <ccd-markdown [content]=\"qualifyingQuestion ? content : (qualifyingQuestion.markdown | rpxTranslate)\"></ccd-markdown>\n </div>\n </ng-container>\n </ng-container>", styles: [".qm-qualifying-question .markdown{font-size:19px}\n"] }]
|
|
20592
20728
|
}], null, { qualifyingQuestion: [{
|
|
20593
20729
|
type: Input
|
|
20594
20730
|
}] }); })();
|
|
@@ -21125,6 +21261,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
21125
21261
|
questionSelected = new EventEmitter();
|
|
21126
21262
|
qualifyingQuestionsErrorMessage = QualifyingQuestionsErrorMessage;
|
|
21127
21263
|
caseId;
|
|
21264
|
+
jurisdiction;
|
|
21265
|
+
caseType;
|
|
21128
21266
|
constructor(route, router, qualifyingQuestionService) {
|
|
21129
21267
|
this.route = route;
|
|
21130
21268
|
this.router = router;
|
|
@@ -21132,6 +21270,8 @@ class QualifyingQuestionOptionsComponent {
|
|
|
21132
21270
|
}
|
|
21133
21271
|
ngOnInit() {
|
|
21134
21272
|
this.caseId = this.route.snapshot.params.cid;
|
|
21273
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
21274
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
21135
21275
|
// Check if there's already a selected qualifying question from the service
|
|
21136
21276
|
const savedSelection = this.qualifyingQuestionService.getQualifyingQuestionSelection();
|
|
21137
21277
|
if (savedSelection) {
|
|
@@ -21139,7 +21279,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
21139
21279
|
}
|
|
21140
21280
|
}
|
|
21141
21281
|
click() {
|
|
21142
|
-
this.router.navigate(['cases', 'case-details', this.caseId], { fragment: 'Queries' });
|
|
21282
|
+
this.router.navigate(['cases', 'case-details', this.jurisdiction, this.caseType, this.caseId], { fragment: 'Queries' });
|
|
21143
21283
|
}
|
|
21144
21284
|
get displayError() {
|
|
21145
21285
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
@@ -21280,16 +21420,18 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
21280
21420
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryCaseDetailsHeaderComponent, { className: "QueryCaseDetailsHeaderComponent", filePath: "lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.ts", lineNumber: 10 }); })();
|
|
21281
21421
|
|
|
21282
21422
|
function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21423
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
21283
21424
|
i0.ɵɵelementStart(0, "li")(1, "a", 28);
|
|
21425
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r2); return i0.ɵɵresetView($event.preventDefault()); });
|
|
21284
21426
|
i0.ɵɵtext(2);
|
|
21285
21427
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21286
21428
|
i0.ɵɵelementEnd()();
|
|
21287
21429
|
} if (rf & 2) {
|
|
21288
|
-
const
|
|
21430
|
+
const errorMessage_r3 = ctx.$implicit;
|
|
21289
21431
|
i0.ɵɵadvance();
|
|
21290
|
-
i0.ɵɵproperty("id", "error-" +
|
|
21432
|
+
i0.ɵɵproperty("id", "error-" + errorMessage_r3.fieldId);
|
|
21291
21433
|
i0.ɵɵadvance();
|
|
21292
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2,
|
|
21434
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r3.description));
|
|
21293
21435
|
} }
|
|
21294
21436
|
function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21295
21437
|
i0.ɵɵelementStart(0, "div", 23)(1, "h2", 24);
|
|
@@ -21300,29 +21442,29 @@ function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf &
|
|
|
21300
21442
|
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template, 4, 4, "li", 27);
|
|
21301
21443
|
i0.ɵɵelementEnd()()();
|
|
21302
21444
|
} if (rf & 2) {
|
|
21303
|
-
const
|
|
21445
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21304
21446
|
i0.ɵɵadvance(2);
|
|
21305
21447
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21306
21448
|
i0.ɵɵadvance(4);
|
|
21307
|
-
i0.ɵɵproperty("ngForOf",
|
|
21449
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.errorMessages);
|
|
21308
21450
|
} }
|
|
21309
21451
|
function QueryCheckYourAnswersComponent_div_0_div_3_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
21310
21452
|
i0.ɵɵelementStart(0, "li", 34);
|
|
21311
21453
|
i0.ɵɵtext(1);
|
|
21312
21454
|
i0.ɵɵelementEnd();
|
|
21313
21455
|
} if (rf & 2) {
|
|
21314
|
-
const
|
|
21456
|
+
const fieldError_r5 = ctx.$implicit;
|
|
21315
21457
|
i0.ɵɵadvance();
|
|
21316
|
-
i0.ɵɵtextInterpolate(
|
|
21458
|
+
i0.ɵɵtextInterpolate(fieldError_r5.message);
|
|
21317
21459
|
} }
|
|
21318
21460
|
function QueryCheckYourAnswersComponent_div_0_div_3_ul_5_Template(rf, ctx) { if (rf & 1) {
|
|
21319
21461
|
i0.ɵɵelementStart(0, "ul", 32);
|
|
21320
21462
|
i0.ɵɵtemplate(1, QueryCheckYourAnswersComponent_div_0_div_3_ul_5_li_1_Template, 2, 1, "li", 33);
|
|
21321
21463
|
i0.ɵɵelementEnd();
|
|
21322
21464
|
} if (rf & 2) {
|
|
21323
|
-
const
|
|
21465
|
+
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
21324
21466
|
i0.ɵɵadvance();
|
|
21325
|
-
i0.ɵɵproperty("ngForOf",
|
|
21467
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.error.details.field_errors);
|
|
21326
21468
|
} }
|
|
21327
21469
|
function QueryCheckYourAnswersComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
21328
21470
|
i0.ɵɵelementStart(0, "div", 29)(1, "h3", 30);
|
|
@@ -21334,11 +21476,11 @@ function QueryCheckYourAnswersComponent_div_0_div_3_Template(rf, ctx) { if (rf &
|
|
|
21334
21476
|
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_div_3_ul_5_Template, 2, 1, "ul", 31);
|
|
21335
21477
|
i0.ɵɵelementEnd();
|
|
21336
21478
|
} if (rf & 2) {
|
|
21337
|
-
const
|
|
21479
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21338
21480
|
i0.ɵɵadvance(4);
|
|
21339
|
-
i0.ɵɵtextInterpolate(
|
|
21481
|
+
i0.ɵɵtextInterpolate(ctx_r3.error.message);
|
|
21340
21482
|
i0.ɵɵadvance();
|
|
21341
|
-
i0.ɵɵproperty("ngIf",
|
|
21483
|
+
i0.ɵɵproperty("ngIf", ctx_r3.error.details == null ? null : ctx_r3.error.details.field_errors);
|
|
21342
21484
|
} }
|
|
21343
21485
|
function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21344
21486
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -21366,10 +21508,10 @@ function QueryCheckYourAnswersComponent_div_0_ng_template_8_Template(rf, ctx) {
|
|
|
21366
21508
|
} if (rf & 2) {
|
|
21367
21509
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21368
21510
|
} }
|
|
21369
|
-
function
|
|
21370
|
-
const
|
|
21371
|
-
i0.ɵɵelementStart(0, "
|
|
21372
|
-
i0.ɵɵlistener("click", function
|
|
21511
|
+
function QueryCheckYourAnswersComponent_div_0_dl_12_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
21512
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
21513
|
+
i0.ɵɵelementStart(0, "button", 19);
|
|
21514
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_12_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21373
21515
|
i0.ɵɵtext(1);
|
|
21374
21516
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21375
21517
|
i0.ɵɵelementEnd();
|
|
@@ -21386,17 +21528,17 @@ function QueryCheckYourAnswersComponent_div_0_dl_12_Template(rf, ctx) { if (rf &
|
|
|
21386
21528
|
i0.ɵɵtext(6);
|
|
21387
21529
|
i0.ɵɵelementEnd();
|
|
21388
21530
|
i0.ɵɵelementStart(7, "dd", 18);
|
|
21389
|
-
i0.ɵɵtemplate(8,
|
|
21531
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_div_0_dl_12_button_8_Template, 3, 3, "button", 36);
|
|
21390
21532
|
i0.ɵɵelementEnd()()();
|
|
21391
21533
|
} if (rf & 2) {
|
|
21392
21534
|
let tmp_4_0;
|
|
21393
|
-
const
|
|
21535
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21394
21536
|
i0.ɵɵadvance(3);
|
|
21395
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
21537
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21396
21538
|
i0.ɵɵadvance(3);
|
|
21397
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
21539
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.RESPOND ? ctx_r3.queryItem.subject : (tmp_4_0 = ctx_r3.formGroup.get("subject")) == null ? null : tmp_4_0.value, " ");
|
|
21398
21540
|
i0.ɵɵadvance(2);
|
|
21399
|
-
i0.ɵɵproperty("ngIf",
|
|
21541
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.NEW_QUERY);
|
|
21400
21542
|
} }
|
|
21401
21543
|
function QueryCheckYourAnswersComponent_div_0_dl_24_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21402
21544
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -21414,7 +21556,7 @@ function QueryCheckYourAnswersComponent_div_0_dl_24_ng_template_7_Template(rf, c
|
|
|
21414
21556
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21415
21557
|
} }
|
|
21416
21558
|
function QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21417
|
-
const
|
|
21559
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
21418
21560
|
i0.ɵɵelementStart(0, "div", 15)(1, "dt", 16);
|
|
21419
21561
|
i0.ɵɵtext(2);
|
|
21420
21562
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -21423,23 +21565,23 @@ function QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template(rf, ctx) { i
|
|
|
21423
21565
|
i0.ɵɵtext(5);
|
|
21424
21566
|
i0.ɵɵpipe(6, "date");
|
|
21425
21567
|
i0.ɵɵelementEnd();
|
|
21426
|
-
i0.ɵɵelementStart(7, "dd", 18)(8, "
|
|
21427
|
-
i0.ɵɵlistener("click", function
|
|
21568
|
+
i0.ɵɵelementStart(7, "dd", 18)(8, "button", 19);
|
|
21569
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_24_div_13_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r8); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21428
21570
|
i0.ɵɵtext(9);
|
|
21429
21571
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21430
21572
|
i0.ɵɵelementEnd()()();
|
|
21431
21573
|
} if (rf & 2) {
|
|
21432
21574
|
let tmp_6_0;
|
|
21433
|
-
const
|
|
21575
|
+
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
21434
21576
|
i0.ɵɵadvance(2);
|
|
21435
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
21577
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.NEW_QUERY ? "What is the date of the hearing?" : i0.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
|
|
21436
21578
|
i0.ɵɵadvance(3);
|
|
21437
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_6_0 =
|
|
21579
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_6_0 = ctx_r3.formGroup.get("hearingDate")) == null ? null : tmp_6_0.value, "dd MMM yyyy"), " ");
|
|
21438
21580
|
i0.ɵɵadvance(4);
|
|
21439
21581
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21440
21582
|
} }
|
|
21441
21583
|
function QueryCheckYourAnswersComponent_div_0_dl_24_Template(rf, ctx) { if (rf & 1) {
|
|
21442
|
-
const
|
|
21584
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
21443
21585
|
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21444
21586
|
i0.ɵɵtext(3);
|
|
21445
21587
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -21447,8 +21589,8 @@ function QueryCheckYourAnswersComponent_div_0_dl_24_Template(rf, ctx) { if (rf &
|
|
|
21447
21589
|
i0.ɵɵelementStart(5, "dd", 17);
|
|
21448
21590
|
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_24_ng_container_6_Template, 3, 5, "ng-container", 10)(7, QueryCheckYourAnswersComponent_div_0_dl_24_ng_template_7_Template, 2, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
21449
21591
|
i0.ɵɵelementEnd();
|
|
21450
|
-
i0.ɵɵelementStart(9, "dd", 18)(10, "
|
|
21451
|
-
i0.ɵɵlistener("click", function
|
|
21592
|
+
i0.ɵɵelementStart(9, "dd", 18)(10, "button", 19);
|
|
21593
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_24_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r7); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21452
21594
|
i0.ɵɵtext(11);
|
|
21453
21595
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21454
21596
|
i0.ɵɵelementEnd()()();
|
|
@@ -21457,25 +21599,25 @@ function QueryCheckYourAnswersComponent_div_0_dl_24_Template(rf, ctx) { if (rf &
|
|
|
21457
21599
|
} if (rf & 2) {
|
|
21458
21600
|
let tmp_5_0;
|
|
21459
21601
|
let tmp_8_0;
|
|
21460
|
-
const
|
|
21461
|
-
const
|
|
21602
|
+
const isHearingRelatedFalse_r9 = i0.ɵɵreference(8);
|
|
21603
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21462
21604
|
i0.ɵɵadvance(3);
|
|
21463
21605
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21464
21606
|
i0.ɵɵadvance(3);
|
|
21465
|
-
i0.ɵɵproperty("ngIf", ((tmp_5_0 =
|
|
21607
|
+
i0.ɵɵproperty("ngIf", ((tmp_5_0 = ctx_r3.formGroup.get("isHearingRelated")) == null ? null : tmp_5_0.value) === true)("ngIfElse", isHearingRelatedFalse_r9);
|
|
21466
21608
|
i0.ɵɵadvance(5);
|
|
21467
21609
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21468
21610
|
i0.ɵɵadvance(2);
|
|
21469
|
-
i0.ɵɵproperty("ngIf", (tmp_8_0 =
|
|
21611
|
+
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx_r3.formGroup.get("isHearingRelated")) == null ? null : tmp_8_0.value);
|
|
21470
21612
|
} }
|
|
21471
21613
|
function QueryCheckYourAnswersComponent_div_0_dl_25_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21472
21614
|
i0.ɵɵelement(0, "ccd-query-attachments-read", 40);
|
|
21473
21615
|
} if (rf & 2) {
|
|
21474
|
-
const
|
|
21475
|
-
i0.ɵɵproperty("attachments",
|
|
21616
|
+
const ctx_r3 = i0.ɵɵnextContext(3);
|
|
21617
|
+
i0.ɵɵproperty("attachments", ctx_r3.attachments);
|
|
21476
21618
|
} }
|
|
21477
21619
|
function QueryCheckYourAnswersComponent_div_0_dl_25_Template(rf, ctx) { if (rf & 1) {
|
|
21478
|
-
const
|
|
21620
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
21479
21621
|
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21480
21622
|
i0.ɵɵtext(3);
|
|
21481
21623
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -21483,22 +21625,22 @@ function QueryCheckYourAnswersComponent_div_0_dl_25_Template(rf, ctx) { if (rf &
|
|
|
21483
21625
|
i0.ɵɵelementStart(5, "dd", 38);
|
|
21484
21626
|
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_25_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 39);
|
|
21485
21627
|
i0.ɵɵelementEnd();
|
|
21486
|
-
i0.ɵɵelementStart(7, "dd", 18)(8, "
|
|
21487
|
-
i0.ɵɵlistener("click", function
|
|
21628
|
+
i0.ɵɵelementStart(7, "dd", 18)(8, "button", 19);
|
|
21629
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_25_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r10); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21488
21630
|
i0.ɵɵtext(9);
|
|
21489
21631
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21490
21632
|
i0.ɵɵelementEnd()()()();
|
|
21491
21633
|
} if (rf & 2) {
|
|
21492
|
-
const
|
|
21634
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21493
21635
|
i0.ɵɵadvance(3);
|
|
21494
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
21636
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21495
21637
|
i0.ɵɵadvance(3);
|
|
21496
|
-
i0.ɵɵproperty("ngIf",
|
|
21638
|
+
i0.ɵɵproperty("ngIf", ctx_r3.formGroup.get("attachments").value);
|
|
21497
21639
|
i0.ɵɵadvance(3);
|
|
21498
21640
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21499
21641
|
} }
|
|
21500
21642
|
function QueryCheckYourAnswersComponent_div_0_dl_26_Template(rf, ctx) { if (rf & 1) {
|
|
21501
|
-
const
|
|
21643
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
21502
21644
|
i0.ɵɵelementStart(0, "dl", 14)(1, "div", 15)(2, "dt", 16);
|
|
21503
21645
|
i0.ɵɵtext(3);
|
|
21504
21646
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -21507,18 +21649,18 @@ function QueryCheckYourAnswersComponent_div_0_dl_26_Template(rf, ctx) { if (rf &
|
|
|
21507
21649
|
i0.ɵɵtext(6);
|
|
21508
21650
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
21509
21651
|
i0.ɵɵelementEnd();
|
|
21510
|
-
i0.ɵɵelementStart(8, "dd", 18)(9, "
|
|
21511
|
-
i0.ɵɵlistener("click", function
|
|
21652
|
+
i0.ɵɵelementStart(8, "dd", 18)(9, "button", 19);
|
|
21653
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_26_Template_button_click_9_listener() { i0.ɵɵrestoreView(_r11); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21512
21654
|
i0.ɵɵtext(10);
|
|
21513
21655
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
21514
21656
|
i0.ɵɵelementEnd()()()();
|
|
21515
21657
|
} if (rf & 2) {
|
|
21516
21658
|
let tmp_4_0;
|
|
21517
|
-
const
|
|
21659
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
21518
21660
|
i0.ɵɵadvance(3);
|
|
21519
21661
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, "Closing the query"), " ");
|
|
21520
21662
|
i0.ɵɵadvance(3);
|
|
21521
|
-
i0.ɵɵtextInterpolate1(" ", ((tmp_4_0 =
|
|
21663
|
+
i0.ɵɵtextInterpolate1(" ", ((tmp_4_0 = ctx_r3.formGroup.get("closeQuery")) == null ? null : tmp_4_0.value) ? "I want to close this query" : i0.ɵɵpipeBind1(7, 5, "No answer"), " ");
|
|
21522
21664
|
i0.ɵɵadvance(4);
|
|
21523
21665
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 7, "Change"), " ");
|
|
21524
21666
|
} }
|
|
@@ -21542,20 +21684,20 @@ function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21542
21684
|
i0.ɵɵelementStart(18, "dd", 17);
|
|
21543
21685
|
i0.ɵɵtext(19);
|
|
21544
21686
|
i0.ɵɵelementEnd();
|
|
21545
|
-
i0.ɵɵelementStart(20, "dd", 18)(21, "
|
|
21546
|
-
i0.ɵɵlistener("click", function
|
|
21687
|
+
i0.ɵɵelementStart(20, "dd", 18)(21, "button", 19);
|
|
21688
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r1); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21547
21689
|
i0.ɵɵtext(22);
|
|
21548
21690
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
21549
21691
|
i0.ɵɵelementEnd()()()();
|
|
21550
21692
|
i0.ɵɵtemplate(24, QueryCheckYourAnswersComponent_div_0_dl_24_Template, 14, 9, "dl", 13)(25, QueryCheckYourAnswersComponent_div_0_dl_25_Template, 11, 7, "dl", 13)(26, QueryCheckYourAnswersComponent_div_0_dl_26_Template, 12, 9, "dl", 13);
|
|
21551
21693
|
i0.ɵɵelement(27, "br");
|
|
21552
21694
|
i0.ɵɵelementStart(28, "div")(29, "button", 20);
|
|
21553
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); const
|
|
21695
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.goBack()); });
|
|
21554
21696
|
i0.ɵɵtext(30);
|
|
21555
21697
|
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21556
21698
|
i0.ɵɵelementEnd();
|
|
21557
21699
|
i0.ɵɵelementStart(32, "button", 21);
|
|
21558
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_32_listener() { i0.ɵɵrestoreView(_r1); const
|
|
21700
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_32_listener() { i0.ɵɵrestoreView(_r1); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.submit()); });
|
|
21559
21701
|
i0.ɵɵtext(33);
|
|
21560
21702
|
i0.ɵɵpipe(34, "rpxTranslate");
|
|
21561
21703
|
i0.ɵɵelementEnd()()();
|
|
@@ -21563,40 +21705,40 @@ function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21563
21705
|
i0.ɵɵelementEnd();
|
|
21564
21706
|
} if (rf & 2) {
|
|
21565
21707
|
let tmp_11_0;
|
|
21566
|
-
const
|
|
21567
|
-
const
|
|
21708
|
+
const defaultCheckYourAnswersTitle_r12 = i0.ɵɵreference(9);
|
|
21709
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
21568
21710
|
i0.ɵɵadvance(2);
|
|
21569
|
-
i0.ɵɵproperty("ngIf",
|
|
21711
|
+
i0.ɵɵproperty("ngIf", ctx_r3.errorMessages.length > 0);
|
|
21570
21712
|
i0.ɵɵadvance();
|
|
21571
|
-
i0.ɵɵproperty("ngIf",
|
|
21713
|
+
i0.ɵɵproperty("ngIf", ctx_r3.error && (ctx_r3.error.details || ctx_r3.error.message));
|
|
21572
21714
|
i0.ɵɵadvance();
|
|
21573
|
-
i0.ɵɵproperty("callbackErrorsSubject",
|
|
21715
|
+
i0.ɵɵproperty("callbackErrorsSubject", ctx_r3.callbackErrorsSubject);
|
|
21574
21716
|
i0.ɵɵadvance();
|
|
21575
|
-
i0.ɵɵproperty("ngIf",
|
|
21717
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.NEW_QUERY);
|
|
21576
21718
|
i0.ɵɵadvance(2);
|
|
21577
|
-
i0.ɵɵproperty("ngIf",
|
|
21719
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r12);
|
|
21578
21720
|
i0.ɵɵadvance(4);
|
|
21579
|
-
i0.ɵɵproperty("caseDetails",
|
|
21721
|
+
i0.ɵɵproperty("caseDetails", ctx_r3.caseDetails);
|
|
21580
21722
|
i0.ɵɵadvance();
|
|
21581
|
-
i0.ɵɵproperty("ngIf",
|
|
21723
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext !== ctx_r3.queryCreateContextEnum.FOLLOWUP);
|
|
21582
21724
|
i0.ɵɵadvance(4);
|
|
21583
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
21725
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(17, 17, "Query detail"), " ");
|
|
21584
21726
|
i0.ɵɵadvance(3);
|
|
21585
|
-
i0.ɵɵtextInterpolate1(" ", (tmp_11_0 =
|
|
21727
|
+
i0.ɵɵtextInterpolate1(" ", (tmp_11_0 = ctx_r3.formGroup.get("body")) == null ? null : tmp_11_0.value, " ");
|
|
21586
21728
|
i0.ɵɵadvance(3);
|
|
21587
21729
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 19, "Change"), " ");
|
|
21588
21730
|
i0.ɵɵadvance(2);
|
|
21589
|
-
i0.ɵɵproperty("ngIf",
|
|
21731
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.NEW_QUERY);
|
|
21590
21732
|
i0.ɵɵadvance();
|
|
21591
|
-
i0.ɵɵproperty("ngIf",
|
|
21733
|
+
i0.ɵɵproperty("ngIf", ctx_r3.formGroup.get("attachments").value.length > 0);
|
|
21592
21734
|
i0.ɵɵadvance();
|
|
21593
|
-
i0.ɵɵproperty("ngIf",
|
|
21735
|
+
i0.ɵɵproperty("ngIf", ctx_r3.queryCreateContext === ctx_r3.queryCreateContextEnum.RESPOND);
|
|
21594
21736
|
i0.ɵɵadvance(4);
|
|
21595
21737
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 21, "Previous"), " ");
|
|
21596
21738
|
i0.ɵɵadvance(3);
|
|
21597
21739
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(34, 23, "Submit"), " ");
|
|
21598
21740
|
i0.ɵɵadvance(2);
|
|
21599
|
-
i0.ɵɵproperty("eventCompletionParams",
|
|
21741
|
+
i0.ɵɵproperty("eventCompletionParams", ctx_r3.eventCompletionParams);
|
|
21600
21742
|
} }
|
|
21601
21743
|
class QueryCheckYourAnswersComponent {
|
|
21602
21744
|
route;
|
|
@@ -21817,7 +21959,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21817
21959
|
this.queryManagementService.setCaseQueriesCollectionData(this.eventData, this.queryCreateContext, this.caseDetails, this.messageId);
|
|
21818
21960
|
}
|
|
21819
21961
|
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(QualifyingQuestionService), i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
21820
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData", qmCaseQueriesCollectionData: "qmCaseQueriesCollectionData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["
|
|
21962
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData", qmCaseQueriesCollectionData: "qmCaseQueriesCollectionData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "#", 1, "validation-error", 3, "click", "id"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "govuk-caption-l"], ["type", "button", "class", "govuk-js-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21821
21963
|
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 36, 25, "div", 2);
|
|
21822
21964
|
} if (rf & 2) {
|
|
21823
21965
|
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
@@ -21825,7 +21967,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21825
21967
|
}
|
|
21826
21968
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21827
21969
|
type: Component,
|
|
21828
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"
|
|
21970
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"#\" (click)=\"$event.preventDefault()\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div *ngIf=\"error && (error.details || error.message)\" class=\"error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h3 class=\"heading-h3 error-summary-heading\" id=\"event_error-summary-heading\">\n The event could not be created\n </h3>\n <p>{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\" class=\"ccd-error-summary-li\">{{fieldError.message}}</li>\n </ul>\n </div>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"callbackErrorsSubject\"></ccd-callback-errors>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Closing the query' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('closeQuery')?.value ? 'I want to close this query' : 'No answer' | rpxTranslate }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </button>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
21829
21971
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: QualifyingQuestionService }, { type: QueryManagementService }, { type: ErrorNotifierService }, { type: AlertService }], { formGroup: [{
|
|
21830
21972
|
type: Input
|
|
21831
21973
|
}], queryItem: [{
|
|
@@ -21849,8 +21991,8 @@ function QueryDetailsComponent_ng_container_0_p_1_Template(rf, ctx) { if (rf & 1
|
|
|
21849
21991
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21850
21992
|
i0.ɵɵelementStart(0, "p");
|
|
21851
21993
|
i0.ɵɵelement(1, "br");
|
|
21852
|
-
i0.ɵɵelementStart(2, "
|
|
21853
|
-
i0.ɵɵlistener("click", function
|
|
21994
|
+
i0.ɵɵelementStart(2, "button", 10);
|
|
21995
|
+
i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_p_1_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onBack()); });
|
|
21854
21996
|
i0.ɵɵtext(3);
|
|
21855
21997
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21856
21998
|
i0.ɵɵelementEnd()();
|
|
@@ -22214,7 +22356,7 @@ class QueryDetailsComponent {
|
|
|
22214
22356
|
return false;
|
|
22215
22357
|
}
|
|
22216
22358
|
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
22217
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId", queryResponseStatus: "queryResponseStatus" }, outputs: { backClicked: "backClicked", hasResponded: "hasResponded" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["followUpMessage", ""], [4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], ["class", "govuk-table__row", 4, "ngIf"], ["
|
|
22359
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId", queryResponseStatus: "queryResponseStatus" }, outputs: { backClicked: "backClicked", hasResponded: "hasResponded" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["followUpMessage", ""], [4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], ["class", "govuk-table__row", 4, "ngIf"], ["type", "button", 1, "govuk-js-link", 3, "click"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22218
22360
|
i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 45, 41, "ng-container", 1);
|
|
22219
22361
|
} if (rf & 2) {
|
|
22220
22362
|
i0.ɵɵproperty("ngIf", ctx.query);
|
|
@@ -22222,7 +22364,7 @@ class QueryDetailsComponent {
|
|
|
22222
22364
|
}
|
|
22223
22365
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
22224
22366
|
type: Component,
|
|
22225
|
-
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <br />\n <
|
|
22367
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <br />\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</button>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"i % 2 === 0; else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".query-details-table .govuk-table__header{width:330px}\n"] }]
|
|
22226
22368
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
22227
22369
|
type: Input
|
|
22228
22370
|
}], caseId: [{
|
|
@@ -22284,8 +22426,8 @@ function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) { if (rf & 1)
|
|
|
22284
22426
|
} }
|
|
22285
22427
|
function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1) {
|
|
22286
22428
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
22287
|
-
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 11)(2, "
|
|
22288
|
-
i0.ɵɵlistener("click", function
|
|
22429
|
+
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 11)(2, "button", 12);
|
|
22430
|
+
i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_button_click_2_listener() { const message_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.showDetails(message_r6)); });
|
|
22289
22431
|
i0.ɵɵtext(3);
|
|
22290
22432
|
i0.ɵɵelementEnd()();
|
|
22291
22433
|
i0.ɵɵelementStart(4, "td", 13);
|
|
@@ -22408,7 +22550,7 @@ class QueryListComponent {
|
|
|
22408
22550
|
}
|
|
22409
22551
|
}
|
|
22410
22552
|
static ɵfac = function QueryListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryListComponent)(); };
|
|
22411
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { caseQueriesCollection: "caseQueriesCollection" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__caption", "govuk-table__caption--l", "query-list__caption"], [1, "query-list__caption-text"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none",
|
|
22553
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { caseQueriesCollection: "caseQueriesCollection" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__caption", "govuk-table__caption--l", "query-list__caption"], [1, "query-list__caption-text"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["type", "button", 1, "govuk-js-link", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22412
22554
|
i0.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
22413
22555
|
} if (rf & 2) {
|
|
22414
22556
|
i0.ɵɵproperty("ngIf", ctx.queryListData);
|
|
@@ -22416,7 +22558,7 @@ class QueryListComponent {
|
|
|
22416
22558
|
}
|
|
22417
22559
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22418
22560
|
type: Component,
|
|
22419
|
-
args: [{ selector: 'ccd-query-list', template: "<ng-container *ngIf=\"queryListData\">\n <table class=\"govuk-table query-list__table\">\n <caption class=\"govuk-table__caption govuk-table__caption--l query-list__caption\">\n <div class=\"query-list__caption-text\">{{ queryListData.partyName }}</div>\n </caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row query-list__row\">\n <th scope=\"col\" class=\"govuk-table__header\" [attr.aria-sort]=\"getAriaSortHeaderValue(col)\"\n *ngFor=\"let col of displayedColumns; let i = index;\">\n <button type=\"button\" [attr.data-index]=\"i\" aria-sort=\"none\" (click)=\"sortTable(col)\"
|
|
22561
|
+
args: [{ selector: 'ccd-query-list', template: "<ng-container *ngIf=\"queryListData\">\n <table class=\"govuk-table query-list__table\">\n <caption class=\"govuk-table__caption govuk-table__caption--l query-list__caption\">\n <div class=\"query-list__caption-text\">{{ queryListData.partyName }}</div>\n </caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row query-list__row\">\n <th scope=\"col\" class=\"govuk-table__header\" [attr.aria-sort]=\"getAriaSortHeaderValue(col)\"\n *ngFor=\"let col of displayedColumns; let i = index;\">\n <button type=\"button\" [attr.data-index]=\"i\" aria-sort=\"none\" (click)=\"sortTable(col)\">\n {{ col.displayName | rpxTranslate }}\n </button>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row query-list__row\"\n *ngFor=\"let message of queryListData.queries\"\n >\n <td class=\"govuk-table__cell query-list__cell query-list__cell--first\">\n <button type=\"button\" class=\"govuk-js-link\" (click)=\"showDetails(message)\">{{ message.subject }}</button>\n </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedBy }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedDate | date: 'dd MMM YYYY HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastResponseDate | date: 'dd MMM YYYY HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.responseStatus | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n</ng-container>\n", styles: ["@charset \"UTF-8\";.query-list__row>*:first-child{padding-left:10px}.query-list__row>*:last-child{padding-right:10px}.query-list__cell--first{width:33%}.query-list__table{border:1px solid #b1b4b6;border-top:none}.query-list__caption{background-color:#dee0e2;border:1px solid #b1b4b6;border-bottom:none;font-weight:700;margin-bottom:0;padding:10px}.query-list__caption{font-size:18px}[aria-sort] button,[aria-sort] button:hover,[aria-sort] button:hover:hover{background-color:transparent;border-width:0;-webkit-box-shadow:0 0 0 0;-moz-box-shadow:0 0 0 0;box-shadow:0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort] button:focus,[aria-sort] button:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort]:first-child button{right:auto}[aria-sort] button:before{content:\" \\25bc\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort] button:after{content:\" \\25b2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending] button:before,[aria-sort=descending] button:before{content:none}[aria-sort=ascending] button:after{content:\" \\25b2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending] button:after{content:\" \\25bc\";font-size:.8em;position:absolute;right:-5px;top:2px}\n"] }]
|
|
22420
22562
|
}], null, { caseQueriesCollection: [{
|
|
22421
22563
|
type: Input
|
|
22422
22564
|
}], selectedQuery: [{
|
|
@@ -22612,7 +22754,7 @@ class QueryWriteDateInputComponent {
|
|
|
22612
22754
|
}] }); })();
|
|
22613
22755
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteDateInputComponent, { className: "QueryWriteDateInputComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.ts", lineNumber: 15 }); })();
|
|
22614
22756
|
|
|
22615
|
-
const _c0$
|
|
22757
|
+
const _c0$D = a0 => ({ "govuk-form-group--error": a0 });
|
|
22616
22758
|
function QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template(rf, ctx) { if (rf & 1) {
|
|
22617
22759
|
i0.ɵɵelement(0, "ccd-query-case-details-header", 5);
|
|
22618
22760
|
} if (rf & 2) {
|
|
@@ -22692,7 +22834,7 @@ function QueryWriteRaiseQueryComponent_div_11_ng_container_50_Template(rf, ctx)
|
|
|
22692
22834
|
} if (rf & 2) {
|
|
22693
22835
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
22694
22836
|
i0.ɵɵadvance();
|
|
22695
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
22837
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").value === true && ctx_r0.formGroup.get("hearingDate").value === null));
|
|
22696
22838
|
i0.ɵɵadvance(4);
|
|
22697
22839
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 3, "What is the date of the hearing?"), " ");
|
|
22698
22840
|
i0.ɵɵadvance(2);
|
|
@@ -22759,7 +22901,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22759
22901
|
i0.ɵɵadvance(8);
|
|
22760
22902
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
|
|
22761
22903
|
i0.ɵɵadvance(2);
|
|
22762
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$
|
|
22904
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
|
|
22763
22905
|
i0.ɵɵadvance(3);
|
|
22764
22906
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
|
|
22765
22907
|
i0.ɵɵadvance(3);
|
|
@@ -22767,7 +22909,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22767
22909
|
i0.ɵɵadvance(2);
|
|
22768
22910
|
i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
|
|
22769
22911
|
i0.ɵɵadvance(2);
|
|
22770
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$
|
|
22912
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
|
|
22771
22913
|
i0.ɵɵadvance(3);
|
|
22772
22914
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
|
|
22773
22915
|
i0.ɵɵadvance(3);
|
|
@@ -22778,7 +22920,7 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
22778
22920
|
i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
|
|
22779
22921
|
i0.ɵɵproperty("formControlName", "body");
|
|
22780
22922
|
i0.ɵɵadvance(2);
|
|
22781
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$
|
|
22923
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$D, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
|
|
22782
22924
|
i0.ɵɵadvance(4);
|
|
22783
22925
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
|
|
22784
22926
|
i0.ɵɵadvance(2);
|
|
@@ -23167,21 +23309,21 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
23167
23309
|
} if (rf & 2) {
|
|
23168
23310
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23169
23311
|
i0.ɵɵadvance(3);
|
|
23170
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23312
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Query submitted"));
|
|
23171
23313
|
i0.ɵɵadvance(3);
|
|
23172
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7,
|
|
23314
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 13, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
23173
23315
|
i0.ɵɵadvance(4);
|
|
23174
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
23316
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 15, "What happens next"));
|
|
23175
23317
|
i0.ɵɵadvance(2);
|
|
23176
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13,
|
|
23318
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 17, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
23177
23319
|
i0.ɵɵadvance(3);
|
|
23178
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16,
|
|
23320
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 19, "When the response is available it will be added to the 'Queries' section."));
|
|
23179
23321
|
i0.ɵɵadvance(3);
|
|
23180
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19,
|
|
23322
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 21, "You can"), " ");
|
|
23181
23323
|
i0.ɵɵadvance(2);
|
|
23182
|
-
i0.ɵɵ
|
|
23324
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23183
23325
|
i0.ɵɵadvance();
|
|
23184
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22,
|
|
23326
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 23, "Go back to the case"));
|
|
23185
23327
|
} }
|
|
23186
23328
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
23187
23329
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23209,23 +23351,23 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
23209
23351
|
} if (rf & 2) {
|
|
23210
23352
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
23211
23353
|
i0.ɵɵadvance(3);
|
|
23212
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4,
|
|
23354
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 13, "Query response submitted"));
|
|
23213
23355
|
i0.ɵɵadvance(3);
|
|
23214
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7,
|
|
23356
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 15, "This query response has been added to the case"));
|
|
23215
23357
|
i0.ɵɵadvance(3);
|
|
23216
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10,
|
|
23358
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 17, "You can"), " ");
|
|
23217
23359
|
i0.ɵɵadvance(2);
|
|
23218
|
-
i0.ɵɵ
|
|
23360
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "/tasks");
|
|
23219
23361
|
i0.ɵɵadvance();
|
|
23220
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13,
|
|
23362
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 19, "return to tasks"));
|
|
23221
23363
|
i0.ɵɵadvance(3);
|
|
23222
|
-
i0.ɵɵ
|
|
23364
|
+
i0.ɵɵpropertyInterpolate3("routerLink", "/cases/case-details/", ctx_r0.jurisdiction, "/", ctx_r0.caseType, "/", ctx_r0.caseId, "");
|
|
23223
23365
|
i0.ɵɵadvance();
|
|
23224
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17,
|
|
23366
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
|
|
23225
23367
|
} }
|
|
23226
23368
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
23227
23369
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
23228
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23,
|
|
23370
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 25, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 23, "ng-container", 4);
|
|
23229
23371
|
i0.ɵɵelementEnd()()();
|
|
23230
23372
|
} if (rf & 2) {
|
|
23231
23373
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -23239,15 +23381,19 @@ class QueryConfirmationComponent {
|
|
|
23239
23381
|
queryCreateContext;
|
|
23240
23382
|
callbackConfirmationMessageText = {};
|
|
23241
23383
|
caseId = '';
|
|
23384
|
+
jurisdiction = '';
|
|
23385
|
+
caseType = '';
|
|
23242
23386
|
queryCreateContextEnum = QueryCreateContext;
|
|
23243
23387
|
constructor(route) {
|
|
23244
23388
|
this.route = route;
|
|
23245
23389
|
}
|
|
23246
23390
|
ngOnInit() {
|
|
23247
23391
|
this.caseId = this.route.snapshot.params.cid;
|
|
23392
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
23393
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
23248
23394
|
}
|
|
23249
23395
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
23250
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], [
|
|
23396
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], [1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__body"], ["id", "tasks-link", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23251
23397
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
23252
23398
|
} if (rf & 2) {
|
|
23253
23399
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
@@ -23255,7 +23401,7 @@ class QueryConfirmationComponent {
|
|
|
23255
23401
|
}
|
|
23256
23402
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
23257
23403
|
type: Component,
|
|
23258
|
-
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\"
|
|
23404
|
+
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
23259
23405
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
23260
23406
|
type: Input
|
|
23261
23407
|
}], callbackConfirmationMessageText: [{
|
|
@@ -23307,7 +23453,7 @@ class CloseQueryComponent {
|
|
|
23307
23453
|
}] }); })();
|
|
23308
23454
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseQueryComponent, { className: "CloseQueryComponent", filePath: "lib/shared/components/palette/query-management/components/close-query/close-query.component.ts", lineNumber: 8 }); })();
|
|
23309
23455
|
|
|
23310
|
-
const _c0$
|
|
23456
|
+
const _c0$C = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23311
23457
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23312
23458
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23313
23459
|
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
|
|
@@ -23346,7 +23492,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
23346
23492
|
} if (rf & 2) {
|
|
23347
23493
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
23348
23494
|
i0.ɵɵadvance();
|
|
23349
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$
|
|
23495
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$C, ctx_r1.caseId, ctx_r1.query.id));
|
|
23350
23496
|
i0.ɵɵadvance();
|
|
23351
23497
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23352
23498
|
} }
|
|
@@ -23494,7 +23640,7 @@ class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
23494
23640
|
}], null, null); })();
|
|
23495
23641
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
|
|
23496
23642
|
|
|
23497
|
-
const _c0$
|
|
23643
|
+
const _c0$B = a0 => ({ "form-group-error": a0 });
|
|
23498
23644
|
const _c1$d = a0 => ({ "govuk-textarea--error": a0 });
|
|
23499
23645
|
function WriteTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23500
23646
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23553,7 +23699,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23553
23699
|
i0.ɵɵlistener("input", function WriteTextAreaFieldComponent_Template_textarea_input_5_listener($event) { return ctx.autoGrow($event); });
|
|
23554
23700
|
i0.ɵɵelementEnd()();
|
|
23555
23701
|
} if (rf & 2) {
|
|
23556
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23702
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$B, !ctx.textareaControl.valid && ctx.textareaControl.dirty));
|
|
23557
23703
|
i0.ɵɵadvance();
|
|
23558
23704
|
i0.ɵɵproperty("for", ctx.id());
|
|
23559
23705
|
i0.ɵɵadvance();
|
|
@@ -23592,7 +23738,7 @@ class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
|
23592
23738
|
}], null, null); })();
|
|
23593
23739
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
|
|
23594
23740
|
|
|
23595
|
-
const _c0$
|
|
23741
|
+
const _c0$A = a0 => ({ "form-group-error": a0 });
|
|
23596
23742
|
const _c1$c = a0 => ({ "govuk-input--error": a0 });
|
|
23597
23743
|
function WriteTextFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
23598
23744
|
i0.ɵɵelementStart(0, "span", 6);
|
|
@@ -23642,7 +23788,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23642
23788
|
i0.ɵɵlistener("blur", function WriteTextFieldComponent_Template_input_blur_5_listener($event) { return ctx.onBlur($event); });
|
|
23643
23789
|
i0.ɵɵelementEnd()();
|
|
23644
23790
|
} if (rf & 2) {
|
|
23645
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
23791
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$A, !!ctx.textControl && !ctx.textControl.valid && (ctx.textControl.dirty || ctx.textControl.touched)));
|
|
23646
23792
|
i0.ɵɵadvance();
|
|
23647
23793
|
i0.ɵɵproperty("for", ctx.id());
|
|
23648
23794
|
i0.ɵɵadvance();
|
|
@@ -23783,7 +23929,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
23783
23929
|
}], () => [{ type: YesNoService }], null); })();
|
|
23784
23930
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
|
|
23785
23931
|
|
|
23786
|
-
const _c0$
|
|
23932
|
+
const _c0$z = a0 => ({ "form-group-error": a0 });
|
|
23787
23933
|
const _c1$b = a0 => ({ selected: a0 });
|
|
23788
23934
|
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
23789
23935
|
i0.ɵɵelementStart(0, "span", 7);
|
|
@@ -23855,7 +24001,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23855
24001
|
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 5, 14, "div", 6);
|
|
23856
24002
|
i0.ɵɵelementEnd()()();
|
|
23857
24003
|
} if (rf & 2) {
|
|
23858
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
24004
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c0$z, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
23859
24005
|
i0.ɵɵadvance(3);
|
|
23860
24006
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
23861
24007
|
i0.ɵɵadvance();
|
|
@@ -23972,7 +24118,7 @@ class PaletteService {
|
|
|
23972
24118
|
type: Injectable
|
|
23973
24119
|
}], null, null); })();
|
|
23974
24120
|
|
|
23975
|
-
const _c0$
|
|
24121
|
+
const _c0$y = ["fieldContainer"];
|
|
23976
24122
|
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
23977
24123
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
23978
24124
|
resolver;
|
|
@@ -24021,7 +24167,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
24021
24167
|
}
|
|
24022
24168
|
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
24023
24169
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
24024
|
-
i0.ɵɵviewQuery(_c0$
|
|
24170
|
+
i0.ɵɵviewQuery(_c0$y, 5, ViewContainerRef);
|
|
24025
24171
|
} if (rf & 2) {
|
|
24026
24172
|
let _t;
|
|
24027
24173
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -24050,7 +24196,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
24050
24196
|
}] }); })();
|
|
24051
24197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadComponent, { className: "FieldReadComponent", filePath: "lib/shared/components/palette/base-field/field-read.component.ts", lineNumber: 15 }); })();
|
|
24052
24198
|
|
|
24053
|
-
const _c0$
|
|
24199
|
+
const _c0$x = ["fieldContainer"];
|
|
24054
24200
|
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
24055
24201
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
24056
24202
|
resolver;
|
|
@@ -24096,7 +24242,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
24096
24242
|
}
|
|
24097
24243
|
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
24098
24244
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
24099
|
-
i0.ɵɵviewQuery(_c0$
|
|
24245
|
+
i0.ɵɵviewQuery(_c0$x, 7, ViewContainerRef);
|
|
24100
24246
|
} if (rf & 2) {
|
|
24101
24247
|
let _t;
|
|
24102
24248
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
@@ -24120,7 +24266,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
24120
24266
|
}] }); })();
|
|
24121
24267
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldWriteComponent, { className: "FieldWriteComponent", filePath: "lib/shared/components/palette/base-field/field-write.component.ts", lineNumber: 16 }); })();
|
|
24122
24268
|
|
|
24123
|
-
const _c0$
|
|
24269
|
+
const _c0$w = ["*"];
|
|
24124
24270
|
function FieldReadLabelComponent_dl_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
24125
24271
|
i0.ɵɵelementContainer(0);
|
|
24126
24272
|
} }
|
|
@@ -24174,7 +24320,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24174
24320
|
}
|
|
24175
24321
|
}
|
|
24176
24322
|
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
24177
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$
|
|
24323
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$w, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24178
24324
|
i0.ɵɵprojectionDef();
|
|
24179
24325
|
i0.ɵɵelementStart(0, "div", 1);
|
|
24180
24326
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -24195,7 +24341,7 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
24195
24341
|
}] }); })();
|
|
24196
24342
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
|
|
24197
24343
|
|
|
24198
|
-
const _c0$
|
|
24344
|
+
const _c0$v = a0 => ({ cat: a0, level: 1 });
|
|
24199
24345
|
const _c1$a = (a0, a1) => ({ cat: a0, level: a1 });
|
|
24200
24346
|
function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24201
24347
|
i0.ɵɵelementContainer(0);
|
|
@@ -24209,7 +24355,7 @@ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
|
|
|
24209
24355
|
i0.ɵɵnextContext();
|
|
24210
24356
|
const folder_r3 = i0.ɵɵreference(13);
|
|
24211
24357
|
i0.ɵɵadvance();
|
|
24212
|
-
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$
|
|
24358
|
+
i0.ɵɵproperty("ngTemplateOutlet", folder_r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$v, cat_r2));
|
|
24213
24359
|
} }
|
|
24214
24360
|
function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24215
24361
|
i0.ɵɵelementContainer(0);
|
|
@@ -24309,7 +24455,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24309
24455
|
return null;
|
|
24310
24456
|
}
|
|
24311
24457
|
static ɵfac = function CaseFileViewFolderSelectorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); };
|
|
24312
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [["folder", ""], ["tabindex", "0", "aria-label", "close", 1, "close", 3, "click", "keyup"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["href", "
|
|
24458
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [["folder", ""], ["tabindex", "0", "aria-label", "close", 1, "close", 3, "click", "keyup"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["href", "#", 1, "cancel", 3, "click"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "click", "keyup", "name", "id"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24313
24459
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24314
24460
|
i0.ɵɵelementStart(0, "span", 1);
|
|
24315
24461
|
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancel()); })("keyup", function CaseFileViewFolderSelectorComponent_Template_span_keyup_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView($event.key === "Enter" ? ctx.cancel() : null); });
|
|
@@ -24328,7 +24474,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24328
24474
|
i0.ɵɵtext(9, "Save");
|
|
24329
24475
|
i0.ɵɵelementEnd();
|
|
24330
24476
|
i0.ɵɵelementStart(10, "a", 7);
|
|
24331
|
-
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(
|
|
24477
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener($event) { i0.ɵɵrestoreView(_r1); ctx.cancel(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
24332
24478
|
i0.ɵɵtext(11, "Cancel");
|
|
24333
24479
|
i0.ɵɵelementEnd()();
|
|
24334
24480
|
i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 6, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -24341,14 +24487,14 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
24341
24487
|
}
|
|
24342
24488
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
24343
24489
|
type: Component,
|
|
24344
|
-
args: [{ selector: 'xui-case-file-view-folder-selector', encapsulation: ViewEncapsulation.None, template: "<span tabindex=\"0\" aria-label=\"close\" class=\"close\" (click)=\"cancel()\" (keyup)=\"$event.key === 'Enter' ? cancel() : null\"></span>\n<h2 class=\"govuk-heading-l\">Move File</h2>\n<p>Where do you want to move \"{{ data.document.document_filename }}\" file?</p>\n<div class=\"folders govuk-radios govuk-radios--conditional\">\n <ng-container *ngFor=\"let cat of currentCategories\">\n <ng-container *ngTemplateOutlet=\"folder;context:{cat:cat,level:1}\"></ng-container>\n </ng-container>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"button button-primary\" type=\"button\" (click)=\"save()\">Save</button>\n <a (click)=\"cancel()\" class=\"cancel\" href=\"
|
|
24490
|
+
args: [{ selector: 'xui-case-file-view-folder-selector', encapsulation: ViewEncapsulation.None, template: "<span tabindex=\"0\" aria-label=\"close\" class=\"close\" (click)=\"cancel()\" (keyup)=\"$event.key === 'Enter' ? cancel() : null\"></span>\n<h2 class=\"govuk-heading-l\">Move File</h2>\n<p>Where do you want to move \"{{ data.document.document_filename }}\" file?</p>\n<div class=\"folders govuk-radios govuk-radios--conditional\">\n <ng-container *ngFor=\"let cat of currentCategories\">\n <ng-container *ngTemplateOutlet=\"folder;context:{cat:cat,level:1}\"></ng-container>\n </ng-container>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"button button-primary\" type=\"button\" (click)=\"save()\">Save</button>\n <a (click)=\"cancel(); $event.preventDefault()\" class=\"cancel\" href=\"#\">Cancel</a>\n</div>\n\n<ng-template #folder let-cat=\"cat\" let-level=\"level\">\n <div class=\"folder govuk-radios__item\">\n <input class=\"govuk-radios__input\" type=\"radio\" name=\"level-{{level}}\" [id]=\"cat.category_id\" (click)=\"handleChange($event)\" (keyup)=\"$event.key === 'Enter' ? handleChange($event) : null\" />\n <label class=\"govuk-label govuk-radios__label\" [for]=\"cat.category_id\">\n <img class=\"iconImg\" src=\"/assets/images/folder.png\" alt=\"Folder icon\" />\n {{ cat.category_name }}\n </label>\n <ng-container *ngFor=\"let subcat of cat.sub_categories\">\n <ng-container *ngTemplateOutlet=\"folder;context:{cat:subcat,level:level+1}\"></ng-container>\n </ng-container>\n </div>\n</ng-template>", styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #CCC;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #CCC}.folders>.folder{display:block}input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat center center;cursor:pointer}.cancel{cursor:pointer}.cdk-overlay-pane{overflow:auto;background:#fff}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}\n"] }]
|
|
24345
24491
|
}], () => [{ type: i1$3.MatLegacyDialogRef }, { type: undefined, decorators: [{
|
|
24346
24492
|
type: Inject,
|
|
24347
24493
|
args: [MAT_LEGACY_DIALOG_DATA]
|
|
24348
24494
|
}] }], null); })();
|
|
24349
24495
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSelectorComponent, { className: "CaseFileViewFolderSelectorComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.ts", lineNumber: 12 }); })();
|
|
24350
24496
|
|
|
24351
|
-
const _c0$
|
|
24497
|
+
const _c0$u = [[["", "trigger", ""]]];
|
|
24352
24498
|
const _c1$9 = ["[trigger]"];
|
|
24353
24499
|
function CaseFileViewOverlayMenuComponent_ng_template_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
24354
24500
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -24423,7 +24569,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24423
24569
|
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
24424
24570
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], ["tabindex", "0", 1, "overlay-menu__item", 3, "click", "keydown.enter"], ["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) {
|
|
24425
24571
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24426
|
-
i0.ɵɵprojectionDef(_c0$
|
|
24572
|
+
i0.ɵɵprojectionDef(_c0$u);
|
|
24427
24573
|
i0.ɵɵelementStart(0, "div")(1, "button", 1, 0);
|
|
24428
24574
|
i0.ɵɵlistener("click", function CaseFileViewOverlayMenuComponent_Template_button_click_1_listener($event) { i0.ɵɵrestoreView(_r1); $event.stopPropagation(); return i0.ɵɵresetView(ctx.setOpen()); });
|
|
24429
24575
|
i0.ɵɵprojection(3);
|
|
@@ -25092,7 +25238,7 @@ class CaseFileViewFolderComponent {
|
|
|
25092
25238
|
}] }); })();
|
|
25093
25239
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderComponent, { className: "CaseFileViewFolderComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts", lineNumber: 27 }); })();
|
|
25094
25240
|
|
|
25095
|
-
const _c0$
|
|
25241
|
+
const _c0$t = a0 => ({ "form-group-error": a0 });
|
|
25096
25242
|
function AddCommentsComponent_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
25097
25243
|
i0.ɵɵelementStart(0, "span");
|
|
25098
25244
|
i0.ɵɵtext(1);
|
|
@@ -25246,7 +25392,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
25246
25392
|
} if (rf & 2) {
|
|
25247
25393
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
25248
25394
|
i0.ɵɵadvance(2);
|
|
25249
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$
|
|
25395
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(19, _c0$t, ctx.errorMessages.length > 0));
|
|
25250
25396
|
i0.ɵɵadvance(2);
|
|
25251
25397
|
i0.ɵɵproperty("for", ctx.flagCommentsControlName);
|
|
25252
25398
|
i0.ɵɵadvance();
|
|
@@ -25293,7 +25439,7 @@ function CaseFlagSummaryListComponent_dl_0_div_27_Template(rf, ctx) { if (rf & 1
|
|
|
25293
25439
|
i0.ɵɵtext(5);
|
|
25294
25440
|
i0.ɵɵelementEnd();
|
|
25295
25441
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
25296
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_27_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2);
|
|
25442
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_27_Template_a_click_7_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : ctx_r1.caseFlagFieldState.FLAG_TYPE); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25297
25443
|
i0.ɵɵtext(8);
|
|
25298
25444
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
25299
25445
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -25321,7 +25467,7 @@ function CaseFlagSummaryListComponent_dl_0_div_28_Template(rf, ctx) { if (rf & 1
|
|
|
25321
25467
|
i0.ɵɵtext(5);
|
|
25322
25468
|
i0.ɵɵelementEnd();
|
|
25323
25469
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
25324
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_28_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2);
|
|
25470
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_28_Template_a_click_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_COMMENTS); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25325
25471
|
i0.ɵɵtext(8);
|
|
25326
25472
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
25327
25473
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -25349,7 +25495,7 @@ function CaseFlagSummaryListComponent_dl_0_div_29_Template(rf, ctx) { if (rf & 1
|
|
|
25349
25495
|
i0.ɵɵtext(5);
|
|
25350
25496
|
i0.ɵɵelementEnd();
|
|
25351
25497
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
25352
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_29_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2);
|
|
25498
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_29_Template_a_click_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : ctx_r1.caseFlagFieldState.FLAG_COMMENTS); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25353
25499
|
i0.ɵɵtext(8);
|
|
25354
25500
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
25355
25501
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -25370,7 +25516,7 @@ function CaseFlagSummaryListComponent_dl_0_div_29_Template(rf, ctx) { if (rf & 1
|
|
|
25370
25516
|
function CaseFlagSummaryListComponent_dl_0_a_38_Template(rf, ctx) { if (rf & 1) {
|
|
25371
25517
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
25372
25518
|
i0.ɵɵelementStart(0, "a", 6);
|
|
25373
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_a_38_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2);
|
|
25519
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_a_38_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_STATUS); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25374
25520
|
i0.ɵɵtext(1);
|
|
25375
25521
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
25376
25522
|
i0.ɵɵelementStart(3, "span", 7);
|
|
@@ -25393,7 +25539,7 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
25393
25539
|
i0.ɵɵtext(6);
|
|
25394
25540
|
i0.ɵɵelementEnd();
|
|
25395
25541
|
i0.ɵɵelementStart(7, "dd", 5)(8, "a", 6);
|
|
25396
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext();
|
|
25542
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_8_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : ctx_r1.caseFlagFieldState.FLAG_LOCATION); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25397
25543
|
i0.ɵɵtext(9);
|
|
25398
25544
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
25399
25545
|
i0.ɵɵelementStart(11, "span", 7);
|
|
@@ -25408,7 +25554,7 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
25408
25554
|
i0.ɵɵtext(19);
|
|
25409
25555
|
i0.ɵɵelementEnd();
|
|
25410
25556
|
i0.ɵɵelementStart(20, "dd", 5)(21, "a", 6);
|
|
25411
|
-
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext();
|
|
25557
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_21_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_TYPE); return i0.ɵɵresetView($event.preventDefault()); });
|
|
25412
25558
|
i0.ɵɵtext(22);
|
|
25413
25559
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
25414
25560
|
i0.ɵɵelementStart(24, "span", 7);
|
|
@@ -25559,7 +25705,7 @@ class CaseFlagSummaryListComponent {
|
|
|
25559
25705
|
this.displayContextParameter === CaseFlagDisplayContextParameter.UPDATE_2_POINT_1;
|
|
25560
25706
|
}
|
|
25561
25707
|
static ɵfac = function CaseFlagSummaryListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagSummaryListComponent)(i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
|
|
25562
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", displayContextParameter: "displayContextParameter" }, outputs: { changeButtonEmitter: "changeButtonEmitter" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "
|
|
25708
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", displayContextParameter: "displayContextParameter" }, outputs: { changeButtonEmitter: "changeButtonEmitter" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "#", 1, "govuk-link", 3, "click"], [1, "govuk-visually-hidden"], ["class", "govuk-summary-list__row", 4, "ngIf"], ["class", "govuk-link", "href", "#", 3, "click", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25563
25709
|
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 39, 30, "dl", 0);
|
|
25564
25710
|
} if (rf & 2) {
|
|
25565
25711
|
i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
|
|
@@ -25567,7 +25713,7 @@ class CaseFlagSummaryListComponent {
|
|
|
25567
25713
|
}
|
|
25568
25714
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
|
|
25569
25715
|
type: Component,
|
|
25570
|
-
args: [{ selector: 'ccd-case-flag-summary-list', template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"
|
|
25716
|
+
args: [{ selector: 'ccd-case-flag-summary-list', template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : caseFlagFieldState.FLAG_LOCATION); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'party name' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{flagTypeHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescription}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'flag type' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagDescriptionWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Other description (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescriptionWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_TYPE); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'other description (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{externalUserUpdate ? flagUpdateComments : flagComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagCommentsWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagCommentsWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_COMMENTS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{'Status' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagStatus | rpxTranslate}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"is2Point1Enabled\" class=\"govuk-link\" href=\"#\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_STATUS); $event.preventDefault()\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'status' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n</dl>\n" }]
|
|
25571
25717
|
}], () => [{ type: i1.RpxTranslationService }], { flagForSummaryDisplay: [{
|
|
25572
25718
|
type: Input
|
|
25573
25719
|
}], displayContextParameter: [{
|
|
@@ -25780,7 +25926,7 @@ class CaseFlagTableComponent {
|
|
|
25780
25926
|
}] }); })();
|
|
25781
25927
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFlagTableComponent, { className: "CaseFlagTableComponent", filePath: "lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.ts", lineNumber: 10 }); })();
|
|
25782
25928
|
|
|
25783
|
-
const _c0$
|
|
25929
|
+
const _c0$s = a0 => ({ "form-group-error": a0 });
|
|
25784
25930
|
function ManageCaseFlagsComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
25785
25931
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
25786
25932
|
i0.ɵɵtext(2);
|
|
@@ -26091,7 +26237,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
26091
26237
|
} if (rf & 2) {
|
|
26092
26238
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26093
26239
|
i0.ɵɵadvance();
|
|
26094
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
26240
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$s, ctx.errorMessages.length > 0));
|
|
26095
26241
|
i0.ɵɵadvance(4);
|
|
26096
26242
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.manageCaseFlagTitle), " ");
|
|
26097
26243
|
i0.ɵɵadvance(2);
|
|
@@ -26177,7 +26323,7 @@ var SearchLanguageInterpreterControlNames;
|
|
|
26177
26323
|
SearchLanguageInterpreterControlNames["MANUAL_LANGUAGE_ENTRY"] = "manualLanguageEntry";
|
|
26178
26324
|
})(SearchLanguageInterpreterControlNames || (SearchLanguageInterpreterControlNames = {}));
|
|
26179
26325
|
|
|
26180
|
-
const _c0$
|
|
26326
|
+
const _c0$r = a0 => ({ "form-group-error": a0 });
|
|
26181
26327
|
function SearchLanguageInterpreterComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
26182
26328
|
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
26183
26329
|
i0.ɵɵtext(2);
|
|
@@ -26269,7 +26415,7 @@ function SearchLanguageInterpreterComponent_div_24_Template(rf, ctx) { if (rf &
|
|
|
26269
26415
|
} if (rf & 2) {
|
|
26270
26416
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
26271
26417
|
i0.ɵɵadvance();
|
|
26272
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26418
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$r, ctx_r1.languageNotEnteredErrorMessage || ctx_r1.languageCharLimitErrorMessage));
|
|
26273
26419
|
i0.ɵɵadvance(2);
|
|
26274
26420
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 6, ctx_r1.searchLanguageInterpreterStep.INPUT_LABEL));
|
|
26275
26421
|
i0.ɵɵadvance(2);
|
|
@@ -26443,7 +26589,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26443
26589
|
const autoSearchLanguage_r4 = i0.ɵɵreference(14);
|
|
26444
26590
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26445
26591
|
i0.ɵɵadvance();
|
|
26446
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$
|
|
26592
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(23, _c0$r, ctx.languageNotSelectedErrorMessage || ctx.languageEnteredInBothFieldsErrorMessage));
|
|
26447
26593
|
i0.ɵɵadvance(2);
|
|
26448
26594
|
i0.ɵɵproperty("for", ctx.SearchLanguageInterpreterControlNames.LANGUAGE_SEARCH_TERM);
|
|
26449
26595
|
i0.ɵɵadvance();
|
|
@@ -26480,7 +26626,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
26480
26626
|
}] }); })();
|
|
26481
26627
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchLanguageInterpreterComponent, { className: "SearchLanguageInterpreterComponent", filePath: "lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.ts", lineNumber: 20 }); })();
|
|
26482
26628
|
|
|
26483
|
-
const _c0$
|
|
26629
|
+
const _c0$q = a0 => ({ "form-group-error": a0 });
|
|
26484
26630
|
function SelectFlagLocationComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
26485
26631
|
i0.ɵɵelementStart(0, "div", 8)(1, "span", 9);
|
|
26486
26632
|
i0.ɵɵtext(2);
|
|
@@ -26656,7 +26802,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26656
26802
|
} if (rf & 2) {
|
|
26657
26803
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
26658
26804
|
i0.ɵɵadvance();
|
|
26659
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
26805
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$q, ctx.errorMessages.length > 0));
|
|
26660
26806
|
i0.ɵɵadvance(4);
|
|
26661
26807
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, ctx.flagLocationTitle), " ");
|
|
26662
26808
|
i0.ɵɵadvance(2);
|
|
@@ -26679,7 +26825,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
26679
26825
|
}] }); })();
|
|
26680
26826
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagLocationComponent, { className: "SelectFlagLocationComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.ts", lineNumber: 12 }); })();
|
|
26681
26827
|
|
|
26682
|
-
const _c0$
|
|
26828
|
+
const _c0$p = a0 => ({ "form-group-error": a0 });
|
|
26683
26829
|
const _c1$8 = a0 => ({ "govuk-input--error": a0 });
|
|
26684
26830
|
function SelectFlagTypeComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
26685
26831
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -26775,7 +26921,7 @@ function SelectFlagTypeComponent_ng_container_0_div_11_Template(rf, ctx) { if (r
|
|
|
26775
26921
|
} if (rf & 2) {
|
|
26776
26922
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
26777
26923
|
i0.ɵɵadvance();
|
|
26778
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
26924
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$p, ctx_r0.flagTypeErrorMessage.length > 0));
|
|
26779
26925
|
i0.ɵɵadvance(2);
|
|
26780
26926
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.isDisplayContextParameterExternal ? i0.ɵɵpipeBind1(4, 7, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL) : i0.ɵɵpipeBind1(5, 9, ctx_r0.caseFlagWizardStepTitle.OTHER_FLAG_TYPE_DESCRIPTION), " ");
|
|
26781
26927
|
i0.ɵɵadvance(3);
|
|
@@ -26800,7 +26946,7 @@ function SelectFlagTypeComponent_ng_container_0_Template(rf, ctx) { if (rf & 1)
|
|
|
26800
26946
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
26801
26947
|
i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
|
|
26802
26948
|
i0.ɵɵadvance();
|
|
26803
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
26949
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$p, ctx_r0.flagTypeNotSelectedErrorMessage.length > 0));
|
|
26804
26950
|
i0.ɵɵadvance(4);
|
|
26805
26951
|
i0.ɵɵproperty("ngIf", !ctx_r0.cachedFlagType || ctx_r0.subJourneyIndex == 0)("ngIfElse", priorFlagTypeSelected_r4);
|
|
26806
26952
|
i0.ɵɵadvance(3);
|
|
@@ -27127,7 +27273,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
27127
27273
|
}] }); })();
|
|
27128
27274
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectFlagTypeComponent, { className: "SelectFlagTypeComponent", filePath: "lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.ts", lineNumber: 19 }); })();
|
|
27129
27275
|
|
|
27130
|
-
const _c0$
|
|
27276
|
+
const _c0$o = a0 => ({ "form-group-error": a0 });
|
|
27131
27277
|
const _c1$7 = a0 => ({ "govuk-tag--grey": a0 });
|
|
27132
27278
|
function UpdateFlagComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
27133
27279
|
i0.ɵɵelementStart(0, "div", 15);
|
|
@@ -27613,7 +27759,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27613
27759
|
const externalUser_r5 = i0.ɵɵreference(17);
|
|
27614
27760
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27615
27761
|
i0.ɵɵadvance(2);
|
|
27616
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
27762
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0$o, ctx.errorMessages.length > 0));
|
|
27617
27763
|
i0.ɵɵadvance(3);
|
|
27618
27764
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 12, ctx.updateFlagTitle), " ");
|
|
27619
27765
|
i0.ɵɵadvance(2);
|
|
@@ -27646,7 +27792,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
27646
27792
|
}] }); })();
|
|
27647
27793
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagComponent, { className: "UpdateFlagComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.ts", lineNumber: 22 }); })();
|
|
27648
27794
|
|
|
27649
|
-
const _c0$
|
|
27795
|
+
const _c0$n = a0 => ({ "form-group-error": a0 });
|
|
27650
27796
|
function UpdateFlagAddTranslationFormComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
27651
27797
|
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
27652
27798
|
i0.ɵɵtext(2);
|
|
@@ -27854,7 +28000,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27854
28000
|
} if (rf & 2) {
|
|
27855
28001
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
27856
28002
|
i0.ɵɵadvance(2);
|
|
27857
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$
|
|
28003
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(52, _c0$n, ctx.errorMessages.length > 0));
|
|
27858
28004
|
i0.ɵɵadvance(3);
|
|
27859
28005
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 32, ctx.updateFlagAddTranslationTitle), " ");
|
|
27860
28006
|
i0.ɵɵadvance(3);
|
|
@@ -27911,7 +28057,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27911
28057
|
}] }); })();
|
|
27912
28058
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UpdateFlagAddTranslationFormComponent, { className: "UpdateFlagAddTranslationFormComponent", filePath: "lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.ts", lineNumber: 18 }); })();
|
|
27913
28059
|
|
|
27914
|
-
const _c0$
|
|
28060
|
+
const _c0$m = a0 => ({ "form-group-error": a0 });
|
|
27915
28061
|
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
27916
28062
|
i0.ɵɵelementStart(0, "div", 13);
|
|
27917
28063
|
i0.ɵɵelement(1, "input", 14);
|
|
@@ -28046,7 +28192,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
28046
28192
|
} if (rf & 2) {
|
|
28047
28193
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
28048
28194
|
i0.ɵɵadvance(2);
|
|
28049
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$
|
|
28195
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(17, _c0$m, ctx.errorMessages.length > 0));
|
|
28050
28196
|
i0.ɵɵadvance(4);
|
|
28051
28197
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 11, ctx.confirmFlagStatusTitle), " ");
|
|
28052
28198
|
i0.ɵɵadvance(3);
|
|
@@ -28326,7 +28472,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
28326
28472
|
}]
|
|
28327
28473
|
}], () => [{ type: i1.RpxTranslationService }, { type: i0.ChangeDetectorRef }], null); })();
|
|
28328
28474
|
|
|
28329
|
-
const _c0$
|
|
28475
|
+
const _c0$l = (a0, a1, a2) => [a0, false, undefined, true, a1, a2];
|
|
28330
28476
|
function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28331
28477
|
i0.ɵɵelementContainerStart(0);
|
|
28332
28478
|
i0.ɵɵelementStart(1, "dt", 2)(2, "span", 3);
|
|
@@ -28363,7 +28509,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28363
28509
|
i0.ɵɵelementEnd();
|
|
28364
28510
|
} if (rf & 2) {
|
|
28365
28511
|
i0.ɵɵadvance();
|
|
28366
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$
|
|
28512
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(2, 1, i0.ɵɵpureFunction3(8, _c0$l, ctx.caseField, ctx.topLevelFormGroup, ctx.id())));
|
|
28367
28513
|
} }, 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}"] });
|
|
28368
28514
|
}
|
|
28369
28515
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
@@ -28374,7 +28520,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
28374
28520
|
}] }); })();
|
|
28375
28521
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldRawComponent, { className: "ReadComplexFieldRawComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-raw.component.ts", lineNumber: 16 }); })();
|
|
28376
28522
|
|
|
28377
|
-
const _c0$
|
|
28523
|
+
const _c0$k = (a0, a1, a2, a3) => [a0, false, undefined, true, a1, a2, a3];
|
|
28378
28524
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28379
28525
|
i0.ɵɵelementContainerStart(0);
|
|
28380
28526
|
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
|
|
@@ -28452,7 +28598,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
28452
28598
|
i0.ɵɵadvance(4);
|
|
28453
28599
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
28454
28600
|
i0.ɵɵadvance(5);
|
|
28455
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$
|
|
28601
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction4(12, _c0$k, ctx.caseField, ctx.topLevelFormGroup, ctx.path, ctx.idPrefix)));
|
|
28456
28602
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;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 > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_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}"] });
|
|
28457
28603
|
}
|
|
28458
28604
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
@@ -28471,7 +28617,7 @@ function ReadComplexFieldCollectionTableComponent_th_10_Template(rf, ctx) { if (
|
|
|
28471
28617
|
i0.ɵɵelementEnd();
|
|
28472
28618
|
i0.ɵɵelementStart(4, "a", 9);
|
|
28473
28619
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
28474
|
-
i0.ɵɵlistener("click", function ReadComplexFieldCollectionTableComponent_th_10_Template_a_click_4_listener() { const heading_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(
|
|
28620
|
+
i0.ɵɵlistener("click", function ReadComplexFieldCollectionTableComponent_th_10_Template_a_click_4_listener($event) { const heading_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); ctx_r2.sortRowsByColumns(heading_r2); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function ReadComplexFieldCollectionTableComponent_th_10_Template_a_keyup_enter_4_listener() { const heading_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.sortRowsByColumns(heading_r2)); });
|
|
28475
28621
|
i0.ɵɵelementEnd()();
|
|
28476
28622
|
} if (rf & 2) {
|
|
28477
28623
|
const heading_r2 = ctx.$implicit;
|
|
@@ -28632,6 +28778,7 @@ function ReadComplexFieldCollectionTableComponent_ng_container_12_Template(rf, c
|
|
|
28632
28778
|
i0.ɵɵlistener("keyup", function ReadComplexFieldCollectionTableComponent_ng_container_12_Template_tr_keyup_1_listener($event) { const i_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView($event.key === "Enter" ? (ctx_r2.isHidden[i_r5] = !ctx_r2.isHidden[i_r5]) : null); })("click", function ReadComplexFieldCollectionTableComponent_ng_container_12_Template_tr_click_1_listener() { const i_r5 = i0.ɵɵrestoreView(_r4).index; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView((ctx_r2.isHidden[i_r5] = !ctx_r2.isHidden[i_r5])); });
|
|
28633
28779
|
i0.ɵɵtemplate(2, ReadComplexFieldCollectionTableComponent_ng_container_12_ng_container_2_Template, 5, 2, "ng-container", 7);
|
|
28634
28780
|
i0.ɵɵelementStart(3, "td")(4, "div", 11)(5, "a", 12);
|
|
28781
|
+
i0.ɵɵlistener("click", function ReadComplexFieldCollectionTableComponent_ng_container_12_Template_a_click_5_listener($event) { i0.ɵɵrestoreView(_r4); return i0.ɵɵresetView($event.preventDefault()); });
|
|
28635
28782
|
i0.ɵɵelement(6, "img", 13);
|
|
28636
28783
|
i0.ɵɵelementEnd()()()();
|
|
28637
28784
|
i0.ɵɵelementStart(7, "tr", 14)(8, "td", 15)(9, "table", 16)(10, "tbody");
|
|
@@ -28808,7 +28955,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28808
28955
|
return result;
|
|
28809
28956
|
}
|
|
28810
28957
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldCollectionTableComponent_BaseFactory; return function ReadComplexFieldCollectionTableComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldCollectionTableComponent_BaseFactory || (ɵReadComplexFieldCollectionTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldCollectionTableComponent)))(__ngFactoryType__ || ReadComplexFieldCollectionTableComponent); }; })();
|
|
28811
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldCollectionTableComponent, selectors: [["ccd-read-complex-field-collection-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 6, consts: [["showEmptyTd", ""], ["SimpleRow", ""], [1, "complex-panel", 3, "hidden"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex panel table", 1, "complex-panel-table"], ["scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["scope", "col"], ["href", "
|
|
28958
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldCollectionTableComponent, selectors: [["ccd-read-complex-field-collection-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 6, consts: [["showEmptyTd", ""], ["SimpleRow", ""], [1, "complex-panel", 3, "hidden"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex panel table", 1, "complex-panel-table"], ["scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["scope", "col"], ["href", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], [1, "new-table-row", "accordion-heading", 3, "keyup", "click"], [2, "float", "right"], ["href", "#", 3, "click"], ["alt", "accordion-img", 1, "accordion-image", 3, "src"], [3, "hidden"], [3, "colSpan"], ["aria-describedby", "complex panel table expanded", 1, "complex-panel-table"], [4, "ngIf", "ngIfElse"], [3, "caseField", "context"], ["class", "complex-panel-simple-field accordion-body", 3, "hidden", 4, "ngIf"], [3, "hidden", 4, "ngIf"], [1, "complex-panel-simple-field", "accordion-body", 3, "hidden"], ["class", "text-16", 4, "ngIf"], ["colspan", "2"], ["class", "complex-panel-compound-field", 3, "hidden", 4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], [1, "complex-panel-nested-field", 3, "hidden"], [4, "ngIf"]], template: function ReadComplexFieldCollectionTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28812
28959
|
i0.ɵɵelementStart(0, "div", 2)(1, "dl", 3)(2, "dt")(3, "span", 4);
|
|
28813
28960
|
i0.ɵɵtext(4);
|
|
28814
28961
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -28833,11 +28980,11 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28833
28980
|
}
|
|
28834
28981
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldCollectionTableComponent, [{
|
|
28835
28982
|
type: Component,
|
|
28836
|
-
args: [{ selector: 'ccd-read-complex-field-collection-table', template: "<div class=\"complex-panel\" [hidden]=\"caseField.hidden\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table\">\n <tbody>\n <!-- <COMPLEX table field header>-->\n <tr>\n <th *ngFor=\"let heading of columns\" scope=\"col\">\n <span class=\"text-16\">{{columnsAllLabels[heading].label | rpxTranslate}}</span>\n <a href=\"
|
|
28983
|
+
args: [{ selector: 'ccd-read-complex-field-collection-table', template: "<div class=\"complex-panel\" [hidden]=\"caseField.hidden\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table\">\n <tbody>\n <!-- <COMPLEX table field header>-->\n <tr>\n <th *ngFor=\"let heading of columns\" scope=\"col\">\n <span class=\"text-16\">{{columnsAllLabels[heading].label | rpxTranslate}}</span>\n <a href=\"#\"\n (click)=\"sortRowsByColumns(heading); $event.preventDefault()\"\n (keyup.enter)=\"sortRowsByColumns(heading)\"\n class=\"sort-widget\"\n [attr.aria-label]=\"'Sort ' + columnsAllLabels[heading].label | rpxTranslate\"\n [innerHTML]=\"sortWidget(columnsAllLabels[heading])\"></a>\n </th>\n <th></th>\n </tr>\n <!-- </COMPLEX table field header>-->\n <ng-container *ngFor=\"let item of rows; let i = index;\">\n <!-- <COMPLEX table collapsed view>-->\n <tr class=\"new-table-row accordion-heading\" (keyup)=\"$event.key === 'Enter' ? (isHidden[i] = !isHidden[i]) : null\" (click)=\"isHidden[i] = !isHidden[i]\"\n [class.last-accordion]=\"isHidden[i]\">\n <ng-container *ngFor=\"let heading of columns\">\n <td class=\"text-16\">\n <div *ngIf=\"item[heading]; else showEmptyTd\">\n <ccd-field-read\n [caseField]=\"toCaseField(heading, item[heading].label, columnsHorizontalLabel[heading].type, item[heading])\"\n [context]=\"context\"></ccd-field-read>\n </div>\n <ng-template #showEmptyTd>\n <div> </div>\n </ng-template>\n </td>\n </ng-container>\n <td>\n <div style=\"float: right;\">\n <a href=\"#\" (click)=\"$event.preventDefault()\"> <img src=\"{{ getImage(i) }}\" alt=\"accordion-img\" class=\"accordion-image\"/></a>\n </div>\n </td>\n </tr>\n <!-- </COMPLEX table collapsed view>-->\n <!-- <COMPLEX table expanded view>-->\n <tr [hidden]=\"isHidden[i]\">\n <td [colSpan]=\"columns.length + 1\">\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table expanded\">\n <tbody>\n <ng-container\n *ngFor=\"let vLabel of columnsVerticalLabel | keyvalue: keepOriginalOrder | ccdCollectionTableCaseFieldsFilter: caseField: rows[i] | ccdReadFieldsFilter:true :undefined :true\">\n <!-- <COMPLEX table expandable body simple field>-->\n <tr class=\"complex-panel-simple-field accordion-body\" *ngIf=\"item[vLabel.id]\" [hidden]=\"vLabel.hidden\">\n <th scope=\"col\"><span class=\"text-16\">{{ vLabel.label | rpxTranslate }}</span></th>\n <td *ngIf=\"vLabel['type'] !== 'Complex'\" class=\"text-16\">\n <ccd-field-read [caseField]=\"toCaseField('', vLabel.label, vLabel.field_type, item[vLabel.id])\"\n [context]=\"context\"></ccd-field-read>\n </td>\n </tr>\n <!-- </COMPLEX table expandable body simple field>-->\n\n <!-- <COMPLEX table expandable body complex field>-->\n <tr *ngIf=\"vLabel['type'] === 'Complex' && addCaseFieldValue(vLabel, item[vLabel.id])\" [hidden]=\"vLabel.hidden\">\n <td colspan=\"2\">\n <ng-container *ngFor=\"let caseField of vLabel | ccdReadFieldsFilter:true :undefined :true\">\n <tr class=\"complex-panel-compound-field\" *ngIf=\"(caseField | ccdIsCompound); else SimpleRow\" [hidden]=\"caseField\">\n <td colspan=\"2\">\n <span class=\"text-16\"><ccd-field-read [caseField]=\"caseField\" [context]=\"context\"></ccd-field-read></span>\n </td>\n </tr>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-nested-field\" [hidden]=\"caseField.hidden\">\n <th scope=\"col\"><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></th>\n <td *ngIf=\"!item[vLabel.id]?.hasOwnProperty('CaseReference')\">\n <span class=\"text-16\"><ccd-field-read [caseField]=\"caseField\" [context]=\"context\"></ccd-field-read></span>\n </td>\n <td *ngIf=\"item[vLabel.id]?.hasOwnProperty('CaseReference')\">\n <ccd-read-case-link-field [caseField]=\"addCaseReferenceValue(caseField, item[vLabel.id].CaseReference)\" [context]=\"context\"></ccd-read-case-link-field>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </td>\n </tr>\n <!-- <COMPLEX table expandable body complex field>-->\n </ng-container>\n </tbody>\n </table>\n </td>\n </tr>\n <!-- </COMPLEX table expanded view>-->\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;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 .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th{border-bottom:none}.complex-panel .complex-panel-table th{padding-left:5px;font-weight:700;border-bottom:none}.complex-panel .complex-panel-table td{padding-left:5px;padding-top:0;padding-bottom:0;border-bottom:none}.complex-panel .new-table-row{border-top:1px solid #bfc1c3}.complex-panel .complex-panel-simple-field th{padding-left:5px;padding-top:0;padding-bottom:0;width:295px}.complex-panel .complex-panel-nested-field th{padding-left:33px;padding-top:0;padding-bottom:0;width:200px}.complex-panel .complex-panel-compound-field td{padding:5px;border-bottom:none}.sort-widget{cursor:pointer;text-decoration:none;color:#0b0c0c}.accordion-wrapper{margin-bottom:20px}.accordion-wrapper .heading-medium{margin:0}.accordion-wrapper .accordion-heading{border-top:1px solid #bfc1c3;padding-top:20px;padding-bottom:10px;height:20px;cursor:pointer}.accordion-wrapper .accordion-heading .accordion-image{width:25px;margin-right:20px}.accordion-wrapper .accordion-body{margin-top:20px;margin-right:20px}.accordion-wrapper .last-accordion{border-bottom:1px solid #bfc1c3;padding-bottom:30px}\n"] }]
|
|
28837
28984
|
}], null, null); })();
|
|
28838
28985
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
|
|
28839
28986
|
|
|
28840
|
-
const _c0$
|
|
28987
|
+
const _c0$j = a0 => ({ "form-group-error": a0 });
|
|
28841
28988
|
function WriteDateFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
28842
28989
|
i0.ɵɵelementStart(0, "span", 5);
|
|
28843
28990
|
i0.ɵɵtext(1);
|
|
@@ -28889,7 +29036,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28889
29036
|
i0.ɵɵpipe(7, "ccdIsMandatory");
|
|
28890
29037
|
i0.ɵɵelementEnd()();
|
|
28891
29038
|
} if (rf & 2) {
|
|
28892
|
-
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
29039
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(12, _c0$j, ctx.dateControl && !ctx.dateControl.valid && (ctx.dateControl.dirty || ctx.dateControl.touched)));
|
|
28893
29040
|
i0.ɵɵadvance(3);
|
|
28894
29041
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
28895
29042
|
i0.ɵɵadvance();
|
|
@@ -28918,7 +29065,7 @@ const CUSTOM_MOMENT_FORMATS = {
|
|
|
28918
29065
|
},
|
|
28919
29066
|
};
|
|
28920
29067
|
|
|
28921
|
-
const _c0$
|
|
29068
|
+
const _c0$i = ["picker"];
|
|
28922
29069
|
const _c1$6 = ["input"];
|
|
28923
29070
|
const _c2$2 = a0 => ({ "form-group-error": a0 });
|
|
28924
29071
|
function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -29136,7 +29283,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
29136
29283
|
}
|
|
29137
29284
|
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
29138
29285
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
29139
|
-
i0.ɵɵviewQuery(_c0$
|
|
29286
|
+
i0.ɵɵviewQuery(_c0$i, 5);
|
|
29140
29287
|
i0.ɵɵviewQuery(_c1$6, 5);
|
|
29141
29288
|
} if (rf & 2) {
|
|
29142
29289
|
let _t;
|
|
@@ -29324,7 +29471,7 @@ class EventLogDetailsComponent {
|
|
|
29324
29471
|
}] }); })();
|
|
29325
29472
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogDetailsComponent, { className: "EventLogDetailsComponent", filePath: "lib/shared/components/palette/history/event-log/event-log-details.component.ts", lineNumber: 9 }); })();
|
|
29326
29473
|
|
|
29327
|
-
const _c0$
|
|
29474
|
+
const _c0$h = a0 => ({ "EventLogTable-Selected": a0 });
|
|
29328
29475
|
const _c1$5 = a0 => ["./", "event", a0, "history"];
|
|
29329
29476
|
function EventLogTableComponent_tr_20_div_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
29330
29477
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
@@ -29454,7 +29601,7 @@ function EventLogTableComponent_tr_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
29454
29601
|
} if (rf & 2) {
|
|
29455
29602
|
const event_r2 = ctx.$implicit;
|
|
29456
29603
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
29457
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$
|
|
29604
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c0$h, ctx_r2.selected === event_r2));
|
|
29458
29605
|
i0.ɵɵattribute("aria-label", ctx_r2.getAriaLabelforRow(event_r2));
|
|
29459
29606
|
i0.ɵɵadvance(2);
|
|
29460
29607
|
i0.ɵɵproperty("ngSwitch", ctx_r2.isPartOfCaseTimeline);
|
|
@@ -29649,11 +29796,11 @@ class EventLogComponent {
|
|
|
29649
29796
|
}] }); })();
|
|
29650
29797
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventLogComponent, { className: "EventLogComponent", filePath: "lib/shared/components/palette/history/event-log/event-log.component.ts", lineNumber: 9 }); })();
|
|
29651
29798
|
|
|
29652
|
-
const _c0$
|
|
29799
|
+
const _c0$g = ["*"];
|
|
29653
29800
|
class RouterLinkComponent {
|
|
29654
29801
|
link;
|
|
29655
29802
|
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
29656
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$
|
|
29803
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$g, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29657
29804
|
i0.ɵɵprojectionDef();
|
|
29658
29805
|
i0.ɵɵelementStart(0, "a", 0);
|
|
29659
29806
|
i0.ɵɵprojection(1);
|
|
@@ -30175,7 +30322,7 @@ class OrderSummary {
|
|
|
30175
30322
|
PaymentTotal;
|
|
30176
30323
|
}
|
|
30177
30324
|
|
|
30178
|
-
const _c0$
|
|
30325
|
+
const _c0$f = ["ccdReadOrderSummaryRow", ""];
|
|
30179
30326
|
class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
30180
30327
|
feeValue;
|
|
30181
30328
|
ngOnInit() {
|
|
@@ -30188,7 +30335,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
30188
30335
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
30189
30336
|
}
|
|
30190
30337
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
30191
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
30338
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$f, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
30192
30339
|
i0.ɵɵelementStart(0, "td");
|
|
30193
30340
|
i0.ɵɵtext(1);
|
|
30194
30341
|
i0.ɵɵelementEnd();
|
|
@@ -30746,6 +30893,7 @@ class PaletteModule {
|
|
|
30746
30893
|
FormModule,
|
|
30747
30894
|
TabsModule,
|
|
30748
30895
|
LabelSubstitutorModule,
|
|
30896
|
+
TranslatedMarkdownModule,
|
|
30749
30897
|
MarkdownModule.forChild(),
|
|
30750
30898
|
NgxMatDatetimePickerModule,
|
|
30751
30899
|
NgxMatTimepickerModule,
|
|
@@ -30791,6 +30939,7 @@ class PaletteModule {
|
|
|
30791
30939
|
FormModule,
|
|
30792
30940
|
TabsModule,
|
|
30793
30941
|
LabelSubstitutorModule,
|
|
30942
|
+
TranslatedMarkdownModule,
|
|
30794
30943
|
MarkdownModule.forChild(),
|
|
30795
30944
|
NgxMatDatetimePickerModule,
|
|
30796
30945
|
NgxMatTimepickerModule,
|
|
@@ -31001,7 +31150,8 @@ class PaletteModule {
|
|
|
31001
31150
|
BodyModule,
|
|
31002
31151
|
FormModule,
|
|
31003
31152
|
TabsModule,
|
|
31004
|
-
LabelSubstitutorModule,
|
|
31153
|
+
LabelSubstitutorModule,
|
|
31154
|
+
TranslatedMarkdownModule, i2$1.MarkdownModule, NgxMatDatetimePickerModule,
|
|
31005
31155
|
NgxMatTimepickerModule,
|
|
31006
31156
|
NgxMatNativeDateModule,
|
|
31007
31157
|
MatLegacyFormFieldModule,
|
|
@@ -31245,7 +31395,7 @@ var CaseEditSubmitTitles;
|
|
|
31245
31395
|
CaseEditSubmitTitles["CHECK_YOUR_ANSWERS"] = "Check your answers";
|
|
31246
31396
|
})(CaseEditSubmitTitles || (CaseEditSubmitTitles = {}));
|
|
31247
31397
|
|
|
31248
|
-
const _c0$
|
|
31398
|
+
const _c0$e = (a0, a1) => [a0, false, undefined, true, a1];
|
|
31249
31399
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
31250
31400
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
31251
31401
|
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -31296,7 +31446,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
31296
31446
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
31297
31447
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
31298
31448
|
i0.ɵɵelementStart(0, "a", 13);
|
|
31299
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext(5).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(
|
|
31449
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext(5).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); ctx_r1.navigateToPage(page_r5.id); return i0.ɵɵresetView($event.preventDefault()); });
|
|
31300
31450
|
i0.ɵɵelementStart(1, "span", 20);
|
|
31301
31451
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
31302
31452
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -31367,7 +31517,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
31367
31517
|
const page_r5 = i0.ɵɵnextContext().$implicit;
|
|
31368
31518
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
31369
31519
|
i0.ɵɵadvance();
|
|
31370
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$
|
|
31520
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$e, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
|
|
31371
31521
|
} }
|
|
31372
31522
|
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
31373
31523
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -31830,7 +31980,7 @@ class CaseEditSubmitComponent {
|
|
|
31830
31980
|
return 'Cancel';
|
|
31831
31981
|
}
|
|
31832
31982
|
static ɵfac = function CaseEditSubmitComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(FormValidatorsService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
31833
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 25, vars: 24, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "
|
|
31983
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 25, vars: 24, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "#", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content", "text-16"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "#", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31834
31984
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
31835
31985
|
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
31836
31986
|
i0.ɵɵtext(2);
|
|
@@ -31854,7 +32004,7 @@ class CaseEditSubmitComponent {
|
|
|
31854
32004
|
i0.ɵɵpipe(20, "rpxTranslate");
|
|
31855
32005
|
i0.ɵɵelementEnd()();
|
|
31856
32006
|
i0.ɵɵelementStart(21, "p", 12)(22, "a", 13);
|
|
31857
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_Template_a_click_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(
|
|
32007
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_Template_a_click_22_listener($event) { i0.ɵɵrestoreView(_r1); ctx.cancel(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
31858
32008
|
i0.ɵɵtext(23);
|
|
31859
32009
|
i0.ɵɵpipe(24, "rpxTranslate");
|
|
31860
32010
|
i0.ɵɵelementEnd()()()();
|
|
@@ -31891,7 +32041,7 @@ class CaseEditSubmitComponent {
|
|
|
31891
32041
|
}
|
|
31892
32042
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
31893
32043
|
type: Component,
|
|
31894
|
-
args: [{ selector: 'ccd-case-edit-submit', template: "<div>\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content text-16\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"
|
|
32044
|
+
args: [{ selector: 'ccd-case-edit-submit', template: "<div>\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content text-16\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id); $event.preventDefault()\"\n href=\"#\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!summary && !summary.valid && (summary.dirty || summary.touched)}\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <span class=\"error-message\" *ngIf=\"summary?.errors && (summary.dirty || summary.touched)\">\n {{summary.errors | ccdFirstError: eventSummaryLabel | rpxTranslate}}\n </span>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\"\n [ngClass]=\"{'govuk-input--error': summary?.errors && (summary.dirty || summary.touched)}\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!description && !description.valid && (description.dirty || description.touched)}\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <span class=\"error-message\" *ngIf=\"description?.errors && (description.dirty || description.touched)\">\n {{description.errors | ccdFirstError: eventDescriptionLabel | rpxTranslate}}\n </span>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n [ngClass]=\"{'govuk-input--error': description?.errors && (description.dirty || description.touched)}\" maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n </div>\n <ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n </ccd-case-event-completion>\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel(); $event.preventDefault()\" href=\"#\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
|
|
31895
32045
|
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: MultipageComponentStateService }, { type: FormValidatorsService }, { type: CaseFlagStateService }, { type: LinkedCasesService }], null); })();
|
|
31896
32046
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditSubmitComponent, { className: "CaseEditSubmitComponent", filePath: "lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts", lineNumber: 30 }); })();
|
|
31897
32047
|
|
|
@@ -32607,7 +32757,7 @@ class PaginationComponent {
|
|
|
32607
32757
|
}] }); })();
|
|
32608
32758
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "lib/shared/components/pagination/pagination.component.ts", lineNumber: 12 }); })();
|
|
32609
32759
|
|
|
32610
|
-
const _c0$
|
|
32760
|
+
const _c0$d = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
32611
32761
|
function CaseListComponent_td_6_Template(rf, ctx) { if (rf & 1) {
|
|
32612
32762
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
32613
32763
|
i0.ɵɵelementStart(0, "td", 8)(1, "div", 9)(2, "input", 10);
|
|
@@ -32916,7 +33066,7 @@ class CaseListComponent {
|
|
|
32916
33066
|
i0.ɵɵadvance();
|
|
32917
33067
|
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
32918
33068
|
i0.ɵɵadvance(2);
|
|
32919
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$
|
|
33069
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$d, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32920
33070
|
i0.ɵɵadvance(2);
|
|
32921
33071
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32922
33072
|
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
@@ -34082,7 +34232,7 @@ function CaseTimelineComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf &
|
|
|
34082
34232
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
34083
34233
|
i0.ɵɵelementContainerStart(0);
|
|
34084
34234
|
i0.ɵɵelementStart(1, "div", 5)(2, "ol", 6)(3, "li", 7)(4, "a", 8);
|
|
34085
|
-
i0.ɵɵlistener("click", function CaseTimelineComponent_div_0_ng_container_3_Template_a_click_4_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
34235
|
+
i0.ɵɵlistener("click", function CaseTimelineComponent_div_0_ng_container_3_Template_a_click_4_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.goToCaseTimeline(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
34086
34236
|
i0.ɵɵtext(5);
|
|
34087
34237
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
34088
34238
|
i0.ɵɵelementEnd()()()();
|
|
@@ -34153,7 +34303,7 @@ class CaseTimelineComponent {
|
|
|
34153
34303
|
this.displayMode = CaseTimelineDisplayMode.TIMELINE;
|
|
34154
34304
|
}
|
|
34155
34305
|
static ɵfac = function CaseTimelineComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseTimelineComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
34156
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseTimelineComponent, selectors: [["ccd-case-timeline"]], inputs: { case: "case" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "events", "onCaseHistory", 4, "ngIf"], [3, "onCaseHistory", "events"], [1, "govuk-breadcrumbs"], [1, "govuk-breadcrumbs__list"], [1, "govuk-breadcrumbs__list-item"], ["href", "
|
|
34306
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseTimelineComponent, selectors: [["ccd-case-timeline"]], inputs: { case: "case" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "events", "onCaseHistory", 4, "ngIf"], [3, "onCaseHistory", "events"], [1, "govuk-breadcrumbs"], [1, "govuk-breadcrumbs__list"], [1, "govuk-breadcrumbs__list-item"], ["href", "#", 1, "govuk-back-link", 3, "click"], [3, "event"]], template: function CaseTimelineComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34157
34307
|
i0.ɵɵtemplate(0, CaseTimelineComponent_div_0_Template, 4, 3, "div", 0);
|
|
34158
34308
|
} if (rf & 2) {
|
|
34159
34309
|
i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
|
|
@@ -34161,7 +34311,7 @@ class CaseTimelineComponent {
|
|
|
34161
34311
|
}
|
|
34162
34312
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseTimelineComponent, [{
|
|
34163
34313
|
type: Component,
|
|
34164
|
-
args: [{ selector: 'ccd-case-timeline', template: "<div *ngIf=\"isDataLoaded()\">\n <ng-container [ngSwitch]=\"displayMode\">\n <ng-container *ngSwitchCase=\"dspMode.TIMELINE\">\n <ccd-event-log [events]=\"events\" (onCaseHistory)=\"caseHistoryClicked($event)\" *ngIf=\"displayMode === dspMode.TIMELINE\">\n </ccd-event-log>\n </ng-container>\n <ng-container *ngSwitchCase=\"dspMode.DETAILS\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"
|
|
34314
|
+
args: [{ selector: 'ccd-case-timeline', template: "<div *ngIf=\"isDataLoaded()\">\n <ng-container [ngSwitch]=\"displayMode\">\n <ng-container *ngSwitchCase=\"dspMode.TIMELINE\">\n <ccd-event-log [events]=\"events\" (onCaseHistory)=\"caseHistoryClicked($event)\" *ngIf=\"displayMode === dspMode.TIMELINE\">\n </ccd-event-log>\n </ng-container>\n <ng-container *ngSwitchCase=\"dspMode.DETAILS\">\n <div class=\"govuk-breadcrumbs\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"#\" (click)=\"goToCaseTimeline(); $event.preventDefault()\" class=\"govuk-back-link\">\n {{'Back to case timeline' | rpxTranslate}}\n </a>\n </li>\n </ol>\n </div>\n <ccd-case-history [event]=\"selectedEventId\"></ccd-case-history>\n </ng-container>\n </ng-container>\n</div>\n" }]
|
|
34165
34315
|
}], () => [{ type: CaseNotifier }, { type: CasesService }, { type: AlertService }], { case: [{
|
|
34166
34316
|
type: Input
|
|
34167
34317
|
}] }); })();
|
|
@@ -34378,6 +34528,7 @@ class EventTriggerResolver {
|
|
|
34378
34528
|
const cid = route.parent.paramMap.get(EventTriggerResolver.PARAM_CASE_ID);
|
|
34379
34529
|
// tslint:disable-next-line: prefer-const
|
|
34380
34530
|
let caseTypeId;
|
|
34531
|
+
const jurisdiction = route.parent.paramMap.get('jurisdiction');
|
|
34381
34532
|
const eventTriggerId = route.paramMap.get(EventTriggerResolver.PARAM_EVENT_ID);
|
|
34382
34533
|
let ignoreWarning = route.queryParamMap.get(EventTriggerResolver.IGNORE_WARNING);
|
|
34383
34534
|
if (-1 === EventTriggerResolver.IGNORE_WARNING_VALUES.indexOf(ignoreWarning)) {
|
|
@@ -34399,7 +34550,8 @@ class EventTriggerResolver {
|
|
|
34399
34550
|
this.alertService.setPreserveAlerts(true);
|
|
34400
34551
|
this.alertService.error(error.message);
|
|
34401
34552
|
this.errorNotifier.announceError(error);
|
|
34402
|
-
|
|
34553
|
+
caseTypeId = route.parent.paramMap.get('caseType');
|
|
34554
|
+
this.router.navigate([`/cases/case-details/${jurisdiction}/${caseTypeId}/${cid}/tasks`]);
|
|
34403
34555
|
return throwError(error);
|
|
34404
34556
|
})).toPromise();
|
|
34405
34557
|
}
|
|
@@ -34539,9 +34691,21 @@ class CaseEventTriggerComponent {
|
|
|
34539
34691
|
}
|
|
34540
34692
|
});
|
|
34541
34693
|
}
|
|
34694
|
+
// replace the old link with the new one with jurisdiction and case type id
|
|
34695
|
+
getNavigationUrl(url) {
|
|
34696
|
+
const urlRegex = /\/case-details\/(\d+)/;
|
|
34697
|
+
const match = url.match(urlRegex);
|
|
34698
|
+
if (match && /^\d+$/.test(match[1]) && this.caseDetails?.case_type) {
|
|
34699
|
+
const jurisdiction = this.caseDetails.case_type.jurisdiction.id;
|
|
34700
|
+
const id = this.caseDetails.case_type.id;
|
|
34701
|
+
return url.replace(urlRegex, `/case-details/${jurisdiction}/${id}/${match[1]}`);
|
|
34702
|
+
}
|
|
34703
|
+
return url;
|
|
34704
|
+
}
|
|
34542
34705
|
cancel() {
|
|
34543
|
-
|
|
34706
|
+
let previousUrl = this.routerCurrentNavigation?.previousNavigation?.finalUrl?.toString();
|
|
34544
34707
|
if (previousUrl) {
|
|
34708
|
+
previousUrl = this.getNavigationUrl(previousUrl);
|
|
34545
34709
|
if (previousUrl.indexOf('#') > -1) {
|
|
34546
34710
|
const url = previousUrl.split('#')[0];
|
|
34547
34711
|
const fragment = previousUrl.split('#')[1].replace(/%20/g, ' ');
|
|
@@ -34552,7 +34716,8 @@ class CaseEventTriggerComponent {
|
|
|
34552
34716
|
}
|
|
34553
34717
|
}
|
|
34554
34718
|
else {
|
|
34555
|
-
|
|
34719
|
+
const updatedUrl = this.getNavigationUrl(this.parentUrl);
|
|
34720
|
+
return this.router.navigate([updatedUrl]);
|
|
34556
34721
|
}
|
|
34557
34722
|
}
|
|
34558
34723
|
isDataLoaded() {
|
|
@@ -34825,7 +34990,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34825
34990
|
return accessType === 'CHALLENGED' ? 'challenged-access-request' : 'specific-access-request';
|
|
34826
34991
|
}
|
|
34827
34992
|
static ɵfac = function CaseBasicAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseBasicAccessViewComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
34828
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, decls: 29, vars: 23, consts: [[4, "ngIf"], ["type", "information"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "
|
|
34993
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, decls: 29, vars: 23, consts: [[4, "ngIf"], ["type", "information"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key", "summary-key"], [1, "govuk-summary-list__value"]], template: function CaseBasicAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34829
34994
|
i0.ɵɵtemplate(0, CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
34830
34995
|
i0.ɵɵelementStart(1, "div")(2, "cut-alert", 1);
|
|
34831
34996
|
i0.ɵɵtemplate(3, CaseBasicAccessViewComponent_ng_container_3_Template, 6, 11, "ng-container", 0)(4, CaseBasicAccessViewComponent_ng_container_4_Template, 3, 3, "ng-container", 0);
|
|
@@ -34848,7 +35013,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34848
35013
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
34849
35014
|
i0.ɵɵelementEnd();
|
|
34850
35015
|
i0.ɵɵelementStart(24, "div", 8)(25, "p")(26, "a", 9);
|
|
34851
|
-
i0.ɵɵlistener("click", function CaseBasicAccessViewComponent_Template_a_click_26_listener() {
|
|
35016
|
+
i0.ɵɵlistener("click", function CaseBasicAccessViewComponent_Template_a_click_26_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
34852
35017
|
i0.ɵɵtext(27);
|
|
34853
35018
|
i0.ɵɵpipe(28, "rpxTranslate");
|
|
34854
35019
|
i0.ɵɵelementEnd()()()();
|
|
@@ -34886,7 +35051,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34886
35051
|
}
|
|
34887
35052
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseBasicAccessViewComponent, [{
|
|
34888
35053
|
type: Component,
|
|
34889
|
-
args: [{ selector: 'ccd-case-basic-access-view', template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Access' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase | rpxTranslate}}</dd>\n </div>\n </dl>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" [routerLink]=\"getRequestUrl(accessType)\">\n {{'Request access' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel()\" href=\"
|
|
35054
|
+
args: [{ selector: 'ccd-case-basic-access-view', template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Access' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase | rpxTranslate}}</dd>\n </div>\n </dl>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" [routerLink]=\"getRequestUrl(accessType)\">\n {{'Request access' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n</div>\n" }]
|
|
34890
35055
|
}], () => [{ type: CasesService }, { type: i1$1.Router }], { caseDetails: [{
|
|
34891
35056
|
type: Input
|
|
34892
35057
|
}], accessType: [{
|
|
@@ -34996,7 +35161,7 @@ class DialogsModule {
|
|
|
34996
35161
|
SaveOrDiscardDialogComponent,
|
|
34997
35162
|
RemoveDialogComponent] }); })();
|
|
34998
35163
|
|
|
34999
|
-
const _c0$
|
|
35164
|
+
const _c0$c = ["tabGroup"];
|
|
35000
35165
|
const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
|
|
35001
35166
|
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
35002
35167
|
i0.ɵɵelementStart(0, "div", 12)(1, "h1", 13);
|
|
@@ -35462,7 +35627,7 @@ class CaseFullAccessViewComponent {
|
|
|
35462
35627
|
}
|
|
35463
35628
|
// found tasks or hearing tab
|
|
35464
35629
|
if (foundTab) {
|
|
35465
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35630
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
35466
35631
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
|
|
35467
35632
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35468
35633
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35477,7 +35642,7 @@ class CaseFullAccessViewComponent {
|
|
|
35477
35642
|
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
35478
35643
|
// select the first tab checking if the tab is visible
|
|
35479
35644
|
const preSelectTab = this.findPreSelectedActiveTab();
|
|
35480
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35645
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
35481
35646
|
matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
|
|
35482
35647
|
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
35483
35648
|
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
@@ -35524,14 +35689,21 @@ class CaseFullAccessViewComponent {
|
|
|
35524
35689
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
35525
35690
|
const tab = matTab['_viewContainerRef'];
|
|
35526
35691
|
const id = tab.element.nativeElement.id;
|
|
35527
|
-
// cases/case-details/:caseId/hearings
|
|
35528
|
-
// cases/case-details/:caseId/roles-and-access
|
|
35529
|
-
this.router.navigate([
|
|
35692
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/hearings
|
|
35693
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId/roles-and-access
|
|
35694
|
+
this.router.navigate([
|
|
35695
|
+
'cases',
|
|
35696
|
+
'case-details',
|
|
35697
|
+
this.caseDetails.case_type.jurisdiction.id,
|
|
35698
|
+
this.caseDetails.case_type.id,
|
|
35699
|
+
this.caseDetails.case_id,
|
|
35700
|
+
id
|
|
35701
|
+
], { relativeTo: this.route.root });
|
|
35530
35702
|
}
|
|
35531
35703
|
else {
|
|
35532
35704
|
// Routing here is based on tab label, not ideal
|
|
35533
|
-
// cases/case-details/:caseId#tabLabel
|
|
35534
|
-
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
35705
|
+
// cases/case-details/:jurisdiction/:caseType/:caseId#tabLabel
|
|
35706
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_type.jurisdiction.id, this.caseDetails.case_type.id, this.caseDetails.case_id], { fragment: tabLabel });
|
|
35535
35707
|
}
|
|
35536
35708
|
}
|
|
35537
35709
|
onLinkClicked(triggerOutputEventText) {
|
|
@@ -35634,7 +35806,7 @@ class CaseFullAccessViewComponent {
|
|
|
35634
35806
|
}
|
|
35635
35807
|
static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
35636
35808
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
35637
|
-
i0.ɵɵviewQuery(_c0$
|
|
35809
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
35638
35810
|
} if (rf & 2) {
|
|
35639
35811
|
let _t;
|
|
35640
35812
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
@@ -36050,15 +36222,19 @@ class EventMessageModule {
|
|
|
36050
36222
|
RouterModule,
|
|
36051
36223
|
ActivityModule, i1.RpxTranslationModule], exports: [ErrorMessageComponent] }); })();
|
|
36052
36224
|
|
|
36053
|
-
const _c0$
|
|
36225
|
+
const _c0$b = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36054
36226
|
class MultipleTasksExistComponent {
|
|
36055
36227
|
route;
|
|
36056
36228
|
loadingService;
|
|
36057
36229
|
caseId;
|
|
36230
|
+
jurisdiction;
|
|
36231
|
+
caseType;
|
|
36058
36232
|
constructor(route, loadingService) {
|
|
36059
36233
|
this.route = route;
|
|
36060
36234
|
this.loadingService = loadingService;
|
|
36061
36235
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36236
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36237
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36062
36238
|
}
|
|
36063
36239
|
ngOnInit() {
|
|
36064
36240
|
// Check if the loading service has a shared spinner
|
|
@@ -36067,7 +36243,7 @@ class MultipleTasksExistComponent {
|
|
|
36067
36243
|
}
|
|
36068
36244
|
}
|
|
36069
36245
|
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
36070
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars:
|
|
36246
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars: 23, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36071
36247
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36072
36248
|
i0.ɵɵtext(3);
|
|
36073
36249
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36104,27 +36280,31 @@ class MultipleTasksExistComponent {
|
|
|
36104
36280
|
i0.ɵɵadvance(3);
|
|
36105
36281
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "Return to tasks tab and start the event from there."));
|
|
36106
36282
|
i0.ɵɵadvance(2);
|
|
36107
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36283
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(19, _c0$b, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36108
36284
|
i0.ɵɵadvance();
|
|
36109
36285
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
36110
36286
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36111
36287
|
}
|
|
36112
36288
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipleTasksExistComponent, [{
|
|
36113
36289
|
type: Component,
|
|
36114
|
-
args: [{ selector: 'app-multiple-tasks-exist', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a
|
|
36290
|
+
args: [{ selector: 'app-multiple-tasks-exist', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Multiple tasks exist' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">\n {{'Multiple tasks exist' | rpxTranslate}}\n </h2>\n <p>{{\"You're starting work which could complete more than one of the active tasks for this case.\" | rpxTranslate}}</p>\n <p>{{'Return to tasks tab and start the event from there.' | rpxTranslate}}</p>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36115
36291
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: LoadingService }], null); })();
|
|
36116
36292
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultipleTasksExistComponent, { className: "MultipleTasksExistComponent", filePath: "lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.ts", lineNumber: 9 }); })();
|
|
36117
36293
|
|
|
36118
|
-
const _c0$
|
|
36294
|
+
const _c0$a = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36119
36295
|
class NoTasksAvailableComponent {
|
|
36120
36296
|
route;
|
|
36121
36297
|
caseId;
|
|
36298
|
+
jurisdiction;
|
|
36299
|
+
caseType;
|
|
36122
36300
|
constructor(route) {
|
|
36123
36301
|
this.route = route;
|
|
36124
36302
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36303
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36304
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36125
36305
|
}
|
|
36126
36306
|
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36127
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars:
|
|
36307
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function NoTasksAvailableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36128
36308
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36129
36309
|
i0.ɵɵtext(3);
|
|
36130
36310
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36155,18 +36335,18 @@ class NoTasksAvailableComponent {
|
|
|
36155
36335
|
i0.ɵɵadvance(3);
|
|
36156
36336
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You should have an assigned task for this event, but something has gone wrong."));
|
|
36157
36337
|
i0.ɵɵadvance(2);
|
|
36158
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36338
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$a, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36159
36339
|
i0.ɵɵadvance();
|
|
36160
36340
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 14, "Return to tasks tab"));
|
|
36161
36341
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36162
36342
|
}
|
|
36163
36343
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoTasksAvailableComponent, [{
|
|
36164
36344
|
type: Component,
|
|
36165
|
-
args: [{ selector: 'app-no-tasks-available', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a
|
|
36345
|
+
args: [{ selector: 'app-no-tasks-available', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'No task available' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'No task available' | rpxTranslate}}</h2>\n <p>{{'You should have an assigned task for this event, but something has gone wrong.' | rpxTranslate}}</p>\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36166
36346
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36167
36347
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NoTasksAvailableComponent, { className: "NoTasksAvailableComponent", filePath: "lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.ts", lineNumber: 8 }); })();
|
|
36168
36348
|
|
|
36169
|
-
const _c0$
|
|
36349
|
+
const _c0$9 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36170
36350
|
function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
36171
36351
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
36172
36352
|
i0.ɵɵtext(3);
|
|
@@ -36200,7 +36380,7 @@ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36200
36380
|
i0.ɵɵadvance(3);
|
|
36201
36381
|
i0.ɵɵtextInterpolate3("", i0.ɵɵpipeBind1(17, 14, "This task is assigned to"), " ", ctx_r0.assignedUserName, ". ", i0.ɵɵpipeBind1(18, 16, "You must assign it to yourself to continue."), "");
|
|
36202
36382
|
i0.ɵɵadvance(3);
|
|
36203
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36383
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(20, _c0$9, ctx_r0.jurisdiction, ctx_r0.caseType, ctx_r0.caseId));
|
|
36204
36384
|
i0.ɵɵadvance();
|
|
36205
36385
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
|
|
36206
36386
|
} }
|
|
@@ -36210,6 +36390,8 @@ class TaskAssignedComponent {
|
|
|
36210
36390
|
caseworkerService;
|
|
36211
36391
|
task = null;
|
|
36212
36392
|
caseId;
|
|
36393
|
+
jurisdiction;
|
|
36394
|
+
caseType;
|
|
36213
36395
|
assignedUserName;
|
|
36214
36396
|
caseworkerSubscription;
|
|
36215
36397
|
judicialworkerSubscription;
|
|
@@ -36222,6 +36404,8 @@ class TaskAssignedComponent {
|
|
|
36222
36404
|
}
|
|
36223
36405
|
ngOnInit() {
|
|
36224
36406
|
// Current user is a caseworker?
|
|
36407
|
+
this.jurisdiction = this.task.jurisdiction;
|
|
36408
|
+
this.caseType = this.task.case_type_id;
|
|
36225
36409
|
this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
|
|
36226
36410
|
if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
|
|
36227
36411
|
const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
|
|
@@ -36256,19 +36440,19 @@ class TaskAssignedComponent {
|
|
|
36256
36440
|
}
|
|
36257
36441
|
}
|
|
36258
36442
|
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
36259
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [
|
|
36260
|
-
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22,
|
|
36443
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36444
|
+
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 24, "div", 0);
|
|
36261
36445
|
} if (rf & 2) {
|
|
36262
36446
|
i0.ɵɵproperty("ngIf", ctx.assignedUserName);
|
|
36263
36447
|
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36264
36448
|
}
|
|
36265
36449
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
|
|
36266
36450
|
type: Component,
|
|
36267
|
-
args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a
|
|
36451
|
+
args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36268
36452
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: JudicialworkerService }, { type: CaseworkerService }], null); })();
|
|
36269
36453
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskAssignedComponent, { className: "TaskAssignedComponent", filePath: "lib/shared/components/event-start/components/task-assigned/task-assigned.component.ts", lineNumber: 12 }); })();
|
|
36270
36454
|
|
|
36271
|
-
const _c0$
|
|
36455
|
+
const _c0$8 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36272
36456
|
class TaskCancelledComponent {
|
|
36273
36457
|
caseId;
|
|
36274
36458
|
static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
|
|
@@ -36321,7 +36505,7 @@ class TaskCancelledComponent {
|
|
|
36321
36505
|
i0.ɵɵadvance(4);
|
|
36322
36506
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
|
|
36323
36507
|
i0.ɵɵadvance(2);
|
|
36324
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$
|
|
36508
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0$8, ctx.caseId));
|
|
36325
36509
|
i0.ɵɵadvance();
|
|
36326
36510
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
|
|
36327
36511
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
@@ -36334,12 +36518,12 @@ class TaskCancelledComponent {
|
|
|
36334
36518
|
}] }); })();
|
|
36335
36519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskCancelledComponent, { className: "TaskCancelledComponent", filePath: "lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.ts", lineNumber: 7 }); })();
|
|
36336
36520
|
|
|
36337
|
-
const _c0$
|
|
36521
|
+
const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
36338
36522
|
class TaskConflictComponent {
|
|
36339
36523
|
task;
|
|
36340
36524
|
caseId;
|
|
36341
36525
|
static ɵfac = function TaskConflictComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskConflictComponent)(); };
|
|
36342
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskConflictComponent, selectors: [["app-task-conflict"]], inputs: { task: "task", caseId: "caseId" }, decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [
|
|
36526
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskConflictComponent, selectors: [["app-task-conflict"]], inputs: { task: "task", caseId: "caseId" }, decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function TaskConflictComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36343
36527
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36344
36528
|
i0.ɵɵtext(3);
|
|
36345
36529
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36376,14 +36560,14 @@ class TaskConflictComponent {
|
|
|
36376
36560
|
i0.ɵɵadvance(3);
|
|
36377
36561
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
|
|
36378
36562
|
i0.ɵɵadvance(2);
|
|
36379
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$
|
|
36563
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0$7, ctx.caseId));
|
|
36380
36564
|
i0.ɵɵadvance();
|
|
36381
36565
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
|
|
36382
36566
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36383
36567
|
}
|
|
36384
36568
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskConflictComponent, [{
|
|
36385
36569
|
type: Component,
|
|
36386
|
-
args: [{ selector: 'app-task-conflict', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task conflict' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task conflict' | rpxTranslate}}</h2>\n <p>{{'This task cannot be completed due to conflict with another task or tasks for this case.' | rpxTranslate}}</p>\n <p>{{'If the problem persists, contact William Priest' | rpxTranslate}}</p>\n <a
|
|
36570
|
+
args: [{ selector: 'app-task-conflict', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task conflict' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task conflict' | rpxTranslate}}</h2>\n <p>{{'This task cannot be completed due to conflict with another task or tasks for this case.' | rpxTranslate}}</p>\n <p>{{'If the problem persists, contact William Priest' | rpxTranslate}}</p>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
|
|
36387
36571
|
}], null, { task: [{
|
|
36388
36572
|
type: Input
|
|
36389
36573
|
}], caseId: [{
|
|
@@ -36391,16 +36575,20 @@ class TaskConflictComponent {
|
|
|
36391
36575
|
}] }); })();
|
|
36392
36576
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskConflictComponent, { className: "TaskConflictComponent", filePath: "lib/shared/components/event-start/components/task-conflict/task-conflict.component.ts", lineNumber: 8 }); })();
|
|
36393
36577
|
|
|
36394
|
-
const _c0$
|
|
36578
|
+
const _c0$6 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
|
|
36395
36579
|
class TaskUnassignedComponent {
|
|
36396
36580
|
route;
|
|
36397
36581
|
caseId;
|
|
36582
|
+
jurisdiction;
|
|
36583
|
+
caseType;
|
|
36398
36584
|
constructor(route) {
|
|
36399
36585
|
this.route = route;
|
|
36400
36586
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36587
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
36588
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
36401
36589
|
}
|
|
36402
36590
|
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36403
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars:
|
|
36591
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars: 20, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36404
36592
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
36405
36593
|
i0.ɵɵtext(3);
|
|
36406
36594
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
@@ -36431,14 +36619,14 @@ class TaskUnassignedComponent {
|
|
|
36431
36619
|
i0.ɵɵadvance(3);
|
|
36432
36620
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
|
|
36433
36621
|
i0.ɵɵadvance(2);
|
|
36434
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵ
|
|
36622
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(16, _c0$6, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
36435
36623
|
i0.ɵɵadvance();
|
|
36436
36624
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
|
|
36437
36625
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
36438
36626
|
}
|
|
36439
36627
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
|
|
36440
36628
|
type: Component,
|
|
36441
|
-
args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a
|
|
36629
|
+
args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
|
|
36442
36630
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
36443
36631
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TaskUnassignedComponent, { className: "TaskUnassignedComponent", filePath: "lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.ts", lineNumber: 8 }); })();
|
|
36444
36632
|
|
|
@@ -36547,7 +36735,7 @@ class EventStartGuard {
|
|
|
36547
36735
|
}
|
|
36548
36736
|
else if (tasksAssignedToUser.length > 1 && !taskId) {
|
|
36549
36737
|
// if more than one task assigned to the user then give multiple tasks error
|
|
36550
|
-
this.router.navigate([`/cases/case-details/${caseId}/multiple-tasks-exist`]);
|
|
36738
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/multiple-tasks-exist`]);
|
|
36551
36739
|
return false;
|
|
36552
36740
|
}
|
|
36553
36741
|
else {
|
|
@@ -36580,7 +36768,7 @@ class EventStartGuard {
|
|
|
36580
36768
|
if (this.router && this.router.url && this.router.url.includes('event-start')) {
|
|
36581
36769
|
return of(true);
|
|
36582
36770
|
}
|
|
36583
|
-
this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36771
|
+
this.router.navigate([`/cases/case-details/${this.jurisdiction}/${this.caseType}/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
|
|
36584
36772
|
return of(false);
|
|
36585
36773
|
}
|
|
36586
36774
|
else {
|
|
@@ -36696,7 +36884,7 @@ class EventStartStateMachineService {
|
|
|
36696
36884
|
// Trigger final state to complete processing of state machine
|
|
36697
36885
|
state.trigger(EventStartStates.FINAL);
|
|
36698
36886
|
// Navigate to no tasks available error page
|
|
36699
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36887
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/no-tasks-available`], { relativeTo: context.route });
|
|
36700
36888
|
}
|
|
36701
36889
|
entryActionForStateOneOrMoreTasks(state, context) {
|
|
36702
36890
|
state.trigger(EventStartStates.TASK_ASSIGNED_TO_USER);
|
|
@@ -36738,12 +36926,12 @@ class EventStartStateMachineService {
|
|
|
36738
36926
|
let theQueryParams = {};
|
|
36739
36927
|
if (context.tasks[0].assignee) {
|
|
36740
36928
|
// Task is assigned to some other user, navigate to task assigned error page
|
|
36741
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-assigned`;
|
|
36929
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-assigned`;
|
|
36742
36930
|
theQueryParams = context.tasks[0];
|
|
36743
36931
|
}
|
|
36744
36932
|
else {
|
|
36745
36933
|
// Task is unassigned, navigate to task unassigned error page
|
|
36746
|
-
navigationURL = `/cases/case-details/${context.caseId}/task-unassigned`;
|
|
36934
|
+
navigationURL = `/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/task-unassigned`;
|
|
36747
36935
|
}
|
|
36748
36936
|
// Trigger final state to complete processing of state machine
|
|
36749
36937
|
state.trigger(EventStartStates.FINAL);
|
|
@@ -36790,13 +36978,13 @@ class EventStartStateMachineService {
|
|
|
36790
36978
|
// EXUI-2668 - Only add client context when taskEventCompletionInfo is set - stops auto completing incorrect tasks
|
|
36791
36979
|
context.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(clientContext));
|
|
36792
36980
|
// Allow user to perform the event
|
|
36793
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36981
|
+
context.router.navigate([`/cases/case-details/${task.jurisdiction}/${task.case_type_id}/${context.caseId}/trigger/${context.eventId}`], { relativeTo: context.route });
|
|
36794
36982
|
}
|
|
36795
36983
|
entryActionForStateMultipleTasksAssignedToUser(state, context) {
|
|
36796
36984
|
// Trigger final state to complete processing of state machine
|
|
36797
36985
|
state.trigger(EventStartStates.FINAL);
|
|
36798
36986
|
// Navigate to multiple tasks exist error page
|
|
36799
|
-
context.router.navigate([`/cases/case-details/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36987
|
+
context.router.navigate([`/cases/case-details/${context.tasks[0]?.jurisdiction}/${context.tasks[0]?.case_type_id}/${context.caseId}/multiple-tasks-exist`], { relativeTo: context.route });
|
|
36800
36988
|
}
|
|
36801
36989
|
finalAction(state) {
|
|
36802
36990
|
// Final actions can be performed here, the state machine finished running
|
|
@@ -36975,7 +37163,7 @@ class EventStartModule {
|
|
|
36975
37163
|
TaskAssignedComponent,
|
|
36976
37164
|
TaskUnassignedComponent] }); })();
|
|
36977
37165
|
|
|
36978
|
-
const _c0$
|
|
37166
|
+
const _c0$5 = a0 => ({ "EventTrigger-empty": a0 });
|
|
36979
37167
|
function EventTriggerComponent_form_0_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
36980
37168
|
i0.ɵɵelementStart(0, "option", 8);
|
|
36981
37169
|
i0.ɵɵtext(1);
|
|
@@ -37018,7 +37206,7 @@ function EventTriggerComponent_form_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
37018
37206
|
i0.ɵɵadvance(3);
|
|
37019
37207
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, "Next step"));
|
|
37020
37208
|
i0.ɵɵadvance(2);
|
|
37021
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$
|
|
37209
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$5, !ctx_r1.triggerForm.value["trigger"]))("compareWith", ctx_r1.compareFn);
|
|
37022
37210
|
i0.ɵɵadvance();
|
|
37023
37211
|
i0.ɵɵproperty("ngIf", 1 !== ctx_r1.triggers.length);
|
|
37024
37212
|
i0.ɵɵadvance();
|
|
@@ -37152,7 +37340,7 @@ var ChallengedAccessRequestErrors;
|
|
|
37152
37340
|
ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
|
|
37153
37341
|
})(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
|
|
37154
37342
|
|
|
37155
|
-
const _c0$
|
|
37343
|
+
const _c0$4 = a0 => ({ "form-group-error": a0 });
|
|
37156
37344
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
37157
37345
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
37158
37346
|
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -37345,7 +37533,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37345
37533
|
return input.value === null || input.value.trim().length === 0;
|
|
37346
37534
|
}
|
|
37347
37535
|
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
37348
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], decls: 50, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "
|
|
37536
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], decls: 50, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], [1, "govuk-form-group"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "aria-describedby", "reason-3-label", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37349
37537
|
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
37350
37538
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
37351
37539
|
i0.ɵɵtext(2);
|
|
@@ -37401,7 +37589,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37401
37589
|
i0.ɵɵpipe(44, "rpxTranslate");
|
|
37402
37590
|
i0.ɵɵelementEnd();
|
|
37403
37591
|
i0.ɵɵelementStart(45, "div", 23)(46, "p")(47, "a", 24);
|
|
37404
|
-
i0.ɵɵlistener("click", function CaseChallengedAccessRequestComponent_Template_a_click_47_listener() {
|
|
37592
|
+
i0.ɵɵlistener("click", function CaseChallengedAccessRequestComponent_Template_a_click_47_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
37405
37593
|
i0.ɵɵtext(48);
|
|
37406
37594
|
i0.ɵɵpipe(49, "rpxTranslate");
|
|
37407
37595
|
i0.ɵɵelementEnd()()()()();
|
|
@@ -37414,7 +37602,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37414
37602
|
i0.ɵɵadvance(2);
|
|
37415
37603
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
37416
37604
|
i0.ɵɵadvance();
|
|
37417
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$
|
|
37605
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c0$4, ctx.formGroup.invalid && ctx.submitted));
|
|
37418
37606
|
i0.ɵɵadvance(4);
|
|
37419
37607
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 28, ctx.title), " ");
|
|
37420
37608
|
i0.ɵɵadvance(3);
|
|
@@ -37449,21 +37637,26 @@ class CaseChallengedAccessRequestComponent {
|
|
|
37449
37637
|
}
|
|
37450
37638
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessRequestComponent, [{
|
|
37451
37639
|
type: Component,
|
|
37452
|
-
args: [{ selector: 'ccd-case-challenged-access-request', template: "<exui-error-message *ngIf=\"formGroup.invalid && submitted\" [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'This case requires challenged access.' | rpxTranslate}}<br/>\n {{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group-error': formGroup.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{title | rpxTranslate}}\n </h1>\n </legend>\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{hint | rpxTranslate}}\n </div>\n <div id=\"error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-0\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[0].reason\"\n data-aria-controls=\"conditional-reason-0\" formControlName=\"radioSelected\" [checked]=\"accessReasons[0].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{accessReasons[0].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-0\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[0].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"case-reference\">\n {{caseRefLabel}}\n </label>\n <div id=\"case-reference-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('caseReference').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <input class=\"govuk-input govuk-!-width-one-third\"\n [ngClass]=\"{'govuk-input--error': formGroup.get('caseReference').invalid && submitted}\" id=\"case-reference\"\n name=\"case-reference\" type=\"text\" formControlName=\"caseReference\">\n </div>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-1\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[1].checked\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{accessReasons[1].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-2\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[2].checked\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{accessReasons[2].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-3\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[3].reason\"\n data-aria-controls=\"conditional-reason-3\" formControlName=\"radioSelected\" [checked]=\"accessReasons[3].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-3\" id=\"reason-3-label\">\n {{accessReasons[3].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-3\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[3].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\">\n <div id=\"other-reason-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('otherReason').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <textarea class=\"govuk-textarea\" [ngClass]=\"{'govuk-textarea--error': formGroup.get('otherReason').invalid && submitted}\"\n id=\"other-reason\" name=\"other-reason\" rows=\"5\" aria-describedby=\"reason-3-label\" formControlName=\"otherReason\"></textarea>\n </div>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class='govuk-body' (click)=\"onCancel()\" href=\"
|
|
37640
|
+
args: [{ selector: 'ccd-case-challenged-access-request', template: "<exui-error-message *ngIf=\"formGroup.invalid && submitted\" [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'This case requires challenged access.' | rpxTranslate}}<br/>\n {{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group-error': formGroup.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{title | rpxTranslate}}\n </h1>\n </legend>\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{hint | rpxTranslate}}\n </div>\n <div id=\"error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-0\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[0].reason\"\n data-aria-controls=\"conditional-reason-0\" formControlName=\"radioSelected\" [checked]=\"accessReasons[0].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{accessReasons[0].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-0\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[0].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"case-reference\">\n {{caseRefLabel}}\n </label>\n <div id=\"case-reference-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('caseReference').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <input class=\"govuk-input govuk-!-width-one-third\"\n [ngClass]=\"{'govuk-input--error': formGroup.get('caseReference').invalid && submitted}\" id=\"case-reference\"\n name=\"case-reference\" type=\"text\" formControlName=\"caseReference\">\n </div>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-1\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[1].checked\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{accessReasons[1].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-2\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[2].checked\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{accessReasons[2].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-3\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[3].reason\"\n data-aria-controls=\"conditional-reason-3\" formControlName=\"radioSelected\" [checked]=\"accessReasons[3].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-3\" id=\"reason-3-label\">\n {{accessReasons[3].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-3\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[3].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\">\n <div id=\"other-reason-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('otherReason').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <textarea class=\"govuk-textarea\" [ngClass]=\"{'govuk-textarea--error': formGroup.get('otherReason').invalid && submitted}\"\n id=\"other-reason\" name=\"other-reason\" rows=\"5\" aria-describedby=\"reason-3-label\" formControlName=\"otherReason\"></textarea>\n </div>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class='govuk-body' (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
37453
37641
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
37454
37642
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessRequestComponent, { className: "CaseChallengedAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.ts", lineNumber: 14 }); })();
|
|
37455
37643
|
|
|
37644
|
+
const _c0$3 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2];
|
|
37456
37645
|
class CaseChallengedAccessSuccessComponent {
|
|
37457
37646
|
route;
|
|
37458
37647
|
caseId;
|
|
37648
|
+
jurisdiction;
|
|
37649
|
+
caseType;
|
|
37459
37650
|
constructor(route) {
|
|
37460
37651
|
this.route = route;
|
|
37461
37652
|
}
|
|
37462
37653
|
ngOnInit() {
|
|
37463
37654
|
this.caseId = this.route.snapshot.params.cid;
|
|
37655
|
+
this.jurisdiction = this.route.snapshot.params.jurisdiction;
|
|
37656
|
+
this.caseType = this.route.snapshot.params.caseType;
|
|
37464
37657
|
}
|
|
37465
37658
|
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37466
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars:
|
|
37659
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars: 27, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], [3, "routerLink"]], template: function CaseChallengedAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37467
37660
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
37468
37661
|
i0.ɵɵtext(5);
|
|
37469
37662
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
@@ -37512,20 +37705,22 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
37512
37705
|
i0.ɵɵadvance(3);
|
|
37513
37706
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 19, "Your request will be logged for auditing purposes."), " ");
|
|
37514
37707
|
i0.ɵɵadvance(3);
|
|
37515
|
-
i0.ɵɵproperty("routerLink",
|
|
37708
|
+
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(23, _c0$3, ctx.jurisdiction, ctx.caseType, ctx.caseId));
|
|
37516
37709
|
i0.ɵɵadvance();
|
|
37517
37710
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 21, "View case file"));
|
|
37518
37711
|
} }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37519
37712
|
}
|
|
37520
37713
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessSuccessComponent, [{
|
|
37521
37714
|
type: Component,
|
|
37522
|
-
args: [{ selector: 'ccd-case-challenged-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"'/cases
|
|
37715
|
+
args: [{ selector: 'ccd-case-challenged-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Access successful' | rpxTranslate}}<br><br>\n <div class=\"govuk-panel__body\">\n {{'Case reference:' | rpxTranslate}}<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'You can access this case file until midnight tonight.' | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"You'll need to request access again once this expires.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\">\n {{\"Your request will be logged for auditing purposes.\" | rpxTranslate}}\n </p>\n <p class=\"govuk-body\"><a [routerLink]=\"['/', 'cases', 'case-details', jurisdiction, caseType, caseId]\">{{\"View case file\" | rpxTranslate}}</a>.</p>\n </div>\n </div>\n</div>\n" }]
|
|
37523
37716
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37524
37717
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessSuccessComponent, { className: "CaseChallengedAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.ts", lineNumber: 8 }); })();
|
|
37525
37718
|
|
|
37526
37719
|
class CaseReviewSpecificAccessRejectComponent {
|
|
37527
37720
|
route;
|
|
37528
37721
|
caseId;
|
|
37722
|
+
jurisdiction;
|
|
37723
|
+
caseType;
|
|
37529
37724
|
retunToTask = 'Return to the Tasks tab for this case';
|
|
37530
37725
|
returnToMyTask = 'Return to My tasks';
|
|
37531
37726
|
constructor(route) {
|
|
@@ -37533,9 +37728,11 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37533
37728
|
}
|
|
37534
37729
|
ngOnInit() {
|
|
37535
37730
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
37731
|
+
this.jurisdiction = this.route.snapshot.data.case.case_type.jurisdiction.id;
|
|
37732
|
+
this.caseType = this.route.snapshot.data.case.case_type.id;
|
|
37536
37733
|
}
|
|
37537
37734
|
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37538
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars:
|
|
37735
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars: 19, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-heading-m"], [1, "govuk-body"], [1, "form-group", "form-group-related"], ["button", "", "href", "tasks/list", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "cancel"], [3, "href"]], template: function CaseReviewSpecificAccessRejectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37539
37736
|
i0.ɵɵelement(0, "p");
|
|
37540
37737
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
37541
37738
|
i0.ɵɵtext(6);
|
|
@@ -37560,22 +37757,22 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
37560
37757
|
i0.ɵɵelementEnd()()();
|
|
37561
37758
|
} if (rf & 2) {
|
|
37562
37759
|
i0.ɵɵadvance(6);
|
|
37563
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7,
|
|
37760
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "Request for access denied"), "");
|
|
37564
37761
|
i0.ɵɵadvance(4);
|
|
37565
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11,
|
|
37762
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 11, "What happens next"));
|
|
37566
37763
|
i0.ɵɵadvance(3);
|
|
37567
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14,
|
|
37764
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "The requester has been denied access to this case."), " ");
|
|
37568
37765
|
i0.ɵɵadvance(5);
|
|
37569
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19,
|
|
37766
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 15, ctx.returnToMyTask));
|
|
37570
37767
|
i0.ɵɵadvance(3);
|
|
37571
|
-
i0.ɵɵ
|
|
37768
|
+
i0.ɵɵpropertyInterpolate3("href", "cases/case-details/", ctx.jurisdiction, "/", ctx.caseType, "/", ctx.caseId, "", i0.ɵɵsanitizeUrl);
|
|
37572
37769
|
i0.ɵɵadvance();
|
|
37573
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23,
|
|
37770
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, ctx.retunToTask));
|
|
37574
37771
|
} }, dependencies: [i1.RpxTranslatePipe], encapsulation: 2 });
|
|
37575
37772
|
}
|
|
37576
37773
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRejectComponent, [{
|
|
37577
37774
|
type: Component,
|
|
37578
|
-
args: [{ selector: 'case-review-specific-access-reject', template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
|
|
37775
|
+
args: [{ selector: 'case-review-specific-access-reject', template: "<p></p>\n<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n {{'Request for access denied' | rpxTranslate}}<br>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m\">{{'What happens next' | rpxTranslate}}</h2>\n <p class=\"govuk-body\">\n {{'The requester has been denied access to this case.' | rpxTranslate}}\n </p>\n </div>\n </div>\n <div class=\"form-group form-group-related\">\n <p>\n <a button class=\"govuk-button govuk-!-margin-right-3\" href=\"tasks/list\" >{{returnToMyTask | rpxTranslate}}</a>\n </p>\n </div>\n <p class=\"cancel\"><a href=\"cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\" >{{retunToTask | rpxTranslate}}</a></p>\n</div>\n" }]
|
|
37579
37776
|
}], () => [{ type: i1$1.ActivatedRoute }], null); })();
|
|
37580
37777
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRejectComponent, { className: "CaseReviewSpecificAccessRejectComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.ts", lineNumber: 8 }); })();
|
|
37581
37778
|
|
|
@@ -37703,7 +37900,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
37703
37900
|
}
|
|
37704
37901
|
}
|
|
37705
37902
|
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
37706
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], decls: 77, vars: 55, consts: [[3, "error", 4, "ngIf"], [3, "submit", "formGroup"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "
|
|
37903
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], decls: 77, vars: 55, consts: [[3, "error", 4, "ngIf"], [3, "submit", "formGroup"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37707
37904
|
i0.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
37708
37905
|
i0.ɵɵelementStart(1, "form", 1);
|
|
37709
37906
|
i0.ɵɵlistener("submit", function CaseReviewSpecificAccessRequestComponent_Template_form_submit_1_listener() { return ctx.onSubmit(); });
|
|
@@ -37784,7 +37981,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
37784
37981
|
i0.ɵɵpipe(71, "rpxTranslate");
|
|
37785
37982
|
i0.ɵɵelementEnd();
|
|
37786
37983
|
i0.ɵɵelementStart(72, "div", 25)(73, "p")(74, "a", 26);
|
|
37787
|
-
i0.ɵɵlistener("click", function CaseReviewSpecificAccessRequestComponent_Template_a_click_74_listener() {
|
|
37984
|
+
i0.ɵɵlistener("click", function CaseReviewSpecificAccessRequestComponent_Template_a_click_74_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
37788
37985
|
i0.ɵɵtext(75);
|
|
37789
37986
|
i0.ɵɵpipe(76, "rpxTranslate");
|
|
37790
37987
|
i0.ɵɵelementEnd()()()()();
|
|
@@ -37840,7 +38037,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
37840
38037
|
}
|
|
37841
38038
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRequestComponent, [{
|
|
37842
38039
|
type: Component,
|
|
37843
|
-
args: [{ selector: 'ccd-case-review-specific-access-request', template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\">\n</exui-error-message>\n\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <div class=\"govuk-grid-column-two-thirds\">\n <p></p>\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n <p></p>\n <table class=\"govuk-table\">\n <caption></caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case name' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseName }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case reference' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseReference }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Date submitted' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.dateSubmitted }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Request from' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.requestFrom }}<br /></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Reason for case access' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.reasonForCaseAccess | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n\n <div\n class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ hint | rpxTranslate }}\n </h1>\n </legend>\n <div\n id=\"error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-0\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[0].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[0].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{ accessReasons[0].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-1\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[1].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{ accessReasons[1].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-2\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[2].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{ accessReasons[2].reason | rpxTranslate }}\n </label>\n </div>\n </fieldset>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Continue' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel()\" href=\"
|
|
38040
|
+
args: [{ selector: 'ccd-case-review-specific-access-request', template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\">\n</exui-error-message>\n\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <div class=\"govuk-grid-column-two-thirds\">\n <p></p>\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n <p></p>\n <table class=\"govuk-table\">\n <caption></caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case name' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseName }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case reference' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseReference }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Date submitted' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.dateSubmitted }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Request from' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.requestFrom }}<br /></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Reason for case access' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.reasonForCaseAccess | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n\n <div\n class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ hint | rpxTranslate }}\n </h1>\n </legend>\n <div\n id=\"error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-0\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[0].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[0].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{ accessReasons[0].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-1\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[1].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{ accessReasons[1].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-2\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[2].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{ accessReasons[2].reason | rpxTranslate }}\n </label>\n </div>\n </fieldset>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Continue' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n", styles: [".left-label{width:220px}\n"] }]
|
|
37844
38041
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AbstractAppConfig }], null); })();
|
|
37845
38042
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRequestComponent, { className: "CaseReviewSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.ts", lineNumber: 14 }); })();
|
|
37846
38043
|
|
|
@@ -37970,7 +38167,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
37970
38167
|
return input.value === null || input.value.trim().length === 0;
|
|
37971
38168
|
}
|
|
37972
38169
|
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
37973
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 50, vars: 42, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "
|
|
38170
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 50, vars: 42, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37974
38171
|
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
37975
38172
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
37976
38173
|
i0.ɵɵtext(2);
|
|
@@ -38019,7 +38216,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
38019
38216
|
i0.ɵɵpipe(44, "rpxTranslate");
|
|
38020
38217
|
i0.ɵɵelementEnd();
|
|
38021
38218
|
i0.ɵɵelementStart(45, "div", 20)(46, "p")(47, "a", 21);
|
|
38022
|
-
i0.ɵɵlistener("click", function CaseSpecificAccessRequestComponent_Template_a_click_47_listener() {
|
|
38219
|
+
i0.ɵɵlistener("click", function CaseSpecificAccessRequestComponent_Template_a_click_47_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
38023
38220
|
i0.ɵɵtext(48);
|
|
38024
38221
|
i0.ɵɵpipe(49, "rpxTranslate");
|
|
38025
38222
|
i0.ɵɵelementEnd()()()()();
|
|
@@ -38059,7 +38256,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
38059
38256
|
}
|
|
38060
38257
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
|
|
38061
38258
|
type: Component,
|
|
38062
|
-
args: [{ selector: 'ccd-case-specific-access-request', template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel()\" href=\"
|
|
38259
|
+
args: [{ selector: 'ccd-case-specific-access-request', template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
38063
38260
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }], null); })();
|
|
38064
38261
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessRequestComponent, { className: "CaseSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.ts", lineNumber: 22 }); })();
|
|
38065
38262
|
|
|
@@ -39217,7 +39414,7 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
39217
39414
|
i0.ɵɵelementStart(0, "div", 19);
|
|
39218
39415
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
39219
39416
|
i0.ɵɵelementStart(2, "span")(3, "a", 20);
|
|
39220
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
39417
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.clearSelection(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
39221
39418
|
i0.ɵɵtext(4);
|
|
39222
39419
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
39223
39420
|
i0.ɵɵelementEnd()()();
|
|
@@ -39244,7 +39441,7 @@ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf &
|
|
|
39244
39441
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
39245
39442
|
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
39246
39443
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
39247
|
-
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(
|
|
39444
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.sort(col_r5); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function SearchResultComponent_table_0_th_11_div_5_Template_a_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
39248
39445
|
i0.ɵɵelementEnd()();
|
|
39249
39446
|
} if (rf & 2) {
|
|
39250
39447
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -39907,7 +40104,7 @@ class SearchResultComponent {
|
|
|
39907
40104
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
39908
40105
|
noop() { }
|
|
39909
40106
|
static ɵfac = function SearchResultComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
39910
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "
|
|
40107
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "#", 1, "search-result-reset-link", 3, "click"], [1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["scope", "col", 1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39911
40108
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 4, 6, "div", 3);
|
|
39912
40109
|
} if (rf & 2) {
|
|
39913
40110
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
@@ -39919,7 +40116,7 @@ class SearchResultComponent {
|
|
|
39919
40116
|
}
|
|
39920
40117
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
39921
40118
|
type: Component,
|
|
39922
|
-
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"
|
|
40119
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
39923
40120
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
39924
40121
|
type: Input
|
|
39925
40122
|
}], jurisdiction: [{
|
|
@@ -40256,5 +40453,5 @@ class TestRouteSnapshotBuilder {
|
|
|
40256
40453
|
* Generated bundle index. Do not edit.
|
|
40257
40454
|
*/
|
|
40258
40455
|
|
|
40259
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
40456
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
40260
40457
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|