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

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.
@@ -41301,120 +41301,146 @@ 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_3_exui_tasks_ce_1_Template(rf, ctx) { if (rf & 1) {
41305
- i0.ɵɵelement(0, "exui-tasks-ce");
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();
41306
41308
  } }
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");
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();
41309
41313
  } }
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");
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);
41312
41331
  } }
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);
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);
41315
41334
  i0.ɵɵtext(2);
41316
41335
  i0.ɵɵpipe(3, "rpxTranslate");
41317
41336
  i0.ɵɵelementEnd()();
41318
41337
  } if (rf & 2) {
41319
- const field_r6 = i0.ɵɵnextContext(2).$implicit;
41320
- i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r6.id);
41338
+ const field_r7 = i0.ɵɵnextContext(2).$implicit;
41339
+ i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r7.id);
41321
41340
  i0.ɵɵadvance(2);
41322
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r6.label));
41341
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
41323
41342
  } }
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) {
41343
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41325
41344
  i0.ɵɵelementStart(0, "tr");
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);
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);
41329
41348
  i0.ɵɵelementEnd()()();
41330
41349
  } if (rf & 2) {
41331
- const field_r6 = i0.ɵɵnextContext().$implicit;
41332
- const ctx_r1 = i0.ɵɵnextContext(5);
41350
+ const field_r7 = i0.ɵɵnextContext().$implicit;
41351
+ const ctx_r1 = i0.ɵɵnextContext(4);
41333
41352
  i0.ɵɵadvance();
41334
- i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r6) && field_r6.label);
41353
+ i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r7) && field_r7.label);
41335
41354
  i0.ɵɵadvance();
41336
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r6.id);
41355
+ i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41337
41356
  i0.ɵɵadvance(2);
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);
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);
41339
41358
  } }
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);
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);
41342
41361
  i0.ɵɵpipe(2, "rpxTranslate");
41343
- i0.ɵɵelementStart(3, "span", 35);
41344
- i0.ɵɵelement(4, "ccd-field-read", 36);
41362
+ i0.ɵɵelementStart(3, "span", 36);
41363
+ i0.ɵɵelement(4, "ccd-field-read", 37);
41345
41364
  i0.ɵɵelementEnd()()();
41346
41365
  } if (rf & 2) {
41347
- const field_r6 = i0.ɵɵnextContext().$implicit;
41348
- const ctx_r1 = i0.ɵɵnextContext(5);
41366
+ const field_r7 = i0.ɵɵnextContext().$implicit;
41367
+ const ctx_r1 = i0.ɵɵnextContext(4);
41349
41368
  i0.ɵɵadvance();
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));
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));
41352
41371
  i0.ɵɵadvance(3);
41353
- i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r6)("caseReference", ctx_r1.caseDetails.case_id);
41372
+ i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41354
41373
  } }
41355
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41374
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41356
41375
  i0.ɵɵelementContainerStart(0);
41357
- i0.ɵɵelementStart(1, "div", 31);
41358
- i0.ɵɵelementContainerStart(2, 28);
41376
+ i0.ɵɵelementStart(1, "div", 30);
41377
+ i0.ɵɵelementContainerStart(2, 31);
41359
41378
  i0.ɵɵpipe(3, "ccdIsCompound");
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);
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);
41361
41380
  i0.ɵɵelementContainerEnd();
41362
41381
  i0.ɵɵelementEnd();
41363
41382
  i0.ɵɵelementContainerEnd();
41364
41383
  } if (rf & 2) {
41365
- const field_r6 = ctx.$implicit;
41366
- const ctx_r1 = i0.ɵɵnextContext(5);
41384
+ const field_r7 = ctx.$implicit;
41385
+ const ctx_r1 = i0.ɵɵnextContext(4);
41367
41386
  i0.ɵɵadvance();
41368
- i0.ɵɵproperty("caseField", field_r6)("contextFields", ctx_r1.caseFields)("hidden", field_r6.hidden);
41387
+ i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)("hidden", field_r7.hidden);
41369
41388
  i0.ɵɵadvance();
41370
- i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r6));
41389
+ i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r7));
41371
41390
  i0.ɵɵadvance(2);
41372
41391
  i0.ɵɵproperty("ngSwitchCase", true);
41373
41392
  i0.ɵɵadvance();
41374
41393
  i0.ɵɵproperty("ngSwitchCase", false);
41375
41394
  } }
41376
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_3_table_4_Template(rf, ctx) { if (rf & 1) {
41395
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41377
41396
  i0.ɵɵelementStart(0, "table");
41378
41397
  i0.ɵɵpipe(1, "rpxTranslate");
41379
41398
  i0.ɵɵelementStart(2, "tbody");
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);
41399
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 19);
41381
41400
  i0.ɵɵpipe(4, "ccdTabFields");
41382
41401
  i0.ɵɵpipe(5, "ccdReadFieldsFilter");
41383
41402
  i0.ɵɵelementEnd()();
41384
41403
  } if (rf & 2) {
41385
- const viewerTab_r7 = i0.ɵɵnextContext(2).$implicit;
41404
+ const tab_r8 = i0.ɵɵnextContext().$implicit;
41386
41405
  const ctx_r1 = i0.ɵɵnextContext(2);
41387
- i0.ɵɵclassMap(viewerTab_r7.tab.id);
41406
+ i0.ɵɵclassMap(tab_r8.id);
41388
41407
  i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
41389
41408
  i0.ɵɵadvance(3);
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"])));
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"])));
41391
41410
  } }
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);
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");
41395
41427
  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);
41396
41431
  } if (rf & 2) {
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");
41432
+ const tab_r10 = i0.ɵɵnextContext().$implicit;
41433
+ i0.ɵɵproperty("ngIf", tab_r10.id === "hearings");
41405
41434
  } }
41406
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
41407
- i0.ɵɵelementStart(0, "mat-tab", 26);
41435
+ function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
41436
+ i0.ɵɵelementStart(0, "mat-tab", 27);
41408
41437
  i0.ɵɵpipe(1, "rpxTranslate");
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);
41438
+ i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template, 1, 1, "ng-template", 28);
41411
41439
  i0.ɵɵelementEnd();
41412
41440
  } if (rf & 2) {
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);
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);
41418
41444
  } }
41419
41445
  function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
41420
41446
  const _r5 = i0.ɵɵgetCurrentView();
@@ -41422,7 +41448,7 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
41422
41448
  i0.ɵɵelementStart(1, "mat-tab-group", 24, 0);
41423
41449
  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)); });
41424
41450
  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); });
41425
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 4, 7, "mat-tab", 25);
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);
41426
41452
  i0.ɵɵelementEnd();
41427
41453
  i0.ɵɵelementContainerEnd();
41428
41454
  } if (rf & 2) {
@@ -41432,7 +41458,11 @@ function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf
41432
41458
  i0.ɵɵtwoWayProperty("selectedIndex", ctx_r1.selectedTabIndex);
41433
41459
  i0.ɵɵproperty("selectedIndex", ctx_r1.selectedTabIndex);
41434
41460
  i0.ɵɵadvance(2);
41435
- i0.ɵɵproperty("ngForOf", ctx_r1.viewerTabs);
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);
41436
41466
  } }
41437
41467
  class CaseFullAccessViewComponent {
41438
41468
  ngZone;
@@ -41467,7 +41497,6 @@ class CaseFullAccessViewComponent {
41467
41497
  appendedTabs = [];
41468
41498
  BANNER = DisplayMode.BANNER;
41469
41499
  sortedTabs;
41470
- viewerTabs;
41471
41500
  caseFields;
41472
41501
  formGroup;
41473
41502
  error;
@@ -41543,10 +41572,7 @@ class CaseFullAccessViewComponent {
41543
41572
  this.caseFlagStateService.resetInitialCaseFlags();
41544
41573
  }
41545
41574
  ngOnChanges(changes) {
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) {
41575
+ if (changes && changes.prependedTabs && !changes.prependedTabs.firstChange) {
41550
41576
  this.init();
41551
41577
  this.crf.detectChanges();
41552
41578
  this.organiseTabPosition();
@@ -41662,7 +41688,7 @@ class CaseFullAccessViewComponent {
41662
41688
  }
41663
41689
  }
41664
41690
  hasTabsPresent() {
41665
- return this.viewerTabs.length > 0;
41691
+ return this.sortedTabs.length > 0 || this.prependedTabs.length > 0 || this.appendedTabs.length > 0;
41666
41692
  }
41667
41693
  callbackErrorsNotify(callbackErrorsContext) {
41668
41694
  this.ignoreWarning = callbackErrorsContext.ignoreWarning;
@@ -41852,29 +41878,11 @@ class CaseFullAccessViewComponent {
41852
41878
  this.sortedTabs = this.orderService.sort(this.caseDetails?.tabs);
41853
41879
  this.caseFields = this.getTabFields();
41854
41880
  this.sortedTabs = this.sortTabFieldsAndFilterTabs(this.sortedTabs);
41855
- this.viewerTabs = this.buildViewerTabs();
41856
41881
  this.formGroup = this.buildFormGroup(this.caseFields);
41857
41882
  if (this.caseDetails?.triggers && this.error) {
41858
41883
  this.resetErrors();
41859
41884
  }
41860
41885
  }
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
- }
41878
41886
  sortTabFieldsAndFilterTabs(tabs) {
41879
41887
  return tabs?.map((tab) => ({
41880
41888
  ...tab,
@@ -41916,7 +41924,7 @@ class CaseFullAccessViewComponent {
41916
41924
  } if (rf & 2) {
41917
41925
  let _t;
41918
41926
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
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) {
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) {
41920
41928
  i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
41921
41929
  i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
41922
41930
  i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
@@ -41930,7 +41938,7 @@ class CaseFullAccessViewComponent {
41930
41938
  i0.ɵɵelementEnd();
41931
41939
  i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
41932
41940
  i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
41933
- i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 4, 4, "ng-container", 11);
41941
+ i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 6, 6, "ng-container", 11);
41934
41942
  i0.ɵɵelementEnd()();
41935
41943
  } if (rf & 2) {
41936
41944
  i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
@@ -41954,7 +41962,7 @@ class CaseFullAccessViewComponent {
41954
41962
  }
41955
41963
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
41956
41964
  type: Component,
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"] }]
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"] }]
41958
41966
  }], () => [{ 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: [{
41959
41967
  type: Input
41960
41968
  }], hasEventSelector: [{
@@ -41969,7 +41977,7 @@ class CaseFullAccessViewComponent {
41969
41977
  type: ViewChild,
41970
41978
  args: ['tabGroup', { static: false }]
41971
41979
  }] }); })();
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 }); })();
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 }); })();
41973
41981
 
41974
41982
  class PrintUrlPipe {
41975
41983
  appConfig;
@@ -44628,7 +44636,7 @@ i0.ɵɵsetComponentScope(CaseEventTriggerComponent, function () { return [i5.NgI
44628
44636
  i0.ɵɵsetComponentScope(CasePrinterComponent, function () { return [i5.NgForOf, i5.NgIf, CaseHeaderComponent]; }, function () { return [i1.RpxTranslatePipe, PrintUrlPipe]; });
44629
44637
  i0.ɵɵsetComponentScope(CaseViewerComponent, function () { return [i5.NgIf, CaseFullAccessViewComponent,
44630
44638
  CaseBasicAccessViewComponent]; }, []);
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]; });
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]; });
44632
44640
  i0.ɵɵsetComponentScope(CaseViewComponent, function () { return [i5.NgIf, CaseViewerComponent]; }, []);
44633
44641
  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]; });
44634
44642
  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]; });