@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-navigate-back-to-query-list → 6.16.0-query-management-complete-task

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.
@@ -21232,6 +21232,54 @@
21232
21232
  return QueryListData;
21233
21233
  }());
21234
21234
 
21235
+ var QueryManagmentService = /** @class */ (function () {
21236
+ function QueryManagmentService(http, appConfig, errorService, alertService) {
21237
+ this.http = http;
21238
+ this.appConfig = appConfig;
21239
+ this.errorService = errorService;
21240
+ this.alertService = alertService;
21241
+ }
21242
+ /**
21243
+ * Call the API to complete a task.
21244
+ * @param taskId specifies which task should be completed.
21245
+ */
21246
+ QueryManagmentService.prototype.completeTask = function (taskId) {
21247
+ var _this = this;
21248
+ var url = this.appConfig.getWorkAllocationApiUrl() + "/task/" + taskId + "/complete";
21249
+ return this.http
21250
+ .post(url, {})
21251
+ .pipe(operators.catchError(function (error) {
21252
+ _this.errorService.setError(error);
21253
+ return rxjs.throwError(error);
21254
+ }));
21255
+ };
21256
+ /**
21257
+ * Call the API to get tasks matching the search criteria.
21258
+ * @param searchRequest The search parameters that specify which tasks to match.
21259
+ */
21260
+ QueryManagmentService.prototype.searchTasks = function (searchRequest) {
21261
+ var _this = this;
21262
+ var url = this.appConfig.getWorkAllocationApiUrl() + "/searchForCompletable";
21263
+ return this.http
21264
+ .post(url, { searchRequest: searchRequest }, null, false)
21265
+ .pipe(operators.map(function (response) { return response; }), operators.catchError(function (error) {
21266
+ _this.errorService.setError(error);
21267
+ return rxjs.throwError(error);
21268
+ }));
21269
+ };
21270
+ return QueryManagmentService;
21271
+ }());
21272
+ QueryManagmentService.ɵfac = function QueryManagmentService_Factory(t) { return new (t || QueryManagmentService)(i0__namespace.ɵɵinject(HttpService), i0__namespace.ɵɵinject(AbstractAppConfig), i0__namespace.ɵɵinject(HttpErrorService), i0__namespace.ɵɵinject(AlertService)); };
21273
+ QueryManagmentService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: QueryManagmentService, factory: QueryManagmentService.ɵfac, providedIn: 'root' });
21274
+ (function () {
21275
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryManagmentService, [{
21276
+ type: i0.Injectable,
21277
+ args: [{
21278
+ providedIn: 'root'
21279
+ }]
21280
+ }], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }, { type: AlertService }]; }, null);
21281
+ })();
21282
+
21235
21283
  function QueryCheckYourAnswersComponent_ng_container_2_Template(rf, ctx) {
21236
21284
  if (rf & 1) {
21237
21285
  i0__namespace.ɵɵelementContainerStart(0);
@@ -21411,17 +21459,56 @@
21411
21459
  }
21412
21460
  }
21413
21461
  var QueryCheckYourAnswersComponent = /** @class */ (function () {
21414
- function QueryCheckYourAnswersComponent() {
21462
+ function QueryCheckYourAnswersComponent(activatedRoute, caseNotifier, queryManagementService, sessionStorageService) {
21463
+ this.activatedRoute = activatedRoute;
21464
+ this.caseNotifier = caseNotifier;
21465
+ this.queryManagementService = queryManagementService;
21466
+ this.sessionStorageService = sessionStorageService;
21415
21467
  this.backClicked = new i0.EventEmitter();
21416
21468
  this.queryCreateContextEnum = exports.QueryCreateContext;
21417
21469
  }
21470
+ QueryCheckYourAnswersComponent.prototype.ngOnInit = function () {
21471
+ var _this = this;
21472
+ this.queryId = this.activatedRoute.snapshot.params.qid;
21473
+ this.caseNotifier.caseView.pipe(operators.take(1)).subscribe(function (caseDetails) {
21474
+ _this.caseId = caseDetails.case_id;
21475
+ });
21476
+ };
21418
21477
  QueryCheckYourAnswersComponent.prototype.goBack = function () {
21419
21478
  this.backClicked.emit(true);
21420
21479
  };
21480
+ QueryCheckYourAnswersComponent.prototype.submit = function () {
21481
+ this.searchAndCompleteTask();
21482
+ };
21483
+ QueryCheckYourAnswersComponent.prototype.searchAndCompleteTask = function () {
21484
+ var _this = this;
21485
+ var userInfoStr = this.sessionStorageService.getItem('userDetails');
21486
+ var userInfo = JSON.parse(userInfoStr);
21487
+ // Search task
21488
+ var searchParameter = { ccdId: this.caseId };
21489
+ this.queryManagementService.searchTasks(searchParameter)
21490
+ .subscribe(function (response) {
21491
+ // Filter task by queryId
21492
+ var filteredtask = response.tasks.find(function (task) {
21493
+ return Object.values(task.additional_properties).some(function (value) {
21494
+ if (value === _this.queryId && task.assignee === userInfo.id) {
21495
+ return task;
21496
+ }
21497
+ });
21498
+ });
21499
+ if (!!filteredtask) {
21500
+ _this.queryManagementService.completeTask(filteredtask.id).subscribe();
21501
+ }
21502
+ return;
21503
+ }),
21504
+ operators.catchError(function (error) {
21505
+ return rxjs.throwError(error);
21506
+ });
21507
+ };
21421
21508
  return QueryCheckYourAnswersComponent;
21422
21509
  }());
21423
- QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
21424
- QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, 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, "attachments", 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"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
21510
+ QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(QueryManagmentService), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
21511
+ QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, 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, "attachments", 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", 3, "click"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
21425
21512
  if (rf & 1) {
21426
21513
  i0__namespace.ɵɵelementStart(0, "div", 0);
21427
21514
  i0__namespace.ɵɵelementStart(1, "div", 1);
@@ -21479,6 +21566,7 @@
21479
21566
  i0__namespace.ɵɵpipe(37, "rpxTranslate");
21480
21567
  i0__namespace.ɵɵelementEnd();
21481
21568
  i0__namespace.ɵɵelementStart(38, "button", 17);
21569
+ i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.submit(); });
21482
21570
  i0__namespace.ɵɵtext(39);
21483
21571
  i0__namespace.ɵɵpipe(40, "rpxTranslate");
21484
21572
  i0__namespace.ɵɵelementEnd();
@@ -21523,7 +21611,7 @@
21523
21611
  templateUrl: './query-check-your-answers.component.html',
21524
21612
  styleUrls: ['./query-check-your-answers.component.scss']
21525
21613
  }]
21526
- }], null, { formGroup: [{
21614
+ }], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: CaseNotifier }, { type: QueryManagmentService }, { type: SessionStorageService }]; }, { formGroup: [{
21527
21615
  type: i0.Input
21528
21616
  }], queryItem: [{
21529
21617
  type: i0.Input
@@ -21534,14 +21622,14 @@
21534
21622
  }] });
21535
21623
  })();
21536
21624
 
21537
- function QueryDetailsComponent_ng_container_0_tr_45_Template(rf, ctx) {
21625
+ function QueryDetailsComponent_ng_container_0_tr_41_Template(rf, ctx) {
21538
21626
  if (rf & 1) {
21539
- i0__namespace.ɵɵelementStart(0, "tr", 10);
21540
- i0__namespace.ɵɵelementStart(1, "th", 6);
21627
+ i0__namespace.ɵɵelementStart(0, "tr", 9);
21628
+ i0__namespace.ɵɵelementStart(1, "th", 5);
21541
21629
  i0__namespace.ɵɵtext(2);
21542
21630
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21543
21631
  i0__namespace.ɵɵelementEnd();
21544
- i0__namespace.ɵɵelementStart(4, "td", 7);
21632
+ i0__namespace.ɵɵelementStart(4, "td", 6);
21545
21633
  i0__namespace.ɵɵtext(5);
21546
21634
  i0__namespace.ɵɵpipe(6, "date");
21547
21635
  i0__namespace.ɵɵelementEnd();
@@ -21555,23 +21643,23 @@
21555
21643
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.query.hearingDate, "dd MMM yyyy"));
21556
21644
  }
21557
21645
  }
21558
- function QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_51_Template(rf, ctx) {
21646
+ function QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_47_Template(rf, ctx) {
21559
21647
  if (rf & 1) {
21560
- i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 11);
21648
+ i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 10);
21561
21649
  }
21562
21650
  if (rf & 2) {
21563
21651
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
21564
21652
  i0__namespace.ɵɵproperty("attachments", ctx_r2.query.attachments);
21565
21653
  }
21566
21654
  }
21567
- function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_tr_15_Template(rf, ctx) {
21655
+ function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_tr_15_Template(rf, ctx) {
21568
21656
  if (rf & 1) {
21569
- i0__namespace.ɵɵelementStart(0, "tr", 5);
21570
- i0__namespace.ɵɵelementStart(1, "th", 6);
21657
+ i0__namespace.ɵɵelementStart(0, "tr", 4);
21658
+ i0__namespace.ɵɵelementStart(1, "th", 5);
21571
21659
  i0__namespace.ɵɵtext(2);
21572
21660
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
21573
21661
  i0__namespace.ɵɵelementEnd();
21574
- i0__namespace.ɵɵelementStart(4, "td", 7);
21662
+ i0__namespace.ɵɵelementStart(4, "td", 6);
21575
21663
  i0__namespace.ɵɵtext(5);
21576
21664
  i0__namespace.ɵɵelementEnd();
21577
21665
  i0__namespace.ɵɵelementEnd();
@@ -21584,54 +21672,54 @@
21584
21672
  i0__namespace.ɵɵtextInterpolate(child_r5.name);
21585
21673
  }
21586
21674
  }
21587
- function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template(rf, ctx) {
21675
+ function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template(rf, ctx) {
21588
21676
  if (rf & 1) {
21589
- i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 11);
21677
+ i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 10);
21590
21678
  }
21591
21679
  if (rf & 2) {
21592
21680
  var child_r5 = i0__namespace.ɵɵnextContext(2).$implicit;
21593
21681
  i0__namespace.ɵɵproperty("attachments", child_r5.attachments);
21594
21682
  }
21595
21683
  }
21596
- function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_Template(rf, ctx) {
21684
+ function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_Template(rf, ctx) {
21597
21685
  if (rf & 1) {
21598
21686
  i0__namespace.ɵɵelementContainerStart(0);
21599
- i0__namespace.ɵɵelementStart(1, "table", 2);
21687
+ i0__namespace.ɵɵelementStart(1, "table", 1);
21600
21688
  i0__namespace.ɵɵpipe(2, "rpxTranslate");
21601
- i0__namespace.ɵɵelementStart(3, "caption", 3);
21689
+ i0__namespace.ɵɵelementStart(3, "caption", 2);
21602
21690
  i0__namespace.ɵɵelementStart(4, "div");
21603
21691
  i0__namespace.ɵɵtext(5);
21604
21692
  i0__namespace.ɵɵpipe(6, "rpxTranslate");
21605
21693
  i0__namespace.ɵɵelementEnd();
21606
21694
  i0__namespace.ɵɵelementEnd();
21607
- i0__namespace.ɵɵelementStart(7, "tbody", 4);
21608
- i0__namespace.ɵɵelementStart(8, "tr", 5);
21609
- i0__namespace.ɵɵelementStart(9, "th", 6);
21695
+ i0__namespace.ɵɵelementStart(7, "tbody", 3);
21696
+ i0__namespace.ɵɵelementStart(8, "tr", 4);
21697
+ i0__namespace.ɵɵelementStart(9, "th", 5);
21610
21698
  i0__namespace.ɵɵtext(10);
21611
21699
  i0__namespace.ɵɵpipe(11, "rpxTranslate");
21612
21700
  i0__namespace.ɵɵelementEnd();
21613
- i0__namespace.ɵɵelementStart(12, "td", 7);
21701
+ i0__namespace.ɵɵelementStart(12, "td", 6);
21614
21702
  i0__namespace.ɵɵtext(13);
21615
21703
  i0__namespace.ɵɵpipe(14, "date");
21616
21704
  i0__namespace.ɵɵelementEnd();
21617
21705
  i0__namespace.ɵɵelementEnd();
21618
- i0__namespace.ɵɵtemplate(15, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_tr_15_Template, 6, 4, "tr", 15);
21619
- i0__namespace.ɵɵelementStart(16, "tr", 5);
21620
- i0__namespace.ɵɵelementStart(17, "th", 6);
21706
+ i0__namespace.ɵɵtemplate(15, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_tr_15_Template, 6, 4, "tr", 14);
21707
+ i0__namespace.ɵɵelementStart(16, "tr", 4);
21708
+ i0__namespace.ɵɵelementStart(17, "th", 5);
21621
21709
  i0__namespace.ɵɵtext(18);
21622
21710
  i0__namespace.ɵɵpipe(19, "rpxTranslate");
21623
21711
  i0__namespace.ɵɵelementEnd();
21624
- i0__namespace.ɵɵelementStart(20, "td", 7);
21712
+ i0__namespace.ɵɵelementStart(20, "td", 6);
21625
21713
  i0__namespace.ɵɵtext(21);
21626
21714
  i0__namespace.ɵɵelementEnd();
21627
21715
  i0__namespace.ɵɵelementEnd();
21628
- i0__namespace.ɵɵelementStart(22, "tr", 5);
21629
- i0__namespace.ɵɵelementStart(23, "th", 6);
21716
+ i0__namespace.ɵɵelementStart(22, "tr", 4);
21717
+ i0__namespace.ɵɵelementStart(23, "th", 5);
21630
21718
  i0__namespace.ɵɵtext(24);
21631
21719
  i0__namespace.ɵɵpipe(25, "rpxTranslate");
21632
21720
  i0__namespace.ɵɵelementEnd();
21633
- i0__namespace.ɵɵelementStart(26, "td", 7);
21634
- i0__namespace.ɵɵtemplate(27, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template, 1, 1, "ccd-query-attachments-read", 9);
21721
+ i0__namespace.ɵɵelementStart(26, "td", 6);
21722
+ i0__namespace.ɵɵtemplate(27, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template, 1, 1, "ccd-query-attachments-read", 8);
21635
21723
  i0__namespace.ɵɵelementEnd();
21636
21724
  i0__namespace.ɵɵelementEnd();
21637
21725
  i0__namespace.ɵɵelementEnd();
@@ -21661,42 +21749,42 @@
21661
21749
  i0__namespace.ɵɵproperty("ngIf", child_r5.attachments);
21662
21750
  }
21663
21751
  }
21664
- function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_Template(rf, ctx) {
21752
+ function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_template_2_Template(rf, ctx) {
21665
21753
  if (rf & 1) {
21666
- i0__namespace.ɵɵelementStart(0, "table", 2);
21754
+ i0__namespace.ɵɵelementStart(0, "table", 1);
21667
21755
  i0__namespace.ɵɵpipe(1, "rpxTranslate");
21668
- i0__namespace.ɵɵelementStart(2, "caption", 3);
21756
+ i0__namespace.ɵɵelementStart(2, "caption", 2);
21669
21757
  i0__namespace.ɵɵelementStart(3, "div");
21670
21758
  i0__namespace.ɵɵtext(4);
21671
21759
  i0__namespace.ɵɵpipe(5, "rpxTranslate");
21672
21760
  i0__namespace.ɵɵelementEnd();
21673
21761
  i0__namespace.ɵɵelementEnd();
21674
- i0__namespace.ɵɵelementStart(6, "tbody", 4);
21675
- i0__namespace.ɵɵelementStart(7, "tr", 5);
21676
- i0__namespace.ɵɵelementStart(8, "th", 6);
21762
+ i0__namespace.ɵɵelementStart(6, "tbody", 3);
21763
+ i0__namespace.ɵɵelementStart(7, "tr", 4);
21764
+ i0__namespace.ɵɵelementStart(8, "th", 5);
21677
21765
  i0__namespace.ɵɵtext(9);
21678
21766
  i0__namespace.ɵɵpipe(10, "rpxTranslate");
21679
21767
  i0__namespace.ɵɵelementEnd();
21680
- i0__namespace.ɵɵelementStart(11, "td", 7);
21768
+ i0__namespace.ɵɵelementStart(11, "td", 6);
21681
21769
  i0__namespace.ɵɵtext(12);
21682
21770
  i0__namespace.ɵɵpipe(13, "date");
21683
21771
  i0__namespace.ɵɵelementEnd();
21684
21772
  i0__namespace.ɵɵelementEnd();
21685
- i0__namespace.ɵɵelementStart(14, "tr", 5);
21686
- i0__namespace.ɵɵelementStart(15, "th", 6);
21773
+ i0__namespace.ɵɵelementStart(14, "tr", 4);
21774
+ i0__namespace.ɵɵelementStart(15, "th", 5);
21687
21775
  i0__namespace.ɵɵtext(16);
21688
21776
  i0__namespace.ɵɵpipe(17, "rpxTranslate");
21689
21777
  i0__namespace.ɵɵelementEnd();
21690
- i0__namespace.ɵɵelementStart(18, "td", 7);
21778
+ i0__namespace.ɵɵelementStart(18, "td", 6);
21691
21779
  i0__namespace.ɵɵtext(19);
21692
21780
  i0__namespace.ɵɵelementEnd();
21693
21781
  i0__namespace.ɵɵelementEnd();
21694
- i0__namespace.ɵɵelementStart(20, "tr", 5);
21695
- i0__namespace.ɵɵelementStart(21, "th", 6);
21782
+ i0__namespace.ɵɵelementStart(20, "tr", 4);
21783
+ i0__namespace.ɵɵelementStart(21, "th", 5);
21696
21784
  i0__namespace.ɵɵtext(22);
21697
21785
  i0__namespace.ɵɵpipe(23, "rpxTranslate");
21698
21786
  i0__namespace.ɵɵelementEnd();
21699
- i0__namespace.ɵɵelementStart(24, "td", 7);
21787
+ i0__namespace.ɵɵelementStart(24, "td", 6);
21700
21788
  i0__namespace.ɵɵtext(25);
21701
21789
  i0__namespace.ɵɵelementEnd();
21702
21790
  i0__namespace.ɵɵelementEnd();
@@ -21722,11 +21810,11 @@
21722
21810
  i0__namespace.ɵɵtextInterpolate(child_r5.body);
21723
21811
  }
21724
21812
  }
21725
- function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_Template(rf, ctx) {
21813
+ function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_Template(rf, ctx) {
21726
21814
  if (rf & 1) {
21727
21815
  i0__namespace.ɵɵelementContainerStart(0);
21728
- i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_Template, 28, 22, "ng-container", 13);
21729
- i0__namespace.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_Template, 26, 21, "ng-template", null, 14, i0__namespace.ɵɵtemplateRefExtractor);
21816
+ i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_Template, 28, 22, "ng-container", 12);
21817
+ i0__namespace.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_template_2_Template, 26, 21, "ng-template", null, 13, i0__namespace.ɵɵtemplateRefExtractor);
21730
21818
  i0__namespace.ɵɵelementContainerEnd();
21731
21819
  }
21732
21820
  if (rf & 2) {
@@ -21736,10 +21824,10 @@
21736
21824
  i0__namespace.ɵɵproperty("ngIf", i_r6 % 2 === 0)("ngIfElse", _r8);
21737
21825
  }
21738
21826
  }
21739
- function QueryDetailsComponent_ng_container_0_ng_container_52_Template(rf, ctx) {
21827
+ function QueryDetailsComponent_ng_container_0_ng_container_48_Template(rf, ctx) {
21740
21828
  if (rf & 1) {
21741
21829
  i0__namespace.ɵɵelementContainerStart(0);
21742
- i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_Template, 4, 2, "ng-container", 12);
21830
+ i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_Template, 4, 2, "ng-container", 11);
21743
21831
  i0__namespace.ɵɵelementContainerEnd();
21744
21832
  }
21745
21833
  if (rf & 2) {
@@ -21750,124 +21838,114 @@
21750
21838
  }
21751
21839
  function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
21752
21840
  if (rf & 1) {
21753
- var _r17_1 = i0__namespace.ɵɵgetCurrentView();
21754
21841
  i0__namespace.ɵɵelementContainerStart(0);
21755
- i0__namespace.ɵɵelementStart(1, "p");
21756
- i0__namespace.ɵɵelementStart(2, "a", 1);
21757
- i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onBack(); });
21758
- i0__namespace.ɵɵtext(3);
21759
- i0__namespace.ɵɵpipe(4, "rpxTranslate");
21760
- i0__namespace.ɵɵelementEnd();
21761
- i0__namespace.ɵɵelementEnd();
21842
+ i0__namespace.ɵɵelementStart(1, "div");
21843
+ i0__namespace.ɵɵelementStart(2, "table", 1);
21844
+ i0__namespace.ɵɵpipe(3, "rpxTranslate");
21845
+ i0__namespace.ɵɵelementStart(4, "caption", 2);
21762
21846
  i0__namespace.ɵɵelementStart(5, "div");
21763
- i0__namespace.ɵɵelementStart(6, "table", 2);
21847
+ i0__namespace.ɵɵtext(6);
21764
21848
  i0__namespace.ɵɵpipe(7, "rpxTranslate");
21765
- i0__namespace.ɵɵelementStart(8, "caption", 3);
21766
- i0__namespace.ɵɵelementStart(9, "div");
21767
- i0__namespace.ɵɵtext(10);
21768
- i0__namespace.ɵɵpipe(11, "rpxTranslate");
21769
21849
  i0__namespace.ɵɵelementEnd();
21770
21850
  i0__namespace.ɵɵelementEnd();
21771
- i0__namespace.ɵɵelementStart(12, "tbody", 4);
21772
- i0__namespace.ɵɵelementStart(13, "tr", 5);
21773
- i0__namespace.ɵɵelementStart(14, "th", 6);
21774
- i0__namespace.ɵɵtext(15);
21775
- i0__namespace.ɵɵpipe(16, "rpxTranslate");
21851
+ i0__namespace.ɵɵelementStart(8, "tbody", 3);
21852
+ i0__namespace.ɵɵelementStart(9, "tr", 4);
21853
+ i0__namespace.ɵɵelementStart(10, "th", 5);
21854
+ i0__namespace.ɵɵtext(11);
21855
+ i0__namespace.ɵɵpipe(12, "rpxTranslate");
21776
21856
  i0__namespace.ɵɵelementEnd();
21777
- i0__namespace.ɵɵelementStart(17, "td", 7);
21778
- i0__namespace.ɵɵtext(18);
21857
+ i0__namespace.ɵɵelementStart(13, "td", 6);
21858
+ i0__namespace.ɵɵtext(14);
21779
21859
  i0__namespace.ɵɵelementEnd();
21780
21860
  i0__namespace.ɵɵelementEnd();
21781
- i0__namespace.ɵɵelementStart(19, "tr", 5);
21782
- i0__namespace.ɵɵelementStart(20, "th", 6);
21783
- i0__namespace.ɵɵtext(21);
21784
- i0__namespace.ɵɵpipe(22, "rpxTranslate");
21861
+ i0__namespace.ɵɵelementStart(15, "tr", 4);
21862
+ i0__namespace.ɵɵelementStart(16, "th", 5);
21863
+ i0__namespace.ɵɵtext(17);
21864
+ i0__namespace.ɵɵpipe(18, "rpxTranslate");
21785
21865
  i0__namespace.ɵɵelementEnd();
21786
- i0__namespace.ɵɵelementStart(23, "td", 7);
21787
- i0__namespace.ɵɵtext(24);
21788
- i0__namespace.ɵɵpipe(25, "date");
21866
+ i0__namespace.ɵɵelementStart(19, "td", 6);
21867
+ i0__namespace.ɵɵtext(20);
21868
+ i0__namespace.ɵɵpipe(21, "date");
21789
21869
  i0__namespace.ɵɵelementEnd();
21790
21870
  i0__namespace.ɵɵelementEnd();
21791
- i0__namespace.ɵɵelementStart(26, "tr", 5);
21792
- i0__namespace.ɵɵelementStart(27, "th", 6);
21793
- i0__namespace.ɵɵtext(28);
21794
- i0__namespace.ɵɵpipe(29, "rpxTranslate");
21871
+ i0__namespace.ɵɵelementStart(22, "tr", 4);
21872
+ i0__namespace.ɵɵelementStart(23, "th", 5);
21873
+ i0__namespace.ɵɵtext(24);
21874
+ i0__namespace.ɵɵpipe(25, "rpxTranslate");
21795
21875
  i0__namespace.ɵɵelementEnd();
21796
- i0__namespace.ɵɵelementStart(30, "td", 7);
21797
- i0__namespace.ɵɵtext(31);
21876
+ i0__namespace.ɵɵelementStart(26, "td", 6);
21877
+ i0__namespace.ɵɵtext(27);
21798
21878
  i0__namespace.ɵɵelementEnd();
21799
21879
  i0__namespace.ɵɵelementEnd();
21800
- i0__namespace.ɵɵelementStart(32, "tr", 5);
21801
- i0__namespace.ɵɵelementStart(33, "th", 6);
21802
- i0__namespace.ɵɵtext(34);
21803
- i0__namespace.ɵɵpipe(35, "rpxTranslate");
21880
+ i0__namespace.ɵɵelementStart(28, "tr", 4);
21881
+ i0__namespace.ɵɵelementStart(29, "th", 5);
21882
+ i0__namespace.ɵɵtext(30);
21883
+ i0__namespace.ɵɵpipe(31, "rpxTranslate");
21804
21884
  i0__namespace.ɵɵelementEnd();
21805
- i0__namespace.ɵɵelementStart(36, "td", 7);
21806
- i0__namespace.ɵɵtext(37);
21885
+ i0__namespace.ɵɵelementStart(32, "td", 6);
21886
+ i0__namespace.ɵɵtext(33);
21807
21887
  i0__namespace.ɵɵelementEnd();
21808
21888
  i0__namespace.ɵɵelementEnd();
21809
- i0__namespace.ɵɵelementStart(38, "tr", 5);
21810
- i0__namespace.ɵɵelementStart(39, "th", 6);
21811
- i0__namespace.ɵɵtext(40);
21812
- i0__namespace.ɵɵpipe(41, "rpxTranslate");
21889
+ i0__namespace.ɵɵelementStart(34, "tr", 4);
21890
+ i0__namespace.ɵɵelementStart(35, "th", 5);
21891
+ i0__namespace.ɵɵtext(36);
21892
+ i0__namespace.ɵɵpipe(37, "rpxTranslate");
21813
21893
  i0__namespace.ɵɵelementEnd();
21814
- i0__namespace.ɵɵelementStart(42, "td", 7);
21815
- i0__namespace.ɵɵtext(43);
21816
- i0__namespace.ɵɵpipe(44, "rpxTranslate");
21894
+ i0__namespace.ɵɵelementStart(38, "td", 6);
21895
+ i0__namespace.ɵɵtext(39);
21896
+ i0__namespace.ɵɵpipe(40, "rpxTranslate");
21817
21897
  i0__namespace.ɵɵelementEnd();
21818
21898
  i0__namespace.ɵɵelementEnd();
21819
- i0__namespace.ɵɵtemplate(45, QueryDetailsComponent_ng_container_0_tr_45_Template, 7, 7, "tr", 8);
21820
- i0__namespace.ɵɵelementStart(46, "tr", 5);
21821
- i0__namespace.ɵɵelementStart(47, "th", 6);
21822
- i0__namespace.ɵɵtext(48);
21823
- i0__namespace.ɵɵpipe(49, "rpxTranslate");
21899
+ i0__namespace.ɵɵtemplate(41, QueryDetailsComponent_ng_container_0_tr_41_Template, 7, 7, "tr", 7);
21900
+ i0__namespace.ɵɵelementStart(42, "tr", 4);
21901
+ i0__namespace.ɵɵelementStart(43, "th", 5);
21902
+ i0__namespace.ɵɵtext(44);
21903
+ i0__namespace.ɵɵpipe(45, "rpxTranslate");
21824
21904
  i0__namespace.ɵɵelementEnd();
21825
- i0__namespace.ɵɵelementStart(50, "td", 7);
21826
- i0__namespace.ɵɵtemplate(51, QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_51_Template, 1, 1, "ccd-query-attachments-read", 9);
21905
+ i0__namespace.ɵɵelementStart(46, "td", 6);
21906
+ i0__namespace.ɵɵtemplate(47, QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_47_Template, 1, 1, "ccd-query-attachments-read", 8);
21827
21907
  i0__namespace.ɵɵelementEnd();
21828
21908
  i0__namespace.ɵɵelementEnd();
21829
21909
  i0__namespace.ɵɵelementEnd();
21830
21910
  i0__namespace.ɵɵelementEnd();
21831
21911
  i0__namespace.ɵɵelementEnd();
21832
- i0__namespace.ɵɵtemplate(52, QueryDetailsComponent_ng_container_0_ng_container_52_Template, 2, 1, "ng-container", 0);
21912
+ i0__namespace.ɵɵtemplate(48, QueryDetailsComponent_ng_container_0_ng_container_48_Template, 2, 1, "ng-container", 0);
21833
21913
  i0__namespace.ɵɵelementContainerEnd();
21834
21914
  }
21835
21915
  if (rf & 2) {
21836
21916
  var ctx_r0 = i0__namespace.ɵɵnextContext();
21837
- i0__namespace.ɵɵadvance(3);
21838
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 21, "Back to query list"));
21839
- i0__namespace.ɵɵadvance(3);
21840
- i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(7, 23, "Details of the query"));
21917
+ i0__namespace.ɵɵadvance(2);
21918
+ i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(3, 20, "Details of the query"));
21841
21919
  i0__namespace.ɵɵadvance(4);
21842
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 25, "Query details"));
21920
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 22, "Query details"));
21843
21921
  i0__namespace.ɵɵadvance(5);
21844
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(16, 27, "Last submitted by"));
21922
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(12, 24, "Last submitted by"));
21845
21923
  i0__namespace.ɵɵadvance(3);
21846
21924
  i0__namespace.ɵɵtextInterpolate(ctx_r0.query.lastSubmittedBy);
21847
21925
  i0__namespace.ɵɵadvance(3);
21848
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(22, 29, "Submission date"));
21926
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 26, "Submission date"));
21849
21927
  i0__namespace.ɵɵadvance(3);
21850
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(25, 31, ctx_r0.query.createdOn, "dd MMM yyyy"));
21928
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(21, 28, ctx_r0.query.createdOn, "dd MMM yyyy"));
21851
21929
  i0__namespace.ɵɵadvance(4);
21852
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(29, 34, "Query subject"));
21930
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 31, "Query subject"));
21853
21931
  i0__namespace.ɵɵadvance(3);
21854
21932
  i0__namespace.ɵɵtextInterpolate(ctx_r0.query.subject);
21855
21933
  i0__namespace.ɵɵadvance(3);
21856
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(35, 36, "Query body"));
21934
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(31, 33, "Query body"));
21857
21935
  i0__namespace.ɵɵadvance(3);
21858
21936
  i0__namespace.ɵɵtextInterpolate(ctx_r0.query.body);
21859
21937
  i0__namespace.ɵɵadvance(2);
21860
21938
  i0__namespace.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.query.isHearingRelated);
21861
21939
  i0__namespace.ɵɵadvance(1);
21862
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 38, "Is the query hearing related?"), " ");
21940
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 35, "Is the query hearing related?"), " ");
21863
21941
  i0__namespace.ɵɵadvance(2);
21864
21942
  i0__namespace.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.query.isHearingRelated);
21865
21943
  i0__namespace.ɵɵadvance(1);
21866
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(44, 40, "Is the query hearing related?", null, ctx_r0.query.isHearingRelated ? "Yes" : "No"), "");
21944
+ i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(40, 37, "Is the query hearing related?", null, ctx_r0.query.isHearingRelated ? "Yes" : "No"), "");
21867
21945
  i0__namespace.ɵɵadvance(2);
21868
21946
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.query.isHearingRelated);
21869
21947
  i0__namespace.ɵɵadvance(3);
21870
- i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(49, 44, "Attachments"));
21948
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(45, 41, "Attachments"));
21871
21949
  i0__namespace.ɵɵadvance(3);
21872
21950
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.query.attachments);
21873
21951
  i0__namespace.ɵɵadvance(1);
@@ -21891,9 +21969,9 @@
21891
21969
  return QueryDetailsComponent;
21892
21970
  }());
21893
21971
  QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
21894
- QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["followUpMessage", ""], ["class", "govuk-table__row", 4, "ngIf"]], template: function QueryDetailsComponent_Template(rf, ctx) {
21972
+ QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["followUpMessage", ""], ["class", "govuk-table__row", 4, "ngIf"]], template: function QueryDetailsComponent_Template(rf, ctx) {
21895
21973
  if (rf & 1) {
21896
- i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 53, 46, "ng-container", 0);
21974
+ i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 49, 43, "ng-container", 0);
21897
21975
  }
21898
21976
  if (rf & 2) {
21899
21977
  i0__namespace.ɵɵproperty("ngIf", ctx.query);
@@ -22840,10 +22918,10 @@
22840
22918
  }
22841
22919
  }
22842
22920
  var _c0$B = function (a2) { return ["/query-management", "query", a2, "4"]; };
22843
- function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template(rf, ctx) {
22921
+ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_6_Template(rf, ctx) {
22844
22922
  if (rf & 1) {
22845
22923
  i0__namespace.ɵɵelementContainerStart(0);
22846
- i0__namespace.ɵɵelementStart(1, "button", 8);
22924
+ i0__namespace.ɵɵelementStart(1, "button", 9);
22847
22925
  i0__namespace.ɵɵtext(2);
22848
22926
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
22849
22927
  i0__namespace.ɵɵelementEnd();
@@ -22857,10 +22935,10 @@
22857
22935
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
22858
22936
  }
22859
22937
  }
22860
- function ReadQueryManagementFieldComponent_ng_template_1_ng_template_3_Template(rf, ctx) {
22938
+ function ReadQueryManagementFieldComponent_ng_template_1_ng_template_7_Template(rf, ctx) {
22861
22939
  if (rf & 1) {
22862
22940
  i0__namespace.ɵɵelementStart(0, "div");
22863
- i0__namespace.ɵɵelementStart(1, "p", 9);
22941
+ i0__namespace.ɵɵelementStart(1, "p", 10);
22864
22942
  i0__namespace.ɵɵtext(2);
22865
22943
  i0__namespace.ɵɵpipe(3, "rpxTranslate");
22866
22944
  i0__namespace.ɵɵelementEnd();
@@ -22881,16 +22959,24 @@
22881
22959
  if (rf & 1) {
22882
22960
  var _r13_1 = i0__namespace.ɵɵgetCurrentView();
22883
22961
  i0__namespace.ɵɵelement(0, "br");
22884
- i0__namespace.ɵɵelementStart(1, "ccd-query-details", 6);
22885
- i0__namespace.ɵɵlistener("backClicked", function ReadQueryManagementFieldComponent_ng_template_1_Template_ccd_query_details_backClicked_1_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.showQueryList = true; });
22962
+ i0__namespace.ɵɵelementStart(1, "p");
22963
+ i0__namespace.ɵɵelementStart(2, "a", 6);
22964
+ i0__namespace.ɵɵtext(3);
22965
+ i0__namespace.ɵɵpipe(4, "rpxTranslate");
22966
+ i0__namespace.ɵɵelementEnd();
22967
+ i0__namespace.ɵɵelementEnd();
22968
+ i0__namespace.ɵɵelementStart(5, "ccd-query-details", 7);
22969
+ i0__namespace.ɵɵlistener("backClicked", function ReadQueryManagementFieldComponent_ng_template_1_Template_ccd_query_details_backClicked_5_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.showQueryList = true; });
22886
22970
  i0__namespace.ɵɵelementEnd();
22887
- i0__namespace.ɵɵtemplate(2, ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template, 4, 6, "ng-container", 0);
22888
- i0__namespace.ɵɵtemplate(3, ReadQueryManagementFieldComponent_ng_template_1_ng_template_3_Template, 7, 6, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
22971
+ i0__namespace.ɵɵtemplate(6, ReadQueryManagementFieldComponent_ng_template_1_ng_container_6_Template, 4, 6, "ng-container", 0);
22972
+ i0__namespace.ɵɵtemplate(7, ReadQueryManagementFieldComponent_ng_template_1_ng_template_7_Template, 7, 6, "ng-template", null, 8, i0__namespace.ɵɵtemplateRefExtractor);
22889
22973
  }
22890
22974
  if (rf & 2) {
22891
- var _r10 = i0__namespace.ɵɵreference(4);
22975
+ var _r10 = i0__namespace.ɵɵreference(8);
22892
22976
  var ctx_r2 = i0__namespace.ɵɵnextContext();
22893
- i0__namespace.ɵɵadvance(1);
22977
+ i0__namespace.ɵɵadvance(3);
22978
+ i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 5, "Back to queries"));
22979
+ i0__namespace.ɵɵadvance(2);
22894
22980
  i0__namespace.ɵɵproperty("query", ctx_r2.query)("caseId", ctx_r2.caseId);
22895
22981
  i0__namespace.ɵɵadvance(1);
22896
22982
  i0__namespace.ɵɵproperty("ngIf", (ctx_r2.query == null ? null : ctx_r2.query.children == null ? null : ctx_r2.query.children.length) > 0)("ngIfElse", _r10);
@@ -22926,10 +23012,10 @@
22926
23012
  return ReadQueryManagementFieldComponent;
22927
23013
  }(AbstractFieldReadComponent));
22928
23014
  ReadQueryManagementFieldComponent.ɵfac = function ReadQueryManagementFieldComponent_Factory(t) { return new (t || ReadQueryManagementFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute)); };
22929
- ReadQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf", "ngIfElse"], ["singleQueryDetails", ""], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "caseQueriesCollection", "selectedQuery"], [3, "query", "caseId", "backClicked"], ["queryIsInReview", ""], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) {
23015
+ ReadQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf", "ngIfElse"], ["singleQueryDetails", ""], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "caseQueriesCollection", "selectedQuery"], ["href", "javascript:void(0)", 1, "govuk-link"], [3, "query", "caseId", "backClicked"], ["queryIsInReview", ""], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) {
22930
23016
  if (rf & 1) {
22931
23017
  i0__namespace.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
22932
- i0__namespace.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 5, 4, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
23018
+ i0__namespace.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 9, 7, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
22933
23019
  }
22934
23020
  if (rf & 2) {
22935
23021
  var _r1 = i0__namespace.ɵɵreference(2);