@hmcts/ccd-case-ui-toolkit 7.0.59 → 7.0.61-exui-2086-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/app.config.mjs +1 -1
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +12 -5
- package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +8 -5
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +28 -34
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +3 -4
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +8 -7
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +4 -6
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +15 -21
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +18 -25
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +59 -64
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +144 -162
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +1 -0
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +3 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +1 -0
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8948,7 +8948,7 @@ class WorkAllocationService {
|
|
|
8948
8948
|
isWAEnabled(jurisdiction, caseType) {
|
|
8949
8949
|
this.features = this.appConfig.getWAServiceConfig();
|
|
8950
8950
|
const ftstr = JSON.stringify(this.features);
|
|
8951
|
-
|
|
8951
|
+
this.appConfig.logMessage(`isWAEnabled: wa-service-config returning ${ftstr.length > 0}`);
|
|
8952
8952
|
let enabled = false;
|
|
8953
8953
|
if (!jurisdiction || !caseType) {
|
|
8954
8954
|
const caseInfo = JSON.parse(this.sessionStorageService.getItem('caseInfo'));
|
|
@@ -8956,7 +8956,7 @@ class WorkAllocationService {
|
|
|
8956
8956
|
caseType = caseInfo.caseType;
|
|
8957
8957
|
}
|
|
8958
8958
|
if (!this.features || !this.features.configurations) {
|
|
8959
|
-
|
|
8959
|
+
this.appConfig.logMessage('isWAEnabled: no features');
|
|
8960
8960
|
return false;
|
|
8961
8961
|
}
|
|
8962
8962
|
this.features.configurations.forEach(serviceConfig => {
|
|
@@ -8964,7 +8964,7 @@ class WorkAllocationService {
|
|
|
8964
8964
|
enabled = true;
|
|
8965
8965
|
}
|
|
8966
8966
|
});
|
|
8967
|
-
|
|
8967
|
+
this.appConfig.logMessage(`isWAEnabled: returning ${enabled}`);
|
|
8968
8968
|
return enabled;
|
|
8969
8969
|
}
|
|
8970
8970
|
/**
|
|
@@ -8992,7 +8992,7 @@ class WorkAllocationService {
|
|
|
8992
8992
|
if (!this.isWAEnabled()) {
|
|
8993
8993
|
return of(null);
|
|
8994
8994
|
}
|
|
8995
|
-
|
|
8995
|
+
this.appConfig.logMessage(`completeTask: completing ${taskId}`);
|
|
8996
8996
|
const url = `${this.appConfig.getWorkAllocationApiUrl()}/task/${taskId}/complete`;
|
|
8997
8997
|
return this.http
|
|
8998
8998
|
.post(url, { actionByEvent: true, eventName: eventName })
|
|
@@ -9013,6 +9013,7 @@ class WorkAllocationService {
|
|
|
9013
9013
|
if (!this.isWAEnabled()) {
|
|
9014
9014
|
return of(null);
|
|
9015
9015
|
}
|
|
9016
|
+
this.appConfig.logMessage(`assignAndCompleteTask: completing ${taskId}`);
|
|
9016
9017
|
const url = `${this.appConfig.getWorkAllocationApiUrl()}/task/${taskId}/complete`;
|
|
9017
9018
|
return this.http
|
|
9018
9019
|
.post(url, {
|
|
@@ -9100,6 +9101,7 @@ class WorkAllocationService {
|
|
|
9100
9101
|
tasks: []
|
|
9101
9102
|
};
|
|
9102
9103
|
if (!this.isWAEnabled()) {
|
|
9104
|
+
this.appConfig.logMessage(`isWAEnabled false for ${caseId} in event ${eventId}`);
|
|
9103
9105
|
return of(defaultPayload);
|
|
9104
9106
|
}
|
|
9105
9107
|
return this.http.get(`${this.appConfig.getWorkAllocationApiUrl()}/case/tasks/${caseId}/event/${eventId}/caseType/${caseType}/jurisdiction/${jurisdiction}`);
|
|
@@ -9111,6 +9113,7 @@ class WorkAllocationService {
|
|
|
9111
9113
|
if (!this.isWAEnabled()) {
|
|
9112
9114
|
return of({ task: null });
|
|
9113
9115
|
}
|
|
9116
|
+
this.appConfig.logMessage(`getTask: ${taskId}`);
|
|
9114
9117
|
return this.http.get(`${this.appConfig.getWorkAllocationApiUrl()}/task/${taskId}`);
|
|
9115
9118
|
}
|
|
9116
9119
|
static ɵfac = function WorkAllocationService_Factory(t) { return new (t || WorkAllocationService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService), i0.ɵɵinject(AlertService), i0.ɵɵinject(SessionStorageService)); };
|
|
@@ -9173,6 +9176,7 @@ class CaseEditComponent {
|
|
|
9173
9176
|
validPageListCaseFieldsService;
|
|
9174
9177
|
workAllocationService;
|
|
9175
9178
|
alertService;
|
|
9179
|
+
abstractConfig;
|
|
9176
9180
|
static ORIGIN_QUERY_PARAM = 'origin';
|
|
9177
9181
|
static ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
|
|
9178
9182
|
eventTrigger;
|
|
@@ -9198,7 +9202,7 @@ class CaseEditComponent {
|
|
|
9198
9202
|
error;
|
|
9199
9203
|
callbackErrorsSubject = new Subject();
|
|
9200
9204
|
validPageList = [];
|
|
9201
|
-
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService, validPageListCaseFieldsService, workAllocationService, alertService) {
|
|
9205
|
+
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService, validPageListCaseFieldsService, workAllocationService, alertService, abstractConfig) {
|
|
9202
9206
|
this.fb = fb;
|
|
9203
9207
|
this.caseNotifier = caseNotifier;
|
|
9204
9208
|
this.router = router;
|
|
@@ -9215,6 +9219,7 @@ class CaseEditComponent {
|
|
|
9215
9219
|
this.validPageListCaseFieldsService = validPageListCaseFieldsService;
|
|
9216
9220
|
this.workAllocationService = workAllocationService;
|
|
9217
9221
|
this.alertService = alertService;
|
|
9222
|
+
this.abstractConfig = abstractConfig;
|
|
9218
9223
|
}
|
|
9219
9224
|
ngOnInit() {
|
|
9220
9225
|
this.wizard = this.wizardFactory.create(this.eventTrigger);
|
|
@@ -9338,6 +9343,7 @@ class CaseEditComponent {
|
|
|
9338
9343
|
const eventId = this.getEventId(form);
|
|
9339
9344
|
const caseId = this.getCaseId(caseDetails);
|
|
9340
9345
|
if (this.taskExistsForThisEventAndCase(taskInSessionStorage, taskEventInSessionStorage, eventId, caseId)) {
|
|
9346
|
+
this.abstractConfig.logMessage(`task exist for this event for caseId and eventId as ${caseId} ${eventId}`);
|
|
9341
9347
|
// Show event completion component to perform event completion checks
|
|
9342
9348
|
this.eventCompletionParams = ({
|
|
9343
9349
|
caseId,
|
|
@@ -9545,10 +9551,12 @@ class CaseEditComponent {
|
|
|
9545
9551
|
const assignNeeded = this.sessionStorageService.getItem('assignNeeded') === 'true';
|
|
9546
9552
|
if (taskStr && assignNeeded) {
|
|
9547
9553
|
const task = JSON.parse(taskStr);
|
|
9554
|
+
this.abstractConfig.logMessage(`postCompleteTaskIfRequired with assignNeeded: taskId ${task.id} and event name ${this.eventTrigger.name}`);
|
|
9548
9555
|
return this.workAllocationService.assignAndCompleteTask(task.id, this.eventTrigger.name);
|
|
9549
9556
|
}
|
|
9550
9557
|
else if (taskStr) {
|
|
9551
9558
|
const task = JSON.parse(taskStr);
|
|
9559
|
+
this.abstractConfig.logMessage(`postCompleteTaskIfRequired: taskId ${task.id} and event name ${this.eventTrigger.name}`);
|
|
9552
9560
|
return this.workAllocationService.completeTask(task.id, this.eventTrigger.name);
|
|
9553
9561
|
}
|
|
9554
9562
|
return of(true);
|
|
@@ -9608,7 +9616,7 @@ class CaseEditComponent {
|
|
|
9608
9616
|
hasCallbackFailed(response) {
|
|
9609
9617
|
return response['callback_response_status'] !== 'CALLBACK_COMPLETED';
|
|
9610
9618
|
}
|
|
9611
|
-
static ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
9619
|
+
static ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
9612
9620
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9613
9621
|
i0.ɵɵelement(0, "router-outlet");
|
|
9614
9622
|
} }, dependencies: [i1$1.RouterOutlet], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
@@ -9616,7 +9624,7 @@ class CaseEditComponent {
|
|
|
9616
9624
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditComponent, [{
|
|
9617
9625
|
type: Component,
|
|
9618
9626
|
args: [{ selector: 'ccd-case-edit', providers: [GreyBarService], template: "<router-outlet></router-outlet>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
|
|
9619
|
-
}], () => [{ type: i4.FormBuilder }, { type: CaseNotifier }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: WorkAllocationService }, { type: AlertService }], { eventTrigger: [{
|
|
9627
|
+
}], () => [{ type: i4.FormBuilder }, { type: CaseNotifier }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: WorkAllocationService }, { type: AlertService }, { type: AbstractAppConfig }], { eventTrigger: [{
|
|
9620
9628
|
type: Input
|
|
9621
9629
|
}], submit: [{
|
|
9622
9630
|
type: Input
|
|
@@ -9631,7 +9639,7 @@ class CaseEditComponent {
|
|
|
9631
9639
|
}], submitted: [{
|
|
9632
9640
|
type: Output
|
|
9633
9641
|
}] }); })();
|
|
9634
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditComponent, { className: "CaseEditComponent", filePath: "lib/shared/components/case-editor/case-edit/case-edit.component.ts", lineNumber:
|
|
9642
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditComponent, { className: "CaseEditComponent", filePath: "lib/shared/components/case-editor/case-edit/case-edit.component.ts", lineNumber: 34 }); })();
|
|
9635
9643
|
|
|
9636
9644
|
function CaseEditConfirmComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
9637
9645
|
i0.ɵɵelement(0, "div");
|
|
@@ -11909,7 +11917,7 @@ function CaseFileViewFieldComponent_div_2_ng_container_8_Template(rf, ctx) { if
|
|
|
11909
11917
|
} if (rf & 2) {
|
|
11910
11918
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11911
11919
|
i0.ɵɵadvance();
|
|
11912
|
-
i0.ɵɵproperty("url", ctx_r1.currentDocument.document_binary_url)("downloadFileName", ctx_r1.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r1.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh")("enableICP", ctx_r1.isIcpEnabled());
|
|
11920
|
+
i0.ɵɵproperty("url", ctx_r1.currentDocument.document_binary_url)("downloadFileName", ctx_r1.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r1.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh")("caseId", ctx_r1.caseId)("enableICP", ctx_r1.isIcpEnabled());
|
|
11913
11921
|
} }
|
|
11914
11922
|
function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
11915
11923
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
@@ -11921,7 +11929,7 @@ function CaseFileViewFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
11921
11929
|
i0.ɵɵelementEnd()();
|
|
11922
11930
|
i0.ɵɵelement(6, "div", 16);
|
|
11923
11931
|
i0.ɵɵelementStart(7, "div", 17);
|
|
11924
|
-
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 2,
|
|
11932
|
+
i0.ɵɵtemplate(8, CaseFileViewFieldComponent_div_2_ng_container_8_Template, 2, 9, "ng-container", 0);
|
|
11925
11933
|
i0.ɵɵelementEnd()()();
|
|
11926
11934
|
} if (rf & 2) {
|
|
11927
11935
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -11950,6 +11958,7 @@ class CaseFileViewFieldComponent {
|
|
|
11950
11958
|
caseField;
|
|
11951
11959
|
icp_jurisdictions = [];
|
|
11952
11960
|
icpEnabled = false;
|
|
11961
|
+
caseId;
|
|
11953
11962
|
constructor(elementRef, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService, caseNotifier, abstractConfig) {
|
|
11954
11963
|
this.elementRef = elementRef;
|
|
11955
11964
|
this.route = route;
|
|
@@ -11961,8 +11970,8 @@ class CaseFileViewFieldComponent {
|
|
|
11961
11970
|
this.abstractConfig = abstractConfig;
|
|
11962
11971
|
}
|
|
11963
11972
|
ngOnInit() {
|
|
11964
|
-
|
|
11965
|
-
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(
|
|
11973
|
+
this.caseId = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
|
|
11974
|
+
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(this.caseId);
|
|
11966
11975
|
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
|
|
11967
11976
|
next: data => {
|
|
11968
11977
|
this.caseVersion = data.case_version;
|
|
@@ -12039,7 +12048,7 @@ class CaseFileViewFieldComponent {
|
|
|
12039
12048
|
return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
|
|
12040
12049
|
}
|
|
12041
12050
|
static ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
12042
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0);"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12051
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0);"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "caseId", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12043
12052
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
|
|
12044
12053
|
} if (rf & 2) {
|
|
12045
12054
|
i0.ɵɵproperty("ngIf", ctx.errorMessages == null ? null : ctx.errorMessages.length);
|
|
@@ -12051,7 +12060,7 @@ class CaseFileViewFieldComponent {
|
|
|
12051
12060
|
}
|
|
12052
12061
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
12053
12062
|
type: Component,
|
|
12054
|
-
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\" data-module=\"govuk-error-summary\">\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div *ngIf=\"getCategoriesAndDocumentsError\" class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder\n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\"\n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\"\n ></ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [enableICP]=\"isIcpEnabled()\">\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: ["#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
12063
|
+
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\" data-module=\"govuk-error-summary\">\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div *ngIf=\"getCategoriesAndDocumentsError\" class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder\n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\"\n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\"\n ></ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [caseId]=\"caseId\"\n [enableICP]=\"isIcpEnabled()\">\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: ["#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
12055
12064
|
}], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
12056
12065
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 17 }); })();
|
|
12057
12066
|
|
|
@@ -13211,8 +13220,6 @@ function ReadCollectionFieldComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
13211
13220
|
i0.ɵɵelementEnd();
|
|
13212
13221
|
} if (rf & 2) {
|
|
13213
13222
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
13214
|
-
i0.ɵɵpropertyInterpolate("id", ctx_r0.caseField.id);
|
|
13215
|
-
i0.ɵɵattribute("aria-describedby", ctx_r0.caseField.id);
|
|
13216
13223
|
i0.ɵɵadvance();
|
|
13217
13224
|
i0.ɵɵproperty("ngSwitch", ctx_r0.isDisplayContextParameterAvailable);
|
|
13218
13225
|
i0.ɵɵadvance();
|
|
@@ -13235,15 +13242,15 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
13235
13242
|
return prefix;
|
|
13236
13243
|
}
|
|
13237
13244
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; })();
|
|
13238
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table",
|
|
13239
|
-
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4,
|
|
13245
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13246
|
+
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
13240
13247
|
} if (rf & 2) {
|
|
13241
13248
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
13242
13249
|
} }, styles: [".collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child > td[_ngcontent-%COMP%]{padding-top:0}.collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.collection-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.error-spacing[_ngcontent-%COMP%]{margin-top:10px}.collection-title[_ngcontent-%COMP%]{height:51px}.float-left[_ngcontent-%COMP%]{float:left;padding-top:8px}.float-right[_ngcontent-%COMP%]{float:right}.complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}.collection-indicator[_ngcontent-%COMP%]{border-left:solid 5px #b1b4b6}"] });
|
|
13243
13250
|
}
|
|
13244
13251
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
|
|
13245
13252
|
type: Component,
|
|
13246
|
-
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\"
|
|
13253
|
+
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" aria-describedby=\"collection table\">\n <ng-container [ngSwitch]=\"isDisplayContextParameterAvailable\">\n <tbody *ngSwitchCase=\"true\">\n <tr>\n <th id=\"hiddenHeader\" style=\"display: none;\"></th>\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: caseField.label,\n label: caseField.label,\n field_type: caseField.field_type.collection_field_type,\n display_context_parameter: caseField.display_context_parameter,\n value: caseField.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n <tbody *ngSwitchCase=\"false\">\n <tr *ngFor=\"let item of caseField.value; let i = index\">\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: i,\n label: caseField.label + ' ' + (i + 1),\n field_type: caseField.field_type.collection_field_type,\n value: item.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\"\n [idPrefix]=\"buildIdPrefix(i)\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n </ng-container>\n</table>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
13247
13254
|
}], null, null); })();
|
|
13248
13255
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCollectionFieldComponent, { className: "ReadCollectionFieldComponent", filePath: "lib/shared/components/palette/collection/read-collection-field.component.ts", lineNumber: 10 }); })();
|
|
13249
13256
|
|
|
@@ -18189,50 +18196,43 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
18189
18196
|
}], null, null); })();
|
|
18190
18197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteMoneyGbpFieldComponent, { className: "WriteMoneyGbpFieldComponent", filePath: "lib/shared/components/palette/money-gbp/write-money-gbp-field.component.ts", lineNumber: 9 }); })();
|
|
18191
18198
|
|
|
18192
|
-
function
|
|
18193
|
-
i0.ɵɵelementStart(0, "tr")
|
|
18194
|
-
i0.ɵɵ
|
|
18195
|
-
i0.ɵɵ
|
|
18196
|
-
i0.ɵɵ
|
|
18197
|
-
i0.ɵɵ
|
|
18198
|
-
i0.ɵɵpipe(6, "
|
|
18199
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
18199
|
+
function ReadMultiSelectListFieldComponent_table_0_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
18200
|
+
i0.ɵɵelementStart(0, "tr");
|
|
18201
|
+
i0.ɵɵelement(1, "th", 3);
|
|
18202
|
+
i0.ɵɵelementStart(2, "td")(3, "span", 4);
|
|
18203
|
+
i0.ɵɵtext(4);
|
|
18204
|
+
i0.ɵɵpipe(5, "ccdFixedList");
|
|
18205
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
18200
18206
|
i0.ɵɵelementEnd()()();
|
|
18201
18207
|
} if (rf & 2) {
|
|
18202
18208
|
const value_r1 = ctx.$implicit;
|
|
18203
18209
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18204
|
-
i0.ɵɵadvance(
|
|
18205
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
18210
|
+
i0.ɵɵadvance(4);
|
|
18211
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, i0.ɵɵpipeBind2(5, 1, value_r1, ctx_r1.caseField.field_type.fixed_list_items)));
|
|
18206
18212
|
} }
|
|
18207
|
-
function
|
|
18208
|
-
i0.ɵɵelementStart(0, "table",
|
|
18213
|
+
function ReadMultiSelectListFieldComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
18214
|
+
i0.ɵɵelementStart(0, "table", 1);
|
|
18209
18215
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
18210
18216
|
i0.ɵɵelementStart(2, "tbody");
|
|
18211
|
-
i0.ɵɵtemplate(3,
|
|
18217
|
+
i0.ɵɵtemplate(3, ReadMultiSelectListFieldComponent_table_0_tr_3_Template, 7, 6, "tr", 2);
|
|
18212
18218
|
i0.ɵɵelementEnd()();
|
|
18213
18219
|
} if (rf & 2) {
|
|
18214
18220
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18215
|
-
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi
|
|
18221
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi selection table"));
|
|
18216
18222
|
i0.ɵɵadvance(3);
|
|
18217
18223
|
i0.ɵɵproperty("ngForOf", ctx_r1.caseField.value);
|
|
18218
18224
|
} }
|
|
18219
18225
|
class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
18220
18226
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMultiSelectListFieldComponent_BaseFactory; return function ReadMultiSelectListFieldComponent_Factory(t) { return (ɵReadMultiSelectListFieldComponent_BaseFactory || (ɵReadMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadMultiSelectListFieldComponent)))(t || ReadMultiSelectListFieldComponent); }; })();
|
|
18221
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
18222
|
-
i0.ɵɵ
|
|
18223
|
-
i0.ɵɵtext(1);
|
|
18224
|
-
i0.ɵɵelementEnd();
|
|
18225
|
-
i0.ɵɵtemplate(2, ReadMultiSelectListFieldComponent_table_2_Template, 4, 4, "table", 1);
|
|
18227
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "multi-select-list-field-table", 4, "ngIf"], [1, "multi-select-list-field-table"], [4, "ngFor", "ngForOf"], [2, "display", "none"], [1, "text-16"]], template: function ReadMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18228
|
+
i0.ɵɵtemplate(0, ReadMultiSelectListFieldComponent_table_0_Template, 4, 4, "table", 0);
|
|
18226
18229
|
} if (rf & 2) {
|
|
18227
|
-
i0.ɵɵadvance();
|
|
18228
|
-
i0.ɵɵtextInterpolate(ctx.caseField.value[0]);
|
|
18229
|
-
i0.ɵɵadvance();
|
|
18230
18230
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
18231
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i1.RpxTranslatePipe, FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}
|
|
18231
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i1.RpxTranslatePipe, FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}"] });
|
|
18232
18232
|
}
|
|
18233
18233
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadMultiSelectListFieldComponent, [{
|
|
18234
18234
|
type: Component,
|
|
18235
|
-
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<
|
|
18235
|
+
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<table *ngIf=\"caseField.value && caseField.value.length\" class=\"multi-select-list-field-table\"\n [attr.aria-describedby]=\"'multi selection table' | rpxTranslate\">\n <tbody>\n <tr *ngFor=\"let value of caseField.value\">\n <th style=\"display: none;\"></th>\n <td><span class=\"text-16\">{{ value | ccdFixedList:caseField.field_type.fixed_list_items | rpxTranslate}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: [".multi-select-list-field-table tr>td{padding:5px 0}.multi-select-list-field-table tr:last-child>td{border-bottom:none}.multi-select-list-field-table td.collection-actions{width:1px;white-space:nowrap}\n"] }]
|
|
18236
18236
|
}], null, null); })();
|
|
18237
18237
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
18238
18238
|
|
|
@@ -21702,12 +21702,11 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
21702
21702
|
} if (rf & 2) {
|
|
21703
21703
|
let _t;
|
|
21704
21704
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
21705
|
-
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars:
|
|
21705
|
+
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [["fieldContainer", ""], [3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21706
21706
|
i0.ɵɵelementStart(0, "div", 1)(1, "ccd-field-read-label", 2);
|
|
21707
21707
|
i0.ɵɵelementContainer(2, null, 0);
|
|
21708
21708
|
i0.ɵɵelementEnd()();
|
|
21709
21709
|
} if (rf & 2) {
|
|
21710
|
-
i0.ɵɵpropertyInterpolate("id", ctx.caseField.id);
|
|
21711
21710
|
i0.ɵɵproperty("hidden", ctx.caseField.hidden);
|
|
21712
21711
|
i0.ɵɵadvance();
|
|
21713
21712
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("topLevelFormGroup", ctx.topLevelFormGroup)("caseField", ctx.caseField)("withLabel", ctx.withLabel)("markdownUseHrefAsRouterLink", ctx.markdownUseHrefAsRouterLink);
|
|
@@ -21715,7 +21714,7 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
21715
21714
|
}
|
|
21716
21715
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
|
|
21717
21716
|
type: Component,
|
|
21718
|
-
args: [{ selector: 'ccd-field-read', template: "<div
|
|
21717
|
+
args: [{ selector: 'ccd-field-read', template: "<div [hidden]=\"caseField.hidden\">\n <ccd-field-read-label [formGroup]=\"formGroup\" [topLevelFormGroup]=\"topLevelFormGroup\" [caseField]=\"caseField\" [withLabel]=\"withLabel\" [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n <ng-container #fieldContainer></ng-container>\n </ccd-field-read-label>\n</div>\n" }]
|
|
21719
21718
|
}], () => [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }], { withLabel: [{
|
|
21720
21719
|
type: Input
|
|
21721
21720
|
}], formGroup: [{
|
|
@@ -25740,8 +25739,8 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
25740
25739
|
const _c0$j = (a0, a1, a2) => [a0, false, undefined, true, a1, undefined, a2];
|
|
25741
25740
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25742
25741
|
i0.ɵɵelementContainerStart(0);
|
|
25743
|
-
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span",
|
|
25744
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
25742
|
+
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 3);
|
|
25743
|
+
i0.ɵɵelement(4, "ccd-field-read", 9);
|
|
25745
25744
|
i0.ɵɵelementEnd()()();
|
|
25746
25745
|
i0.ɵɵelementContainerEnd();
|
|
25747
25746
|
} if (rf & 2) {
|
|
@@ -25753,14 +25752,12 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(r
|
|
|
25753
25752
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
25754
25753
|
} }
|
|
25755
25754
|
function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
25756
|
-
i0.ɵɵelementStart(0, "tr",
|
|
25755
|
+
i0.ɵɵelementStart(0, "tr", 10)(1, "th", 11)(2, "span", 3);
|
|
25757
25756
|
i0.ɵɵtext(3);
|
|
25758
25757
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
25759
|
-
i0.ɵɵelementEnd();
|
|
25760
|
-
i0.ɵɵ
|
|
25761
|
-
i0.ɵɵ
|
|
25762
|
-
i0.ɵɵelementStart(6, "td")(7, "span", 9);
|
|
25763
|
-
i0.ɵɵelement(8, "ccd-field-read", 10);
|
|
25758
|
+
i0.ɵɵelementEnd()();
|
|
25759
|
+
i0.ɵɵelementStart(5, "td")(6, "span", 3);
|
|
25760
|
+
i0.ɵɵelement(7, "ccd-field-read", 9);
|
|
25764
25761
|
i0.ɵɵelementEnd()()();
|
|
25765
25762
|
} if (rf & 2) {
|
|
25766
25763
|
const field_r1 = i0.ɵɵnextContext().$implicit;
|
|
@@ -25768,14 +25765,14 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf
|
|
|
25768
25765
|
i0.ɵɵproperty("hidden", field_r1.hidden);
|
|
25769
25766
|
i0.ɵɵadvance(3);
|
|
25770
25767
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 5, field_r1.label));
|
|
25771
|
-
i0.ɵɵadvance(
|
|
25768
|
+
i0.ɵɵadvance(4);
|
|
25772
25769
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
25773
25770
|
} }
|
|
25774
25771
|
function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
25775
25772
|
i0.ɵɵelementContainerStart(0);
|
|
25776
25773
|
i0.ɵɵtemplate(1, ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template, 5, 4, "ng-container", 6);
|
|
25777
25774
|
i0.ɵɵpipe(2, "ccdIsCompound");
|
|
25778
|
-
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template,
|
|
25775
|
+
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template, 8, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
25779
25776
|
i0.ɵɵelementContainerEnd();
|
|
25780
25777
|
} if (rf & 2) {
|
|
25781
25778
|
const field_r1 = ctx.$implicit;
|
|
@@ -25786,7 +25783,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
|
|
|
25786
25783
|
class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
25787
25784
|
caseFields = [];
|
|
25788
25785
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; })();
|
|
25789
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars:
|
|
25786
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25790
25787
|
i0.ɵɵelementStart(0, "div", 1)(1, "dl", 2)(2, "dt")(3, "span", 3);
|
|
25791
25788
|
i0.ɵɵtext(4);
|
|
25792
25789
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -25798,19 +25795,15 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
25798
25795
|
i0.ɵɵpipe(10, "ccdReadFieldsFilter");
|
|
25799
25796
|
i0.ɵɵelementEnd()()();
|
|
25800
25797
|
} if (rf & 2) {
|
|
25801
|
-
i0.ɵɵadvance(
|
|
25802
|
-
i0.ɵɵ
|
|
25803
|
-
i0.ɵɵadvance();
|
|
25804
|
-
i0.ɵɵ
|
|
25805
|
-
i0.ɵɵadvance(3);
|
|
25806
|
-
i0.ɵɵattribute("aria-describedby", ctx.caseField.id);
|
|
25807
|
-
i0.ɵɵadvance(2);
|
|
25808
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 6, i0.ɵɵpureFunction3(14, _c0$j, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
|
|
25798
|
+
i0.ɵɵadvance(4);
|
|
25799
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 2, ctx.caseField.label));
|
|
25800
|
+
i0.ɵɵadvance(5);
|
|
25801
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(10, 4, i0.ɵɵpureFunction3(12, _c0$j, ctx.caseField, ctx.topLevelFormGroup, ctx.idPrefix)));
|
|
25809
25802
|
} }, styles: [".complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}"] });
|
|
25810
25803
|
}
|
|
25811
25804
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
25812
25805
|
type: Component,
|
|
25813
|
-
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span
|
|
25806
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex field table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup: undefined :idPrefix\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
|
|
25814
25807
|
}], null, { caseFields: [{
|
|
25815
25808
|
type: Input
|
|
25816
25809
|
}] }); })();
|
|
@@ -32238,21 +32231,21 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx)
|
|
|
32238
32231
|
const tab_r6 = ctx.$implicit;
|
|
32239
32232
|
i0.ɵɵproperty("id", tab_r6.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
|
|
32240
32233
|
} }
|
|
32241
|
-
function
|
|
32242
|
-
i0.ɵɵelementStart(0, "th",
|
|
32234
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
32235
|
+
i0.ɵɵelementStart(0, "th", 36)(1, "div", 37);
|
|
32243
32236
|
i0.ɵɵtext(2);
|
|
32244
32237
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
32245
32238
|
i0.ɵɵelementEnd()();
|
|
32246
32239
|
} if (rf & 2) {
|
|
32247
32240
|
const field_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
32248
32241
|
i0.ɵɵadvance(2);
|
|
32249
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r7.label), "
|
|
32242
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r7.label), "");
|
|
32250
32243
|
} }
|
|
32251
|
-
function
|
|
32244
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
32252
32245
|
i0.ɵɵelementStart(0, "tr");
|
|
32253
|
-
i0.ɵɵtemplate(1,
|
|
32254
|
-
i0.ɵɵelementStart(2, "td",
|
|
32255
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
32246
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_4_th_1_Template, 4, 3, "th", 32);
|
|
32247
|
+
i0.ɵɵelementStart(2, "td", 33)(3, "span", 34);
|
|
32248
|
+
i0.ɵɵelement(4, "ccd-field-read", 35);
|
|
32256
32249
|
i0.ɵɵelementEnd()()();
|
|
32257
32250
|
} if (rf & 2) {
|
|
32258
32251
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
@@ -32264,12 +32257,10 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32264
32257
|
i0.ɵɵadvance(2);
|
|
32265
32258
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
32266
32259
|
} }
|
|
32267
|
-
function
|
|
32268
|
-
i0.ɵɵelementStart(0, "tr",
|
|
32269
|
-
i0.ɵɵelement(3, "ccd-field-read",
|
|
32270
|
-
i0.ɵɵelementEnd();
|
|
32271
|
-
i0.ɵɵtext(4, "\u200B ");
|
|
32272
|
-
i0.ɵɵelementEnd()();
|
|
32260
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
32261
|
+
i0.ɵɵelementStart(0, "tr", 38)(1, "th", 33)(2, "span", 34);
|
|
32262
|
+
i0.ɵɵelement(3, "ccd-field-read", 35);
|
|
32263
|
+
i0.ɵɵelementEnd()()();
|
|
32273
32264
|
} if (rf & 2) {
|
|
32274
32265
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
32275
32266
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
@@ -32278,12 +32269,12 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32278
32269
|
i0.ɵɵadvance(2);
|
|
32279
32270
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
|
|
32280
32271
|
} }
|
|
32281
|
-
function
|
|
32272
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
32282
32273
|
i0.ɵɵelementContainerStart(0);
|
|
32283
|
-
i0.ɵɵelementStart(1, "div",
|
|
32284
|
-
i0.ɵɵelementContainerStart(2,
|
|
32274
|
+
i0.ɵɵelementStart(1, "div", 28);
|
|
32275
|
+
i0.ɵɵelementContainerStart(2, 29);
|
|
32285
32276
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
32286
|
-
i0.ɵɵtemplate(4,
|
|
32277
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_4_Template, 5, 6, "tr", 30)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_tr_5_Template, 4, 5, "tr", 31);
|
|
32287
32278
|
i0.ɵɵelementContainerEnd();
|
|
32288
32279
|
i0.ɵɵelementEnd();
|
|
32289
32280
|
i0.ɵɵelementContainerEnd();
|
|
@@ -32300,29 +32291,25 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_
|
|
|
32300
32291
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
32301
32292
|
} }
|
|
32302
32293
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
32303
|
-
i0.ɵɵelementStart(0, "
|
|
32304
|
-
i0.ɵɵ
|
|
32305
|
-
i0.ɵɵ
|
|
32306
|
-
i0.ɵɵ
|
|
32307
|
-
i0.ɵɵ
|
|
32308
|
-
i0.ɵɵ
|
|
32309
|
-
i0.ɵɵpipe(6, "ccdTabFields");
|
|
32310
|
-
i0.ɵɵpipe(7, "ccdReadFieldsFilter");
|
|
32294
|
+
i0.ɵɵelementStart(0, "table");
|
|
32295
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
32296
|
+
i0.ɵɵelementStart(2, "tbody");
|
|
32297
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_3_Template, 6, 8, "ng-container", 19);
|
|
32298
|
+
i0.ɵɵpipe(4, "ccdTabFields");
|
|
32299
|
+
i0.ɵɵpipe(5, "ccdReadFieldsFilter");
|
|
32311
32300
|
i0.ɵɵelementEnd()();
|
|
32312
32301
|
} if (rf & 2) {
|
|
32313
32302
|
const tab_r8 = i0.ɵɵnextContext().$implicit;
|
|
32314
32303
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
32315
|
-
i0.ɵɵadvance();
|
|
32316
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, tab_r8.label));
|
|
32317
|
-
i0.ɵɵadvance(2);
|
|
32318
32304
|
i0.ɵɵclassMap(tab_r8.id);
|
|
32319
|
-
i0.ɵɵ
|
|
32320
|
-
i0.ɵɵ
|
|
32305
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
|
|
32306
|
+
i0.ɵɵadvance(3);
|
|
32307
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r8), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
|
|
32321
32308
|
} }
|
|
32322
32309
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
|
|
32323
32310
|
i0.ɵɵelementStart(0, "mat-tab", 26);
|
|
32324
32311
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
32325
|
-
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template,
|
|
32312
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template, 6, 17, "ng-template", 27);
|
|
32326
32313
|
i0.ɵɵelementEnd();
|
|
32327
32314
|
} if (rf & 2) {
|
|
32328
32315
|
const tab_r8 = ctx.$implicit;
|
|
@@ -32765,7 +32752,7 @@ class CaseFullAccessViewComponent {
|
|
|
32765
32752
|
} if (rf & 2) {
|
|
32766
32753
|
let _t;
|
|
32767
32754
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
32768
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["
|
|
32755
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32769
32756
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
32770
32757
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
32771
32758
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -32803,7 +32790,7 @@ class CaseFullAccessViewComponent {
|
|
|
32803
32790
|
}
|
|
32804
32791
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
32805
32792
|
type: Component,
|
|
32806
|
-
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n
|
|
32793
|
+
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-field-label\" *ngIf=\"!isFieldToHaveNoLabel(field)\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n </mat-tab-group>\n <router-outlet *ngIf=\"(prependedTabs && prependedTabs.length) || (appendedTabs && appendedTabs.length)\"></router-outlet>\n </ng-container>\n </div>\n</div>\n", styles: ["th{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
32807
32794
|
}], () => [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }], { hasPrint: [{
|
|
32808
32795
|
type: Input
|
|
32809
32796
|
}], hasEventSelector: [{
|
|
@@ -36119,10 +36106,10 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
|
|
|
36119
36106
|
const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
36120
36107
|
const _c1 = () => ["value"];
|
|
36121
36108
|
function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36122
|
-
i0.ɵɵelementStart(0, "div",
|
|
36109
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "span", 13);
|
|
36123
36110
|
i0.ɵɵtext(2, "!");
|
|
36124
36111
|
i0.ɵɵelementEnd();
|
|
36125
|
-
i0.ɵɵelementStart(3, "strong",
|
|
36112
|
+
i0.ɵɵelementStart(3, "strong", 14)(4, "span", 15);
|
|
36126
36113
|
i0.ɵɵtext(5);
|
|
36127
36114
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
36128
36115
|
i0.ɵɵelementEnd();
|
|
@@ -36139,23 +36126,23 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
36139
36126
|
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r0.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
36140
36127
|
} }
|
|
36141
36128
|
function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
36142
|
-
i0.ɵɵelementStart(0, "div",
|
|
36129
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
36143
36130
|
i0.ɵɵelement(1, "output");
|
|
36144
36131
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36145
|
-
i0.ɵɵelementStart(3, "span",
|
|
36132
|
+
i0.ɵɵelementStart(3, "span", 17);
|
|
36146
36133
|
i0.ɵɵtext(4);
|
|
36147
36134
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
36148
|
-
i0.ɵɵelementStart(6, "span",
|
|
36135
|
+
i0.ɵɵelementStart(6, "span", 18);
|
|
36149
36136
|
i0.ɵɵtext(7);
|
|
36150
36137
|
i0.ɵɵelementEnd();
|
|
36151
36138
|
i0.ɵɵtext(8);
|
|
36152
36139
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
36153
|
-
i0.ɵɵelementStart(10, "span",
|
|
36140
|
+
i0.ɵɵelementStart(10, "span", 18);
|
|
36154
36141
|
i0.ɵɵtext(11);
|
|
36155
36142
|
i0.ɵɵelementEnd();
|
|
36156
36143
|
i0.ɵɵtext(12);
|
|
36157
36144
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
36158
|
-
i0.ɵɵelementStart(14, "span",
|
|
36145
|
+
i0.ɵɵelementStart(14, "span", 18);
|
|
36159
36146
|
i0.ɵɵtext(15);
|
|
36160
36147
|
i0.ɵɵelementEnd();
|
|
36161
36148
|
i0.ɵɵtext(16);
|
|
@@ -36182,9 +36169,9 @@ function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
36182
36169
|
} }
|
|
36183
36170
|
function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
36184
36171
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
36185
|
-
i0.ɵɵelementStart(0, "div",
|
|
36172
|
+
i0.ɵɵelementStart(0, "div", 19);
|
|
36186
36173
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36187
|
-
i0.ɵɵelementStart(2, "span")(3, "a",
|
|
36174
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 20);
|
|
36188
36175
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.clearSelection()); });
|
|
36189
36176
|
i0.ɵɵtext(4);
|
|
36190
36177
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -36196,10 +36183,10 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
36196
36183
|
} }
|
|
36197
36184
|
function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
36198
36185
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
36199
|
-
i0.ɵɵelementStart(0, "th",
|
|
36186
|
+
i0.ɵɵelementStart(0, "th", 21)(1, "div", 22)(2, "input", 23);
|
|
36200
36187
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
|
|
36201
36188
|
i0.ɵɵelementEnd();
|
|
36202
|
-
i0.ɵɵelement(3, "label",
|
|
36189
|
+
i0.ɵɵelement(3, "label", 24);
|
|
36203
36190
|
i0.ɵɵelementEnd()();
|
|
36204
36191
|
} if (rf & 2) {
|
|
36205
36192
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -36208,7 +36195,7 @@ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
36208
36195
|
} }
|
|
36209
36196
|
function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
36210
36197
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
36211
|
-
i0.ɵɵelementStart(0, "div",
|
|
36198
|
+
i0.ɵɵelementStart(0, "div", 28)(1, "a", 29);
|
|
36212
36199
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_5_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
36213
36200
|
i0.ɵɵelementEnd()();
|
|
36214
36201
|
} if (rf & 2) {
|
|
@@ -36219,12 +36206,12 @@ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf &
|
|
|
36219
36206
|
} }
|
|
36220
36207
|
function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
36221
36208
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
36222
|
-
i0.ɵɵelementStart(0, "th",
|
|
36209
|
+
i0.ɵɵelementStart(0, "th", 25)(1, "div")(2, "div", 26);
|
|
36223
36210
|
i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_2_listener() { const col_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); })("keyup", function SearchResultComponent_table_0_th_11_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
|
|
36224
36211
|
i0.ɵɵtext(3);
|
|
36225
36212
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36226
36213
|
i0.ɵɵelementEnd();
|
|
36227
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div",
|
|
36214
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_th_11_div_5_Template, 2, 1, "div", 27);
|
|
36228
36215
|
i0.ɵɵelementEnd()();
|
|
36229
36216
|
} if (rf & 2) {
|
|
36230
36217
|
const col_r5 = ctx.$implicit;
|
|
@@ -36236,16 +36223,16 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
36236
36223
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
36237
36224
|
} }
|
|
36238
36225
|
function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
36239
|
-
i0.ɵɵelementStart(0, "th",
|
|
36226
|
+
i0.ɵɵelementStart(0, "th", 30);
|
|
36240
36227
|
i0.ɵɵtext(1, "\u200B");
|
|
36241
36228
|
i0.ɵɵelementEnd();
|
|
36242
36229
|
} }
|
|
36243
36230
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36244
36231
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
36245
|
-
i0.ɵɵelementStart(0, "td",
|
|
36232
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 33);
|
|
36246
36233
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r7); const result_r8 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r8)); });
|
|
36247
36234
|
i0.ɵɵelementEnd();
|
|
36248
|
-
i0.ɵɵelement(3, "label",
|
|
36235
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36249
36236
|
i0.ɵɵelementEnd()();
|
|
36250
36237
|
} if (rf & 2) {
|
|
36251
36238
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36258,7 +36245,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
36258
36245
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r8.case_id, "");
|
|
36259
36246
|
} }
|
|
36260
36247
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
36261
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36248
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36262
36249
|
} if (rf & 2) {
|
|
36263
36250
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
36264
36251
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36273,8 +36260,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36273
36260
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
36274
36261
|
} }
|
|
36275
36262
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36276
|
-
i0.ɵɵelementContainerStart(0,
|
|
36277
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
36263
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36264
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 41)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36278
36265
|
i0.ɵɵelementContainerEnd();
|
|
36279
36266
|
} if (rf & 2) {
|
|
36280
36267
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -36285,9 +36272,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
36285
36272
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
36286
36273
|
} }
|
|
36287
36274
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36288
|
-
i0.ɵɵelementStart(0, "a",
|
|
36275
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36289
36276
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36290
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36277
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36291
36278
|
i0.ɵɵelementEnd();
|
|
36292
36279
|
} if (rf & 2) {
|
|
36293
36280
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36298,8 +36285,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
36298
36285
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36299
36286
|
} }
|
|
36300
36287
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36301
|
-
i0.ɵɵelementStart(0, "div",
|
|
36302
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36288
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36289
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36303
36290
|
i0.ɵɵelementEnd();
|
|
36304
36291
|
} if (rf & 2) {
|
|
36305
36292
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36310,8 +36297,8 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
36310
36297
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36311
36298
|
} }
|
|
36312
36299
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36313
|
-
i0.ɵɵelementStart(0, "td",
|
|
36314
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36300
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36301
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36315
36302
|
i0.ɵɵelementEnd();
|
|
36316
36303
|
} if (rf & 2) {
|
|
36317
36304
|
const colIndex_r11 = ctx.index;
|
|
@@ -36322,7 +36309,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
36322
36309
|
} }
|
|
36323
36310
|
function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36324
36311
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36325
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36312
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36326
36313
|
i0.ɵɵelementEnd()();
|
|
36327
36314
|
} if (rf & 2) {
|
|
36328
36315
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36334,7 +36321,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
36334
36321
|
} }
|
|
36335
36322
|
function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36336
36323
|
i0.ɵɵelementStart(0, "tr");
|
|
36337
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td",
|
|
36324
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36338
36325
|
i0.ɵɵelementEnd();
|
|
36339
36326
|
} if (rf & 2) {
|
|
36340
36327
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36347,7 +36334,7 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
36347
36334
|
} }
|
|
36348
36335
|
function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
36349
36336
|
i0.ɵɵelementContainerStart(0);
|
|
36350
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr",
|
|
36337
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 31);
|
|
36351
36338
|
i0.ɵɵpipe(2, "paginate");
|
|
36352
36339
|
i0.ɵɵelementContainerEnd();
|
|
36353
36340
|
} if (rf & 2) {
|
|
@@ -36357,10 +36344,10 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
36357
36344
|
} }
|
|
36358
36345
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
36359
36346
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
36360
|
-
i0.ɵɵelementStart(0, "td",
|
|
36347
|
+
i0.ɵɵelementStart(0, "td", 21)(1, "div", 22)(2, "input", 44);
|
|
36361
36348
|
i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r13)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onKeyUp($event, result_r13)); });
|
|
36362
36349
|
i0.ɵɵelementEnd();
|
|
36363
|
-
i0.ɵɵelement(3, "label",
|
|
36350
|
+
i0.ɵɵelement(3, "label", 34);
|
|
36364
36351
|
i0.ɵɵelementEnd()();
|
|
36365
36352
|
} if (rf & 2) {
|
|
36366
36353
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36373,7 +36360,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
36373
36360
|
i0.ɵɵpropertyInterpolate1("for", "select-", result_r13.case_id, "");
|
|
36374
36361
|
} }
|
|
36375
36362
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
36376
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
36363
|
+
i0.ɵɵelement(0, "ccd-field-read", 42);
|
|
36377
36364
|
} if (rf & 2) {
|
|
36378
36365
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
36379
36366
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36388,8 +36375,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36388
36375
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
36389
36376
|
} }
|
|
36390
36377
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
36391
|
-
i0.ɵɵelementContainerStart(0,
|
|
36392
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read",
|
|
36378
|
+
i0.ɵɵelementContainerStart(0, 40);
|
|
36379
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 41)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
36393
36380
|
i0.ɵɵelementContainerEnd();
|
|
36394
36381
|
} if (rf & 2) {
|
|
36395
36382
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -36400,9 +36387,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
36400
36387
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
36401
36388
|
} }
|
|
36402
36389
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
36403
|
-
i0.ɵɵelementStart(0, "a",
|
|
36390
|
+
i0.ɵɵelementStart(0, "a", 38);
|
|
36404
36391
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
36405
|
-
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container",
|
|
36392
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 39);
|
|
36406
36393
|
i0.ɵɵelementEnd();
|
|
36407
36394
|
} if (rf & 2) {
|
|
36408
36395
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -36413,8 +36400,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
36413
36400
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
36414
36401
|
} }
|
|
36415
36402
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36416
|
-
i0.ɵɵelementStart(0, "div",
|
|
36417
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
36403
|
+
i0.ɵɵelementStart(0, "div", 40);
|
|
36404
|
+
i0.ɵɵelement(1, "ccd-field-read", 42);
|
|
36418
36405
|
i0.ɵɵelementEnd();
|
|
36419
36406
|
} if (rf & 2) {
|
|
36420
36407
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36425,8 +36412,8 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
36425
36412
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
36426
36413
|
} }
|
|
36427
36414
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
36428
|
-
i0.ɵɵelementStart(0, "td",
|
|
36429
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a",
|
|
36415
|
+
i0.ɵɵelementStart(0, "td", 35);
|
|
36416
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 36)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 37);
|
|
36430
36417
|
i0.ɵɵelementEnd();
|
|
36431
36418
|
} if (rf & 2) {
|
|
36432
36419
|
const colIndex_r16 = ctx.index;
|
|
@@ -36437,7 +36424,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
36437
36424
|
} }
|
|
36438
36425
|
function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
36439
36426
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
36440
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
36427
|
+
i0.ɵɵelement(2, "ccd-activity", 43);
|
|
36441
36428
|
i0.ɵɵelementEnd()();
|
|
36442
36429
|
} if (rf & 2) {
|
|
36443
36430
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -36449,7 +36436,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
36449
36436
|
} }
|
|
36450
36437
|
function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
36451
36438
|
i0.ɵɵelementStart(0, "tr");
|
|
36452
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td",
|
|
36439
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 8, "td", 9)(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 32)(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 1);
|
|
36453
36440
|
i0.ɵɵelementEnd();
|
|
36454
36441
|
} if (rf & 2) {
|
|
36455
36442
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -36462,7 +36449,7 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
36462
36449
|
} }
|
|
36463
36450
|
function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
36464
36451
|
i0.ɵɵelementContainerStart(0);
|
|
36465
|
-
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr",
|
|
36452
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 31);
|
|
36466
36453
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
36467
36454
|
i0.ɵɵpipe(3, "paginate");
|
|
36468
36455
|
i0.ɵɵelementContainerEnd();
|
|
@@ -36472,14 +36459,14 @@ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (r
|
|
|
36472
36459
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, ctx_r0.sortParameters), i0.ɵɵpureFunction3(7, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
36473
36460
|
} }
|
|
36474
36461
|
function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
36475
|
-
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2",
|
|
36462
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 4);
|
|
36476
36463
|
i0.ɵɵtext(3);
|
|
36477
36464
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
36478
36465
|
i0.ɵɵelementEnd();
|
|
36479
|
-
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div",
|
|
36466
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 5)(6, SearchResultComponent_table_0_div_6_Template, 18, 18, "div", 6)(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 7);
|
|
36480
36467
|
i0.ɵɵelementEnd();
|
|
36481
|
-
i0.ɵɵelementStart(8, "thead")(9, "tr",
|
|
36482
|
-
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th",
|
|
36468
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 8);
|
|
36469
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 9)(11, SearchResultComponent_table_0_th_11_Template, 6, 5, "th", 10)(12, SearchResultComponent_table_0_th_12_Template, 2, 0, "th", 11);
|
|
36483
36470
|
i0.ɵɵelementEnd()();
|
|
36484
36471
|
i0.ɵɵelementStart(13, "tbody");
|
|
36485
36472
|
i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 1)(15, SearchResultComponent_table_0_ng_container_15_Template, 4, 11, "ng-container", 1);
|
|
@@ -36507,7 +36494,7 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
36507
36494
|
} }
|
|
36508
36495
|
function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
|
|
36509
36496
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
36510
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
36497
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 45);
|
|
36511
36498
|
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.goToPage($event)); });
|
|
36512
36499
|
i0.ɵɵelementEnd();
|
|
36513
36500
|
} if (rf & 2) {
|
|
@@ -36515,18 +36502,15 @@ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1)
|
|
|
36515
36502
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
36516
36503
|
} }
|
|
36517
36504
|
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
36518
|
-
i0.ɵɵelementStart(0, "div",
|
|
36519
|
-
i0.ɵɵ
|
|
36520
|
-
i0.ɵɵ
|
|
36505
|
+
i0.ɵɵelementStart(0, "div", 46);
|
|
36506
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36507
|
+
i0.ɵɵtext(2);
|
|
36508
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
36521
36509
|
i0.ɵɵelementEnd();
|
|
36522
36510
|
} if (rf & 2) {
|
|
36523
|
-
i0.ɵɵ
|
|
36524
|
-
i0.ɵɵ
|
|
36525
|
-
|
|
36526
|
-
function SearchResultComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
36527
|
-
i0.ɵɵelementStart(0, "span", 48);
|
|
36528
|
-
i0.ɵɵtext(1, "\u200B");
|
|
36529
|
-
i0.ɵɵelementEnd();
|
|
36511
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "No cases found. Try using different filters."));
|
|
36512
|
+
i0.ɵɵadvance(2);
|
|
36513
|
+
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 4, "No cases found. Try using different filters."), "\n");
|
|
36530
36514
|
} }
|
|
36531
36515
|
class SearchResultComponent {
|
|
36532
36516
|
activityService;
|
|
@@ -36869,21 +36853,19 @@ class SearchResultComponent {
|
|
|
36869
36853
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
36870
36854
|
noop() { }
|
|
36871
36855
|
static ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
36872
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
36873
|
-
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template,
|
|
36856
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-header", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], [2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36857
|
+
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 4, 6, "div", 3);
|
|
36874
36858
|
} if (rf & 2) {
|
|
36875
36859
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
36876
36860
|
i0.ɵɵadvance();
|
|
36877
36861
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
36878
36862
|
i0.ɵɵadvance();
|
|
36879
36863
|
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
36880
|
-
i0.ɵɵadvance();
|
|
36881
|
-
i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
36882
36864
|
} }, styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
36883
36865
|
}
|
|
36884
36866
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
36885
36867
|
type: Component,
|
|
36886
|
-
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div
|
|
36868
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
36887
36869
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
36888
36870
|
type: Input
|
|
36889
36871
|
}], jurisdiction: [{
|