@hmcts/ccd-case-ui-toolkit 7.4.26 → 7.4.27-exui-3768-tab-order

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/README.md CHANGED
@@ -26,7 +26,7 @@ The published package name is:
26
26
  Prerequisites
27
27
  -------------
28
28
 
29
- - Node.js 24.18.0 or a later version accepted by package.json.
29
+ - Node.js 24.22.2 or a later version accepted by package.json.
30
30
  - Yarn 4.5.0, managed through the repository's Yarn configuration.
31
31
  - A Git checkout with the repository files available.
32
32
  - Chromium if you are running the Playwright browser tests.
@@ -41301,146 +41301,120 @@ function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
41301
41301
  i0.ɵɵadvance(2);
41302
41302
  i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
41303
41303
  } }
41304
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41305
- i0.ɵɵelementContainerStart(0);
41306
- i0.ɵɵelement(1, "exui-tasks-ce");
41307
- i0.ɵɵelementContainerEnd();
41304
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template(rf, ctx) { if (rf & 1) {
41305
+ i0.ɵɵelement(0, "exui-tasks-ce");
41308
41306
  } }
41309
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
41310
- i0.ɵɵelementContainerStart(0);
41311
- i0.ɵɵelement(1, "exui-roles-and-access-ce");
41312
- i0.ɵɵelementContainerEnd();
41307
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template(rf, ctx) { if (rf & 1) {
41308
+ i0.ɵɵelement(0, "exui-roles-and-access-ce");
41313
41309
  } }
41314
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41315
- i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11)(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_1_Template, 2, 0, "ng-container", 11);
41316
- } if (rf & 2) {
41317
- const tab_r6 = i0.ɵɵnextContext().$implicit;
41318
- i0.ɵɵproperty("ngIf", tab_r6.id === "tasks");
41319
- i0.ɵɵadvance();
41320
- i0.ɵɵproperty("ngIf", tab_r6.id === "roles-and-access");
41321
- } }
41322
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
41323
- i0.ɵɵelementStart(0, "mat-tab", 27);
41324
- i0.ɵɵpipe(1, "rpxTranslate");
41325
- i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 28);
41326
- i0.ɵɵelementEnd();
41327
- } if (rf & 2) {
41328
- const tab_r6 = ctx.$implicit;
41329
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
41330
- i0.ɵɵattribute("data-case-tab-id", tab_r6.id);
41310
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template(rf, ctx) { if (rf & 1) {
41311
+ i0.ɵɵelement(0, "exui-case-hearings-ce");
41331
41312
  } }
41332
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
41333
- i0.ɵɵelementStart(0, "th", 38)(1, "div", 39);
41313
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
41314
+ i0.ɵɵelementStart(0, "th", 37)(1, "div", 38);
41334
41315
  i0.ɵɵtext(2);
41335
41316
  i0.ɵɵpipe(3, "rpxTranslate");
41336
41317
  i0.ɵɵelementEnd()();
41337
41318
  } if (rf & 2) {
41338
- const field_r7 = i0.ɵɵnextContext(2).$implicit;
41339
- i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r7.id);
41319
+ const field_r6 = i0.ɵɵnextContext(2).$implicit;
41320
+ i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r6.id);
41340
41321
  i0.ɵɵadvance(2);
41341
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
41322
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r6.label));
41342
41323
  } }
41343
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41324
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41344
41325
  i0.ɵɵelementStart(0, "tr");
41345
- i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 34);
41346
- i0.ɵɵelementStart(2, "td", 35)(3, "span", 36);
41347
- i0.ɵɵelement(4, "ccd-field-read", 37);
41326
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 33);
41327
+ i0.ɵɵelementStart(2, "td", 34)(3, "span", 35);
41328
+ i0.ɵɵelement(4, "ccd-field-read", 36);
41348
41329
  i0.ɵɵelementEnd()()();
41349
41330
  } if (rf & 2) {
41350
- const field_r7 = i0.ɵɵnextContext().$implicit;
41351
- const ctx_r1 = i0.ɵɵnextContext(4);
41331
+ const field_r6 = i0.ɵɵnextContext().$implicit;
41332
+ const ctx_r1 = i0.ɵɵnextContext(5);
41352
41333
  i0.ɵɵadvance();
41353
- i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r7) && field_r7.label);
41334
+ i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r6) && field_r6.label);
41354
41335
  i0.ɵɵadvance();
41355
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41336
+ i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
41356
41337
  i0.ɵɵadvance(2);
41357
- i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41338
+ i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
41358
41339
  } }
41359
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
41360
- i0.ɵɵelementStart(0, "tr", 40)(1, "td", 41);
41340
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
41341
+ i0.ɵɵelementStart(0, "tr", 39)(1, "td", 40);
41361
41342
  i0.ɵɵpipe(2, "rpxTranslate");
41362
- i0.ɵɵelementStart(3, "span", 36);
41363
- i0.ɵɵelement(4, "ccd-field-read", 37);
41343
+ i0.ɵɵelementStart(3, "span", 35);
41344
+ i0.ɵɵelement(4, "ccd-field-read", 36);
41364
41345
  i0.ɵɵelementEnd()()();
41365
41346
  } if (rf & 2) {
41366
- const field_r7 = i0.ɵɵnextContext().$implicit;
41367
- const ctx_r1 = i0.ɵɵnextContext(4);
41347
+ const field_r6 = i0.ɵɵnextContext().$implicit;
41348
+ const ctx_r1 = i0.ɵɵnextContext(5);
41368
41349
  i0.ɵɵadvance();
41369
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41370
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r7.label || field_r7.id));
41350
+ i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
41351
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r6.label || field_r6.id));
41371
41352
  i0.ɵɵadvance(3);
41372
- i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41353
+ i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
41373
41354
  } }
41374
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41355
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41375
41356
  i0.ɵɵelementContainerStart(0);
41376
- i0.ɵɵelementStart(1, "div", 30);
41377
- i0.ɵɵelementContainerStart(2, 31);
41357
+ i0.ɵɵelementStart(1, "div", 31);
41358
+ i0.ɵɵelementContainerStart(2, 28);
41378
41359
  i0.ɵɵpipe(3, "ccdIsCompound");
41379
- i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 33);
41360
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_4_Template, 5, 6, "tr", 29)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_tr_5_Template, 5, 8, "tr", 32);
41380
41361
  i0.ɵɵelementContainerEnd();
41381
41362
  i0.ɵɵelementEnd();
41382
41363
  i0.ɵɵelementContainerEnd();
41383
41364
  } if (rf & 2) {
41384
- const field_r7 = ctx.$implicit;
41385
- const ctx_r1 = i0.ɵɵnextContext(4);
41365
+ const field_r6 = ctx.$implicit;
41366
+ const ctx_r1 = i0.ɵɵnextContext(5);
41386
41367
  i0.ɵɵadvance();
41387
- i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)("hidden", field_r7.hidden);
41368
+ i0.ɵɵproperty("caseField", field_r6)("contextFields", ctx_r1.caseFields)("hidden", field_r6.hidden);
41388
41369
  i0.ɵɵadvance();
41389
- i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r7));
41370
+ i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r6));
41390
41371
  i0.ɵɵadvance(2);
41391
41372
  i0.ɵɵproperty("ngSwitchCase", true);
41392
41373
  i0.ɵɵadvance();
41393
41374
  i0.ɵɵproperty("ngSwitchCase", false);
41394
41375
  } }
41395
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41376
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template(rf, ctx) { if (rf & 1) {
41396
41377
  i0.ɵɵelementStart(0, "table");
41397
41378
  i0.ɵɵpipe(1, "rpxTranslate");
41398
41379
  i0.ɵɵelementStart(2, "tbody");
41399
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 19);
41380
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template, 6, 8, "ng-container", 19);
41400
41381
  i0.ɵɵpipe(4, "ccdTabFields");
41401
41382
  i0.ɵɵpipe(5, "ccdReadFieldsFilter");
41402
41383
  i0.ɵɵelementEnd()();
41403
41384
  } if (rf & 2) {
41404
- const tab_r8 = i0.ɵɵnextContext().$implicit;
41385
+ const viewerTab_r7 = i0.ɵɵnextContext(2).$implicit;
41405
41386
  const ctx_r1 = i0.ɵɵnextContext(2);
41406
- i0.ɵɵclassMap(tab_r8.id);
41387
+ i0.ɵɵclassMap(viewerTab_r7.tab.id);
41407
41388
  i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
41408
41389
  i0.ɵɵadvance(3);
41409
- 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"])));
41390
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, viewerTab_r7.tab), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
41410
41391
  } }
41411
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
41412
- i0.ɵɵelementStart(0, "mat-tab", 29);
41413
- i0.ɵɵpipe(1, "rpxTranslate");
41414
- i0.ɵɵpipe(2, "rpxTranslate");
41415
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 28);
41416
- i0.ɵɵelementEnd();
41417
- } if (rf & 2) {
41418
- const tab_r8 = ctx.$implicit;
41419
- const curIdx_r9 = ctx.index;
41420
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r8.label));
41421
- i0.ɵɵariaProperty("aria-label", curIdx_r9 === 0 ? tab_r8.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
41422
- i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
41423
- } }
41424
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41425
- i0.ɵɵelementContainerStart(0);
41426
- i0.ɵɵelement(1, "exui-case-hearings-ce");
41392
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41393
+ i0.ɵɵelementContainerStart(0, 28);
41394
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_tasks_ce_1_Template, 1, 0, "exui-tasks-ce", 29)(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_roles_and_access_ce_2_Template, 1, 0, "exui-roles-and-access-ce", 29)(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_exui_case_hearings_ce_3_Template, 1, 0, "exui-case-hearings-ce", 29)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template, 6, 17, "table", 30);
41427
41395
  i0.ɵɵelementContainerEnd();
41428
- } }
41429
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41430
- i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11);
41431
41396
  } if (rf & 2) {
41432
- const tab_r10 = i0.ɵɵnextContext().$implicit;
41433
- i0.ɵɵproperty("ngIf", tab_r10.id === "hearings");
41397
+ const viewerTab_r7 = i0.ɵɵnextContext().$implicit;
41398
+ i0.ɵɵproperty("ngSwitch", viewerTab_r7.contentType);
41399
+ i0.ɵɵadvance();
41400
+ i0.ɵɵproperty("ngSwitchCase", "tasks");
41401
+ i0.ɵɵadvance();
41402
+ i0.ɵɵproperty("ngSwitchCase", "roles-and-access");
41403
+ i0.ɵɵadvance();
41404
+ i0.ɵɵproperty("ngSwitchCase", "hearings");
41434
41405
  } }
41435
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
41436
- i0.ɵɵelementStart(0, "mat-tab", 27);
41406
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
41407
+ i0.ɵɵelementStart(0, "mat-tab", 26);
41437
41408
  i0.ɵɵpipe(1, "rpxTranslate");
41438
- i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template, 1, 1, "ng-template", 28);
41409
+ i0.ɵɵpipe(2, "rpxTranslate");
41410
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_Template, 5, 4, "ng-template", 27);
41439
41411
  i0.ɵɵelementEnd();
41440
41412
  } if (rf & 2) {
41441
- const tab_r10 = ctx.$implicit;
41442
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r10.label));
41443
- i0.ɵɵattribute("data-case-tab-id", tab_r10.id);
41413
+ const viewerTab_r7 = ctx.$implicit;
41414
+ const curIdx_r8 = ctx.index;
41415
+ i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, viewerTab_r7.tab.label));
41416
+ i0.ɵɵariaProperty("aria-label", curIdx_r8 === 0 ? viewerTab_r7.tab.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
41417
+ i0.ɵɵattribute("data-case-tab-id", viewerTab_r7.tab.id);
41444
41418
  } }
41445
41419
  function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
41446
41420
  const _r5 = i0.ɵɵgetCurrentView();
@@ -41448,7 +41422,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
41448
41422
  i0.ɵɵelementStart(1, "mat-tab-group", 24, 0);
41449
41423
  i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
41450
41424
  i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
41451
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 3, 4, "mat-tab", 25)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template, 4, 7, "mat-tab", 26)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 3, 4, "mat-tab", 25);
41425
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 4, 7, "mat-tab", 25);
41452
41426
  i0.ɵɵelementEnd();
41453
41427
  i0.ɵɵelementContainerEnd();
41454
41428
  } if (rf & 2) {
@@ -41458,11 +41432,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
41458
41432
  i0.ɵɵtwoWayProperty("selectedIndex", ctx_r1.selectedTabIndex);
41459
41433
  i0.ɵɵproperty("selectedIndex", ctx_r1.selectedTabIndex);
41460
41434
  i0.ɵɵadvance(2);
41461
- i0.ɵɵproperty("ngForOf", ctx_r1.prependedTabs);
41462
- i0.ɵɵadvance();
41463
- i0.ɵɵproperty("ngForOf", ctx_r1.sortedTabs);
41464
- i0.ɵɵadvance();
41465
- i0.ɵɵproperty("ngForOf", ctx_r1.appendedTabs);
41435
+ i0.ɵɵproperty("ngForOf", ctx_r1.viewerTabs);
41466
41436
  } }
41467
41437
  class CaseFullAccessViewComponent {
41468
41438
  ngZone;
@@ -41497,6 +41467,7 @@ class CaseFullAccessViewComponent {
41497
41467
  appendedTabs = [];
41498
41468
  BANNER = DisplayMode.BANNER;
41499
41469
  sortedTabs;
41470
+ viewerTabs;
41500
41471
  caseFields;
41501
41472
  formGroup;
41502
41473
  error;
@@ -41572,7 +41543,10 @@ class CaseFullAccessViewComponent {
41572
41543
  this.caseFlagStateService.resetInitialCaseFlags();
41573
41544
  }
41574
41545
  ngOnChanges(changes) {
41575
- if (changes && changes.prependedTabs && !changes.prependedTabs.firstChange) {
41546
+ const caseDetailsChanged = changes?.caseDetails && !changes.caseDetails.firstChange;
41547
+ const prependedTabsChanged = changes?.prependedTabs && !changes.prependedTabs.firstChange;
41548
+ const appendedTabsChanged = changes?.appendedTabs && !changes.appendedTabs.firstChange;
41549
+ if (caseDetailsChanged || prependedTabsChanged || appendedTabsChanged) {
41576
41550
  this.init();
41577
41551
  this.crf.detectChanges();
41578
41552
  this.organiseTabPosition();
@@ -41688,7 +41662,7 @@ class CaseFullAccessViewComponent {
41688
41662
  }
41689
41663
  }
41690
41664
  hasTabsPresent() {
41691
- return this.sortedTabs.length > 0 || this.prependedTabs.length > 0 || this.appendedTabs.length > 0;
41665
+ return this.viewerTabs.length > 0;
41692
41666
  }
41693
41667
  callbackErrorsNotify(callbackErrorsContext) {
41694
41668
  this.ignoreWarning = callbackErrorsContext.ignoreWarning;
@@ -41878,11 +41852,29 @@ class CaseFullAccessViewComponent {
41878
41852
  this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
41879
41853
  this.caseFields = this.getTabFields();
41880
41854
  this.sortedTabs = this.sortTabFieldsAndFilterTabs(this.sortedTabs);
41855
+ this.viewerTabs = this.buildViewerTabs();
41881
41856
  this.formGroup = this.buildFormGroup(this.caseFields);
41882
41857
  if (this.caseDetails?.triggers && this.error) {
41883
41858
  this.resetErrors();
41884
41859
  }
41885
41860
  }
41861
+ buildViewerTabs() {
41862
+ const suppliedTabIds = new Set(this.sortedTabs.map((tab) => tab.id));
41863
+ const prependedTabs = (this.prependedTabs || [])
41864
+ .filter((tab) => !suppliedTabIds.has(tab.id))
41865
+ .map((tab) => this.toViewerTab(tab));
41866
+ const appendedTabs = (this.appendedTabs || [])
41867
+ .filter((tab) => !suppliedTabIds.has(tab.id))
41868
+ .map((tab) => this.toViewerTab(tab));
41869
+ const caseTabs = this.sortedTabs.map((tab) => this.toViewerTab(tab));
41870
+ return [...prependedTabs, ...caseTabs, ...appendedTabs];
41871
+ }
41872
+ toViewerTab(tab) {
41873
+ const contentType = ['tasks', 'roles-and-access', 'hearings'].includes(tab.id)
41874
+ ? tab.id
41875
+ : 'case';
41876
+ return { tab, contentType };
41877
+ }
41886
41878
  sortTabFieldsAndFilterTabs(tabs) {
41887
41879
  return tabs?.map((tab) => ({
41888
41880
  ...tab,
@@ -41924,7 +41916,7 @@ class CaseFullAccessViewComponent {
41924
41916
  } if (rf & 2) {
41925
41917
  let _t;
41926
41918
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
41927
- } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, 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", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label"], ["matTabContent", ""], [3, "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
41919
+ } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, 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", "selectedIndex"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label"], ["matTabContent", ""], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "class", 4, "ngSwitchDefault"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
41928
41920
  i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
41929
41921
  i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
41930
41922
  i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
@@ -41938,7 +41930,7 @@ class CaseFullAccessViewComponent {
41938
41930
  i0.ɵɵelementEnd();
41939
41931
  i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
41940
41932
  i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
41941
- i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 6, 6, "ng-container", 11);
41933
+ i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 4, 4, "ng-container", 11);
41942
41934
  i0.ɵɵelementEnd()();
41943
41935
  } if (rf & 2) {
41944
41936
  i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
@@ -41962,7 +41954,7 @@ class CaseFullAccessViewComponent {
41962
41954
  }
41963
41955
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
41964
41956
  type: Component,
41965
- args: [{ selector: 'ccd-case-full-access-view', standalone: false, 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 <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | 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--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\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']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\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\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{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"] }]
41957
+ args: [{ selector: 'ccd-case-full-access-view', standalone: false, 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 <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let viewerTab of viewerTabs; let curIdx=index\" [attr.data-case-tab-id]=\"viewerTab.tab.id\" [label]=\"viewerTab.tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? viewerTab.tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container [ngSwitch]=\"viewerTab.contentType\">\n <exui-tasks-ce *ngSwitchCase=\"'tasks'\"></exui-tasks-ce>\n <exui-roles-and-access-ce *ngSwitchCase=\"'roles-and-access'\"></exui-roles-and-access-ce>\n <exui-case-hearings-ce *ngSwitchCase=\"'hearings'\"></exui-case-hearings-ce>\n <table *ngSwitchDefault [class]=\"viewerTab.tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of viewerTab.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--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\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']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{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"] }]
41966
41958
  }], () => [{ type: i0.NgZone }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
41967
41959
  type: Input
41968
41960
  }], hasEventSelector: [{
@@ -41977,7 +41969,7 @@ class CaseFullAccessViewComponent {
41977
41969
  type: ViewChild,
41978
41970
  args: ['tabGroup', { static: false }]
41979
41971
  }] }); })();
41980
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 48 }); })();
41972
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFullAccessViewComponent, { className: "CaseFullAccessViewComponent", filePath: "lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.ts", lineNumber: 55 }); })();
41981
41973
 
41982
41974
  class PrintUrlPipe {
41983
41975
  appConfig;
@@ -44636,7 +44628,7 @@ i0.ɵɵsetComponentScope(CaseEventTriggerComponent, function () { return [i5.NgI
44636
44628
  i0.ɵɵsetComponentScope(CasePrinterComponent, function () { return [i5.NgForOf, i5.NgIf, CaseHeaderComponent]; }, function () { return [i1.RpxTranslatePipe, PrintUrlPipe]; });
44637
44629
  i0.ɵɵsetComponentScope(CaseViewerComponent, function () { return [i5.NgIf, CaseFullAccessViewComponent,
44638
44630
  CaseBasicAccessViewComponent]; }, []);
44639
- i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
44631
+ i0.ɵɵsetComponentScope(CaseFullAccessViewComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$2.RouterLink, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, EventTriggerComponent, FieldReadComponent, i10.MatTabContent, i10.MatTab, i10.MatTabGroup, LabelSubstitutorDirective, NotificationBannerComponent]; }, function () { return [IsCompoundPipe, ReadFieldsFilterPipe, CcdTabFieldsPipe, i1.RpxTranslatePipe]; });
44640
44632
  i0.ɵɵsetComponentScope(CaseViewComponent, function () { return [i5.NgIf, CaseViewerComponent]; }, []);
44641
44633
  i0.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.RadioControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });
44642
44634
  i0.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, function () { return [i5.NgClass, i5.NgIf, i4.ɵNgNoValidate, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, AlertComponent, ErrorMessageComponent]; }, function () { return [i1.RpxTranslatePipe]; });