@hmcts/ccd-case-ui-toolkit 7.2.0 → 7.2.2-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 +154 -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/esm2022/lib/shared/services/addresses/address-parser.mjs +3 -2
- package/esm2022/lib/shared/services/addresses/country-language.enum.mjs +6 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +266 -200
- 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 +5 -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/lib/shared/services/addresses/address-parser.d.ts.map +1 -1
- package/lib/shared/services/addresses/country-language.enum.d.ts +5 -0
- package/lib/shared/services/addresses/country-language.enum.d.ts.map +1 -0
- 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';
|
|
@@ -6772,6 +6772,12 @@ var AddressType;
|
|
|
6772
6772
|
AddressType["RD06"] = "RD06";
|
|
6773
6773
|
})(AddressType || (AddressType = {}));
|
|
6774
6774
|
|
|
6775
|
+
var CountryLanguage;
|
|
6776
|
+
(function (CountryLanguage) {
|
|
6777
|
+
CountryLanguage["EN"] = "United Kingdom";
|
|
6778
|
+
CountryLanguage["CY"] = "Deyrnas Unedig";
|
|
6779
|
+
})(CountryLanguage || (CountryLanguage = {}));
|
|
6780
|
+
|
|
6775
6781
|
/**
|
|
6776
6782
|
* Moving all this logic here into Address Parser class, so that it
|
|
6777
6783
|
* will be easier for us when we move this parsing logic to into
|
|
@@ -6786,7 +6792,7 @@ class AddressParser {
|
|
|
6786
6792
|
addressModel.AddressLine3 = this.parseAddressLine3(classification, address);
|
|
6787
6793
|
addressModel.PostCode = address.POSTCODE;
|
|
6788
6794
|
addressModel.PostTown = address.POST_TOWN;
|
|
6789
|
-
addressModel.Country =
|
|
6795
|
+
addressModel.Country = (address.LANGUAGE?.toUpperCase() === 'CY' && address.COUNTRY_CODE?.toUpperCase() === 'W') ? CountryLanguage.CY : CountryLanguage.EN;
|
|
6790
6796
|
return addressModel;
|
|
6791
6797
|
}
|
|
6792
6798
|
parseAddressLine1(classification, address) {
|
|
@@ -14364,17 +14370,16 @@ class RemoveDialogComponent {
|
|
|
14364
14370
|
|
|
14365
14371
|
const _c0$S = ["collectionItem"];
|
|
14366
14372
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14367
|
-
i0.ɵɵelementStart(0, "span", 10)
|
|
14368
|
-
i0.ɵɵ
|
|
14369
|
-
i0.ɵɵ
|
|
14370
|
-
i0.ɵɵelementEnd()();
|
|
14373
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
14374
|
+
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
14375
|
+
i0.ɵɵelementEnd();
|
|
14371
14376
|
} if (rf & 2) {
|
|
14372
14377
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14373
|
-
i0.ɵɵadvance(
|
|
14374
|
-
i0.ɵɵ
|
|
14378
|
+
i0.ɵɵadvance();
|
|
14379
|
+
i0.ɵɵproperty("content", ctx_r0.caseField.hint_text);
|
|
14375
14380
|
} }
|
|
14376
14381
|
function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14377
|
-
i0.ɵɵelementStart(0, "span",
|
|
14382
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
14378
14383
|
i0.ɵɵtext(1);
|
|
14379
14384
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14380
14385
|
i0.ɵɵelementEnd();
|
|
@@ -14385,7 +14390,7 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14385
14390
|
} }
|
|
14386
14391
|
function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
14387
14392
|
i0.ɵɵelementStart(0, "h2", 3);
|
|
14388
|
-
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);
|
|
14389
14394
|
i0.ɵɵelementEnd();
|
|
14390
14395
|
} if (rf & 2) {
|
|
14391
14396
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14396,16 +14401,16 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14396
14401
|
} }
|
|
14397
14402
|
function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14398
14403
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14399
|
-
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);
|
|
14400
14405
|
i0.ɵɵtext(7);
|
|
14401
14406
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14402
14407
|
i0.ɵɵelementEnd()()()();
|
|
14403
|
-
i0.ɵɵelementStart(9, "div",
|
|
14408
|
+
i0.ɵɵelementStart(9, "div", 21)(10, "button", 22);
|
|
14404
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)); });
|
|
14405
14410
|
i0.ɵɵtext(11);
|
|
14406
14411
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14407
14412
|
i0.ɵɵelementEnd()()();
|
|
14408
|
-
i0.ɵɵelement(13, "ccd-field-write",
|
|
14413
|
+
i0.ɵɵelement(13, "ccd-field-write", 23);
|
|
14409
14414
|
i0.ɵɵelementEnd();
|
|
14410
14415
|
} if (rf & 2) {
|
|
14411
14416
|
const item_r4 = ctx.$implicit;
|
|
@@ -14425,8 +14430,8 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14425
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);
|
|
14426
14431
|
} }
|
|
14427
14432
|
function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
14428
|
-
i0.ɵɵelementStart(0, "div",
|
|
14429
|
-
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);
|
|
14430
14435
|
i0.ɵɵelementEnd()();
|
|
14431
14436
|
} if (rf & 2) {
|
|
14432
14437
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14436,7 +14441,7 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14436
14441
|
} }
|
|
14437
14442
|
function WriteCollectionFieldComponent_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
14438
14443
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14439
|
-
i0.ɵɵelementStart(0, "button",
|
|
14444
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
14440
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)); });
|
|
14441
14446
|
i0.ɵɵtext(1);
|
|
14442
14447
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14754,7 +14759,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14754
14759
|
} if (rf & 2) {
|
|
14755
14760
|
let _t;
|
|
14756
14761
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
14757
|
-
} }, 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) {
|
|
14758
14763
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
14759
14764
|
i0.ɵɵtext(3);
|
|
14760
14765
|
i0.ɵɵpipe(4, "ccdFieldLabel");
|
|
@@ -14784,7 +14789,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14784
14789
|
}
|
|
14785
14790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14786
14791
|
type: Component,
|
|
14787
|
-
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"] }]
|
|
14788
14793
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14789
14794
|
type: Input
|
|
14790
14795
|
}], items: [{
|
|
@@ -15728,7 +15733,7 @@ class MarkdownComponent {
|
|
|
15728
15733
|
} if (rf & 2) {
|
|
15729
15734
|
i0.ɵɵadvance();
|
|
15730
15735
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15731
|
-
} }, dependencies: [
|
|
15736
|
+
} }, dependencies: [i2$1.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15732
15737
|
}
|
|
15733
15738
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15734
15739
|
type: Component,
|
|
@@ -20860,10 +20865,11 @@ class QueryListItem {
|
|
|
20860
20865
|
createdBy;
|
|
20861
20866
|
parentId;
|
|
20862
20867
|
children = [];
|
|
20868
|
+
messageIndexInParent = null;
|
|
20863
20869
|
get lastSubmittedMessage() {
|
|
20864
20870
|
const getLastSubmittedMessage = (item) => {
|
|
20865
20871
|
let lastSubmittedMessage = item;
|
|
20866
|
-
if (item.children && item.children.length >
|
|
20872
|
+
if (item.children && item.children.length > 1) {
|
|
20867
20873
|
for (const child of item.children) {
|
|
20868
20874
|
const childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20869
20875
|
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
@@ -20879,20 +20885,47 @@ class QueryListItem {
|
|
|
20879
20885
|
return this.lastSubmittedMessage.name;
|
|
20880
20886
|
}
|
|
20881
20887
|
get lastSubmittedDate() {
|
|
20882
|
-
|
|
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);
|
|
20883
20897
|
}
|
|
20884
20898
|
get lastResponseBy() {
|
|
20885
20899
|
return this.children?.length > 0 ? this.lastSubmittedMessage.name : '';
|
|
20886
20900
|
}
|
|
20887
20901
|
get lastResponseDate() {
|
|
20888
|
-
|
|
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);
|
|
20889
20914
|
}
|
|
20890
20915
|
get responseStatus() {
|
|
20891
|
-
|
|
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) {
|
|
20892
20924
|
return this.children.length % 2 === 1
|
|
20893
20925
|
? QueryItemResponseStatus.RESPONDED
|
|
20894
20926
|
: QueryItemResponseStatus.AWAITING;
|
|
20895
20927
|
}
|
|
20928
|
+
// No children — still awaiting
|
|
20896
20929
|
return QueryItemResponseStatus.AWAITING;
|
|
20897
20930
|
}
|
|
20898
20931
|
}
|
|
@@ -20909,12 +20942,16 @@ class QueryListData {
|
|
|
20909
20942
|
this.queries = parentMessages.map((message) => this.buildQueryListItem(message, caseQueriesCollection.caseMessages));
|
|
20910
20943
|
}
|
|
20911
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
|
+
});
|
|
20912
20951
|
const queryListItem = new QueryListItem();
|
|
20913
20952
|
Object.assign(queryListItem, {
|
|
20914
20953
|
...message.value,
|
|
20915
|
-
children
|
|
20916
|
-
.filter((childMessage) => childMessage.value.parentId === message.value.id)
|
|
20917
|
-
.map((childMessage) => this.buildQueryListItem(childMessage, allMessages))
|
|
20954
|
+
children
|
|
20918
20955
|
});
|
|
20919
20956
|
return queryListItem;
|
|
20920
20957
|
}
|
|
@@ -21004,8 +21041,8 @@ class QueryManagementUtils {
|
|
|
21004
21041
|
type: Injectable
|
|
21005
21042
|
}], null, null); })();
|
|
21006
21043
|
|
|
21007
|
-
function
|
|
21008
|
-
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);
|
|
21009
21046
|
i0.ɵɵtext(2);
|
|
21010
21047
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21011
21048
|
i0.ɵɵelementEnd()();
|
|
@@ -21016,24 +21053,24 @@ function QueryCheckYourAnswersComponent_div_2_li_6_Template(rf, ctx) { if (rf &
|
|
|
21016
21053
|
i0.ɵɵadvance();
|
|
21017
21054
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21018
21055
|
} }
|
|
21019
|
-
function
|
|
21020
|
-
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);
|
|
21021
21058
|
i0.ɵɵtext(2);
|
|
21022
21059
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21023
21060
|
i0.ɵɵelementEnd();
|
|
21024
|
-
i0.ɵɵelementStart(4, "div",
|
|
21025
|
-
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);
|
|
21026
21063
|
i0.ɵɵelementEnd()()();
|
|
21027
21064
|
} if (rf & 2) {
|
|
21028
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21065
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21029
21066
|
i0.ɵɵadvance(2);
|
|
21030
21067
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21031
21068
|
i0.ɵɵadvance(4);
|
|
21032
21069
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21033
21070
|
} }
|
|
21034
|
-
function
|
|
21071
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21035
21072
|
i0.ɵɵelementContainerStart(0);
|
|
21036
|
-
i0.ɵɵelementStart(1, "div",
|
|
21073
|
+
i0.ɵɵelementStart(1, "div", 27);
|
|
21037
21074
|
i0.ɵɵtext(2);
|
|
21038
21075
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21039
21076
|
i0.ɵɵelementEnd();
|
|
@@ -21042,7 +21079,7 @@ function QueryCheckYourAnswersComponent_ng_container_3_Template(rf, ctx) { if (r
|
|
|
21042
21079
|
i0.ɵɵadvance(2);
|
|
21043
21080
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21044
21081
|
} }
|
|
21045
|
-
function
|
|
21082
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21046
21083
|
i0.ɵɵelementContainerStart(0);
|
|
21047
21084
|
i0.ɵɵtext(1);
|
|
21048
21085
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21051,16 +21088,16 @@ function QueryCheckYourAnswersComponent_ng_container_5_Template(rf, ctx) { if (r
|
|
|
21051
21088
|
i0.ɵɵadvance();
|
|
21052
21089
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21053
21090
|
} }
|
|
21054
|
-
function
|
|
21091
|
+
function QueryCheckYourAnswersComponent_div_0_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
21055
21092
|
i0.ɵɵtext(0);
|
|
21056
21093
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21057
21094
|
} if (rf & 2) {
|
|
21058
21095
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21059
21096
|
} }
|
|
21060
|
-
function
|
|
21097
|
+
function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21061
21098
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21062
|
-
i0.ɵɵelementStart(0, "a",
|
|
21063
|
-
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()); });
|
|
21064
21101
|
i0.ɵɵtext(1);
|
|
21065
21102
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21066
21103
|
i0.ɵɵelementEnd();
|
|
@@ -21068,28 +21105,28 @@ function QueryCheckYourAnswersComponent_dl_10_a_8_Template(rf, ctx) { if (rf & 1
|
|
|
21068
21105
|
i0.ɵɵadvance();
|
|
21069
21106
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21070
21107
|
} }
|
|
21071
|
-
function
|
|
21072
|
-
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);
|
|
21073
21110
|
i0.ɵɵtext(3);
|
|
21074
21111
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21075
21112
|
i0.ɵɵelementEnd();
|
|
21076
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21113
|
+
i0.ɵɵelementStart(5, "dd", 15);
|
|
21077
21114
|
i0.ɵɵtext(6);
|
|
21078
21115
|
i0.ɵɵelementEnd();
|
|
21079
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21080
|
-
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);
|
|
21081
21118
|
i0.ɵɵelementEnd()()();
|
|
21082
21119
|
} if (rf & 2) {
|
|
21083
|
-
let
|
|
21084
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21120
|
+
let tmp_4_0;
|
|
21121
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21085
21122
|
i0.ɵɵadvance(3);
|
|
21086
21123
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21087
21124
|
i0.ɵɵadvance(3);
|
|
21088
|
-
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, " ");
|
|
21089
21126
|
i0.ɵɵadvance(2);
|
|
21090
21127
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21091
21128
|
} }
|
|
21092
|
-
function
|
|
21129
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21093
21130
|
i0.ɵɵelementContainerStart(0);
|
|
21094
21131
|
i0.ɵɵtext(1);
|
|
21095
21132
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21098,89 +21135,89 @@ function QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template(rf, ctx) {
|
|
|
21098
21135
|
i0.ɵɵadvance();
|
|
21099
21136
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21100
21137
|
} }
|
|
21101
|
-
function
|
|
21138
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21102
21139
|
i0.ɵɵtext(0);
|
|
21103
21140
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21104
21141
|
} if (rf & 2) {
|
|
21105
21142
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21106
21143
|
} }
|
|
21107
|
-
function
|
|
21144
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21108
21145
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
21109
|
-
i0.ɵɵelementStart(0, "div",
|
|
21146
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "dt", 14);
|
|
21110
21147
|
i0.ɵɵtext(2);
|
|
21111
21148
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21112
21149
|
i0.ɵɵelementEnd();
|
|
21113
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21150
|
+
i0.ɵɵelementStart(4, "dd", 15);
|
|
21114
21151
|
i0.ɵɵtext(5);
|
|
21115
21152
|
i0.ɵɵpipe(6, "date");
|
|
21116
21153
|
i0.ɵɵelementEnd();
|
|
21117
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21118
|
-
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()); });
|
|
21119
21156
|
i0.ɵɵtext(9);
|
|
21120
21157
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21121
21158
|
i0.ɵɵelementEnd()()();
|
|
21122
21159
|
} if (rf & 2) {
|
|
21123
|
-
let
|
|
21124
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21160
|
+
let tmp_6_0;
|
|
21161
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21125
21162
|
i0.ɵɵadvance(2);
|
|
21126
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?"), " ");
|
|
21127
21164
|
i0.ɵɵadvance(3);
|
|
21128
|
-
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"), " ");
|
|
21129
21166
|
i0.ɵɵadvance(4);
|
|
21130
21167
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21131
21168
|
} }
|
|
21132
|
-
function
|
|
21169
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_Template(rf, ctx) { if (rf & 1) {
|
|
21133
21170
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
21134
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21171
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21135
21172
|
i0.ɵɵtext(3);
|
|
21136
21173
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21137
21174
|
i0.ɵɵelementEnd();
|
|
21138
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21139
|
-
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);
|
|
21140
21177
|
i0.ɵɵelementEnd();
|
|
21141
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21142
|
-
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()); });
|
|
21143
21180
|
i0.ɵɵtext(11);
|
|
21144
21181
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21145
21182
|
i0.ɵɵelementEnd()()();
|
|
21146
|
-
i0.ɵɵtemplate(13,
|
|
21183
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template, 11, 10, "div", 29);
|
|
21147
21184
|
i0.ɵɵelementEnd();
|
|
21148
21185
|
} if (rf & 2) {
|
|
21149
|
-
let
|
|
21150
|
-
let
|
|
21186
|
+
let tmp_5_0;
|
|
21187
|
+
let tmp_8_0;
|
|
21151
21188
|
const isHearingRelatedFalse_r7 = i0.ɵɵreference(8);
|
|
21152
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21189
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21153
21190
|
i0.ɵɵadvance(3);
|
|
21154
21191
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21155
21192
|
i0.ɵɵadvance(3);
|
|
21156
|
-
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);
|
|
21157
21194
|
i0.ɵɵadvance(5);
|
|
21158
21195
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21159
21196
|
i0.ɵɵadvance(2);
|
|
21160
|
-
i0.ɵɵproperty("ngIf", (
|
|
21197
|
+
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_8_0.value);
|
|
21161
21198
|
} }
|
|
21162
|
-
function
|
|
21163
|
-
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);
|
|
21164
21201
|
} if (rf & 2) {
|
|
21165
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21202
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21166
21203
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21167
21204
|
} }
|
|
21168
|
-
function
|
|
21205
|
+
function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
21169
21206
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
21170
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21207
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21171
21208
|
i0.ɵɵtext(3);
|
|
21172
21209
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21173
21210
|
i0.ɵɵelementEnd();
|
|
21174
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21175
|
-
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);
|
|
21176
21213
|
i0.ɵɵelementEnd();
|
|
21177
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21178
|
-
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()); });
|
|
21179
21216
|
i0.ɵɵtext(9);
|
|
21180
21217
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21181
21218
|
i0.ɵɵelementEnd()()()();
|
|
21182
21219
|
} if (rf & 2) {
|
|
21183
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21220
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21184
21221
|
i0.ɵɵadvance(3);
|
|
21185
21222
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21186
21223
|
i0.ɵɵadvance(3);
|
|
@@ -21188,6 +21225,74 @@ function QueryCheckYourAnswersComponent_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
|
21188
21225
|
i0.ɵɵadvance(3);
|
|
21189
21226
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21190
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
|
+
} }
|
|
21191
21296
|
class QueryCheckYourAnswersComponent {
|
|
21192
21297
|
route;
|
|
21193
21298
|
router;
|
|
@@ -21210,6 +21315,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21210
21315
|
eventData = null;
|
|
21211
21316
|
backClicked = new EventEmitter();
|
|
21212
21317
|
querySubmitted = new EventEmitter();
|
|
21318
|
+
callbackConfirmationMessage = new EventEmitter();
|
|
21213
21319
|
caseViewTrigger;
|
|
21214
21320
|
caseDetails;
|
|
21215
21321
|
queryId;
|
|
@@ -21223,6 +21329,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21223
21329
|
attachments;
|
|
21224
21330
|
errorMessages = [];
|
|
21225
21331
|
filteredTasks = [];
|
|
21332
|
+
readyToSubmit;
|
|
21226
21333
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21227
21334
|
this.route = route;
|
|
21228
21335
|
this.router = router;
|
|
@@ -21259,6 +21366,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21259
21366
|
else {
|
|
21260
21367
|
this.filteredTasks = response.tasks;
|
|
21261
21368
|
}
|
|
21369
|
+
this.readyToSubmit = true;
|
|
21262
21370
|
}
|
|
21263
21371
|
},
|
|
21264
21372
|
error: (error) => {
|
|
@@ -21266,6 +21374,9 @@ class QueryCheckYourAnswersComponent {
|
|
|
21266
21374
|
}
|
|
21267
21375
|
});
|
|
21268
21376
|
}
|
|
21377
|
+
else {
|
|
21378
|
+
this.readyToSubmit = true;
|
|
21379
|
+
}
|
|
21269
21380
|
}
|
|
21270
21381
|
ngOnDestroy() {
|
|
21271
21382
|
this.createEventSubscription?.unsubscribe();
|
|
@@ -21285,13 +21396,19 @@ class QueryCheckYourAnswersComponent {
|
|
|
21285
21396
|
fieldId: 'field-id'
|
|
21286
21397
|
}
|
|
21287
21398
|
];
|
|
21399
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21288
21400
|
return;
|
|
21289
21401
|
}
|
|
21290
21402
|
const data = this.generateCaseQueriesCollectionData();
|
|
21291
21403
|
const createEvent$ = this.createEvent(data);
|
|
21292
21404
|
if (this.queryCreateContext === QueryCreateContext.RESPOND) {
|
|
21293
21405
|
if (this.filteredTasks?.length > 0) {
|
|
21294
|
-
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) =>
|
|
21406
|
+
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => {
|
|
21407
|
+
const confirmationBody = createEventResponse?.after_submit_callback_response?.confirmation_body;
|
|
21408
|
+
const confirmationHeader = createEventResponse?.after_submit_callback_response?.confirmation_header;
|
|
21409
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21410
|
+
return this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name);
|
|
21411
|
+
})).subscribe({
|
|
21295
21412
|
next: () => this.finaliseSubmission(),
|
|
21296
21413
|
error: (error) => this.handleError(error)
|
|
21297
21414
|
});
|
|
@@ -21305,11 +21422,17 @@ class QueryCheckYourAnswersComponent {
|
|
|
21305
21422
|
fieldId: 'field-id'
|
|
21306
21423
|
}
|
|
21307
21424
|
];
|
|
21425
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21308
21426
|
}
|
|
21309
21427
|
}
|
|
21310
21428
|
else {
|
|
21311
21429
|
this.createEventSubscription = createEvent$.subscribe({
|
|
21312
|
-
next: () =>
|
|
21430
|
+
next: (callbackResponse) => {
|
|
21431
|
+
this.finaliseSubmission();
|
|
21432
|
+
const confirmationBody = callbackResponse?.after_submit_callback_response?.confirmation_body;
|
|
21433
|
+
const confirmationHeader = callbackResponse?.after_submit_callback_response?.confirmation_header;
|
|
21434
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21435
|
+
},
|
|
21313
21436
|
error: (error) => this.handleError(error)
|
|
21314
21437
|
});
|
|
21315
21438
|
}
|
|
@@ -21470,14 +21593,16 @@ class QueryCheckYourAnswersComponent {
|
|
|
21470
21593
|
const candidateFields = this.eventData?.case_fields?.filter((field) => field.field_type.id === this.CASE_QUERIES_COLLECTION_ID &&
|
|
21471
21594
|
field.field_type.type === this.FIELD_TYPE_COMPLEX &&
|
|
21472
21595
|
field.display_context !== this.DISPLAY_CONTEXT_READONLY);
|
|
21473
|
-
if (!candidateFields?.length)
|
|
21596
|
+
if (!candidateFields?.length) {
|
|
21474
21597
|
return undefined;
|
|
21598
|
+
}
|
|
21475
21599
|
const firstPageFields = this.eventData?.wizard_pages?.[0]?.wizard_page_fields;
|
|
21476
|
-
if (!firstPageFields)
|
|
21600
|
+
if (!firstPageFields) {
|
|
21477
21601
|
return undefined;
|
|
21602
|
+
}
|
|
21478
21603
|
return candidateFields
|
|
21479
21604
|
.map((field) => {
|
|
21480
|
-
const wizardField = firstPageFields.find(f => f.case_field_id === field.id);
|
|
21605
|
+
const wizardField = firstPageFields.find((f) => f.case_field_id === field.id);
|
|
21481
21606
|
return { field, order: wizardField?.order ?? Number.MAX_SAFE_INTEGER };
|
|
21482
21607
|
})
|
|
21483
21608
|
.sort((a, b) => a.order - b.order)[0]?.field;
|
|
@@ -21493,77 +21618,15 @@ class QueryCheckYourAnswersComponent {
|
|
|
21493
21618
|
}
|
|
21494
21619
|
}
|
|
21495
21620
|
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)); };
|
|
21496
|
-
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:
|
|
21497
|
-
|
|
21498
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
21499
|
-
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_2_Template, 7, 4, "div", 4)(3, QueryCheckYourAnswersComponent_ng_container_3_Template, 4, 3, "ng-container", 5);
|
|
21500
|
-
i0.ɵɵelementStart(4, "h1", 6);
|
|
21501
|
-
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);
|
|
21502
|
-
i0.ɵɵelementEnd();
|
|
21503
|
-
i0.ɵɵelementStart(8, "div", 8);
|
|
21504
|
-
i0.ɵɵelement(9, "ccd-query-case-details-header", 9);
|
|
21505
|
-
i0.ɵɵelementEnd();
|
|
21506
|
-
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_dl_10_Template, 9, 5, "dl", 10);
|
|
21507
|
-
i0.ɵɵelementStart(11, "dl", 11)(12, "div", 12)(13, "dt", 13);
|
|
21508
|
-
i0.ɵɵtext(14);
|
|
21509
|
-
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21510
|
-
i0.ɵɵelementEnd();
|
|
21511
|
-
i0.ɵɵelementStart(16, "dd", 14);
|
|
21512
|
-
i0.ɵɵtext(17);
|
|
21513
|
-
i0.ɵɵelementEnd();
|
|
21514
|
-
i0.ɵɵelementStart(18, "dd", 15)(19, "a", 16);
|
|
21515
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21516
|
-
i0.ɵɵtext(20);
|
|
21517
|
-
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21518
|
-
i0.ɵɵelementEnd()()()();
|
|
21519
|
-
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_dl_22_Template, 14, 9, "dl", 10)(23, QueryCheckYourAnswersComponent_dl_23_Template, 11, 7, "dl", 10);
|
|
21520
|
-
i0.ɵɵelement(24, "br");
|
|
21521
|
-
i0.ɵɵelementStart(25, "div")(26, "button", 17);
|
|
21522
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21523
|
-
i0.ɵɵtext(27);
|
|
21524
|
-
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21525
|
-
i0.ɵɵelementEnd();
|
|
21526
|
-
i0.ɵɵelementStart(29, "button", 18);
|
|
21527
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
21528
|
-
i0.ɵɵtext(30);
|
|
21529
|
-
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21530
|
-
i0.ɵɵelementEnd()()();
|
|
21531
|
-
i0.ɵɵelement(32, "ccd-query-event-completion", 19);
|
|
21532
|
-
i0.ɵɵelementEnd();
|
|
21621
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", 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) {
|
|
21622
|
+
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 33, 22, "div", 2);
|
|
21533
21623
|
} if (rf & 2) {
|
|
21534
|
-
|
|
21535
|
-
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21536
|
-
i0.ɵɵadvance(2);
|
|
21537
|
-
i0.ɵɵproperty("ngIf", ctx.errorMessages.length > 0);
|
|
21538
|
-
i0.ɵɵadvance();
|
|
21539
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21540
|
-
i0.ɵɵadvance(2);
|
|
21541
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21542
|
-
i0.ɵɵadvance(4);
|
|
21543
|
-
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
21544
|
-
i0.ɵɵadvance();
|
|
21545
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
|
|
21546
|
-
i0.ɵɵadvance(4);
|
|
21547
|
-
i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21548
|
-
i0.ɵɵadvance(3);
|
|
21549
|
-
i0.ɵɵtextInterpolate1(" ", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.value, " ");
|
|
21550
|
-
i0.ɵɵadvance(3);
|
|
21551
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21552
|
-
i0.ɵɵadvance(2);
|
|
21553
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21554
|
-
i0.ɵɵadvance();
|
|
21555
|
-
i0.ɵɵproperty("ngIf", ctx.formGroup.get("attachments").value.length > 0);
|
|
21556
|
-
i0.ɵɵadvance(4);
|
|
21557
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21558
|
-
i0.ɵɵadvance(3);
|
|
21559
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21560
|
-
i0.ɵɵadvance(2);
|
|
21561
|
-
i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
|
|
21624
|
+
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
21562
21625
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21563
21626
|
}
|
|
21564
21627
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21565
21628
|
type: Component,
|
|
21566
|
-
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"] }]
|
|
21629
|
+
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"] }]
|
|
21567
21630
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21568
21631
|
type: Input
|
|
21569
21632
|
}], queryItem: [{
|
|
@@ -21576,6 +21639,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21576
21639
|
type: Output
|
|
21577
21640
|
}], querySubmitted: [{
|
|
21578
21641
|
type: Output
|
|
21642
|
+
}], callbackConfirmationMessage: [{
|
|
21643
|
+
type: Output
|
|
21579
21644
|
}] }); })();
|
|
21580
21645
|
(() => { (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 }); })();
|
|
21581
21646
|
|
|
@@ -21711,7 +21776,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21711
21776
|
i0.ɵɵadvance(5);
|
|
21712
21777
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "Last response date"));
|
|
21713
21778
|
i0.ɵɵadvance(3);
|
|
21714
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd
|
|
21779
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21715
21780
|
i0.ɵɵadvance(2);
|
|
21716
21781
|
i0.ɵɵproperty("ngIf", ctx_r0.isInternalUser());
|
|
21717
21782
|
i0.ɵɵadvance(3);
|
|
@@ -21781,7 +21846,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21781
21846
|
i0.ɵɵadvance(5);
|
|
21782
21847
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 13, "Last submission date"));
|
|
21783
21848
|
i0.ɵɵadvance(3);
|
|
21784
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd
|
|
21849
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21785
21850
|
i0.ɵɵadvance(4);
|
|
21786
21851
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Last submitted by"));
|
|
21787
21852
|
i0.ɵɵadvance(3);
|
|
@@ -21881,7 +21946,7 @@ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21881
21946
|
i0.ɵɵadvance(3);
|
|
21882
21947
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 27, "Submission date"));
|
|
21883
21948
|
i0.ɵɵadvance(3);
|
|
21884
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd
|
|
21949
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21885
21950
|
i0.ɵɵadvance(4);
|
|
21886
21951
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 32, "Query subject"));
|
|
21887
21952
|
i0.ɵɵadvance(3);
|
|
@@ -21967,7 +22032,7 @@ class QueryDetailsComponent {
|
|
|
21967
22032
|
}
|
|
21968
22033
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
21969
22034
|
type: Component,
|
|
21970
|
-
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
|
|
22035
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <cut-alert type=\"error\" *ngIf=\"hasRespondedToQuery() && !showItem\">\n <ng-container>{{message}}</ng-container>\n </cut-alert>\n\n <br/>\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd 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"] }]
|
|
21971
22036
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
21972
22037
|
type: Input
|
|
21973
22038
|
}], caseId: [{
|
|
@@ -22055,9 +22120,9 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
22055
22120
|
i0.ɵɵadvance(2);
|
|
22056
22121
|
i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
22057
22122
|
i0.ɵɵadvance(2);
|
|
22058
|
-
i0.ɵɵ
|
|
22123
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY HH:mm"), " ");
|
|
22059
22124
|
i0.ɵɵadvance(3);
|
|
22060
|
-
i0.ɵɵ
|
|
22125
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY HH:mm"), " ");
|
|
22061
22126
|
i0.ɵɵadvance(3);
|
|
22062
22127
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
|
|
22063
22128
|
} }
|
|
@@ -22161,7 +22226,7 @@ class QueryListComponent {
|
|
|
22161
22226
|
}
|
|
22162
22227
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22163
22228
|
type: Component,
|
|
22164
|
-
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"] }]
|
|
22229
|
+
args: [{ selector: 'ccd-query-list', template: "<ng-container *ngIf=\"queryListData\">\n <table class=\"govuk-table query-list__table\">\n <caption class=\"govuk-table__caption govuk-table__caption--l query-list__caption\">\n <div class=\"query-list__caption-text\">{{ queryListData.partyName }}</div>\n </caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row query-list__row\">\n <th scope=\"col\" class=\"govuk-table__header\" [attr.aria-sort]=\"getAriaSortHeaderValue(col)\"\n *ngFor=\"let col of displayedColumns; let i = index;\">\n <button type=\"button\" [attr.data-index]=\"i\" aria-sort=\"none\" (click)=\"sortTable(col)\" href=\"javascript:void(0)\">\n {{ col.displayName | rpxTranslate }}\n </button>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row query-list__row\"\n *ngFor=\"let message of queryListData.queries\"\n >\n <td class=\"govuk-table__cell query-list__cell query-list__cell--first\">\n <a href=\"javascript:void(0)\" (click)=\"showDetails(message)\">{{ message.subject }}</a>\n </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedBy }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedDate | date: 'dd MMM YYYY 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"] }]
|
|
22165
22230
|
}], null, { caseQueriesCollection: [{
|
|
22166
22231
|
type: Input
|
|
22167
22232
|
}], selectedQuery: [{
|
|
@@ -22712,7 +22777,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22712
22777
|
const matchingMessage = filteredMessages[0]?.value;
|
|
22713
22778
|
let filteredQuery = [];
|
|
22714
22779
|
if (this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND) {
|
|
22715
|
-
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.
|
|
22780
|
+
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.id === message?.id);
|
|
22716
22781
|
if (matchingMessage) {
|
|
22717
22782
|
this.queryItemDisplay = new QueryListItem();
|
|
22718
22783
|
Object.assign(this.queryItemDisplay, matchingMessage);
|
|
@@ -22787,27 +22852,25 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22787
22852
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22788
22853
|
i0.ɵɵelementEnd();
|
|
22789
22854
|
i0.ɵɵelementStart(5, "div", 7);
|
|
22790
|
-
i0.ɵɵ
|
|
22855
|
+
i0.ɵɵelement(6, "ccd-markdown", 8);
|
|
22791
22856
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22792
22857
|
i0.ɵɵelementEnd()();
|
|
22793
|
-
i0.ɵɵelementStart(8, "div",
|
|
22858
|
+
i0.ɵɵelementStart(8, "div", 9)(9, "h3", 10);
|
|
22794
22859
|
i0.ɵɵtext(10);
|
|
22795
22860
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
22796
22861
|
i0.ɵɵelementEnd();
|
|
22797
|
-
i0.ɵɵ
|
|
22798
|
-
i0.ɵɵ
|
|
22799
|
-
i0.ɵɵ
|
|
22800
|
-
i0.ɵɵ
|
|
22801
|
-
i0.ɵɵ
|
|
22802
|
-
i0.ɵɵtext(16);
|
|
22803
|
-
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22862
|
+
i0.ɵɵelement(12, "ccd-markdown", 8);
|
|
22863
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22864
|
+
i0.ɵɵelementStart(14, "p");
|
|
22865
|
+
i0.ɵɵtext(15);
|
|
22866
|
+
i0.ɵɵpipe(16, "rpxTranslate");
|
|
22804
22867
|
i0.ɵɵelementEnd();
|
|
22805
|
-
i0.ɵɵelementStart(
|
|
22806
|
-
i0.ɵɵtext(
|
|
22807
|
-
i0.ɵɵpipe(
|
|
22808
|
-
i0.ɵɵelementStart(
|
|
22809
|
-
i0.ɵɵtext(
|
|
22810
|
-
i0.ɵɵpipe(
|
|
22868
|
+
i0.ɵɵelementStart(17, "p");
|
|
22869
|
+
i0.ɵɵtext(18);
|
|
22870
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
22871
|
+
i0.ɵɵelementStart(20, "a", 11);
|
|
22872
|
+
i0.ɵɵtext(21);
|
|
22873
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
22811
22874
|
i0.ɵɵelementEnd()()();
|
|
22812
22875
|
i0.ɵɵelementContainerEnd();
|
|
22813
22876
|
} if (rf & 2) {
|
|
@@ -22815,19 +22878,19 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22815
22878
|
i0.ɵɵadvance(3);
|
|
22816
22879
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
|
|
22817
22880
|
i0.ɵɵadvance(3);
|
|
22818
|
-
i0.ɵɵ
|
|
22881
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 11, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
22819
22882
|
i0.ɵɵadvance(4);
|
|
22820
22883
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "What happens next"));
|
|
22884
|
+
i0.ɵɵadvance(2);
|
|
22885
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 15, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
22821
22886
|
i0.ɵɵadvance(3);
|
|
22822
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22823
|
-
i0.ɵɵadvance(3);
|
|
22824
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22887
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22825
22888
|
i0.ɵɵadvance(3);
|
|
22826
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22889
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 19, "You can"), " ");
|
|
22827
22890
|
i0.ɵɵadvance(2);
|
|
22828
22891
|
i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
|
|
22829
22892
|
i0.ɵɵadvance();
|
|
22830
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22893
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 21, "Go back to the case"));
|
|
22831
22894
|
} }
|
|
22832
22895
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22833
22896
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22835,19 +22898,19 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22835
22898
|
i0.ɵɵtext(3);
|
|
22836
22899
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22837
22900
|
i0.ɵɵelementEnd();
|
|
22838
|
-
i0.ɵɵelementStart(5, "div",
|
|
22901
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
22839
22902
|
i0.ɵɵtext(6);
|
|
22840
22903
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22841
22904
|
i0.ɵɵelementEnd()();
|
|
22842
|
-
i0.ɵɵelementStart(8, "div",
|
|
22905
|
+
i0.ɵɵelementStart(8, "div", 9);
|
|
22843
22906
|
i0.ɵɵtext(9);
|
|
22844
22907
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22845
|
-
i0.ɵɵelementStart(11, "a",
|
|
22908
|
+
i0.ɵɵelementStart(11, "a", 13);
|
|
22846
22909
|
i0.ɵɵtext(12);
|
|
22847
22910
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22848
22911
|
i0.ɵɵelementEnd();
|
|
22849
22912
|
i0.ɵɵtext(14, " or ");
|
|
22850
|
-
i0.ɵɵelementStart(15, "a",
|
|
22913
|
+
i0.ɵɵelementStart(15, "a", 14);
|
|
22851
22914
|
i0.ɵɵtext(16);
|
|
22852
22915
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22853
22916
|
i0.ɵɵelementEnd()();
|
|
@@ -22871,7 +22934,7 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22871
22934
|
} }
|
|
22872
22935
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
22873
22936
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
22874
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template,
|
|
22937
|
+
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);
|
|
22875
22938
|
i0.ɵɵelementEnd()()();
|
|
22876
22939
|
} if (rf & 2) {
|
|
22877
22940
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22883,6 +22946,7 @@ function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22883
22946
|
class QueryConfirmationComponent {
|
|
22884
22947
|
route;
|
|
22885
22948
|
queryCreateContext;
|
|
22949
|
+
callbackConfirmationMessageText = {};
|
|
22886
22950
|
caseId = '';
|
|
22887
22951
|
queryCreateContextEnum = QueryCreateContext;
|
|
22888
22952
|
constructor(route) {
|
|
@@ -22892,17 +22956,19 @@ class QueryConfirmationComponent {
|
|
|
22892
22956
|
this.caseId = this.route.snapshot.params.cid;
|
|
22893
22957
|
}
|
|
22894
22958
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22895
|
-
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) {
|
|
22959
|
+
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) {
|
|
22896
22960
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22897
22961
|
} if (rf & 2) {
|
|
22898
22962
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
22899
|
-
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22963
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22900
22964
|
}
|
|
22901
22965
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
22902
22966
|
type: Component,
|
|
22903
|
-
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\"
|
|
22967
|
+
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"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" }]
|
|
22904
22968
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
22905
22969
|
type: Input
|
|
22970
|
+
}], callbackConfirmationMessageText: [{
|
|
22971
|
+
type: Input
|
|
22906
22972
|
}] }); })();
|
|
22907
22973
|
(() => { (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 }); })();
|
|
22908
22974
|
|
|
@@ -22962,7 +23028,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
22962
23028
|
i0.ɵɵadvance(2);
|
|
22963
23029
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
22964
23030
|
i0.ɵɵadvance(3);
|
|
22965
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and
|
|
23031
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and respond. Do not submit the same query more than once."));
|
|
22966
23032
|
} }
|
|
22967
23033
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
22968
23034
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23048,7 +23114,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23048
23114
|
}
|
|
23049
23115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23050
23116
|
type: Component,
|
|
23051
|
-
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
|
|
23117
|
+
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n</ng-template>\n" }]
|
|
23052
23118
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23053
23119
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23054
23120
|
|
|
@@ -24013,7 +24079,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24013
24079
|
const trigger_r5 = i0.ɵɵreference(2);
|
|
24014
24080
|
i0.ɵɵadvance(4);
|
|
24015
24081
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
24016
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
24082
|
+
} }, 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}"] });
|
|
24017
24083
|
}
|
|
24018
24084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
24019
24085
|
type: Component,
|
|
@@ -29678,7 +29744,7 @@ class MarkdownComponentModule {
|
|
|
29678
29744
|
}], null, null); })();
|
|
29679
29745
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
29680
29746
|
RouterLinkComponent], imports: [CommonModule,
|
|
29681
|
-
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
29747
|
+
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule, i2$1.MarkdownModule, RouterModule], exports: [MarkdownComponent,
|
|
29682
29748
|
RouterLinkComponent] }); })();
|
|
29683
29749
|
|
|
29684
29750
|
class FeeValue {
|
|
@@ -30497,7 +30563,7 @@ class PaletteModule {
|
|
|
30497
30563
|
BodyModule,
|
|
30498
30564
|
FormModule,
|
|
30499
30565
|
TabsModule,
|
|
30500
|
-
LabelSubstitutorModule,
|
|
30566
|
+
LabelSubstitutorModule, i2$1.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30501
30567
|
NgxMatTimepickerModule,
|
|
30502
30568
|
NgxMatNativeDateModule,
|
|
30503
30569
|
MatLegacyFormFieldModule,
|
|
@@ -30670,7 +30736,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
30670
30736
|
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]; });
|
|
30671
30737
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
30672
30738
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
30673
|
-
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf,
|
|
30739
|
+
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i2$1.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30674
30740
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30675
30741
|
WriteDateFieldComponent]; }, []);
|
|
30676
30742
|
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, SelectFlagTypeComponent,
|
|
@@ -30690,7 +30756,7 @@ i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, function () { return [
|
|
|
30690
30756
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, function () { return [ReadOrderSummaryFieldComponent]; }, []);
|
|
30691
30757
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30692
30758
|
WriteDateFieldComponent]; }, []);
|
|
30693
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective,
|
|
30759
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30694
30760
|
i0.ɵɵsetComponentScope(
|
|
30695
30761
|
// ComponentLauncher web components
|
|
30696
30762
|
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
|
|
@@ -32091,7 +32157,7 @@ class PaginationComponent {
|
|
|
32091
32157
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 4, "Pagination"));
|
|
32092
32158
|
i0.ɵɵadvance(2);
|
|
32093
32159
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && p_r3.pages.length <= 1));
|
|
32094
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
32160
|
+
} }, 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}}"] });
|
|
32095
32161
|
}
|
|
32096
32162
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
32097
32163
|
type: Component,
|
|
@@ -32437,7 +32503,7 @@ class CaseListComponent {
|
|
|
32437
32503
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32438
32504
|
i0.ɵɵadvance(2);
|
|
32439
32505
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32440
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$
|
|
32506
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
32441
32507
|
}
|
|
32442
32508
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
32443
32509
|
type: Component,
|
|
@@ -39512,7 +39578,7 @@ class SearchResultModule {
|
|
|
39512
39578
|
PipesModule,
|
|
39513
39579
|
ActivityModule,
|
|
39514
39580
|
PaginationModule, i1.RpxTranslationModule, PaletteModule], exports: [SearchResultComponent] }); })();
|
|
39515
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$
|
|
39581
|
+
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]; });
|
|
39516
39582
|
|
|
39517
39583
|
// tslint:disable:variable-name
|
|
39518
39584
|
class ComplexFieldOverride {
|