@hmcts/ccd-case-ui-toolkit 7.2.2-no-task-error → 7.2.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/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 +289 -292
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.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';
|
|
@@ -12996,7 +12996,7 @@ class CaseFileViewFieldComponent {
|
|
|
12996
12996
|
}
|
|
12997
12997
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
12998
12998
|
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
|
|
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 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
13000
|
}], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
13001
13001
|
(() => { (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
13002
|
|
|
@@ -14370,16 +14370,17 @@ class RemoveDialogComponent {
|
|
|
14370
14370
|
|
|
14371
14371
|
const _c0$S = ["collectionItem"];
|
|
14372
14372
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14373
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
14374
|
-
i0.ɵɵ
|
|
14375
|
-
i0.ɵɵ
|
|
14373
|
+
i0.ɵɵelementStart(0, "span", 10)(1, "markdown");
|
|
14374
|
+
i0.ɵɵtext(2);
|
|
14375
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
14376
|
+
i0.ɵɵelementEnd()();
|
|
14376
14377
|
} if (rf & 2) {
|
|
14377
14378
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14378
|
-
i0.ɵɵadvance();
|
|
14379
|
-
i0.ɵɵ
|
|
14379
|
+
i0.ɵɵadvance(2);
|
|
14380
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r0.caseField.hint_text));
|
|
14380
14381
|
} }
|
|
14381
14382
|
function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14382
|
-
i0.ɵɵelementStart(0, "span",
|
|
14383
|
+
i0.ɵɵelementStart(0, "span", 11);
|
|
14383
14384
|
i0.ɵɵtext(1);
|
|
14384
14385
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14385
14386
|
i0.ɵɵelementEnd();
|
|
@@ -14390,7 +14391,7 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14390
14391
|
} }
|
|
14391
14392
|
function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
14392
14393
|
i0.ɵɵelementStart(0, "h2", 3);
|
|
14393
|
-
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template,
|
|
14394
|
+
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
14395
|
i0.ɵɵelementEnd();
|
|
14395
14396
|
} if (rf & 2) {
|
|
14396
14397
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14401,16 +14402,16 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14401
14402
|
} }
|
|
14402
14403
|
function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14403
14404
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14404
|
-
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div",
|
|
14405
|
+
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 15)(3, "div", 16)(4, "legend", 17)(5, "label", 18)(6, "h3", 19);
|
|
14405
14406
|
i0.ɵɵtext(7);
|
|
14406
14407
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14407
14408
|
i0.ɵɵelementEnd()()()();
|
|
14408
|
-
i0.ɵɵelementStart(9, "div",
|
|
14409
|
+
i0.ɵɵelementStart(9, "div", 20)(10, "button", 21);
|
|
14409
14410
|
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
14411
|
i0.ɵɵtext(11);
|
|
14411
14412
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14412
14413
|
i0.ɵɵelementEnd()()();
|
|
14413
|
-
i0.ɵɵelement(13, "ccd-field-write",
|
|
14414
|
+
i0.ɵɵelement(13, "ccd-field-write", 22);
|
|
14414
14415
|
i0.ɵɵelementEnd();
|
|
14415
14416
|
} if (rf & 2) {
|
|
14416
14417
|
const item_r4 = ctx.$implicit;
|
|
@@ -14430,8 +14431,8 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14430
14431
|
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
14432
|
} }
|
|
14432
14433
|
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",
|
|
14434
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "fieldset", 13);
|
|
14435
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div", 14);
|
|
14435
14436
|
i0.ɵɵelementEnd()();
|
|
14436
14437
|
} if (rf & 2) {
|
|
14437
14438
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14441,7 +14442,7 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14441
14442
|
} }
|
|
14442
14443
|
function WriteCollectionFieldComponent_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
14443
14444
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14444
|
-
i0.ɵɵelementStart(0, "button",
|
|
14445
|
+
i0.ɵɵelementStart(0, "button", 23);
|
|
14445
14446
|
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
14447
|
i0.ɵɵtext(1);
|
|
14447
14448
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14759,7 +14760,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14759
14760
|
} if (rf & 2) {
|
|
14760
14761
|
let _t;
|
|
14761
14762
|
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"], [
|
|
14763
|
+
} }, 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
14764
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
14764
14765
|
i0.ɵɵtext(3);
|
|
14765
14766
|
i0.ɵɵpipe(4, "ccdFieldLabel");
|
|
@@ -14789,7 +14790,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14789
14790
|
}
|
|
14790
14791
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14791
14792
|
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 <
|
|
14793
|
+
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
14794
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14794
14795
|
type: Input
|
|
14795
14796
|
}], items: [{
|
|
@@ -15733,7 +15734,7 @@ class MarkdownComponent {
|
|
|
15733
15734
|
} if (rf & 2) {
|
|
15734
15735
|
i0.ɵɵadvance();
|
|
15735
15736
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15736
|
-
} }, dependencies: [
|
|
15737
|
+
} }, dependencies: [i1$4.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15737
15738
|
}
|
|
15738
15739
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15739
15740
|
type: Component,
|
|
@@ -20865,11 +20866,10 @@ class QueryListItem {
|
|
|
20865
20866
|
createdBy;
|
|
20866
20867
|
parentId;
|
|
20867
20868
|
children = [];
|
|
20868
|
-
messageIndexInParent = null;
|
|
20869
20869
|
get lastSubmittedMessage() {
|
|
20870
20870
|
const getLastSubmittedMessage = (item) => {
|
|
20871
20871
|
let lastSubmittedMessage = item;
|
|
20872
|
-
if (item.children && item.children.length >
|
|
20872
|
+
if (item.children && item.children.length > 0) {
|
|
20873
20873
|
for (const child of item.children) {
|
|
20874
20874
|
const childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20875
20875
|
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
@@ -20885,47 +20885,20 @@ class QueryListItem {
|
|
|
20885
20885
|
return this.lastSubmittedMessage.name;
|
|
20886
20886
|
}
|
|
20887
20887
|
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);
|
|
20888
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20897
20889
|
}
|
|
20898
20890
|
get lastResponseBy() {
|
|
20899
20891
|
return this.children?.length > 0 ? this.lastSubmittedMessage.name : '';
|
|
20900
20892
|
}
|
|
20901
20893
|
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);
|
|
20894
|
+
return this.children?.length > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20914
20895
|
}
|
|
20915
20896
|
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) {
|
|
20897
|
+
if (this.children?.length > 0) {
|
|
20924
20898
|
return this.children.length % 2 === 1
|
|
20925
20899
|
? QueryItemResponseStatus.RESPONDED
|
|
20926
20900
|
: QueryItemResponseStatus.AWAITING;
|
|
20927
20901
|
}
|
|
20928
|
-
// No children — still awaiting
|
|
20929
20902
|
return QueryItemResponseStatus.AWAITING;
|
|
20930
20903
|
}
|
|
20931
20904
|
}
|
|
@@ -20942,16 +20915,12 @@ class QueryListData {
|
|
|
20942
20915
|
this.queries = parentMessages.map((message) => this.buildQueryListItem(message, caseQueriesCollection.caseMessages));
|
|
20943
20916
|
}
|
|
20944
20917
|
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
20918
|
const queryListItem = new QueryListItem();
|
|
20952
20919
|
Object.assign(queryListItem, {
|
|
20953
20920
|
...message.value,
|
|
20954
|
-
children
|
|
20921
|
+
children: allMessages
|
|
20922
|
+
.filter((childMessage) => childMessage.value.parentId === message.value.id)
|
|
20923
|
+
.map((childMessage) => this.buildQueryListItem(childMessage, allMessages))
|
|
20955
20924
|
});
|
|
20956
20925
|
return queryListItem;
|
|
20957
20926
|
}
|
|
@@ -21041,8 +21010,8 @@ class QueryManagementUtils {
|
|
|
21041
21010
|
type: Injectable
|
|
21042
21011
|
}], null, null); })();
|
|
21043
21012
|
|
|
21044
|
-
function
|
|
21045
|
-
i0.ɵɵelementStart(0, "li")(1, "a",
|
|
21013
|
+
function QueryCheckYourAnswersComponent_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21014
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 25);
|
|
21046
21015
|
i0.ɵɵtext(2);
|
|
21047
21016
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21048
21017
|
i0.ɵɵelementEnd()();
|
|
@@ -21053,24 +21022,24 @@ function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if
|
|
|
21053
21022
|
i0.ɵɵadvance();
|
|
21054
21023
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21055
21024
|
} }
|
|
21056
|
-
function
|
|
21057
|
-
i0.ɵɵelementStart(0, "div",
|
|
21025
|
+
function QueryCheckYourAnswersComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21026
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "h2", 21);
|
|
21058
21027
|
i0.ɵɵtext(2);
|
|
21059
21028
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21060
21029
|
i0.ɵɵelementEnd();
|
|
21061
|
-
i0.ɵɵelementStart(4, "div",
|
|
21062
|
-
i0.ɵɵtemplate(6,
|
|
21030
|
+
i0.ɵɵelementStart(4, "div", 22)(5, "ul", 23);
|
|
21031
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_2_li_6_Template, 4, 4, "li", 24);
|
|
21063
21032
|
i0.ɵɵelementEnd()()();
|
|
21064
21033
|
} if (rf & 2) {
|
|
21065
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21034
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21066
21035
|
i0.ɵɵadvance(2);
|
|
21067
21036
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21068
21037
|
i0.ɵɵadvance(4);
|
|
21069
21038
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21070
21039
|
} }
|
|
21071
|
-
function
|
|
21040
|
+
function QueryCheckYourAnswersComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21072
21041
|
i0.ɵɵelementContainerStart(0);
|
|
21073
|
-
i0.ɵɵelementStart(1, "div",
|
|
21042
|
+
i0.ɵɵelementStart(1, "div", 26);
|
|
21074
21043
|
i0.ɵɵtext(2);
|
|
21075
21044
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21076
21045
|
i0.ɵɵelementEnd();
|
|
@@ -21079,7 +21048,7 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) {
|
|
|
21079
21048
|
i0.ɵɵadvance(2);
|
|
21080
21049
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21081
21050
|
} }
|
|
21082
|
-
function
|
|
21051
|
+
function QueryCheckYourAnswersComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21083
21052
|
i0.ɵɵelementContainerStart(0);
|
|
21084
21053
|
i0.ɵɵtext(1);
|
|
21085
21054
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21088,16 +21057,16 @@ function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) {
|
|
|
21088
21057
|
i0.ɵɵadvance();
|
|
21089
21058
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21090
21059
|
} }
|
|
21091
|
-
function
|
|
21060
|
+
function QueryCheckYourAnswersComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
21092
21061
|
i0.ɵɵtext(0);
|
|
21093
21062
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21094
21063
|
} if (rf & 2) {
|
|
21095
21064
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21096
21065
|
} }
|
|
21097
|
-
function
|
|
21066
|
+
function QueryCheckYourAnswersComponent_dl_10_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21098
21067
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21099
|
-
i0.ɵɵelementStart(0, "a",
|
|
21100
|
-
i0.ɵɵlistener("click", function
|
|
21068
|
+
i0.ɵɵelementStart(0, "a", 16);
|
|
21069
|
+
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
21070
|
i0.ɵɵtext(1);
|
|
21102
21071
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21103
21072
|
i0.ɵɵelementEnd();
|
|
@@ -21105,28 +21074,28 @@ function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (
|
|
|
21105
21074
|
i0.ɵɵadvance();
|
|
21106
21075
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21107
21076
|
} }
|
|
21108
|
-
function
|
|
21109
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21077
|
+
function QueryCheckYourAnswersComponent_dl_10_Template(rf, ctx) { if (rf & 1) {
|
|
21078
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21110
21079
|
i0.ɵɵtext(3);
|
|
21111
21080
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21112
21081
|
i0.ɵɵelementEnd();
|
|
21113
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21082
|
+
i0.ɵɵelementStart(5, "dd", 14);
|
|
21114
21083
|
i0.ɵɵtext(6);
|
|
21115
21084
|
i0.ɵɵelementEnd();
|
|
21116
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21117
|
-
i0.ɵɵtemplate(8,
|
|
21085
|
+
i0.ɵɵelementStart(7, "dd", 15);
|
|
21086
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_dl_10_a_8_Template, 3, 3, "a", 27);
|
|
21118
21087
|
i0.ɵɵelementEnd()()();
|
|
21119
21088
|
} if (rf & 2) {
|
|
21120
|
-
let
|
|
21121
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21089
|
+
let tmp_3_0;
|
|
21090
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21122
21091
|
i0.ɵɵadvance(3);
|
|
21123
21092
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21124
21093
|
i0.ɵɵadvance(3);
|
|
21125
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (
|
|
21094
|
+
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
21095
|
i0.ɵɵadvance(2);
|
|
21127
21096
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21128
21097
|
} }
|
|
21129
|
-
function
|
|
21098
|
+
function QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21130
21099
|
i0.ɵɵelementContainerStart(0);
|
|
21131
21100
|
i0.ɵɵtext(1);
|
|
21132
21101
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21135,89 +21104,89 @@ function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf,
|
|
|
21135
21104
|
i0.ɵɵadvance();
|
|
21136
21105
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21137
21106
|
} }
|
|
21138
|
-
function
|
|
21107
|
+
function QueryCheckYourAnswersComponent_dl_22_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21139
21108
|
i0.ɵɵtext(0);
|
|
21140
21109
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21141
21110
|
} if (rf & 2) {
|
|
21142
21111
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21143
21112
|
} }
|
|
21144
|
-
function
|
|
21113
|
+
function QueryCheckYourAnswersComponent_dl_22_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21145
21114
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
21146
|
-
i0.ɵɵelementStart(0, "div",
|
|
21115
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
21147
21116
|
i0.ɵɵtext(2);
|
|
21148
21117
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21149
21118
|
i0.ɵɵelementEnd();
|
|
21150
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21119
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
21151
21120
|
i0.ɵɵtext(5);
|
|
21152
21121
|
i0.ɵɵpipe(6, "date");
|
|
21153
21122
|
i0.ɵɵelementEnd();
|
|
21154
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21155
|
-
i0.ɵɵlistener("click", function
|
|
21123
|
+
i0.ɵɵelementStart(7, "dd", 15)(8, "a", 16);
|
|
21124
|
+
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
21125
|
i0.ɵɵtext(9);
|
|
21157
21126
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21158
21127
|
i0.ɵɵelementEnd()()();
|
|
21159
21128
|
} if (rf & 2) {
|
|
21160
|
-
let
|
|
21161
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21129
|
+
let tmp_5_0;
|
|
21130
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21162
21131
|
i0.ɵɵadvance(2);
|
|
21163
21132
|
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
21133
|
i0.ɵɵadvance(3);
|
|
21165
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (
|
|
21134
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_5_0 = ctx_r2.formGroup.get("hearingDate")) == null ? null : tmp_5_0.value, "dd MMM yyyy"), " ");
|
|
21166
21135
|
i0.ɵɵadvance(4);
|
|
21167
21136
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21168
21137
|
} }
|
|
21169
|
-
function
|
|
21138
|
+
function QueryCheckYourAnswersComponent_dl_22_Template(rf, ctx) { if (rf & 1) {
|
|
21170
21139
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
21171
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21140
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21172
21141
|
i0.ɵɵtext(3);
|
|
21173
21142
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21174
21143
|
i0.ɵɵelementEnd();
|
|
21175
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21176
|
-
i0.ɵɵtemplate(6,
|
|
21144
|
+
i0.ɵɵelementStart(5, "dd", 14);
|
|
21145
|
+
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
21146
|
i0.ɵɵelementEnd();
|
|
21178
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21179
|
-
i0.ɵɵlistener("click", function
|
|
21147
|
+
i0.ɵɵelementStart(9, "dd", 15)(10, "a", 16);
|
|
21148
|
+
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
21149
|
i0.ɵɵtext(11);
|
|
21181
21150
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21182
21151
|
i0.ɵɵelementEnd()()();
|
|
21183
|
-
i0.ɵɵtemplate(13,
|
|
21152
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_22_div_13_Template, 11, 10, "div", 28);
|
|
21184
21153
|
i0.ɵɵelementEnd();
|
|
21185
21154
|
} if (rf & 2) {
|
|
21186
|
-
let
|
|
21187
|
-
let
|
|
21155
|
+
let tmp_4_0;
|
|
21156
|
+
let tmp_7_0;
|
|
21188
21157
|
const isHearingRelatedFalse_r7 = i0.ɵɵreference(8);
|
|
21189
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21158
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21190
21159
|
i0.ɵɵadvance(3);
|
|
21191
21160
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21192
21161
|
i0.ɵɵadvance(3);
|
|
21193
|
-
i0.ɵɵproperty("ngIf", ((
|
|
21162
|
+
i0.ɵɵproperty("ngIf", ((tmp_4_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_4_0.value) === true)("ngIfElse", isHearingRelatedFalse_r7);
|
|
21194
21163
|
i0.ɵɵadvance(5);
|
|
21195
21164
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21196
21165
|
i0.ɵɵadvance(2);
|
|
21197
|
-
i0.ɵɵproperty("ngIf", (
|
|
21166
|
+
i0.ɵɵproperty("ngIf", (tmp_7_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_7_0.value);
|
|
21198
21167
|
} }
|
|
21199
|
-
function
|
|
21200
|
-
i0.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21168
|
+
function QueryCheckYourAnswersComponent_dl_23_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21169
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 31);
|
|
21201
21170
|
} if (rf & 2) {
|
|
21202
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21171
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21203
21172
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21204
21173
|
} }
|
|
21205
|
-
function
|
|
21174
|
+
function QueryCheckYourAnswersComponent_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
21206
21175
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
21207
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21176
|
+
i0.ɵɵelementStart(0, "dl", 11)(1, "div", 12)(2, "dt", 13);
|
|
21208
21177
|
i0.ɵɵtext(3);
|
|
21209
21178
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21210
21179
|
i0.ɵɵelementEnd();
|
|
21211
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21212
|
-
i0.ɵɵtemplate(6,
|
|
21180
|
+
i0.ɵɵelementStart(5, "dd", 29);
|
|
21181
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_23_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 30);
|
|
21213
21182
|
i0.ɵɵelementEnd();
|
|
21214
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21215
|
-
i0.ɵɵlistener("click", function
|
|
21183
|
+
i0.ɵɵelementStart(7, "dd", 15)(8, "a", 16);
|
|
21184
|
+
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
21185
|
i0.ɵɵtext(9);
|
|
21217
21186
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21218
21187
|
i0.ɵɵelementEnd()()()();
|
|
21219
21188
|
} if (rf & 2) {
|
|
21220
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21189
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21221
21190
|
i0.ɵɵadvance(3);
|
|
21222
21191
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21223
21192
|
i0.ɵɵadvance(3);
|
|
@@ -21225,74 +21194,6 @@ function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf &
|
|
|
21225
21194
|
i0.ɵɵadvance(3);
|
|
21226
21195
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21227
21196
|
} }
|
|
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
21197
|
class QueryCheckYourAnswersComponent {
|
|
21297
21198
|
route;
|
|
21298
21199
|
router;
|
|
@@ -21315,7 +21216,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21315
21216
|
eventData = null;
|
|
21316
21217
|
backClicked = new EventEmitter();
|
|
21317
21218
|
querySubmitted = new EventEmitter();
|
|
21318
|
-
callbackConfirmationMessage = new EventEmitter();
|
|
21319
21219
|
caseViewTrigger;
|
|
21320
21220
|
caseDetails;
|
|
21321
21221
|
queryId;
|
|
@@ -21329,7 +21229,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21329
21229
|
attachments;
|
|
21330
21230
|
errorMessages = [];
|
|
21331
21231
|
filteredTasks = [];
|
|
21332
|
-
readyToSubmit;
|
|
21333
21232
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21334
21233
|
this.route = route;
|
|
21335
21234
|
this.router = router;
|
|
@@ -21366,7 +21265,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21366
21265
|
else {
|
|
21367
21266
|
this.filteredTasks = response.tasks;
|
|
21368
21267
|
}
|
|
21369
|
-
this.readyToSubmit = true;
|
|
21370
21268
|
}
|
|
21371
21269
|
},
|
|
21372
21270
|
error: (error) => {
|
|
@@ -21374,9 +21272,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21374
21272
|
}
|
|
21375
21273
|
});
|
|
21376
21274
|
}
|
|
21377
|
-
else {
|
|
21378
|
-
this.readyToSubmit = true;
|
|
21379
|
-
}
|
|
21380
21275
|
}
|
|
21381
21276
|
ngOnDestroy() {
|
|
21382
21277
|
this.createEventSubscription?.unsubscribe();
|
|
@@ -21396,19 +21291,13 @@ class QueryCheckYourAnswersComponent {
|
|
|
21396
21291
|
fieldId: 'field-id'
|
|
21397
21292
|
}
|
|
21398
21293
|
];
|
|
21399
|
-
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21400
21294
|
return;
|
|
21401
21295
|
}
|
|
21402
21296
|
const data = this.generateCaseQueriesCollectionData();
|
|
21403
21297
|
const createEvent$ = this.createEvent(data);
|
|
21404
21298
|
if (this.queryCreateContext === QueryCreateContext.RESPOND) {
|
|
21405
21299
|
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({
|
|
21300
|
+
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name))).subscribe({
|
|
21412
21301
|
next: () => this.finaliseSubmission(),
|
|
21413
21302
|
error: (error) => this.handleError(error)
|
|
21414
21303
|
});
|
|
@@ -21422,17 +21311,11 @@ class QueryCheckYourAnswersComponent {
|
|
|
21422
21311
|
fieldId: 'field-id'
|
|
21423
21312
|
}
|
|
21424
21313
|
];
|
|
21425
|
-
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21426
21314
|
}
|
|
21427
21315
|
}
|
|
21428
21316
|
else {
|
|
21429
21317
|
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
|
-
},
|
|
21318
|
+
next: () => this.finaliseSubmission(),
|
|
21436
21319
|
error: (error) => this.handleError(error)
|
|
21437
21320
|
});
|
|
21438
21321
|
}
|
|
@@ -21593,16 +21476,14 @@ class QueryCheckYourAnswersComponent {
|
|
|
21593
21476
|
const candidateFields = this.eventData?.case_fields?.filter((field) => field.field_type.id === this.CASE_QUERIES_COLLECTION_ID &&
|
|
21594
21477
|
field.field_type.type === this.FIELD_TYPE_COMPLEX &&
|
|
21595
21478
|
field.display_context !== this.DISPLAY_CONTEXT_READONLY);
|
|
21596
|
-
if (!candidateFields?.length)
|
|
21479
|
+
if (!candidateFields?.length)
|
|
21597
21480
|
return undefined;
|
|
21598
|
-
}
|
|
21599
21481
|
const firstPageFields = this.eventData?.wizard_pages?.[0]?.wizard_page_fields;
|
|
21600
|
-
if (!firstPageFields)
|
|
21482
|
+
if (!firstPageFields)
|
|
21601
21483
|
return undefined;
|
|
21602
|
-
}
|
|
21603
21484
|
return candidateFields
|
|
21604
21485
|
.map((field) => {
|
|
21605
|
-
const wizardField = firstPageFields.find(
|
|
21486
|
+
const wizardField = firstPageFields.find(f => f.case_field_id === field.id);
|
|
21606
21487
|
return { field, order: wizardField?.order ?? Number.MAX_SAFE_INTEGER };
|
|
21607
21488
|
})
|
|
21608
21489
|
.sort((a, b) => a.order - b.order)[0]?.field;
|
|
@@ -21618,15 +21499,77 @@ class QueryCheckYourAnswersComponent {
|
|
|
21618
21499
|
}
|
|
21619
21500
|
}
|
|
21620
21501
|
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.ɵɵ
|
|
21502
|
+
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) {
|
|
21503
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21504
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
21505
|
+
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_2_Template, 7, 4, "div", 4)(3, QueryCheckYourAnswersComponent_ng_container_3_Template, 4, 3, "ng-container", 5);
|
|
21506
|
+
i0.ɵɵelementStart(4, "h1", 6);
|
|
21507
|
+
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);
|
|
21508
|
+
i0.ɵɵelementEnd();
|
|
21509
|
+
i0.ɵɵelementStart(8, "div", 8);
|
|
21510
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header", 9);
|
|
21511
|
+
i0.ɵɵelementEnd();
|
|
21512
|
+
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_dl_10_Template, 9, 5, "dl", 10);
|
|
21513
|
+
i0.ɵɵelementStart(11, "dl", 11)(12, "div", 12)(13, "dt", 13);
|
|
21514
|
+
i0.ɵɵtext(14);
|
|
21515
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21516
|
+
i0.ɵɵelementEnd();
|
|
21517
|
+
i0.ɵɵelementStart(16, "dd", 14);
|
|
21518
|
+
i0.ɵɵtext(17);
|
|
21519
|
+
i0.ɵɵelementEnd();
|
|
21520
|
+
i0.ɵɵelementStart(18, "dd", 15)(19, "a", 16);
|
|
21521
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21522
|
+
i0.ɵɵtext(20);
|
|
21523
|
+
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21524
|
+
i0.ɵɵelementEnd()()()();
|
|
21525
|
+
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_dl_22_Template, 14, 9, "dl", 10)(23, QueryCheckYourAnswersComponent_dl_23_Template, 11, 7, "dl", 10);
|
|
21526
|
+
i0.ɵɵelement(24, "br");
|
|
21527
|
+
i0.ɵɵelementStart(25, "div")(26, "button", 17);
|
|
21528
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21529
|
+
i0.ɵɵtext(27);
|
|
21530
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21531
|
+
i0.ɵɵelementEnd();
|
|
21532
|
+
i0.ɵɵelementStart(29, "button", 18);
|
|
21533
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
21534
|
+
i0.ɵɵtext(30);
|
|
21535
|
+
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21536
|
+
i0.ɵɵelementEnd()()();
|
|
21537
|
+
i0.ɵɵelement(32, "ccd-query-event-completion", 19);
|
|
21538
|
+
i0.ɵɵelementEnd();
|
|
21623
21539
|
} if (rf & 2) {
|
|
21624
|
-
|
|
21540
|
+
let tmp_8_0;
|
|
21541
|
+
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21542
|
+
i0.ɵɵadvance(2);
|
|
21543
|
+
i0.ɵɵproperty("ngIf", ctx.errorMessages.length > 0);
|
|
21544
|
+
i0.ɵɵadvance();
|
|
21545
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21546
|
+
i0.ɵɵadvance(2);
|
|
21547
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21548
|
+
i0.ɵɵadvance(4);
|
|
21549
|
+
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
21550
|
+
i0.ɵɵadvance();
|
|
21551
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
|
|
21552
|
+
i0.ɵɵadvance(4);
|
|
21553
|
+
i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21554
|
+
i0.ɵɵadvance(3);
|
|
21555
|
+
i0.ɵɵtextInterpolate1(" ", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.value, " ");
|
|
21556
|
+
i0.ɵɵadvance(3);
|
|
21557
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21558
|
+
i0.ɵɵadvance(2);
|
|
21559
|
+
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21560
|
+
i0.ɵɵadvance();
|
|
21561
|
+
i0.ɵɵproperty("ngIf", ctx.formGroup.get("attachments").value.length > 0);
|
|
21562
|
+
i0.ɵɵadvance(4);
|
|
21563
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21564
|
+
i0.ɵɵadvance(3);
|
|
21565
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21566
|
+
i0.ɵɵadvance(2);
|
|
21567
|
+
i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
|
|
21625
21568
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21626
21569
|
}
|
|
21627
21570
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21628
21571
|
type: Component,
|
|
21629
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\"
|
|
21572
|
+
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
21573
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21631
21574
|
type: Input
|
|
21632
21575
|
}], queryItem: [{
|
|
@@ -21639,8 +21582,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21639
21582
|
type: Output
|
|
21640
21583
|
}], querySubmitted: [{
|
|
21641
21584
|
type: Output
|
|
21642
|
-
}], callbackConfirmationMessage: [{
|
|
21643
|
-
type: Output
|
|
21644
21585
|
}] }); })();
|
|
21645
21586
|
(() => { (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
21587
|
|
|
@@ -21776,7 +21717,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21776
21717
|
i0.ɵɵadvance(5);
|
|
21777
21718
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "Last response date"));
|
|
21778
21719
|
i0.ɵɵadvance(3);
|
|
21779
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd
|
|
21720
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd MMM yyyy"));
|
|
21780
21721
|
i0.ɵɵadvance(2);
|
|
21781
21722
|
i0.ɵɵproperty("ngIf", ctx_r0.isInternalUser());
|
|
21782
21723
|
i0.ɵɵadvance(3);
|
|
@@ -21846,7 +21787,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21846
21787
|
i0.ɵɵadvance(5);
|
|
21847
21788
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 13, "Last submission date"));
|
|
21848
21789
|
i0.ɵɵadvance(3);
|
|
21849
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd
|
|
21790
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd MMM yyyy"));
|
|
21850
21791
|
i0.ɵɵadvance(4);
|
|
21851
21792
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Last submitted by"));
|
|
21852
21793
|
i0.ɵɵadvance(3);
|
|
@@ -21946,7 +21887,7 @@ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21946
21887
|
i0.ɵɵadvance(3);
|
|
21947
21888
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 27, "Submission date"));
|
|
21948
21889
|
i0.ɵɵadvance(3);
|
|
21949
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd
|
|
21890
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd MMM yyyy"));
|
|
21950
21891
|
i0.ɵɵadvance(4);
|
|
21951
21892
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 32, "Query subject"));
|
|
21952
21893
|
i0.ɵɵadvance(3);
|
|
@@ -22032,7 +21973,7 @@ class QueryDetailsComponent {
|
|
|
22032
21973
|
}
|
|
22033
21974
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
22034
21975
|
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
|
|
21976
|
+
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
21977
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
22037
21978
|
type: Input
|
|
22038
21979
|
}], caseId: [{
|
|
@@ -22120,9 +22061,9 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
22120
22061
|
i0.ɵɵadvance(2);
|
|
22121
22062
|
i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
22122
22063
|
i0.ɵɵadvance(2);
|
|
22123
|
-
i0.ɵɵ
|
|
22064
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY"));
|
|
22124
22065
|
i0.ɵɵadvance(3);
|
|
22125
|
-
i0.ɵɵ
|
|
22066
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY"));
|
|
22126
22067
|
i0.ɵɵadvance(3);
|
|
22127
22068
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
|
|
22128
22069
|
} }
|
|
@@ -22226,7 +22167,7 @@ class QueryListComponent {
|
|
|
22226
22167
|
}
|
|
22227
22168
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22228
22169
|
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
|
|
22170
|
+
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
22171
|
}], null, { caseQueriesCollection: [{
|
|
22231
22172
|
type: Input
|
|
22232
22173
|
}], selectedQuery: [{
|
|
@@ -22777,7 +22718,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22777
22718
|
const matchingMessage = filteredMessages[0]?.value;
|
|
22778
22719
|
let filteredQuery = [];
|
|
22779
22720
|
if (this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND) {
|
|
22780
|
-
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.
|
|
22721
|
+
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.parentId === message?.id);
|
|
22781
22722
|
if (matchingMessage) {
|
|
22782
22723
|
this.queryItemDisplay = new QueryListItem();
|
|
22783
22724
|
Object.assign(this.queryItemDisplay, matchingMessage);
|
|
@@ -22852,25 +22793,27 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22852
22793
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22853
22794
|
i0.ɵɵelementEnd();
|
|
22854
22795
|
i0.ɵɵelementStart(5, "div", 7);
|
|
22855
|
-
i0.ɵɵ
|
|
22796
|
+
i0.ɵɵtext(6);
|
|
22856
22797
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22857
22798
|
i0.ɵɵelementEnd()();
|
|
22858
|
-
i0.ɵɵelementStart(8, "div",
|
|
22799
|
+
i0.ɵɵelementStart(8, "div", 8)(9, "h3", 9);
|
|
22859
22800
|
i0.ɵɵtext(10);
|
|
22860
22801
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
22861
22802
|
i0.ɵɵelementEnd();
|
|
22862
|
-
i0.ɵɵ
|
|
22863
|
-
i0.ɵɵ
|
|
22864
|
-
i0.ɵɵ
|
|
22865
|
-
i0.ɵɵtext(15);
|
|
22866
|
-
i0.ɵɵpipe(16, "rpxTranslate");
|
|
22803
|
+
i0.ɵɵelementStart(12, "p");
|
|
22804
|
+
i0.ɵɵtext(13);
|
|
22805
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
22867
22806
|
i0.ɵɵelementEnd();
|
|
22868
|
-
i0.ɵɵelementStart(
|
|
22869
|
-
i0.ɵɵtext(
|
|
22870
|
-
i0.ɵɵpipe(
|
|
22871
|
-
i0.ɵɵ
|
|
22872
|
-
i0.ɵɵ
|
|
22873
|
-
i0.ɵɵ
|
|
22807
|
+
i0.ɵɵelementStart(15, "p");
|
|
22808
|
+
i0.ɵɵtext(16);
|
|
22809
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22810
|
+
i0.ɵɵelementEnd();
|
|
22811
|
+
i0.ɵɵelementStart(18, "p");
|
|
22812
|
+
i0.ɵɵtext(19);
|
|
22813
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
22814
|
+
i0.ɵɵelementStart(21, "a", 10);
|
|
22815
|
+
i0.ɵɵtext(22);
|
|
22816
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
22874
22817
|
i0.ɵɵelementEnd()()();
|
|
22875
22818
|
i0.ɵɵelementContainerEnd();
|
|
22876
22819
|
} if (rf & 2) {
|
|
@@ -22878,19 +22821,19 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22878
22821
|
i0.ɵɵadvance(3);
|
|
22879
22822
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
|
|
22880
22823
|
i0.ɵɵadvance(3);
|
|
22881
|
-
i0.ɵɵ
|
|
22824
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 11, "Your query has been sent to HMCTS"));
|
|
22882
22825
|
i0.ɵɵadvance(4);
|
|
22883
22826
|
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
22827
|
i0.ɵɵadvance(3);
|
|
22887
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22828
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 15, "Our team will read your query and will respond"));
|
|
22829
|
+
i0.ɵɵadvance(3);
|
|
22830
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22888
22831
|
i0.ɵɵadvance(3);
|
|
22889
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22832
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 19, "You can"), " ");
|
|
22890
22833
|
i0.ɵɵadvance(2);
|
|
22891
22834
|
i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
|
|
22892
22835
|
i0.ɵɵadvance();
|
|
22893
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22836
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 21, "Go back to the case"));
|
|
22894
22837
|
} }
|
|
22895
22838
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22896
22839
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22898,19 +22841,19 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22898
22841
|
i0.ɵɵtext(3);
|
|
22899
22842
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22900
22843
|
i0.ɵɵelementEnd();
|
|
22901
|
-
i0.ɵɵelementStart(5, "div",
|
|
22844
|
+
i0.ɵɵelementStart(5, "div", 7);
|
|
22902
22845
|
i0.ɵɵtext(6);
|
|
22903
22846
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22904
22847
|
i0.ɵɵelementEnd()();
|
|
22905
|
-
i0.ɵɵelementStart(8, "div",
|
|
22848
|
+
i0.ɵɵelementStart(8, "div", 8);
|
|
22906
22849
|
i0.ɵɵtext(9);
|
|
22907
22850
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22908
|
-
i0.ɵɵelementStart(11, "a",
|
|
22851
|
+
i0.ɵɵelementStart(11, "a", 11);
|
|
22909
22852
|
i0.ɵɵtext(12);
|
|
22910
22853
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22911
22854
|
i0.ɵɵelementEnd();
|
|
22912
22855
|
i0.ɵɵtext(14, " or ");
|
|
22913
|
-
i0.ɵɵelementStart(15, "a",
|
|
22856
|
+
i0.ɵɵelementStart(15, "a", 12);
|
|
22914
22857
|
i0.ɵɵtext(16);
|
|
22915
22858
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22916
22859
|
i0.ɵɵelementEnd()();
|
|
@@ -22934,7 +22877,7 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22934
22877
|
} }
|
|
22935
22878
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
22936
22879
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
22937
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template,
|
|
22880
|
+
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
22881
|
i0.ɵɵelementEnd()()();
|
|
22939
22882
|
} if (rf & 2) {
|
|
22940
22883
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22946,7 +22889,6 @@ function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22946
22889
|
class QueryConfirmationComponent {
|
|
22947
22890
|
route;
|
|
22948
22891
|
queryCreateContext;
|
|
22949
|
-
callbackConfirmationMessageText = {};
|
|
22950
22892
|
caseId = '';
|
|
22951
22893
|
queryCreateContextEnum = QueryCreateContext;
|
|
22952
22894
|
constructor(route) {
|
|
@@ -22956,19 +22898,17 @@ class QueryConfirmationComponent {
|
|
|
22956
22898
|
this.caseId = this.route.snapshot.params.cid;
|
|
22957
22899
|
}
|
|
22958
22900
|
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"
|
|
22901
|
+
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
22902
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22961
22903
|
} if (rf & 2) {
|
|
22962
22904
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
22963
|
-
} }, dependencies: [i5.NgIf, i1$1.RouterLink,
|
|
22905
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22964
22906
|
}
|
|
22965
22907
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
22966
22908
|
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=\"
|
|
22909
|
+
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
22910
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
22969
22911
|
type: Input
|
|
22970
|
-
}], callbackConfirmationMessageText: [{
|
|
22971
|
-
type: Input
|
|
22972
22912
|
}] }); })();
|
|
22973
22913
|
(() => { (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
22914
|
|
|
@@ -23028,7 +22968,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
23028
22968
|
i0.ɵɵadvance(2);
|
|
23029
22969
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
23030
22970
|
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."));
|
|
22971
|
+
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
22972
|
} }
|
|
23033
22973
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
23034
22974
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23114,7 +23054,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23114
23054
|
}
|
|
23115
23055
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23116
23056
|
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" }]
|
|
23057
|
+
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
23058
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23119
23059
|
(() => { (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
23060
|
|
|
@@ -24079,7 +24019,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24079
24019
|
const trigger_r5 = i0.ɵɵreference(2);
|
|
24080
24020
|
i0.ɵɵadvance(4);
|
|
24081
24021
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
24082
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
24022
|
+
} }, 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
24023
|
}
|
|
24084
24024
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
24085
24025
|
type: Component,
|
|
@@ -24181,11 +24121,11 @@ class CaseFileViewFolderSortComponent {
|
|
|
24181
24121
|
} if (rf & 2) {
|
|
24182
24122
|
i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems);
|
|
24183
24123
|
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24184
|
-
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{
|
|
24124
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{height:20px;margin-right:-2px}"] });
|
|
24185
24125
|
}
|
|
24186
24126
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
24187
24127
|
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{
|
|
24128
|
+
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
24129
|
}], () => [{ type: AbstractAppConfig }], { sortAscending: [{
|
|
24190
24130
|
type: Output
|
|
24191
24131
|
}], sortDescending: [{
|
|
@@ -24193,6 +24133,49 @@ class CaseFileViewFolderSortComponent {
|
|
|
24193
24133
|
}] }); })();
|
|
24194
24134
|
(() => { (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
24135
|
|
|
24136
|
+
class CaseFileViewFolderToggleComponent {
|
|
24137
|
+
appConfig;
|
|
24138
|
+
isOpen = false;
|
|
24139
|
+
expandAll = new EventEmitter();
|
|
24140
|
+
collapseAll = new EventEmitter();
|
|
24141
|
+
overlayMenuItems = [
|
|
24142
|
+
{
|
|
24143
|
+
actionText: "Expand All",
|
|
24144
|
+
iconSrc: "/assets/img/accordion-plus.png",
|
|
24145
|
+
actionFn: () => this.expandAll.emit(true),
|
|
24146
|
+
},
|
|
24147
|
+
{
|
|
24148
|
+
actionText: "Collapse All",
|
|
24149
|
+
iconSrc: "/assets/img/accordion-minus.png",
|
|
24150
|
+
actionFn: () => this.collapseAll.emit(true),
|
|
24151
|
+
},
|
|
24152
|
+
];
|
|
24153
|
+
constructor(appConfig) {
|
|
24154
|
+
this.appConfig = appConfig;
|
|
24155
|
+
}
|
|
24156
|
+
static ɵfac = function CaseFileViewFolderToggleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderToggleComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24157
|
+
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) {
|
|
24158
|
+
i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
24159
|
+
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; });
|
|
24160
|
+
i0.ɵɵelementContainerStart(1, 1);
|
|
24161
|
+
i0.ɵɵelement(2, "img", 2);
|
|
24162
|
+
i0.ɵɵelementContainerEnd();
|
|
24163
|
+
i0.ɵɵelementEnd();
|
|
24164
|
+
} if (rf & 2) {
|
|
24165
|
+
i0.ɵɵproperty("title", "Toggle list")("menuItems", ctx.overlayMenuItems);
|
|
24166
|
+
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24167
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".toggle-button-icon[_ngcontent-%COMP%]{margin-right:2px;height:20px}"] });
|
|
24168
|
+
}
|
|
24169
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderToggleComponent, [{
|
|
24170
|
+
type: Component,
|
|
24171
|
+
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"] }]
|
|
24172
|
+
}], () => [{ type: AbstractAppConfig }], { expandAll: [{
|
|
24173
|
+
type: Output
|
|
24174
|
+
}], collapseAll: [{
|
|
24175
|
+
type: Output
|
|
24176
|
+
}] }); })();
|
|
24177
|
+
(() => { (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 }); })();
|
|
24178
|
+
|
|
24196
24179
|
class CaseFileViewCategory {
|
|
24197
24180
|
category_id;
|
|
24198
24181
|
category_name;
|
|
@@ -24346,27 +24329,27 @@ __decorate([
|
|
|
24346
24329
|
__metadata("design:paramtypes", [])
|
|
24347
24330
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
24348
24331
|
|
|
24349
|
-
function
|
|
24332
|
+
function CaseFileViewFolderComponent_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
24350
24333
|
i0.ɵɵelementStart(0, "div");
|
|
24351
24334
|
i0.ɵɵtext(1, " No results found ");
|
|
24352
24335
|
i0.ɵɵelementEnd();
|
|
24353
24336
|
} }
|
|
24354
|
-
function
|
|
24337
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
|
|
24355
24338
|
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",
|
|
24339
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 14)(1, "button", 15);
|
|
24340
|
+
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)); });
|
|
24341
|
+
i0.ɵɵelementStart(2, "div", 16);
|
|
24342
|
+
i0.ɵɵelement(3, "img", 17);
|
|
24360
24343
|
i0.ɵɵelementEnd();
|
|
24361
|
-
i0.ɵɵelementStart(4, "span",
|
|
24344
|
+
i0.ɵɵelementStart(4, "span", 18);
|
|
24362
24345
|
i0.ɵɵtext(5);
|
|
24363
24346
|
i0.ɵɵelement(6, "br");
|
|
24364
|
-
i0.ɵɵelementStart(7, "span",
|
|
24347
|
+
i0.ɵɵelementStart(7, "span", 19);
|
|
24365
24348
|
i0.ɵɵtext(8);
|
|
24366
24349
|
i0.ɵɵpipe(9, "ccdDate");
|
|
24367
24350
|
i0.ɵɵelementEnd()()();
|
|
24368
|
-
i0.ɵɵelementStart(10, "div",
|
|
24369
|
-
i0.ɵɵlistener("changeFolderAction", function
|
|
24351
|
+
i0.ɵɵelementStart(10, "div", 20)(11, "ccd-case-file-view-folder-document-actions", 21);
|
|
24352
|
+
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
24353
|
i0.ɵɵelementEnd()()();
|
|
24371
24354
|
} if (rf & 2) {
|
|
24372
24355
|
const node_r2 = ctx.$implicit;
|
|
@@ -24380,17 +24363,17 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
|
|
|
24380
24363
|
i0.ɵɵadvance(3);
|
|
24381
24364
|
i0.ɵɵproperty("allowMoving", ctx_r2.allowMoving);
|
|
24382
24365
|
} }
|
|
24383
|
-
function
|
|
24384
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
24385
|
-
i0.ɵɵelement(3, "img",
|
|
24386
|
-
i0.ɵɵelementStart(4, "span",
|
|
24366
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
|
|
24367
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 22)(1, "button", 23)(2, "div", 24);
|
|
24368
|
+
i0.ɵɵelement(3, "img", 25);
|
|
24369
|
+
i0.ɵɵelementStart(4, "span", 26);
|
|
24387
24370
|
i0.ɵɵtext(5);
|
|
24388
24371
|
i0.ɵɵelementEnd()();
|
|
24389
|
-
i0.ɵɵelementStart(6, "span",
|
|
24372
|
+
i0.ɵɵelementStart(6, "span", 27);
|
|
24390
24373
|
i0.ɵɵtext(7);
|
|
24391
24374
|
i0.ɵɵelementEnd()();
|
|
24392
24375
|
i0.ɵɵelementStart(8, "div");
|
|
24393
|
-
i0.ɵɵelementContainer(9,
|
|
24376
|
+
i0.ɵɵelementContainer(9, 28);
|
|
24394
24377
|
i0.ɵɵelementEnd()();
|
|
24395
24378
|
} if (rf & 2) {
|
|
24396
24379
|
const node_r4 = ctx.$implicit;
|
|
@@ -24406,11 +24389,11 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, c
|
|
|
24406
24389
|
i0.ɵɵadvance();
|
|
24407
24390
|
i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r4));
|
|
24408
24391
|
} }
|
|
24409
|
-
function
|
|
24410
|
-
i0.ɵɵelementStart(0, "div",
|
|
24411
|
-
i0.ɵɵtemplate(1,
|
|
24412
|
-
i0.ɵɵelementStart(2, "div")(3, "cdk-tree",
|
|
24413
|
-
i0.ɵɵtemplate(4,
|
|
24392
|
+
function CaseFileViewFolderComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
24393
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
24394
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_9_div_1_Template, 2, 0, "div", 10);
|
|
24395
|
+
i0.ɵɵelementStart(2, "div")(3, "cdk-tree", 11);
|
|
24396
|
+
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
24397
|
i0.ɵɵelementEnd()()();
|
|
24415
24398
|
} if (rf & 2) {
|
|
24416
24399
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -24465,6 +24448,14 @@ class CaseFileViewFolderComponent {
|
|
|
24465
24448
|
this.appConfig = appConfig;
|
|
24466
24449
|
this.nestedTreeControl = new NestedTreeControl(this.getChildren);
|
|
24467
24450
|
}
|
|
24451
|
+
collapseAll(expand) {
|
|
24452
|
+
this.nestedTreeControl.collapseAll();
|
|
24453
|
+
}
|
|
24454
|
+
expandAll(expand) {
|
|
24455
|
+
this.nestedDataSource.forEach((node) => {
|
|
24456
|
+
this.nestedTreeControl.expandDescendants(node);
|
|
24457
|
+
});
|
|
24458
|
+
}
|
|
24468
24459
|
ngOnInit() {
|
|
24469
24460
|
this.documentFilterFormGroup = new FormGroup({});
|
|
24470
24461
|
this.documentSearchFormControl = new FormControl('');
|
|
@@ -24648,29 +24639,32 @@ class CaseFileViewFolderComponent {
|
|
|
24648
24639
|
a.remove();
|
|
24649
24640
|
}
|
|
24650
24641
|
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:
|
|
24642
|
+
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
24643
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
24653
24644
|
i0.ɵɵelement(2, "input", 2);
|
|
24654
24645
|
i0.ɵɵelementEnd()();
|
|
24655
|
-
i0.ɵɵelementStart(3, "div", 3)(4, "
|
|
24646
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
|
|
24656
24647
|
i0.ɵɵtext(5);
|
|
24657
24648
|
i0.ɵɵelementEnd();
|
|
24658
|
-
i0.ɵɵelementStart(6, "div")(7, "ccd-case-file-view-folder-
|
|
24659
|
-
i0.ɵɵlistener("
|
|
24649
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "ccd-case-file-view-folder-toggle", 6);
|
|
24650
|
+
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); });
|
|
24651
|
+
i0.ɵɵelementEnd();
|
|
24652
|
+
i0.ɵɵelementStart(8, "ccd-case-file-view-folder-sort", 7);
|
|
24653
|
+
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
24654
|
i0.ɵɵelementEnd()()();
|
|
24661
|
-
i0.ɵɵtemplate(
|
|
24655
|
+
i0.ɵɵtemplate(9, CaseFileViewFolderComponent_div_9_Template, 6, 4, "div", 8);
|
|
24662
24656
|
} if (rf & 2) {
|
|
24663
24657
|
i0.ɵɵadvance();
|
|
24664
24658
|
i0.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
24665
24659
|
i0.ɵɵadvance(4);
|
|
24666
24660
|
i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
24667
|
-
i0.ɵɵadvance(
|
|
24661
|
+
i0.ɵɵadvance(4);
|
|
24668
24662
|
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}"] });
|
|
24663
|
+
} }, 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
24664
|
}
|
|
24671
24665
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
24672
24666
|
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\"
|
|
24667
|
+
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
24668
|
}], () => [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: AbstractAppConfig }], { categoriesAndDocuments: [{
|
|
24675
24669
|
type: Input
|
|
24676
24670
|
}], allowMoving: [{
|
|
@@ -29744,7 +29738,7 @@ class MarkdownComponentModule {
|
|
|
29744
29738
|
}], null, null); })();
|
|
29745
29739
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
29746
29740
|
RouterLinkComponent], imports: [CommonModule,
|
|
29747
|
-
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
29741
|
+
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule, i1$4.MarkdownModule, RouterModule], exports: [MarkdownComponent,
|
|
29748
29742
|
RouterLinkComponent] }); })();
|
|
29749
29743
|
|
|
29750
29744
|
class FeeValue {
|
|
@@ -30233,6 +30227,7 @@ const PALETTE_COMPONENTS = [
|
|
|
30233
30227
|
CaseFileViewFieldComponent,
|
|
30234
30228
|
CaseFileViewFolderComponent,
|
|
30235
30229
|
CaseFileViewFolderSortComponent,
|
|
30230
|
+
CaseFileViewFolderToggleComponent,
|
|
30236
30231
|
CaseFileViewOverlayMenuComponent,
|
|
30237
30232
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30238
30233
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30503,6 +30498,7 @@ class PaletteModule {
|
|
|
30503
30498
|
CaseFileViewFieldComponent,
|
|
30504
30499
|
CaseFileViewFolderComponent,
|
|
30505
30500
|
CaseFileViewFolderSortComponent,
|
|
30501
|
+
CaseFileViewFolderToggleComponent,
|
|
30506
30502
|
CaseFileViewOverlayMenuComponent,
|
|
30507
30503
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30508
30504
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30563,7 +30559,7 @@ class PaletteModule {
|
|
|
30563
30559
|
BodyModule,
|
|
30564
30560
|
FormModule,
|
|
30565
30561
|
TabsModule,
|
|
30566
|
-
LabelSubstitutorModule,
|
|
30562
|
+
LabelSubstitutorModule, i1$4.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30567
30563
|
NgxMatTimepickerModule,
|
|
30568
30564
|
NgxMatNativeDateModule,
|
|
30569
30565
|
MatLegacyFormFieldModule,
|
|
@@ -30659,6 +30655,7 @@ class PaletteModule {
|
|
|
30659
30655
|
CaseFileViewFieldComponent,
|
|
30660
30656
|
CaseFileViewFolderComponent,
|
|
30661
30657
|
CaseFileViewFolderSortComponent,
|
|
30658
|
+
CaseFileViewFolderToggleComponent,
|
|
30662
30659
|
CaseFileViewOverlayMenuComponent,
|
|
30663
30660
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30664
30661
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30736,7 +30733,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
30736
30733
|
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
30734
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
30738
30735
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
30739
|
-
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf,
|
|
30736
|
+
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i1$4.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30740
30737
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30741
30738
|
WriteDateFieldComponent]; }, []);
|
|
30742
30739
|
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, SelectFlagTypeComponent,
|
|
@@ -30756,7 +30753,7 @@ i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, function () { return [
|
|
|
30756
30753
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, function () { return [ReadOrderSummaryFieldComponent]; }, []);
|
|
30757
30754
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30758
30755
|
WriteDateFieldComponent]; }, []);
|
|
30759
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30756
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, i1$4.MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30760
30757
|
i0.ɵɵsetComponentScope(
|
|
30761
30758
|
// ComponentLauncher web components
|
|
30762
30759
|
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
|
|
@@ -32157,7 +32154,7 @@ class PaginationComponent {
|
|
|
32157
32154
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 4, "Pagination"));
|
|
32158
32155
|
i0.ɵɵadvance(2);
|
|
32159
32156
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && p_r3.pages.length <= 1));
|
|
32160
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
32157
|
+
} }, 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
32158
|
}
|
|
32162
32159
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
32163
32160
|
type: Component,
|
|
@@ -32503,7 +32500,7 @@ class CaseListComponent {
|
|
|
32503
32500
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32504
32501
|
i0.ɵɵadvance(2);
|
|
32505
32502
|
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$
|
|
32503
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$2.PaginatePipe, i1.RpxTranslatePipe] });
|
|
32507
32504
|
}
|
|
32508
32505
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
32509
32506
|
type: Component,
|
|
@@ -39578,7 +39575,7 @@ class SearchResultModule {
|
|
|
39578
39575
|
PipesModule,
|
|
39579
39576
|
ActivityModule,
|
|
39580
39577
|
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$
|
|
39578
|
+
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
39579
|
|
|
39583
39580
|
// tslint:disable:variable-name
|
|
39584
39581
|
class ComplexFieldOverride {
|
|
@@ -39822,5 +39819,5 @@ class TestRouteSnapshotBuilder {
|
|
|
39822
39819
|
* Generated bundle index. Do not edit.
|
|
39823
39820
|
*/
|
|
39824
39821
|
|
|
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 };
|
|
39822
|
+
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
39823
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|