@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-read-view-changes → 6.16.0-query-management-CYA-raise-query-v9
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +338 -193
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +2 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +215 -83
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +24 -29
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +4 -4
- package/esm2015/lib/shared/components/palette/query-management/index.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/models/index.js +2 -2
- package/esm2015/lib/shared/components/palette/query-management/models/query-create-context.enum.js +7 -0
- package/esm2015/lib/shared/components/palette/query-management/read-query-management-field.component.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +314 -187
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts +1 -0
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +3 -3
- 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-list/query-list.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +3 -3
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/index.d.ts +1 -1
- package/lib/shared/components/palette/query-management/models/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-create-context.enum.d.ts +6 -0
- package/lib/shared/components/palette/query-management/models/query-create-context.enum.d.ts.map +1 -0
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +0 -7
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +0 -6
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +0 -1
|
@@ -20503,12 +20503,12 @@
|
|
|
20503
20503
|
return QueryListData;
|
|
20504
20504
|
}());
|
|
20505
20505
|
|
|
20506
|
-
exports.
|
|
20507
|
-
(function (
|
|
20508
|
-
|
|
20509
|
-
|
|
20510
|
-
|
|
20511
|
-
})(exports.
|
|
20506
|
+
exports.QueryCreateContext = void 0;
|
|
20507
|
+
(function (QueryCreateContext) {
|
|
20508
|
+
QueryCreateContext["NEW"] = "New";
|
|
20509
|
+
QueryCreateContext["RESPOND"] = "Respond";
|
|
20510
|
+
QueryCreateContext["FOLLOWUP"] = "Follow-Up";
|
|
20511
|
+
})(exports.QueryCreateContext || (exports.QueryCreateContext = {}));
|
|
20512
20512
|
|
|
20513
20513
|
var QueryManagementUtils = /** @class */ (function () {
|
|
20514
20514
|
function QueryManagementUtils() {
|
|
@@ -20535,7 +20535,21 @@
|
|
|
20535
20535
|
}], null, null);
|
|
20536
20536
|
})();
|
|
20537
20537
|
|
|
20538
|
-
function
|
|
20538
|
+
function QueryCheckYourAnswersComponent_ng_container_2_Template(rf, ctx) {
|
|
20539
|
+
if (rf & 1) {
|
|
20540
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20541
|
+
i0__namespace.ɵɵelementStart(1, "div", 18);
|
|
20542
|
+
i0__namespace.ɵɵtext(2);
|
|
20543
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20544
|
+
i0__namespace.ɵɵelementEnd();
|
|
20545
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20546
|
+
}
|
|
20547
|
+
if (rf & 2) {
|
|
20548
|
+
i0__namespace.ɵɵadvance(2);
|
|
20549
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
20550
|
+
}
|
|
20551
|
+
}
|
|
20552
|
+
function QueryCheckYourAnswersComponent_ng_container_4_Template(rf, ctx) {
|
|
20539
20553
|
if (rf & 1) {
|
|
20540
20554
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
20541
20555
|
i0__namespace.ɵɵtext(1);
|
|
@@ -20547,7 +20561,7 @@
|
|
|
20547
20561
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
20548
20562
|
}
|
|
20549
20563
|
}
|
|
20550
|
-
function
|
|
20564
|
+
function QueryCheckYourAnswersComponent_ng_template_5_Template(rf, ctx) {
|
|
20551
20565
|
if (rf & 1) {
|
|
20552
20566
|
i0__namespace.ɵɵtext(0);
|
|
20553
20567
|
i0__namespace.ɵɵpipe(1, "rpxTranslate");
|
|
@@ -20556,46 +20570,171 @@
|
|
|
20556
20570
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
20557
20571
|
}
|
|
20558
20572
|
}
|
|
20559
|
-
function
|
|
20573
|
+
function QueryCheckYourAnswersComponent_dl_9_Template(rf, ctx) {
|
|
20560
20574
|
if (rf & 1) {
|
|
20561
|
-
i0__namespace.ɵɵelementStart(0, "dl",
|
|
20562
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
20563
|
-
i0__namespace.ɵɵelementStart(2, "dt",
|
|
20575
|
+
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
20576
|
+
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
20577
|
+
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
20564
20578
|
i0__namespace.ɵɵtext(3);
|
|
20565
20579
|
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20566
20580
|
i0__namespace.ɵɵelementEnd();
|
|
20567
|
-
i0__namespace.ɵɵelementStart(5, "dd",
|
|
20581
|
+
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
20568
20582
|
i0__namespace.ɵɵtext(6);
|
|
20569
20583
|
i0__namespace.ɵɵelementEnd();
|
|
20570
20584
|
i0__namespace.ɵɵelementEnd();
|
|
20571
20585
|
i0__namespace.ɵɵelementEnd();
|
|
20572
20586
|
}
|
|
20573
20587
|
if (rf & 2) {
|
|
20574
|
-
var
|
|
20588
|
+
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
20575
20589
|
i0__namespace.ɵɵadvance(3);
|
|
20576
20590
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Submitted query"), " ");
|
|
20577
20591
|
i0__namespace.ɵɵadvance(3);
|
|
20578
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
20592
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r4.queryItem.subject, " ");
|
|
20579
20593
|
}
|
|
20580
20594
|
}
|
|
20581
|
-
function
|
|
20595
|
+
function QueryCheckYourAnswersComponent_dl_21_Template(rf, ctx) {
|
|
20582
20596
|
if (rf & 1) {
|
|
20583
|
-
i0__namespace.ɵɵ
|
|
20597
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20598
|
+
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
20599
|
+
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
20600
|
+
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
20601
|
+
i0__namespace.ɵɵtext(3);
|
|
20602
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20603
|
+
i0__namespace.ɵɵelementEnd();
|
|
20604
|
+
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
20605
|
+
i0__namespace.ɵɵtext(6);
|
|
20606
|
+
i0__namespace.ɵɵelementEnd();
|
|
20607
|
+
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
20608
|
+
i0__namespace.ɵɵelementStart(8, "a", 13);
|
|
20609
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(); return ctx_r8.goBack(); });
|
|
20610
|
+
i0__namespace.ɵɵtext(9);
|
|
20611
|
+
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
20612
|
+
i0__namespace.ɵɵelementEnd();
|
|
20613
|
+
i0__namespace.ɵɵelementEnd();
|
|
20614
|
+
i0__namespace.ɵɵelementEnd();
|
|
20615
|
+
i0__namespace.ɵɵelementEnd();
|
|
20584
20616
|
}
|
|
20585
20617
|
if (rf & 2) {
|
|
20586
|
-
var
|
|
20587
|
-
|
|
20618
|
+
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
20619
|
+
var tmp_1_0 = null;
|
|
20620
|
+
i0__namespace.ɵɵadvance(3);
|
|
20621
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
20622
|
+
i0__namespace.ɵɵadvance(3);
|
|
20623
|
+
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_1_0 = ctx_r5.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
|
|
20624
|
+
i0__namespace.ɵɵadvance(3);
|
|
20625
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
20626
|
+
}
|
|
20627
|
+
}
|
|
20628
|
+
function QueryCheckYourAnswersComponent_dl_33_ng_container_6_Template(rf, ctx) {
|
|
20629
|
+
if (rf & 1) {
|
|
20630
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20631
|
+
i0__namespace.ɵɵtext(1);
|
|
20632
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
20633
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20634
|
+
}
|
|
20635
|
+
if (rf & 2) {
|
|
20636
|
+
i0__namespace.ɵɵadvance(1);
|
|
20637
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
20638
|
+
}
|
|
20639
|
+
}
|
|
20640
|
+
function QueryCheckYourAnswersComponent_dl_33_ng_template_7_Template(rf, ctx) {
|
|
20641
|
+
if (rf & 1) {
|
|
20642
|
+
i0__namespace.ɵɵtext(0);
|
|
20643
|
+
i0__namespace.ɵɵpipe(1, "rpxTranslate");
|
|
20644
|
+
}
|
|
20645
|
+
if (rf & 2) {
|
|
20646
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
20647
|
+
}
|
|
20648
|
+
}
|
|
20649
|
+
function QueryCheckYourAnswersComponent_dl_33_div_13_Template(rf, ctx) {
|
|
20650
|
+
if (rf & 1) {
|
|
20651
|
+
var _r15_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20652
|
+
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
20653
|
+
i0__namespace.ɵɵelementStart(1, "dt", 10);
|
|
20654
|
+
i0__namespace.ɵɵtext(2);
|
|
20655
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
20656
|
+
i0__namespace.ɵɵelementEnd();
|
|
20657
|
+
i0__namespace.ɵɵelementStart(4, "dd", 11);
|
|
20658
|
+
i0__namespace.ɵɵtext(5);
|
|
20659
|
+
i0__namespace.ɵɵpipe(6, "date");
|
|
20660
|
+
i0__namespace.ɵɵelementEnd();
|
|
20661
|
+
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
20662
|
+
i0__namespace.ɵɵelementStart(8, "a", 13);
|
|
20663
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_33_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var ctx_r14 = i0__namespace.ɵɵnextContext(2); return ctx_r14.goBack(); });
|
|
20664
|
+
i0__namespace.ɵɵtext(9);
|
|
20665
|
+
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
20666
|
+
i0__namespace.ɵɵelementEnd();
|
|
20667
|
+
i0__namespace.ɵɵelementEnd();
|
|
20668
|
+
i0__namespace.ɵɵelementEnd();
|
|
20669
|
+
}
|
|
20670
|
+
if (rf & 2) {
|
|
20671
|
+
var ctx_r13 = i0__namespace.ɵɵnextContext(2);
|
|
20672
|
+
var tmp_1_0 = null;
|
|
20673
|
+
i0__namespace.ɵɵadvance(2);
|
|
20674
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
|
|
20675
|
+
i0__namespace.ɵɵadvance(3);
|
|
20676
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 = ctx_r13.formGroup.get("hearingDate")) == null ? null : tmp_1_0.value, "dd MMM yyyy"), " ");
|
|
20677
|
+
i0__namespace.ɵɵadvance(4);
|
|
20678
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
20679
|
+
}
|
|
20680
|
+
}
|
|
20681
|
+
function QueryCheckYourAnswersComponent_dl_33_Template(rf, ctx) {
|
|
20682
|
+
if (rf & 1) {
|
|
20683
|
+
var _r17_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20684
|
+
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
20685
|
+
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
20686
|
+
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
20687
|
+
i0__namespace.ɵɵtext(3);
|
|
20688
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20689
|
+
i0__namespace.ɵɵelementEnd();
|
|
20690
|
+
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
20691
|
+
i0__namespace.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_33_ng_container_6_Template, 3, 5, "ng-container", 4);
|
|
20692
|
+
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_33_ng_template_7_Template, 2, 5, "ng-template", null, 19, i0__namespace.ɵɵtemplateRefExtractor);
|
|
20693
|
+
i0__namespace.ɵɵelementEnd();
|
|
20694
|
+
i0__namespace.ɵɵelementStart(9, "dd", 12);
|
|
20695
|
+
i0__namespace.ɵɵelementStart(10, "a", 13);
|
|
20696
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_33_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.goBack(); });
|
|
20697
|
+
i0__namespace.ɵɵtext(11);
|
|
20698
|
+
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
20699
|
+
i0__namespace.ɵɵelementEnd();
|
|
20700
|
+
i0__namespace.ɵɵelementEnd();
|
|
20701
|
+
i0__namespace.ɵɵelementEnd();
|
|
20702
|
+
i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_33_div_13_Template, 11, 10, "div", 20);
|
|
20703
|
+
i0__namespace.ɵɵelementEnd();
|
|
20704
|
+
}
|
|
20705
|
+
if (rf & 2) {
|
|
20706
|
+
var _r11 = i0__namespace.ɵɵreference(8);
|
|
20707
|
+
var ctx_r6 = i0__namespace.ɵɵnextContext();
|
|
20708
|
+
var tmp_1_0 = null;
|
|
20709
|
+
var tmp_4_0 = null;
|
|
20710
|
+
i0__namespace.ɵɵadvance(3);
|
|
20711
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
20712
|
+
i0__namespace.ɵɵadvance(3);
|
|
20713
|
+
i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r6.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse", _r11);
|
|
20714
|
+
i0__namespace.ɵɵadvance(5);
|
|
20715
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
20716
|
+
i0__namespace.ɵɵadvance(2);
|
|
20717
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_4_0 = ctx_r6.formGroup.get("isHearingRelated")) == null ? null : tmp_4_0.value);
|
|
20718
|
+
}
|
|
20719
|
+
}
|
|
20720
|
+
function QueryCheckYourAnswersComponent_ccd_read_collection_field_40_Template(rf, ctx) {
|
|
20721
|
+
if (rf & 1) {
|
|
20722
|
+
i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 21);
|
|
20723
|
+
}
|
|
20724
|
+
if (rf & 2) {
|
|
20725
|
+
var ctx_r7 = i0__namespace.ɵɵnextContext();
|
|
20726
|
+
i0__namespace.ɵɵproperty("caseField", ctx_r7.caseField);
|
|
20588
20727
|
}
|
|
20589
20728
|
}
|
|
20590
20729
|
var QueryCheckYourAnswersComponent = /** @class */ (function () {
|
|
20591
20730
|
function QueryCheckYourAnswersComponent() {
|
|
20592
20731
|
this.backClicked = new i0.EventEmitter();
|
|
20593
|
-
this.
|
|
20732
|
+
this.queryCreateContextEnum = exports.QueryCreateContext;
|
|
20594
20733
|
}
|
|
20595
20734
|
QueryCheckYourAnswersComponent.prototype.ngOnInit = function () {
|
|
20735
|
+
var _a;
|
|
20596
20736
|
this.caseField = caseFieldMockData;
|
|
20597
|
-
this.caseField.value = this.formGroup.get('attachments').value
|
|
20598
|
-
.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
20737
|
+
this.caseField.value = (_a = this.formGroup.get('attachments')) === null || _a === void 0 ? void 0 : _a.value.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
20599
20738
|
};
|
|
20600
20739
|
QueryCheckYourAnswersComponent.prototype.goBack = function () {
|
|
20601
20740
|
this.backClicked.emit(true);
|
|
@@ -20603,115 +20742,126 @@
|
|
|
20603
20742
|
return QueryCheckYourAnswersComponent;
|
|
20604
20743
|
}());
|
|
20605
20744
|
QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
|
|
20606
|
-
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls:
|
|
20745
|
+
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 53, vars: 33, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["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"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "caseField", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "caseField"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
20607
20746
|
if (rf & 1) {
|
|
20608
20747
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20609
20748
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20610
|
-
i0__namespace.ɵɵ
|
|
20611
|
-
i0__namespace.ɵɵ
|
|
20612
|
-
i0__namespace.ɵɵtemplate(4,
|
|
20749
|
+
i0__namespace.ɵɵtemplate(2, QueryCheckYourAnswersComponent_ng_container_2_Template, 4, 3, "ng-container", 2);
|
|
20750
|
+
i0__namespace.ɵɵelementStart(3, "h1", 3);
|
|
20751
|
+
i0__namespace.ɵɵtemplate(4, QueryCheckYourAnswersComponent_ng_container_4_Template, 3, 3, "ng-container", 4);
|
|
20752
|
+
i0__namespace.ɵɵtemplate(5, QueryCheckYourAnswersComponent_ng_template_5_Template, 2, 3, "ng-template", null, 5, i0__namespace.ɵɵtemplateRefExtractor);
|
|
20613
20753
|
i0__namespace.ɵɵelementEnd();
|
|
20614
|
-
i0__namespace.ɵɵelementStart(
|
|
20615
|
-
i0__namespace.ɵɵelement(
|
|
20754
|
+
i0__namespace.ɵɵelementStart(7, "div", 6);
|
|
20755
|
+
i0__namespace.ɵɵelement(8, "ccd-query-case-details-header");
|
|
20616
20756
|
i0__namespace.ɵɵelementEnd();
|
|
20617
|
-
i0__namespace.ɵɵtemplate(
|
|
20618
|
-
i0__namespace.ɵɵelementStart(
|
|
20619
|
-
i0__namespace.ɵɵelementStart(
|
|
20620
|
-
i0__namespace.ɵɵelementStart(
|
|
20621
|
-
i0__namespace.ɵɵtext(
|
|
20622
|
-
i0__namespace.ɵɵpipe(
|
|
20623
|
-
i0__namespace.ɵɵelementEnd();
|
|
20624
|
-
i0__namespace.ɵɵelementStart(14, "dd", 10);
|
|
20625
|
-
i0__namespace.ɵɵtext(15);
|
|
20757
|
+
i0__namespace.ɵɵtemplate(9, QueryCheckYourAnswersComponent_dl_9_Template, 7, 4, "dl", 7);
|
|
20758
|
+
i0__namespace.ɵɵelementStart(10, "dl", 8);
|
|
20759
|
+
i0__namespace.ɵɵelementStart(11, "div", 9);
|
|
20760
|
+
i0__namespace.ɵɵelementStart(12, "dt", 10);
|
|
20761
|
+
i0__namespace.ɵɵtext(13);
|
|
20762
|
+
i0__namespace.ɵɵpipe(14, "rpxTranslate");
|
|
20626
20763
|
i0__namespace.ɵɵelementEnd();
|
|
20627
|
-
i0__namespace.ɵɵelementStart(
|
|
20628
|
-
i0__namespace.ɵɵ
|
|
20629
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_17_listener() { return ctx.goBack(); });
|
|
20630
|
-
i0__namespace.ɵɵtext(18);
|
|
20631
|
-
i0__namespace.ɵɵpipe(19, "rpxTranslate");
|
|
20764
|
+
i0__namespace.ɵɵelementStart(15, "dd", 11);
|
|
20765
|
+
i0__namespace.ɵɵtext(16);
|
|
20632
20766
|
i0__namespace.ɵɵelementEnd();
|
|
20767
|
+
i0__namespace.ɵɵelementStart(17, "dd", 12);
|
|
20768
|
+
i0__namespace.ɵɵelementStart(18, "a", 13);
|
|
20769
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_18_listener() { return ctx.goBack(); });
|
|
20770
|
+
i0__namespace.ɵɵtext(19);
|
|
20771
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
20633
20772
|
i0__namespace.ɵɵelementEnd();
|
|
20634
20773
|
i0__namespace.ɵɵelementEnd();
|
|
20635
20774
|
i0__namespace.ɵɵelementEnd();
|
|
20636
|
-
i0__namespace.ɵɵelementStart(20, "dl", 7);
|
|
20637
|
-
i0__namespace.ɵɵelementStart(21, "div", 8);
|
|
20638
|
-
i0__namespace.ɵɵelementStart(22, "dt", 9);
|
|
20639
|
-
i0__namespace.ɵɵtext(23);
|
|
20640
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
20641
20775
|
i0__namespace.ɵɵelementEnd();
|
|
20642
|
-
i0__namespace.ɵɵ
|
|
20643
|
-
i0__namespace.ɵɵ
|
|
20776
|
+
i0__namespace.ɵɵtemplate(21, QueryCheckYourAnswersComponent_dl_21_Template, 11, 7, "dl", 7);
|
|
20777
|
+
i0__namespace.ɵɵelementStart(22, "dl", 8);
|
|
20778
|
+
i0__namespace.ɵɵelementStart(23, "div", 9);
|
|
20779
|
+
i0__namespace.ɵɵelementStart(24, "dt", 10);
|
|
20780
|
+
i0__namespace.ɵɵtext(25);
|
|
20781
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
20644
20782
|
i0__namespace.ɵɵelementEnd();
|
|
20645
20783
|
i0__namespace.ɵɵelementStart(27, "dd", 11);
|
|
20646
|
-
i0__namespace.ɵɵ
|
|
20647
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_28_listener() { return ctx.goBack(); });
|
|
20648
|
-
i0__namespace.ɵɵtext(29);
|
|
20649
|
-
i0__namespace.ɵɵpipe(30, "rpxTranslate");
|
|
20784
|
+
i0__namespace.ɵɵtext(28);
|
|
20650
20785
|
i0__namespace.ɵɵelementEnd();
|
|
20786
|
+
i0__namespace.ɵɵelementStart(29, "dd", 12);
|
|
20787
|
+
i0__namespace.ɵɵelementStart(30, "a", 13);
|
|
20788
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_30_listener() { return ctx.goBack(); });
|
|
20789
|
+
i0__namespace.ɵɵtext(31);
|
|
20790
|
+
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
20651
20791
|
i0__namespace.ɵɵelementEnd();
|
|
20652
20792
|
i0__namespace.ɵɵelementEnd();
|
|
20653
20793
|
i0__namespace.ɵɵelementEnd();
|
|
20654
|
-
i0__namespace.ɵɵelementStart(31, "dl", 7);
|
|
20655
|
-
i0__namespace.ɵɵelementStart(32, "div", 8);
|
|
20656
|
-
i0__namespace.ɵɵelementStart(33, "dt", 9);
|
|
20657
|
-
i0__namespace.ɵɵtext(34);
|
|
20658
|
-
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
20659
20794
|
i0__namespace.ɵɵelementEnd();
|
|
20660
|
-
i0__namespace.ɵɵ
|
|
20661
|
-
i0__namespace.ɵɵ
|
|
20795
|
+
i0__namespace.ɵɵtemplate(33, QueryCheckYourAnswersComponent_dl_33_Template, 14, 9, "dl", 7);
|
|
20796
|
+
i0__namespace.ɵɵelementStart(34, "dl", 8);
|
|
20797
|
+
i0__namespace.ɵɵelementStart(35, "div", 9);
|
|
20798
|
+
i0__namespace.ɵɵelementStart(36, "dt", 10);
|
|
20799
|
+
i0__namespace.ɵɵtext(37);
|
|
20800
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
20662
20801
|
i0__namespace.ɵɵelementEnd();
|
|
20663
|
-
i0__namespace.ɵɵelementStart(
|
|
20664
|
-
i0__namespace.ɵɵ
|
|
20665
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_39_listener() { return ctx.goBack(); });
|
|
20666
|
-
i0__namespace.ɵɵtext(40);
|
|
20667
|
-
i0__namespace.ɵɵpipe(41, "rpxTranslate");
|
|
20802
|
+
i0__namespace.ɵɵelementStart(39, "dd", 14);
|
|
20803
|
+
i0__namespace.ɵɵtemplate(40, QueryCheckYourAnswersComponent_ccd_read_collection_field_40_Template, 1, 1, "ccd-read-collection-field", 15);
|
|
20668
20804
|
i0__namespace.ɵɵelementEnd();
|
|
20805
|
+
i0__namespace.ɵɵelementStart(41, "dd", 12);
|
|
20806
|
+
i0__namespace.ɵɵelementStart(42, "a", 13);
|
|
20807
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_42_listener() { return ctx.goBack(); });
|
|
20808
|
+
i0__namespace.ɵɵtext(43);
|
|
20809
|
+
i0__namespace.ɵɵpipe(44, "rpxTranslate");
|
|
20669
20810
|
i0__namespace.ɵɵelementEnd();
|
|
20670
20811
|
i0__namespace.ɵɵelementEnd();
|
|
20671
20812
|
i0__namespace.ɵɵelementEnd();
|
|
20672
|
-
i0__namespace.ɵɵelement(42, "br");
|
|
20673
|
-
i0__namespace.ɵɵelementStart(43, "div");
|
|
20674
|
-
i0__namespace.ɵɵelementStart(44, "button", 15);
|
|
20675
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_44_listener() { return ctx.goBack(); });
|
|
20676
|
-
i0__namespace.ɵɵtext(45);
|
|
20677
|
-
i0__namespace.ɵɵpipe(46, "rpxTranslate");
|
|
20678
20813
|
i0__namespace.ɵɵelementEnd();
|
|
20814
|
+
i0__namespace.ɵɵelement(45, "br");
|
|
20815
|
+
i0__namespace.ɵɵelementStart(46, "div");
|
|
20679
20816
|
i0__namespace.ɵɵelementStart(47, "button", 16);
|
|
20817
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_47_listener() { return ctx.goBack(); });
|
|
20680
20818
|
i0__namespace.ɵɵtext(48);
|
|
20681
20819
|
i0__namespace.ɵɵpipe(49, "rpxTranslate");
|
|
20682
20820
|
i0__namespace.ɵɵelementEnd();
|
|
20821
|
+
i0__namespace.ɵɵelementStart(50, "button", 17);
|
|
20822
|
+
i0__namespace.ɵɵtext(51);
|
|
20823
|
+
i0__namespace.ɵɵpipe(52, "rpxTranslate");
|
|
20824
|
+
i0__namespace.ɵɵelementEnd();
|
|
20683
20825
|
i0__namespace.ɵɵelementEnd();
|
|
20684
20826
|
i0__namespace.ɵɵelementEnd();
|
|
20685
20827
|
i0__namespace.ɵɵelementEnd();
|
|
20686
20828
|
}
|
|
20687
20829
|
if (rf & 2) {
|
|
20688
|
-
var
|
|
20689
|
-
|
|
20690
|
-
|
|
20830
|
+
var _r2 = i0__namespace.ɵɵreference(6);
|
|
20831
|
+
var tmp_5_0 = null;
|
|
20832
|
+
var tmp_9_0 = null;
|
|
20833
|
+
i0__namespace.ɵɵadvance(2);
|
|
20834
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW);
|
|
20835
|
+
i0__namespace.ɵɵadvance(2);
|
|
20836
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", _r2);
|
|
20691
20837
|
i0__namespace.ɵɵadvance(5);
|
|
20692
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.
|
|
20838
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND);
|
|
20693
20839
|
i0__namespace.ɵɵadvance(4);
|
|
20694
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20840
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(14, 17, "Full name"), " ");
|
|
20695
20841
|
i0__namespace.ɵɵadvance(3);
|
|
20696
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.
|
|
20842
|
+
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_5_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_5_0.value, " ");
|
|
20697
20843
|
i0__namespace.ɵɵadvance(3);
|
|
20698
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20699
|
-
i0__namespace.ɵɵadvance(
|
|
20700
|
-
i0__namespace.ɵɵ
|
|
20844
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(20, 19, "Change"), " ");
|
|
20845
|
+
i0__namespace.ɵɵadvance(2);
|
|
20846
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW);
|
|
20847
|
+
i0__namespace.ɵɵadvance(4);
|
|
20848
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(26, 21, "Query body"), " ");
|
|
20701
20849
|
i0__namespace.ɵɵadvance(3);
|
|
20702
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.
|
|
20850
|
+
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_9_0 = ctx.formGroup.get("body")) == null ? null : tmp_9_0.value, " ");
|
|
20703
20851
|
i0__namespace.ɵɵadvance(3);
|
|
20704
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20705
|
-
i0__namespace.ɵɵadvance(
|
|
20706
|
-
i0__namespace.ɵɵ
|
|
20852
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 23, "Change"), " ");
|
|
20853
|
+
i0__namespace.ɵɵadvance(2);
|
|
20854
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW);
|
|
20855
|
+
i0__namespace.ɵɵadvance(4);
|
|
20856
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 25, "Document attached"), " ");
|
|
20707
20857
|
i0__namespace.ɵɵadvance(3);
|
|
20708
20858
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
20709
20859
|
i0__namespace.ɵɵadvance(3);
|
|
20710
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20860
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(44, 27, "Change"), " ");
|
|
20711
20861
|
i0__namespace.ɵɵadvance(5);
|
|
20712
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20862
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(49, 29, "Previous"), " ");
|
|
20713
20863
|
i0__namespace.ɵɵadvance(3);
|
|
20714
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
20864
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(52, 31, "Submit"), " ");
|
|
20715
20865
|
}
|
|
20716
20866
|
}, styles: ["ccd-query-check-your-answers .collection-field-table tr>td{border-bottom:none;padding-bottom:0}ccd-query-check-your-answers .govuk-summary-list__value--documentAttached{vertical-align:middle}"], encapsulation: 2 });
|
|
20717
20867
|
(function () {
|
|
@@ -20984,33 +21134,31 @@
|
|
|
20984
21134
|
|
|
20985
21135
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
20986
21136
|
if (rf & 1) {
|
|
20987
|
-
var
|
|
21137
|
+
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20988
21138
|
i0__namespace.ɵɵelementStart(0, "th", 8);
|
|
20989
|
-
i0__namespace.ɵɵ
|
|
20990
|
-
i0__namespace.ɵɵ
|
|
20991
|
-
i0__namespace.ɵɵ
|
|
20992
|
-
i0__namespace.ɵɵ
|
|
21139
|
+
i0__namespace.ɵɵtext(1);
|
|
21140
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
21141
|
+
i0__namespace.ɵɵelementStart(3, "a", 9);
|
|
21142
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var col_r3 = ctx.$implicit; var ctx_r4 = i0__namespace.ɵɵnextContext(2); return ctx_r4.sortTable(col_r3); });
|
|
20993
21143
|
i0__namespace.ɵɵelementEnd();
|
|
20994
21144
|
i0__namespace.ɵɵelementEnd();
|
|
20995
21145
|
}
|
|
20996
21146
|
if (rf & 2) {
|
|
20997
21147
|
var col_r3 = ctx.$implicit;
|
|
20998
|
-
var i_r4 = ctx.index;
|
|
20999
21148
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
21000
|
-
i0__namespace.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
|
|
21001
|
-
i0__namespace.ɵɵadvance(1);
|
|
21002
|
-
i0__namespace.ɵɵattribute("data-index", i_r4);
|
|
21003
21149
|
i0__namespace.ɵɵadvance(1);
|
|
21004
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21150
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 2, col_r3.displayName), " ");
|
|
21151
|
+
i0__namespace.ɵɵadvance(2);
|
|
21152
|
+
i0__namespace.ɵɵproperty("innerHTML", ctx_r1.sortWidget(col_r3), i0__namespace.ɵɵsanitizeHtml);
|
|
21005
21153
|
}
|
|
21006
21154
|
}
|
|
21007
21155
|
function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) {
|
|
21008
21156
|
if (rf & 1) {
|
|
21009
|
-
var
|
|
21157
|
+
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21010
21158
|
i0__namespace.ɵɵelementStart(0, "tr", 4);
|
|
21011
21159
|
i0__namespace.ɵɵelementStart(1, "td", 10);
|
|
21012
21160
|
i0__namespace.ɵɵelementStart(2, "a", 11);
|
|
21013
|
-
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(
|
|
21161
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var message_r6 = ctx.$implicit; var ctx_r7 = i0__namespace.ɵɵnextContext(2); return ctx_r7.showDetails(message_r6); });
|
|
21014
21162
|
i0__namespace.ɵɵtext(3);
|
|
21015
21163
|
i0__namespace.ɵɵelementEnd();
|
|
21016
21164
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21031,17 +21179,17 @@
|
|
|
21031
21179
|
i0__namespace.ɵɵelementEnd();
|
|
21032
21180
|
}
|
|
21033
21181
|
if (rf & 2) {
|
|
21034
|
-
var
|
|
21182
|
+
var message_r6 = ctx.$implicit;
|
|
21035
21183
|
i0__namespace.ɵɵadvance(3);
|
|
21036
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21184
|
+
i0__namespace.ɵɵtextInterpolate(message_r6.subject);
|
|
21037
21185
|
i0__namespace.ɵɵadvance(2);
|
|
21038
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21186
|
+
i0__namespace.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
21039
21187
|
i0__namespace.ɵɵadvance(2);
|
|
21040
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5,
|
|
21188
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY"));
|
|
21041
21189
|
i0__namespace.ɵɵadvance(3);
|
|
21042
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8,
|
|
21190
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY"));
|
|
21043
21191
|
i0__namespace.ɵɵadvance(3);
|
|
21044
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21192
|
+
i0__namespace.ɵɵtextInterpolate(message_r6.lastResponseBy);
|
|
21045
21193
|
}
|
|
21046
21194
|
}
|
|
21047
21195
|
function QueryListComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -21055,7 +21203,7 @@
|
|
|
21055
21203
|
i0__namespace.ɵɵelementEnd();
|
|
21056
21204
|
i0__namespace.ɵɵelementStart(5, "thead", 3);
|
|
21057
21205
|
i0__namespace.ɵɵelementStart(6, "tr", 4);
|
|
21058
|
-
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4,
|
|
21206
|
+
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 4, "th", 5);
|
|
21059
21207
|
i0__namespace.ɵɵelementEnd();
|
|
21060
21208
|
i0__namespace.ɵɵelementEnd();
|
|
21061
21209
|
i0__namespace.ɵɵelementStart(8, "tbody", 6);
|
|
@@ -21078,7 +21226,7 @@
|
|
|
21078
21226
|
function QueryListComponent() {
|
|
21079
21227
|
this.selectedQuery = new i0.EventEmitter();
|
|
21080
21228
|
this.displayedColumns = [
|
|
21081
|
-
{ name: 'subject', displayName: '
|
|
21229
|
+
{ name: 'subject', displayName: 'Queries', sortOrder: SortOrder.UNSORTED },
|
|
21082
21230
|
{ name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
|
|
21083
21231
|
{ name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
|
|
21084
21232
|
{ name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
|
|
@@ -21105,16 +21253,13 @@
|
|
|
21105
21253
|
}
|
|
21106
21254
|
}
|
|
21107
21255
|
};
|
|
21108
|
-
QueryListComponent.prototype.
|
|
21256
|
+
QueryListComponent.prototype.sortWidget = function (col) {
|
|
21109
21257
|
switch (col.sortOrder) {
|
|
21110
21258
|
case SortOrder.ASCENDING: {
|
|
21111
|
-
return '
|
|
21112
|
-
}
|
|
21113
|
-
case SortOrder.DESCENDING: {
|
|
21114
|
-
return 'descending';
|
|
21259
|
+
return '▲';
|
|
21115
21260
|
}
|
|
21116
21261
|
default: {
|
|
21117
|
-
return '
|
|
21262
|
+
return '▼';
|
|
21118
21263
|
}
|
|
21119
21264
|
}
|
|
21120
21265
|
};
|
|
@@ -21148,14 +21293,14 @@
|
|
|
21148
21293
|
return QueryListComponent;
|
|
21149
21294
|
}());
|
|
21150
21295
|
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
21151
|
-
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["
|
|
21296
|
+
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__header"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
|
|
21152
21297
|
if (rf & 1) {
|
|
21153
21298
|
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
21154
21299
|
}
|
|
21155
21300
|
if (rf & 2) {
|
|
21156
21301
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
|
|
21157
21302
|
}
|
|
21158
|
-
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["
|
|
21303
|
+
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: [".query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#000}"] });
|
|
21159
21304
|
(function () {
|
|
21160
21305
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
|
|
21161
21306
|
type: i0.Component,
|
|
@@ -21171,81 +21316,6 @@
|
|
|
21171
21316
|
}] });
|
|
21172
21317
|
})();
|
|
21173
21318
|
|
|
21174
|
-
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21175
|
-
function QueryWriteAddDocumentsComponent() {
|
|
21176
|
-
this.documentFormGroup = new i3.FormGroup({});
|
|
21177
|
-
this.documentCollectionUpdate = new i0.EventEmitter();
|
|
21178
|
-
}
|
|
21179
|
-
QueryWriteAddDocumentsComponent.prototype.ngOnInit = function () {
|
|
21180
|
-
var _a;
|
|
21181
|
-
// This field is mocked to allow the document component to be used in isolation
|
|
21182
|
-
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
21183
|
-
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
21184
|
-
label: 'Add document',
|
|
21185
|
-
hint_text: 'Attach a document to this message',
|
|
21186
|
-
display_context: 'OPTIONAL',
|
|
21187
|
-
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
21188
|
-
field_type: Object.assign(new FieldType(), {
|
|
21189
|
-
id: 'queryDocuments',
|
|
21190
|
-
type: 'queryDocuments',
|
|
21191
|
-
min: null,
|
|
21192
|
-
max: null,
|
|
21193
|
-
regular_expression: null,
|
|
21194
|
-
fixed_list_items: [],
|
|
21195
|
-
complex_fields: [],
|
|
21196
|
-
collection_field_type: Object.assign(new FieldType(), {
|
|
21197
|
-
id: 'Document',
|
|
21198
|
-
type: 'Document',
|
|
21199
|
-
min: null,
|
|
21200
|
-
max: null,
|
|
21201
|
-
regular_expression: null,
|
|
21202
|
-
fixed_list_items: [],
|
|
21203
|
-
complex_fields: [],
|
|
21204
|
-
collection_field_type: null,
|
|
21205
|
-
})
|
|
21206
|
-
}),
|
|
21207
|
-
});
|
|
21208
|
-
this.mockDocumentCaseField.value = (_a = this.formGroup.get('attachments')) === null || _a === void 0 ? void 0 : _a.value.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
21209
|
-
};
|
|
21210
|
-
QueryWriteAddDocumentsComponent.prototype.ngAfterViewInit = function () {
|
|
21211
|
-
var _this = this;
|
|
21212
|
-
var documentFormControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
21213
|
-
if (documentFormControl) {
|
|
21214
|
-
this.documentFormControlSubscription = documentFormControl.valueChanges
|
|
21215
|
-
.pipe(operators.map(function (documents) { return (documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
21216
|
-
.subscribe();
|
|
21217
|
-
}
|
|
21218
|
-
};
|
|
21219
|
-
QueryWriteAddDocumentsComponent.prototype.ngOnDestroy = function () {
|
|
21220
|
-
var _a;
|
|
21221
|
-
(_a = this.documentFormControlSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
21222
|
-
};
|
|
21223
|
-
return QueryWriteAddDocumentsComponent;
|
|
21224
|
-
}());
|
|
21225
|
-
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
21226
|
-
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
21227
|
-
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
21228
|
-
if (rf & 1) {
|
|
21229
|
-
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
21230
|
-
}
|
|
21231
|
-
if (rf & 2) {
|
|
21232
|
-
i0__namespace.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
21233
|
-
}
|
|
21234
|
-
}, encapsulation: 2 });
|
|
21235
|
-
(function () {
|
|
21236
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
21237
|
-
type: i0.Component,
|
|
21238
|
-
args: [{
|
|
21239
|
-
selector: 'ccd-query-write-add-documents',
|
|
21240
|
-
templateUrl: './query-write-add-documents.component.html'
|
|
21241
|
-
}]
|
|
21242
|
-
}], null, { formGroup: [{
|
|
21243
|
-
type: i0.Input
|
|
21244
|
-
}], documentCollectionUpdate: [{
|
|
21245
|
-
type: i0.Output
|
|
21246
|
-
}] });
|
|
21247
|
-
})();
|
|
21248
|
-
|
|
21249
21319
|
var QueryWriteDateInputComponent = /** @class */ (function () {
|
|
21250
21320
|
function QueryWriteDateInputComponent() {
|
|
21251
21321
|
this.disabled = false;
|
|
@@ -21372,6 +21442,81 @@
|
|
|
21372
21442
|
}] });
|
|
21373
21443
|
})();
|
|
21374
21444
|
|
|
21445
|
+
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21446
|
+
function QueryWriteAddDocumentsComponent() {
|
|
21447
|
+
this.documentFormGroup = new i3.FormGroup({});
|
|
21448
|
+
this.documentCollectionUpdate = new i0.EventEmitter();
|
|
21449
|
+
}
|
|
21450
|
+
QueryWriteAddDocumentsComponent.prototype.ngOnInit = function () {
|
|
21451
|
+
var _a;
|
|
21452
|
+
// This field is mocked to allow the document component to be used in isolation
|
|
21453
|
+
this.mockDocumentCaseField = Object.assign(new CaseField(), {
|
|
21454
|
+
id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
|
|
21455
|
+
label: 'Add document',
|
|
21456
|
+
hint_text: 'Attach a document to this message',
|
|
21457
|
+
display_context: 'OPTIONAL',
|
|
21458
|
+
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
|
|
21459
|
+
field_type: Object.assign(new FieldType(), {
|
|
21460
|
+
id: 'queryDocuments',
|
|
21461
|
+
type: 'queryDocuments',
|
|
21462
|
+
min: null,
|
|
21463
|
+
max: null,
|
|
21464
|
+
regular_expression: null,
|
|
21465
|
+
fixed_list_items: [],
|
|
21466
|
+
complex_fields: [],
|
|
21467
|
+
collection_field_type: Object.assign(new FieldType(), {
|
|
21468
|
+
id: 'Document',
|
|
21469
|
+
type: 'Document',
|
|
21470
|
+
min: null,
|
|
21471
|
+
max: null,
|
|
21472
|
+
regular_expression: null,
|
|
21473
|
+
fixed_list_items: [],
|
|
21474
|
+
complex_fields: [],
|
|
21475
|
+
collection_field_type: null,
|
|
21476
|
+
})
|
|
21477
|
+
}),
|
|
21478
|
+
});
|
|
21479
|
+
this.mockDocumentCaseField.value = (_a = this.formGroup.get('attachments')) === null || _a === void 0 ? void 0 : _a.value.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
21480
|
+
};
|
|
21481
|
+
QueryWriteAddDocumentsComponent.prototype.ngAfterViewInit = function () {
|
|
21482
|
+
var _this = this;
|
|
21483
|
+
var documentFormControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
|
|
21484
|
+
if (documentFormControl) {
|
|
21485
|
+
this.documentFormControlSubscription = documentFormControl.valueChanges
|
|
21486
|
+
.pipe(operators.map(function (documents) { return (documents.filter(function (document) { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); })); }), operators.map(function (documents) { return documents.map(function (document) { return document === null || document === void 0 ? void 0 : document.value; }); }), operators.tap(function (documents) { return _this.documentCollectionUpdate.emit(documents); }))
|
|
21487
|
+
.subscribe();
|
|
21488
|
+
}
|
|
21489
|
+
};
|
|
21490
|
+
QueryWriteAddDocumentsComponent.prototype.ngOnDestroy = function () {
|
|
21491
|
+
var _a;
|
|
21492
|
+
(_a = this.documentFormControlSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
21493
|
+
};
|
|
21494
|
+
return QueryWriteAddDocumentsComponent;
|
|
21495
|
+
}());
|
|
21496
|
+
QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
|
|
21497
|
+
QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
|
|
21498
|
+
QueryWriteAddDocumentsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) {
|
|
21499
|
+
if (rf & 1) {
|
|
21500
|
+
i0__namespace.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
21501
|
+
}
|
|
21502
|
+
if (rf & 2) {
|
|
21503
|
+
i0__namespace.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
|
|
21504
|
+
}
|
|
21505
|
+
}, encapsulation: 2 });
|
|
21506
|
+
(function () {
|
|
21507
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteAddDocumentsComponent, [{
|
|
21508
|
+
type: i0.Component,
|
|
21509
|
+
args: [{
|
|
21510
|
+
selector: 'ccd-query-write-add-documents',
|
|
21511
|
+
templateUrl: './query-write-add-documents.component.html'
|
|
21512
|
+
}]
|
|
21513
|
+
}], null, { formGroup: [{
|
|
21514
|
+
type: i0.Input
|
|
21515
|
+
}], documentCollectionUpdate: [{
|
|
21516
|
+
type: i0.Output
|
|
21517
|
+
}] });
|
|
21518
|
+
})();
|
|
21519
|
+
|
|
21375
21520
|
var RaiseQueryErrorMessage;
|
|
21376
21521
|
(function (RaiseQueryErrorMessage) {
|
|
21377
21522
|
RaiseQueryErrorMessage["FULL_NAME"] = "Enter a full name";
|
|
@@ -21718,7 +21863,7 @@
|
|
|
21718
21863
|
function QueryWriteRespondToQueryComponent(caseNotifier) {
|
|
21719
21864
|
this.caseNotifier = caseNotifier;
|
|
21720
21865
|
this.submitted = false;
|
|
21721
|
-
this.queryItemTypeEnum = exports.
|
|
21866
|
+
this.queryItemTypeEnum = exports.QueryCreateContext;
|
|
21722
21867
|
}
|
|
21723
21868
|
QueryWriteRespondToQueryComponent.prototype.ngOnInit = function () {
|
|
21724
21869
|
var _this = this;
|
|
@@ -21756,7 +21901,7 @@
|
|
|
21756
21901
|
i0__namespace.ɵɵelementEnd();
|
|
21757
21902
|
i0__namespace.ɵɵelementEnd();
|
|
21758
21903
|
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
21759
|
-
i0__namespace.ɵɵelementStart(17, "div"
|
|
21904
|
+
i0__namespace.ɵɵelementStart(17, "div");
|
|
21760
21905
|
i0__namespace.ɵɵelementStart(18, "h1", 8);
|
|
21761
21906
|
i0__namespace.ɵɵtext(19);
|
|
21762
21907
|
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
@@ -30252,7 +30397,7 @@
|
|
|
30252
30397
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
30253
30398
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgClass, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
|
|
30254
30399
|
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [i5__namespace.NgIf, QueryCaseDetailsHeaderComponent,
|
|
30255
|
-
ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
|
|
30400
|
+
ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
30256
30401
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
30257
30402
|
|
|
30258
30403
|
var Confirmation = /** @class */ (function () {
|