@hmcts/ccd-case-ui-toolkit 7.2.2-no-task-error → 7.2.2-restricted-case-removal-2
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/app.config.mjs +1 -2
- package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +6 -10
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.mjs +48 -0
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +44 -32
- package/esm2022/lib/shared/components/palette/case-file-view/components/index.mjs +2 -1
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +17 -16
- package/esm2022/lib/shared/components/palette/palette.module.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +126 -154
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +31 -33
- 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 +4 -4
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +4 -8
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +5 -33
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +3 -3
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +294 -300
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +0 -2
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts +1 -3
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.d.ts +15 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +2 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +1 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +69 -68
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +1 -5
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts +1 -4
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +0 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ import { MatDialogConfig } from '@angular/material/dialog';
|
|
|
27
27
|
import * as i2 from '@nicky-lenaers/ngx-scroll-to';
|
|
28
28
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
29
29
|
import * as marked from 'marked';
|
|
30
|
-
import * as
|
|
30
|
+
import * as i1$4 from 'ngx-markdown';
|
|
31
31
|
import { MarkdownModule } from 'ngx-markdown';
|
|
32
32
|
import * as i6 from '@angular/material/legacy-autocomplete';
|
|
33
33
|
import { MatLegacyAutocompleteModule } from '@angular/material/legacy-autocomplete';
|
|
@@ -36,7 +36,7 @@ import { MAT_LEGACY_DATE_LOCALE } from '@angular/material/legacy-core';
|
|
|
36
36
|
import * as i3 from '@hmcts/ccpay-web-component';
|
|
37
37
|
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
38
38
|
import { v4 } from 'uuid';
|
|
39
|
-
import * as i2$
|
|
39
|
+
import * as i2$1 from '@angular/cdk/overlay';
|
|
40
40
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
41
41
|
import * as i7$1 from '@angular/cdk/tree';
|
|
42
42
|
import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
@@ -53,7 +53,7 @@ import { MatLegacyInputModule } from '@angular/material/legacy-input';
|
|
|
53
53
|
import * as i14 from '@hmcts/media-viewer';
|
|
54
54
|
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
55
55
|
import { PortalModule } from '@angular/cdk/portal';
|
|
56
|
-
import * as i2$
|
|
56
|
+
import * as i2$2 from 'ngx-pagination';
|
|
57
57
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
58
58
|
import * as i10 from '@angular/material/legacy-tabs';
|
|
59
59
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
@@ -1321,7 +1321,6 @@ class CaseEditorConfig {
|
|
|
1321
1321
|
case_flags_refdata_api_url;
|
|
1322
1322
|
rd_common_data_api_url;
|
|
1323
1323
|
case_data_store_api_url;
|
|
1324
|
-
enable_restricted_case_access;
|
|
1325
1324
|
enable_case_file_view_version_1_1;
|
|
1326
1325
|
icp_enabled;
|
|
1327
1326
|
icp_jurisdictions;
|
|
@@ -12996,7 +12995,7 @@ class CaseFileViewFieldComponent {
|
|
|
12996
12995
|
}
|
|
12997
12996
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
12998
12997
|
type: Component,
|
|
12999
|
-
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 <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\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
|
|
12998
|
+
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 <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\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"] }]
|
|
13000
12999
|
}], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
13001
13000
|
(() => { (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 }); })();
|
|
13002
13001
|
|
|
@@ -14370,16 +14369,17 @@ class RemoveDialogComponent {
|
|
|
14370
14369
|
|
|
14371
14370
|
const _c0$S = ["collectionItem"];
|
|
14372
14371
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14373
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
14374
|
-
i0.ɵɵ
|
|
14375
|
-
i0.ɵɵ
|
|
14372
|
+
i0.ɵɵelementStart(0, "span", 10)(1, "markdown");
|
|
14373
|
+
i0.ɵɵtext(2);
|
|
14374
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
14375
|
+
i0.ɵɵelementEnd()();
|
|
14376
14376
|
} if (rf & 2) {
|
|
14377
14377
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14378
|
-
i0.ɵɵadvance();
|
|
14379
|
-
i0.ɵɵ
|
|
14378
|
+
i0.ɵɵadvance(2);
|
|
14379
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r0.caseField.hint_text));
|
|
14380
14380
|
} }
|
|
14381
14381
|
function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14382
|
-
i0.ɵɵelementStart(0, "span",
|
|
14382
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
14383
14383
|
i0.ɵɵtext(1);
|
|
14384
14384
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14385
14385
|
i0.ɵɵelementEnd();
|
|
@@ -14390,7 +14390,7 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14390
14390
|
} }
|
|
14391
14391
|
function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
14392
14392
|
i0.ɵɵelementStart(0, "h2", 3);
|
|
14393
|
-
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template,
|
|
14393
|
+
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template, 4, 3, "span", 8)(2, WriteCollectionFieldComponent_h2_8_span_2_Template, 3, 4, "span", 9);
|
|
14394
14394
|
i0.ɵɵelementEnd();
|
|
14395
14395
|
} if (rf & 2) {
|
|
14396
14396
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14401,16 +14401,16 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14401
14401
|
} }
|
|
14402
14402
|
function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14403
14403
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14404
|
-
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div",
|
|
14404
|
+
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 15)(3, "div", 16)(4, "legend", 17)(5, "label", 18)(6, "h3", 19);
|
|
14405
14405
|
i0.ɵɵtext(7);
|
|
14406
14406
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14407
14407
|
i0.ɵɵelementEnd()()()();
|
|
14408
|
-
i0.ɵɵelementStart(9, "div",
|
|
14408
|
+
i0.ɵɵelementStart(9, "div", 20)(10, "button", 21);
|
|
14409
14409
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_div_9_div_2_Template_button_click_10_listener() { const i_r3 = i0.ɵɵrestoreView(_r2).index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.openModal(i_r3)); });
|
|
14410
14410
|
i0.ɵɵtext(11);
|
|
14411
14411
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14412
14412
|
i0.ɵɵelementEnd()()();
|
|
14413
|
-
i0.ɵɵelement(13, "ccd-field-write",
|
|
14413
|
+
i0.ɵɵelement(13, "ccd-field-write", 22);
|
|
14414
14414
|
i0.ɵɵelementEnd();
|
|
14415
14415
|
} if (rf & 2) {
|
|
14416
14416
|
const item_r4 = ctx.$implicit;
|
|
@@ -14430,8 +14430,8 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14430
14430
|
i0.ɵɵproperty("caseField", item_r4.caseField)("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("parent", item_r4.container)("idPrefix", item_r4.prefix)("hidden", item_r4.caseField.hidden)("isExpanded", ctx_r0.isExpanded)("isInSearchBlock", ctx_r0.isInSearchBlock);
|
|
14431
14431
|
} }
|
|
14432
14432
|
function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
14433
|
-
i0.ɵɵelementStart(0, "div",
|
|
14434
|
-
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div",
|
|
14433
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "fieldset", 13);
|
|
14434
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div", 14);
|
|
14435
14435
|
i0.ɵɵelementEnd()();
|
|
14436
14436
|
} if (rf & 2) {
|
|
14437
14437
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14441,7 +14441,7 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14441
14441
|
} }
|
|
14442
14442
|
function WriteCollectionFieldComponent_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
14443
14443
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14444
|
-
i0.ɵɵelementStart(0, "button",
|
|
14444
|
+
i0.ɵɵelementStart(0, "button", 23);
|
|
14445
14445
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.addItem(false)); });
|
|
14446
14446
|
i0.ɵɵtext(1);
|
|
14447
14447
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14759,7 +14759,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14759
14759
|
} if (rf & 2) {
|
|
14760
14760
|
let _t;
|
|
14761
14761
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
14762
|
-
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 11, consts: [["collectionItem", ""], [1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "click", "disabled"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [
|
|
14762
|
+
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 11, consts: [["collectionItem", ""], [1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "click", "disabled"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [1, "error-message"], [1, "form-group", 3, "hidden"], [1, "govuk-fieldset"], ["class", "form-group", 3, "id", 4, "ngFor", "ngForOf"], [1, "collection-title"], [1, "float-left"], [1, "govuk-fieldset__legend"], [3, "for"], [1, "heading-h3"], [1, "float-right"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"], ["type", "button", 1, "button", "write-collection-add-item__bottom", 3, "click", "disabled"]], template: function WriteCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14763
14763
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
14764
14764
|
i0.ɵɵtext(3);
|
|
14765
14765
|
i0.ɵɵpipe(4, "ccdFieldLabel");
|
|
@@ -14789,7 +14789,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14789
14789
|
}
|
|
14790
14790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14791
14791
|
type: Component,
|
|
14792
|
-
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <
|
|
14792
|
+
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <markdown>{{caseField.hint_text | rpxTranslate }}</markdown>\n </span>\n <span *ngIf=\"formArray.errors\" class=\"error-message\">\n {{(formArray.errors | ccdFirstError:caseField.label)}}\n </span>\n </h2>\n\n <div class=\"form-group\" [hidden]=\"caseField.hidden\" *ngIf=\"caseField.value && caseField.value.length\">\n <fieldset class=\"govuk-fieldset\">\n <div *ngFor=\"let item of collItems; let i = index\" #collectionItem\n [id]=\"this.buildIdPrefix(i) + i\" class=\"form-group\">\n <div class=\"collection-title\">\n <div class=\"float-left\">\n <legend class=\"govuk-fieldset__legend\">\n <label [for]=\"item.prefix + i\"><h3 class=\"heading-h3\">{{itemLabel(i) | rpxTranslate}}</h3></label>\n </legend>\n </div>\n <div class=\"float-right\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"openModal(i)\"\n [disabled]=\"isNotAuthorisedToDelete(i)\"\n attr.aria-label=\"Remove {{ itemLabel(i) }}\">{{'Remove' | rpxTranslate}}</button>\n </div>\n </div>\n <ccd-field-write [caseField]=\"item.caseField\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [parent]=\"item.container\"\n [idPrefix]=\"item.prefix\"\n [hidden]=\"item.caseField.hidden\"\n [isExpanded]=\"isExpanded\"\n [isInSearchBlock]=\"isInSearchBlock\">\n </ccd-field-write>\n </div>\n </fieldset>\n </div>\n\n <button class=\"button write-collection-add-item__bottom\" type=\"button\" (click)=\"addItem(false)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\" *ngIf=\"caseField.value && caseField.value.length\">{{'Add new' | rpxTranslate }}</button>\n\n </div>\n\n</div>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.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,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
14793
14793
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14794
14794
|
type: Input
|
|
14795
14795
|
}], items: [{
|
|
@@ -15733,7 +15733,7 @@ class MarkdownComponent {
|
|
|
15733
15733
|
} if (rf & 2) {
|
|
15734
15734
|
i0.ɵɵadvance();
|
|
15735
15735
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15736
|
-
} }, dependencies: [
|
|
15736
|
+
} }, dependencies: [i1$4.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15737
15737
|
}
|
|
15738
15738
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15739
15739
|
type: Component,
|
|
@@ -20865,11 +20865,10 @@ class QueryListItem {
|
|
|
20865
20865
|
createdBy;
|
|
20866
20866
|
parentId;
|
|
20867
20867
|
children = [];
|
|
20868
|
-
messageIndexInParent = null;
|
|
20869
20868
|
get lastSubmittedMessage() {
|
|
20870
20869
|
const getLastSubmittedMessage = (item) => {
|
|
20871
20870
|
let lastSubmittedMessage = item;
|
|
20872
|
-
if (item.children && item.children.length >
|
|
20871
|
+
if (item.children && item.children.length > 0) {
|
|
20873
20872
|
for (const child of item.children) {
|
|
20874
20873
|
const childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20875
20874
|
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
@@ -20885,47 +20884,20 @@ class QueryListItem {
|
|
|
20885
20884
|
return this.lastSubmittedMessage.name;
|
|
20886
20885
|
}
|
|
20887
20886
|
get lastSubmittedDate() {
|
|
20888
|
-
|
|
20889
|
-
if (childrenCount <= 1) {
|
|
20890
|
-
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20891
|
-
}
|
|
20892
|
-
let index;
|
|
20893
|
-
if (childrenCount > 1) {
|
|
20894
|
-
index = childrenCount % 2 === 0 ? childrenCount - 1 : childrenCount - 2;
|
|
20895
|
-
}
|
|
20896
|
-
return new Date(this.children[index].createdOn);
|
|
20887
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20897
20888
|
}
|
|
20898
20889
|
get lastResponseBy() {
|
|
20899
20890
|
return this.children?.length > 0 ? this.lastSubmittedMessage.name : '';
|
|
20900
20891
|
}
|
|
20901
20892
|
get lastResponseDate() {
|
|
20902
|
-
|
|
20903
|
-
if (childrenCount === 0) {
|
|
20904
|
-
return null;
|
|
20905
|
-
}
|
|
20906
|
-
let index;
|
|
20907
|
-
if (childrenCount === 1) {
|
|
20908
|
-
index = 0;
|
|
20909
|
-
}
|
|
20910
|
-
else {
|
|
20911
|
-
index = childrenCount % 2 === 1 ? childrenCount - 1 : childrenCount - 2;
|
|
20912
|
-
}
|
|
20913
|
-
return new Date(this.children[index].createdOn);
|
|
20893
|
+
return this.children?.length > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20914
20894
|
}
|
|
20915
20895
|
get responseStatus() {
|
|
20916
|
-
|
|
20917
|
-
if (this.messageIndexInParent !== null) {
|
|
20918
|
-
return this.messageIndexInParent % 2 === 0
|
|
20919
|
-
? QueryItemResponseStatus.RESPONDED
|
|
20920
|
-
: QueryItemResponseStatus.AWAITING;
|
|
20921
|
-
}
|
|
20922
|
-
// Parent logic (children count)
|
|
20923
|
-
if (this.children && this.children.length > 0) {
|
|
20896
|
+
if (this.children?.length > 0) {
|
|
20924
20897
|
return this.children.length % 2 === 1
|
|
20925
20898
|
? QueryItemResponseStatus.RESPONDED
|
|
20926
20899
|
: QueryItemResponseStatus.AWAITING;
|
|
20927
20900
|
}
|
|
20928
|
-
// No children — still awaiting
|
|
20929
20901
|
return QueryItemResponseStatus.AWAITING;
|
|
20930
20902
|
}
|
|
20931
20903
|
}
|
|
@@ -20942,16 +20914,12 @@ class QueryListData {
|
|
|
20942
20914
|
this.queries = parentMessages.map((message) => this.buildQueryListItem(message, caseQueriesCollection.caseMessages));
|
|
20943
20915
|
}
|
|
20944
20916
|
buildQueryListItem(message, allMessages) {
|
|
20945
|
-
const childrenMessages = allMessages.filter((childMessage) => childMessage.value.parentId === message.value.id);
|
|
20946
|
-
const children = childrenMessages.map((childMessage, index) => {
|
|
20947
|
-
const childItem = this.buildQueryListItem(childMessage, allMessages);
|
|
20948
|
-
childItem.messageIndexInParent = index; // Assign index for status logic
|
|
20949
|
-
return childItem;
|
|
20950
|
-
});
|
|
20951
20917
|
const queryListItem = new QueryListItem();
|
|
20952
20918
|
Object.assign(queryListItem, {
|
|
20953
20919
|
...message.value,
|
|
20954
|
-
children
|
|
20920
|
+
children: allMessages
|
|
20921
|
+
.filter((childMessage) => childMessage.value.parentId === message.value.id)
|
|
20922
|
+
.map((childMessage) => this.buildQueryListItem(childMessage, allMessages))
|
|
20955
20923
|
});
|
|
20956
20924
|
return queryListItem;
|
|
20957
20925
|
}
|
|
@@ -21041,8 +21009,8 @@ class QueryManagementUtils {
|
|
|
21041
21009
|
type: Injectable
|
|
21042
21010
|
}], null, null); })();
|
|
21043
21011
|
|
|
21044
|
-
function
|
|
21045
|
-
i0.ɵɵelementStart(0, "li")(1, "a",
|
|
21012
|
+
function QueryCheckYourAnswersComponent_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21013
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 25);
|
|
21046
21014
|
i0.ɵɵtext(2);
|
|
21047
21015
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21048
21016
|
i0.ɵɵelementEnd()();
|
|
@@ -21053,24 +21021,24 @@ function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if
|
|
|
21053
21021
|
i0.ɵɵadvance();
|
|
21054
21022
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21055
21023
|
} }
|
|
21056
|
-
function
|
|
21057
|
-
i0.ɵɵelementStart(0, "div",
|
|
21024
|
+
function QueryCheckYourAnswersComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21025
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "h2", 21);
|
|
21058
21026
|
i0.ɵɵtext(2);
|
|
21059
21027
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21060
21028
|
i0.ɵɵelementEnd();
|
|
21061
|
-
i0.ɵɵelementStart(4, "div",
|
|
21062
|
-
i0.ɵɵtemplate(6,
|
|
21029
|
+
i0.ɵɵelementStart(4, "div", 22)(5, "ul", 23);
|
|
21030
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_2_li_6_Template, 4, 4, "li", 24);
|
|
21063
21031
|
i0.ɵɵelementEnd()()();
|
|
21064
21032
|
} if (rf & 2) {
|
|
21065
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21033
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21066
21034
|
i0.ɵɵadvance(2);
|
|
21067
21035
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21068
21036
|
i0.ɵɵadvance(4);
|
|
21069
21037
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21070
21038
|
} }
|
|
21071
|
-
function
|
|
21039
|
+
function QueryCheckYourAnswersComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21072
21040
|
i0.ɵɵelementContainerStart(0);
|
|
21073
|
-
i0.ɵɵelementStart(1, "div",
|
|
21041
|
+
i0.ɵɵelementStart(1, "div", 26);
|
|
21074
21042
|
i0.ɵɵtext(2);
|
|
21075
21043
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21076
21044
|
i0.ɵɵelementEnd();
|
|
@@ -21079,7 +21047,7 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) {
|
|
|
21079
21047
|
i0.ɵɵadvance(2);
|
|
21080
21048
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21081
21049
|
} }
|
|
21082
|
-
function
|
|
21050
|
+
function QueryCheckYourAnswersComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21083
21051
|
i0.ɵɵelementContainerStart(0);
|
|
21084
21052
|
i0.ɵɵtext(1);
|
|
21085
21053
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21088,16 +21056,16 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) {
|
|
|
21088
21056
|
i0.ɵɵadvance();
|
|
21089
21057
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21090
21058
|
} }
|
|
21091
|
-
function
|
|
21059
|
+
function QueryCheckYourAnswersComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
21092
21060
|
i0.ɵɵtext(0);
|
|
21093
21061
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21094
21062
|
} if (rf & 2) {
|
|
21095
21063
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21096
21064
|
} }
|
|
21097
|
-
function
|
|
21065
|
+
function QueryCheckYourAnswersComponent_dl_10_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21098
21066
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21099
|
-
i0.ɵɵelementStart(0, "a",
|
|
21100
|
-
i0.ɵɵlistener("click", function
|
|
21067
|
+
i0.ɵɵelementStart(0, "a", 16);
|
|
21068
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_10_a_8_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21101
21069
|
i0.ɵɵtext(1);
|
|
21102
21070
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21103
21071
|
i0.ɵɵelementEnd();
|
|
@@ -21105,28 +21073,28 @@ function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (
|
|
|
21105
21073
|
i0.ɵɵadvance();
|
|
21106
21074
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21107
21075
|
} }
|
|
21108
|
-
function
|
|
21109
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21076
|
+
function QueryCheckYourAnswersComponent_dl_10_Template(rf, ctx) { if (rf & 1) {
|
|
21077
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21110
21078
|
i0.ɵɵtext(3);
|
|
21111
21079
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21112
21080
|
i0.ɵɵelementEnd();
|
|
21113
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21081
|
+
i0.ɵɵelementStart(5, "dd", 14);
|
|
21114
21082
|
i0.ɵɵtext(6);
|
|
21115
21083
|
i0.ɵɵelementEnd();
|
|
21116
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21117
|
-
i0.ɵɵtemplate(8,
|
|
21084
|
+
i0.ɵɵelementStart(7, "dd", 15);
|
|
21085
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_dl_10_a_8_Template, 3, 3, "a", 27);
|
|
21118
21086
|
i0.ɵɵelementEnd()()();
|
|
21119
21087
|
} if (rf & 2) {
|
|
21120
|
-
let
|
|
21121
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21088
|
+
let tmp_3_0;
|
|
21089
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21122
21090
|
i0.ɵɵadvance(3);
|
|
21123
21091
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21124
21092
|
i0.ɵɵadvance(3);
|
|
21125
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (
|
|
21093
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (tmp_3_0 = ctx_r2.formGroup.get("subject")) == null ? null : tmp_3_0.value, " ");
|
|
21126
21094
|
i0.ɵɵadvance(2);
|
|
21127
21095
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21128
21096
|
} }
|
|
21129
|
-
function
|
|
21097
|
+
function QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21130
21098
|
i0.ɵɵelementContainerStart(0);
|
|
21131
21099
|
i0.ɵɵtext(1);
|
|
21132
21100
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21135,89 +21103,89 @@ function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf,
|
|
|
21135
21103
|
i0.ɵɵadvance();
|
|
21136
21104
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21137
21105
|
} }
|
|
21138
|
-
function
|
|
21106
|
+
function QueryCheckYourAnswersComponent_dl_22_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21139
21107
|
i0.ɵɵtext(0);
|
|
21140
21108
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21141
21109
|
} if (rf & 2) {
|
|
21142
21110
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21143
21111
|
} }
|
|
21144
|
-
function
|
|
21112
|
+
function QueryCheckYourAnswersComponent_dl_22_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21145
21113
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
21146
|
-
i0.ɵɵelementStart(0, "div",
|
|
21114
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
21147
21115
|
i0.ɵɵtext(2);
|
|
21148
21116
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21149
21117
|
i0.ɵɵelementEnd();
|
|
21150
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21118
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
21151
21119
|
i0.ɵɵtext(5);
|
|
21152
21120
|
i0.ɵɵpipe(6, "date");
|
|
21153
21121
|
i0.ɵɵelementEnd();
|
|
21154
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21155
|
-
i0.ɵɵlistener("click", function
|
|
21122
|
+
i0.ɵɵelementStart(7, "dd", 15)(8, "a", 16);
|
|
21123
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_22_div_13_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21156
21124
|
i0.ɵɵtext(9);
|
|
21157
21125
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21158
21126
|
i0.ɵɵelementEnd()()();
|
|
21159
21127
|
} if (rf & 2) {
|
|
21160
|
-
let
|
|
21161
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21128
|
+
let tmp_5_0;
|
|
21129
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21162
21130
|
i0.ɵɵadvance(2);
|
|
21163
21131
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.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?"), " ");
|
|
21164
21132
|
i0.ɵɵadvance(3);
|
|
21165
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (
|
|
21133
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_5_0 = ctx_r2.formGroup.get("hearingDate")) == null ? null : tmp_5_0.value, "dd MMM yyyy"), " ");
|
|
21166
21134
|
i0.ɵɵadvance(4);
|
|
21167
21135
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21168
21136
|
} }
|
|
21169
|
-
function
|
|
21137
|
+
function QueryCheckYourAnswersComponent_dl_22_Template(rf, ctx) { if (rf & 1) {
|
|
21170
21138
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
21171
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21139
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21172
21140
|
i0.ɵɵtext(3);
|
|
21173
21141
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21174
21142
|
i0.ɵɵelementEnd();
|
|
21175
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21176
|
-
i0.ɵɵtemplate(6,
|
|
21143
|
+
i0.ɵɵelementStart(5, "dd", 14);
|
|
21144
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template, 3, 5, "ng-container", 7)(7, QueryCheckYourAnswersComponent_dl_22_ng_template_7_Template, 2, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
21177
21145
|
i0.ɵɵelementEnd();
|
|
21178
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21179
|
-
i0.ɵɵlistener("click", function
|
|
21146
|
+
i0.ɵɵelementStart(9, "dd", 15)(10, "a", 16);
|
|
21147
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_22_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21180
21148
|
i0.ɵɵtext(11);
|
|
21181
21149
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21182
21150
|
i0.ɵɵelementEnd()()();
|
|
21183
|
-
i0.ɵɵtemplate(13,
|
|
21151
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_22_div_13_Template, 11, 10, "div", 28);
|
|
21184
21152
|
i0.ɵɵelementEnd();
|
|
21185
21153
|
} if (rf & 2) {
|
|
21186
|
-
let
|
|
21187
|
-
let
|
|
21154
|
+
let tmp_4_0;
|
|
21155
|
+
let tmp_7_0;
|
|
21188
21156
|
const isHearingRelatedFalse_r7 = i0.ɵɵreference(8);
|
|
21189
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21157
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21190
21158
|
i0.ɵɵadvance(3);
|
|
21191
21159
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21192
21160
|
i0.ɵɵadvance(3);
|
|
21193
|
-
i0.ɵɵproperty("ngIf", ((
|
|
21161
|
+
i0.ɵɵproperty("ngIf", ((tmp_4_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_4_0.value) === true)("ngIfElse", isHearingRelatedFalse_r7);
|
|
21194
21162
|
i0.ɵɵadvance(5);
|
|
21195
21163
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21196
21164
|
i0.ɵɵadvance(2);
|
|
21197
|
-
i0.ɵɵproperty("ngIf", (
|
|
21165
|
+
i0.ɵɵproperty("ngIf", (tmp_7_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_7_0.value);
|
|
21198
21166
|
} }
|
|
21199
|
-
function
|
|
21200
|
-
i0.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21167
|
+
function QueryCheckYourAnswersComponent_dl_23_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21168
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 31);
|
|
21201
21169
|
} if (rf & 2) {
|
|
21202
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21170
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21203
21171
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21204
21172
|
} }
|
|
21205
|
-
function
|
|
21173
|
+
function QueryCheckYourAnswersComponent_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
21206
21174
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
21207
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21175
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21208
21176
|
i0.ɵɵtext(3);
|
|
21209
21177
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21210
21178
|
i0.ɵɵelementEnd();
|
|
21211
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21212
|
-
i0.ɵɵtemplate(6,
|
|
21179
|
+
i0.ɵɵelementStart(5, "dd", 29);
|
|
21180
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_23_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 30);
|
|
21213
21181
|
i0.ɵɵelementEnd();
|
|
21214
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21215
|
-
i0.ɵɵlistener("click", function
|
|
21182
|
+
i0.ɵɵelementStart(7, "dd", 15)(8, "a", 16);
|
|
21183
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_23_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21216
21184
|
i0.ɵɵtext(9);
|
|
21217
21185
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21218
21186
|
i0.ɵɵelementEnd()()()();
|
|
21219
21187
|
} if (rf & 2) {
|
|
21220
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21188
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21221
21189
|
i0.ɵɵadvance(3);
|
|
21222
21190
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21223
21191
|
i0.ɵɵadvance(3);
|
|
@@ -21225,74 +21193,6 @@ function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf &
|
|
|
21225
21193
|
i0.ɵɵadvance(3);
|
|
21226
21194
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21227
21195
|
} }
|
|
21228
|
-
function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
21229
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
21230
|
-
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
21231
|
-
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_0_div_2_Template, 7, 4, "div", 5)(3, QueryCheckYourAnswersComponent_div_0_ng_container_3_Template, 4, 3, "ng-container", 6);
|
|
21232
|
-
i0.ɵɵelementStart(4, "h1", 7);
|
|
21233
|
-
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_ng_container_5_Template, 3, 3, "ng-container", 8)(6, QueryCheckYourAnswersComponent_div_0_ng_template_6_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
21234
|
-
i0.ɵɵelementEnd();
|
|
21235
|
-
i0.ɵɵelementStart(8, "div", 9);
|
|
21236
|
-
i0.ɵɵelement(9, "ccd-query-case-details-header", 10);
|
|
21237
|
-
i0.ɵɵelementEnd();
|
|
21238
|
-
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_div_0_dl_10_Template, 9, 5, "dl", 11);
|
|
21239
|
-
i0.ɵɵelementStart(11, "dl", 12)(12, "div", 13)(13, "dt", 14);
|
|
21240
|
-
i0.ɵɵtext(14);
|
|
21241
|
-
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21242
|
-
i0.ɵɵelementEnd();
|
|
21243
|
-
i0.ɵɵelementStart(16, "dd", 15);
|
|
21244
|
-
i0.ɵɵtext(17);
|
|
21245
|
-
i0.ɵɵelementEnd();
|
|
21246
|
-
i0.ɵɵelementStart(18, "dd", 16)(19, "a", 17);
|
|
21247
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21248
|
-
i0.ɵɵtext(20);
|
|
21249
|
-
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21250
|
-
i0.ɵɵelementEnd()()()();
|
|
21251
|
-
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_div_0_dl_22_Template, 14, 9, "dl", 11)(23, QueryCheckYourAnswersComponent_div_0_dl_23_Template, 11, 7, "dl", 11);
|
|
21252
|
-
i0.ɵɵelement(24, "br");
|
|
21253
|
-
i0.ɵɵelementStart(25, "div")(26, "button", 18);
|
|
21254
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21255
|
-
i0.ɵɵtext(27);
|
|
21256
|
-
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21257
|
-
i0.ɵɵelementEnd();
|
|
21258
|
-
i0.ɵɵelementStart(29, "button", 19);
|
|
21259
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.submit()); });
|
|
21260
|
-
i0.ɵɵtext(30);
|
|
21261
|
-
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21262
|
-
i0.ɵɵelementEnd()()();
|
|
21263
|
-
i0.ɵɵelement(32, "ccd-query-event-completion", 20);
|
|
21264
|
-
i0.ɵɵelementEnd();
|
|
21265
|
-
} if (rf & 2) {
|
|
21266
|
-
let tmp_9_0;
|
|
21267
|
-
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21268
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21269
|
-
i0.ɵɵadvance(2);
|
|
21270
|
-
i0.ɵɵproperty("ngIf", ctx_r2.errorMessages.length > 0);
|
|
21271
|
-
i0.ɵɵadvance();
|
|
21272
|
-
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21273
|
-
i0.ɵɵadvance(2);
|
|
21274
|
-
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21275
|
-
i0.ɵɵadvance(4);
|
|
21276
|
-
i0.ɵɵproperty("caseDetails", ctx_r2.caseDetails);
|
|
21277
|
-
i0.ɵɵadvance();
|
|
21278
|
-
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext !== ctx_r2.queryCreateContextEnum.FOLLOWUP);
|
|
21279
|
-
i0.ɵɵadvance(4);
|
|
21280
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21281
|
-
i0.ɵɵadvance(3);
|
|
21282
|
-
i0.ɵɵtextInterpolate1(" ", (tmp_9_0 = ctx_r2.formGroup.get("body")) == null ? null : tmp_9_0.value, " ");
|
|
21283
|
-
i0.ɵɵadvance(3);
|
|
21284
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21285
|
-
i0.ɵɵadvance(2);
|
|
21286
|
-
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21287
|
-
i0.ɵɵadvance();
|
|
21288
|
-
i0.ɵɵproperty("ngIf", ctx_r2.formGroup.get("attachments").value.length > 0);
|
|
21289
|
-
i0.ɵɵadvance(4);
|
|
21290
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21291
|
-
i0.ɵɵadvance(3);
|
|
21292
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21293
|
-
i0.ɵɵadvance(2);
|
|
21294
|
-
i0.ɵɵproperty("eventCompletionParams", ctx_r2.eventCompletionParams);
|
|
21295
|
-
} }
|
|
21296
21196
|
class QueryCheckYourAnswersComponent {
|
|
21297
21197
|
route;
|
|
21298
21198
|
router;
|
|
@@ -21315,7 +21215,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21315
21215
|
eventData = null;
|
|
21316
21216
|
backClicked = new EventEmitter();
|
|
21317
21217
|
querySubmitted = new EventEmitter();
|
|
21318
|
-
callbackConfirmationMessage = new EventEmitter();
|
|
21319
21218
|
caseViewTrigger;
|
|
21320
21219
|
caseDetails;
|
|
21321
21220
|
queryId;
|
|
@@ -21329,7 +21228,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21329
21228
|
attachments;
|
|
21330
21229
|
errorMessages = [];
|
|
21331
21230
|
filteredTasks = [];
|
|
21332
|
-
readyToSubmit;
|
|
21333
21231
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21334
21232
|
this.route = route;
|
|
21335
21233
|
this.router = router;
|
|
@@ -21366,7 +21264,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21366
21264
|
else {
|
|
21367
21265
|
this.filteredTasks = response.tasks;
|
|
21368
21266
|
}
|
|
21369
|
-
this.readyToSubmit = true;
|
|
21370
21267
|
}
|
|
21371
21268
|
},
|
|
21372
21269
|
error: (error) => {
|
|
@@ -21374,9 +21271,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21374
21271
|
}
|
|
21375
21272
|
});
|
|
21376
21273
|
}
|
|
21377
|
-
else {
|
|
21378
|
-
this.readyToSubmit = true;
|
|
21379
|
-
}
|
|
21380
21274
|
}
|
|
21381
21275
|
ngOnDestroy() {
|
|
21382
21276
|
this.createEventSubscription?.unsubscribe();
|
|
@@ -21396,19 +21290,13 @@ class QueryCheckYourAnswersComponent {
|
|
|
21396
21290
|
fieldId: 'field-id'
|
|
21397
21291
|
}
|
|
21398
21292
|
];
|
|
21399
|
-
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21400
21293
|
return;
|
|
21401
21294
|
}
|
|
21402
21295
|
const data = this.generateCaseQueriesCollectionData();
|
|
21403
21296
|
const createEvent$ = this.createEvent(data);
|
|
21404
21297
|
if (this.queryCreateContext === QueryCreateContext.RESPOND) {
|
|
21405
21298
|
if (this.filteredTasks?.length > 0) {
|
|
21406
|
-
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => {
|
|
21407
|
-
const confirmationBody = createEventResponse?.after_submit_callback_response?.confirmation_body;
|
|
21408
|
-
const confirmationHeader = createEventResponse?.after_submit_callback_response?.confirmation_header;
|
|
21409
|
-
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21410
|
-
return this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name);
|
|
21411
|
-
})).subscribe({
|
|
21299
|
+
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name))).subscribe({
|
|
21412
21300
|
next: () => this.finaliseSubmission(),
|
|
21413
21301
|
error: (error) => this.handleError(error)
|
|
21414
21302
|
});
|
|
@@ -21422,17 +21310,11 @@ class QueryCheckYourAnswersComponent {
|
|
|
21422
21310
|
fieldId: 'field-id'
|
|
21423
21311
|
}
|
|
21424
21312
|
];
|
|
21425
|
-
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21426
21313
|
}
|
|
21427
21314
|
}
|
|
21428
21315
|
else {
|
|
21429
21316
|
this.createEventSubscription = createEvent$.subscribe({
|
|
21430
|
-
next: (
|
|
21431
|
-
this.finaliseSubmission();
|
|
21432
|
-
const confirmationBody = callbackResponse?.after_submit_callback_response?.confirmation_body;
|
|
21433
|
-
const confirmationHeader = callbackResponse?.after_submit_callback_response?.confirmation_header;
|
|
21434
|
-
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21435
|
-
},
|
|
21317
|
+
next: () => this.finaliseSubmission(),
|
|
21436
21318
|
error: (error) => this.handleError(error)
|
|
21437
21319
|
});
|
|
21438
21320
|
}
|
|
@@ -21593,16 +21475,14 @@ class QueryCheckYourAnswersComponent {
|
|
|
21593
21475
|
const candidateFields = this.eventData?.case_fields?.filter((field) => field.field_type.id === this.CASE_QUERIES_COLLECTION_ID &&
|
|
21594
21476
|
field.field_type.type === this.FIELD_TYPE_COMPLEX &&
|
|
21595
21477
|
field.display_context !== this.DISPLAY_CONTEXT_READONLY);
|
|
21596
|
-
if (!candidateFields?.length)
|
|
21478
|
+
if (!candidateFields?.length)
|
|
21597
21479
|
return undefined;
|
|
21598
|
-
}
|
|
21599
21480
|
const firstPageFields = this.eventData?.wizard_pages?.[0]?.wizard_page_fields;
|
|
21600
|
-
if (!firstPageFields)
|
|
21481
|
+
if (!firstPageFields)
|
|
21601
21482
|
return undefined;
|
|
21602
|
-
}
|
|
21603
21483
|
return candidateFields
|
|
21604
21484
|
.map((field) => {
|
|
21605
|
-
const wizardField = firstPageFields.find(
|
|
21485
|
+
const wizardField = firstPageFields.find(f => f.case_field_id === field.id);
|
|
21606
21486
|
return { field, order: wizardField?.order ?? Number.MAX_SAFE_INTEGER };
|
|
21607
21487
|
})
|
|
21608
21488
|
.sort((a, b) => a.order - b.order)[0]?.field;
|
|
@@ -21618,15 +21498,77 @@ class QueryCheckYourAnswersComponent {
|
|
|
21618
21498
|
}
|
|
21619
21499
|
}
|
|
21620
21500
|
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(SessionStorageService), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
21621
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted"
|
|
21622
|
-
i0.ɵɵ
|
|
21501
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted" }, decls: 33, vars: 22, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], [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"], [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"], ["href", "javascript:void(0)", 1, "govuk-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", "javascript:void(0)", 1, "validation-error", 3, "id"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-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) {
|
|
21502
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21503
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
21504
|
+
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_2_Template, 7, 4, "div", 4)(3, QueryCheckYourAnswersComponent_ng_container_3_Template, 4, 3, "ng-container", 5);
|
|
21505
|
+
i0.ɵɵelementStart(4, "h1", 6);
|
|
21506
|
+
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_ng_container_5_Template, 3, 3, "ng-container", 7)(6, QueryCheckYourAnswersComponent_ng_template_6_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
21507
|
+
i0.ɵɵelementEnd();
|
|
21508
|
+
i0.ɵɵelementStart(8, "div", 8);
|
|
21509
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header", 9);
|
|
21510
|
+
i0.ɵɵelementEnd();
|
|
21511
|
+
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_dl_10_Template, 9, 5, "dl", 10);
|
|
21512
|
+
i0.ɵɵelementStart(11, "dl", 11)(12, "div", 12)(13, "dt", 13);
|
|
21513
|
+
i0.ɵɵtext(14);
|
|
21514
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21515
|
+
i0.ɵɵelementEnd();
|
|
21516
|
+
i0.ɵɵelementStart(16, "dd", 14);
|
|
21517
|
+
i0.ɵɵtext(17);
|
|
21518
|
+
i0.ɵɵelementEnd();
|
|
21519
|
+
i0.ɵɵelementStart(18, "dd", 15)(19, "a", 16);
|
|
21520
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21521
|
+
i0.ɵɵtext(20);
|
|
21522
|
+
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21523
|
+
i0.ɵɵelementEnd()()()();
|
|
21524
|
+
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_dl_22_Template, 14, 9, "dl", 10)(23, QueryCheckYourAnswersComponent_dl_23_Template, 11, 7, "dl", 10);
|
|
21525
|
+
i0.ɵɵelement(24, "br");
|
|
21526
|
+
i0.ɵɵelementStart(25, "div")(26, "button", 17);
|
|
21527
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21528
|
+
i0.ɵɵtext(27);
|
|
21529
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21530
|
+
i0.ɵɵelementEnd();
|
|
21531
|
+
i0.ɵɵelementStart(29, "button", 18);
|
|
21532
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
21533
|
+
i0.ɵɵtext(30);
|
|
21534
|
+
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21535
|
+
i0.ɵɵelementEnd()()();
|
|
21536
|
+
i0.ɵɵelement(32, "ccd-query-event-completion", 19);
|
|
21537
|
+
i0.ɵɵelementEnd();
|
|
21623
21538
|
} if (rf & 2) {
|
|
21624
|
-
|
|
21539
|
+
let tmp_8_0;
|
|
21540
|
+
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21541
|
+
i0.ɵɵadvance(2);
|
|
21542
|
+
i0.ɵɵproperty("ngIf", ctx.errorMessages.length > 0);
|
|
21543
|
+
i0.ɵɵadvance();
|
|
21544
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21545
|
+
i0.ɵɵadvance(2);
|
|
21546
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21547
|
+
i0.ɵɵadvance(4);
|
|
21548
|
+
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
21549
|
+
i0.ɵɵadvance();
|
|
21550
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
|
|
21551
|
+
i0.ɵɵadvance(4);
|
|
21552
|
+
i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21553
|
+
i0.ɵɵadvance(3);
|
|
21554
|
+
i0.ɵɵtextInterpolate1(" ", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.value, " ");
|
|
21555
|
+
i0.ɵɵadvance(3);
|
|
21556
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21557
|
+
i0.ɵɵadvance(2);
|
|
21558
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21559
|
+
i0.ɵɵadvance();
|
|
21560
|
+
i0.ɵɵproperty("ngIf", ctx.formGroup.get("attachments").value.length > 0);
|
|
21561
|
+
i0.ɵɵadvance(4);
|
|
21562
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21563
|
+
i0.ɵɵadvance(3);
|
|
21564
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21565
|
+
i0.ɵɵadvance(2);
|
|
21566
|
+
i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
|
|
21625
21567
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21626
21568
|
}
|
|
21627
21569
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21628
21570
|
type: Component,
|
|
21629
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\"
|
|
21571
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\">\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=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\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 <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\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 <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\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 <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\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 <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\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 <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\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"] }]
|
|
21630
21572
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21631
21573
|
type: Input
|
|
21632
21574
|
}], queryItem: [{
|
|
@@ -21639,8 +21581,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21639
21581
|
type: Output
|
|
21640
21582
|
}], querySubmitted: [{
|
|
21641
21583
|
type: Output
|
|
21642
|
-
}], callbackConfirmationMessage: [{
|
|
21643
|
-
type: Output
|
|
21644
21584
|
}] }); })();
|
|
21645
21585
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryCheckYourAnswersComponent, { className: "QueryCheckYourAnswersComponent", filePath: "lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.ts", lineNumber: 28 }); })();
|
|
21646
21586
|
|
|
@@ -21776,7 +21716,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21776
21716
|
i0.ɵɵadvance(5);
|
|
21777
21717
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "Last response date"));
|
|
21778
21718
|
i0.ɵɵadvance(3);
|
|
21779
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd
|
|
21719
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd MMM yyyy"));
|
|
21780
21720
|
i0.ɵɵadvance(2);
|
|
21781
21721
|
i0.ɵɵproperty("ngIf", ctx_r0.isInternalUser());
|
|
21782
21722
|
i0.ɵɵadvance(3);
|
|
@@ -21846,7 +21786,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21846
21786
|
i0.ɵɵadvance(5);
|
|
21847
21787
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 13, "Last submission date"));
|
|
21848
21788
|
i0.ɵɵadvance(3);
|
|
21849
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd
|
|
21789
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd MMM yyyy"));
|
|
21850
21790
|
i0.ɵɵadvance(4);
|
|
21851
21791
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Last submitted by"));
|
|
21852
21792
|
i0.ɵɵadvance(3);
|
|
@@ -21946,7 +21886,7 @@ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21946
21886
|
i0.ɵɵadvance(3);
|
|
21947
21887
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 27, "Submission date"));
|
|
21948
21888
|
i0.ɵɵadvance(3);
|
|
21949
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd
|
|
21889
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd MMM yyyy"));
|
|
21950
21890
|
i0.ɵɵadvance(4);
|
|
21951
21891
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 32, "Query subject"));
|
|
21952
21892
|
i0.ɵɵadvance(3);
|
|
@@ -22032,7 +21972,7 @@ class QueryDetailsComponent {
|
|
|
22032
21972
|
}
|
|
22033
21973
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
22034
21974
|
type: Component,
|
|
22035
|
-
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <cut-alert type=\"error\" *ngIf=\"hasRespondedToQuery() && !showItem\">\n <ng-container>{{message}}</ng-container>\n </cut-alert>\n\n <br/>\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\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
|
|
21975
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <cut-alert type=\"error\" *ngIf=\"hasRespondedToQuery() && !showItem\">\n <ng-container>{{message}}</ng-container>\n </cut-alert>\n\n <br/>\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\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 MMM yyyy' }}</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 MMM yyyy' }}</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 MMM yyyy' }}</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"] }]
|
|
22036
21976
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
22037
21977
|
type: Input
|
|
22038
21978
|
}], caseId: [{
|
|
@@ -22120,9 +22060,9 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
22120
22060
|
i0.ɵɵadvance(2);
|
|
22121
22061
|
i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
22122
22062
|
i0.ɵɵadvance(2);
|
|
22123
|
-
i0.ɵɵ
|
|
22063
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY"));
|
|
22124
22064
|
i0.ɵɵadvance(3);
|
|
22125
|
-
i0.ɵɵ
|
|
22065
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY"));
|
|
22126
22066
|
i0.ɵɵadvance(3);
|
|
22127
22067
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
|
|
22128
22068
|
} }
|
|
@@ -22226,7 +22166,7 @@ class QueryListComponent {
|
|
|
22226
22166
|
}
|
|
22227
22167
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22228
22168
|
type: Component,
|
|
22229
|
-
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)\" href=\"javascript:void(0)\">\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 <a href=\"javascript:void(0)\" (click)=\"showDetails(message)\">{{ message.subject }}</a>\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
|
|
22169
|
+
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)\" href=\"javascript:void(0)\">\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 <a href=\"javascript:void(0)\" (click)=\"showDetails(message)\">{{ message.subject }}</a>\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' }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastResponseDate | date: 'dd MMM YYYY' }}</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"] }]
|
|
22230
22170
|
}], null, { caseQueriesCollection: [{
|
|
22231
22171
|
type: Input
|
|
22232
22172
|
}], selectedQuery: [{
|
|
@@ -22777,7 +22717,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22777
22717
|
const matchingMessage = filteredMessages[0]?.value;
|
|
22778
22718
|
let filteredQuery = [];
|
|
22779
22719
|
if (this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND) {
|
|
22780
|
-
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.
|
|
22720
|
+
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.parentId === message?.id);
|
|
22781
22721
|
if (matchingMessage) {
|
|
22782
22722
|
this.queryItemDisplay = new QueryListItem();
|
|
22783
22723
|
Object.assign(this.queryItemDisplay, matchingMessage);
|
|
@@ -22852,25 +22792,27 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22852
22792
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22853
22793
|
i0.ɵɵelementEnd();
|
|
22854
22794
|
i0.ɵɵelementStart(5, "div", 7);
|
|
22855
|
-
i0.ɵɵ
|
|
22795
|
+
i0.ɵɵtext(6);
|
|
22856
22796
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22857
22797
|
i0.ɵɵelementEnd()();
|
|
22858
|
-
i0.ɵɵelementStart(8, "div",
|
|
22798
|
+
i0.ɵɵelementStart(8, "div", 8)(9, "h3", 9);
|
|
22859
22799
|
i0.ɵɵtext(10);
|
|
22860
22800
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
22861
22801
|
i0.ɵɵelementEnd();
|
|
22862
|
-
i0.ɵɵ
|
|
22863
|
-
i0.ɵɵ
|
|
22864
|
-
i0.ɵɵ
|
|
22865
|
-
i0.ɵɵtext(15);
|
|
22866
|
-
i0.ɵɵpipe(16, "rpxTranslate");
|
|
22802
|
+
i0.ɵɵelementStart(12, "p");
|
|
22803
|
+
i0.ɵɵtext(13);
|
|
22804
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
22867
22805
|
i0.ɵɵelementEnd();
|
|
22868
|
-
i0.ɵɵelementStart(
|
|
22869
|
-
i0.ɵɵtext(
|
|
22870
|
-
i0.ɵɵpipe(
|
|
22871
|
-
i0.ɵɵ
|
|
22872
|
-
i0.ɵɵ
|
|
22873
|
-
i0.ɵɵ
|
|
22806
|
+
i0.ɵɵelementStart(15, "p");
|
|
22807
|
+
i0.ɵɵtext(16);
|
|
22808
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22809
|
+
i0.ɵɵelementEnd();
|
|
22810
|
+
i0.ɵɵelementStart(18, "p");
|
|
22811
|
+
i0.ɵɵtext(19);
|
|
22812
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
22813
|
+
i0.ɵɵelementStart(21, "a", 10);
|
|
22814
|
+
i0.ɵɵtext(22);
|
|
22815
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
22874
22816
|
i0.ɵɵelementEnd()()();
|
|
22875
22817
|
i0.ɵɵelementContainerEnd();
|
|
22876
22818
|
} if (rf & 2) {
|
|
@@ -22878,19 +22820,19 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22878
22820
|
i0.ɵɵadvance(3);
|
|
22879
22821
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
|
|
22880
22822
|
i0.ɵɵadvance(3);
|
|
22881
|
-
i0.ɵɵ
|
|
22823
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 11, "Your query has been sent to HMCTS"));
|
|
22882
22824
|
i0.ɵɵadvance(4);
|
|
22883
22825
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "What happens next"));
|
|
22884
|
-
i0.ɵɵadvance(2);
|
|
22885
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 15, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
22886
22826
|
i0.ɵɵadvance(3);
|
|
22887
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22827
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 15, "Our team will read your query and will respond"));
|
|
22828
|
+
i0.ɵɵadvance(3);
|
|
22829
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22888
22830
|
i0.ɵɵadvance(3);
|
|
22889
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22831
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 19, "You can"), " ");
|
|
22890
22832
|
i0.ɵɵadvance(2);
|
|
22891
22833
|
i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
|
|
22892
22834
|
i0.ɵɵadvance();
|
|
22893
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22835
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 21, "Go back to the case"));
|
|
22894
22836
|
} }
|
|
22895
22837
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22896
22838
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22898,19 +22840,19 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22898
22840
|
i0.ɵɵtext(3);
|
|
22899
22841
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22900
22842
|
i0.ɵɵelementEnd();
|
|
22901
|
-
i0.ɵɵelementStart(5, "div",
|
|
22843
|
+
i0.ɵɵelementStart(5, "div", 7);
|
|
22902
22844
|
i0.ɵɵtext(6);
|
|
22903
22845
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22904
22846
|
i0.ɵɵelementEnd()();
|
|
22905
|
-
i0.ɵɵelementStart(8, "div",
|
|
22847
|
+
i0.ɵɵelementStart(8, "div", 8);
|
|
22906
22848
|
i0.ɵɵtext(9);
|
|
22907
22849
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22908
|
-
i0.ɵɵelementStart(11, "a",
|
|
22850
|
+
i0.ɵɵelementStart(11, "a", 11);
|
|
22909
22851
|
i0.ɵɵtext(12);
|
|
22910
22852
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22911
22853
|
i0.ɵɵelementEnd();
|
|
22912
22854
|
i0.ɵɵtext(14, " or ");
|
|
22913
|
-
i0.ɵɵelementStart(15, "a",
|
|
22855
|
+
i0.ɵɵelementStart(15, "a", 12);
|
|
22914
22856
|
i0.ɵɵtext(16);
|
|
22915
22857
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22916
22858
|
i0.ɵɵelementEnd()();
|
|
@@ -22934,7 +22876,7 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22934
22876
|
} }
|
|
22935
22877
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
22936
22878
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
22937
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template,
|
|
22879
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 24, 23, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 19, "ng-container", 4);
|
|
22938
22880
|
i0.ɵɵelementEnd()()();
|
|
22939
22881
|
} if (rf & 2) {
|
|
22940
22882
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22946,7 +22888,6 @@ function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22946
22888
|
class QueryConfirmationComponent {
|
|
22947
22889
|
route;
|
|
22948
22890
|
queryCreateContext;
|
|
22949
|
-
callbackConfirmationMessageText = {};
|
|
22950
22891
|
caseId = '';
|
|
22951
22892
|
queryCreateContextEnum = QueryCreateContext;
|
|
22952
22893
|
constructor(route) {
|
|
@@ -22956,19 +22897,17 @@ class QueryConfirmationComponent {
|
|
|
22956
22897
|
this.caseId = this.route.snapshot.params.cid;
|
|
22957
22898
|
}
|
|
22958
22899
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22959
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext"
|
|
22900
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext" }, 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, "govuk-panel__body"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22960
22901
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22961
22902
|
} if (rf & 2) {
|
|
22962
22903
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
22963
|
-
} }, dependencies: [i5.NgIf, i1$1.RouterLink,
|
|
22904
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22964
22905
|
}
|
|
22965
22906
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
22966
22907
|
type: Component,
|
|
22967
|
-
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=\"
|
|
22908
|
+
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=\"govuk-panel__body\">{{'Your query has been sent to HMCTS' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <p>{{'Our team will read your query and will respond' | rpxTranslate}}</p>\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\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{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\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
22968
22909
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
22969
22910
|
type: Input
|
|
22970
|
-
}], callbackConfirmationMessageText: [{
|
|
22971
|
-
type: Input
|
|
22972
22911
|
}] }); })();
|
|
22973
22912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryConfirmationComponent, { className: "QueryConfirmationComponent", filePath: "lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.ts", lineNumber: 9 }); })();
|
|
22974
22913
|
|
|
@@ -23028,7 +22967,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
23028
22967
|
i0.ɵɵadvance(2);
|
|
23029
22968
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
23030
22969
|
i0.ɵɵadvance(3);
|
|
23031
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and respond. Do not submit the same query more than once."));
|
|
22970
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and will respond. Do not submit the same query more than once."));
|
|
23032
22971
|
} }
|
|
23033
22972
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
23034
22973
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23114,7 +23053,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23114
23053
|
}
|
|
23115
23054
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23116
23055
|
type: Component,
|
|
23117
|
-
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n</ng-template>\n" }]
|
|
23056
|
+
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and will respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n</ng-template>\n" }]
|
|
23118
23057
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23119
23058
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23120
23059
|
|
|
@@ -24079,7 +24018,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24079
24018
|
const trigger_r5 = i0.ɵɵreference(2);
|
|
24080
24019
|
i0.ɵɵadvance(4);
|
|
24081
24020
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
24082
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
24021
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$1.CdkConnectedOverlay, i2$1.CdkOverlayOrigin], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-4px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__title[_ngcontent-%COMP%], .overlay-menu__item[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__title[_ngcontent-%COMP%]:last-child, .overlay-menu__item[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__item[_ngcontent-%COMP%]:focus{border:2px solid #ffbf47}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
24083
24022
|
}
|
|
24084
24023
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
24085
24024
|
type: Component,
|
|
@@ -24181,11 +24120,11 @@ class CaseFileViewFolderSortComponent {
|
|
|
24181
24120
|
} if (rf & 2) {
|
|
24182
24121
|
i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems);
|
|
24183
24122
|
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24184
|
-
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{
|
|
24123
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{height:20px;margin-right:-2px}"] });
|
|
24185
24124
|
}
|
|
24186
24125
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
24187
24126
|
type: Component,
|
|
24188
|
-
args: [{ selector: 'ccd-case-file-view-folder-sort', template: "<ccd-case-file-view-overlay-menu\n [title]=\"'Sort documents by name'\"\n [menuItems]=\"overlayMenuItems\"\n [(isOpen)]=\"isOpen\"\n>\n <ng-container trigger>\n <img class=\"sort-button-icon\" src=\"/assets/img/sort/sort-arrows.svg\" alt=\"Sort Arrows\">\n </ng-container>\n</ccd-case-file-view-overlay-menu>\n", styles: [".sort-button-icon{
|
|
24127
|
+
args: [{ selector: 'ccd-case-file-view-folder-sort', template: "<ccd-case-file-view-overlay-menu\n [title]=\"'Sort documents by name'\"\n [menuItems]=\"overlayMenuItems\"\n [(isOpen)]=\"isOpen\"\n>\n <ng-container trigger>\n <img class=\"sort-button-icon\" src=\"/assets/img/sort/sort-arrows.svg\" alt=\"Sort Arrows\">\n </ng-container>\n</ccd-case-file-view-overlay-menu>\n", styles: [".sort-button-icon{height:20px;margin-right:-2px}\n"] }]
|
|
24189
24128
|
}], () => [{ type: AbstractAppConfig }], { sortAscending: [{
|
|
24190
24129
|
type: Output
|
|
24191
24130
|
}], sortDescending: [{
|
|
@@ -24193,6 +24132,49 @@ class CaseFileViewFolderSortComponent {
|
|
|
24193
24132
|
}] }); })();
|
|
24194
24133
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSortComponent, { className: "CaseFileViewFolderSortComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.ts", lineNumber: 11 }); })();
|
|
24195
24134
|
|
|
24135
|
+
class CaseFileViewFolderToggleComponent {
|
|
24136
|
+
appConfig;
|
|
24137
|
+
isOpen = false;
|
|
24138
|
+
expandAll = new EventEmitter();
|
|
24139
|
+
collapseAll = new EventEmitter();
|
|
24140
|
+
overlayMenuItems = [
|
|
24141
|
+
{
|
|
24142
|
+
actionText: "Expand All",
|
|
24143
|
+
iconSrc: "/assets/img/accordion-plus.png",
|
|
24144
|
+
actionFn: () => this.expandAll.emit(true),
|
|
24145
|
+
},
|
|
24146
|
+
{
|
|
24147
|
+
actionText: "Collapse All",
|
|
24148
|
+
iconSrc: "/assets/img/accordion-minus.png",
|
|
24149
|
+
actionFn: () => this.collapseAll.emit(true),
|
|
24150
|
+
},
|
|
24151
|
+
];
|
|
24152
|
+
constructor(appConfig) {
|
|
24153
|
+
this.appConfig = appConfig;
|
|
24154
|
+
}
|
|
24155
|
+
static ɵfac = function CaseFileViewFolderToggleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderToggleComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24156
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderToggleComponent, selectors: [["ccd-case-file-view-folder-toggle"]], outputs: { expandAll: "expandAll", collapseAll: "collapseAll" }, decls: 3, vars: 3, consts: [[3, "isOpenChange", "title", "menuItems", "isOpen"], ["trigger", ""], ["src", "/assets/images/folder-open.png", "alt", "Toggle list", 1, "toggle-button-icon"]], template: function CaseFileViewFolderToggleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24157
|
+
i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
24158
|
+
i0.ɵɵtwoWayListener("isOpenChange", function CaseFileViewFolderToggleComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.isOpen, $event) || (ctx.isOpen = $event); return $event; });
|
|
24159
|
+
i0.ɵɵelementContainerStart(1, 1);
|
|
24160
|
+
i0.ɵɵelement(2, "img", 2);
|
|
24161
|
+
i0.ɵɵelementContainerEnd();
|
|
24162
|
+
i0.ɵɵelementEnd();
|
|
24163
|
+
} if (rf & 2) {
|
|
24164
|
+
i0.ɵɵproperty("title", "Toggle list")("menuItems", ctx.overlayMenuItems);
|
|
24165
|
+
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24166
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".toggle-button-icon[_ngcontent-%COMP%]{margin-right:2px;height:20px}"] });
|
|
24167
|
+
}
|
|
24168
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderToggleComponent, [{
|
|
24169
|
+
type: Component,
|
|
24170
|
+
args: [{ selector: "ccd-case-file-view-folder-toggle", template: "<ccd-case-file-view-overlay-menu [title]=\"'Toggle list'\" [menuItems]=\"overlayMenuItems\" [(isOpen)]=\"isOpen\">\n <ng-container trigger>\n <img class=\"toggle-button-icon\" src=\"/assets/images/folder-open.png\" alt=\"Toggle list\" />\n </ng-container>\n</ccd-case-file-view-overlay-menu>", styles: [".toggle-button-icon{margin-right:2px;height:20px}\n"] }]
|
|
24171
|
+
}], () => [{ type: AbstractAppConfig }], { expandAll: [{
|
|
24172
|
+
type: Output
|
|
24173
|
+
}], collapseAll: [{
|
|
24174
|
+
type: Output
|
|
24175
|
+
}] }); })();
|
|
24176
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderToggleComponent, { className: "CaseFileViewFolderToggleComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.ts", lineNumber: 10 }); })();
|
|
24177
|
+
|
|
24196
24178
|
class CaseFileViewCategory {
|
|
24197
24179
|
category_id;
|
|
24198
24180
|
category_name;
|
|
@@ -24346,27 +24328,27 @@ __decorate([
|
|
|
24346
24328
|
__metadata("design:paramtypes", [])
|
|
24347
24329
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
24348
24330
|
|
|
24349
|
-
function
|
|
24331
|
+
function CaseFileViewFolderComponent_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
24350
24332
|
i0.ɵɵelementStart(0, "div");
|
|
24351
24333
|
i0.ɵɵtext(1, " No results found ");
|
|
24352
24334
|
i0.ɵɵelementEnd();
|
|
24353
24335
|
} }
|
|
24354
|
-
function
|
|
24336
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
|
|
24355
24337
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24356
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
24357
|
-
i0.ɵɵlistener("click", function
|
|
24358
|
-
i0.ɵɵelementStart(2, "div",
|
|
24359
|
-
i0.ɵɵelement(3, "img",
|
|
24338
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 14)(1, "button", 15);
|
|
24339
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_button_click_1_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); ctx_r2.selectedNodeItem = node_r2; return i0.ɵɵresetView(ctx_r2.clickedDocument.emit(node_r2)); });
|
|
24340
|
+
i0.ɵɵelementStart(2, "div", 16);
|
|
24341
|
+
i0.ɵɵelement(3, "img", 17);
|
|
24360
24342
|
i0.ɵɵelementEnd();
|
|
24361
|
-
i0.ɵɵelementStart(4, "span",
|
|
24343
|
+
i0.ɵɵelementStart(4, "span", 18);
|
|
24362
24344
|
i0.ɵɵtext(5);
|
|
24363
24345
|
i0.ɵɵelement(6, "br");
|
|
24364
|
-
i0.ɵɵelementStart(7, "span",
|
|
24346
|
+
i0.ɵɵelementStart(7, "span", 19);
|
|
24365
24347
|
i0.ɵɵtext(8);
|
|
24366
24348
|
i0.ɵɵpipe(9, "ccdDate");
|
|
24367
24349
|
i0.ɵɵelementEnd()()();
|
|
24368
|
-
i0.ɵɵelementStart(10, "div",
|
|
24369
|
-
i0.ɵɵlistener("changeFolderAction", function
|
|
24350
|
+
i0.ɵɵelementStart(10, "div", 20)(11, "ccd-case-file-view-folder-document-actions", 21);
|
|
24351
|
+
i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("changeFolder", node_r2)); })("openInANewTabAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("openInANewTab", node_r2)); })("downloadAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("download", node_r2)); })("printAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("print", node_r2)); });
|
|
24370
24352
|
i0.ɵɵelementEnd()()();
|
|
24371
24353
|
} if (rf & 2) {
|
|
24372
24354
|
const node_r2 = ctx.$implicit;
|
|
@@ -24380,17 +24362,17 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
|
|
|
24380
24362
|
i0.ɵɵadvance(3);
|
|
24381
24363
|
i0.ɵɵproperty("allowMoving", ctx_r2.allowMoving);
|
|
24382
24364
|
} }
|
|
24383
|
-
function
|
|
24384
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
24385
|
-
i0.ɵɵelement(3, "img",
|
|
24386
|
-
i0.ɵɵelementStart(4, "span",
|
|
24365
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
|
|
24366
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 22)(1, "button", 23)(2, "div", 24);
|
|
24367
|
+
i0.ɵɵelement(3, "img", 25);
|
|
24368
|
+
i0.ɵɵelementStart(4, "span", 26);
|
|
24387
24369
|
i0.ɵɵtext(5);
|
|
24388
24370
|
i0.ɵɵelementEnd()();
|
|
24389
|
-
i0.ɵɵelementStart(6, "span",
|
|
24371
|
+
i0.ɵɵelementStart(6, "span", 27);
|
|
24390
24372
|
i0.ɵɵtext(7);
|
|
24391
24373
|
i0.ɵɵelementEnd()();
|
|
24392
24374
|
i0.ɵɵelementStart(8, "div");
|
|
24393
|
-
i0.ɵɵelementContainer(9,
|
|
24375
|
+
i0.ɵɵelementContainer(9, 28);
|
|
24394
24376
|
i0.ɵɵelementEnd()();
|
|
24395
24377
|
} if (rf & 2) {
|
|
24396
24378
|
const node_r4 = ctx.$implicit;
|
|
@@ -24406,11 +24388,11 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, c
|
|
|
24406
24388
|
i0.ɵɵadvance();
|
|
24407
24389
|
i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r4));
|
|
24408
24390
|
} }
|
|
24409
|
-
function
|
|
24410
|
-
i0.ɵɵelementStart(0, "div",
|
|
24411
|
-
i0.ɵɵtemplate(1,
|
|
24412
|
-
i0.ɵɵelementStart(2, "div")(3, "cdk-tree",
|
|
24413
|
-
i0.ɵɵtemplate(4,
|
|
24391
|
+
function CaseFileViewFolderComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
24392
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
24393
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_9_div_1_Template, 2, 0, "div", 10);
|
|
24394
|
+
i0.ɵɵelementStart(2, "div")(3, "cdk-tree", 11);
|
|
24395
|
+
i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template, 12, 9, "cdk-nested-tree-node", 12)(5, CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 13);
|
|
24414
24396
|
i0.ɵɵelementEnd()()();
|
|
24415
24397
|
} if (rf & 2) {
|
|
24416
24398
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -24465,6 +24447,14 @@ class CaseFileViewFolderComponent {
|
|
|
24465
24447
|
this.appConfig = appConfig;
|
|
24466
24448
|
this.nestedTreeControl = new NestedTreeControl(this.getChildren);
|
|
24467
24449
|
}
|
|
24450
|
+
collapseAll(expand) {
|
|
24451
|
+
this.nestedTreeControl.collapseAll();
|
|
24452
|
+
}
|
|
24453
|
+
expandAll(expand) {
|
|
24454
|
+
this.nestedDataSource.forEach((node) => {
|
|
24455
|
+
this.nestedTreeControl.expandDescendants(node);
|
|
24456
|
+
});
|
|
24457
|
+
}
|
|
24468
24458
|
ngOnInit() {
|
|
24469
24459
|
this.documentFilterFormGroup = new FormGroup({});
|
|
24470
24460
|
this.documentSearchFormControl = new FormControl('');
|
|
@@ -24648,29 +24638,32 @@ class CaseFileViewFolderComponent {
|
|
|
24648
24638
|
a.remove();
|
|
24649
24639
|
}
|
|
24650
24640
|
static ɵfac = function CaseFileViewFolderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24651
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls:
|
|
24641
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 10, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", "aria-label", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [1, "document-folders-header__flex"], [3, "expandAll", "collapseAll"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", "case-file__node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options", "case-file__action"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction", "allowMoving"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24652
24642
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
24653
24643
|
i0.ɵɵelement(2, "input", 2);
|
|
24654
24644
|
i0.ɵɵelementEnd()();
|
|
24655
|
-
i0.ɵɵelementStart(3, "div", 3)(4, "
|
|
24645
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
|
|
24656
24646
|
i0.ɵɵtext(5);
|
|
24657
24647
|
i0.ɵɵelementEnd();
|
|
24658
|
-
i0.ɵɵelementStart(6, "div")(7, "ccd-case-file-view-folder-
|
|
24659
|
-
i0.ɵɵlistener("
|
|
24648
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "ccd-case-file-view-folder-toggle", 6);
|
|
24649
|
+
i0.ɵɵlistener("expandAll", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_toggle_expandAll_7_listener($event) { return ctx.expandAll($event); })("collapseAll", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_toggle_collapseAll_7_listener($event) { return ctx.collapseAll($event); });
|
|
24650
|
+
i0.ɵɵelementEnd();
|
|
24651
|
+
i0.ɵɵelementStart(8, "ccd-case-file-view-folder-sort", 7);
|
|
24652
|
+
i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_8_listener($event) { return ctx.sortDataSourceAscending($event); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_8_listener($event) { return ctx.sortDataSourceDescending($event); });
|
|
24660
24653
|
i0.ɵɵelementEnd()()();
|
|
24661
|
-
i0.ɵɵtemplate(
|
|
24654
|
+
i0.ɵɵtemplate(9, CaseFileViewFolderComponent_div_9_Template, 6, 4, "div", 8);
|
|
24662
24655
|
} if (rf & 2) {
|
|
24663
24656
|
i0.ɵɵadvance();
|
|
24664
24657
|
i0.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
24665
24658
|
i0.ɵɵadvance(4);
|
|
24666
24659
|
i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
24667
|
-
i0.ɵɵadvance(
|
|
24660
|
+
i0.ɵɵadvance(4);
|
|
24668
24661
|
i0.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
24669
|
-
} }, dependencies: [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i7$1.CdkNestedTreeNode, i7$1.CdkTreeNodeDef, i7$1.CdkTreeNodeToggle, i7$1.CdkTree, i7$1.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderDocumentActionsComponent, DatePipe], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node[_ngcontent-%COMP%]{width:80%;float:left}.node__document-options.case-file__action[_ngcontent-%COMP%]{width:15%;float:left;box-sizing:border-box;padding:12px}"] });
|
|
24662
|
+
} }, dependencies: [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i7$1.CdkNestedTreeNode, i7$1.CdkTreeNodeDef, i7$1.CdkTreeNodeToggle, i7$1.CdkTree, i7$1.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewFolderDocumentActionsComponent, DatePipe], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-folders-header__flex[_ngcontent-%COMP%]{display:flex;flex-direction:row}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node[_ngcontent-%COMP%]{width:80%;float:left}.node__document-options.case-file__action[_ngcontent-%COMP%]{width:15%;float:left;box-sizing:border-box;padding:12px}"] });
|
|
24670
24663
|
}
|
|
24671
24664
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
24672
24665
|
type: Component,
|
|
24673
|
-
args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input class=\"form-control document-search\"\n type=\"search\"\n id=\"document-search\"\n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\"
|
|
24666
|
+
args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input \n class=\"form-control document-search\" \n type=\"search\" \n id=\"document-search\" \n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\" />\n </div>\n</div>\n\n<div class=\"document-folders-header\">\n <div class=\"document-folders-header__title\">Documents ({{ documentCount }})</div>\n <div class=\"document-folders-header__flex\">\n <ccd-case-file-view-folder-toggle \n (expandAll)=\"expandAll($event)\"\n (collapseAll)=\"collapseAll($event)\">\n </ccd-case-file-view-folder-toggle>\n <ccd-case-file-view-folder-sort \n (sortAscending)=\"sortDataSourceAscending($event)\"\n (sortDescending)=\"sortDataSourceDescending($event)\">\n </ccd-case-file-view-folder-sort>\n </div>\n</div>\n\n<div class=\"document-tree-container\" *ngIf=\"documentTreeData\">\n <div *ngIf=\"!nestedDataSource || nestedDataSource.length === 0\">\n No results found\n </div>\n <div>\n <cdk-tree [dataSource]=\"nestedDataSource\" [treeControl]=\"nestedTreeControl\">\n <!-- document -->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__node--document\" *cdkTreeNodeDef=\"let node\">\n <button class=\"node case-file__node\" (click)=\"selectedNodeItem = node; clickedDocument.emit(node)\"\n [class.node--selected]=\"selectedNodeItem?.name === node.name\">\n <div class=\"node__icon\" disabled>\n <img src=\"/assets/img/case-file-view/case-file-view-document.svg\" \n class=\"node__iconImg\"\n alt=\"Document icon\" \n />\n </div>\n <span class=\"node__name node-name-document\">\n {{ node.name }}\n <br />\n <span class=\"node__document-upload-timestamp\">{{\n node.upload_timestamp | ccdDate: \"local\":\"dd MMM YYYY HH:mm\"\n }}</span>\n </span>\n </button>\n <div class=\"node__document-options case-file__action\">\n <ccd-case-file-view-folder-document-actions\n (changeFolderAction)=\"triggerDocumentAction('changeFolder', node)\"\n (openInANewTabAction)=\"triggerDocumentAction('openInANewTab', node)\"\n (downloadAction)=\"triggerDocumentAction('download', node)\"\n (printAction)=\"triggerDocumentAction('print', node)\"\n [allowMoving]=\"allowMoving\"\n >\n </ccd-case-file-view-folder-document-actions>\n </div>\n </cdk-nested-tree-node>\n <!-- folder-->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__folder\" *cdkTreeNodeDef=\"let node; when: nestedChildren\">\n <button class=\"node\" cdkTreeNodeToggle>\n <div class=\"node__icon\" [attr.aria-label]=\"'toggle ' + node.name\">\n <img class=\"node__iconImg\" \n [src]=\"nestedTreeControl.isExpanded(node)\n ? '/assets/images/folder-open.png'\n : '/assets/images/folder.png'\n \" alt=\"Folder icon\" />\n <span class=\"node__count\">{{ node.childDocumentCount }}</span>\n </div>\n <span class=\"node__name node__name--folder\">{{ node.name }}</span>\n </button>\n <div [class.document-tree-invisible]=\"!nestedTreeControl.isExpanded(node)\">\n <ng-container cdkTreeNodeOutlet></ng-container>\n </div>\n </cdk-nested-tree-node>\n </cdk-tree>\n </div>\n</div>\n", styles: [":host{display:flex;height:100%;flex-direction:column}:host .document-tree-container{flex:1 0}.document-filter-container{border-bottom:2px solid #C9C9C9}.document-filter-container .document-filter{padding:10px}.document-filter-container .document-filter .document-search{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container .documents-title{height:30%;margin-left:8px;font-weight:700}.document-folders-header__flex{display:flex;flex-direction:row}.document-tree-container{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node{display:block}.document-tree-container__node .document-tree-container__node{padding-left:40px}.document-tree-container .document-tree-invisible{display:none}.document-tree-container::-webkit-scrollbar{width:7px}.document-tree-container::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container::-webkit-scrollbar-button{display:none}.document-tree-container::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title{font-weight:700}.node{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected{background:#fff2cc}.node__icon{position:relative;display:inline-block}.node__count{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg{display:block;height:30px;width:30px}.node__name{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options{margin-left:auto;margin-right:0}.node__document-upload-timestamp{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node{width:80%;float:left}.node__document-options.case-file__action{width:15%;float:left;box-sizing:border-box;padding:12px}\n"] }]
|
|
24674
24667
|
}], () => [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: AbstractAppConfig }], { categoriesAndDocuments: [{
|
|
24675
24668
|
type: Input
|
|
24676
24669
|
}], allowMoving: [{
|
|
@@ -29744,7 +29737,7 @@ class MarkdownComponentModule {
|
|
|
29744
29737
|
}], null, null); })();
|
|
29745
29738
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
29746
29739
|
RouterLinkComponent], imports: [CommonModule,
|
|
29747
|
-
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
29740
|
+
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule, i1$4.MarkdownModule, RouterModule], exports: [MarkdownComponent,
|
|
29748
29741
|
RouterLinkComponent] }); })();
|
|
29749
29742
|
|
|
29750
29743
|
class FeeValue {
|
|
@@ -30233,6 +30226,7 @@ const PALETTE_COMPONENTS = [
|
|
|
30233
30226
|
CaseFileViewFieldComponent,
|
|
30234
30227
|
CaseFileViewFolderComponent,
|
|
30235
30228
|
CaseFileViewFolderSortComponent,
|
|
30229
|
+
CaseFileViewFolderToggleComponent,
|
|
30236
30230
|
CaseFileViewOverlayMenuComponent,
|
|
30237
30231
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30238
30232
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30503,6 +30497,7 @@ class PaletteModule {
|
|
|
30503
30497
|
CaseFileViewFieldComponent,
|
|
30504
30498
|
CaseFileViewFolderComponent,
|
|
30505
30499
|
CaseFileViewFolderSortComponent,
|
|
30500
|
+
CaseFileViewFolderToggleComponent,
|
|
30506
30501
|
CaseFileViewOverlayMenuComponent,
|
|
30507
30502
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30508
30503
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30563,7 +30558,7 @@ class PaletteModule {
|
|
|
30563
30558
|
BodyModule,
|
|
30564
30559
|
FormModule,
|
|
30565
30560
|
TabsModule,
|
|
30566
|
-
LabelSubstitutorModule,
|
|
30561
|
+
LabelSubstitutorModule, i1$4.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30567
30562
|
NgxMatTimepickerModule,
|
|
30568
30563
|
NgxMatNativeDateModule,
|
|
30569
30564
|
MatLegacyFormFieldModule,
|
|
@@ -30659,6 +30654,7 @@ class PaletteModule {
|
|
|
30659
30654
|
CaseFileViewFieldComponent,
|
|
30660
30655
|
CaseFileViewFolderComponent,
|
|
30661
30656
|
CaseFileViewFolderSortComponent,
|
|
30657
|
+
CaseFileViewFolderToggleComponent,
|
|
30662
30658
|
CaseFileViewOverlayMenuComponent,
|
|
30663
30659
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30664
30660
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30736,7 +30732,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
30736
30732
|
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.DefaultValueAccessor, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, WriteComplexFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30737
30733
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
30738
30734
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
30739
|
-
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf,
|
|
30735
|
+
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i1$4.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30740
30736
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30741
30737
|
WriteDateFieldComponent]; }, []);
|
|
30742
30738
|
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, SelectFlagTypeComponent,
|
|
@@ -30756,7 +30752,7 @@ i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, function () { return [
|
|
|
30756
30752
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, function () { return [ReadOrderSummaryFieldComponent]; }, []);
|
|
30757
30753
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30758
30754
|
WriteDateFieldComponent]; }, []);
|
|
30759
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30755
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, i1$4.MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30760
30756
|
i0.ɵɵsetComponentScope(
|
|
30761
30757
|
// ComponentLauncher web components
|
|
30762
30758
|
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
|
|
@@ -32157,7 +32153,7 @@ class PaginationComponent {
|
|
|
32157
32153
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 4, "Pagination"));
|
|
32158
32154
|
i0.ɵɵadvance(2);
|
|
32159
32155
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && p_r3.pages.length <= 1));
|
|
32160
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
32156
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$2.PaginationControlsDirective, i5.DecimalPipe, i1.RpxTranslatePipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%]:after{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900;text-decoration:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before{margin-right:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);content:\"\";border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after{margin-left:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);content:\"\";border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
32161
32157
|
}
|
|
32162
32158
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
32163
32159
|
type: Component,
|
|
@@ -32503,7 +32499,7 @@ class CaseListComponent {
|
|
|
32503
32499
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32504
32500
|
i0.ɵɵadvance(2);
|
|
32505
32501
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32506
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$
|
|
32502
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$2.PaginatePipe, i1.RpxTranslatePipe] });
|
|
32507
32503
|
}
|
|
32508
32504
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
32509
32505
|
type: Component,
|
|
@@ -33776,7 +33772,6 @@ class CaseResolver {
|
|
|
33776
33772
|
navigationNotifierService;
|
|
33777
33773
|
router;
|
|
33778
33774
|
sessionStorage;
|
|
33779
|
-
appConfig;
|
|
33780
33775
|
static EVENT_REGEX = new RegExp('\/trigger\/.*?\/submit$');
|
|
33781
33776
|
static PARAM_CASE_ID = 'cid';
|
|
33782
33777
|
static CASE_CREATED_MSG = 'The case has been created successfully';
|
|
@@ -33787,13 +33782,12 @@ class CaseResolver {
|
|
|
33787
33782
|
// this is achieved with runGuardsAndResolvers: 'always' configuration
|
|
33788
33783
|
// we cache the case view to avoid retrieving it for each child route
|
|
33789
33784
|
previousUrl;
|
|
33790
|
-
constructor(caseNotifier, draftService, navigationNotifierService, router, sessionStorage
|
|
33785
|
+
constructor(caseNotifier, draftService, navigationNotifierService, router, sessionStorage) {
|
|
33791
33786
|
this.caseNotifier = caseNotifier;
|
|
33792
33787
|
this.draftService = draftService;
|
|
33793
33788
|
this.navigationNotifierService = navigationNotifierService;
|
|
33794
33789
|
this.router = router;
|
|
33795
33790
|
this.sessionStorage = sessionStorage;
|
|
33796
|
-
this.appConfig = appConfig;
|
|
33797
33791
|
router.events.pipe(filter(event => event instanceof NavigationEnd))
|
|
33798
33792
|
.subscribe((event) => {
|
|
33799
33793
|
this.previousUrl = event.url;
|
|
@@ -33867,8 +33861,8 @@ class CaseResolver {
|
|
|
33867
33861
|
this.router.navigate(['/list/case']);
|
|
33868
33862
|
return of(null);
|
|
33869
33863
|
}
|
|
33870
|
-
// Error 403
|
|
33871
|
-
if (error.status === 403
|
|
33864
|
+
// Error 403, navigate to restricted case access page
|
|
33865
|
+
if (error.status === 403) {
|
|
33872
33866
|
this.router.navigate([`/cases/restricted-case-access/${caseReference}`]);
|
|
33873
33867
|
return of(null);
|
|
33874
33868
|
}
|
|
@@ -33892,12 +33886,12 @@ class CaseResolver {
|
|
|
33892
33886
|
|| userDetails.roles.includes('caseworker-privatelaw'))
|
|
33893
33887
|
? this.router.navigate([CaseResolver.defaultWAPage]) : this.router.navigate([CaseResolver.defaultPage]);
|
|
33894
33888
|
}
|
|
33895
|
-
static ɵfac = function CaseResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseResolver)(i0.ɵɵinject(CaseNotifier), i0.ɵɵinject(DraftService), i0.ɵɵinject(NavigationNotifierService), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(SessionStorageService)
|
|
33889
|
+
static ɵfac = function CaseResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseResolver)(i0.ɵɵinject(CaseNotifier), i0.ɵɵinject(DraftService), i0.ɵɵinject(NavigationNotifierService), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(SessionStorageService)); };
|
|
33896
33890
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseResolver, factory: CaseResolver.ɵfac });
|
|
33897
33891
|
}
|
|
33898
33892
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseResolver, [{
|
|
33899
33893
|
type: Injectable
|
|
33900
|
-
}], () => [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1$1.Router }, { type: SessionStorageService }
|
|
33894
|
+
}], () => [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1$1.Router }, { type: SessionStorageService }], null); })();
|
|
33901
33895
|
|
|
33902
33896
|
class EventTriggerResolver {
|
|
33903
33897
|
casesService;
|
|
@@ -39578,7 +39572,7 @@ class SearchResultModule {
|
|
|
39578
39572
|
PipesModule,
|
|
39579
39573
|
ActivityModule,
|
|
39580
39574
|
PaginationModule, i1.RpxTranslationModule, PaletteModule], exports: [SearchResultComponent] }); })();
|
|
39581
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$
|
|
39575
|
+
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$2.PaginatePipe, CaseReferencePipe, SortSearchResultPipe, i1.RpxTranslatePipe]; });
|
|
39582
39576
|
|
|
39583
39577
|
// tslint:disable:variable-name
|
|
39584
39578
|
class ComplexFieldOverride {
|
|
@@ -39822,5 +39816,5 @@ class TestRouteSnapshotBuilder {
|
|
|
39822
39816
|
* Generated bundle index. Do not edit.
|
|
39823
39817
|
*/
|
|
39824
39818
|
|
|
39825
|
-
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, 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, 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, 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 };
|
|
39819
|
+
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, 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, 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 };
|
|
39826
39820
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|