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