@hmcts/ccd-case-ui-toolkit 7.2.2 → 7.2.4-no-task-error
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/collection/write-collection-field.component.mjs +16 -17
- package/esm2022/lib/shared/components/palette/palette.module.mjs +1 -1
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +163 -126
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +33 -31
- 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 +8 -4
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +33 -5
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +3 -3
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +268 -199
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +6 -1
- 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 +4 -1
- 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 +1 -0
- 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 i2$1 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$2 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$3 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';
|
|
@@ -14370,17 +14370,16 @@ 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.ɵɵ
|
|
14376
|
-
i0.ɵɵelementEnd()();
|
|
14373
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
14374
|
+
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
14375
|
+
i0.ɵɵelementEnd();
|
|
14377
14376
|
} if (rf & 2) {
|
|
14378
14377
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14379
|
-
i0.ɵɵadvance(
|
|
14380
|
-
i0.ɵɵ
|
|
14378
|
+
i0.ɵɵadvance();
|
|
14379
|
+
i0.ɵɵproperty("content", ctx_r0.caseField.hint_text);
|
|
14381
14380
|
} }
|
|
14382
14381
|
function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14383
|
-
i0.ɵɵelementStart(0, "span",
|
|
14382
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
14384
14383
|
i0.ɵɵtext(1);
|
|
14385
14384
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14386
14385
|
i0.ɵɵelementEnd();
|
|
@@ -14391,7 +14390,7 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14391
14390
|
} }
|
|
14392
14391
|
function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
14393
14392
|
i0.ɵɵelementStart(0, "h2", 3);
|
|
14394
|
-
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template,
|
|
14393
|
+
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template, 2, 1, "span", 8)(2, WriteCollectionFieldComponent_h2_8_span_2_Template, 3, 4, "span", 9);
|
|
14395
14394
|
i0.ɵɵelementEnd();
|
|
14396
14395
|
} if (rf & 2) {
|
|
14397
14396
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14402,16 +14401,16 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14402
14401
|
} }
|
|
14403
14402
|
function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14404
14403
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14405
|
-
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div",
|
|
14404
|
+
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 16)(3, "div", 17)(4, "legend", 18)(5, "label", 19)(6, "h3", 20);
|
|
14406
14405
|
i0.ɵɵtext(7);
|
|
14407
14406
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14408
14407
|
i0.ɵɵelementEnd()()()();
|
|
14409
|
-
i0.ɵɵelementStart(9, "div",
|
|
14408
|
+
i0.ɵɵelementStart(9, "div", 21)(10, "button", 22);
|
|
14410
14409
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_div_9_div_2_Template_button_click_10_listener() { const i_r3 = i0.ɵɵrestoreView(_r2).index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.openModal(i_r3)); });
|
|
14411
14410
|
i0.ɵɵtext(11);
|
|
14412
14411
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14413
14412
|
i0.ɵɵelementEnd()()();
|
|
14414
|
-
i0.ɵɵelement(13, "ccd-field-write",
|
|
14413
|
+
i0.ɵɵelement(13, "ccd-field-write", 23);
|
|
14415
14414
|
i0.ɵɵelementEnd();
|
|
14416
14415
|
} if (rf & 2) {
|
|
14417
14416
|
const item_r4 = ctx.$implicit;
|
|
@@ -14431,8 +14430,8 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14431
14430
|
i0.ɵɵproperty("caseField", item_r4.caseField)("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("parent", item_r4.container)("idPrefix", item_r4.prefix)("hidden", item_r4.caseField.hidden)("isExpanded", ctx_r0.isExpanded)("isInSearchBlock", ctx_r0.isInSearchBlock);
|
|
14432
14431
|
} }
|
|
14433
14432
|
function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
14434
|
-
i0.ɵɵelementStart(0, "div",
|
|
14435
|
-
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div",
|
|
14433
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "fieldset", 14);
|
|
14434
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div", 15);
|
|
14436
14435
|
i0.ɵɵelementEnd()();
|
|
14437
14436
|
} if (rf & 2) {
|
|
14438
14437
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14442,7 +14441,7 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14442
14441
|
} }
|
|
14443
14442
|
function WriteCollectionFieldComponent_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
14444
14443
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14445
|
-
i0.ɵɵelementStart(0, "button",
|
|
14444
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
14446
14445
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.addItem(false)); });
|
|
14447
14446
|
i0.ɵɵtext(1);
|
|
14448
14447
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14760,7 +14759,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14760
14759
|
} if (rf & 2) {
|
|
14761
14760
|
let _t;
|
|
14762
14761
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
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) {
|
|
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"], [3, "content"], [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) {
|
|
14764
14763
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
14765
14764
|
i0.ɵɵtext(3);
|
|
14766
14765
|
i0.ɵɵpipe(4, "ccdFieldLabel");
|
|
@@ -14790,7 +14789,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14790
14789
|
}
|
|
14791
14790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14792
14791
|
type: Component,
|
|
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
|
|
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 <ccd-markdown [content]=\"caseField.hint_text\"></ccd-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"] }]
|
|
14794
14793
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14795
14794
|
type: Input
|
|
14796
14795
|
}], items: [{
|
|
@@ -15734,7 +15733,7 @@ class MarkdownComponent {
|
|
|
15734
15733
|
} if (rf & 2) {
|
|
15735
15734
|
i0.ɵɵadvance();
|
|
15736
15735
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15737
|
-
} }, dependencies: [
|
|
15736
|
+
} }, dependencies: [i2$1.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15738
15737
|
}
|
|
15739
15738
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15740
15739
|
type: Component,
|
|
@@ -20866,10 +20865,11 @@ class QueryListItem {
|
|
|
20866
20865
|
createdBy;
|
|
20867
20866
|
parentId;
|
|
20868
20867
|
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 > 1) {
|
|
20873
20873
|
for (const child of item.children) {
|
|
20874
20874
|
const childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20875
20875
|
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
@@ -20885,20 +20885,47 @@ class QueryListItem {
|
|
|
20885
20885
|
return this.lastSubmittedMessage.name;
|
|
20886
20886
|
}
|
|
20887
20887
|
get lastSubmittedDate() {
|
|
20888
|
-
|
|
20888
|
+
const childrenCount = this.children.length;
|
|
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);
|
|
20889
20897
|
}
|
|
20890
20898
|
get lastResponseBy() {
|
|
20891
20899
|
return this.children?.length > 0 ? this.lastSubmittedMessage.name : '';
|
|
20892
20900
|
}
|
|
20893
20901
|
get lastResponseDate() {
|
|
20894
|
-
|
|
20902
|
+
const childrenCount = this.children.length;
|
|
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);
|
|
20895
20914
|
}
|
|
20896
20915
|
get responseStatus() {
|
|
20897
|
-
|
|
20916
|
+
// Child logic (position-based)
|
|
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) {
|
|
20898
20924
|
return this.children.length % 2 === 1
|
|
20899
20925
|
? QueryItemResponseStatus.RESPONDED
|
|
20900
20926
|
: QueryItemResponseStatus.AWAITING;
|
|
20901
20927
|
}
|
|
20928
|
+
// No children — still awaiting
|
|
20902
20929
|
return QueryItemResponseStatus.AWAITING;
|
|
20903
20930
|
}
|
|
20904
20931
|
}
|
|
@@ -20915,12 +20942,16 @@ class QueryListData {
|
|
|
20915
20942
|
this.queries = parentMessages.map((message) => this.buildQueryListItem(message, caseQueriesCollection.caseMessages));
|
|
20916
20943
|
}
|
|
20917
20944
|
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
|
+
});
|
|
20918
20951
|
const queryListItem = new QueryListItem();
|
|
20919
20952
|
Object.assign(queryListItem, {
|
|
20920
20953
|
...message.value,
|
|
20921
|
-
children
|
|
20922
|
-
.filter((childMessage) => childMessage.value.parentId === message.value.id)
|
|
20923
|
-
.map((childMessage) => this.buildQueryListItem(childMessage, allMessages))
|
|
20954
|
+
children
|
|
20924
20955
|
});
|
|
20925
20956
|
return queryListItem;
|
|
20926
20957
|
}
|
|
@@ -21010,8 +21041,8 @@ class QueryManagementUtils {
|
|
|
21010
21041
|
type: Injectable
|
|
21011
21042
|
}], null, null); })();
|
|
21012
21043
|
|
|
21013
|
-
function
|
|
21014
|
-
i0.ɵɵelementStart(0, "li")(1, "a",
|
|
21044
|
+
function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21045
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 26);
|
|
21015
21046
|
i0.ɵɵtext(2);
|
|
21016
21047
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21017
21048
|
i0.ɵɵelementEnd()();
|
|
@@ -21022,24 +21053,24 @@ function QueryCheckYourAnswersComponent_div_2_li_6_Template(rf, ctx) { if (rf &
|
|
|
21022
21053
|
i0.ɵɵadvance();
|
|
21023
21054
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21024
21055
|
} }
|
|
21025
|
-
function
|
|
21026
|
-
i0.ɵɵelementStart(0, "div",
|
|
21056
|
+
function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21057
|
+
i0.ɵɵelementStart(0, "div", 21)(1, "h2", 22);
|
|
21027
21058
|
i0.ɵɵtext(2);
|
|
21028
21059
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21029
21060
|
i0.ɵɵelementEnd();
|
|
21030
|
-
i0.ɵɵelementStart(4, "div",
|
|
21031
|
-
i0.ɵɵtemplate(6,
|
|
21061
|
+
i0.ɵɵelementStart(4, "div", 23)(5, "ul", 24);
|
|
21062
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template, 4, 4, "li", 25);
|
|
21032
21063
|
i0.ɵɵelementEnd()()();
|
|
21033
21064
|
} if (rf & 2) {
|
|
21034
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21065
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21035
21066
|
i0.ɵɵadvance(2);
|
|
21036
21067
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21037
21068
|
i0.ɵɵadvance(4);
|
|
21038
21069
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21039
21070
|
} }
|
|
21040
|
-
function
|
|
21071
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21041
21072
|
i0.ɵɵelementContainerStart(0);
|
|
21042
|
-
i0.ɵɵelementStart(1, "div",
|
|
21073
|
+
i0.ɵɵelementStart(1, "div", 27);
|
|
21043
21074
|
i0.ɵɵtext(2);
|
|
21044
21075
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21045
21076
|
i0.ɵɵelementEnd();
|
|
@@ -21048,7 +21079,7 @@ function QueryCheckYourAnswersComponent_ng_container_3_Template(rf, ctx) { if (r
|
|
|
21048
21079
|
i0.ɵɵadvance(2);
|
|
21049
21080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21050
21081
|
} }
|
|
21051
|
-
function
|
|
21082
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21052
21083
|
i0.ɵɵelementContainerStart(0);
|
|
21053
21084
|
i0.ɵɵtext(1);
|
|
21054
21085
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21057,16 +21088,16 @@ function QueryCheckYourAnswersComponent_ng_container_5_Template(rf, ctx) { if (r
|
|
|
21057
21088
|
i0.ɵɵadvance();
|
|
21058
21089
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21059
21090
|
} }
|
|
21060
|
-
function
|
|
21091
|
+
function QueryCheckYourAnswersComponent_div_0_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
21061
21092
|
i0.ɵɵtext(0);
|
|
21062
21093
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21063
21094
|
} if (rf & 2) {
|
|
21064
21095
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21065
21096
|
} }
|
|
21066
|
-
function
|
|
21097
|
+
function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21067
21098
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21068
|
-
i0.ɵɵelementStart(0, "a",
|
|
21069
|
-
i0.ɵɵlistener("click", function
|
|
21099
|
+
i0.ɵɵelementStart(0, "a", 17);
|
|
21100
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21070
21101
|
i0.ɵɵtext(1);
|
|
21071
21102
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21072
21103
|
i0.ɵɵelementEnd();
|
|
@@ -21074,28 +21105,28 @@ function QueryCheckYourAnswersComponent_dl_10_a_8_Template(rf, ctx) { if (rf & 1
|
|
|
21074
21105
|
i0.ɵɵadvance();
|
|
21075
21106
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21076
21107
|
} }
|
|
21077
|
-
function
|
|
21078
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21108
|
+
function QueryCheckYourAnswersComponent_div_0_dl_10_Template(rf, ctx) { if (rf & 1) {
|
|
21109
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21079
21110
|
i0.ɵɵtext(3);
|
|
21080
21111
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21081
21112
|
i0.ɵɵelementEnd();
|
|
21082
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21113
|
+
i0.ɵɵelementStart(5, "dd", 15);
|
|
21083
21114
|
i0.ɵɵtext(6);
|
|
21084
21115
|
i0.ɵɵelementEnd();
|
|
21085
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21086
|
-
i0.ɵɵtemplate(8,
|
|
21116
|
+
i0.ɵɵelementStart(7, "dd", 16);
|
|
21117
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template, 3, 3, "a", 28);
|
|
21087
21118
|
i0.ɵɵelementEnd()()();
|
|
21088
21119
|
} if (rf & 2) {
|
|
21089
|
-
let
|
|
21090
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21120
|
+
let tmp_4_0;
|
|
21121
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21091
21122
|
i0.ɵɵadvance(3);
|
|
21092
21123
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21093
21124
|
i0.ɵɵadvance(3);
|
|
21094
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (
|
|
21125
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (tmp_4_0 = ctx_r2.formGroup.get("subject")) == null ? null : tmp_4_0.value, " ");
|
|
21095
21126
|
i0.ɵɵadvance(2);
|
|
21096
21127
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21097
21128
|
} }
|
|
21098
|
-
function
|
|
21129
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21099
21130
|
i0.ɵɵelementContainerStart(0);
|
|
21100
21131
|
i0.ɵɵtext(1);
|
|
21101
21132
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21104,89 +21135,89 @@ function QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template(rf, ctx) {
|
|
|
21104
21135
|
i0.ɵɵadvance();
|
|
21105
21136
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21106
21137
|
} }
|
|
21107
|
-
function
|
|
21138
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21108
21139
|
i0.ɵɵtext(0);
|
|
21109
21140
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21110
21141
|
} if (rf & 2) {
|
|
21111
21142
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21112
21143
|
} }
|
|
21113
|
-
function
|
|
21144
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21114
21145
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
21115
|
-
i0.ɵɵelementStart(0, "div",
|
|
21146
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "dt", 14);
|
|
21116
21147
|
i0.ɵɵtext(2);
|
|
21117
21148
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21118
21149
|
i0.ɵɵelementEnd();
|
|
21119
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21150
|
+
i0.ɵɵelementStart(4, "dd", 15);
|
|
21120
21151
|
i0.ɵɵtext(5);
|
|
21121
21152
|
i0.ɵɵpipe(6, "date");
|
|
21122
21153
|
i0.ɵɵelementEnd();
|
|
21123
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21124
|
-
i0.ɵɵlistener("click", function
|
|
21154
|
+
i0.ɵɵelementStart(7, "dd", 16)(8, "a", 17);
|
|
21155
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21125
21156
|
i0.ɵɵtext(9);
|
|
21126
21157
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21127
21158
|
i0.ɵɵelementEnd()()();
|
|
21128
21159
|
} if (rf & 2) {
|
|
21129
|
-
let
|
|
21130
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21160
|
+
let tmp_6_0;
|
|
21161
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21131
21162
|
i0.ɵɵadvance(2);
|
|
21132
21163
|
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?"), " ");
|
|
21133
21164
|
i0.ɵɵadvance(3);
|
|
21134
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (
|
|
21165
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_6_0 = ctx_r2.formGroup.get("hearingDate")) == null ? null : tmp_6_0.value, "dd MMM yyyy"), " ");
|
|
21135
21166
|
i0.ɵɵadvance(4);
|
|
21136
21167
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21137
21168
|
} }
|
|
21138
|
-
function
|
|
21169
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_Template(rf, ctx) { if (rf & 1) {
|
|
21139
21170
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
21140
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21171
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21141
21172
|
i0.ɵɵtext(3);
|
|
21142
21173
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21143
21174
|
i0.ɵɵelementEnd();
|
|
21144
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21145
|
-
i0.ɵɵtemplate(6,
|
|
21175
|
+
i0.ɵɵelementStart(5, "dd", 15);
|
|
21176
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template, 3, 5, "ng-container", 8)(7, QueryCheckYourAnswersComponent_div_0_dl_22_ng_template_7_Template, 2, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
21146
21177
|
i0.ɵɵelementEnd();
|
|
21147
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21148
|
-
i0.ɵɵlistener("click", function
|
|
21178
|
+
i0.ɵɵelementStart(9, "dd", 16)(10, "a", 17);
|
|
21179
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_22_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21149
21180
|
i0.ɵɵtext(11);
|
|
21150
21181
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21151
21182
|
i0.ɵɵelementEnd()()();
|
|
21152
|
-
i0.ɵɵtemplate(13,
|
|
21183
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template, 11, 10, "div", 29);
|
|
21153
21184
|
i0.ɵɵelementEnd();
|
|
21154
21185
|
} if (rf & 2) {
|
|
21155
|
-
let
|
|
21156
|
-
let
|
|
21186
|
+
let tmp_5_0;
|
|
21187
|
+
let tmp_8_0;
|
|
21157
21188
|
const isHearingRelatedFalse_r7 = i0.ɵɵreference(8);
|
|
21158
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21189
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21159
21190
|
i0.ɵɵadvance(3);
|
|
21160
21191
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21161
21192
|
i0.ɵɵadvance(3);
|
|
21162
|
-
i0.ɵɵproperty("ngIf", ((
|
|
21193
|
+
i0.ɵɵproperty("ngIf", ((tmp_5_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_5_0.value) === true)("ngIfElse", isHearingRelatedFalse_r7);
|
|
21163
21194
|
i0.ɵɵadvance(5);
|
|
21164
21195
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21165
21196
|
i0.ɵɵadvance(2);
|
|
21166
|
-
i0.ɵɵproperty("ngIf", (
|
|
21197
|
+
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_8_0.value);
|
|
21167
21198
|
} }
|
|
21168
|
-
function
|
|
21169
|
-
i0.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21199
|
+
function QueryCheckYourAnswersComponent_div_0_dl_23_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21200
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 32);
|
|
21170
21201
|
} if (rf & 2) {
|
|
21171
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21202
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21172
21203
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21173
21204
|
} }
|
|
21174
|
-
function
|
|
21205
|
+
function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
21175
21206
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
21176
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21207
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21177
21208
|
i0.ɵɵtext(3);
|
|
21178
21209
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21179
21210
|
i0.ɵɵelementEnd();
|
|
21180
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21181
|
-
i0.ɵɵtemplate(6,
|
|
21211
|
+
i0.ɵɵelementStart(5, "dd", 30);
|
|
21212
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_23_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 31);
|
|
21182
21213
|
i0.ɵɵelementEnd();
|
|
21183
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21184
|
-
i0.ɵɵlistener("click", function
|
|
21214
|
+
i0.ɵɵelementStart(7, "dd", 16)(8, "a", 17);
|
|
21215
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_23_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21185
21216
|
i0.ɵɵtext(9);
|
|
21186
21217
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21187
21218
|
i0.ɵɵelementEnd()()()();
|
|
21188
21219
|
} if (rf & 2) {
|
|
21189
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21220
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21190
21221
|
i0.ɵɵadvance(3);
|
|
21191
21222
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21192
21223
|
i0.ɵɵadvance(3);
|
|
@@ -21194,6 +21225,74 @@ function QueryCheckYourAnswersComponent_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
|
21194
21225
|
i0.ɵɵadvance(3);
|
|
21195
21226
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21196
21227
|
} }
|
|
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
|
+
} }
|
|
21197
21296
|
class QueryCheckYourAnswersComponent {
|
|
21198
21297
|
route;
|
|
21199
21298
|
router;
|
|
@@ -21216,6 +21315,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21216
21315
|
eventData = null;
|
|
21217
21316
|
backClicked = new EventEmitter();
|
|
21218
21317
|
querySubmitted = new EventEmitter();
|
|
21318
|
+
callbackConfirmationMessage = new EventEmitter();
|
|
21219
21319
|
caseViewTrigger;
|
|
21220
21320
|
caseDetails;
|
|
21221
21321
|
queryId;
|
|
@@ -21229,6 +21329,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21229
21329
|
attachments;
|
|
21230
21330
|
errorMessages = [];
|
|
21231
21331
|
filteredTasks = [];
|
|
21332
|
+
readyToSubmit;
|
|
21333
|
+
isSubmitting = false;
|
|
21232
21334
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21233
21335
|
this.route = route;
|
|
21234
21336
|
this.router = router;
|
|
@@ -21265,6 +21367,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21265
21367
|
else {
|
|
21266
21368
|
this.filteredTasks = response.tasks;
|
|
21267
21369
|
}
|
|
21370
|
+
this.readyToSubmit = true;
|
|
21268
21371
|
}
|
|
21269
21372
|
},
|
|
21270
21373
|
error: (error) => {
|
|
@@ -21272,6 +21375,9 @@ class QueryCheckYourAnswersComponent {
|
|
|
21272
21375
|
}
|
|
21273
21376
|
});
|
|
21274
21377
|
}
|
|
21378
|
+
else {
|
|
21379
|
+
this.readyToSubmit = true;
|
|
21380
|
+
}
|
|
21275
21381
|
}
|
|
21276
21382
|
ngOnDestroy() {
|
|
21277
21383
|
this.createEventSubscription?.unsubscribe();
|
|
@@ -21281,6 +21387,9 @@ class QueryCheckYourAnswersComponent {
|
|
|
21281
21387
|
this.backClicked.emit(true);
|
|
21282
21388
|
}
|
|
21283
21389
|
submit() {
|
|
21390
|
+
if (this.isSubmitting) {
|
|
21391
|
+
return;
|
|
21392
|
+
}
|
|
21284
21393
|
// Check if fieldId is null or undefined
|
|
21285
21394
|
if (!this.fieldId) {
|
|
21286
21395
|
console.error('Error: Field ID is missing. Cannot proceed with submission.');
|
|
@@ -21291,13 +21400,20 @@ class QueryCheckYourAnswersComponent {
|
|
|
21291
21400
|
fieldId: 'field-id'
|
|
21292
21401
|
}
|
|
21293
21402
|
];
|
|
21403
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21294
21404
|
return;
|
|
21295
21405
|
}
|
|
21296
21406
|
const data = this.generateCaseQueriesCollectionData();
|
|
21297
21407
|
const createEvent$ = this.createEvent(data);
|
|
21408
|
+
this.isSubmitting = true;
|
|
21298
21409
|
if (this.queryCreateContext === QueryCreateContext.RESPOND) {
|
|
21299
21410
|
if (this.filteredTasks?.length > 0) {
|
|
21300
|
-
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) =>
|
|
21411
|
+
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => {
|
|
21412
|
+
const confirmationBody = createEventResponse?.after_submit_callback_response?.confirmation_body;
|
|
21413
|
+
const confirmationHeader = createEventResponse?.after_submit_callback_response?.confirmation_header;
|
|
21414
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21415
|
+
return this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name);
|
|
21416
|
+
})).subscribe({
|
|
21301
21417
|
next: () => this.finaliseSubmission(),
|
|
21302
21418
|
error: (error) => this.handleError(error)
|
|
21303
21419
|
});
|
|
@@ -21311,11 +21427,19 @@ class QueryCheckYourAnswersComponent {
|
|
|
21311
21427
|
fieldId: 'field-id'
|
|
21312
21428
|
}
|
|
21313
21429
|
];
|
|
21430
|
+
this.isSubmitting = false;
|
|
21431
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21432
|
+
return;
|
|
21314
21433
|
}
|
|
21315
21434
|
}
|
|
21316
21435
|
else {
|
|
21317
21436
|
this.createEventSubscription = createEvent$.subscribe({
|
|
21318
|
-
next: () =>
|
|
21437
|
+
next: (callbackResponse) => {
|
|
21438
|
+
this.finaliseSubmission();
|
|
21439
|
+
const confirmationBody = callbackResponse?.after_submit_callback_response?.confirmation_body;
|
|
21440
|
+
const confirmationHeader = callbackResponse?.after_submit_callback_response?.confirmation_header;
|
|
21441
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21442
|
+
},
|
|
21319
21443
|
error: (error) => this.handleError(error)
|
|
21320
21444
|
});
|
|
21321
21445
|
}
|
|
@@ -21335,9 +21459,11 @@ class QueryCheckYourAnswersComponent {
|
|
|
21335
21459
|
finaliseSubmission() {
|
|
21336
21460
|
this.querySubmitted.emit(true);
|
|
21337
21461
|
this.qualifyingQuestionService.clearQualifyingQuestionSelection();
|
|
21462
|
+
this.isSubmitting = false;
|
|
21338
21463
|
}
|
|
21339
21464
|
handleError(error) {
|
|
21340
21465
|
console.error('Error in API calls:', error);
|
|
21466
|
+
this.isSubmitting = false;
|
|
21341
21467
|
this.router.navigate(['/', 'service-down']);
|
|
21342
21468
|
}
|
|
21343
21469
|
generateCaseQueriesCollectionData() {
|
|
@@ -21476,14 +21602,16 @@ class QueryCheckYourAnswersComponent {
|
|
|
21476
21602
|
const candidateFields = this.eventData?.case_fields?.filter((field) => field.field_type.id === this.CASE_QUERIES_COLLECTION_ID &&
|
|
21477
21603
|
field.field_type.type === this.FIELD_TYPE_COMPLEX &&
|
|
21478
21604
|
field.display_context !== this.DISPLAY_CONTEXT_READONLY);
|
|
21479
|
-
if (!candidateFields?.length)
|
|
21605
|
+
if (!candidateFields?.length) {
|
|
21480
21606
|
return undefined;
|
|
21607
|
+
}
|
|
21481
21608
|
const firstPageFields = this.eventData?.wizard_pages?.[0]?.wizard_page_fields;
|
|
21482
|
-
if (!firstPageFields)
|
|
21609
|
+
if (!firstPageFields) {
|
|
21483
21610
|
return undefined;
|
|
21611
|
+
}
|
|
21484
21612
|
return candidateFields
|
|
21485
21613
|
.map((field) => {
|
|
21486
|
-
const wizardField = firstPageFields.find(f => f.case_field_id === field.id);
|
|
21614
|
+
const wizardField = firstPageFields.find((f) => f.case_field_id === field.id);
|
|
21487
21615
|
return { field, order: wizardField?.order ?? Number.MAX_SAFE_INTEGER };
|
|
21488
21616
|
})
|
|
21489
21617
|
.sort((a, b) => a.order - b.order)[0]?.field;
|
|
@@ -21499,77 +21627,15 @@ class QueryCheckYourAnswersComponent {
|
|
|
21499
21627
|
}
|
|
21500
21628
|
}
|
|
21501
21629
|
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)); };
|
|
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:
|
|
21503
|
-
|
|
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();
|
|
21630
|
+
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", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [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) {
|
|
21631
|
+
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 33, 22, "div", 2);
|
|
21539
21632
|
} if (rf & 2) {
|
|
21540
|
-
|
|
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);
|
|
21633
|
+
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
21568
21634
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21569
21635
|
}
|
|
21570
21636
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21571
21637
|
type: Component,
|
|
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"] }]
|
|
21638
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"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"] }]
|
|
21573
21639
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21574
21640
|
type: Input
|
|
21575
21641
|
}], queryItem: [{
|
|
@@ -21582,6 +21648,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21582
21648
|
type: Output
|
|
21583
21649
|
}], querySubmitted: [{
|
|
21584
21650
|
type: Output
|
|
21651
|
+
}], callbackConfirmationMessage: [{
|
|
21652
|
+
type: Output
|
|
21585
21653
|
}] }); })();
|
|
21586
21654
|
(() => { (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 }); })();
|
|
21587
21655
|
|
|
@@ -21717,7 +21785,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21717
21785
|
i0.ɵɵadvance(5);
|
|
21718
21786
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "Last response date"));
|
|
21719
21787
|
i0.ɵɵadvance(3);
|
|
21720
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd
|
|
21788
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21721
21789
|
i0.ɵɵadvance(2);
|
|
21722
21790
|
i0.ɵɵproperty("ngIf", ctx_r0.isInternalUser());
|
|
21723
21791
|
i0.ɵɵadvance(3);
|
|
@@ -21787,7 +21855,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21787
21855
|
i0.ɵɵadvance(5);
|
|
21788
21856
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 13, "Last submission date"));
|
|
21789
21857
|
i0.ɵɵadvance(3);
|
|
21790
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd
|
|
21858
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21791
21859
|
i0.ɵɵadvance(4);
|
|
21792
21860
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Last submitted by"));
|
|
21793
21861
|
i0.ɵɵadvance(3);
|
|
@@ -21887,7 +21955,7 @@ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21887
21955
|
i0.ɵɵadvance(3);
|
|
21888
21956
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 27, "Submission date"));
|
|
21889
21957
|
i0.ɵɵadvance(3);
|
|
21890
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd
|
|
21958
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21891
21959
|
i0.ɵɵadvance(4);
|
|
21892
21960
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 32, "Query subject"));
|
|
21893
21961
|
i0.ɵɵadvance(3);
|
|
@@ -21973,7 +22041,7 @@ class QueryDetailsComponent {
|
|
|
21973
22041
|
}
|
|
21974
22042
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
21975
22043
|
type: Component,
|
|
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
|
|
22044
|
+
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 MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"i % 2 === 0; else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".query-details-table .govuk-table__header{width:330px}\n"] }]
|
|
21977
22045
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
21978
22046
|
type: Input
|
|
21979
22047
|
}], caseId: [{
|
|
@@ -22061,9 +22129,9 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
22061
22129
|
i0.ɵɵadvance(2);
|
|
22062
22130
|
i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
22063
22131
|
i0.ɵɵadvance(2);
|
|
22064
|
-
i0.ɵɵ
|
|
22132
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY HH:mm"), " ");
|
|
22065
22133
|
i0.ɵɵadvance(3);
|
|
22066
|
-
i0.ɵɵ
|
|
22134
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY HH:mm"), " ");
|
|
22067
22135
|
i0.ɵɵadvance(3);
|
|
22068
22136
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
|
|
22069
22137
|
} }
|
|
@@ -22167,7 +22235,7 @@ class QueryListComponent {
|
|
|
22167
22235
|
}
|
|
22168
22236
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22169
22237
|
type: Component,
|
|
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"] }]
|
|
22238
|
+
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 HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastResponseDate | date: 'dd MMM YYYY HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.responseStatus | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n</ng-container>\n", styles: ["@charset \"UTF-8\";.query-list__row>*:first-child{padding-left:10px}.query-list__row>*:last-child{padding-right:10px}.query-list__cell--first{width:33%}.query-list__table{border:1px solid #b1b4b6;border-top:none}.query-list__caption{background-color:#dee0e2;border:1px solid #b1b4b6;border-bottom:none;font-weight:700;margin-bottom:0;padding:10px}.query-list__caption{font-size:18px}[aria-sort] button,[aria-sort] button:hover,[aria-sort] button:hover:hover{background-color:transparent;border-width:0;-webkit-box-shadow:0 0 0 0;-moz-box-shadow:0 0 0 0;box-shadow:0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort] button:focus,[aria-sort] button:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort]:first-child button{right:auto}[aria-sort] button:before{content:\" \\25bc\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort] button:after{content:\" \\25b2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending] button:before,[aria-sort=descending] button:before{content:none}[aria-sort=ascending] button:after{content:\" \\25b2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending] button:after{content:\" \\25bc\";font-size:.8em;position:absolute;right:-5px;top:2px}\n"] }]
|
|
22171
22239
|
}], null, { caseQueriesCollection: [{
|
|
22172
22240
|
type: Input
|
|
22173
22241
|
}], selectedQuery: [{
|
|
@@ -22718,7 +22786,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22718
22786
|
const matchingMessage = filteredMessages[0]?.value;
|
|
22719
22787
|
let filteredQuery = [];
|
|
22720
22788
|
if (this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND) {
|
|
22721
|
-
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.
|
|
22789
|
+
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.id === message?.id);
|
|
22722
22790
|
if (matchingMessage) {
|
|
22723
22791
|
this.queryItemDisplay = new QueryListItem();
|
|
22724
22792
|
Object.assign(this.queryItemDisplay, matchingMessage);
|
|
@@ -22793,27 +22861,25 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22793
22861
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22794
22862
|
i0.ɵɵelementEnd();
|
|
22795
22863
|
i0.ɵɵelementStart(5, "div", 7);
|
|
22796
|
-
i0.ɵɵ
|
|
22864
|
+
i0.ɵɵelement(6, "ccd-markdown", 8);
|
|
22797
22865
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22798
22866
|
i0.ɵɵelementEnd()();
|
|
22799
|
-
i0.ɵɵelementStart(8, "div",
|
|
22867
|
+
i0.ɵɵelementStart(8, "div", 9)(9, "h3", 10);
|
|
22800
22868
|
i0.ɵɵtext(10);
|
|
22801
22869
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
22802
22870
|
i0.ɵɵelementEnd();
|
|
22803
|
-
i0.ɵɵ
|
|
22804
|
-
i0.ɵɵ
|
|
22805
|
-
i0.ɵɵ
|
|
22806
|
-
i0.ɵɵ
|
|
22807
|
-
i0.ɵɵ
|
|
22808
|
-
i0.ɵɵtext(16);
|
|
22809
|
-
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22871
|
+
i0.ɵɵelement(12, "ccd-markdown", 8);
|
|
22872
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22873
|
+
i0.ɵɵelementStart(14, "p");
|
|
22874
|
+
i0.ɵɵtext(15);
|
|
22875
|
+
i0.ɵɵpipe(16, "rpxTranslate");
|
|
22810
22876
|
i0.ɵɵelementEnd();
|
|
22811
|
-
i0.ɵɵelementStart(
|
|
22812
|
-
i0.ɵɵtext(
|
|
22813
|
-
i0.ɵɵpipe(
|
|
22814
|
-
i0.ɵɵelementStart(
|
|
22815
|
-
i0.ɵɵtext(
|
|
22816
|
-
i0.ɵɵpipe(
|
|
22877
|
+
i0.ɵɵelementStart(17, "p");
|
|
22878
|
+
i0.ɵɵtext(18);
|
|
22879
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
22880
|
+
i0.ɵɵelementStart(20, "a", 11);
|
|
22881
|
+
i0.ɵɵtext(21);
|
|
22882
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
22817
22883
|
i0.ɵɵelementEnd()()();
|
|
22818
22884
|
i0.ɵɵelementContainerEnd();
|
|
22819
22885
|
} if (rf & 2) {
|
|
@@ -22821,19 +22887,19 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22821
22887
|
i0.ɵɵadvance(3);
|
|
22822
22888
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
|
|
22823
22889
|
i0.ɵɵadvance(3);
|
|
22824
|
-
i0.ɵɵ
|
|
22890
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 11, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
22825
22891
|
i0.ɵɵadvance(4);
|
|
22826
22892
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "What happens next"));
|
|
22893
|
+
i0.ɵɵadvance(2);
|
|
22894
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 15, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
22827
22895
|
i0.ɵɵadvance(3);
|
|
22828
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22829
|
-
i0.ɵɵadvance(3);
|
|
22830
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22896
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22831
22897
|
i0.ɵɵadvance(3);
|
|
22832
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22898
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 19, "You can"), " ");
|
|
22833
22899
|
i0.ɵɵadvance(2);
|
|
22834
22900
|
i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
|
|
22835
22901
|
i0.ɵɵadvance();
|
|
22836
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22902
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 21, "Go back to the case"));
|
|
22837
22903
|
} }
|
|
22838
22904
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22839
22905
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22841,19 +22907,19 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22841
22907
|
i0.ɵɵtext(3);
|
|
22842
22908
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22843
22909
|
i0.ɵɵelementEnd();
|
|
22844
|
-
i0.ɵɵelementStart(5, "div",
|
|
22910
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
22845
22911
|
i0.ɵɵtext(6);
|
|
22846
22912
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22847
22913
|
i0.ɵɵelementEnd()();
|
|
22848
|
-
i0.ɵɵelementStart(8, "div",
|
|
22914
|
+
i0.ɵɵelementStart(8, "div", 9);
|
|
22849
22915
|
i0.ɵɵtext(9);
|
|
22850
22916
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22851
|
-
i0.ɵɵelementStart(11, "a",
|
|
22917
|
+
i0.ɵɵelementStart(11, "a", 13);
|
|
22852
22918
|
i0.ɵɵtext(12);
|
|
22853
22919
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22854
22920
|
i0.ɵɵelementEnd();
|
|
22855
22921
|
i0.ɵɵtext(14, " or ");
|
|
22856
|
-
i0.ɵɵelementStart(15, "a",
|
|
22922
|
+
i0.ɵɵelementStart(15, "a", 14);
|
|
22857
22923
|
i0.ɵɵtext(16);
|
|
22858
22924
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22859
22925
|
i0.ɵɵelementEnd()();
|
|
@@ -22877,7 +22943,7 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22877
22943
|
} }
|
|
22878
22944
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
22879
22945
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
22880
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template,
|
|
22946
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 23, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 19, "ng-container", 4);
|
|
22881
22947
|
i0.ɵɵelementEnd()()();
|
|
22882
22948
|
} if (rf & 2) {
|
|
22883
22949
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22889,6 +22955,7 @@ function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22889
22955
|
class QueryConfirmationComponent {
|
|
22890
22956
|
route;
|
|
22891
22957
|
queryCreateContext;
|
|
22958
|
+
callbackConfirmationMessageText = {};
|
|
22892
22959
|
caseId = '';
|
|
22893
22960
|
queryCreateContextEnum = QueryCreateContext;
|
|
22894
22961
|
constructor(route) {
|
|
@@ -22898,17 +22965,19 @@ class QueryConfirmationComponent {
|
|
|
22898
22965
|
this.caseId = this.route.snapshot.params.cid;
|
|
22899
22966
|
}
|
|
22900
22967
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
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) {
|
|
22968
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__body"], ["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) {
|
|
22902
22969
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22903
22970
|
} if (rf & 2) {
|
|
22904
22971
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
22905
|
-
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22972
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22906
22973
|
}
|
|
22907
22974
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
22908
22975
|
type: Component,
|
|
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\"
|
|
22976
|
+
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" 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" }]
|
|
22910
22977
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
22911
22978
|
type: Input
|
|
22979
|
+
}], callbackConfirmationMessageText: [{
|
|
22980
|
+
type: Input
|
|
22912
22981
|
}] }); })();
|
|
22913
22982
|
(() => { (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 }); })();
|
|
22914
22983
|
|
|
@@ -22968,7 +23037,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
22968
23037
|
i0.ɵɵadvance(2);
|
|
22969
23038
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
22970
23039
|
i0.ɵɵadvance(3);
|
|
22971
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and
|
|
23040
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and respond. Do not submit the same query more than once."));
|
|
22972
23041
|
} }
|
|
22973
23042
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
22974
23043
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23054,7 +23123,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23054
23123
|
}
|
|
23055
23124
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23056
23125
|
type: Component,
|
|
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
|
|
23126
|
+
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" }]
|
|
23058
23127
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23059
23128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23060
23129
|
|
|
@@ -24019,7 +24088,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24019
24088
|
const trigger_r5 = i0.ɵɵreference(2);
|
|
24020
24089
|
i0.ɵɵadvance(4);
|
|
24021
24090
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
24022
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
24091
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$2.CdkConnectedOverlay, i2$2.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}"] });
|
|
24023
24092
|
}
|
|
24024
24093
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
24025
24094
|
type: Component,
|
|
@@ -29738,7 +29807,7 @@ class MarkdownComponentModule {
|
|
|
29738
29807
|
}], null, null); })();
|
|
29739
29808
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
29740
29809
|
RouterLinkComponent], imports: [CommonModule,
|
|
29741
|
-
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
29810
|
+
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule, i2$1.MarkdownModule, RouterModule], exports: [MarkdownComponent,
|
|
29742
29811
|
RouterLinkComponent] }); })();
|
|
29743
29812
|
|
|
29744
29813
|
class FeeValue {
|
|
@@ -30559,7 +30628,7 @@ class PaletteModule {
|
|
|
30559
30628
|
BodyModule,
|
|
30560
30629
|
FormModule,
|
|
30561
30630
|
TabsModule,
|
|
30562
|
-
LabelSubstitutorModule,
|
|
30631
|
+
LabelSubstitutorModule, i2$1.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30563
30632
|
NgxMatTimepickerModule,
|
|
30564
30633
|
NgxMatNativeDateModule,
|
|
30565
30634
|
MatLegacyFormFieldModule,
|
|
@@ -30733,7 +30802,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
30733
30802
|
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]; });
|
|
30734
30803
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
30735
30804
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
30736
|
-
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf,
|
|
30805
|
+
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i2$1.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30737
30806
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30738
30807
|
WriteDateFieldComponent]; }, []);
|
|
30739
30808
|
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, SelectFlagTypeComponent,
|
|
@@ -30753,7 +30822,7 @@ i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, function () { return [
|
|
|
30753
30822
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, function () { return [ReadOrderSummaryFieldComponent]; }, []);
|
|
30754
30823
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30755
30824
|
WriteDateFieldComponent]; }, []);
|
|
30756
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective,
|
|
30825
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30757
30826
|
i0.ɵɵsetComponentScope(
|
|
30758
30827
|
// ComponentLauncher web components
|
|
30759
30828
|
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
|
|
@@ -32154,7 +32223,7 @@ class PaginationComponent {
|
|
|
32154
32223
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 4, "Pagination"));
|
|
32155
32224
|
i0.ɵɵadvance(2);
|
|
32156
32225
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && p_r3.pages.length <= 1));
|
|
32157
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
32226
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$3.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}}"] });
|
|
32158
32227
|
}
|
|
32159
32228
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
32160
32229
|
type: Component,
|
|
@@ -32500,7 +32569,7 @@ class CaseListComponent {
|
|
|
32500
32569
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32501
32570
|
i0.ɵɵadvance(2);
|
|
32502
32571
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32503
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$
|
|
32572
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
32504
32573
|
}
|
|
32505
32574
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
32506
32575
|
type: Component,
|
|
@@ -39575,7 +39644,7 @@ class SearchResultModule {
|
|
|
39575
39644
|
PipesModule,
|
|
39576
39645
|
ActivityModule,
|
|
39577
39646
|
PaginationModule, i1.RpxTranslationModule, PaletteModule], exports: [SearchResultComponent] }); })();
|
|
39578
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$
|
|
39647
|
+
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$3.PaginatePipe, CaseReferencePipe, SortSearchResultPipe, i1.RpxTranslatePipe]; });
|
|
39579
39648
|
|
|
39580
39649
|
// tslint:disable:variable-name
|
|
39581
39650
|
class ComplexFieldOverride {
|